.hub-native{background:#232b30;color:#e9eef0;border-radius:16px;padding:20px;min-height:65vh;font-family:system-ui,sans-serif;overflow:auto}.hub-native:fullscreen{border-radius:0;width:100%;height:100%;padding:24px}.hub-header{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.hub-header small{font-size:11px;letter-spacing:1.7px;color:#a5b9b7}.hub-header h1{color:#fff!important;margin:5px 0;font-size:27px}.hub-header p,.hub-note{color:#aab9bf!important;font-size:13px}.hub-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.hub-native button,.hub-dialog button{font:inherit;cursor:pointer;border:1px solid #52636b;border-radius:8px;padding:9px 12px;background:#354249;color:#f3f6f7}.hub-native button:hover,.hub-dialog button:hover{background:#43565e}.hub-native button:disabled{opacity:.4;cursor:not-allowed}.hub-bar{border-top:1px solid #415057;padding-top:14px;margin:15px 0}.hub-native input,.hub-dialog input{padding:8px 10px;border-radius:7px;border:1px solid #52636b;background:#1c2428;color:#fff;font:inherit;min-width:0}.hub-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:15px 7px;padding:12px 0}.hub-native .hub-tile{position:relative;display:flex;flex-direction:column;align-items:center;background:transparent;border:1px solid transparent;border-radius:12px;padding:9px 1px;min-height:132px;overflow:visible;line-height:1.1;text-align:center}.hub-native .hub-tile:hover,.hub-native .hub-selected{background:#30434a;border-color:#70b99a}.hub-character{position:relative;width:86px;height:86px;display:grid;place-items:center;margin:auto}.hub-character svg,.hub-character img{width:80px;height:80px;object-fit:contain}.hub-character span,.hub-class-icon{font-size:62px}.hub-badge{position:absolute;top:0;right:-13px;min-width:29px;background:#168142;color:#fff;border-radius:22px;padding:7px 9px;font-size:16px;line-height:1;font-weight:800}.hub-badge.negative{background:#ad454b}.hub-tile strong{font-size:16px;color:#f1f2f3;margin-top:4px;max-width:100%;overflow-wrap:anywhere}.hub-last{color:#bbc0c4;font-size:14px;max-width:100%;overflow-wrap:anywhere}.hub-tile small{font-size:10px;color:#ffce9a}.hub-absent{opacity:.55}.hub-dialog{background:#232b30;border-radius:12px;padding:16px;color:#e8eef0;font-family:system-ui,sans-serif}.hub-modal{width:min(760px,95vw)!important;max-width:760px!important}.hub-modal .hub-dialog h3{color:#fff}.hub-profile{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.hub-stats{display:flex;gap:8px;flex:1;min-width:220px}.hub-stats div{flex:1;background:#344147;border-radius:9px;padding:12px 8px;display:grid;gap:6px;text-align:center}.hub-stats small,.hub-dialog small{color:#b6c3c8;font-size:11px}.hub-stats b{font-size:21px;color:#9af0ae}.hub-switch,.hub-amounts{display:flex;flex-wrap:wrap;gap:7px;margin:13px 0;align-items:center}.hub-switch button{flex:1}.hub-dialog button.active{border-color:#8bdab0;background:#226447}.hub-dialog button.negative.active{background:#9a343c;border-color:#ffb1a9}.hub-amounts input{width:85px}.hub-skills{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:8px;margin:12px 0}.hub-skills button{display:grid;justify-items:center;gap:6px;min-height:95px}.hub-skills span{font-size:27px}.hub-skills small,.hub-events strong{font-size:16px;color:#8fe7a7}.hub-dialog .negative,.hub-float.negative{color:#ff9fa0}.hub-history{border-top:1px solid #52636b;margin-top:14px;padding-top:8px}.hub-events{max-height:230px;overflow:auto}.hub-events>div,.hub-category-list>div{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #415057;padding:10px 0;gap:8px}.hub-events span{display:grid;gap:4px}.hub-category-list>div span{flex:1}.hub-edit{display:grid;gap:12px}.hub-edit label{display:grid;gap:5px}.hub-avatar-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px}.hub-avatar-picker button{display:grid;justify-items:center}.hub-avatar-picker svg{width:68px;height:68px}.hub-upload{display:grid;gap:8px;margin:16px 0}.hub-win .hub-character{animation:hubJump .75s ease}.hub-loss .hub-character{animation:hubShake .45s ease}.hub-float{position:absolute;z-index:3;top:10px;left:0;right:0;color:#9cffae;font-size:30px;font-weight:900;text-shadow:0 2px 4px #111;pointer-events:none;animation:hubRise 1.45s ease both}.hub-confetti{position:absolute;left:50%;top:40%;height:7px;width:7px;border-radius:2px;pointer-events:none;animation:hubBurst .8s ease-out both}@keyframes hubJump{0%,100%{transform:translateY(0)}32%{transform:translateY(-22px) scale(1.17) rotate(-8deg)}65%{transform:translateY(-4px) rotate(6deg)}}@keyframes hubShake{0%,100%{transform:translateX(0)}25%,75%{transform:translateX(-7px)}50%{transform:translateX(7px)}}@keyframes hubRise{0%{opacity:0;transform:translateY(8px) scale(.6)}20%{opacity:1;transform:translateY(-7px) scale(1.15)}75%{opacity:1}100%{opacity:0;transform:translateY(-55px)}}@keyframes hubBurst{from{opacity:1;transform:translate(0,0)}to{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(150deg)}}@media(prefers-reduced-motion:reduce){.hub-win .hub-character,.hub-loss .hub-character,.hub-confetti{animation:none}.hub-float{animation:none}}@media(max-width:600px){.hub-native{padding:12px}.hub-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}.hub-header h1{font-size:22px}.hub-tools button{font-size:12px}}

.hub-native .hub-tile[hidden]{display:none!important}

body.hub-fullscreen #sidebar,body.hub-fullscreen .topbar,body.hub-fullscreen .footer-note{display:none!important}body.hub-fullscreen #shell,body.hub-fullscreen .main-content{display:block!important;width:100%!important;margin:0!important;padding:0!important;max-width:none!important}body.hub-fullscreen .hub-native{border-radius:0;min-height:100vh}body.hub-fullscreen #shell>div{margin:0!important;max-width:none!important;width:100%!important}
/* Pineapple Gold — scoped premium classroom surface, shared EnglishGuy branding. */
.hub-native.hub-gold{--hub-ink:#f4f5e9;--hub-muted:#a8c5b6;--hub-gold:#f6ca69;--hub-line:#315b49;--hub-bg:#112b23;background:radial-gradient(ellipse at 15% 100%,#25513c88,transparent 46%),radial-gradient(ellipse at 90% 5%,#38674b77,transparent 40%),linear-gradient(150deg,#10271f 0%,#132e25 48%,#172e23 100%);border:1px solid #365e4e;border-radius:24px;min-height:calc(100vh - 145px);display:flex;flex-direction:column;padding:24px 26px 16px;color:var(--hub-ink);font-family:Inter,ui-sans-serif,system-ui,sans-serif;box-shadow:0 16px 50px #122e2225;overflow:visible;position:relative;isolation:isolate}
.hub-gold:before{content:'';position:absolute;z-index:-1;bottom:0;left:0;right:0;height:140px;pointer-events:none;border-radius:inherit;background:radial-gradient(ellipse at 10% 130%,#88c79b25 0 25%,transparent 26%),radial-gradient(ellipse at 70% 150%,#e1c46918 0 40%,transparent 41%)}
.hub-gold .hub-header{padding:0 0 21px;border-bottom:1px solid #ffffff19;gap:16px}.hub-brand{display:flex;gap:13px;align-items:center}.hub-emblem{width:64px;height:64px;border-radius:18px;background:linear-gradient(145deg,#365a35,#163e2b);border:1px solid #72844e;display:grid;place-items:center;box-shadow:inset 0 1px #fff2,0 6px 16px #0003}.hub-emblem svg{width:41px;height:50px}.hub-gold .hub-header small{font-size:10px;letter-spacing:1.9px;color:#e5c575;font-weight:750}.hub-gold .hub-header h1{font-size:29px;margin:4px 0}.hub-gold .hub-header p{color:#aac8b4!important;margin:0;font-size:12px}.hub-gold button,.hub-gold-modal .hub-dialog button{background:#1c392e;color:#f4f5e9;border:1px solid #456752;border-radius:11px;padding:9px 14px;font-weight:600;transition:background .15s,border-color .15s,transform .15s}.hub-gold button:hover,.hub-gold-modal .hub-dialog button:hover{background:#2c4b37;border-color:#bda35e}.hub-gold button:focus-visible,.hub-gold-modal button:focus-visible{outline:2px solid #f6ca69;outline-offset:3px}.hub-tabs{display:flex;gap:3px;padding:4px;border:1px solid #426451;border-radius:14px;background:#0e241b;flex-wrap:wrap}.hub-tabs button{border:0!important;background:transparent!important;color:#c0d1c4!important;font-size:13px;padding:10px 13px;white-space:nowrap}.hub-tabs button.active{background:linear-gradient(135deg,#416c42,#2b5036)!important;box-shadow:inset 0 0 0 1px #9fa464,0 3px 12px #0003;color:#ffe5a1!important}.hub-options{position:relative}.hub-options summary{cursor:pointer;border:1px solid #456752;border-radius:11px;padding:9px 14px;list-style:none;font-weight:600}.hub-options>div{position:absolute;right:0;top:calc(100% + 8px);min-width:184px;background:#173529;border:1px solid #426451;padding:7px;border-radius:12px;display:grid;gap:4px;z-index:20;box-shadow:0 15px 40px #0005}.hub-options button{text-align:left;white-space:nowrap;border-color:transparent}.hub-gold .hub-bar{border:0;padding:15px 0 0;margin:0 0 6px;gap:10px}.hub-roster-count{color:#c3dacb;font-size:13px;font-weight:650;margin-right:auto}.hub-roster-count i{color:#e2bf6a;font-style:normal;padding:0 4px}.hub-gold input,.hub-gold select,.hub-gold-modal .hub-dialog input:not([type=checkbox]),.hub-gold-modal .hub-dialog select,.hub-gold-modal textarea{font:inherit;background:#0f261d;color:#f3f5ed;border:1px solid #476955;padding:10px 12px;border-radius:9px;max-width:100%}.hub-gold .hub-grid{grid-template-columns:repeat(auto-fill,minmax(113px,1fr));gap:15px 8px;padding:17px 0 24px;align-content:start}.hub-gold .hub-tile{background:transparent;border:1px solid transparent;padding:10px 3px;min-height:137px;border-radius:15px;box-shadow:none}.hub-gold .hub-tile:hover,.hub-gold .hub-selected{background:#ffffff0c;border-color:#a9c58188;transform:translateY(-2px)}.hub-gold .hub-character{width:77px;height:79px;filter:drop-shadow(0 4px 6px #0005)}.hub-gold .hub-character svg,.hub-gold .hub-character img{width:74px;height:74px}.hub-gold .hub-character span{font-size:58px}.hub-gold .hub-badge{top:1px;right:-13px;background:linear-gradient(160deg,#168d50,#12713c);box-shadow:0 0 0 1px #56b16b,0 3px 7px #07170b99;color:#fff;font-size:13px;padding:5px 8px;border-radius:30px}.hub-gold .hub-badge.negative{background:#a64b4b;box-shadow:0 0 0 1px #d37b79}.hub-gold .hub-tile strong{color:#f8f5e9!important;font-size:14px;line-height:1.25;max-width:100%}.hub-gold .hub-last{color:#aec3b6;font-size:12px;line-height:1.15}.hub-gold .hub-add{border:1px dashed #7b9d70;min-height:130px;justify-content:center;gap:10px;color:#f5cc74;background:#ffffff07}.hub-gold .hub-add>span{font-size:31px;line-height:1;background:#a6a65b;color:#193421;border-radius:50%;width:35px;height:35px;display:grid;place-items:center}.hub-gold .hub-add strong{font-size:12px;color:#e5c575!important}.hub-spacer{flex:1;min-height:28px}.hub-dock{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;align-self:center;gap:4px;border:1px solid #59734d;border-radius:35px;background:#0c251bdf;padding:5px;box-shadow:0 10px 25px #0005;position:sticky;bottom:10px;z-index:5}.hub-dock button{font-size:12px;border:0;border-radius:24px;background:transparent;color:#dbe8d8;padding:10px 13px;white-space:nowrap}.hub-dock button:hover{background:#38543a}.hub-footnote{color:#9db9a5!important;font-size:10px;text-align:center;margin:10px 0 0;letter-spacing:.3px}.hub-section,.hub-sync-grid{padding:24px 0}.hub-gold h2,.hub-gold h3,.hub-gold-modal h2,.hub-gold-modal h3{color:#f7f5e9!important}.hub-gold h2{font-size:21px}.hub-gold p{color:#b4cbbb;line-height:1.55}.hub-sync-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hub-sync-grid article,.hub-group-grid article,.hub-badges article{background:linear-gradient(145deg,#203e30,#162e24);border:1px solid #3d5e4a;border-radius:18px;padding:20px;display:grid;gap:10px}.hub-sync-grid article>button{justify-self:start}.hub-kicker{font-size:10px;color:#e6c571;font-weight:800;letter-spacing:1.4px}.hub-group-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-top:18px}.hub-group-grid article>strong{color:#f4ce77}.hub-group-grid button{font-size:11px;padding:7px}.hub-badges{max-width:720px;width:100%;margin:25px auto;display:grid;gap:12px}.hub-badges article{grid-template-columns:76px 1fr;align-items:center;gap:14px}.hub-badges article>span{font-size:56px;filter:drop-shadow(0 3px 4px #0005)}.hub-badges article h3{font-size:17px;margin-bottom:3px}.hub-badge-names{display:flex;flex-wrap:wrap;gap:5px;font-size:12px;color:#a9c6b5;margin-top:8px}.hub-badge-names button{font-size:11px;padding:5px 8px}.hub-gold-modal,.hub-modal:has(.hub-detail){width:min(1100px,95vw)!important;max-width:1100px!important;background:#142d23!important;color:#f7f5e9!important;border:1px solid #63815a!important;box-shadow:0 25px 85px #00170be0!important;border-radius:24px!important;padding:20px!important}.hub-gold-modal>.modal-top,.hub-gold-modal>p{color:#d8e8d9!important}.hub-gold-modal .hub-dialog,.hub-modal:has(.hub-detail) .hub-dialog{background:transparent;padding:8px;color:#f3f4e9}.hub-detail .hub-profile{border-bottom:1px solid #ffffff18;padding-bottom:12px;margin-bottom:15px}.hub-detail .hub-profile .hub-character{margin:0;width:76px;height:76px}.hub-detail .hub-profile strong{font-size:22px}.hub-detail .hub-profile p{font-size:12px;color:#bdd1bf!important;margin:4px 0}.hub-detail-layout{display:grid;grid-template-columns:minmax(160px,205px) minmax(0,1fr);gap:20px}.hub-detail-nav{display:flex;flex-direction:column;gap:8px;padding-right:15px;border-right:1px solid #365344}.hub-detail-nav small{color:#a7c3ac;letter-spacing:1.4px;font-size:10px;font-weight:700;padding:8px 0 3px}.hub-detail-nav button{text-align:left;background:transparent!important;border-color:transparent!important}.hub-detail-nav button.active{background:linear-gradient(125deg,#36583a,#2e4933)!important;color:#f5d88a;border:1px solid #9c9b5b!important}.hub-detail-main{min-width:0}.hub-gold-modal .hub-switch{border-bottom:1px solid #3f5c47;padding-bottom:6px;margin-top:0}.hub-gold-modal .hub-switch button{background:transparent;border-color:transparent}.hub-gold-modal .hub-switch button.active{background:#2d5139;border-color:#a0a264;color:#f7d67e}.hub-gold-modal .hub-switch button.negative.active{background:#553133;color:#ffa9a4;border-color:#a66b6b}.hub-gold-modal .hub-skills{grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:10px}.hub-gold-modal .hub-skills button{position:relative;background:linear-gradient(150deg,#294638,#1c352a);min-height:116px;padding:18px 8px 10px;box-shadow:inset 0 1px #ffffff0a}.hub-gold-modal .hub-skills small{position:absolute;top:8px;right:10px;font-size:12px;color:#a5edaf;font-weight:800}.hub-gold-modal .hub-skills small.negative{color:#ff9fa0}.hub-gold-modal .hub-skills span{font-size:30px;line-height:1.35;margin-top:6px}.hub-gold-modal .hub-skills b{font-size:12px;line-height:1.3;overflow-wrap:anywhere}.hub-gold-modal .hub-add-skill{border:1px dashed #9e9b5e!important;color:#f0d180!important}.hub-gold-modal .hub-stats div{background:#1e3b2c;border:1px solid #3c6046}.hub-gold-modal .hub-stats b{color:#f0d17d}.hub-gold-modal .hub-events{max-height:260px;margin:12px 0}.hub-report-ring{width:168px;height:168px;margin:14px auto;border-radius:50%;background:conic-gradient(#8de0aa var(--pct),#e9918c 0);padding:15px;box-shadow:0 0 0 1px #ffffff0f}.hub-report-ring>div{height:100%;background:#152e23;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column}.hub-report-ring strong{font-size:37px;color:#f4f5e9;letter-spacing:-2px}.hub-report-ring small{color:#b8d2c0}.hub-report-totals{display:flex;justify-content:center;gap:8px;margin:9px 0 16px;flex-wrap:wrap}.hub-report-totals span{padding:7px 11px;border-radius:24px;background:#245139;color:#c0f2c7;font-size:12px}.hub-report-totals span+span{background:#553335;color:#ffc0bd}.hub-reward-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #41604c;gap:10px}.hub-checklist{max-height:42vh;overflow:auto;display:grid;gap:5px;padding:8px 0}.hub-checklist label{display:flex;align-items:center;gap:8px;padding:8px;background:#203e30;border-radius:8px;color:#e7eee0}.hub-checklist label span{flex:1}.hub-checklist label strong{color:#e5d18b}.hub-checklist input,.hub-import-check input{accent-color:#dfbc64}.hub-import-review{max-height:50vh;overflow:auto;display:grid;gap:6px}.hub-import-review>div{display:grid;grid-template-columns:minmax(120px,1fr) 72px minmax(110px,1fr);align-items:center;gap:8px;padding:8px;background:#203e30;border-radius:8px}.hub-import-review small{display:block;margin-top:4px}.hub-import-check{display:flex;gap:8px;margin:15px 0;align-items:center}.hub-gold-modal textarea{width:100%}.hub-gold-modal .hub-primary{background:linear-gradient(135deg,#d2ae56,#efcf79)!important;color:#142b20!important;border-color:#e8cc77!important;font-weight:800}.hub-gold-modal .hub-note{color:#b7ccba!important}.hub-gold-modal .hub-confirm .hub-tools{justify-content:flex-end;margin-top:12px}.hub-gold-modal .hub-amounts{gap:8px}.hub-gold-modal .hub-amounts input{width:125px}.hub-gold-modal .hub-amounts label{display:flex;align-items:center;gap:10px}.hub-gold-modal .hub-avatar-picker button{background:#284334}.hub-modal:not(.hub-gold-modal){background:#142d23!important;color:#eaf0e5!important;border-color:#63815a!important}.hub-modal:not(.hub-gold-modal) .hub-dialog{background:#1b3629}.hub-modal .modal-top h2{color:#f4f4e9!important}.hub-modal>p{color:#b9cbbc!important}
@media(max-width:900px){.hub-native.hub-gold{padding:15px;min-height:75vh}.hub-sync-grid{grid-template-columns:1fr}.hub-detail-layout{grid-template-columns:1fr;gap:10px}.hub-detail-nav{flex-direction:row;flex-wrap:wrap;border-right:0;padding-right:0}.hub-detail-nav small{display:none}.hub-detail-nav button{font-size:12px}.hub-tabs{order:3;width:100%;justify-content:center}.hub-gold .hub-grid{grid-template-columns:repeat(auto-fill,minmax(95px,1fr));gap:8px}.hub-dock button{padding:8px;font-size:11px}.hub-gold-modal{padding:10px!important}.hub-import-review>div{grid-template-columns:1fr 50px}.hub-import-review select{grid-column:1/-1}.hub-gold .hub-header h1{font-size:23px}}
@media print{body:has(.hub-detail) #shell,body:has(.hub-detail) #toastRoot{display:none!important}body:has(.hub-detail) .modal-shade{position:static!important;background:white!important;padding:0!important;display:block!important}body:has(.hub-detail) .hub-modal,body:has(.hub-detail) .hub-dialog{background:white!important;color:black!important;box-shadow:none!important;border:none!important;width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important}body:has(.hub-detail) .hub-detail-nav,body:has(.hub-detail) .hub-tools,body:has(.hub-detail) .modal-top button{display:none!important}body:has(.hub-detail) .hub-detail-layout{display:block}body:has(.hub-detail) .hub-events{max-height:none;overflow:visible}body:has(.hub-detail) .hub-modal h2,body:has(.hub-detail) .hub-dialog *,body:has(.hub-detail) .hub-modal>p{color:black!important}body:has(.hub-detail) .hub-stats div{background:#eee!important}}
