/* Player spaces: readable HUDs, useful motion, real progress. */
#player-hub{--hub-accent:#8ce6de}#player-hub[data-accent=gold]{--hub-accent:#e8c676}#player-hub[data-accent=violet]{--hub-accent:#c2a6fa}#player-hub[data-accent=rose]{--hub-accent:#f39cb7}.hub-command{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(160px,.7fr);align-items:center;gap:28px;overflow:hidden;padding:36px 38px;border:1px solid #8ce6de55;border-radius:18px;background:radial-gradient(ellipse at 90% 20%,#638abc30,transparent 60%),linear-gradient(120deg,#122126,#18241f)}.hub-command:after{content:'';position:absolute;inset:0;z-index:-1;background:repeating-linear-gradient(0deg,transparent,transparent 31px,#8ce6de05 32px);pointer-events:none}.hub-command h2{font:800 clamp(28px,4vw,45px)/1.08 system-ui;letter-spacing:-.04em;color:#f0f4ef;max-width:21ch}.hub-command .eyebrow{color:var(--hub-accent)}.hub-motto{font-size:18px;color:#c5d7d4}.hub-level{font:12px/1.6 system-ui;color:#a8c0be}.hub-command progress{appearance:none;width:min(400px,100%);height:7px;border:0;border-radius:10px;background:#ffffff12}.hub-command progress::-webkit-progress-bar{background:#ffffff12;border-radius:10px}.hub-command progress::-webkit-progress-value{background:var(--hub-accent);border-radius:10px}.hub-stand{width:100%;height:280px;object-fit:contain;filter:drop-shadow(0 12px 20px #0004);animation:hub-enter .7s ease both}.hub-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 36px}.hub-stat{padding:22px;border:1px solid #98b2a944;border-radius:12px;background:var(--cosmic-surface,#19221e);display:flex;flex-direction:column;gap:5px}.hub-stat strong{font:750 clamp(24px,3vw,34px)/1.1 system-ui;color:var(--hub-accent)}.hub-stat span{font:12px/1.6 system-ui;color:var(--cosmic-surface-muted,#b7c6bd)}.hub-section{margin:32px 0}.hub-section-heading{display:flex;justify-content:space-between;align-items:end;gap:18px}.hub-section h2{font:750 28px/1.2 system-ui;margin:10px 0 20px}.hub-subtle{font:12px/1.7 system-ui;color:var(--cosmic-muted,#a9b8b1)}.hub-mission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.hub-mission{position:relative;display:flex;flex-direction:column;padding:23px;gap:10px;border:1px solid #94b7ad44;border-radius:13px;background:linear-gradient(145deg,#a8d5ce08,transparent),var(--cosmic-surface,#19221e)}.hub-mission h3{font:700 19px/1.3 system-ui;margin:10px 0}.hub-mission p{font-size:13px;line-height:1.75;margin:0 0 18px;flex:1}.hub-mission-number{font:750 32px/1 system-ui;color:#8ce6de33}.hub-coin{position:absolute;right:18px;top:22px;font:650 12px/1.5 system-ui;color:#e8c676}.hub-mission .btn{font-size:12px;align-self:start;min-height:44px}.hub-complete{color:#8ce6b6;font-size:13px}.hub-mission.is-complete{border-color:#8ce6b644}.hub-customize,.hub-ledger,.hub-challenge-rewards{margin:24px 0;border:1px solid #90b4a74d;border-radius:12px;padding:20px;background:var(--cosmic-surface,#19221e)}.hub-customize summary,.hub-ledger summary{cursor:pointer;min-height:30px;font-weight:650}.hub-style-form{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:end;padding-top:22px}.hub-style-form label{display:grid;gap:9px;font-size:13px}.hub-style-form input,.hub-style-form select{width:100%;min-height:44px}.hub-style-preview{width:160px;height:140px;object-fit:contain;justify-self:center}.hub-style-form .btn{align-self:end}.hub-order{padding:22px;margin:15px 0;border:1px solid #91b2a644;border-radius:12px}.hub-order h3{margin:12px 0;font-size:20px}.hub-order p{white-space:pre-wrap;font-size:13px}.hub-status{display:inline-block;text-transform:uppercase;letter-spacing:.1em;font:650 10px/1.5 system-ui;padding:6px 10px;background:#a9bed21a;border:1px solid #a9bed244;border-radius:6px}.hub-admin-note{border-left:2px solid #8ce6de;padding:12px 16px;background:#8ce6de08}.hub-ledger-row{display:grid;grid-template-columns:1fr auto auto;gap:18px;padding:15px 0;border-top:1px solid #fff1;font-size:12px}.hub-ledger-row:first-of-type{margin-top:18px}.hub-ledger-row strong{color:#d8c487}.hub-bell{font:600 11px/1.4 system-ui;min-height:40px;padding:9px 12px;white-space:nowrap;margin-left:6px;background:#18241f;border:1px solid #91b2a655;border-radius:9px;color:#d4e3d9}.hub-dialog{box-sizing:border-box;width:min(650px,calc(100vw - 28px));max-height:85dvh;overflow:auto;background:#15201c;color:#edf2e9;border:1px solid #91b2a677;border-radius:18px;padding:30px}.hub-dialog::backdrop{background:#040b0cbd;backdrop-filter:blur(5px)}.hub-dialog h2{font:750 27px/1.2 system-ui;margin:8px 45px 25px 0}.hub-dialog-close{position:absolute;top:20px;right:20px;font-size:12px;min-height:38px}.hub-dialog label{display:grid;gap:12px;margin:20px 0}.hub-dialog textarea{min-height:130px;box-sizing:border-box;width:100%;background:#0e1915;color:#eef3e7;border:1px solid #7b9b8e;padding:14px;border-radius:8px}.hub-notice{border:1px solid #a2b5a633;border-radius:12px;margin-top:16px;padding:18px}.hub-notice.is-unread{border-color:#8ce6de77;background:#8ce6de06}.hub-notice h3{font-size:16px;margin:0 0 8px}.hub-notice p{font-size:13px;line-height:1.7}.hub-notice time{display:block;color:#9caea4;font-size:11px;margin-bottom:14px}.hub-toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:12000;max-width:calc(100vw - 50px);padding:15px 22px;background:#172b25;color:#f0f5e8;border:1px solid #99d1b7;border-radius:12px;box-shadow:0 10px 40px #0007;font-size:13px}.hub-admin-catalog fieldset{display:grid;grid-template-columns:1fr 1fr;gap:18px;border:1px solid #8ba38c55;border-radius:10px;margin:16px 0;padding:18px}.hub-admin-catalog label{display:flex;align-items:center;gap:12px;font-size:13px}.hub-admin-catalog input[type=number]{width:130px;min-height:44px}.hub-admin-order{padding:20px;border:1px solid #8ba38c55;border-radius:10px;margin:16px 0}.hub-admin-order textarea{display:block;width:100%;min-height:80px;margin:14px 0}.hub-admin-order button{margin:5px}.service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.service-card{display:flex;flex-direction:column;align-items:start;gap:14px;padding:28px;border:1px solid #94b7ad55;border-radius:15px;background:linear-gradient(145deg,#8ce6de0c,transparent),var(--cosmic-surface,#19221e)}.service-card h2{font:700 24px/1.2 system-ui;margin:0}.service-card p{font-size:14px;line-height:1.75;margin:0}.service-card>p:first-of-type{flex:1}.service-price{color:#e3cb8e}.service-coins{font-size:21px;color:#9ee6d5;margin-top:8px}.service-balance{padding:18px 24px;border:1px solid #8ce6de55;border-radius:10px;background:#8ce6de09}.service-hero-art{width:100%;height:auto;max-width:600px}.flow-explainer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.flow-explainer-card{overflow:hidden;border:1px solid #9ab6ac55;border-radius:13px;background:var(--cosmic-surface,#19221e);padding:18px}.flow-explainer-card h3{font:700 17px/1.4 system-ui;letter-spacing:0;max-width:none}.flow-explainer-card p{font:12px/1.7 system-ui}.flow-explainer-card .video-launch{width:100%;aspect-ratio:16/9;background:#0b1415;position:relative;overflow:hidden;padding:0;border:0;border-radius:8px}.video-launch img{display:block;width:100%;height:100%;object-fit:cover}.video-launch span{position:absolute;inset:0;display:grid;place-items:center;color:white;font-size:32px;text-shadow:0 2px 10px #000}.flow-concept-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:24px 0}.flow-concept-strip>div{padding:19px 20px;border:1px solid #83b7bb55;border-radius:10px;background:#83b7bb08}.flow-concept-strip strong{display:block;color:#9adbdc;margin-bottom:8px}.flow-concept-strip p{font-size:12px;line-height:1.7;margin:0}.flow-lesson-heading{display:flex;gap:26px;align-items:center;justify-content:space-between}.flow-lesson-heading img{max-width:300px;height:auto}.fgc-game-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:24px;align-items:center}.fgc-game-grid img{max-height:340px;width:100%;object-fit:contain;image-rendering:auto}.fgc-vault-badge{display:inline-block;padding:7px 12px;border:1px solid #bda9e277;background:#bda9e211;border-radius:7px;color:#d0bdf3;font:650 11px/1.5 system-ui;letter-spacing:.08em}.fgc-roster{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}.fgc-roster span{padding:8px 12px;border:1px solid #9ab5a944;border-radius:7px;font-size:12px}.experience-gateway{display:grid;grid-template-columns:1fr .7fr;gap:30px;align-items:center;padding:28px;border:1px solid #8ce6de55;border-radius:16px;background:linear-gradient(125deg,#8ce6de0c,transparent)}.experience-gateway img{width:100%;height:auto}.experience-gateway h2{font:750 29px/1.15 system-ui}.experience-gateway .actions{gap:10px}.role-evidence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.role-evidence-grid article{padding:24px;border:1px solid #94b7ad44;border-radius:12px;background:var(--cosmic-surface,#19221e)}.role-evidence-grid h3{font:700 21px/1.2 system-ui;margin:0 0 14px}.role-evidence-grid p{font-size:14px;line-height:1.8}.account-profile-actions{display:flex;gap:10px;flex-wrap:wrap}.account-profile-actions a{font-size:12px}.tier-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.tier-controls>p{flex-basis:100%;margin:0 0 8px}.fc-smart-tools{background:linear-gradient(100deg,#7cd8dd0e,transparent);border-bottom:1px solid #87b4a744;padding:14px}.fc-layout{box-shadow:0 12px 45px #0002}.fc-canvas-tools button{transition:background .15s,border-color .15s}.fc-canvas-tools button:hover{border-color:#91ddd6}.hx-paths :is(button,a){transition:border-color .18s,background .18s}.hub-challenge-rewards button{margin:6px}.flow-subheading{font-size:13px;color:#bccabe}.hub-signin{padding:20px;border:1px solid #8ba38c55;border-radius:12px}@keyframes hub-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:850px){.hub-command{padding:26px;grid-template-columns:1fr .55fr;gap:15px}.hub-stand{height:220px}.hub-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-mission-grid{grid-template-columns:1fr}.flow-explainer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.flow-concept-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-section-heading{display:block}.experience-gateway{grid-template-columns:1fr}.experience-gateway img{max-width:500px}.hub-bell{font-size:10px;padding:8px}.flow-lesson-heading{display:block}.flow-lesson-heading img{max-width:240px;margin-top:14px}}
@media(max-width:600px){.hub-command{grid-template-columns:1fr;gap:0;padding:25px}.hub-command h2{font-size:29px}.hub-stand{height:190px;max-width:210px;justify-self:center}.hub-command .actions a{font-size:12px}.hub-stat{padding:18px}.hub-style-form,.service-grid,.role-evidence-grid,.flow-explainer-grid,.fgc-game-grid{grid-template-columns:1fr}.hub-style-form .btn{grid-column:1}.hub-ledger-row{grid-template-columns:1fr auto}.hub-ledger-row time{grid-column:1/-1}.hub-dialog{padding:24px 20px}.hub-dialog h2{font-size:23px}.service-card{padding:23px}.hub-admin-catalog fieldset{grid-template-columns:1fr}.hub-bell{margin:0;min-width:45px}.flow-concept-strip{grid-template-columns:1fr 1fr}.flow-concept-strip>div{padding:15px}.fgc-game-grid img{max-height:220px}}
@media(prefers-reduced-motion:reduce){.hub-stand{animation:none}.hub-command *{transition:none!important}}

.hx-workspace-banner{display:block;width:min(420px,100%);height:auto;margin:10px 0 24px}.hx-path-heading{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:22px;align-items:start}.hx-path-heading>img{width:160px;height:190px;object-fit:contain}.hub-book-logo{width:100px;height:100px;object-fit:contain;display:block;margin:0 0 14px}.handbook-workspace-intro .actions{gap:18px;margin:18px 0}.handbook-workspace-intro .text-link{font-size:12px}@media(max-width:650px){.hx-path-heading{grid-template-columns:1fr 90px;gap:12px}.hx-path-heading>img{width:90px;height:120px}.hx-workspace-banner{max-width:300px}.hub-book-logo{width:75px;height:75px}}

.fc-canvas-tools{background:linear-gradient(100deg,#7cd8dd12,#18251f);border-bottom:1px solid #91b9af55}#supporter-account:has(#member-auth[hidden]){padding-block:20px}.flow-video-dialog{width:min(1000px,calc(100vw - 28px))}
