/* =========================== Header account cluster ========================
   Avatar, saved, updates and cart buttons with a chevron, each opening a
   small menu (js/header-menu.js). Menus scale in from their button. */
.hm-cluster{ --ease-out: cubic-bezier(0.23, 1, 0.32, 1); display:flex; align-items:center; gap:4px; margin-left:4px; }
/* Signed in: support and the bare account icon move into the avatar menu */
.is-signed-in .header-utils a[aria-label="Support"], .is-signed-in #header-account-link{ display:none; }
.is-signed-in .header-actions .btn-buy{ display:none; }

.hm{ position:relative; }
.hm-btn{
  position:relative; height:38px; display:flex; align-items:center; gap:4px; padding:0 6px 0 8px; border-radius:19px;
  background:none; border:1px solid transparent; color:var(--text-secondary); cursor:pointer;
  transition:color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}
.hm-btn-ic{ width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.hm-chev{ width:12px; height:12px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; opacity:0.7; transition:transform 200ms var(--ease-out); }
.hm.is-open .hm-btn{ color:var(--text); background:rgba(255,255,255,0.06); border-color:rgba(255,255,255,0.1); }
.hm.is-open .hm-chev{ transform:rotate(180deg); }
.hm-btn:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }
@media (hover:hover) and (pointer:fine){ .hm-btn:hover{ color:var(--text); background:rgba(255,255,255,0.05); } }

