/*
 * Social & account pages (plan §5.6, §5.7, §5.9, §5.10): profile,
 * communities, community, plan, my-plans, memo, moment, login, signup,
 * friend-referral. Builds on the site.css v2 tokens and components; only
 * page-family layout lives here. Prefix: sx-.
 */

/* Components set display (e.g. .btn inline-flex), which would beat [hidden]. */
:where(.site) [hidden] { display: none !important; }

/* ---------- Page hero band (list pages) ---------- */

:where(.site) .sx-band {
  position: relative;
  padding-block: var(--sp-7) calc(var(--sp-7) + clamp(28px, 5vw, 64px));
}
:where(.site) .sx-band h1 { margin: 0 0 var(--sp-2); font-size: var(--fs-2xl); font-weight: 900; line-height: 1.25; color: #fff; }
:where(.site) .sx-band__lead { max-width: 38em; margin: 0 0 var(--sp-5); color: rgba(255, 255, 255, .86); }
:where(.site) .sx-band__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); }
:where(.site) .sx-band .search-box { flex: 1 1 320px; }
:where(.site) .sx-band .social-proof { margin-top: var(--sp-4); color: rgba(255, 255, 255, .86); }
:where(.site) .sx-band--light { padding-block: var(--sp-6) var(--sp-5); }
:where(.site) .sx-band--light h1 { color: var(--c-text); }
:where(.site) .sx-band--light .sx-band__lead { color: var(--c-text-2); margin-bottom: 0; }

:where(.site) .sx-section { padding-block: var(--sp-6) 0; }
:where(.site) .sx-section:last-of-type { padding-bottom: var(--sp-7); }
:where(.site) .sx-state { padding: var(--sp-6) 0; text-align: center; color: var(--c-muted); }
:where(.site) .sx-state:empty { display: none; }
:where(.site) .sx-more { display: flex; justify-content: center; margin-top: var(--sp-5); }
:where(.site) .sx-badge-joined {
  position: absolute; top: var(--sp-2); right: var(--sp-2); z-index: 2;
  padding: 2px 10px; border-radius: var(--r-pill);
  background: var(--c-forest-700); color: #fff; font-size: var(--fs-xs); font-weight: 700;
}

/* ---------- Detail hero (community, profile) ---------- */

:where(.site) .sx-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(220px, 36vw, 380px);
  display: grid;
  align-items: end;
  color: #fff;
  background: var(--c-forest-900) url("/images/brand/contour-dark.svg") center / 640px auto;
}
:where(.site) .sx-cover > img.sx-cover__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
:where(.site) .sx-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 46, 34, .15) 0%, rgba(11, 46, 34, .45) 50%, rgba(11, 46, 34, .92) 100%);
}
:where(.site) .sx-cover__inner { padding-block: var(--sp-7) var(--sp-6); }
:where(.site) .sx-cover h1 { margin: var(--sp-2) 0; font-size: var(--fs-2xl); font-weight: 900; line-height: 1.25; color: #fff; overflow-wrap: anywhere; }
:where(.site) .sx-cover .tcard__meta, :where(.site) .sx-cover .author-row,
:where(.site) .sx-cover .author-row__name, :where(.site) .sx-cover .author-row__meta { color: rgba(255, 255, 255, .9); }
:where(.site) .sx-cover .chip { min-height: 28px; }
:where(.site) .sx-cover a { color: #fff; }

/* ---------- Toolbar (back / share / report) ---------- */

:where(.site) .sx-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); padding-block: var(--sp-3); }
:where(.site) .sx-toolbar .sx-push { margin-left: auto; }
:where(.site) .sx-toolbar [hidden] { display: none; }

/* ---------- Key / value list ---------- */

:where(.site) .sx-kv { margin: 0; padding: 0; list-style: none; }
:where(.site) .sx-kv > li, :where(.site) .sx-kv tr {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 10px 0;
  border-bottom: 1px solid var(--c-rock-100);
  font-size: var(--fs-sm);
}
:where(.site) .sx-kv .k, :where(.site) .sx-kv td.k { flex: none; color: var(--c-muted); }
:where(.site) .sx-kv .v, :where(.site) .sx-kv td:not(.k) { min-width: 0; text-align: right; font-weight: 700; overflow-wrap: anywhere; }
:where(.site) table.sx-kv { width: 100%; border-collapse: collapse; }
:where(.site) table.sx-kv tbody { display: block; }

/* ---------- Panels ---------- */

