/* iTeamHQ Mobile v0.22.1 — Team HQ command centre
   Scoped to .hq-view. No changes to Community/Events selectors or network logic. */
.hq-view{width:100%;max-width:100%;min-width:0;padding-bottom:12px;}
.hq-view>.eyebrow{letter-spacing:.19em;color:#ad83cf;font-weight:800;font-size:9px;}
.hq-view>.h1{margin:6px 0 22px;font-weight:850;letter-spacing:-.055em;font-size:clamp(32px,8.5vw,41px);}
.hq-view .hq-icon{width:18px;height:18px;display:block;flex:0 0 auto;}
.hq-hero{position:relative;isolation:isolate;overflow:hidden;border:1px solid rgba(197,145,246,.35);border-radius:24px;padding:19px 18px 17px;margin:0 0 19px;background:radial-gradient(ellipse 90% 125% at 100% -12%,rgba(142,83,226,.3) 0%,transparent 69%),linear-gradient(142deg,#2a203c,#1c1829 62%,#15121f);box-shadow:0 18px 43px rgba(3,1,11,.40),inset 0 1px rgba(235,213,255,.08);}
.hq-hero::before{content:'';position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#c38aff,#9158ee,transparent 90%);opacity:.95;z-index:-1;}
.hq-hero::after{content:'';position:absolute;width:210px;height:210px;border:1px solid rgba(217,173,255,.07);border-radius:50%;right:-95px;top:46px;box-shadow:0 0 0 25px rgba(200,154,244,.017),0 0 0 51px rgba(200,154,244,.015);pointer-events:none;z-index:-1;}
.hq-hero-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px;}
.hq-eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:9px;letter-spacing:.14em;font-weight:800;color:#c4a2e3;}
.hq-eyebrow .hq-icon{width:13px;height:13px;color:#c28bff;}
.hq-role{max-width:44%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:7px 10px;border:1px solid rgba(194,138,245,.28);border-radius:999px;background:rgba(146,83,211,.19);color:#e3caff;font-size:10px;font-weight:750;}
.hq-hero-identity{display:flex;align-items:center;gap:15px;min-width:0;}
.hq-hero .hq-crest{height:69px;width:69px;flex:0 0 69px;border-radius:20px;font-size:22px;color:#f1dbff;border:1px solid rgba(210,165,251,.52);background:linear-gradient(145deg,#644b87,#2b1d45);box-shadow:0 8px 18px rgba(3,1,10,.33),inset 0 1px rgba(242,220,255,.16);}
.hq-hero .hq-crest img{width:100%;height:100%;object-fit:cover;}
.hq-team-meta{min-width:0;}
.hq-overline{margin:0 0 5px;font-size:9px;font-weight:780;letter-spacing:.11em;color:#aa92c4;}
.hq-team-meta h2{font-size:clamp(19px,5.7vw,27px);font-weight:850;line-height:1.14;letter-spacing:-.035em;color:#fff;overflow-wrap:anywhere;margin:0 0 8px;}
.hq-team-meta p:last-child{margin:0;font-size:11px;color:#cabed8;line-height:1.4;}
.hq-hero-divider{height:1px;margin:23px 0 17px;background:linear-gradient(90deg,rgba(223,190,255,.25),rgba(223,190,255,.035));}
.hq-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;}
.hq-metric{display:flex;align-items:center;flex-direction:column;gap:4px;min-width:0;border:1px solid rgba(200,158,239,.13);border-radius:15px;padding:11px 4px 10px;background:rgba(10,8,21,.33);}
.hq-metric-icon{display:grid;place-items:center;color:#c9a6ff;margin-bottom:3px;}
.hq-metric-icon .hq-icon{width:17px;height:17px;}
.hq-metric strong{color:#f9f4ff;font-size:25px;line-height:1.16;letter-spacing:-.04em;font-variant-numeric:tabular-nums;font-weight:830;}
.hq-metric>span:last-child{color:#b0a0c0;font-size:10px;font-weight:600;text-align:center;}
.hq-section-label{display:flex;align-items:end;justify-content:space-between;gap:10px;margin:25px 0 13px;min-width:0;}
.hq-section-overline{display:block;color:#a48bad;letter-spacing:.15em;font-size:9px;font-weight:850;margin-bottom:4px;}
.hq-section-label h2{margin:0;color:#f5efff;font-size:20px;letter-spacing:-.035em;font-weight:810;line-height:1.25;}
.hq-section-count{border:1px solid rgba(185,145,227,.18);border-radius:999px;background:#23192e;padding:5px 9px;font-size:10px;color:#c9bdd9;white-space:nowrap;}
.hq-feature-event{position:relative;width:100%;display:flex;align-items:center;gap:14px;min-width:0;text-align:left;cursor:pointer;color:inherit;background:linear-gradient(113deg,#272139,#201a30 68%,#241a35);border:1px solid rgba(188,138,228,.29);border-radius:20px;padding:17px 13px 17px 16px;box-shadow:0 12px 28px rgba(1,0,10,.22);transition:transform .18s ease,border-color .2s ease,box-shadow .2s ease;}
.hq-feature-event:active{transform:scale(.987);}
.hq-feature-event:focus-visible,.hq-shortcut:focus-visible,.hq-roster-driver:focus-visible,.hq-see-all:focus-visible{outline:2px solid #d9aeff;outline-offset:3px;}
.hq-event-date{display:flex;flex-direction:column;align-items:center;justify-content:center;width:61px;height:73px;flex:0 0 61px;border-radius:15px;border:1px solid rgba(196,151,240,.37);background:linear-gradient(140deg,#54356c,#332148);box-shadow:inset 0 1px rgba(234,202,255,.09);}
.hq-event-date strong{font-size:31px;line-height:1;font-weight:840;letter-spacing:-.05em;color:#fff;}
.hq-event-date span{font-size:10px;letter-spacing:.16em;font-weight:840;color:#dfc7fb;margin-top:5px;}
.hq-event-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1 1 auto;}
.hq-event-kicker{display:flex;align-items:center;gap:5px;color:#c49ce6;font-size:9px;letter-spacing:.075em;font-weight:850;}
.hq-event-kicker .hq-icon{width:12px;height:12px;}
.hq-event-copy>strong{font-size:15px;font-weight:790;line-height:1.3;overflow-wrap:anywhere;color:#fff;}
.hq-event-copy small{font-size:11px;color:#beb0d0;line-height:1.4;}
.hq-event-timing{display:flex;align-items:center;gap:5px;font-size:10px;color:#d9baff;font-weight:730;margin-top:3px;}
.hq-event-timing .hq-icon{width:12px;height:12px;}
.hq-event-arrow{color:#bd8aea;align-self:center;}
.hq-event-arrow .hq-icon{width:19px;height:19px;}
.hq-no-event{display:flex;align-items:center;gap:13px;border:1px dashed rgba(182,144,216,.30);border-radius:18px;padding:20px 15px;background:rgba(42,32,56,.4);}
.hq-empty-symbol{display:grid;place-items:center;flex:0 0 auto;width:43px;height:43px;border:1px solid rgba(179,121,234,.33);border-radius:14px;background:rgba(116,75,161,.16);color:#c99bff;}
.hq-no-event strong{font-size:13px;font-weight:780;color:#eee1f8;}
.hq-no-event p{font-size:11px;line-height:1.5;color:#afa0bf;margin:5px 0 0;}
.hq-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;}
.hq-shortcut{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;text-align:left;gap:10px;padding:12px 12px 11px;min-height:116px;min-width:0;color:#e9dffa;background:linear-gradient(152deg,rgba(50,37,66,.95),rgba(29,22,41,.98));border:1px solid rgba(180,134,223,.21);border-radius:17px;box-shadow:inset 0 1px rgba(252,233,255,.035),0 7px 18px rgba(1,0,10,.16);font:inherit;cursor:pointer;transition:background .2s,border-color .2s,transform .18s;}
.hq-shortcut:active{transform:scale(.96);}
.hq-shortcut-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:rgba(156,89,224,.17);border:1px solid rgba(170,116,225,.21);color:#dbadff;}
.hq-shortcut>span:nth-child(2){font-size:12px;font-weight:770;line-height:1.25;white-space:normal;overflow-wrap:anywhere;}
.hq-shortcut>.hq-icon{position:absolute;right:11px;bottom:12px;width:13px;height:13px;color:#896daa;}
.hq-shortcut-count{position:absolute;top:10px;right:10px;min-width:23px;height:23px;padding:0 5px;border-radius:50px;background:#ab72ee;color:#1b1029;display:grid;place-items:center;font-size:10px;font-weight:850;}
.hq-roster{border:1px solid rgba(186,139,233,.22);border-radius:20px;background:linear-gradient(155deg,#221a30,#1a1525 90%);padding:5px 13px;box-shadow:0 10px 30px rgba(0,0,0,.19);overflow:hidden;}
.hq-roster-driver{display:flex;align-items:center;text-align:left;gap:13px;min-width:0;min-height:73px;padding:11px 2px;margin:0;border:0;border-bottom:1px solid rgba(205,170,239,.09);border-radius:0;background:transparent;color:inherit;cursor:pointer;box-shadow:none;width:100%;font:inherit;transition:background .18s ease,transform .18s ease;}
.hq-roster-driver:last-child{border-bottom:0;}
.hq-roster-driver:active{transform:scale(.986);background:rgba(142,91,187,.09);}
.hq-roster-avatar{position:relative;display:block;width:47px;height:47px;flex:0 0 47px;}
.hq-roster-avatar>.circle,.hq-roster-avatar>.avatar-frame{display:grid;place-items:center;width:47px;height:47px;font-size:13px;border-radius:15px;border:1px solid rgba(195,153,235,.32);background:linear-gradient(135deg,#513867,#2d203f);box-shadow:0 4px 11px rgba(0,0,0,.17);}
.hq-roster-avatar .avatar-frame img{width:100%;height:100%;object-fit:cover;border-radius:14px;}
.hq-roster-online-dot{position:absolute;right:-3px;bottom:-3px;width:13px;height:13px;border-radius:50%;border:3px solid #1f192c;background:#656073;box-sizing:border-box;}
.hq-roster-online-dot.is-online{background:#4fce9d;box-shadow:0 0 8px rgba(73,218,153,.55);}
.hq-roster-copy{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:4px;}
.hq-roster-copy strong{font-size:13px;color:#f6efff;font-weight:780;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;}
.hq-roster-copy small{font-size:11px;color:#ab9abd;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
.hq-roster-chevron{color:#9678b6;flex:0 0 auto;}
.hq-roster-chevron .hq-icon{width:16px;height:16px;}
.hq-roster-skeleton{display:flex;align-items:center;gap:13px;padding:12px 2px;min-height:73px;border-bottom:1px solid rgba(205,170,239,.08);}
.hq-roster-skeleton:last-child{border:0;}
.hq-skeleton{display:block;background:linear-gradient(100deg,#392947 10%,#524166 26%,#392947 42%);background-size:220% 100%;animation:hqShimmer 1.5s infinite linear;border-radius:8px;}
.hq-skeleton-avatar{width:46px;height:46px;flex:0 0 46px;border-radius:15px;}
.hq-skeleton-copy{flex:1;display:flex;flex-direction:column;gap:7px;}
.hq-skeleton-copy span:first-child{height:12px;width:55%;}
.hq-skeleton-copy span:last-child{height:9px;width:30%;}
@keyframes hqShimmer{to{background-position-x:-220%;}}
.hq-see-all{display:inline-flex;align-items:center;gap:4px;border:0;background:none;color:#d3a6fb;font-size:11px;font-weight:760;padding:8px 0 8px 5px;cursor:pointer;white-space:nowrap;}
.hq-see-all .hq-icon{width:14px;height:14px;}
.hq-feed-preview{border:1px solid rgba(183,133,225,.21);background:linear-gradient(145deg,#241b32,#1b1626);border-radius:19px;overflow:hidden;padding:5px 15px;}
.hq-feed-story{display:flex;gap:11px;padding:15px 1px;border-bottom:1px solid rgba(209,181,239,.10);}
.hq-feed-story:last-child{border:0;}
.hq-feed-marker{display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;border-radius:10px;background:rgba(142,88,207,.15);color:#bc8fea;}
.hq-feed-marker .hq-icon{width:15px;height:15px;}
.hq-feed-story>div{flex:1;min-width:0;}
.hq-feed-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;}
.hq-feed-meta strong{font-size:12px;font-weight:780;color:#eee0fa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.hq-feed-meta span{font-size:10px;color:#a593b8;white-space:nowrap;}
.hq-feed-story p{font-size:12px;line-height:1.52;color:#c5bad2;margin:5px 0 0;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.hq-feed-empty{border-radius:16px;border:1px dashed rgba(176,139,209,.27);padding:18px;font-size:12px;color:#a99bb8;}
.hq-switch{margin:0 0 16px;}
.hq-switch label{font-size:9px;letter-spacing:.14em;font-weight:800;color:#ba9dcd;}
.hq-switch select.field{margin:8px 0 0;min-height:45px;}
.hq-empty{text-align:center;display:flex;align-items:center;flex-direction:column;gap:10px;padding:28px 16px;}
.hq-empty h2{margin:0;}.hq-empty p{margin:0;font-size:12px;color:#b2a2c2;line-height:1.5;}
@media (max-width:360px){
 .hq-hero{padding:16px 13px 14px;}.hq-hero-identity{gap:11px;}
 .hq-hero .hq-crest{width:60px;height:60px;flex-basis:60px;}.hq-shortcuts{gap:7px;}
 .hq-shortcut{padding:10px;min-height:108px;}.hq-shortcut>span:nth-child(2){font-size:11px;}
 .hq-event-date{width:55px;flex-basis:55px;height:68px;}.hq-feature-event{gap:9px;padding:12px 10px;}
 .hq-event-copy>strong{font-size:13px;}.hq-event-arrow{display:none;}
}
@media(hover:hover) and (pointer:fine){
 .hq-feature-event:hover{border-color:rgba(206,155,251,.6);box-shadow:0 14px 32px rgba(9,2,27,.3);}
 .hq-shortcut:hover{border-color:rgba(207,163,250,.46);background:linear-gradient(150deg,#3a284c,#261c35);}
 .hq-roster-driver:hover{background:rgba(145,89,198,.08);}
}
@media(prefers-reduced-motion:reduce){
 .hq-skeleton{animation:none;}.hq-shortcut,.hq-feature-event,.hq-roster-driver{transition:none;}
}
