/* Hub-only layout; canonical brand.css owns colors and local font faces. */
*{box-sizing:border-box}
html{background:var(--color-primary-background,#000);color:var(--color-primary-text,#fff);font-family:var(--body-font,"Work Sans",Arial,sans-serif);scrollbar-gutter:stable}
body{margin:0;min-width:0;line-height:1.5}body.hub-modal-open{overflow:hidden}
a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;background:var(--color-secondary-background,#161819);border:1px solid currentColor;border-radius:8px;padding:10px 16px;min-height:44px}button:hover,a:hover{filter:brightness(1.12)}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--color-primary-accent,#ee3436);outline-offset:4px;box-shadow:0 0 0 2px var(--color-primary-text,#fff)}[hidden]{display:none!important}
h1,h2{font-family:var(--heading-font,Montserrat,Arial,sans-serif);line-height:1.3;overflow-wrap:anywhere}h1{font-size:23px}h2{font-size:22px}p{overflow-wrap:anywhere}img{display:block;object-fit:cover;max-width:100%}
.hub-shell{width:min(100%,580px);margin:auto;padding:32px 28px 24px;min-width:0}
.hub-profile{text-align:center;margin-bottom:24px}.hub-avatar{width:88px;height:88px;aspect-ratio:1;border-radius:50%;margin:0 auto 16px}.hub-profile h1{margin:0 0 12px}.hub-profile p{font-size:15px;max-width:450px;margin:0 auto 16px}.hub-profile>.hub-share{display:block;min-height:44px}.hub-profile [data-share]{border-color:#777;background:transparent;padding:5px 16px;font-size:13px}
.hub-cards{display:grid;gap:12px}.hub-card{border:1px solid #505256;background:var(--color-secondary-background,#161819);border-radius:10px;min-height:72px;display:grid;grid-template-columns:48px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:10px 14px}.hub-card-title{font-weight:600;line-height:1.4;overflow-wrap:anywhere}.hub-card-image{width:48px;height:48px;aspect-ratio:1;border-radius:5px}.hub-card-symbol{font-size:24px;text-align:center}.hub-card-symbol svg{width:24px;height:24px;display:block;margin:0 auto;fill:currentColor}.hub-card-arrow{font-size:20px}.hub-card-featured{padding:0;display:flex;flex-direction:column;gap:0;overflow:hidden;text-align:center}.hub-card-featured .hub-card-image{width:min(100%,224px);height:auto;aspect-ratio:1;margin:0 auto;border-radius:0}.hub-card-featured .hub-card-title{padding:18px 16px 4px;font-size:19px}.hub-card-caption{font-size:13px;padding:0 16px 18px}.hub-card-caption>span{display:block;margin-top:10px;color:var(--color-secondary-accent,#34e6ee)}.hub-text{padding:8px 4px;white-space:pre-line}.hub-text h2,.hub-text h3{font-size:18px}.hub-text h3{margin:.83em 0;overflow-wrap:anywhere;font-family:var(--heading-font,Montserrat,Arial,sans-serif);line-height:1.3}
.hub-group{display:grid;gap:12px}.hub-group h2{font-size:18px;margin:12px 4px 0}.hub-profile+.hub-socials{margin:0 0 24px}.hub-socials{margin:28px 0 20px;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.hub-socials a{display:flex;align-items:center;flex-direction:column;min-width:44px;min-height:44px;gap:4px}.hub-social-mark{font-weight:700;border:1px solid #777;border-radius:50%;width:36px;height:36px;display:grid;place-content:center;font-size:14px}.hub-social-label{font-size:13px}.hub-footer{display:flex;flex-wrap:wrap;gap:10px 24px;justify-content:center;font-size:13px;margin-top:28px}.hub-footer a{display:flex;align-items:center;min-height:44px;min-width:44px;justify-content:center;text-decoration:underline;text-underline-offset:3px}.hub-back{display:inline-flex;align-items:center;min-height:44px;margin-bottom:16px;text-decoration:underline}
.hub-release{background:var(--color-secondary-background,#161819);border:1px solid #505256;border-radius:14px;min-width:0}.hub-release-scroll{padding:24px;min-height:0}.hub-release-art{width:144px;height:144px;aspect-ratio:1;border-radius:8px;margin:0 auto 20px}.hub-art-fallback{display:grid;place-items:center;background:#27292b;font-size:48px}.hub-release h1,.hub-release h2[id]{text-align:center;margin:0 0 8px;font-size:22px}.hub-artists{font-size:14px;text-align:center;margin:0 0 24px}.hub-listen{font-family:var(--body-font,"Work Sans",sans-serif);font-size:14px;font-weight:500;margin:0 0 12px;text-align:left}.hub-providers{list-style:none;padding:0;margin:0;display:grid;gap:8px}.hub-provider a{border:1px solid #666;border-radius:8px;min-height:60px;display:flex;align-items:center;gap:10px;padding:10px 12px}.hub-provider-icon{width:30px;height:30px;border-radius:50%;background:var(--color-primary-background,#000);color:var(--color-primary-text,#fff);display:grid;place-content:center;flex-shrink:0;font-weight:700}.hub-provider-icon svg{width:18px;height:18px;display:block;fill:currentColor}.hub-social-mark svg{width:20px;height:20px;display:block;fill:currentColor}.hub-provider-name{font-size:14px;font-weight:600;overflow-wrap:anywhere;min-width:0}.hub-cta{font-size:13px;margin-left:auto;text-align:right;overflow-wrap:anywhere;max-width:45%}.hub-more{display:block;width:100%;margin:12px 0 0;background:transparent;border-color:#777;font-size:14px}
.hub-release-actions{padding:16px 24px;border-top:1px solid #505256;background:var(--color-secondary-background,#161819);border-radius:0 0 14px 14px;flex-shrink:0}.hub-primary{min-height:48px;display:flex;align-items:center;justify-content:center;text-align:center;padding:10px 16px;font-weight:600;background:var(--color-primary-text,#fff);color:var(--color-primary-background,#000);border-radius:8px;overflow-wrap:anywhere}.hub-action-row{display:flex;gap:12px;align-items:flex-start;justify-content:center;flex-wrap:wrap;margin-top:12px}.hub-share-panel{max-width:100%;margin-top:12px;font-size:13px}.hub-share-panel label{display:block}.hub-share-panel input{display:block;width:100%;min-width:0;max-width:100%;padding:10px;margin:6px 0 10px;background:var(--color-primary-background,#000);color:var(--color-primary-text,#fff);border:1px solid #777;border-radius:6px}.hub-share-panel [role=status]{display:block;margin-top:8px}.hub-share{min-width:0;max-width:100%}
.hub-dialog{width:min(560px,calc(100% - 32px));padding:0;border:0;background:transparent;color:var(--color-primary-text,#fff);max-height:calc(100dvh - 32px);overflow:visible;border-radius:14px}.hub-dialog::backdrop{background:rgba(0,0,0,.82)}.hub-dialog .hub-release{display:flex;flex-direction:column;max-height:calc(100dvh - 32px);box-shadow:0 16px 80px #0008}.hub-dialog .hub-release-scroll{overflow-y:auto;overscroll-behavior:contain}.hub-dialog .hub-release-art{width:120px;height:120px}.hub-dialog .hub-release-actions{max-height:45dvh;overflow-y:auto}.hub-dialog .hub-action-row{margin-top:10px}
.hub-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.hub-skip{position:absolute;top:8px;left:8px;transform:translateY(-180%);padding:12px;background:var(--color-primary-text,#fff);color:var(--color-primary-background,#000);z-index:10}.hub-skip:focus{transform:none}
@media(min-width:900px){.hub-card-featured .hub-card-image{width:min(100%,320px)}}
@media(max-width:599px){.hub-shell{padding:24px 16px}.hub-profile p{font-size:14px}.hub-card{padding:10px;gap:10px}.hub-card-featured{padding:0}.hub-release-scroll{padding:20px 14px}.hub-release-actions{padding:14px}.hub-provider a{padding:10px 8px;gap:8px}.hub-provider-name{font-size:13px}.hub-cta{font-size:13px}.hub-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);margin:auto auto 10px}.hub-dialog .hub-release{max-height:calc(100dvh - 20px)}.hub-socials{gap:4px}.hub-socials a{min-width:44px}.hub-card-featured .hub-card-title{font-size:17px}}
@media(prefers-reduced-motion:no-preference){a,button{transition:filter .12s ease}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Owner's Links background: local video with the same site brand and a quiet desktop surround. */
body { isolation: isolate; }
.hub-backdrop, .hub-column-background { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; background: #101419; }
.hub-backdrop video, .hub-column-background video { width: 100%; height: 100%; object-fit: cover; }
.hub-backdrop { filter: blur(28px); transform: scale(1.08); }
.hub-backdrop::after { content: ''; position: absolute; inset: 0; background: color-mix(in srgb, var(--color-primary-background, #000) 65%, #243d55 35%); opacity: .62; }
.hub-column-background { z-index: -1; width: min(100%, 580px); margin-inline: auto; }
.hub-column-background::after { content: ''; position: absolute; inset: 0; background: var(--color-primary-background, #000); opacity: .62; }
.hub-shell { min-height: 100dvh; }
.hub-card { background: color-mix(in srgb, var(--color-secondary-background,#161819) 68%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: color-mix(in srgb, var(--color-primary-text,#fff) 30%, transparent); box-shadow: 0 5px 20px #0002; }
.hub-card-featured { padding-top: 24px; }
.hub-card-featured .hub-card-image { border-radius: 6px; max-width: calc(100% - 48px); }
.hub-dialog-back { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; margin: -8px 0 12px -8px; font-size: 24px; border-color: transparent; background: transparent; }
.hub-mobile-qr { position: fixed; right: 24px; bottom: 24px; display: grid; gap: 4px; width: 124px; padding: 10px; border-radius: 14px; background: #fff; color: #111; text-align: center; font: 13px/1.4 Arial,sans-serif; box-shadow: 0 8px 30px #0004; }
.hub-mobile-qr svg { width: 104px; height: 104px; }
.hub-motion { position: fixed; left: 16px; top: 16px; bottom: auto; z-index: 2; font-size: 13px; padding: 8px 12px; background: #111d; color: #fff; border-color: #777; }
[data-provider="spotify"] { color: #1ed760; }
[data-provider="appleMusic"] { color: #fa526f; }
[data-provider="applePodcasts"] { color: #c674f4; }
[data-provider="youtube"], [data-provider="youtubeMusic"] { color: #ff3b3b; }
[data-provider="instagram"] { color: #f05ca9; }
[data-provider="facebook"] { color: #4793ff; }
[data-provider="soundcloud"] { color: #ff7700; }
[data-provider="tiktok"] { color: #25f4ee; }
[data-provider="deezer"] { color: #ba68f5; }
[data-provider="amazonMusic"] { color: #25d1da; }
@media(max-width:899px) { .hub-mobile-qr { display: none; } .hub-motion { position: relative; display: block; margin: 16px auto; left: auto; top: auto; bottom: auto; } .hub-backdrop { display: none; } }

/* Midtown styling and interaction (owner request, 4 November 2026): the website's wordmark and uppercase
   tracked headings, a slowly turning avatar ring, cards that lift and catch a pointer spotlight, a pulsing
   listen pill and a bottom-sheet service dialog. Entrance and ambient motion run only without a reduced-motion
   preference and never in the studio preview (link-hub.js marks it .hub-still). */
.hub-wordmark { display: block; width: fit-content; margin: 0 auto 18px; }
.hub-wordmark img { width: 132px; height: auto; aspect-ratio: 400 / 72; opacity: .92; }
.hub-wordmark:hover { filter: none; }
.hub-wordmark:hover img { opacity: 1; }
.hub-avatar-ring { position: relative; display: block; width: 96px; height: 96px; margin: 0 auto 16px; padding: 4px; border-radius: 50%; isolation: isolate; }
.hub-avatar-ring::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: conic-gradient(from 0deg, var(--color-primary-accent, #ee3436), var(--color-secondary-accent, #34e6ee), #fff, var(--color-primary-accent, #ee3436)); }
.hub-avatar-ring .hub-avatar { width: 88px; height: 88px; margin: 0; box-shadow: 0 0 0 3px var(--color-primary-background, #000); }
.hub-profile h1 { text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.hub-group h2, .hub-text h2, .hub-text h3, .hub-listen { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; opacity: .85; }
.hub-card-featured .hub-card-title, .hub-release h1, .hub-release h2[id] { text-transform: uppercase; letter-spacing: .04em; }

.hub-card { position: relative; overflow: hidden; transition: transform .28s cubic-bezier(.2,.8,.2,1), border-color .28s ease, box-shadow .28s ease, background-color .28s ease; }
.hub-card > :not(.hub-sr-only) { position: relative; }
.hub-card::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(260px circle at var(--hub-x, 50%) var(--hub-y, 50%), color-mix(in srgb, var(--color-primary-accent, #ee3436) 26%, transparent), transparent 70%); }
.hub-card-arrow, .hub-card-image, .hub-card-symbol { transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.hub-card:hover { filter: none; }
@media (hover: hover) {
  .hub-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--color-primary-text, #fff) 70%, transparent); box-shadow: 0 14px 34px #0007, 0 0 24px color-mix(in srgb, var(--color-primary-accent, #ee3436) 22%, transparent); }
  .hub-card:hover::before { opacity: 1; }
  .hub-card:hover .hub-card-arrow { transform: translate(3px, -3px); }
  .hub-card-stack:hover .hub-card-image, .hub-card-stack:hover .hub-card-symbol { transform: scale(1.08) rotate(-3deg); }
  .hub-card-featured:hover .hub-card-image { transform: scale(1.03); }
  .hub-socials a:hover .hub-social-mark { transform: translateY(-3px); border-color: var(--color-primary-text, #fff); background: color-mix(in srgb, var(--color-primary-text, #fff) 12%, transparent); }
  .hub-provider a:hover { transform: translateX(3px); border-color: var(--color-primary-text, #fff); background: color-mix(in srgb, var(--color-primary-text, #fff) 7%, transparent); }
}
.hub-card:active { transform: scale(.975); transition-duration: .08s; }
.hub-card:focus-visible::before { opacity: 1; }
.hub-card-featured .hub-card-image { box-shadow: 0 12px 34px #000a; }
.hub-card-caption > .hub-listen-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 7px 16px 7px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-secondary-accent, #34e6ee) 55%, transparent); background: color-mix(in srgb, var(--color-secondary-accent, #34e6ee) 10%, transparent); font-weight: 600; }
.hub-listen-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; }
.hub-social-mark { transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .25s ease, background-color .25s ease; }
.hub-provider a { transition: transform .22s cubic-bezier(.2,.8,.2,1), border-color .22s ease, background-color .22s ease; }
.hub-provider a:active { transform: scale(.98); }
.hub-dialog::backdrop { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hub-footer a:hover { filter: none; text-decoration-color: var(--color-primary-accent, #ee3436); }

@media (prefers-reduced-motion: no-preference) {
  html:not(.hub-still) .hub-avatar-ring::before { animation: hub-turn 9s linear infinite; }
  html:not(.hub-still) .hub-listen-pill::before { animation: hub-pulse 2.2s ease-out infinite; }
  html:not(.hub-still) .hub-card-featured::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, #ffffff14 50%, transparent 62%); transform: translateX(-100%); animation: hub-sheen 7s ease-in-out 1.6s infinite; }
  html.hub-enter .hub-profile > *, html.hub-enter .hub-cards > *, html.hub-enter .hub-socials, html.hub-enter .hub-footer { animation: hub-rise .62s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--hub-i, 0) * 70ms); }
  .hub-dialog[open] { animation: hub-sheet .34s cubic-bezier(.2,.8,.2,1); }
  .hub-dialog[open] .hub-provider { animation: hub-rise .4s cubic-bezier(.2,.8,.2,1) backwards; }
  .hub-dialog[open] .hub-provider:nth-child(2) { animation-delay: 40ms; } .hub-dialog[open] .hub-provider:nth-child(3) { animation-delay: 80ms; }
  .hub-dialog[open] .hub-provider:nth-child(4) { animation-delay: 120ms; } .hub-dialog[open] .hub-provider:nth-child(5) { animation-delay: 160ms; }
  .hub-dialog[open] .hub-provider:nth-child(n+6) { animation-delay: 200ms; }
  .hub-dialog[open]::backdrop { animation: hub-fade .3s ease-out; }
  @keyframes hub-turn { to { transform: rotate(1turn); } }
  @keyframes hub-pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }
  @keyframes hub-sheen { 0% { transform: translateX(-100%); } 22%, 100% { transform: translateX(100%); } }
  @keyframes hub-rise { from { opacity: 0; transform: translateY(16px); } }
  @keyframes hub-sheet { from { opacity: 0; transform: translateY(28px) scale(.98); } }
  @keyframes hub-fade { from { opacity: 0; } }
}
/* Phones keep three whole links on the first screen (tests/link-hub-public-ux-browser). */
@media (max-width: 599px) {
  .hub-shell { padding-top: 14px; }
  .hub-wordmark { margin-bottom: 10px; }
  .hub-wordmark img { width: 112px; }
  .hub-avatar-ring { margin-bottom: 10px; }
  .hub-profile h1 { margin-bottom: 8px; }
  .hub-card-caption > .hub-listen-pill { margin-top: 10px; }
}

/* Owner-approved Links features (5 November 2026). A card hidden by its schedule (link-hub.js) or a group left empty
   by it must really disappear: .hub-card's own display would otherwise beat the hidden attribute. */
.hub-card[hidden], .hub-group[hidden] { display: none; }
/* Appearance: button style. Absent (or glass) keeps the frosted glass cards above. */
body[data-button-style="solid"] .hub-card { background: var(--color-secondary-background, #161819); backdrop-filter: none; -webkit-backdrop-filter: none; }
body[data-button-style="outline"] .hub-card { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: color-mix(in srgb, var(--color-primary-text, #fff) 80%, transparent); box-shadow: none; }
/* Appearance: background. Gradient is a slow brand-colour wash (still under reduced motion); artwork is the featured
   release's art (or the avatar) blurred and darkened by the existing overlay. Neither loads the video. */
body[data-background="gradient"] .hub-backdrop, body[data-background="gradient"] .hub-column-background,
body[data-background="artwork"] .hub-backdrop, body[data-background="artwork"] .hub-column-background {
  background: linear-gradient(125deg, color-mix(in srgb, var(--color-primary-accent, #ee3436) 70%, #000) 0%, var(--color-primary-background, #000) 35%, color-mix(in srgb, var(--color-secondary-accent, #34e6ee) 55%, #000) 65%, var(--color-primary-background, #000) 100%);
  background-size: 300% 300%; background-position: 0% 50%;
}
body[data-background="gradient"] .hub-column-background::after { opacity: .45; }
.hub-backdrop-art { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hub-column-background .hub-backdrop-art { filter: blur(24px) saturate(1.1); transform: scale(1.2); }
body[data-background="artwork"] .hub-column-background::after { opacity: .7; }

/* Pulse glow: a registered number the animation moves from 0 to 1; at 0 the extra shadow is invisible. Placed after the
   outline style so an outline card still glows, and repeated in the hover shadow so hover and pulse combine. */
@property --hub-glow { syntax: '<number>'; inherits: false; initial-value: 0; }
body .hub-card[data-highlight="pulse"] { --hub-glow-shadow: 0 0 calc(var(--hub-glow) * 24px) calc(var(--hub-glow) * 3px) color-mix(in srgb, var(--color-primary-accent, #ee3436) 55%, transparent); box-shadow: 0 5px 20px #0002, var(--hub-glow-shadow); }
@media (hover: hover) { body .hub-card[data-highlight="pulse"]:hover { box-shadow: 0 14px 34px #0007, 0 0 24px color-mix(in srgb, var(--color-primary-accent, #ee3436) 22%, transparent), var(--hub-glow-shadow); } }

@media (prefers-reduced-motion: no-preference) {
  html:not(.hub-still) body[data-background="gradient"] .hub-backdrop, html:not(.hub-still) body[data-background="gradient"] .hub-column-background { animation: hub-drift 36s ease-in-out infinite alternate; }
  /* The Pause motion button (link-hub.js) stops every looping animation. !important: a highlighted card's entrance shorthand
     (higher specificity, below) would otherwise reset its play state to running. */
  html.hub-paused body[data-background="gradient"] .hub-backdrop, html.hub-paused body[data-background="gradient"] .hub-column-background,
  html.hub-paused .hub-avatar-ring::before, html.hub-paused .hub-listen-pill::before, html.hub-paused .hub-card-featured::after,
  html.hub-paused .hub-card[data-highlight], html.hub-paused .hub-card[data-highlight]::after { animation-play-state: paused !important; } /* beats the entrance shorthand */
  /* Priority link: one card may shimmer (a light sweep), pulse (a soft accent glow) or wiggle (a brief nudge every few seconds). */
  html:not(.hub-still) .hub-card[data-highlight="shimmer"]::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 30%, color-mix(in srgb, #fff 24%, transparent) 50%, transparent 70%); transform: translateX(-100%); animation: hub-shimmer 3.6s ease-in-out 1.2s infinite; }
  /* The pulse animates only --hub-glow (below), so the hover lift and shadow still apply to a pulsing card. */
  html:not(.hub-still) .hub-card[data-highlight="pulse"] { --hub-flair: hub-glow 2.6s ease-in-out .8s infinite; animation: var(--hub-flair); }
  html:not(.hub-still) .hub-card[data-highlight="wiggle"] { --hub-flair: hub-wiggle 4.5s ease-in-out 1.5s infinite; animation: var(--hub-flair); }
  /* A highlighted card still rises in with the others; the wiggle turns with `rotate`, so it never fights the rise or the hover lift. */
  html.hub-enter .hub-cards > .hub-card[data-highlight="pulse"], html.hub-enter .hub-cards > .hub-card[data-highlight="wiggle"] { animation: hub-rise .62s cubic-bezier(.2,.8,.2,1) calc(var(--hub-i, 0) * 70ms) backwards, var(--hub-flair); }
  @keyframes hub-drift { to { background-position: 100% 50%; } }
  @keyframes hub-shimmer { 0% { transform: translateX(-100%); } 45%, 100% { transform: translateX(100%); } }
  @keyframes hub-glow { 0%, 100% { --hub-glow: 0; } 50% { --hub-glow: 1; } }
  @keyframes hub-wiggle { 0%, 84%, 100% { rotate: 0deg; } 87% { rotate: -2deg; } 90% { rotate: 2deg; } 93% { rotate: -1.5deg; } 96% { rotate: 1deg; } }
}

/* Public polish (9 November 2026; MJ-09, MJ-19, MJ-20). */
/* Safe areas: the renderer sets viewport-fit=cover, so the column, footer, motion button, QR and sheet keep clear of a notch
   or home indicator. Outside a notched screen every env() is 0 and the original spacing applies. */
.hub-shell { padding-top: max(32px, env(safe-area-inset-top)); padding-left: max(28px, env(safe-area-inset-left)); padding-right: max(28px, env(safe-area-inset-right)); }
.hub-footer { padding-bottom: env(safe-area-inset-bottom); }
.hub-motion { left: max(16px, env(safe-area-inset-left)); top: max(16px, env(safe-area-inset-top)); }
.hub-mobile-qr { right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); }
/* The wordmark link is a whole 44 px target (the image stays the same size). */
.hub-wordmark { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-bottom: 4px; }
/* Compact social row under the bio (socialPosition: top): icons only, each still a 44 px target with its own name. */
.hub-profile:has(+ .hub-socials-compact) { margin-bottom: 8px; }
.hub-profile + .hub-socials-compact { margin: 0 0 16px; gap: 0 6px; }
.hub-socials-compact a { justify-content: center; }
.hub-socials-compact .hub-social-label { display: none; }
/* One video: below 900 px the column background spans the screen (no hard-edged strip of video beside the column at
   tablet widths); from 900 px the video fills the screen behind a glass backdrop that blurs it in the side gutters only. */
@media (max-width: 899px) {
  .hub-column-background, .hub-column-background::after { width: 100%; }
  .hub-motion { left: auto; top: auto; margin-bottom: max(16px, env(safe-area-inset-bottom)); }
}
@media (min-width: 900px) {
  .hub-backdrop-glass { z-index: -1; filter: none; transform: none; background: transparent; backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
    -webkit-mask-image: linear-gradient(90deg, #000 calc(50% - 290px), transparent calc(50% - 290px), transparent calc(50% + 290px), #000 calc(50% + 290px));
    mask-image: linear-gradient(90deg, #000 calc(50% - 290px), transparent calc(50% - 290px), transparent calc(50% + 290px), #000 calc(50% + 290px)); }
  .hub-backdrop-glass + .hub-column-background { z-index: -2; width: 100%; }
  .hub-backdrop-glass + .hub-column-background::after { width: min(100%, 580px); margin-inline: auto; }
}
/* Phones: a compact hero, so the bio, the hero and at least two more links share the first screen. */
@media (max-width: 599px) {
  .hub-shell { padding-top: max(10px, env(safe-area-inset-top)); padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .hub-wordmark { margin-bottom: 0; }
  .hub-profile { margin-bottom: 18px; }
  .hub-profile p { margin-bottom: 0; }
  .hub-card-featured { padding-top: 16px; }
  .hub-card-featured .hub-card-image { width: min(100% - 48px, 168px); }
  .hub-card-featured .hub-card-title { padding: 12px 16px 2px; }
  .hub-card-caption { padding: 0 16px 14px; }
  .hub-card-caption > .hub-listen-pill { margin-top: 8px; padding-block: 6px; }
  .hub-dialog { margin-bottom: max(10px, env(safe-area-inset-bottom)); }
  .hub-socials { gap: 4px 2px; }
}
@media (max-width: 599px) and (max-height: 760px) {
  .hub-card-featured .hub-card-image { width: min(100% - 48px, 128px); }
}
/* MJ-31 release day: "Coming soon" on the release page and its cards, with the optional pre-save link. */
.hub-card-soon{display:block;margin-top:2px;font-size:13px;font-weight:500;color:var(--color-secondary-accent,#34e6ee)}
.hub-release-date{margin:0 0 16px;font-size:15px}
.hub-presave{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;border:1px solid #666;border-radius:8px;padding:10px 16px;font-weight:600}