:where(.site) .sx-panel { padding: var(--sp-5); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-1); }
:where(.site) .sx-panel + .sx-panel { margin-top: var(--sp-4); }
:where(.site) .sx-panel h2, :where(.site) .sx-h2 { margin: 0 0 var(--sp-3); font-size: var(--fs-lg); font-weight: 800; }
:where(.site) .sx-panel--soft { background: var(--c-bg-2); box-shadow: none; }
:where(.site) .sx-note { padding: var(--sp-4); border-radius: var(--r-md); background: var(--c-moss-100); color: var(--c-forest-900); font-size: var(--fs-sm); line-height: 1.8; }
:where(.site) .sx-note b { display: block; margin-bottom: 4px; }
:where(.site) .sx-desc { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.85; }
:where(.site) .sx-actions { display: grid; gap: var(--sp-2); }
:where(.site) .sx-actions .btn { width: 100%; }
:where(.site) .sx-actions small { color: var(--c-muted); font-size: var(--fs-xs); text-align: center; }

/* ---------- Thread extras (reply reactions, report link) ---------- */

:where(.site) .thread__item > .avatar { width: 40px; height: 40px; }
:where(.site) .thread .thread .thread__item { grid-template-columns: 32px minmax(0, 1fr); }
:where(.site) .thread .thread .thread__item > .avatar { width: 32px; height: 32px; }
:where(.site) .thread__meta b { color: var(--c-text); margin-right: 6px; }
:where(.site) .thread__text { white-space: pre-wrap; overflow-wrap: anywhere; }
:where(.site) .thread__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2px; }
:where(.site) .thread__foot .sh-report-link { min-height: 36px; padding: 0 6px; font-size: var(--fs-xs); }
:where(.site) .sx-rx { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 0 10px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--c-line); font-size: var(--fs-xs); }
:where(.site) .sx-rx b { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
:where(.site) .sx-rx-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Profile ---------- */

:where(.site) .sx-profile-cover { position: relative; overflow: hidden; height: clamp(160px, 26vw, 300px); margin-top: var(--sp-3); border-radius: var(--r-lg); background: var(--c-forest-900) url("/images/brand/contour-dark.svg") center / 640px auto; }
:where(.site) .sx-profile-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
:where(.site) .sx-profile-head { position: relative; z-index: 2; display: grid; gap: var(--sp-3); padding-inline: var(--sp-4); }
:where(.site) .sx-profile-head .avatar--xl { width: 112px; height: 112px; margin-top: -56px; border: 4px solid #fff; box-shadow: var(--shadow-2); }
:where(.site) .sx-profile-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--sp-2); margin: 0; font-size: var(--fs-2xl); font-weight: 900; line-height: 1.25; overflow-wrap: anywhere; }
:where(.site) .sx-profile-counts { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-4); color: var(--c-text-2); font-size: var(--fs-sm); }
:where(.site) .sx-profile-counts b { margin-right: 4px; color: var(--c-text); font-family: var(--font-num); font-size: var(--fs-lg); }
:where(.site) .sx-profile-meta { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
:where(.site) .sx-profile-meta .chip { min-height: 30px; }
:where(.site) .sx-profile-actions { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
:where(.site) .sx-menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 30;
  display: none; min-width: 220px; padding: 6px; border-radius: var(--r-md);
  background: #fff; box-shadow: var(--shadow-3);
}
:where(.site) .sx-menu.open { display: grid; }
:where(.site) .sx-menu button { min-height: var(--touch); padding: 0 var(--sp-3); border: 0; border-radius: var(--r-sm); background: none; text-align: left; cursor: pointer; }
:where(.site) .sx-menu button:hover { background: var(--c-bg-2); }
:where(.site) .sx-pill-premium { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: var(--r-pill); background: var(--c-trail-100); color: var(--c-trail-600); font-size: var(--fs-xs); font-weight: 800; }
@media (min-width: 600px) {
  :where(.site) .sx-profile-head { grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: var(--sp-5); padding-inline: var(--sp-5); }
  :where(.site) .sx-profile-head .avatar--xl { width: 136px; height: 136px; margin-top: -68px; }
}
:where(.site) .sx-profile .card-activity .media__badges { display: none; }
:where(.site) .sx-memo-card .chip--danger { background: var(--c-danger-soft); color: var(--c-danger); border-color: transparent; }
:where(.site) .sx-text-tile { display: grid; gap: var(--sp-2); padding: var(--sp-4); border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-1); color: inherit; text-decoration: none; }
:where(.site) .sx-text-tile:hover { box-shadow: var(--shadow-2); }
:where(.site) .sx-text-tile p { margin: 0; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; }
:where(.site) .sx-user-card { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: var(--sp-3); padding: var(--sp-4); border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-1); }
:where(.site) .sx-user-card .avatar { width: 48px; height: 48px; }
:where(.site) .sx-user-card__name { font-weight: 800; color: var(--c-text); text-decoration: none; overflow-wrap: anywhere; }
:where(.site) .sx-user-card__name::after { content: ""; position: absolute; inset: 0; }
:where(.site) .sx-user-card__bio { margin: 2px 0 0; font-size: var(--fs-sm); color: var(--c-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
:where(.site) .sx-user-card .btn { position: relative; z-index: 2; }
:where(.site) .btn.following, :where(.site) .btn[aria-pressed="true"] { background: var(--c-forest-700); border-color: var(--c-forest-700); color: #fff; }
:where(.site) .sx-pager { display: flex; align-items: center; justify-content: center; gap: var(--sp-3); margin-top: var(--sp-5); color: var(--c-muted); font-size: var(--fs-sm); }
:where(.site) .sx-pager button { width: var(--touch); height: var(--touch); padding: 0; border-radius: 50%; }
:where(.site) .sx-pager button:disabled { opacity: .35; cursor: default; }

/* ---------- Post pages (moment, memo) ---------- */

:where(.site) .sx-post { padding-block: var(--sp-4) var(--sp-7); }
:where(.site) .sx-post .author-row { font-size: var(--fs-base); }
:where(.site) .sx-post .author-row .avatar { width: 48px; height: 48px; }
:where(.site) .sx-post__text { margin: var(--sp-4) 0 0; font-size: var(--fs-lg); line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
:where(.site) .sx-post__text .hashtag { color: var(--c-forest-700); font-weight: 700; }
:where(.site) .sx-photos { display: grid; gap: var(--sp-2); margin-top: var(--sp-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
:where(.site) .sx-photos:empty { display: none; }
:where(.site) .sx-photos img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); background: var(--c-rock-100); cursor: zoom-in; }
:where(.site) .sx-photos img:only-child { grid-column: 1 / -1; aspect-ratio: auto; max-height: 70vh; object-fit: contain; background: var(--c-rock-100); }
:where(.site) .sx-photos img:first-child:nth-last-child(3) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
:where(.site) .sx-report { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--c-line); color: var(--c-muted); font-size: var(--fs-sm); }
:where(.site) .sx-report button { min-height: var(--touch); padding: 0 var(--sp-2); border: 0; background: none; color: var(--c-link); font-weight: 700; cursor: pointer; }
:where(.site) .sx-report button:hover { text-decoration: underline; }
:where(.site) .app-banner {
  display: grid; justify-items: center; gap: var(--sp-3);
  margin: var(--sp-6) 0; padding: var(--sp-6) var(--sp-5); border-radius: var(--r-lg);
  background: var(--c-forest-900) url("/images/brand/contour-dark.svg") center / 520px auto;
  color: #fff; text-align: center;
}
:where(.site) .app-banner .brand img { display: block; height: 34px; width: auto; }
:where(.site) .app-banner p { margin: 0; color: rgba(255, 255, 255, .85); font-size: var(--fs-sm); }
:where(.site) .sx-action-bar {
  position: fixed; left: 50%; bottom: 16px; z-index: 20; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: var(--r-pill);
  background: #fff; box-shadow: var(--shadow-3);
}
:where(.site) .sx-action-bar .act { display: inline-flex; align-items: center; gap: 6px; min-height: var(--touch); padding: 0 var(--sp-4); color: var(--c-text-2); }
:where(.site) .sx-action-bar .act b { color: var(--c-text); font-family: var(--font-num); }
:where(.site) .sx-action-bar .share { width: var(--touch); height: var(--touch); border: 0; border-radius: 50%; background: var(--c-forest-700); color: #fff; cursor: pointer; display: inline-grid; place-items: center; }
:where(.site) .sx-map { width: 100%; height: clamp(240px, 50vw, 380px); border-radius: var(--r-md); overflow: hidden; background: var(--c-moss-100); }
@media (min-width: 960px) {
  :where(.site) .sx-post--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sp-6); align-items: start; }
  :where(.site) .sx-post--split > aside { position: sticky; top: calc(var(--site-header-h) + var(--sp-4)); }
}

/* Lightbox shared by moment / memo / community. */
.sx-lightbox { display: none; position: fixed; inset: 0; z-index: 1250; align-items: center; justify-content: center; background: rgba(11, 20, 16, .92); }
.sx-lightbox.open { display: flex; }
.sx-lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; border-radius: 8px; }
.sx-lightbox .lb-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 20px; cursor: pointer; }
.sx-lightbox .lb-close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* ---------- Plans ---------- */

