
  /* The panel. On a phone the hub page drops its frame — there the phone is the
     frame — but a card standing on a page is a card, so the mockup keeps the
     panel's edge, its radius and its ring, at scale. */
  .sm-phone {
    /* The scale, as a length: one unit is what 1px of the hub page measures
       here, so every length below is that page's own number times --u. It is
       read off --hub-u rather than set outright, because a value set on the
       card would beat one inherited from anywhere above it — and a page that
       wants the card smaller sets --hub-u on an ancestor. The hero on
       /my.socialmedia sizes it to the height of the screen that way. */
    --u: var(--hub-u, 0.687px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    /* The card's natural width at its own unit, so a page that scales it up
       does not have to lift a cap set for the size it used to be. */
    max-width: calc(422 * var(--u));
    border-radius: calc(44 * var(--u));
    border: 1px solid var(--hub-device-border);
    background: var(--hub-device);
    box-shadow: 0 calc(40 * var(--u)) calc(100 * var(--u)) rgba(0,0,0,0.45);
    font-family: var(--hub-font, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
  }
  /* The comet the panel turns, from the stops this hub's page sets. Registered
     under its own name so a page carrying both this stylesheet and
     deck-theme.css keeps two independent sweeps. */
  @property --hub-sweep-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
  }
  @keyframes hub-border-sweep { to { --hub-sweep-angle: 360deg; } }
  .sm-phone::before,
  .sm-hub-follow::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    pointer-events: none;
    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    mask-composite: exclude;
  }
  /* Over the backdrop, so that wash cannot dim the panel's own edge. */
  .sm-phone::before {
    z-index: 3;
    background: conic-gradient(
      from var(--hub-sweep-angle),
      var(--hub-sweep-dim) 0%,
      var(--hub-sweep-dim) 14%,
      var(--hub-sweep-1) 22%,
      var(--hub-sweep-2) 29%,
      var(--hub-sweep-3) 32%,
      var(--hub-sweep-2) 35%,
      var(--hub-sweep-1) 42%,
      var(--hub-sweep-dim) 52%,
      var(--hub-sweep-dim) 64%,
      var(--hub-sweep-1) 72%,
      var(--hub-sweep-2) 79%,
      var(--hub-sweep-3) 82%,
      var(--hub-sweep-2) 85%,
      var(--hub-sweep-1) 92%,
      var(--hub-sweep-dim) 100%
    );
    animation: hub-border-sweep 26s linear infinite;
  }

  /* The portrait behind the head, blurred to a wash of its own colour and
     masked out before it reaches the links. */
  .sm-hub-backdrop {
    position: absolute;
    inset: -8% -8% auto;
    height: 62%;
    pointer-events: none;
    background-image: var(--hub-photo);
    background-size: cover;
    background-position: 50% 28%;
    filter: blur(calc(56 * var(--u))) var(--hub-backdrop-fx);
    opacity: var(--hub-backdrop-opacity);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 88%);
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 88%);
  }

  /* The picture, from the card's top edge, and the fall that carries it to the
     foot. The fall ends on the panel's own colour, so where the picture stops
     there is nothing to see. */
  .sm-hub-hero {
    position: absolute;
    inset: 0 0 auto;
    height: 66%;
    z-index: 0;
    pointer-events: none;
  }
  .sm-hub-hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 16%;
  }
  .sm-hub-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hub-hero-fall);
  }
  /* The head starts below the picture's subject rather than over her face —
     and no lower in the card than every other card's head sits. */
  .sm-phone:has(.sm-hub-hero) .sm-hub-inner {
    /* The column's own 76u, plus the 133u avatar and its 3u ring either side:
       the head lands where every other card's head lands. It is the same on
       every hero card, this one's light theme included — a card that pushed
       its head down to clear a longer picture would stand taller than every
       card beside it in the gallery, which is a row of one height. */
    padding-top: calc((76 + 133 + 6) * var(--u));
  }

  /* The bar, laid on the panel a short gutter in from its own edges rather than
     set in the column below it — the hub's two controls belong to the page. */
  .sm-hub-bar {
    position: absolute;
    top: calc(16 * var(--u));
    left: calc(16 * var(--u));
    right: calc(16 * var(--u));
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(10 * var(--u));
  }
  .sm-hub-address {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: calc(7 * var(--u)) calc(14 * var(--u));
    border-radius: 999px;
    border: 1px solid var(--hub-address-border);
    background: var(--hub-address-fill);
    font-family: 'JetBrains Mono', monospace;
    font-size: calc(12.5 * var(--u));
    letter-spacing: 0.02em;
    color: var(--hub-address-ink);
  }
  .sm-hub-address-tld { color: var(--hub-address-tld); }

  /* The column the profile is set in. Its top padding clears the bar rather
     than holding it: gutter, chip, then the gap to the head. */
  .sm-hub-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: calc(76 * var(--u)) calc(20 * var(--u)) calc(32 * var(--u));
  }
  .sm-hub-avatar {
    width: calc(133 * var(--u));
    height: calc(133 * var(--u));
    border-radius: 999px;
    object-fit: cover;
    background: rgba(127,127,127,0.25);
    border: calc(3 * var(--u)) solid var(--hub-accent);
    box-shadow: 0 calc(22 * var(--u)) calc(60 * var(--u)) rgba(0,0,0,0.45);
  }
  /* What a hub with a logo rather than a portrait wears, at card scale: the
     page's own tile — a squircle on a gradient, clipped so the mark can overrun
     the corners the way it does there. Same box as the avatar, so the head
     below it keeps its rhythm whichever of the two a hub carries. */
  .sm-hub-mark {
    width: calc(133 * var(--u));
    height: calc(133 * var(--u));
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: calc(46 * var(--u));
    background: linear-gradient(160deg, #FBF8F1 0%, var(--hub-accent) 100%);
    border: calc(3 * var(--u)) solid var(--hub-accent);
    box-shadow: 0 calc(22 * var(--u)) calc(60 * var(--u)) rgba(0,0,0,0.45);
  }
  .sm-hub-mark img {
    display: block;
    width: 108%;
    height: 108%;
  }
  .sm-hub-name {
    margin-top: calc(26 * var(--u));
    font-size: calc(30 * var(--u));
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
    text-align: center;
    color: var(--hub-ink);
  }
  .sm-hub-tag {
    margin-top: calc(10 * var(--u));
    font-size: calc(15 * var(--u));
    line-height: 1.4;
    text-align: center;
    color: var(--hub-muted);
  }

  /* The hub's one action, in the design its full-page hub wears: the address
     pill's mono, set in capitals, filled in the accent, with the panel's own
     comet turning on its edge.

     Its padding is the hub page's own. Its type runs a step above the page's
     13.5, because at that size the words sat small inside a pill this wide and
     read as a caption rather than as the one thing on the card to press. A
     step, not the 15 an earlier pass used: that made the pill read as a bar
     across the card. */
  .sm-hub-follow {
    position: relative;
    /* Set to sit midway between the bio above and the icon row below: the
       tag's line box carries leading under its ink, so the number here runs a
       little larger than the one on the chips to look like the same gap. */
    margin-top: calc(21 * var(--u));
    /* A row now, for the mark that stands before the words. */
    display: inline-flex;
    align-items: center;
    gap: calc(7 * var(--u));
    padding: calc(9 * var(--u)) calc(22 * var(--u));
    max-width: 100%;
    border-radius: 999px;
    /* The ring below is the border; the transparent one keeps the pill the
       size it would be with a hairline. */
    border: 1px solid transparent;
    background: var(--hub-follow-fill);
    color: var(--hub-follow-ink);
    /* Written as the name is, "Super Follow", in the card's own type, the
       one its Super Follow title on the back is set in. */
    font-family: inherit;
    font-size: calc(15 * var(--u));
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: transform 220ms ease, background 220ms ease, color 220ms ease,
      opacity 220ms ease;
  }
  /* Sized off its own font-size rather than the button's, so the mark stands
     at the height of the capitals beside it rather than of their line box. */
  .sm-hub-follow svg { flex: none; font-size: calc(18 * var(--u)); }
  /* The words a tenth larger in a pill of the same size: their line box kept
     at the pill's own (1.5 of its type), each side's padding trimmed by half
     what they gained in width (about 6.2em, so 0.31em a side). */
  .sm-hub-follow:not(.sm-hub-back-cta) {
    padding-left: calc(22 * var(--u) - 0.31em);
    padding-right: calc(22 * var(--u) - 0.31em);
  }
  .sm-hub-follow:not(.sm-hub-back-cta) .sm-hub-follow-label { font-size: 1.1em; line-height: 1.3636; }
  .sm-hub-follow:hover { transform: translateY(-1px); }
  .sm-hub-follow:disabled { cursor: default; }
  .sm-hub-follow:disabled:hover { transform: none; }
  .sm-hub-follow::before {
    background: conic-gradient(
      from var(--hub-sweep-angle),
      var(--hub-sweep-dim) 0%,
      var(--hub-sweep-dim) 16%,
      var(--hub-sweep-1) 24%,
      var(--hub-sweep-2) 31%,
      var(--hub-sweep-3) 34%,
      var(--hub-sweep-2) 37%,
      var(--hub-sweep-1) 44%,
      var(--hub-sweep-dim) 54%,
      var(--hub-sweep-dim) 66%,
      var(--hub-sweep-1) 74%,
      var(--hub-sweep-2) 81%,
      var(--hub-sweep-3) 84%,
      var(--hub-sweep-2) 87%,
      var(--hub-sweep-1) 94%,
      var(--hub-sweep-dim) 100%
    );
    animation: hub-border-sweep 5s linear infinite;
  }
  /* Super Following: back to a hairline field, the step back the hubs take,
     with the same ring still turning on it. */
  .sm-hub-follow--on {
    background: var(--hub-follow-off);
    color: var(--hub-follow-off-ink);
    font-weight: inherit;
    opacity: 0.62;
  }

  /* "Why Super Follow <name>?" under the button: it turns the card over. */
  .sm-hub-more {
    display: inline-flex;
    align-items: center;
    gap: calc(5 * var(--u));
    margin-top: calc(10 * var(--u));
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    font: inherit;
    font-size: calc(13 * var(--u));
    font-weight: 600;
    line-height: calc(17 * var(--u));
    color: var(--hub-muted);
    text-decoration: underline;
    text-underline-offset: calc(3 * var(--u));
  }
  .sm-hub-more:hover { color: var(--hub-ink); }
  .sm-hub-more svg { flex: none; width: 1.1em; height: 1.1em; }

  /* The turn: a quarter to the edge, the faces swap there, a quarter back.
     The rotate property, so it stacks on any transform a page gives the card. */
  @keyframes sm-turn {
    50% { rotate: y 90deg; }
  }
  .sm-phone--turn { animation: sm-turn 480ms ease-in-out; }
  /* Face down, the front keeps the card's height but leaves the tab order. */
  .sm-phone--back .sm-hub-inner,
  .sm-phone--back .sm-hub-hero { visibility: hidden; }

  /* The back: the perks over the card's own blurred backdrop, under its bar. */
  .sm-hub-back {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    /* Clear of the bar by a full gutter, and the title, the list and the
       foot each a step apart, so the back reads as three parts. */
    gap: calc(22 * var(--u));
    padding: calc(94 * var(--u)) calc(24 * var(--u)) calc(22 * var(--u));
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    outline: none;
    background: color-mix(in srgb, var(--hub-device) 86%, transparent);
    color: var(--hub-ink);
    text-align: left;
  }
  .sm-hub-back-h {
    display: flex;
    align-items: center;
    gap: calc(8 * var(--u));
    margin: 0;
    font-size: calc(22 * var(--u));
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
  }
  .sm-hub-back-h svg { flex: none; width: 1em; height: 1em; }
  .sm-pk-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: calc(15 * var(--u));
  }
  .sm-pk-list li {
    display: flex;
    align-items: flex-start;
    gap: calc(10 * var(--u));
    font-size: calc(13 * var(--u));
    line-height: 1.4;
    color: var(--hub-muted);
  }
  .sm-pk-list b { color: var(--hub-ink); font-weight: 700; }
  .sm-pk-ic {
    flex: none;
    width: calc(28 * var(--u));
    height: calc(28 * var(--u));
    display: grid;
    place-items: center;
    border-radius: calc(10 * var(--u));
    background: color-mix(in srgb, var(--hub-accent) 16%, transparent);
    color: var(--hub-accent);
    font-size: calc(16 * var(--u));
  }
  .sm-pk-ic svg { width: 1em; height: 1em; }
  /* The Super Gems: the duo's facing screen at card scale. Each perk a card
     of its own, its icon on a tile of tinted glass in a colour of its own,
     the title over one line that says what it is. */
  .sm-hub-gems { gap: calc(14 * var(--u)); }
  .sm-hub-gems .sm-hub-back-h { gap: calc(10 * var(--u)); font-size: calc(24 * var(--u)); }
  .sm-hub-gems .sm-hub-back-h svg {
    width: 1.2em;
    height: 1.2em;
    stroke-width: 1.8;
  }
  /* The Super Follow mark before the title: its plus in the card's accent
     (its button's fill), its dots in the title's ink. On the button the
     whole mark wears the button's words. */
  .sm-hub-gems .sm-hub-back-h svg .sf-hub { fill: var(--hub-follow-fill); }
  .sm-hub-gems .sm-pk-list { gap: calc(6 * var(--u)); grid-template-columns: minmax(0, 1fr); }
  /* Centred between the head and the button: its auto margin and the foot's
     share the room left over equally. */
  .sm-hub-gems .sm-pk-list { margin-top: auto; }
  .sm-hub-gems .sm-pk-list li {
    min-width: 0;
    align-items: center;
    gap: calc(10 * var(--u));
    padding: calc(5 * var(--u)) calc(10 * var(--u)) calc(5 * var(--u)) calc(5 * var(--u));
    border-radius: calc(12 * var(--u));
    background: color-mix(in srgb, var(--hub-ink) 6%, transparent);
    font-size: calc(10.5 * var(--u));
    line-height: 1.35;
  }
  .sm-hub-gems .sm-pk-list li > span:last-child { min-width: 0; flex: 1; }
  .sm-hub-gems .sm-pk-list b { display: block; font-size: calc(12 * var(--u)); letter-spacing: -0.01em; }
  .sm-hub-gems .sm-pk-body { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sm-hub-gems .sm-pk-ic {
    position: relative;
    overflow: hidden;
    width: calc(30 * var(--u));
    height: calc(30 * var(--u));
    border-radius: calc(9 * var(--u));
    color: #FFFFFF;
    font-size: calc(15 * var(--u));
    background:
      linear-gradient(145deg,
        color-mix(in srgb, var(--gem-a) 82%, transparent) 0%,
        color-mix(in srgb, var(--gem-b) 55%, transparent) 100%);
    border: 1px solid rgba(255, 255, 255, 0.30);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.50),
      0 calc(4 * var(--u)) calc(12 * var(--u)) color-mix(in srgb, var(--gem-b) 40%, transparent);
  }
  .sm-hub-gems .sm-pk-ic::after {
    content: "";
    position: absolute;
    inset: 0 0 52% 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
  }
  .sm-hub-gems .sm-pk-ic svg { position: relative; z-index: 1; stroke-width: 2.2; }
  .sm-hub-gems .sm-pk-list li:nth-child(1) { --gem-a: #2F6BFF; --gem-b: #5AA2FF; }
  .sm-hub-gems .sm-pk-list li:nth-child(2) { --gem-a: #7C3AED; --gem-b: #B06CF6; }
  .sm-hub-gems .sm-pk-list li:nth-child(3) { --gem-a: #5B4BEA; --gem-b: #8B7CF8; }
  .sm-hub-gems .sm-pk-list li:nth-child(4) { --gem-a: #0E9F6E; --gem-b: #34D399; }
  .sm-hub-gems .sm-pk-list li:nth-child(5) { --gem-a: #EA580C; --gem-b: #FB923C; }
  .sm-hub-gems .sm-pk-list li:nth-child(6) { --gem-a: #DB2777; --gem-b: #F43F5E; }
  .sm-hub-gems .sm-pk-list li:nth-child(7) { --gem-a: #0284C7; --gem-b: #38BDF8; }
  .sm-hub-gems .sm-pk-list li:nth-child(8) { --gem-a: #6366F1; --gem-b: #A78BFA; }
  .sm-hub-gems .sm-pk-list li:nth-child(9) { --gem-a: #0D9488; --gem-b: #2DD4BF; }
  /* The Super Box: the hub's messages on the left, the follower's own on the
     right in the Super Follow pill's colours, a thread read top to bottom. */
  .sm-box-note {
    margin: calc(6 * var(--u)) 0 0;
    font-size: calc(11.5 * var(--u));
    line-height: 1.4;
    color: var(--hub-muted);
  }
  .sm-box-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: calc(10 * var(--u));
  }
  .sm-box-msg {
    display: flex;
    flex-direction: column;
    gap: calc(2 * var(--u));
    max-width: 86%;
    padding: calc(9 * var(--u)) calc(12 * var(--u));
    border-radius: calc(14 * var(--u));
    font-size: calc(13 * var(--u));
    line-height: 1.4;
  }
  .sm-box-msg--in {
    align-self: flex-start;
    border-bottom-left-radius: calc(4 * var(--u));
    background: color-mix(in srgb, var(--hub-ink) 7%, transparent);
    border: 1px solid color-mix(in srgb, var(--hub-ink) 12%, transparent);
    color: var(--hub-ink);
  }
  .sm-box-msg--out {
    align-self: flex-end;
    border-bottom-right-radius: calc(4 * var(--u));
    background: var(--hub-follow-fill);
    color: var(--hub-follow-ink);
  }
  .sm-box-msg b { font-size: calc(13.5 * var(--u)); font-weight: 700; }
  .sm-box-meta {
    display: flex;
    align-items: center;
    gap: calc(5 * var(--u));
    font-size: calc(11 * var(--u));
    font-weight: 600;
    color: var(--hub-muted);
  }
  .sm-box-msg--out .sm-box-meta { color: inherit; opacity: 0.75; justify-content: flex-end; }
  .sm-box-meta svg { flex: none; width: 1.1em; height: 1.1em; color: var(--hub-accent); }
  .sm-hub-back-h > svg { flex: none; width: 1em; height: 1em; }

  .sm-hub-back-foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(8 * var(--u));
    padding-top: calc(4 * var(--u));
  }
  /* The card's own Super Follow pill, sweep and all, at the foot of the back. */
  .sm-hub-follow.sm-hub-back-cta {
    margin-top: 0;
    width: 100%;
    justify-content: center;
    padding: calc(12 * var(--u)) calc(18 * var(--u));
    /* A sentence rather than the pill's one word, so it is set in the card's
       own type: in mono capitals it would not hold one line. */
    font-family: inherit;
    text-transform: none;
    letter-spacing: -0.01em;
    font-size: calc(15 * var(--u));
    font-weight: 700;
  }
  .sm-hub-back-done {
    display: inline-flex;
    align-items: center;
    gap: calc(6 * var(--u));
    margin: 0;
    font-size: calc(14 * var(--u));
    font-weight: 700;
    color: var(--hub-ink);
  }
  .sm-hub-back-done svg { width: 1em; height: 1em; color: var(--hub-accent); }
  .sm-hub-back-btn {
    display: inline-flex;
    align-items: center;
    gap: calc(6 * var(--u));
    padding: calc(4 * var(--u)) calc(8 * var(--u));
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--hub-muted);
    cursor: pointer;
    font: inherit;
    font-size: calc(13 * var(--u));
    font-weight: 600;
  }
  .sm-hub-back-btn:hover { color: var(--hub-ink); }
  .sm-hub-back-btn svg { flex: none; width: 1em; height: 1em; }

  .sm-hub-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: calc(12 * var(--u));
    margin-top: calc(23 * var(--u));
  }
  .sm-hub-chip {
    flex: none;
    width: calc(46 * var(--u));
    height: calc(46 * var(--u));
    border-radius: calc(14 * var(--u));
    display: grid;
    place-items: center;
    background: var(--hub-chip);
    /* Its own ink where the theme states one — see HubTheme.chipInk. On every
       card but the light one it is the head's. */
    color: var(--hub-chip-ink, var(--hub-ink));
    transition: transform 220ms ease, background 220ms ease, color 220ms ease;
  }
  .sm-hub-chip svg, .sm-hub-chip img { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
  .sm-hub-chip:hover {
    transform: translateY(calc(-3 * var(--u))) scale(1.08);
    /* The accent, unless the theme keeps its ring and its hover apart — see
       HubTheme.chipHover. */
    background: var(--hub-chip-hover, var(--hub-accent));
    color: var(--hub-follow-ink);
  }
  /* The two on the bar are round rather than squircle, so they read as the
     page's controls rather than as two more accounts. */
  .sm-hub-chip--round { border-radius: 999px; }
  /* The mark keeps its own colours, and runs a touch larger than the line
     icons beside it: its artwork sits inside a margin they do not have. */
  .sm-hub-chip--mark img {
    display: block;
    width: calc(24 * var(--u));
    height: calc(24 * var(--u));
  }
  .sm-hub-chip--mark:hover { background: var(--hub-chip); }

  .sm-hub-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: calc(12 * var(--u));
    margin-top: calc(32 * var(--u));
  }
  .sm-hub-link {
    display: flex;
    align-items: center;
    gap: calc(14 * var(--u));
    padding: calc(16 * var(--u)) calc(18 * var(--u));
    border-radius: calc(16 * var(--u));
    background: var(--hub-btn);
    border: 1px solid var(--hub-btn-border);
    color: var(--hub-btn-ink);
    font-size: calc(15 * var(--u));
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: transform 220ms ease, box-shadow 220ms ease;
  }
  .sm-hub-link-label { white-space: nowrap; }
  .sm-hub-tail {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: calc(8 * var(--u));
    min-width: 0;
  }
  .sm-hub-meta {
    font-size: calc(12.5 * var(--u));
    font-weight: 400;
    opacity: 0.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  /* An opened private row's tail. Undimmed and a shade heavier than the meta
     beside it, in the row's own ink rather than an accent, so it reads as live
     in every palette the card is rendered in. */
  .sm-hub-meta--new { opacity: 1; font-weight: 500; }
  .sm-hub-bell {
    flex: none;
    width: calc(18 * var(--u));
    height: calc(18 * var(--u));
    opacity: 0.85;
  }
  .sm-hub-link-ic {
    display: inline-flex;
    opacity: 0.85;
    transition: transform 260ms cubic-bezier(0.34, 1.4, 0.64, 1), opacity 220ms ease;
  }
  .sm-hub-link-ic svg, .sm-hub-link-ic img {
    width: calc(22 * var(--u));
    height: calc(22 * var(--u));
  }
  .sm-hub-chev {
    flex: none;
    width: calc(18 * var(--u));
    height: calc(18 * var(--u));
    opacity: 0.4;
    transition: transform 220ms ease, opacity 220ms ease;
  }
  .sm-hub-link:hover {
    transform: translateY(calc(-2 * var(--u)));
    box-shadow: 0 calc(12 * var(--u)) calc(26 * var(--u)) rgba(0,0,0,0.34);
  }
  .sm-hub-link:hover .sm-hub-link-ic {
    transform: scale(1.22) rotate(-6deg);
    opacity: 1;
  }
  .sm-hub-link:hover .sm-hub-chev { transform: translateX(calc(3 * var(--u))); opacity: 0.75; }

  /* A private link, shut. It keeps its place and its label — that is the
     point of it — and only stops answering: dimmed, and with the lock where
     the chevron was, so the row reads as closed rather than as broken. */
  .sm-hub-link--locked {
    opacity: 0.55;
    /* No hover lift and nothing to press: a mockup's rows lead nowhere in any
       case, and here the row is standing in for one that would not. */
    pointer-events: none;
  }
  .sm-hub-lock {
    flex: none;
    width: calc(15 * var(--u));
    height: calc(15 * var(--u));
    opacity: 0.72;
  }

  /* The rings stay; they just stop turning. */
  @media (prefers-reduced-motion: reduce) {
    .sm-hub-link, .sm-hub-link-ic, .sm-hub-chev, .sm-hub-chip,
    .sm-hub-follow { transition: none; }
    .sm-phone--turn { animation: none; }
    .sm-hub-link:hover, .sm-hub-link:hover .sm-hub-link-ic,
    .sm-hub-link:hover .sm-hub-chev, .sm-hub-chip:hover,
    .sm-hub-follow:hover { transform: none; }
    .sm-phone::before, .sm-hub-follow::before { animation: none; }
  }
  /* ------------------------------------------------------------------ */
  /* <HubMockupSkeleton>: the card with nothing in it yet.               */
  /* Read it against the block above — every number here is the number   */
  /* the real part carries, so the blanks fill in rather than reflow.    */

  .sm-skel {
    --u: var(--hub-u, 0.687px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: calc(422 * var(--u));
    border-radius: calc(44 * var(--u));
    /* Dashed, where the card is drawn with a hairline: the one line that says
       this is a space for a hub rather than a hub with the colour turned off. */
    border: 1px dashed rgba(76,20,50,0.24);
    /* Opaque, like the card it stands in for. Translucent it read as a pane of
       glass: the my.socialmedia hero stands a photograph of the persona behind
       the card, and she showed straight through the empty one. */
    background: linear-gradient(180deg, #FFFFFF 0%, #FDF2F8 62%, #FAE8F1 100%);
  }
  /* The light passing over it, which is the whole of what says "being built".
     Over the panel rather than under the blanks, so one sweep crosses all of
     them at once instead of each blank lighting on its own. */
  .sm-skel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
      100deg,
      rgba(255,255,255,0) 38%,
      rgba(255,255,255,0.62) 50%,
      rgba(255,255,255,0) 62%
    );
    transform: translateX(-100%);
    animation: sm-skel-sweep 1800ms ease-in-out infinite;
  }
  @keyframes sm-skel-sweep { to { transform: translateX(100%); } }
  @media (prefers-reduced-motion: reduce) {
    .sm-skel::after { animation: none; opacity: 0; }
  }

  /* One wash for every blank on the card. */
  .sm-skel-b {
    display: block;
    flex: none;
    background: rgba(76,20,50,0.10);
    border-radius: 999px;
  }

  .sm-skel-bar {
    position: absolute;
    top: calc(16 * var(--u));
    left: calc(16 * var(--u));
    right: calc(16 * var(--u));
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(10 * var(--u));
  }
  /* The address pill: the bar's own height, and about the run "amara" and its
     suffix measure at 12.5u of the mono face. */
  .sm-skel-address { width: calc(150 * var(--u)); height: calc(31 * var(--u)); }
  .sm-skel-chip { width: calc(46 * var(--u)); height: calc(46 * var(--u)); }

  .sm-skel-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: calc(76 * var(--u)) calc(20 * var(--u)) calc(32 * var(--u));
  }
  /* The portrait's own 133, ring included: it is drawn border-box there. */
  .sm-skel-avatar { width: calc(133 * var(--u)); height: calc(133 * var(--u)); }
  /*
   * The head and the bio stand in line boxes taller than their ink — 30u and
   * 15u of type, on 1.05 and 1.4 — and the blank has to take the whole line or
   * the card is shorter than the one that replaces it. So the box is the line
   * and the wash is the ink: transparent borders hold the difference, and the
   * background stops at the padding box rather than painting under them. A
   * wash the full height of the line box would read as a slab, not as type.
   */
  .sm-skel-name {
    margin-top: calc(26 * var(--u));
    width: calc(128 * var(--u));
    height: calc(32 * var(--u));
    border-top: calc(5 * var(--u)) solid transparent;
    border-bottom: calc(5 * var(--u)) solid transparent;
    background-clip: padding-box;
  }
  .sm-skel-tag {
    margin-top: calc(10 * var(--u));
    width: calc(196 * var(--u));
    height: calc(21 * var(--u));
    border-top: calc(4 * var(--u)) solid transparent;
    border-bottom: calc(4 * var(--u)) solid transparent;
    background-clip: padding-box;
  }
  /* The pill, at the height its own type and padding give it. */
  .sm-skel-follow {
    margin-top: calc(21 * var(--u));
    width: calc(186 * var(--u));
    height: calc(43 * var(--u));
  }
  .sm-skel-more {
    margin-top: calc(10 * var(--u));
    width: calc(176 * var(--u));
    height: calc(17 * var(--u));
  }
  .sm-skel-chips {
    display: flex;
    justify-content: center;
    gap: calc(12 * var(--u));
    margin-top: calc(23 * var(--u));
  }
  .sm-skel-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: calc(12 * var(--u));
    margin-top: calc(32 * var(--u));
  }
  /* 16u of padding either side of 15u type: the row a link stands in. */
  .sm-skel-link { height: calc(57 * var(--u)); border-radius: calc(16 * var(--u)); }

