:root{--ink:#251043;--muted:#665779;--line:#dfd3ef;--shadow:0 10px 30px #21064414}
body{background:linear-gradient(140deg,#290663,#451091 55%,#320775);color:var(--ink);min-height:100vh}
header{background:#fff;border-color:#e1d5f1}.brand{color:#350875}.brand-logo{display:block;width:60px;height:60px;object-fit:contain;border-radius:50%;flex:none}
.marquee{background:#24045c;color:#fff;border-color:#8e49ef}.navlinks a,.navlinks button{color:#512080}.navlinks .primary,.btn-purple,.game-link .tag{background:#6522be;color:#fff}
.hero{background:#f0e7ff;color:#30105e}.hero h1 em,.kicker,.section-eyebrow{color:#6d26c2}.hero p{color:#67547e}.hero .btn-purple{background:#6725c7;color:#fff}.hero-secondary{color:#5c1fa6}
.section-head h2,.section-head>div>p{color:#fff}.section-eyebrow{color:#d0b3ff}.tool{border-color:#e3d6f3}.tool:hover{border-color:#a269e0;box-shadow:0 15px 35px #16033030}.tag{background:#f0e8fa;color:#674589}.game-link .tag{background:#6522be;color:#fff}.game-meta{color:#745e90}
.panel,.access-card,.game-viewer{background:#fff;border-color:#e3d6f3}.close,.modal-close{background:#eee4fa;color:#602699}.rules{background:#f4edff;border-color:#ded0f0}.rules-icon,.access-step{background:#e7d8fb;color:#6020ae}.rules ul{color:#604a78}.note{background:#f4effb;color:#624a7c;border-color:#d8c7ed}
.instagram-card{background:#eee2fc;color:#371262}.instagram-card p{color:#705686}.instagram-card a,footer a{color:#6522be}.baige-prompt-guide{background:#f4efff!important;border-color:#dcc9f2!important}.baige-prompt-text{border-color:#d3bee9!important}.btn-blue{background:#6a46af}.btn-orange{background:#aa59e2;color:#fff}
input:focus,select:focus,textarea:focus{border-color:#8b4dd6;box-shadow:0 0 0 3px #8b4dd61a}footer{background:#fff;color:#6f5b86}footer strong{color:#41117d}
@media(max-width:620px){.brand-logo{width:48px;height:48px}.brand{font-size:20px}.navlinks button:not(.primary){background:#efe4fc;color:#602699}}
*{box-sizing:border-box}[hidden]{display:none!important}
.entry-page{margin:0;font-family:"Segoe UI",Arial,sans-serif;line-height:1.6;font-size:16px;padding:28px 20px 50px}
.entry-main{max-width:540px;margin:0 auto;padding:0}.entry-brand{position:static;display:flex;align-items:center;justify-content:center;gap:20px;background:transparent;border:0;margin-bottom:28px;color:#fff}.entry-brand img{width:96px;height:96px;object-fit:contain;border-radius:50%}.entry-brand h1{margin:0;font-size:34px;letter-spacing:.025em}
.entry-card{padding:30px;background:#fff;border:1px solid #e1d0f3;border-radius:24px;box-shadow:0 20px 60px #1c04343d}.entry-card h2{margin:0 0 18px;font-size:26px;line-height:1.3}.entry-card p{color:#665278}.entry-tabs{display:flex;gap:8px;padding:6px;background:#f0e8fa;border-radius:13px}.entry-tabs button{flex:1;border:0;background:transparent;padding:12px 8px;border-radius:9px;color:#633d88;font:inherit;font-weight:700;cursor:pointer}.entry-tabs button[aria-pressed="true"]{background:#6624bd;color:#fff}.entry-card label{display:block;font-weight:650;margin:16px 0 7px}.entry-card input:not([type="checkbox"]){display:block;width:100%;padding:13px;border:1px solid #ccb7e3;border-radius:10px;font:inherit;color:#2e1247;background:#fff}.entry-card .entry-agree{display:flex;align-items:flex-start;gap:10px;font-size:14px;font-weight:400}.entry-agree input{margin-top:5px;width:18px;height:18px;flex:none;accent-color:#6624bd}.entry-card a{color:#6323ae}.entry-submit{width:100%;border:0;border-radius:11px;background:#6624bd;color:#fff;font:inherit;font-weight:750;padding:14px;cursor:pointer;margin-top:10px}.entry-submit:disabled,.entry-tabs button:disabled{opacity:.65;cursor:wait}.entry-page input:focus-visible,.entry-page button:focus-visible,.entry-page a:focus-visible{outline:3px solid #bc83f4;outline-offset:3px}#authStatus,#codeStatus{margin:12px 0 0;min-height:24px;font-size:14px;color:#61318d;overflow-wrap:anywhere}
.entry-rules{margin-top:22px;padding:26px 28px;background:#f0e7fced;border:1px solid #b487e0;border-radius:22px;color:#41205f}.entry-rules h2{margin:0 0 12px;font-size:22px}.entry-rules ul{padding-left:21px;margin:0;font-size:14px}.entry-rules li+li{margin-top:10px}
@media(max-width:480px){.entry-page{padding:22px 15px 36px}.entry-brand{gap:14px;margin-bottom:22px}.entry-brand img{width:80px;height:80px}.entry-brand h1{font-size:29px}.entry-card{padding:23px 20px}.entry-card h2{font-size:24px}.entry-rules{padding:22px 20px}}

.page-title{font-size:clamp(28px,5vw,40px);line-height:1.2;letter-spacing:-.025em;margin:0;color:#fff}.section-card{text-decoration:none}.section-card h2{font-size:20px;line-height:1.35;margin:17px 0 8px}.back-link{display:inline-block;color:#fff;text-decoration:none;border:1px solid #b78ae4;border-radius:10px;padding:10px 14px;margin-bottom:16px;font-size:16px}.game-link{cursor:default;min-width:0;overflow:visible}.game-link:hover{transform:none}.game-prompt{border-top:1px solid #e3d6f3;margin-top:14px;padding-top:14px}.game-prompt summary{cursor:pointer;font-size:16px;font-weight:700;color:#602699;line-height:1.5}.game-prompt-content{padding-top:12px;min-width:0}.game-prompt-content h4{font-size:18px;margin:0 0 12px}.game-prompt .form-grid{grid-template-columns:1fr}.game-prompt .field.full{grid-column:auto}.game-prompt .field label,.game-prompt .note{font-size:14px}.game-prompt-content p{overflow-wrap:anywhere}.game-prompt textarea{min-width:0;max-width:100%}.game-prompt-content .btn{max-width:100%;white-space:normal}.nav{flex-wrap:wrap}.navlinks{flex-wrap:wrap}.navlinks #memberLogout{display:block;font-size:14px}.panel-top{margin-bottom:20px}#games .section-head{margin-top:8px}@media(max-width:620px){.nav{gap:10px}.navlinks{margin-left:0;width:100%;justify-content:flex-end}.section-card{min-height:230px}.game-prompt-content .form-grid{gap:12px}}
.game-link{display:block;padding:0;overflow:hidden}.game-card-play{display:grid;grid-template-columns:1.1fr 1fr}.game-prompt{margin:0;padding:18px 24px;background:#faf7ff}.navlinks a{display:inline-block}@media(max-width:620px){.game-card-play{grid-template-columns:1fr}.game-prompt{padding:18px}.grid{grid-template-columns:1fr}.tool p{font-size:14px}.tag{font-size:12px}}

.entry-tagline{color:#e4d2fc;margin:4px 0 0;font-size:16px;line-height:1.5}.entry-brand{gap:18px}@media(max-width:480px){.entry-tagline{font-size:14px}}

#dashboard .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.section-card{padding:0;overflow:hidden;min-height:0}.section-image{aspect-ratio:3/2;overflow:hidden;background:#eadffc}.section-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}.section-card:hover .section-image img{transform:scale(1.035)}.section-card h2{margin:20px 20px 8px}.section-card p{margin:0 20px 18px;font-size:16px}.section-card .tag{margin:0 20px 20px;font-size:14px}@media(max-width:900px){#dashboard .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){#dashboard .grid{grid-template-columns:1fr;gap:18px}.section-card h2{font-size:22px}}
/* Workshop categories retain the established section palette. */
.creative-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:22px 0}
.creative-types li{display:flex;align-items:center;gap:12px;padding:16px;border-radius:14px;background:#f4edff;color:#512080;font-size:18px;min-width:0;overflow-wrap:anywhere}
.creative-types li>span:first-child{font-size:26px;flex:none}
@media(max-width:620px){.creative-types{grid-template-columns:minmax(0,1fr)}.creative-types li{font-size:17px}}

/* Vivid section cards: steady color glow, readable labels, complete artwork. */
#dashboard .section-card{--section-color:#6021be;--section-deep:#37106d;--section-glow:#b482ff;display:flex;flex-direction:column;background:linear-gradient(145deg,var(--section-color),var(--section-deep));color:#fff;border:2px solid var(--section-glow);border-radius:22px;box-shadow:0 0 20px color-mix(in srgb,var(--section-glow) 38%,transparent),0 12px 30px #16032a45;transition:transform .22s ease,box-shadow .22s ease}
#dashboard .section-card[href$="/games"]{--section-color:#7026d3;--section-deep:#40107f;--section-glow:#bb87ff}
#dashboard .section-card[href$="/infographics"]{--section-color:#1757c6;--section-deep:#103474;--section-glow:#75caff}
#dashboard .section-card[href$="/tasks"]{--section-color:#087457;--section-deep:#064b3c;--section-glow:#69e7b1}
#dashboard .section-card[href$="/trainer"]{--section-color:#a7460b;--section-deep:#6d2909;--section-glow:#ffc16e}
#dashboard .section-card[href$="/groups"]{--section-color:#b82166;--section-deep:#701340;--section-glow:#ff88c2}
#dashboard .section-card[href$="/creative"]{--section-color:#9023b7;--section-deep:#53117a;--section-glow:#df91ff}
#dashboard .section-card .section-image{flex:none;background:#efe5ff;border-bottom:2px solid var(--section-glow)}
#dashboard .section-card .section-image img{object-fit:contain;filter:saturate(1.18) brightness(1.03);transform:none}
#dashboard .section-card h2{color:#fff;font-weight:750;letter-spacing:0;line-height:1.35;text-shadow:0 1px 5px #20002a35}
#dashboard .section-card p{color:#fff;line-height:1.55;flex:1}
#dashboard .section-card .tag{align-self:flex-start;background:#fff;color:var(--section-deep);border:1px solid #fff;font-weight:750;font-size:14px;padding:10px 16px;box-shadow:0 3px 12px #16033020}
#dashboard .section-card:hover{transform:translateY(-4px);box-shadow:0 0 30px color-mix(in srgb,var(--section-glow) 60%,transparent),0 18px 36px #16032a50}
#dashboard .section-card:focus-visible{outline:3px solid #fff;outline-offset:5px}
@media(max-width:620px){#dashboard .section-card{border-radius:18px;box-shadow:0 0 16px color-mix(in srgb,var(--section-glow) 36%,transparent),0 8px 20px #16032a35}}
@media(prefers-reduced-motion:reduce){#dashboard .section-card{transition:none}#dashboard .section-card:hover{transform:none}}

#dashboard .section-card[href$="/presentations"]{--section-color:#136b96;--section-deep:#103a68;--section-glow:#79e4ff}
#dashboard .section-card[href$="/lesson-plans"]{--section-color:#474abb;--section-deep:#26285e;--section-glow:#a7b0ff}
.section-empty{border:1px solid #dce3f6;border-radius:20px;background:#f5f7ff;padding:28px;line-height:1.6}.section-empty h3{font-size:22px;margin:0 0 10px}.section-empty p{margin:0;font-size:17px}

/* Member workspace: guide first, sections below, drawer from the edge. */
.member-layout{max-width:1220px;margin:auto;padding:0 24px}
.member-layout>main{width:100%;max-width:1160px;margin:auto;padding:27px 0 64px}
.sidebar-toggle{position:fixed;left:0;top:44%;z-index:55;display:flex;align-items:center;gap:7px;border:1px solid #d6b9ef;border-left:0;border-radius:0 13px 13px 0;background:#fff;color:#532084;box-shadow:0 8px 24px #17042e35;padding:13px 12px;font-size:15px;font-weight:800;font-family:inherit;cursor:pointer}
.sidebar-toggle:hover{background:#f5ebff}.sidebar-toggle[aria-expanded="true"]{opacity:0;pointer-events:none}
.sidebar-backdrop{position:fixed;inset:0;z-index:59;background:#20102e88}
.member-sidebar{position:fixed;left:0;top:0;bottom:0;z-index:60;width:min(330px,86vw);overflow-y:auto;padding:23px 17px;background:#fff;box-shadow:18px 0 44px #17042f36;transform:translateX(-110%);visibility:hidden;transition:transform .22s ease,visibility .22s}
.member-layout.menu-open .member-sidebar{transform:translateX(0);visibility:visible}
.sidebar-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}.sidebar-home,.sidebar-links a{display:flex;align-items:center;gap:12px;padding:13px 12px;border-radius:12px;color:#39214f;text-decoration:none;font-size:16px;font-weight:700;line-height:1.3;min-height:48px}
.sidebar-home{background:#efe3ff;color:#5b1c98;font-weight:850;flex:1}.sidebar-symbol{font-size:22px;line-height:1}.sidebar-close{border:0;background:#f1e8fa;color:#5b248b;border-radius:11px;min-width:47px;height:47px;font-size:30px;line-height:1;cursor:pointer}
.sidebar-links{display:grid;gap:5px}.sidebar-links .sidebar-thumb{width:40px;height:40px;object-fit:cover;border-radius:10px;flex:none;background:#f1e9fb;border:1px solid #eadbf5}.sidebar-links a:hover,.member-sidebar a[aria-current="page"]{background:#f3eaff;color:#6223a0}
#dashboard #platformSections{margin:36px 0 18px}#dashboard #platformSections h2{font-size:clamp(27px,3vw,36px)}
#dashboard .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#dashboard .welcome-guide{margin:8px 0 0}
@media(max-width:900px){#dashboard .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.member-layout{padding:0 16px}.member-layout>main{padding:20px 0 54px}.sidebar-toggle{top:48%;padding:11px 8px;font-size:13px}.sidebar-toggle span{display:none}#dashboard .grid{grid-template-columns:1fr}#dashboard .section-image{aspect-ratio:16/9}}
@media(prefers-reduced-motion:reduce){.member-sidebar{transition:none}}
#dashboard .section-card[href$="/models"]{--section-color:#184eb0;--section-deep:#111b54;--section-glow:#95baff}
#dashboard .section-card[href$="/labs"]{--section-color:#007f85;--section-deep:#064349;--section-glow:#75e9ec}
.learning-3d-frame{display:block;width:100%;height:1150px;border:0;border-radius:16px;background:#f8f7ff}@media(max-width:800px){.learning-3d-frame{height:1670px}}
.model-intro{font-size:17px;color:#f5ecff;margin:0 0 20px}.model-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 20px}.model-topic-card{border:2px solid transparent;background:#fff;border-radius:18px;padding:0 0 15px;text-align:left;overflow:hidden;color:#281847;cursor:pointer;box-shadow:0 10px 24px #220d5b25;font:inherit;display:flex;flex-direction:column;min-width:0}.model-topic-card:hover,.model-topic-card.selected{border-color:#d9b4ff;transform:translateY(-2px)}.model-topic-art{display:grid;place-items:center;width:100%;height:138px;color:#fff;font-size:72px;line-height:1;background-image:radial-gradient(circle at 50% 40%,#ffffff32,transparent 60%)!important}.model-topic-card strong{font-size:19px;padding:13px 15px 0}.model-topic-card small{font-size:14px;padding:3px 15px;color:#615574}.model-topic-action{margin:auto 15px 0;color:#6429a1;font-weight:750;padding-top:10px}.model-gallery-frame{height:770px}.model-generator{background:#fff;border-radius:20px;padding:25px;margin-top:22px;color:#281847}.model-generator h3{font-size:23px;margin:0 0 5px}.model-generator .note{margin:0 0 18px}.model-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.model-fields label{display:block;font-weight:700}.model-fields label span{display:block;margin-bottom:5px}.model-fields input,.model-fields select{display:block;width:100%;min-height:44px;border:1px solid #ccbee5;border-radius:11px;padding:9px;font:inherit}.model-prompt-actions{display:flex;gap:10px;margin:18px 0}.model-generator textarea{display:block;width:100%;min-height:280px;resize:vertical;padding:15px;border:1px solid #d2c4e9;border-radius:14px;color:#261743;background:#f9f7ff;line-height:1.5;font-size:14px}.model-fields input:focus-visible,.model-fields select:focus-visible,.model-generator textarea:focus-visible{outline:3px solid #7e57c2;outline-offset:2px}@media(max-width:850px){.model-cards{grid-template-columns:1fr 1fr}.model-fields{grid-template-columns:1fr 1fr}.model-gallery-frame{height:1200px}}@media(max-width:570px){.model-cards{grid-template-columns:1fr}.model-topic-art{height:110px}.model-gallery-frame{height:1160px}.model-fields{grid-template-columns:1fr}.model-prompt-actions{flex-wrap:wrap}}
.model-open-view{margin:16px 0 20px}.model-open-view .btn{margin-bottom:10px}.model-prompt-details{background:#fff;border:2px solid #d5c0ed;border-radius:18px;color:#281847;overflow:hidden}.model-prompt-details summary{padding:18px 22px;cursor:pointer;font-size:18px;font-weight:800}.model-prompt-details[open] summary{border-bottom:1px solid #e4d9ee}.model-prompt-details .model-generator{margin:0;padding:20px;box-shadow:none}.model-generator [hidden]{display:none!important}
.model-topic-art{display:block;object-fit:cover;object-position:center;width:100%;height:138px;background:#162348}
@media(max-width:570px){.model-topic-art{height:150px}}

.model-topic-art{object-fit:contain;background:#f9f7f2}
