/* Hub navigation and the floating mascot. */
.hub-page {--hub-night:#0c0c0f;--hub-cream:#fffdf6;--hub-ink:#181819;--hub-glow:rgba(255,248,224,.18);color:var(--market-ink);isolation:isolate;min-height:100svh;display:flex;flex-direction:column}
.hub-header {display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 40px;position:relative;z-index:2;border-bottom:1px solid #fffdf61f}
.hub-header .market-brand {font-size:28px;color:var(--hub-cream);letter-spacing:-1.6px}
.hub-header .market-brand img {width:28px;height:36px;object-fit:contain}
.hub-header .brand-dot {color:#ed8b83}
.hub-header .market-brand:hover {color:var(--hub-cream)}
.hub-header-left,.hub-account-links {display:flex;align-items:center;gap:12px}
.hub-header-left {gap:24px;min-width:0}
.hub-account-links {flex-shrink:0}
.hub-header-actions {display:flex;align-items:center;gap:12px}
.hub-language {display:flex;align-items:center;gap:8px;min-height:40px;border:1px solid #ffffff26;border-radius:24px;padding:0 12px;background:#ffffff04}
.hub-language select {background:transparent;color:var(--hub-cream);border:0;max-width:70px;font-size:12px;font-weight:700;cursor:pointer;min-height:38px}
.hub-language option {color:var(--hub-ink);background:var(--hub-cream)}
.hub-account {width:40px;height:40px;display:grid;place-items:center;border:1px solid #ffffff26;border-radius:50%;font-size:18px;background:#ffffff04;color:var(--hub-cream)}
.hub-account:hover {background:#ffffff12;color:var(--hub-cream)}
.hub-page #main-content {min-height:0;flex:1;display:flex;flex-direction:column;justify-content:center}
.hub-stage {--hub-orb-size:clamp(160px,21vw,240px);position:relative;display:block;aspect-ratio:1.35;width:min(1160px,calc(100% - 80px));margin:24px auto 32px;isolation:isolate}
.hub-mascot {scale:1.1;transform-origin:center;position:absolute;left:50%;top:50%;translate:-50% -50%;width:34%;height:54%;animation:hub-goose-float 7s ease-in-out infinite;object-fit:contain;filter:brightness(1.10) saturate(1.12) drop-shadow(0 0 16px #0006);pointer-events:none;user-select:none}
.hub-circle {position:absolute;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;width:min(100%,calc(var(--hub-orb-size)*var(--orb-scale,1)));aspect-ratio:1;border-radius:50%;padding:24px;background:linear-gradient(145deg,#393430,#2b2725);color:#eee5d9;border:1px solid #534941;box-shadow:0 4px 14px #0002;text-align:center;transition:transform 180ms ease-out,border-color 180ms ease-out,box-shadow 180ms ease-out;line-height:1.1}
.hub-circle>i {font-size:clamp(32px,3.5vw,56px);line-height:1;transition:transform 180ms ease-out}
.hub-circle>span {font-size:clamp(20px,2.4vw,34px);font-weight:800;letter-spacing:-1px;overflow-wrap:anywhere;max-width:100%}
.hub-circle:not(:disabled):is(:hover,:focus-visible) {color:#fff4e6;border-color:#ffd8aa;box-shadow:0 0 0 1px #efaa76,0 0 16px #f5af7540,0 6px 18px #0003}
.hub-circle:not(:disabled):hover {transform:translateY(-4px)}
.hub-circle:not(:disabled):hover>i {transform:rotate(-6deg)}
.hub-circle:active {transform:scale(.98)}
.hub-circle:disabled {opacity:.78;cursor:default}
.hub-quick-links {display:flex;flex-wrap:wrap;justify-content:center;gap:16px 32px;padding:0 80px 40px;color:#c7c1bd;font-size:13px}.hub-quick-links a:hover {color:var(--hub-cream)}
.hub-quick-links .order-count-pill {background:var(--market-orange);color:var(--market-white)}
.hub-page a:focus-visible,.hub-language select:focus-visible {outline:3px solid #ef9d9c;outline-offset:6px}
.hub-circle--shorts {left:22%;top:2%;--orb-scale:.8}
.hub-circle--shops {right:8%;top:8%;--orb-scale:1}
.hub-circle--social {left:1%;top:33%;--orb-scale:.88;gap:16px}
.hub-circle--social>i {font-size:40px}
.hub-circle--social>span {font-size:clamp(18px,1.9vw,27px)}
.hub-circle--feed {right:0;top:53%;--orb-scale:1.3}
.hub-circle--new {left:15%;bottom:3%;--orb-scale:.72}
.hub-circle--shorts,.hub-circle--new {gap:12px;padding:16px}
.hub-circle--shorts>i,.hub-circle--new>i {font-size:32px}
.hub-circle--shorts>span,.hub-circle--new>span {font-size:clamp(17px,1.6vw,23px)}
.hub-circle--new>span {font-size:clamp(16px,1.5vw,21px)}
.hub-page .support-placeholder {background:var(--market-orange);box-shadow:0 4px 20px #0006}
.hub-bubbles {position:absolute;inset:0;z-index:-1;pointer-events:none}
.hub-home .hub-feathers {--edge-width:100%;z-index:0}
.hub-bubbles>span {position:absolute;width:var(--bubble-size,32px);aspect-ratio:1;border:1px solid #fffdf626;background:#fffdf608;border-radius:50%;animation:hub-bubble-float var(--bubble-time,10s) ease-in-out infinite;animation-delay:var(--bubble-delay,0s)}
.hub-bubbles>span:nth-child(1) {left:2%;top:6%;--bubble-size:48px;--bubble-delay:-2s}
.hub-bubbles>span:nth-child(2) {left:39%;top:1%;--bubble-size:22px;--bubble-time:8s}
.hub-bubbles>span:nth-child(3) {right:1%;top:38%;--bubble-size:64px;--bubble-delay:-4s}
.hub-bubbles>span:nth-child(4) {left:4%;top:54%;--bubble-size:18px;--bubble-time:7s}
.hub-bubbles>span:nth-child(5) {left:35%;bottom:7%;--bubble-size:72px;--bubble-delay:-5s}
.hub-bubbles>span:nth-child(6) {right:5%;bottom:2%;--bubble-size:36px;--bubble-time:12s}
.hub-bubbles>span:nth-child(7) {right:35%;top:17%;--bubble-size:14px;--bubble-delay:-3s}
.hub-bubbles>span:nth-child(8) {left:1%;bottom:10%;--bubble-size:84px;--bubble-time:14s;--bubble-delay:-7s}
@keyframes hub-bubble-float {0%,100% {transform:translateY(0)}50% {transform:translateY(-12px)}}
@keyframes hub-goose-float {0%,100% {transform:translateY(0) rotate(-1deg)}50% {transform:translateY(-8px) rotate(1deg)}}
.hub-home #main-content:has(.hub-stage.is-leaving) {overflow:clip}
.hub-pop {
    display:none;position:absolute;z-index:2;pointer-events:none;translate:-50% -50%;
    width:clamp(240px,48vmin,490px);aspect-ratio:1;border-radius:50%;
    background:radial-gradient(circle,#fff 0 9%,#fffffff2 13%,#ffffffa8 23%,#ffffff40 42%,transparent 68%);
}
.hub-stage.is-leaving .hub-pop {display:block;animation:hub-pop .48s .40s both}
.hub-pop::before,.hub-pop::after {content:"";position:absolute;border-radius:inherit}
.hub-pop::before {
    inset:10%;border:2px solid white;box-shadow:0 0 10px #ffffffc9,inset 0 0 9px #fffc,0 1px 5px #4b403b42;
    animation:hub-ring .39s .45s both;
}
.hub-pop::after {
    inset:4%;
    background:repeating-conic-gradient(from 14deg,transparent 0deg 28deg,#fff 29deg 30deg,transparent 31deg 45deg);
    mask-image:radial-gradient(circle,transparent 14%,#000 25%,#0009 45%,transparent 66%);
    animation:hub-rays .37s .43s both;
}
@keyframes hub-pop {
    0% {opacity:0;transform:scale(.10)}
    18% {opacity:1;transform:scale(.62)}
    46% {opacity:1;transform:scale(.93)}
    100% {opacity:0;transform:scale(1.10)}
}
@keyframes hub-ring {from {opacity:0;transform:scale(.36)} 20% {opacity:1} to {opacity:0;transform:scale(1.16)}}
@keyframes hub-rays {from {opacity:0;transform:scale(.6)} 22% {opacity:1} to {opacity:0;transform:scale(1.12)}}
@media(max-width:767px) {
 .hub-header-left {flex-wrap:wrap;gap:12px}.hub-header-left .market-brand {order:-1;flex-basis:100%}.hub-header-actions {align-self:flex-end}
 .hub-header {padding:20px;gap:12px}.hub-header .market-brand {font-size:23px;gap:8px}.hub-header-actions {gap:8px}.hub-header .market-brand img {width:22px;height:30px}
 /* A compact orbit keeps the goose at the centre instead of above a list. */
 .hub-stage {display:block;aspect-ratio:7/10;width:min(480px,calc(100% - 24px));margin:20px auto 36px}
 .hub-mascot {position:absolute;left:50%;top:50%;translate:-50% -50%;width:38%;height:auto;max-width:none}
 .hub-circle {position:absolute;inset:auto;left:var(--orb-x);top:var(--orb-y);translate:-50% -50%;width:var(--mobile-orb-size);padding:8px;gap:7px}
 .hub-circle--shorts {--orb-x:23%;--orb-y:19%;--mobile-orb-size:27%}
 .hub-circle--shops {--orb-x:77%;--orb-y:18%;--mobile-orb-size:31%}
 .hub-circle--social {--orb-x:17%;--orb-y:79%;--mobile-orb-size:28%}
 .hub-circle--feed {--orb-x:82%;--orb-y:80%;--mobile-orb-size:34%}
 .hub-circle--new {--orb-x:46%;--orb-y:90%;--mobile-orb-size:27%}
 .hub-stage .hub-circle>i {font-size:clamp(23px,6vw,32px)}
 .hub-stage .hub-circle>span {font-size:clamp(12px,3.5vw,17px);letter-spacing:-.5px;line-height:1.12}
 .hub-stage .hub-circle--feed>span {font-size:clamp(17px,4.4vw,22px)}
 .hub-stage .hub-circle--shops>span {font-size:clamp(13px,3.8vw,19px)}
 .hub-stage .hub-circle--new>span {font-size:clamp(12px,3.3vw,16px)}
 .hub-quick-links {gap:16px 24px;padding:0 64px 32px}
}
@media(max-width:380px) {.hub-header {padding:16px 12px}.hub-header .market-brand {font-size:20px}.hub-language {padding:0 8px;gap:4px}}
@media(prefers-reduced-motion:reduce) {.hub-circle,.hub-circle>i {transition:none}.hub-circle:not(:disabled):hover,.hub-circle:active,.hub-circle:not(:disabled):hover>i {transform:none}.hub-mascot,.hub-bubbles>span {animation:none}}