.hm-avatar{
  width:28px; height:28px; flex-shrink:0; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(140deg, #f2a65a, #b8601c); color:#0a0a09;
  font-family:var(--font-sans); font-size:11.5px; font-weight:800; letter-spacing:0.3px;
}
.hm-avatar.is-lg{ width:40px; height:40px; font-size:14px; }
.hm-account .hm-btn{ padding-left:4px; }

.hm-dot{ position:absolute; top:8px; left:22px; width:8px; height:8px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 2px #080807; }
.hm-count{
  position:absolute; top:3px; left:20px; min-width:17px; height:17px; padding:0 4px; border-radius:9px;
  display:flex; align-items:center; justify-content:center; background:var(--accent); color:#0a0a09;
  font-family:var(--font-sans); font-size:10.5px; font-weight:800; box-shadow:0 0 0 2px #080807;
}
.hm-dot[hidden], .hm-count[hidden]{ display:none; }

/* Panel */
.hm-panel{
  position:absolute; top:calc(100% + 10px); right:0; z-index:200; width:300px; max-height:min(560px, calc(100dvh - 90px)); overflow-y:auto;
  padding:6px; border-radius:14px; border:1px solid rgba(255,255,255,0.1);
  background:rgba(14,13,12,0.97); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  box-shadow:0 24px 60px rgba(0,0,0,0.6);
  transform-origin:top right; opacity:0; transform:scale(0.96) translateY(-4px); visibility:hidden; pointer-events:none;
  transition:opacity 150ms ease, transform 180ms var(--ease-out), visibility 0s linear 180ms;
  scrollbar-width:none;
}
.hm-panel::-webkit-scrollbar{ display:none; }
.hm.is-open .hm-panel{ opacity:1; transform:none; visibility:visible; pointer-events:auto; transition:opacity 150ms ease, transform 180ms var(--ease-out), visibility 0s; }

.hm-who{ display:flex; align-items:center; gap:10px; padding:10px 10px 12px; }
.hm-who-text{ display:flex; flex-direction:column; min-width:0; flex:1; }
.hm-who-text b{ font-size:14.5px; font-weight:700; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hm-who-text small{ font-size:12.5px; color:var(--text-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hm-role{ flex-shrink:0; height:22px; display:inline-flex; align-items:center; padding:0 8px; border-radius:11px; border:1px solid rgba(232,134,44,0.45); color:var(--amber-text); font-size:11px; font-weight:700; }

.hm-group{ padding:4px 0; border-top:1px solid rgba(255,255,255,0.07); }
.hm-item{
  width:100%; height:38px; display:flex; align-items:center; gap:12px; padding:0 10px; border-radius:9px; border:0; background:none;
  color:var(--text-secondary); font-family:var(--font-sans); font-size:14px; font-weight:500; text-decoration:none; text-align:left; cursor:pointer;
  transition:color 120ms ease, background-color 120ms ease;
}
.hm-item span{ flex:1; }
.hm-ic{ width:18px; height:18px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.hm-new{ flex:0 0 auto !important; height:18px; display:inline-flex; align-items:center; padding:0 6px; border-radius:5px; background:rgba(232,134,44,0.16); color:var(--amber-text); font-size:10.5px; font-weight:700; }
.hm-item:focus-visible{ outline:2px solid var(--accent); outline-offset:-2px; }
@media (hover:hover) and (pointer:fine){
  .hm-item:hover{ color:#fff; background:rgba(255,255,255,0.06); }
  .hm-item:hover .hm-ic{ color:var(--amber-text); }
}

.hm-head{ display:flex; align-items:center; justify-content:space-between; padding:8px 10px 10px; }
.hm-head b{ font-size:14px; font-weight:700; color:#fff; }
.hm-head span{ min-width:20px; height:20px; padding:0 6px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; background:rgba(255,255,255,0.08); font-size:11.5px; font-weight:700; color:var(--text-secondary); }

.hm-beats{ display:flex; flex-direction:column; gap:2px; }
.hm-beat{ display:flex; align-items:center; gap:10px; padding:6px; border-radius:9px; text-decoration:none; color:var(--text); transition:background-color 120ms ease; }
@media (hover:hover) and (pointer:fine){ .hm-beat:hover{ background:rgba(255,255,255,0.06); } }
.hm-beat-art{ width:40px; height:40px; flex-shrink:0; border-radius:8px; background:radial-gradient(120% 90% at 18% 12%, rgba(var(--fx, 232,134,44), 0.85), rgba(var(--fx, 232,134,44), 0.2) 45%, transparent 70%), linear-gradient(160deg, #141210, #050504); }
.hm-beat-text{ display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; }
.hm-beat-text b{ font-size:13.5px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hm-beat-text small{ font-size:12px; color:var(--text-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hm-beat-price{ font-size:13px; font-weight:700; color:var(--text); font-variant-numeric:tabular-nums; }

.hm-foot{ display:flex; align-items:center; justify-content:center; height:38px; margin-top:4px; border-top:1px solid rgba(255,255,255,0.07); font-size:13.5px; font-weight:600; color:var(--amber-text); text-decoration:none; }
.hm-total{ display:flex; justify-content:space-between; align-items:center; padding:10px 10px 6px; margin-top:4px; border-top:1px solid rgba(255,255,255,0.07); font-size:13.5px; color:var(--text-secondary); }
.hm-total b{ font-family:var(--font-display); font-size:16px; color:#fff; }
.hm-checkout, .hm-cta{
  display:flex; align-items:center; justify-content:center; height:36px; margin:6px 4px 4px; border-radius:999px;
  background:var(--accent); color:#0a0a09; font-size:13px; font-weight:600; text-decoration:none; transition:filter 150ms ease, transform 160ms var(--ease-out);
}
.hm-cta{ height:34px; margin:14px 0 0; padding:0 16px; }
.hm-checkout:active, .hm-cta:active{ transform:scale(0.97); }
@media (hover:hover) and (pointer:fine){ .hm-checkout:hover, .hm-cta:hover{ filter:brightness(1.08); } }

.hm-empty{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:4px; padding:18px 16px 16px; }
.hm-empty-ic{ width:30px; height:30px; margin-bottom:6px; fill:none; stroke:var(--text-muted); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.hm-empty b{ font-size:14px; color:#fff; }
.hm-empty span{ font-size:13px; line-height:1.5; color:var(--text-muted); }

.hm-updates-list{ display:flex; flex-direction:column; gap:2px; }
.hm-update{ display:flex; flex-direction:column; gap:3px; padding:8px 10px; border-radius:9px; text-decoration:none; transition:background-color 120ms ease; }
@media (hover:hover) and (pointer:fine){ .hm-update:hover{ background:rgba(255,255,255,0.06); } }
.hm-update b{ font-size:13.5px; color:#fff; }
.hm-update small{ font-size:12.5px; color:var(--text-muted); }
.hm-status{ align-self:flex-start; height:20px; display:inline-flex; align-items:center; padding:0 7px; border-radius:6px; font-size:11px; font-weight:700; }
.hm-status.is-pending{ background:rgba(255,255,255,0.08); color:var(--text-secondary); }
.hm-status.is-ok{ background:rgba(76,201,122,0.15); color:#7fe0a4; }
.hm-status.is-bad{ background:rgba(255,99,71,0.14); color:#ff9c86; }

/* Phones: avatar and cart only (saved and updates live in the avatar
   menu's pages); menus become a sheet under the header. */
@media (max-width:900px){
  .hm-saved, .hm-updates{ display:none; }
  .hm-chev{ display:none; }
  .hm-btn{ padding:0 6px; height:34px; }
  .hm-panel{ position:fixed; top:64px; right:12px; left:12px; width:auto; transform-origin:top center; }
}
@media (prefers-reduced-motion: reduce){
  .hm-panel, .hm.is-open .hm-panel{ transform:none; }
  .hm-chev{ transition:none; }
}

/* Producers: Upload button ahead of the icons */
.hm-upload{
  height:34px; display:inline-flex; align-items:center; gap:7px; margin-right:6px; padding:0 14px 0 12px; border-radius:17px;
  border:1px solid rgba(232,134,44,0.55); background:rgba(232,134,44,0.12); color:var(--amber-text);
  font-family:var(--font-sans); font-size:13px; font-weight:700; text-decoration:none; white-space:nowrap;
  transition:background-color 150ms ease, border-color 150ms ease, transform 160ms var(--ease-out);
}
.hm-upload-ic{ width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.hm-upload:active{ transform:scale(0.96); }
.hm-upload:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }
@media (hover:hover) and (pointer:fine){ .hm-upload:hover{ background:rgba(232,134,44,0.22); border-color:var(--accent); } }
@media (max-width:900px){ .hm-upload{ width:34px; padding:0; justify-content:center; margin-right:2px; } .hm-upload span{ display:none; } }

/* Full name on up to two lines next to the role badge */
.hm-who{ align-items:flex-start; }
.hm-who-text b{ white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; line-height:1.3; }
.hm-role{ margin-top:2px; }
@media (max-width:900px){ .hm-panel{ top:98px; max-height:calc(100dvh - 110px); } }

/* ------------------------------ Signed out --------------------------------
   Same look as the signed-in icons: search stays a plain button, support
   and account become menus. */
.is-signed-out .header-utils a[aria-label="Support"], .is-signed-out #header-account-link{ display:none; }
html.is-preview .header-utils #header-search-btn{
  width:38px; height:38px; border-radius:19px; border-color:transparent; color:var(--text-secondary);
  transition:color 150ms ease, background-color 150ms ease;
}
html.is-preview .header-utils #header-search-btn svg{ width:20px; height:20px; stroke-width:1.6; }
@media (hover:hover) and (pointer:fine){ html.is-preview .header-utils #header-search-btn:hover{ color:var(--text); background:rgba(255,255,255,0.05); border-color:transparent; } }
.hm-group-first{ border-top:0; padding-top:0; }
.hm-guest-intro{ display:flex; flex-direction:column; gap:4px; padding:10px 10px 12px; }
.hm-guest-intro b{ font-size:14px; color:#fff; }
.hm-guest-intro span{ font-size:12.5px; line-height:1.5; color:var(--text-muted); }
@media (max-width:900px){ .hm-support{ display:none; } }

/* Rounded buttons, like the rest of the site */
.hm-checkout, .hm-cta{ border-radius:999px; }

/* Phones: account icon like on desktop (same size, chevron kept) */
@media (max-width:900px){
  .hm-guest .hm-chev, .hm-account .hm-chev{ display:block; }
  .hm-guest .hm-btn, .hm-account .hm-btn{ height:38px; padding:0 4px 0 6px; gap:3px; }
  .hm-btn-ic{ width:21px; height:21px; }
}

/* Menu icons: white glyph on a coloured rounded tile (Apple Settings). */
.hm-item{ height:40px; gap:11px; padding:0 8px; color:#e8e8ed; }
.hm-tile, .hm-item .hm-tile{ width:26px; height:26px; flex:0 0 26px; display:flex; align-items:center; justify-content:center; border-radius:7px; color:#fff;
  background:linear-gradient(180deg, var(--t1), var(--t2)); box-shadow:inset 0 0.5px 0 rgba(255,255,255,0.35), 0 1px 2px rgba(0,0,0,0.35); }
.hm-tile .hm-ic{ width:16px; height:16px; stroke-width:1.9; }
.hm-tile.is-amber{ --t1:#f7a24b; --t2:#de7a1f; }
.hm-tile.is-blue{ --t1:#3d9bff; --t2:#0a6cf0; }
.hm-tile.is-pink{ --t1:#ff5a7e; --t2:#e5254f; }
.hm-tile.is-yellow{ --t1:#ffbf2e; --t2:#f09a00; }
.hm-tile.is-green{ --t1:#43d871; --t2:#1fb052; }
.hm-tile.is-purple{ --t1:#c27bff; --t2:#9a4ce8; }
.hm-tile.is-teal{ --t1:#4fd2ff; --t2:#1aa6dd; }
.hm-tile.is-red{ --t1:#ff6159; --t2:#e5372e; }
.hm-tile.is-gray{ --t1:#9a9aa0; --t2:#6d6d73; }
/* Site palette: every tile is amber on dark, Log out stays neutral. */
.hm-tile.is-amber, .hm-tile.is-blue, .hm-tile.is-pink, .hm-tile.is-yellow, .hm-tile.is-green,
.hm-tile.is-purple, .hm-tile.is-teal, .hm-tile.is-red{
  --t1:rgba(232,134,44,0.26); --t2:rgba(232,134,44,0.14); color:#f5b06a;
  box-shadow:inset 0 0 0 1px rgba(232,134,44,0.28);
}
.hm-tile.is-gray{ --t1:rgba(255,255,255,0.12); --t2:rgba(255,255,255,0.06); color:#d2d2d7; box-shadow:inset 0 0 0 1px rgba(255,255,255,0.1); }
.hm-tile .hm-ic, .hm-item:hover .hm-tile .hm-ic{ color:inherit; }
/* Account header: centred and symmetric (avatar, name, email, role). */
.hm-who{ flex-direction:column; align-items:center; text-align:center; gap:0; padding:16px 12px 14px; }
.hm-who .hm-avatar.is-lg{ width:56px; height:56px; font-size:19px; margin-bottom:10px; box-shadow:0 0 0 3px rgba(232,134,44,0.18), 0 10px 24px -10px rgba(232,134,44,0.6); }
.hm-who-text{ align-items:center; flex:none; width:100%; gap:2px; }
.hm-who-text b{ max-width:100%; font-size:15px; font-weight:600; letter-spacing:-0.01em; }
.hm-who-text small{ max-width:100%; font-size:12.5px; }
.hm-who .hm-role{ margin-top:10px; height:22px; padding:0 10px; border:0; border-radius:11px; background:rgba(232,134,44,0.16); color:#f5b06a; font-size:11.5px; font-weight:600; }
/* Account menu: show it whole, no inner scroll (compact rows, no 560px cap). */
.hm-account .hm-panel{ max-height:calc(100dvh - 80px); }
.hm-account .hm-item{ height:36px; }
.hm-account .hm-group{ padding:3px 0; }
.hm-who{ padding:12px 12px 12px; }
.hm-who .hm-avatar.is-lg{ width:48px; height:48px; font-size:17px; margin-bottom:8px; }
.hm-who .hm-role{ margin-top:8px; }
@media (max-width:900px){ .hm-account .hm-panel{ max-height:calc(100dvh - 104px); } }
/* Clearer separation between the account menu sections. */
.hm-account .hm-group{ padding:5px 0; border-top:1px solid rgba(255,255,255,0.12); }
.hm-account .hm-who + .hm-group{ border-top-color:rgba(255,255,255,0.14); }

/* Updates (bell): status tile, title, what happened, time, unread dot */
.hm-updates .hm-panel{ width:340px; }
.hm-updates-list{ gap:2px; padding:2px 0 4px; }
.hm-update{ position:relative; flex-direction:row; align-items:center; gap:11px; padding:10px 10px 10px 8px; border-radius:12px; }
.hm-update-ic{ width:34px; height:34px; flex:0 0 34px; display:flex; align-items:center; justify-content:center; border-radius:10px; }
.hm-update-ic svg{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.hm-update-ic.is-ok{ background:rgba(76,201,122,0.16); color:#7fe0a4; }
.hm-update-ic.is-pending{ background:rgba(232,134,44,0.16); color:#f5b06a; }
.hm-update-ic.is-bad{ background:rgba(255,99,71,0.15); color:#ff9c86; }
.hm-update-text{ flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.hm-update-text b{ font-size:14px; font-weight:600; color:#f5f5f7; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hm-update-text small{ font-size:14px; color:#d6d6db; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hm-update-text em{ font-style:normal; font-weight:600; }
.hm-update-text em.is-ok{ color:#7fe0a4; }
.hm-update-text em.is-pending{ color:#f5b06a; }
.hm-update-text em.is-bad{ color:#ff9c86; }
.hm-update time{ flex-shrink:0; align-self:flex-start; margin-top:2px; font-size:13px; color:#cfcfd4; font-variant-numeric:tabular-nums; }
.hm-update.is-unread{ background:rgba(232,134,44,0.06); }
.hm-update.is-unread::after{ content:''; position:absolute; right:10px; bottom:14px; width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 8px rgba(232,134,44,0.7); }
@media (hover:hover) and (pointer:fine){ .hm-update:hover{ background:rgba(255,255,255,0.06); } }

/* Profile photo inside the header avatar */
.hm-avatar.has-photo{ overflow:hidden; padding:0; background:#1e1e1c; }
.hm-avatar img{ width:100%; height:100%; display:block; object-fit:cover; border-radius:inherit; }
/* Saved tracks menu: bigger covers, title, details, price, quiet footer link */
.hm-saved .hm-panel{ width:320px; }
.hm-saved .hm-beats{ display:flex; flex-direction:column; gap:2px; padding:2px 0 4px; }
.hm-saved .hm-beat{ gap:12px; padding:8px; border-radius:12px; }
.hm-saved .hm-beat-art{ width:48px; height:48px; border-radius:10px; box-shadow:0 0 0 1px rgba(255,255,255,0.08), 0 8px 18px -10px rgba(0,0,0,0.8); }
.hm-saved .hm-beat-text b{ font-size:14.5px; font-weight:600; color:#f5f5f7; }
.hm-saved .hm-beat-text small{ font-size:14px; color:#d6d6db; }
.hm-saved .hm-beat-price{ flex-shrink:0; padding:4px 9px; border-radius:999px; background:rgba(255,255,255,0.07); font-size:12.5px; font-weight:600; color:#f5f5f7; }
.hm-foot-link{ height:40px; margin-top:4px; border-top:1px solid rgba(255,255,255,0.1); color:#f0a35b; font-size:14px; font-weight:500; background:none; }
@media (hover:hover) and (pointer:fine){ .hm-foot-link:hover{ background:rgba(255,255,255,0.04); text-decoration:none; } }

/* Account header: email easier to read */
.hm-who-text small{ font-size:13.5px; font-weight:500; color:#d1d1d6; letter-spacing:0.005em; }

/* Messages menu: avatar per conversation, unread ones in bold */
.hm-msg-av{ width:34px; height:34px; flex:0 0 34px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:#2c2c2e center/cover no-repeat; color:#f5f5f7; font-size:14px; font-weight:600; }
.hm-msg .hm-update-text small{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:210px; }
.hm-msg.is-unread .hm-update-text small{ color:#f5f5f7; font-weight:500; }
.hm-msg-loading{ padding:18px 12px; font-size:13.5px; color:#d6d6db; }

/* Track review (admin only): a lit row so it reads apart from the rest of the menu */
.hm-item.is-admin{
  position:relative; margin:2px 4px; padding:0 8px; border-radius:10px; color:#fff3e3;
  background:linear-gradient(90deg, rgba(232,134,44,0.2), rgba(232,134,44,0.05) 75%);
  box-shadow:inset 0 0 0 1px rgba(232,134,44,0.34), 0 8px 20px -14px rgba(232,134,44,0.8);
}
.hm-item.is-admin .hm-tile{ border-radius:50%; --t1:#3a2410; --t2:#1d1209; color:#ffc58a; box-shadow:inset 0 0 0 1px rgba(245,176,106,0.6), 0 0 12px rgba(232,134,44,0.35); }
.hm-item.is-admin .hm-new{ background:var(--accent); color:#140b02; letter-spacing:0.02em; }
@media (hover:hover){ .hm-item.is-admin:hover{ background:linear-gradient(90deg, rgba(232,134,44,0.3), rgba(232,134,44,0.09) 75%); color:#fff; } }

/* Quick-links button, bottom right, phones only: messages, cart, saved, orders, support */
.hm-hub{ display:none; }
@media (max-width:820px){
  .hm-messages, .hm-cart{ display:none; }
  .hm-hub{ display:block; position:fixed; right:22px; bottom:calc(20px + env(safe-area-inset-bottom, 0px)); z-index:7900; }
  .hm-hub-btn{
    position:relative; width:52px; height:52px; display:flex; align-items:center; justify-content:center; padding:0; border-radius:50%;
    background:#1a1917; color:#f5f3ee; border:1px solid rgba(232,134,44,0.5);
    box-shadow:0 12px 32px rgba(0,0,0,0.55), 0 0 22px rgba(232,134,44,0.18); cursor:pointer; transition:transform 150ms ease;
  }
  .hm-hub-btn:active{ transform:scale(0.94); }
  .hm-hub-btn svg{ width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linejoin:round; stroke-linecap:round; }
  .hm-hub-x{ display:none; }
  .hm-hub.is-open .hm-hub-ic{ display:none; }
  .hm-hub.is-open .hm-hub-x{ display:block; }
  .hm-hub-btn > .hm-count{ position:absolute; top:-4px; right:-4px; }
  .hm-hub-panel{
    position:absolute; right:0; bottom:64px; width:min(260px, calc(100vw - 44px)); padding:8px; border-radius:22px;
    border:1px solid rgba(255,255,255,0.14); background:#12110f; box-shadow:0 24px 60px rgba(0,0,0,0.6);
    transform-origin:bottom right; animation:hmHubIn 180ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .hm-hub-panel[hidden]{ display:none; }
  .hm-hub-panel a{ position:relative; display:flex; align-items:center; gap:12px; min-height:48px; padding:0 12px; border-radius:16px; color:#f5f3ee; text-decoration:none; font-size:15px; font-weight:500; }
  .hm-hub-panel a:active{ background:rgba(255,255,255,0.06); }
  .hm-hub-panel a > span:not(.hm-tile){ flex:1; }
  .hm-hub-panel .hm-count{ position:static; }
  .hm-hub-panel .hm-tile{ flex:none; width:34px; height:34px; border-radius:11px; }
  /* On the store the cart button and the player sit in the same corner: stack above them */
  body:has(.bt-cart-fab:not([hidden])) .hm-hub{ bottom:calc(94px + env(safe-area-inset-bottom, 0px)); }
  body.bt-has-player .hm-hub{ bottom:calc(var(--bt-player-h, 84px) + 16px); }
  body.bt-has-player:has(.bt-cart-fab:not([hidden])) .hm-hub{ bottom:calc(var(--bt-player-h, 84px) + 90px); }
}
@keyframes hmHubIn{ from{ opacity:0; transform:translateY(8px) scale(0.96); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){ .hm-hub-panel{ animation:none; } }

/* Quick-links opening: the panel springs out of the button, the rows follow one after another, the icon turns into a cross */
@media (max-width:820px){
  .hm-hub-panel{ animation:hmHubIn 260ms cubic-bezier(0.34, 1.4, 0.5, 1) both; }
  .hm-hub-panel a{ animation:hmHubRow 280ms cubic-bezier(0.23, 1, 0.32, 1) both; }
  .hm-hub-panel a:nth-child(6){ animation-delay:30ms; }
  .hm-hub-panel a:nth-child(5){ animation-delay:65ms; }
  .hm-hub-panel a:nth-child(4){ animation-delay:100ms; }
  .hm-hub-panel a:nth-child(3){ animation-delay:135ms; }
  .hm-hub-panel a:nth-child(2){ animation-delay:170ms; }
  .hm-hub-panel a:nth-child(1){ animation-delay:205ms; }
  .hm-hub-ic, .hm-hub-x{ animation:hmHubTurn 260ms cubic-bezier(0.23, 1, 0.32, 1); }
  .hm-hub.is-open .hm-hub-btn{ border-color:rgba(232,134,44,0.85); box-shadow:0 12px 32px rgba(0,0,0,0.55), 0 0 28px rgba(232,134,44,0.35); }
}
@keyframes hmHubIn{ from{ opacity:0; transform:translateY(14px) scale(0.86); } to{ opacity:1; transform:none; } }
@keyframes hmHubRow{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:none; } }
@keyframes hmHubTurn{ from{ opacity:0; transform:rotate(-90deg) scale(0.6); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){
  .hm-hub-panel, .hm-hub-panel a, .hm-hub-ic, .hm-hub-x{ animation:none !important; }
}