:where(.site) .sx-plan-card { display: grid; gap: var(--sp-2); padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-1); color: inherit; text-decoration: none; transition: box-shadow var(--dur-2) var(--ease), transform var(--dur-2) var(--ease); }
:where(.site) a.sx-plan-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
:where(.site) .sx-plan-card .date { display: flex; align-items: center; gap: 6px; color: var(--c-forest-700); font-size: var(--fs-sm); font-weight: 700; }
:where(.site) .sx-plan-card .title { margin: 0; font-size: var(--fs-lg); font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; }
:where(.site) .sx-plan-card .user-row { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-sm); }
:where(.site) .sx-plan-card .avatar { width: 28px; height: 28px; }
:where(.site) .sx-plan-card .avatar.ph { display: inline-grid; place-items: center; background: var(--c-forest-700); color: #fff; font-weight: 800; font-size: 13px; }
:where(.site) .sx-plan-card .user-name { font-weight: 700; }
:where(.site) .sx-plan-card .badge { margin-left: var(--sp-2); }
:where(.site) .sx-plan-card .badge.invited { background: var(--c-trail-100); color: var(--c-trail-600); }
:where(.site) .sx-plan-card .meta { margin: 0; padding-top: var(--sp-2); border-top: 1px solid var(--c-rock-100); }
:where(.site) .sx-skel-plan { display: block; height: 150px; border-radius: var(--r-md); }
:where(.site) #summary .stat-hero { margin-block: var(--sp-5) 0; }
/* ---------- Auth (login / signup, plan §5.9) ---------- */

:where(.site) .sx-auth { flex: 1 0 auto; display: grid; padding-bottom: 0; }
:where(.site) .sx-auth__brand { display: none; }
:where(.site) .sx-auth__brand .sx-auth__logo { position: static; width: auto; height: 40px; }
:where(.site) .sx-auth__copy { display: grid; gap: var(--sp-4); }
:where(.site) .sx-auth__form { display: grid; align-content: center; justify-items: center; padding: var(--sp-6) var(--gutter) var(--sp-7); background: var(--c-bg-2) url("/images/brand/contour.svg") center / 640px auto; }
:where(.site) .sx-auth__card { width: 100%; max-width: 440px; padding: var(--sp-6) var(--sp-5); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-2); }
:where(.site) .sx-auth__card .logo img { display: block; height: 34px; width: auto; }
:where(.site) .sx-auth__card h1 { margin: var(--sp-4) 0 var(--sp-1); font-size: var(--fs-xl); font-weight: 900; }
:where(.site) .sx-auth__card .lead { margin: 0 0 var(--sp-5); color: var(--c-text-2); font-size: var(--fs-sm); }
:where(.site) .sx-auth__card .form-field { margin-bottom: var(--sp-3); }
:where(.site) .sx-auth__card .btn { width: 100%; margin-top: var(--sp-3); }
:where(.site) .sx-auth__card .btn--primary:disabled { opacity: 1; background: var(--c-rock-200); border-color: var(--c-rock-200); color: var(--c-rock-600); }
:where(.site) .sx-auth__card .btn-google { background: #fff; border-color: #c9cdca; color: var(--c-text); }
:where(.site) .sx-auth__card .btn-google:hover { border-color: var(--c-rock-600); background: #fff; }
:where(.site) .sx-auth__card .g-icon { width: 18px; height: 18px; }
:where(.site) .sx-auth__card .hint { margin: var(--sp-3) 0 0; text-align: right; font-size: var(--fs-sm); }
:where(.site) .sx-auth__card .hint button { min-height: var(--touch); padding: 0; border: 0; background: none; color: var(--c-link); font-weight: 700; cursor: pointer; }
:where(.site) .sx-auth__card .divider { display: flex; align-items: center; gap: var(--sp-3); margin: var(--sp-4) 0 var(--sp-1); color: var(--c-muted); font-size: var(--fs-sm); }
:where(.site) .sx-auth__card .divider::before, :where(.site) .sx-auth__card .divider::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }
:where(.site) .sx-auth__card .error { display: none; margin: var(--sp-3) 0 0; padding: var(--sp-3); border-radius: var(--r-sm); background: var(--c-danger-soft); color: var(--c-danger); font-size: var(--fs-sm); }
:where(.site) .sx-auth__card .error.is-ok { background: var(--c-moss-100); color: var(--c-forest-700); }
:where(.site) .sx-auth__card .signed-in { display: none; margin: 0 0 var(--sp-4); padding: var(--sp-3); border-radius: var(--r-sm); background: var(--c-moss-100); color: var(--c-forest-900); font-size: var(--fs-sm); }
:where(.site) .sx-auth__card .signed-in a { font-weight: 700; }
:where(.site) .sx-auth__card .terms { margin: var(--sp-4) 0 0; color: var(--c-muted); font-size: var(--fs-xs); line-height: 1.7; }
:where(.site) .sx-auth__alt { margin: var(--sp-5) 0 0; padding-top: var(--sp-4); border-top: 1px solid var(--c-line); text-align: center; color: var(--c-text-2); font-size: var(--fs-sm); }
:where(.site) .sx-auth__alt .btn { margin-top: var(--sp-2); }
@media (min-width: 960px) {
  :where(.site) .sx-auth { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - var(--site-header-h)); }
  :where(.site) .sx-auth__brand {
    position: relative; isolation: isolate; overflow: hidden;
    display: grid; align-content: space-between; gap: var(--sp-6);
    padding: var(--sp-8) var(--sp-7); color: #fff;
    background: var(--c-forest-900);
  }
  :where(.site) .sx-auth__brand > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
  :where(.site) .sx-auth__brand::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: url("/images/brand/contour-dark.svg") center / 720px auto,
      linear-gradient(180deg, rgba(11, 46, 34, .25) 0%, rgba(11, 46, 34, .6) 50%, rgba(11, 46, 34, .95) 100%);
  }
  :where(.site) .sx-auth__brand h2 { margin: 0; max-width: 14em; font-size: var(--fs-3xl); font-weight: 900; line-height: 1.2; color: #fff; text-wrap: balance; }
  :where(.site) .sx-auth__brand p { margin: 0; max-width: 30em; color: rgba(255, 255, 255, .86); font-size: var(--fs-lg); }
  :where(.site) .sx-auth__points { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0; padding: 0; list-style: none; }
  :where(.site) .sx-auth__form { padding-block: var(--sp-7); }
  :where(.site) .sx-auth__card { padding: var(--sp-7) var(--sp-6); }
}

/* ---------- Document pages (friend referral) ---------- */

:where(.site) .sx-doc { padding-block: var(--sp-6) var(--sp-7); }
:where(.site) .sx-doc__card { max-width: 560px; margin-inline: auto; padding: var(--sp-6) var(--sp-5); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-2); text-align: center; }
:where(.site) .sx-doc__card > img { display: block; margin: 0 auto var(--sp-3); }
:where(.site) .sx-doc__card h1 { margin: var(--sp-1) 0 var(--sp-2); font-size: var(--fs-xl); font-weight: 900; }
:where(.site) .sx-doc__card .btn--lg { margin-top: var(--sp-3); }
:where(.site) .sx-doc__steps { display: grid; gap: var(--sp-2); margin: var(--sp-5) 0 0; padding: var(--sp-4); border-radius: var(--r-md); background: var(--c-bg-2); list-style: none; counter-reset: step; text-align: left; font-size: var(--fs-sm); }
:where(.site) .sx-doc__steps li { display: flex; align-items: center; gap: var(--sp-3); counter-increment: step; }
:where(.site) .sx-doc__steps li::before { content: counter(step); flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-forest-700); color: #fff; font-family: var(--font-num); font-weight: 800; }
:where(.site) .sx-doc__alt { margin: var(--sp-4) 0 0; color: var(--c-muted); font-size: var(--fs-sm); }
:where(.site) .sx-doc__alt a { font-weight: 700; }
@media (min-width: 600px) { :where(.site) .sx-doc__card { padding: var(--sp-7) var(--sp-6); } }
:where(.site) .sx-code { display: inline-block; max-width: 100%; margin: var(--sp-2) 0; padding: var(--sp-3) var(--sp-5); border: 2px dashed var(--c-moss-300); border-radius: var(--r-md); background: var(--c-moss-100); color: var(--c-forest-900); font-family: var(--font-num); font-size: var(--fs-2xl); font-weight: 800; letter-spacing: .12em; overflow-wrap: anywhere; }
