/* Fanalytics social platform — feed, profiles, player pages */

.social-page {
  background: var(--fa-bg, var(--navy, #0A1628));
  color: var(--fa-text-secondary, rgba(255, 255, 255, 0.88));
}

.sf-page {
  padding: clamp(24px, 4vw, 48px) 0 80px;
}

.sf-wrap {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 24px);
}

.sf-wrap--wide {
  max-width: 1100px;
}

.sf-wrap--feed {
  max-width: 1240px;
}

/* Feed hub — 3-column desktop layout */
.sf-page--feed {
  padding-top: clamp(16px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

.sf-page--search {
  padding: clamp(16px, 2vw, 28px) clamp(16px, 3vw, 28px) clamp(24px, 4vw, 40px);
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  flex: 1 1 auto;
}

.sf-page--search .sf-page-head {
  margin-bottom: 18px;
}

.sf-page--search #search-panel {
  margin-bottom: 20px;
}

.sf-page--search .sf-search-results {
  min-height: 200px;
}

.sf-feed-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 280px;
  gap: clamp(20px, 2.5vw, 32px);
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 28px);
  align-items: start;
  flex: 1 1 auto;
  min-height: 0;
}

.sf-feed-side {
  position: sticky;
  top: calc(var(--nav-h, 64px) + 16px);
}

.sf-feed-main {
  min-width: 0;
  min-height: 360px;
  max-width: 100%;
  overflow-x: clip;
}

.sf-feed-list {
  min-height: 240px;
}

.sf-feed-retry {
  margin-left: 8px;
  font-size: 12px;
  padding: 6px 12px;
  vertical-align: middle;
}

.sf-feed-topbar {
  display: block;
}

.sf-feed-search-btn {
  display: none;
}

.sf-composer-teaser {
  display: none;
}

.sf-feed-title-short {
  display: none;
}

.sf-feed-head h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.5rem);
  text-transform: uppercase;
  margin: 0 0 6px;
  color: #fff;
}

.sf-feed-tab-text--short {
  display: none;
}

.sf-feed-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sf-feed-tab {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.sf-feed-tab:hover,
.sf-feed-tab:focus-visible {
  color: #fff;
}

.sf-feed-tab.is-active {
  color: #00C2CB;
  border-bottom-color: #00C2CB;
  background: rgba(0, 194, 203, 0.06);
}

.sf-feed-tab--circle {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sf-feed-tab--action {
  color: rgba(0, 194, 203, 0.85);
  border: 1px dashed rgba(0, 194, 203, 0.35);
  border-radius: 8px;
  margin-bottom: 4px;
}

.sf-feed-tabs-wrap {
  margin: 0 0 12px;
}

.sf-feed-tabs--primary {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sf-feed-tabs--primary .sf-feed-tab {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 12px 8px;
  border-radius: 0;
}

.sf-feed-circle-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 10px 0 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sf-feed-circle-tabs::-webkit-scrollbar {
  display: none;
}

.sf-feed-circle-tabs-empty {
  flex: 1 1 auto;
  margin: 0;
  padding: 6px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.sf-feed-circle-tab {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.62);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sf-feed-circle-tab:hover,
.sf-feed-circle-tab:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.sf-feed-circle-tab.is-active {
  color: #0A1628;
  background: #00C2CB;
  border-color: #00C2CB;
}

.sf-feed-circle-tab--action {
  color: rgba(0, 194, 203, 0.9);
  border-style: dashed;
  border-color: rgba(0, 194, 203, 0.35);
  background: transparent;
}

.sf-feed-circle-tab--action:hover,
.sf-feed-circle-tab--action:focus-visible {
  border-color: rgba(0, 194, 203, 0.6);
  color: #00C2CB;
}

.sf-feed-tabs--dropdowns {
  align-items: flex-end;
  gap: 4px;
}

.sf-feed-dropdown {
  position: relative;
  flex: 0 1 auto;
  min-width: 0;
}

.sf-feed-tab--dropdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: min(200px, 42vw);
}

.sf-feed-tab--dropdown .sf-feed-tab-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sf-feed-tab-chevron {
  flex: 0 0 auto;
  font-size: 9px;
  line-height: 1;
  opacity: 0.55;
  margin-top: 1px;
}

.sf-feed-tab--dropdown[aria-expanded="true"] .sf-feed-tab-chevron {
  opacity: 0.9;
}

.sf-feed-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 40;
  margin: 0;
  padding: 4px;
  min-width: 180px;
  width: max-content;
  max-width: min(280px, calc(100vw - 32px));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(10, 22, 40, 0.98);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42);
  max-height: 240px;
  overflow: auto;
}

.sf-feed-dropdown-menu[hidden] {
  display: none;
}

.sf-feed-dropdown-option {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}

.sf-feed-dropdown-option:hover,
.sf-feed-dropdown-option:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.sf-feed-dropdown-option.is-active {
  color: #00C2CB;
  background: rgba(0, 194, 203, 0.08);
}

.sf-feed-dropdown-empty {
  margin: 0;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.45);
}

.sf-circle-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 194, 203, 0.2);
  border-radius: 10px;
  background: rgba(0, 194, 203, 0.05);
}

.sf-circle-toolbar-lead {
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sf-circle-toolbar-label {
  flex-shrink: 0;
}

.sf-circle-toolbar-dot {
  flex-shrink: 0;
  opacity: 0.55;
}

.sf-circle-toolbar-manage {
  flex-shrink: 0;
}

.sf-circle-toolbar--conversation {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.sf-circle-toolbar-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.sf-circle-back-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 6px 4px 6px 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--teal, #00c2cb);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: none;
}

.sf-circle-back-btn:hover,
.sf-circle-back-btn:focus-visible {
  color: #fff;
  background: transparent;
  outline: none;
}

.sf-circle-back-icon {
  flex-shrink: 0;
  display: block;
}

.sf-circle-back-label {
  white-space: nowrap;
}

.sf-circle-toolbar-identity {
  min-width: 0;
  overflow: hidden;
}

.sf-circle-toolbar--conversation .sf-circle-toolbar-lead {
  font-size: 12px;
}

.sf-circle-toolbar--conversation .sf-circle-view-tabs {
  width: 100%;
  justify-content: stretch;
}

.sf-circle-toolbar--conversation .sf-circle-view-tab {
  flex: 1 1 0;
  text-align: center;
}

.sf-circle-toolbar-back {
  display: none;
}

.sf-circle-inbox {
  max-width: 720px;
}

.sf-circle-inbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sf-circle-inbox-title {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-white, #fff);
}

.sf-circle-inbox-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sf-circle-inbox-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 4px;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s ease;
}

.sf-circle-inbox-row:hover,
.sf-circle-inbox-row:focus-visible {
  background: rgba(0, 194, 203, 0.06);
}

.sf-circle-inbox-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  background: rgba(0, 194, 203, 0.16);
  border: 1px solid rgba(0, 194, 203, 0.22);
}

.sf-circle-inbox-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sf-circle-inbox-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.sf-circle-inbox-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-white, #fff);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sf-circle-inbox-time {
  flex-shrink: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
}

.sf-circle-inbox-preview {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sf-circle-inbox-preview--empty {
  font-style: italic;
  color: rgba(255, 255, 255, 0.32);
}

.sf-circle-inbox-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.48);
}

.sf-circle-inbox-chevron {
  flex-shrink: 0;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.28);
}

.sf-circle-toolbar-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.sf-circle-toolbar-name {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--color-white, #fff);
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.sf-circle-view-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px;
  border-radius: 8px;
  background: rgba(10, 22, 40, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sf-circle-view-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.sf-circle-view-tab:hover {
  color: rgba(255, 255, 255, 0.9);
}

.sf-circle-view-tab.is-active {
  background: rgba(0, 194, 203, 0.18);
  color: var(--color-white, #fff);
}

.sf-circle-chat-root {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.sf-circle-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  flex: 1 1 auto;
}

.sf-circle-chat-scroll {
  flex: 1 1 auto;
  min-height: 280px;
  max-height: min(62vh, 640px);
  overflow-y: auto;
  padding: 14px 12px;
  border: none;
  border-radius: 0;
  background: transparent;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

.sf-circle-chat-scroll::-webkit-scrollbar {
  width: var(--scrollbar-size-thin);
  height: var(--scrollbar-size-thin);
}

.sf-circle-chat-scroll::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

.sf-circle-chat-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--scrollbar-thumb);
  border: 1px solid var(--scrollbar-track);
  background-clip: padding-box;
}

.sf-circle-chat-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

.sf-circle-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sf-circle-chat-load-more {
  display: block;
  margin: 0 auto 10px;
}

.sf-circle-chat-msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 82%;
  width: fit-content;
}

.sf-circle-chat-msg.is-self {
  margin-left: auto;
  align-self: flex-end;
  flex-direction: row-reverse;
  max-width: 78%;
  width: fit-content;
}

.sf-circle-chat-avatar {
  flex-shrink: 0;
  margin-bottom: 2px;
}

.sf-avatar--chat {
  width: 28px;
  height: 28px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sf-circle-chat-bubble {
  width: fit-content;
  max-width: 100%;
  min-width: min(2.75rem, 100%);
  padding: 8px 11px;
  border-radius: 18px 18px 18px 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.sf-circle-chat-msg.is-self .sf-circle-chat-bubble {
  border-radius: 18px 18px 4px 18px;
  background: rgba(0, 194, 203, 0.16);
  border-color: rgba(0, 194, 203, 0.22);
}

.sf-circle-chat-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 3px;
  font-size: 11px;
}

.sf-circle-chat-msg.is-self .sf-circle-chat-meta {
  justify-content: flex-end;
}

.sf-circle-chat-msg.is-self .sf-circle-chat-name {
  display: none;
}

.sf-circle-chat-name {
  color: var(--color-white, #fff);
  font-weight: 600;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.sf-circle-chat-name:hover {
  color: var(--teal, #00c2cb);
}

.sf-circle-chat-time {
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
}

.sf-circle-chat-time-foot {
  margin: 4px 0 0;
  padding: 0;
  font-size: 10px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.38);
}

.sf-circle-chat-msg.is-self .sf-circle-chat-time-foot {
  text-align: right;
}

.sf-circle-chat-msg:not(.is-self) .sf-circle-chat-time-foot {
  text-align: left;
}

.sf-circle-chat-time-foot .sf-circle-chat-time {
  font-size: inherit;
  color: inherit;
}

.sf-circle-chat-time-outside {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.sf-circle-chat-msg.is-self .sf-circle-chat-time-outside {
  justify-content: flex-end;
}

.sf-circle-chat-receipt {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1;
}

.sf-circle-chat-receipt.is-delivered,
.sf-circle-chat-receipt.is-partial {
  color: rgba(255, 255, 255, 0.48);
}

.sf-circle-chat-receipt.is-read {
  color: var(--teal, #00C2CB);
}

.sf-circle-chat-receipt--pending,
.sf-circle-chat-receipt--failed {
  font-size: 10px;
  font-weight: 700;
}

.sf-circle-chat-seen-wrap {
  margin-top: 2px;
}

.sf-circle-chat-msg.is-self .sf-circle-chat-seen-wrap {
  text-align: right;
}

.sf-circle-chat-seen {
  font-size: 10px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.36);
}

.sf-circle-chat-unread-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
}

.sf-circle-chat-unread-divider span {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 194, 203, 0.22);
  border: 1px solid rgba(0, 194, 203, 0.35);
}

.sf-circle-inbox-row.is-unread .sf-circle-inbox-name,
.sf-circle-inbox-row.is-unread .sf-circle-inbox-preview {
  font-weight: 600;
}

.sf-circle-chat-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.42;
  color: var(--color-body, #e0e0e0);
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: normal;
}

.sf-circle-chat-share-card {
  display: block;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}

.sf-circle-chat-share-card:hover,
.sf-circle-chat-share-card:focus-visible {
  color: inherit;
  text-decoration: none;
}

.sf-circle-chat-bubble .sf-circle-chat-share-card {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sf-circle-chat-bubble .sf-circle-chat-share-card:hover {
  border-color: rgba(0, 194, 203, 0.35);
  background: rgba(0, 194, 203, 0.06);
}

.sf-circle-chat-share-card .sf-quote-badge {
  margin-bottom: 6px;
}

.sf-circle-chat-share-card .sf-quote-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.sf-circle-chat-share-card .sf-quote-sub,
.sf-circle-chat-share-card .sf-quote-post-body {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.62);
}

.sf-circle-chat-share-card-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sf-circle-chat-share-card-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.sf-circle-chat-share-card-copy {
  display: block;
  min-width: 0;
}

/* Legacy share card classes — kept for cached HTML; prefer sf-circle-chat-share-card */
.sf-circle-chat-share {
  display: block;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(0, 194, 203, 0.22);
  background: rgba(0, 194, 203, 0.08);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.sf-circle-chat-share:hover {
  border-color: rgba(0, 194, 203, 0.4);
  background: rgba(0, 194, 203, 0.12);
}

.sf-circle-chat-share-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  color: rgba(0, 194, 203, 0.9);
  margin-bottom: 2px;
}

.sf-circle-chat-share-author {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.sf-circle-chat-share-preview {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}

.sf-circle-chat-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  background: rgba(10, 22, 40, 0.96);
}

.sf-circle-chat-input-wrap {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

.sf-circle-chat-input,
.sf-circle-chat-input.fa-textarea {
  width: 100%;
  min-height: 40px;
  max-height: 120px;
  resize: none;
  line-height: 1.35;
  padding: 10px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  font-family: Inter, sans-serif;
  font-size: 15px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.sf-circle-chat-input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.sf-circle-chat-input:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.sf-circle-chat-input:focus {
  outline: none;
  border-color: rgba(0, 194, 203, 0.4);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.sf-circle-chat-send {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--teal, #00c2cb);
  color: var(--navy, #0a1628);
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.12s ease, background 0.12s ease;
}

.sf-circle-chat-send:hover {
  transform: scale(1.06);
  background: #33cdd4;
}

.sf-circle-chat-send:active {
  transform: translateY(0) scale(0.96);
}

.sf-circle-chat-send:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.sf-circle-chat-send-icon {
  display: block;
  margin-left: 2px;
}

.sf-circle-chat-error {
  margin: 0;
  padding: 0 4px;
  font-size: 12px;
  color: #ff8f8f;
}

.sf-circle-chat-empty {
  margin: 32px 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* Circle chat in feed — messages scroll, composer stays visible */
body.feed-page.feed-circle-view-chat .footer--slim {
  display: none;
}

body.feed-page.feed-circle-view-chat #feed-composer {
  display: none !important;
}

body.feed-page.feed-circle-view-chat .sf-page--feed {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-top: 8px;
  padding-bottom: 8px;
}

body.feed-page.feed-circle-view-chat .sf-feed-layout {
  flex: 1 1 auto;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  min-height: 0;
  overflow: hidden;
}

body.feed-page.feed-circle-view-chat .sf-feed-side {
  position: static;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
}

body.feed-page.feed-circle-view-chat .sf-feed-main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}

body.feed-page.feed-circle-view-chat .sf-feed-head {
  flex-shrink: 0;
  margin-bottom: 0;
  display: none;
}

body.feed-page.feed-circle-view-chat .sf-feed-head .sf-lead {
  display: none;
}

body.feed-page.feed-circle-view-chat .sf-feed-sticky-chrome {
  flex-shrink: 0;
}

body.feed-page.feed-circle-view-chat #feed-list,
body.feed-page.feed-circle-view-chat .sf-feed-list {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  margin-top: 4px;
}

body.feed-page.feed-circle-view-chat #feed-stream-mount,
body.feed-page.feed-circle-view-chat .sf-circle-chat-root {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

body.feed-page.feed-circle-view-chat .sf-circle-chat-root,
body.feed-page.feed-circle-view-chat .sf-circle-chat {
  min-height: 0 !important;
}

body.feed-page.feed-circle-view-chat .sf-circle-chat {
  flex: 1 1 auto;
  gap: 0;
  overflow: hidden;
}

body.feed-page.feed-circle-view-chat .sf-circle-chat-scroll {
  flex: 1 1 auto;
  min-height: 0 !important;
  max-height: none !important;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.circle-chat-shell {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.circle-chat-composer {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  body.feed-page.feed-circle-view-chat .sf-circle-chat-root {
    min-height: 480px;
  }

  body.feed-page.feed-circle-view-chat .circle-chat-shell {
    min-height: 460px;
  }
}

body.feed-page.feed-circle-view-chat .sf-circle-chat-form {
  flex-shrink: 0;
  position: relative;
  bottom: auto;
  z-index: 4;
  margin-top: 0;
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sf-circle-lb-root {
  margin-top: 4px;
}

.sf-circle-lb-inline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sf-circle-lb-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sf-circle-lb-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white, #fff);
}

.sf-circle-lb-scoring {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.sf-circle-lb-scope {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 22, 40, 0.45);
}

.sf-circle-lb-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  margin: 0;
}

.sf-circle-lb-field .fa-select,
.sf-circle-lb-field .sf-circle-lb-competition {
  width: 100%;
  min-width: 0;
  text-transform: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.sf-circle-lb-field .fa-select:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.sf-circle-lb-field-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
}

.sf-circle-lb-scope-note,
.sf-circle-lb-scope-empty {
  margin: 8px 0 0;
  font-size: 12px;
}

.sf-circle-lb-table-wrap {
  margin-top: 8px;
}

.sf-circle-lb-table-wrap .fp-rank-list {
  margin: 0;
}

.fp-rank-empty {
  margin: 8px 0 0;
  font-size: 13px;
}

.sf-circle-lb-foot {
  margin: 4px 0 0;
  font-size: 13px;
}

.sf-circle-lb-foot a {
  color: var(--color-teal, #00c2cb);
}

.sf-feed-sticky-chrome {
  margin-bottom: 4px;
}

.sf-circle-fanpicks {
  margin: 0 0 10px;
  padding: 8px 0 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sf-circle-fp-scope {
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(10, 22, 40, 0.45);
}

.sf-circle-fp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  margin: 0;
}

.sf-circle-fp-field .fa-select,
.sf-circle-fp-field .sf-circle-fp-competition {
  width: 100%;
  min-width: 0;
  text-transform: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.sf-circle-fp-field .fa-select:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.sf-circle-fp-field-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(224, 224, 224, 0.55);
}

.sf-circle-fp-scope-hint {
  margin: 8px 0 0;
  font-size: 11px;
  color: rgba(224, 224, 224, 0.5);
  line-height: 1.4;
}

.sf-circle-fp-scope-readonly {
  margin: 0 0 8px;
  font-size: 11px;
  color: rgba(224, 224, 224, 0.45);
}

.sf-circle-fp-upcoming-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(224, 224, 224, 0.7);
}

.sf-circle-fanpicks.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.sf-circle-fanpicks-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.sf-circle-fanpicks-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.sf-circle-fp-lb-btn {
  white-space: nowrap;
}

.sf-circle-fp-lb-teaser {
  margin: 0 0 10px;
  font-size: 12px;
  color: rgba(224, 224, 224, 0.62);
}

.sf-circle-fp-lb-teaser a {
  color: var(--teal, #00c2cb);
  text-decoration: none;
}

.sf-circle-fp-lb-teaser a:hover {
  text-decoration: underline;
}

.sf-circle-fanpicks-head:has(+ .sf-circle-fp-cards) {
  margin-bottom: 8px;
}

.sf-circle-fp-leaderboard {
  margin: 0 0 12px;
  padding: 10px;
  border: 1px solid rgba(0, 194, 203, 0.18);
  border-radius: 8px;
  background: rgba(0, 194, 203, 0.04);
}

.sf-circle-fp-lb-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.sf-circle-fp-lb-title {
  margin: 0;
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.sf-circle-fp-lb-you {
  font-size: 11px;
  color: var(--teal, #00c2cb);
}

.sf-circle-fp-lb-note {
  margin: 0 0 8px;
  font-size: 11px;
  color: rgba(224, 224, 224, 0.55);
}

.sf-circle-fp-lb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sf-circle-fp-lb-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto auto;
  gap: 4px 8px;
  align-items: baseline;
  font-size: 12px;
}

.sf-circle-fp-lb-rank {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}

.sf-circle-fp-lb-name {
  font-weight: 600;
  color: #fff;
}

.sf-circle-fp-lb-handle {
  grid-column: 2;
  font-size: 11px;
  color: rgba(224, 224, 224, 0.5);
}

.sf-circle-fp-lb-meta {
  font-size: 11px;
  color: rgba(224, 224, 224, 0.45);
  white-space: nowrap;
}

.sf-circle-fp-lb-pts {
  font-weight: 700;
  color: var(--teal, #00c2cb);
  white-space: nowrap;
}

.sf-circle-fp-lb-empty,
.sf-circle-fp-empty {
  margin: 0 0 8px;
  font-size: 12px;
}

.sf-circle-fp-entry-pts.is-muted {
  color: rgba(224, 224, 224, 0.4);
  font-weight: 400;
}

.sf-modal--circle-fp-settings .sf-circle-fp-settings-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sf-circle-fp-reset-row {
  color: rgba(224, 224, 224, 0.75);
}

.sf-circle-fanpicks-title {
  margin: 0;
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.sf-circle-fp-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sf-circle-fp-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.sf-circle-fp-card-head {
  position: relative;
  margin-bottom: 8px;
  padding-right: 28px;
}

.sf-circle-fp-kickoff {
  margin: 4px 0 0;
  font-size: 12px;
  color: rgba(224, 224, 224, 0.58);
}

.sf-circle-fp-remove {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.sf-circle-fp-remove:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.sf-circle-fp-entries {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sf-circle-fp-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  font-size: 12px;
  align-items: baseline;
}

.sf-circle-fp-entry-name {
  font-weight: 600;
  color: #fff;
}

.sf-circle-fp-entry-handle {
  grid-column: 1;
  color: rgba(224, 224, 224, 0.5);
  font-size: 11px;
}

.sf-circle-fp-entry-pick {
  grid-column: 1 / -1;
  color: rgba(224, 224, 224, 0.78);
}

.sf-circle-fp-entry-pts {
  grid-column: 2;
  grid-row: 1;
  color: #00C2CB;
  font-weight: 600;
  font-size: 11px;
  white-space: nowrap;
}

.sf-circle-fp-pick-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 50vh;
  overflow-y: auto;
}

.sf-circle-fp-pick-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.sf-circle-fp-pick-row:hover {
  border-color: rgba(0, 194, 203, 0.35);
  background: rgba(0, 194, 203, 0.06);
}

.sf-circle-fp-pick-teams {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
  font-size: 13px;
}

.sf-circle-fp-pick-vs {
  opacity: 0.45;
  font-size: 11px;
  text-transform: uppercase;
}

.sf-circle-fp-pick-time {
  flex-shrink: 0;
  font-size: 11px;
  color: rgba(224, 224, 224, 0.58);
}

.sf-composer-dest {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sf-composer-dest--locked .sf-composer-dest-name {
  color: #00C2CB;
}

.sf-composer-dest-label {
  flex: 0 0 auto;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.sf-feed-picker {
  position: relative;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}

.sf-feed-picker-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  max-width: min(220px, 100%);
  min-height: 32px;
  padding: 5px 12px 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.sf-feed-picker-btn:hover,
.sf-feed-picker-btn:focus-visible {
  border-color: rgba(0, 194, 203, 0.35);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.sf-feed-picker-btn[aria-expanded="true"] {
  border-color: rgba(0, 194, 203, 0.5);
  background: rgba(0, 194, 203, 0.08);
  color: #fff;
}

.sf-feed-picker-value,
.sf-feed-picker-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sf-feed-picker-chevron {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  line-height: 1;
  transition: transform 0.15s ease, color 0.15s ease;
}

.sf-feed-picker-btn[aria-expanded="true"] .sf-feed-picker-chevron {
  transform: rotate(180deg);
  color: #00C2CB;
}

.sf-feed-picker-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 100%;
  width: max-content;
  max-width: min(280px, calc(100vw - 32px));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(10, 22, 40, 0.98);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42);
  max-height: 240px;
  overflow: auto;
}

.sf-feed-picker-menu[hidden] {
  display: none;
}

.sf-feed-picker-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.sf-feed-picker-option-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sf-feed-picker-option-check {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: #00C2CB;
  opacity: 0;
  transition: opacity 0.12s ease;
}

.sf-feed-picker-option:hover,
.sf-feed-picker-option:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
}

.sf-feed-picker-option.is-active {
  color: #fff;
  background: rgba(0, 194, 203, 0.1);
}

.sf-feed-picker-option.is-active .sf-feed-picker-option-check {
  opacity: 1;
}

.sf-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 12, 24, 0.78);
}

.sf-modal {
  width: min(520px, 100%);
  max-height: min(88vh, 720px);
  overflow: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f1f35;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.sf-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 10px;
}

.sf-modal-title {
  margin: 0;
  font-size: 1.35rem;
  text-transform: uppercase;
  color: #fff;
}

.sf-modal-close {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.sf-modal-body {
  padding: 8px 20px 16px;
}

.sf-modal-body .fa-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  margin-bottom: 14px;
}

.sf-modal-body .fa-field .fa-label {
  display: block;
}

.sf-modal-body .fa-select,
.sf-modal-body .fa-input:not([type="file"]),
.sf-modal-body .fa-textarea {
  width: 100%;
  min-width: 0;
}

.sf-modal-body .fa-select {
  text-transform: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.sf-modal--create-circle {
  width: min(560px, 100%);
}

.sf-modal--create-circle .sf-circle-create-field {
  margin-bottom: 14px;
}

.sf-modal--create-circle .sf-circle-create-field .fa-select,
.sf-modal--create-circle .sf-circle-create-field .fa-input {
  width: 100%;
  min-width: 0;
  text-transform: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.sf-modal-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 20px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sf-modal-foot-spacer {
  flex: 1;
}

.sf-modal-lead {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.45;
}

.sf-circle-create-public-fields {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sf-circle-create-public-fields .sf-circle-create-field:last-child {
  margin-bottom: 14px;
}

.sf-circle-create-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
}

.sf-circle-create-photo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sf-circle-create-photo-preview {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sf-circle-create-photo-ph {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--teal, #00C2CB);
}

.sf-circle-create-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sf-circle-create-photo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.sf-circle-create-photo-pick {
  cursor: pointer;
}

.sf-circle-create-photo .sf-circle-create-hint {
  flex: 1 1 100%;
  margin-top: 0;
}

.sf-field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.sf-field-label-row .sf-field-label {
  margin-bottom: 0;
}

.sf-modal-status {
  width: 100%;
  margin: 0 0 8px;
  font-size: 13px;
}

.sf-modal-status.is-error {
  color: #ff8f8f;
}

.sf-modal-status.is-ok {
  color: #7dffb0;
}

.sf-field {
  display: block;
  margin-bottom: 14px;
}

.sf-field-label {
  display: block;
  margin-bottom: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.sf-field-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 15px;
  padding: 10px 12px;
  font-family: inherit;
  line-height: 1.45;
}

textarea.sf-field-input {
  min-height: 96px;
  resize: vertical;
}

.sf-circle-pick-panel {
  margin-bottom: 4px;
}

.sf-circle-pick-search-field {
  margin-bottom: 10px;
}

.sf-circle-pick-wrap .sf-circle-pick-empty-search {
  margin: 8px 0 0;
}

.sf-circle-pick-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 220px;
  overflow: auto;
  margin-bottom: 8px;
}

.sf-circle-pick-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.sf-circle-pick-name {
  display: block;
  color: #fff;
  font-weight: 600;
}

.sf-circle-pick-sub {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.sf-circle-member-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.sf-circle-member-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sf-circle-member-name {
  color: #fff;
  text-decoration: none;
}

.sf-circle-member-role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
}

.sf-circle-member-remove {
  border: none;
  background: transparent;
  color: #ff9b9b;
  font-size: 13px;
  cursor: pointer;
}

.btn--danger {
  color: #ff9b9b;
  border-color: rgba(255, 120, 120, 0.35);
}

.btn--sm {
  font-size: 13px;
  padding: 6px 12px;
}

.sf-search-panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.sf-feed-side--left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sf-feed-matches-panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.03);
}

.sf-feed-matches-panel--loading {
  min-height: 0;
}

.sf-feed-matches-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-family: 'Barlow Condensed', var(--font-display), sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.sf-feed-matches-section-label.is-live {
  color: #00C2CB;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.sf-feed-matches-section-label.is-upcoming {
  margin-top: 16px;
}

.sf-feed-matches-section-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00C2CB;
  box-shadow: 0 0 0 0 rgba(0, 194, 203, 0.5);
  animation: sf-feed-live-pulse 1.8s ease-in-out infinite;
}

@keyframes sf-feed-live-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 194, 203, 0.5);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 6px rgba(0, 194, 203, 0);
  }
}

.sf-feed-matches-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sf-feed-match-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: inherit;
  text-decoration: none;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.sf-feed-match-card:hover,
.sf-feed-match-card:focus-visible {
  border-color: rgba(0, 194, 203, 0.35);
  background: rgba(0, 194, 203, 0.06);
}

.sf-feed-match-card.is-live {
  position: relative;
  border-color: rgba(0, 194, 203, 0.32);
  background: linear-gradient(120deg, rgba(0, 194, 203, 0.1) 0%, rgba(0, 194, 203, 0.02) 55%);
  box-shadow: inset 3px 0 0 #00C2CB;
}

.sf-feed-match-card.is-live:hover,
.sf-feed-match-card.is-live:focus-visible {
  border-color: rgba(0, 194, 203, 0.5);
  background: linear-gradient(120deg, rgba(0, 194, 203, 0.14) 0%, rgba(0, 194, 203, 0.04) 55%);
}

.sf-feed-match-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sf-feed-match-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Barlow Condensed', var(--font-display), sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0A1628;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: #00C2CB;
  white-space: nowrap;
  line-height: 1;
}

.sf-feed-match-badge-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0A1628;
  animation: sf-feed-live-dot 1.4s ease-in-out infinite;
}

@keyframes sf-feed-live-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.sf-feed-match-clock {
  font-family: 'Barlow Condensed', var(--font-display), sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #00C2CB;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.sf-feed-match-line--live {
  gap: 8px 10px;
}

.sf-feed-match-card.is-live .sf-feed-match-score {
  font-size: 18px;
  font-weight: 900;
  color: #00C2CB;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(0, 194, 203, 0.1);
  font-variant-numeric: tabular-nums;
}

.sf-feed-match-card.is-live .sf-feed-match-team {
  font-size: 15px;
}

.sf-feed-match-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
  min-width: 0;
}

.sf-feed-match-side {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}

.sf-feed-match-side--away {
  flex-direction: row-reverse;
}

.sf-feed-match-flag {
  flex-shrink: 0;
  display: block;
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 1px;
}

.sf-feed-match-team {
  font-family: 'Barlow Condensed', var(--font-display), sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.94);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 9.5rem;
}

.sf-feed-match-score {
  font-family: 'Barlow Condensed', var(--font-display), sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.96);
  white-space: nowrap;
  padding: 0 2px;
}

.sf-feed-match-vs {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}

.sf-feed-match-kick {
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
}

.sf-feed-matches-empty {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.45);
}

.sf-feed-matches-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'Barlow Condensed', var(--font-display), sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00C2CB;
  text-decoration: none;
  transition: color 140ms ease, gap 140ms ease;
}

.sf-feed-matches-link-arrow {
  font-size: 14px;
  line-height: 1;
  transition: transform 140ms ease;
}

.sf-feed-matches-link:hover,
.sf-feed-matches-link:focus-visible {
  color: #fff;
  text-decoration: none;
}

.sf-feed-matches-link:hover .sf-feed-matches-link-arrow,
.sf-feed-matches-link:focus-visible .sf-feed-matches-link-arrow {
  transform: translateX(3px);
}

.sf-search-label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}

.sf-search-field {
  position: relative;
  display: flex;
  align-items: center;
}

.sf-search-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 15px;
  padding: 12px 36px 12px 14px;
}

.sf-search-input:focus {
  outline: none;
  border-color: #00C2CB;
}

.sf-search-clear {
  position: absolute;
  right: 8px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.sf-search-hint {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
}

.sf-aside-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 16px;
}

.sf-aside-h {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin: 0 0 12px;
}

.sf-aside-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.sf-aside-list li + li {
  margin-top: 8px;
}

.sf-aside-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sf-aside-links a {
  color: #00C2CB;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.sf-aside-links a:hover,
.sf-aside-links a:focus-visible {
  color: #00C2CB;
  opacity: 0.88;
}

.sf-feed-stream {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sf-post {
  position: relative;
}

.sf-post-kind {
  flex-shrink: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2px;
}

.sf-post-kind--inline {
  display: inline-block;
  margin: 0;
}

.sf-author-link {
  color: #fff;
  text-decoration: none;
}

.sf-author-link:hover,
.sf-author-link:focus-visible {
  color: #00C2CB;
}

.sf-avatar-link {
  display: flex;
  flex-shrink: 0;
  border-radius: 50%;
  text-decoration: none;
}

.sf-discover-results {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sf-discover-section {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.sf-discover-h {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 12px;
}

.sf-discover-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sf-discover-row {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  transition: background 140ms ease;
}

.sf-discover-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.sf-discover-row--user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
}

.sf-discover-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 194, 203, 0.15);
  color: #00C2CB;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  flex-shrink: 0;
}

.sf-discover-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sf-discover-title {
  font-weight: 700;
  color: #fff;
}

.sf-discover-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.sf-discover-flag {
  width: 24px;
  height: 17px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.sf-discover-row--user .sf-discover-flag {
  margin-left: auto;
  font-size: 18px;
  width: auto;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.sf-search-results-head {
  margin-bottom: 20px;
}

.sf-search-results-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 6px;
}

.sf-search-results-sub {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.sf-page-head h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 2.75rem);
  text-transform: uppercase;
  margin: 0 0 8px;
  color: #fff;
}

.sf-lead, .sf-muted {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.55;
}

.sf-empty {
  padding: 28px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}

/* Composer */
.sf-composer {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.sf-composer-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 12px;
}

.sf-composer-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.sf-mode {
  border: 1px solid rgba(0, 194, 203, 0.35);
  background: transparent;
  color: #00C2CB;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.sf-mode.is-active {
  background: rgba(0, 194, 203, 0.12);
  border-color: #00C2CB;
}

.sf-composer-input {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 15px;
  padding: 14px;
}

.sf-composer-input:focus {
  outline: none;
  border-color: #00C2CB;
}

.sf-composer-foot {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.sf-composer-attach.btn {
  min-height: 36px;
  padding: 0 14px;
  font-size: 12px;
  border-width: 2px;
  flex-shrink: 0;
}

.sf-composer-attach.btn:hover,
.sf-composer-attach.btn:focus-visible {
  opacity: 0.92;
  outline: none;
}

.sf-composer-attach-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}

.sf-composer-media-limit {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.45);
}

.sf-composer-media-wrap {
  margin-top: 10px;
}

.sf-composer-media {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sf-composer-media-item {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.sf-composer-media-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-composer-media-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.82);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.sf-composer-media-remove:hover,
.sf-composer-media-remove:focus-visible {
  background: rgba(10, 22, 40, 0.95);
  outline: none;
}

.sf-post-media {
  margin-top: 10px;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.sf-post-media--images {
  display: grid;
  gap: 4px;
  border-radius: 12px;
  overflow: hidden;
  max-width: 100%;
}

/* Single image: capped preview — tap opens lightbox for full size + zoom */
.sf-post-media--images.sf-post-media--count-1 {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.sf-post-media--count-2 {
  grid-template-columns: 1fr 1fr;
}

.sf-post-media--count-3 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.sf-post-media--count-3 .sf-post-media-item:first-child {
  grid-row: span 2;
}

.sf-post-media-item {
  display: block;
  min-height: 120px;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.04);
  cursor: zoom-in;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
  text-align: left;
}

.sf-post-media--count-1 .sf-post-media-item {
  min-height: 0;
  width: 100%;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
}

.sf-post-media-item:hover .sf-post-media-img,
.sf-post-media-item:focus-visible .sf-post-media-img {
  opacity: 0.92;
}

.sf-post-media-item:focus-visible {
  outline: 2px solid #00C2CB;
  outline-offset: 2px;
}

.sf-post-media-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: 360px;
  object-fit: cover;
  object-position: center;
  box-sizing: border-box;
}

.sf-post-media--count-1 .sf-post-media-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
}

.sf-post-media--video .sf-post-media-video {
  display: block;
  width: 100%;
  max-height: 420px;
  border-radius: 10px;
  background: #000;
}

/* Post photo lightbox — Fanalytics viewer */
html.sf-media-lightbox-open,
body.sf-media-lightbox-open {
  overflow: hidden;
  height: 100%;
  overscroll-behavior: none;
  touch-action: none;
}

html.sf-media-lightbox-open .mobile-bottom-nav,
html.sf-media-lightbox-open #feed-composer {
  visibility: hidden !important;
  pointer-events: none !important;
}

.sf-media-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overscroll-behavior: contain;
  touch-action: none;
  padding: 16px;
}

.sf-media-lightbox[hidden] {
  display: none !important;
}

.sf-media-lightbox.is-entering .sf-media-lightbox-viewport {
  opacity: 0;
  transform: scale(0.92);
}

.sf-media-lightbox.is-entering .sf-media-lightbox-backdrop {
  opacity: 0;
}

.sf-media-lightbox.is-visible .sf-media-lightbox-backdrop {
  opacity: 1;
}

.sf-media-lightbox.is-visible .sf-media-lightbox-viewport {
  opacity: 1;
}

.sf-media-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.94);
  cursor: zoom-out;
  opacity: 1;
  transition: opacity 0.24s ease;
}

.sf-media-lightbox-stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: min(1200px, 100%);
  height: 100%;
  max-height: 100%;
  overflow: visible;
  touch-action: none;
  cursor: default;
  pointer-events: none;
}

.sf-media-lightbox-viewport {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: calc(100dvh - 32px);
  transform-origin: center center;
  will-change: transform;
  touch-action: none;
  cursor: grab;
  transition: opacity 0.24s ease;
  pointer-events: auto;
}

.sf-media-lightbox-viewport.is-zoomed {
  cursor: grab;
}

.sf-media-lightbox-img,
.sf-media-lightbox-video {
  display: none;
  max-width: min(1200px, 92vw);
  max-height: calc(100dvh - 80px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
  margin: 0 auto;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
}

.sf-media-lightbox-img:not([hidden]) {
  display: block;
}

.sf-media-lightbox-video:not([hidden]) {
  display: block;
  background: #000;
}

.sf-media-lightbox-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
  pointer-events: none;
}

.sf-media-lightbox-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.sf-media-lightbox-dot.is-active {
  background: #00C2CB;
  transform: scale(1.15);
}

.sf-media-lightbox-like-burst {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 72px;
  color: #00C2CB;
  pointer-events: none;
  animation: sf-like-burst 0.7s ease forwards;
  text-shadow: 0 4px 24px rgba(0, 194, 203, 0.45);
}

@keyframes sf-like-burst {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  35% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
  100% { opacity: 0; transform: translate(-50%, -60%) scale(1.35); }
}

/* Profile avatar lightbox — circular zoom on desktop, fullscreen on mobile */
.sf-avatar-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  z-index: 12001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  overscroll-behavior: contain;
  touch-action: none;
}

.sf-avatar-lightbox.is-visible .sf-avatar-lightbox-backdrop {
  opacity: 1;
}

.sf-avatar-lightbox[hidden] {
  display: none !important;
}

.sf-avatar-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.94);
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sf-avatar-lightbox-stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.sf-avatar-lightbox-ring {
  width: min(78vw, 340px);
  height: min(78vw, 340px);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
  touch-action: none;
}

.sf-avatar-lightbox-viewport {
  width: 100%;
  height: 100%;
  transform-origin: center center;
  will-change: transform;
}

.sf-avatar-lightbox-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
}

.sf-avatar-lightbox-close {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: calc(12px + env(safe-area-inset-right, 0px));
  z-index: 3;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.sf-avatar-lightbox-close:hover,
.sf-avatar-lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

@media (max-width: 767px) {
  .sf-avatar-lightbox {
    padding: 0;
    z-index: 15001;
  }

  .sf-avatar-lightbox-ring {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100dvh;
    border-radius: 0;
    border: none;
    box-shadow: none;
    overflow: visible;
  }

  .sf-avatar-lightbox-viewport {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  .sf-avatar-lightbox-img {
    width: auto;
    height: auto;
    max-width: 100vw;
    max-height: 100dvh;
    object-fit: contain;
  }
}

/* Profile photo crop editor */
.sf-avatar-crop {
  position: fixed;
  inset: 0;
  z-index: 12002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  overscroll-behavior: contain;
  touch-action: none;
}

.sf-avatar-crop[hidden] {
  display: none !important;
}

.sf-avatar-crop-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.94);
}

.sf-avatar-crop-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.sf-avatar-crop-hint {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  line-height: 1.45;
  max-width: 28ch;
}

.sf-avatar-crop-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  touch-action: none;
}

.sf-avatar-crop-ring {
  width: min(78vw, 320px);
  height: min(78vw, 320px);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
  touch-action: none;
  cursor: grab;
}

.sf-avatar-crop-ring:active {
  cursor: grabbing;
}

.sf-avatar-crop-viewport {
  width: 100%;
  height: 100%;
  transform-origin: center center;
  will-change: transform;
}

.sf-avatar-crop-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.sf-avatar-crop-actions {
  display: flex;
  gap: 10px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.sf-avatar-crop-actions .btn {
  min-width: 132px;
}

.sf-post-media--video {
  position: relative;
}

.sf-post-media-expand {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.72);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  z-index: 2;
}

.sf-action-icon {
  flex-shrink: 0;
}

.sf-action-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sf-action--like.is-active .sf-action-icon {
  color: #00C2CB;
}

.sf-action--repost.is-active .sf-action-icon {
  color: #00C2CB;
}

.sf-action--like.is-active .sf-action-icon.sf-like-pop-play,
.sf-action--like.sf-action--pop .sf-action-icon {
  animation: sf-like-pop 0.35s ease;
}

.sf-action--repost.is-active .sf-action-icon.sf-repost-pop-play,
.sf-action--repost.sf-action--pop .sf-action-icon {
  animation: sf-repost-pop 0.35s ease;
}

@keyframes sf-like-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

@keyframes sf-repost-pop {
  0% { transform: scale(1) rotate(0deg); }
  45% { transform: scale(1.2) rotate(-14deg); }
  100% { transform: scale(1) rotate(0deg); }
}

html.sf-action-sheet-open,
body.sf-action-sheet-open {
  overflow: hidden;
}

.sf-action-sheet-root[hidden] {
  display: none !important;
}

.sf-action-sheet-root {
  position: fixed;
  inset: 0;
  z-index: 11000;
}

.sf-action-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.sf-action-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 12px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(18, 28, 44, 0.98);
  border-radius: 16px 16px 0 0;
  animation: sf-sheet-up 0.22s ease;
}

@keyframes sf-sheet-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.sf-action-sheet-handle {
  width: 36px;
  height: 4px;
  margin: 4px auto 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.sf-action-sheet-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sf-action-sheet-item {
  display: block;
  width: 100%;
  padding: 14px 12px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 16px;
  text-align: left;
  border-radius: 10px;
  cursor: pointer;
}

.sf-action-sheet-item--danger {
  color: #ff6b6b;
}

.sf-action-sheet-cancel {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 12px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.sf-feed-ptr {
  display: block;
  height: 0;
  overflow: hidden;
  pointer-events: none;
  will-change: height;
}

.sf-feed-ptr-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 8px 0 4px;
  color: rgba(255, 255, 255, 0.55);
}

.sf-feed-ptr-icon {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.15s ease, transform 0.1s linear;
  transform-origin: center center;
}

.sf-feed-ptr-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.15s ease;
}

.sf-feed-ptr.is-ready .sf-feed-ptr-icon {
  color: #00C2CB;
}

.sf-feed-ptr.is-ready .sf-feed-ptr-label {
  color: rgba(0, 194, 203, 0.9);
}

.sf-feed-ptr.is-refreshing .sf-feed-ptr-icon {
  animation: sf-feed-ptr-spin 0.65s linear infinite;
  color: #00C2CB;
}

.sf-feed-ptr.is-refreshing .sf-feed-ptr-label {
  color: rgba(0, 194, 203, 0.85);
}

.sf-feed-ptr.is-refreshing .sf-feed-ptr-label::after {
  content: '…';
}

#feed-stream-mount {
  will-change: transform;
}

.sf-feed-ptr.is-refreshing::before {
  content: none;
  display: none;
}

@keyframes sf-feed-ptr-spin {
  to { transform: rotate(360deg); }
}

.sf-feed-sentinel {
  height: 1px;
}

.sf-media-lightbox-close {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: calc(12px + env(safe-area-inset-right, 0px));
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}

.sf-media-lightbox-close:hover,
.sf-media-lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.sf-media-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 56px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}
}

.sf-media-lightbox-nav:hover,
.sf-media-lightbox-nav:focus-visible {
  background: rgba(0, 194, 203, 0.25);
  color: #00C2CB;
  outline: none;
}

.sf-media-lightbox-prev {
  left: 0;
}

.sf-media-lightbox-next {
  right: 0;
}

.sf-media-lightbox-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(10, 22, 40, 0.75);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  pointer-events: none;
}

@media (max-width: 767px) {
  .sf-media-lightbox {
    padding: 0;
    z-index: 15000;
  }

  .sf-media-lightbox-stage {
    max-width: 100vw;
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }

  .sf-media-lightbox-viewport {
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 88px);
    width: auto;
    height: auto;
  }

  .sf-media-lightbox-img:not([hidden]),
  .sf-media-lightbox-video:not([hidden]) {
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 88px);
    width: auto;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  }

  .sf-media-lightbox-backdrop {
    background: rgba(10, 22, 40, 0.97);
    cursor: pointer;
  }

  .sf-media-lightbox-nav {
    display: none;
  }

  .sf-media-lightbox-counter {
    display: none;
  }

  .sf-media-lightbox-close {
    top: calc(10px + env(safe-area-inset-top, 0px));
    right: calc(10px + env(safe-area-inset-right, 0px));
  }
}

@media (min-width: 768px) {
  .sf-media-lightbox {
    padding: 28px 40px;
  }

  .sf-media-lightbox-img:not([hidden]),
  .sf-media-lightbox-video:not([hidden]) {
    max-height: calc(100vh - 96px);
  }
}

.sf-composer-submit {
  margin-left: auto;
  min-width: 108px;
}

.sf-composer-status {
  margin: 0;
  flex: 1;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.65);
}

.sf-composer-status.is-error {
  color: #ff8a8a;
}

.sf-composer-status.is-ok {
  color: #00C2CB;
}

/* Feed posts — flat rows, no card boxes */
.sf-feed-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 100%;
  overflow-x: clip;
}

.sf-post {
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
  border: none;
  border-radius: 0;
  padding: 14px 0;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sf-feed-list > .sf-post:last-child,
.sf-feed-stream > .sf-post:last-child,
.sf-feed-group-posts > .sf-post:last-child {
  border-bottom: none;
}

.sf-post-layout {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
  max-width: 100%;
}

.sf-post-avatar-col {
  padding-top: 2px;
}

.sf-post-main {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

.sf-post-main[data-open-post] {
  cursor: pointer;
}

.sf-post-main[data-open-post] .sf-post-actions,
.sf-post-main[data-open-post] .sf-post-menu,
.sf-post-main[data-open-post] a,
.sf-post-main[data-open-post] button {
  cursor: default;
}

.sf-post-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.sf-post-menu {
  position: relative;
  flex-shrink: 0;
  margin: -4px -4px 0 0;
}

.sf-post-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.sf-post-menu-btn:hover,
.sf-post-menu-btn:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
}

.sf-post-menu-list {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 25;
  min-width: 168px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: #0f1f35;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42);
}

.sf-post-menu-list[hidden] {
  display: none;
}

.sf-post-menu-kind-row {
  padding: 4px 10px 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 4px;
}

.sf-post-menu-item {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.sf-post-menu-item:hover,
.sf-post-menu-item:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.sf-post-menu-item--danger {
  color: #ff8a8a;
}

.sf-post-menu-divider {
  height: 1px;
  margin: 4px 0;
  background: rgba(255, 255, 255, 0.08);
  list-style: none;
}

.sf-post-edit-input {
  display: block;
  width: 100%;
  min-height: 88px;
  margin: 0 0 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-body, #e0e0e0);
  font: inherit;
  line-height: 1.45;
  resize: vertical;
}

.sf-post-edit-input:focus {
  outline: 2px solid rgba(0, 194, 203, 0.45);
  outline-offset: 1px;
}

.sf-post-edit-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.sf-post-edit-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.sf-post-edit-attach.btn {
  padding: 4px 10px;
  font-size: 12px;
}

.sf-post-edit-media-wrap {
  margin-top: 8px;
}

.sf-composer-attach-tools {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sf-emoji-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.sf-emoji-btn:hover,
.sf-emoji-btn:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.sf-emoji-pop {
  position: absolute;
  z-index: 40;
  margin-top: 6px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: #0f1f35;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.sf-composer-emoji-anchor,
.sf-post-edit-emoji-anchor {
  position: relative;
  display: inline-flex;
}

.sf-emoji-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  width: min(280px, 72vw);
}

.sf-emoji-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.sf-emoji-choice:hover,
.sf-emoji-choice:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.sf-post-edit-btn {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.sf-post-edit-save {
  border-color: rgba(0, 194, 203, 0.45);
  color: #00c2cb;
}

.sf-post-edit-btn:hover,
.sf-post-edit-btn:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.sf-author {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  flex: 1;
  margin-bottom: 0;
}

.sf-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 194, 203, 0.15);
  color: #00C2CB;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.sf-avatar--img {
  object-fit: cover;
  display: block;
}

.sf-author-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: baseline;
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
}

.sf-author-dot {
  margin: 0 5px;
  color: rgba(255, 255, 255, 0.35);
}

.sf-author-name {
  font-weight: 700;
  color: #fff;
  font-size: 14px;
}

.sf-author-flag {
  display: inline-block;
  width: 16px;
  height: 12px;
  margin-left: 4px;
  border-radius: 2px;
  vertical-align: -1px;
  object-fit: cover;
}

.sf-author-handle, .sf-author-time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.sf-post-body {
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  white-space: pre-wrap;
  margin: 0;
}

.sf-post-body .sf-mention,
.sf-mention {
  color: #00C2CB;
  text-decoration: none;
  font-weight: 600;
}

.sf-post-body .sf-mention:hover,
.sf-post-body .sf-mention:focus-visible,
.sf-mention:hover,
.sf-mention:focus-visible {
  color: #00C2CB;
  opacity: 0.88;
}

.sf-post--quoted .sf-post-body {
  margin-bottom: 10px;
}

.sf-post--sourced {
  padding-top: 0;
}

.sf-post-source {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px 10px;
  width: calc(100% + 28px);
  margin: -12px -14px 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 194, 203, 0.22);
  background: rgba(0, 194, 203, 0.06);
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  transition: background 0.15s;
  box-sizing: border-box;
}

.sf-post-source:hover {
  background: rgba(0, 194, 203, 0.1);
}

.sf-post-source-kind {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00C2CB;
  flex-shrink: 0;
}

.sf-post-source-visual {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.sf-source-flag {
  border-radius: 2px;
}

.sf-source-photo {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.sf-source-photo--placeholder {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
}

.sf-post-source-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sf-post-source-score {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 15px;
  color: #00C2CB;
}

.sf-post-source-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.sf-post-source-arrow {
  flex-shrink: 0;
  margin-left: auto;
  color: rgba(0, 194, 203, 0.75);
  font-size: 14px;
}

.sf-post-quote {
  margin-top: 4px;
  margin-bottom: 4px;
}

.sf-composer-quote-wrap {
  border: 1px solid rgba(0, 194, 203, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  background: rgba(0, 194, 203, 0.05);
}

.sf-composer-quote-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.sf-composer-quote-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00C2CB;
  font-weight: 700;
}

.sf-composer-quote-clear {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.sf-quote-badge {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00C2CB;
  margin-bottom: 10px;
}

.sf-quote-card {
  display: block;
  border: 1px solid rgba(0, 194, 203, 0.35);
  border-radius: 14px;
  padding: 14px 16px;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.15s, border-color 0.15s;
}

.sf-quote-card:hover {
  background: rgba(0, 194, 203, 0.08);
  border-color: rgba(0, 194, 203, 0.55);
}

.sf-quote-match-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.sf-quote-side {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.sf-quote-side--away {
  justify-content: flex-end;
  text-align: right;
}

.sf-quote-side-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  line-height: 1.2;
}

.sf-quote-score {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.75);
  padding: 0 6px;
  white-space: nowrap;
}

.sf-quote-score--live {
  color: #00C2CB;
}

.sf-quote-meta {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.sf-quote-player-row {
  display: flex;
  gap: 14px;
  align-items: center;
}

.sf-quote-photo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sf-quote-photo--placeholder {
  display: block;
  background: rgba(255, 255, 255, 0.06);
}

.sf-quote-team-flag {
  width: 48px;
  height: auto;
  flex-shrink: 0;
}

.sf-quote-post-body {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  white-space: pre-wrap;
}

.sf-quote-flag {
  flex-shrink: 0;
}

.sf-quote-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.sf-quote-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
}

.sf-quote-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.sf-post-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding-top: 0;
  border-top: none;
}

.sf-action {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.sf-action:hover,
.sf-action:focus-visible {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.05);
}

.sf-action.is-active {
  color: #00C2CB;
  background: rgba(0, 194, 203, 0.08);
}

.sf-post-reply-context {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(224, 224, 224, 0.72);
}

.sf-reply-context-link {
  color: #00C2CB;
  text-decoration: none;
}

.sf-reply-context-link:hover {
  text-decoration: underline;
}

.sf-post--reply {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sf-post--reply .sf-post-layout {
  gap: 8px;
}

.sf-post--reply .sf-avatar,
.sf-post--reply .sf-avatar--img {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

.sf-post-replies {
  margin-top: 6px;
}

.sf-post-replies-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sf-post-view-replies {
  border: none;
  background: transparent;
  color: #00C2CB;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 0;
  cursor: pointer;
  text-align: left;
}

.sf-post-view-replies:hover,
.sf-post-view-replies:focus-visible {
  opacity: 0.88;
  outline: none;
}

.sf-post-view-replies:disabled,
.sf-post-view-replies[aria-busy="true"] {
  opacity: 0.75;
  cursor: wait;
  text-decoration: none;
}

.sf-post--root.sf-post--highlight {
  outline: 2px solid rgba(0, 194, 203, 0.55);
  outline-offset: 2px;
  border-radius: 8px;
}

.sf-post-reply-slot {
  margin-top: 8px;
}

.sf-post-reply-input {
  display: block;
  width: 100%;
  min-height: 72px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--text-body, #e0e0e0);
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
  resize: none;
}

.sf-post-reply-input::placeholder {
  color: rgba(224, 224, 224, 0.45);
}

.sf-post-reply-input:focus {
  outline: none;
  border-color: rgba(0, 194, 203, 0.45);
  box-shadow: 0 0 0 2px rgba(0, 194, 203, 0.12);
}

.sf-post-reply-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}
.sf-post-reply-tools {
  display: flex;
  align-items: center;
  gap: 2px;
}

.sf-post-reply-attach {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #00C2CB;
  cursor: pointer;
  flex-shrink: 0;
}

.sf-post-reply-attach:hover,
.sf-post-reply-attach:focus-visible {
  background: rgba(0, 194, 203, 0.1);
  outline: none;
}

.sf-post-reply-attach-match {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #00C2CB;
  cursor: pointer;
  flex-shrink: 0;
}
.sf-post-reply-attach-match:hover,
.sf-post-reply-attach-match:focus-visible {
  background: rgba(0, 194, 203, 0.1);
  outline: none;
}

.sf-reply-quote-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(0, 194, 203, 0.06);
  border: 1px solid rgba(0, 194, 203, 0.2);
  font-size: 12px;
}
.sf-reply-quote-label {
  flex: 1;
  font-weight: 600;
  color: var(--teal, #00C2CB);
}
.sf-reply-quote-remove {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.sf-reply-quote-remove:hover {
  color: #fff;
}

.sf-post-reply-media-status {
  margin: 6px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.sf-post-reply-media-status.is-error {
  color: #ff8a8a;
}

.sf-post-reply-media-wrap {
  margin-top: 10px;
}

.sf-post-reply-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.sf-post-reply-cancel {
  padding: 8px 10px;
  border: none;
  background: transparent;
  color: rgba(224, 224, 224, 0.62);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.sf-post-reply-cancel:hover,
.sf-post-reply-cancel:focus-visible {
  color: #fff;
  outline: none;
}

.sf-post-reply-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 18px;
  border: none;
  border-radius: 999px;
  background: #00C2CB;
  color: #0A1628;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  flex-shrink: 0;
}

.sf-post-reply-submit:hover,
.sf-post-reply-submit:focus-visible {
  background: #33cdd4;
  outline: none;
}

.sf-post-reply-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Never inherit composer .btn label styles on reply attach */
.sf-post-reply-attach.btn {
  width: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border: none;
  font-size: 0;
  letter-spacing: 0;
  text-transform: none;
}

.sf-action--muted {
  color: rgba(255, 255, 255, 0.5);
}

/* User profile */
.up-hero {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.up-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 32px;
  background: rgba(0, 194, 203, 0.15);
  color: #00C2CB;
  flex-shrink: 0;
}

.up-avatar--img {
  object-fit: cover;
}

.up-avatar-btn {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: 50%;
  line-height: 0;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.up-avatar-btn:focus-visible {
  outline: 2px solid #00C2CB;
  outline-offset: 3px;
}

.up-avatar-btn .up-avatar--img {
  display: block;
  width: 88px;
  height: 88px;
  max-width: 88px;
  max-height: 88px;
  object-fit: cover;
  border-radius: 50%;
}

.up-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 4px;
  color: #fff;
  text-transform: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 4px;
}

.up-handle {
  color: #00C2CB;
  font-size: 15px;
  margin-bottom: 6px;
}

.up-country, .up-joined {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 4px;
}

.up-bio {
  font-size: 15px;
  line-height: 1.55;
  margin: 10px 0;
  max-width: 52ch;
}

.up-hero-actions {
  margin-top: 14px;
}

.up-follow-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.up-follow-status {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.65);
  max-width: 28ch;
}

.up-follow-status.is-error {
  color: #ff8a8a;
}

#up-follow-btn.is-following {
  border-color: #00C2CB;
  color: #00C2CB;
}

.up-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

.up-stat {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}

button.up-stat {
  width: 100%;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

button.up-stat:hover {
  border-color: rgba(0, 194, 203, 0.45);
}

.up-stat-num {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #fff;
}

.up-stat-lab {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.up-team-flair {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0, 194, 203, 0.28);
  background: rgba(0, 194, 203, 0.08);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.up-team-flair:hover,
.up-team-flair:focus-visible {
  border-color: rgba(0, 194, 203, 0.55);
  color: #fff;
}

.up-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  gap: 16px;
  margin-bottom: 28px;
}

.up-showcase-main,
.up-showcase-side {
  min-width: 0;
}

.up-showcase-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.up-showcase-eyebrow {
  margin: 0 0 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00C2CB;
}

.up-player-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.up-showcase-eyebrow--block {
  margin-bottom: 2px;
}

.up-player-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(0, 194, 203, 0.2);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  min-height: 88px;
}

.up-player-card-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 12px;
  align-items: center;
  min-height: 88px;
  padding: 12px 14px;
  color: inherit;
  text-decoration: none;
}

.up-player-card-body {
  min-width: 0;
}

.up-player-card-name {
  margin: 0 0 2px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.05;
  color: #fff;
  text-transform: uppercase;
}

.up-player-card-team {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.up-player-card-visual {
  flex-shrink: 0;
  justify-self: end;
}

.up-player-photo--card {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.14);
}

.up-player-card-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(10, 22, 40, 0.78);
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.up-player-card--add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 88px;
  padding: 12px;
  border-style: dashed;
  background: transparent;
  color: #00C2CB;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.up-player-card-add-icon {
  font-size: 22px;
  line-height: 1;
}

.up-player-card--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 12px 14px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.12);
}

.up-player-card-empty-title {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.up-player-spotlight {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(0, 194, 203, 0.22);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(0, 194, 203, 0.18), transparent 55%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.up-player-spotlight-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
}

.up-player-spotlight--empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 18px 16px;
}

.up-spotlight-glow {
  position: absolute;
  right: -20px;
  top: -30px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 203, 0.22), transparent 68%);
  pointer-events: none;
}

.up-spotlight-body {
  position: relative;
  z-index: 1;
}

.up-spotlight-name {
  margin: 0 0 2px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(1.65rem, 3.5vw, 2.2rem);
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
}

.up-spotlight-team {
  margin: 0 0 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.up-spotlight-cta {
  display: inline-flex;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00C2CB;
}

.up-spotlight-visual {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.up-player-photo {
  display: block;
  border-radius: 16px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.up-player-photo--hero {
  width: 112px;
  height: 112px;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.18);
}

.up-player-photo--bench {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

.up-player-photo--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: #00C2CB;
  background: linear-gradient(160deg, rgba(0, 194, 203, 0.22), rgba(255, 255, 255, 0.04));
}

.up-spotlight-empty-title {
  margin: 0 0 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.65rem;
  color: #fff;
}

.up-spotlight-empty-copy {
  margin: 0 0 16px;
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

.up-spotlight-remove,
.up-bench-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(10, 22, 40, 0.72);
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.up-bench-remove {
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  font-size: 16px;
}

.up-player-bench {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.up-player-bench-card {
  position: relative;
}

.up-player-bench-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 150px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  text-decoration: none;
}

.up-player-bench-link:hover,
.up-player-bench-link:focus-visible {
  border-color: rgba(0, 194, 203, 0.35);
}

.up-bench-name {
  font-weight: 700;
  font-size: 14px;
}

.up-player-bench-add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(0, 194, 203, 0.35);
  background: transparent;
  color: #00C2CB;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.up-player-bench-add-icon {
  font-size: 18px;
  line-height: 1;
}

.up-team-pride {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  color: inherit;
  text-decoration: none;
}

.up-team-pride + .up-team-pride {
  margin-top: 10px;
}

.up-team-pride:hover,
.up-team-pride:focus-visible {
  border-color: rgba(0, 194, 203, 0.35);
}

.up-team-pride-mark {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.up-team-flag,
.up-team-logo {
  display: block;
  border-radius: 8px;
  object-fit: contain;
}

.up-team-pride-name {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.45rem;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
}

.up-team-pride--empty {
  display: block;
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.up-team-pride-empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.up-vault {
  margin-top: auto;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.up-vault-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.up-vault-title {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  text-transform: uppercase;
}

.up-vault-soon {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.up-vault-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.up-vault-slot {
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  border: 1px dashed rgba(0, 194, 203, 0.22);
  background: linear-gradient(160deg, rgba(0, 194, 203, 0.06), rgba(255, 255, 255, 0.02));
}

.up-vault-copy {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

.up-identity {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.up-identity-block {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.up-identity-block h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00C2CB;
  margin-bottom: 10px;
}

.up-identity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.up-identity-head h2 {
  margin-bottom: 0;
}

.btn--sm {
  padding: 6px 12px;
  font-size: 12px;
  min-height: 36px;
}

.up-fav-chip-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pl-hero-actions .btn.is-active {
  border-color: rgba(0, 194, 203, 0.45);
  background: rgba(0, 194, 203, 0.12);
  color: #00C2CB;
}

.up-fav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.up-fav-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: #fff;
  text-decoration: none;
}

.up-fav-chip-link {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.up-fav-chip-link:hover,
.up-fav-chip-link:focus-visible {
  color: var(--teal);
}

.up-tabs, .pl-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 20px;
  padding-bottom: 4px;
}

.up-tab, .pl-tab {
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
}

.up-tab.is-active, .pl-tab.is-active {
  border-color: #00C2CB;
  color: #00C2CB;
  background: rgba(0, 194, 203, 0.08);
}

/* Profile — FanPicks (discreet toggle + flat list) */
.up-fanpicks-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  border: none;
  background: none;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  cursor: pointer;
  transition: color 140ms ease;
}

.up-fanpicks-toggle:hover,
.up-fanpicks-toggle:focus-visible {
  color: #00C2CB;
}

.up-fanpicks-toggle-meta {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.38);
}

.up-fanpicks-toggle:hover .up-fanpicks-toggle-meta,
.up-fanpicks-toggle:focus-visible .up-fanpicks-toggle-meta {
  color: rgba(0, 194, 203, 0.75);
}

.up-fanpick-list {
  display: flex;
  flex-direction: column;
}

.up-fanpick-row {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.up-fanpick-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

body.profile-page .up-fanpick-row .fp-match-line {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  margin: 0;
  font-family: 'Barlow Condensed', var(--font-display), sans-serif;
  font-size: clamp(18px, 4.2vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.96);
  text-decoration: none;
  cursor: pointer;
}

body.profile-page .up-fanpick-row .fp-match-line:hover,
body.profile-page .up-fanpick-row .fp-match-line:focus-visible {
  color: rgba(255, 255, 255, 0.96);
  text-decoration: none;
}

body.profile-page .up-fanpick-row .fp-match-line:hover .fp-match-line-team,
body.profile-page .up-fanpick-row .fp-match-line:focus-visible .fp-match-line-team {
  color: #00C2CB;
}

body.profile-page .up-fanpick-row .fp-match-line-team {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.98);
  white-space: nowrap;
}

body.profile-page .up-fanpick-row .fp-match-line-score {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.98);
  white-space: nowrap;
}

body.profile-page .up-fanpick-row .fp-match-line-vs {
  font-size: 0.72em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
  padding: 0 2px;
}

body.profile-page .up-fanpick-row .fp-match-line-flag {
  display: inline-block;
  width: 22px;
  height: 16px;
  max-width: 22px;
  object-fit: cover;
  flex-shrink: 0;
  border: none;
  border-radius: 1px;
  vertical-align: middle;
}

body.profile-page .up-fanpick-row .fp-match-line-live {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #00C2CB;
  white-space: nowrap;
}

body.profile-page .up-fanpick-row .fp-match-line-sub {
  margin: 6px 0 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.45);
}

.up-fanpick-match {
  text-align: center;
}

.up-fanpick-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  max-width: 100%;
}

.up-fanpick-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0;
  max-width: min(100%, 420px);
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.up-fanpick-pick-main {
  color: #00C2CB;
}

.up-fanpick-pick-score {
  display: block;
  font-family: 'Barlow Condensed', var(--font-display), sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.up-fanpick-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
}

.up-fanpick-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: 'Barlow Condensed', var(--font-display), sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.up-fanpick-badge.is-open {
  background: rgba(0, 194, 203, 0.12);
  color: #00C2CB;
}

.up-fanpick-badge.is-closed {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
}

.up-fanpick-badge.is-correct {
  background: rgba(0, 194, 203, 0.16);
  color: #00C2CB;
}

.up-fanpick-badge.is-incorrect {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.38);
}

.up-fanpick-detail {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.up-fanpick-chip {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.38);
  white-space: nowrap;
}

.up-fanpick-chip.is-hit {
  color: #00C2CB;
  font-weight: 600;
}

.up-fanpick-chip.is-miss {
  color: rgba(255, 255, 255, 0.32);
}

.up-fanpick-pts {
  font-family: 'Barlow Condensed', var(--font-display), sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.38);
  white-space: nowrap;
}

.up-fanpick-pts.is-win {
  color: #00C2CB;
}

.pl-tab--soon {
  opacity: 0.55;
}

/* Player page */
.pl-shell {
  max-width: 960px;
  margin: 0 auto;
}

body.player-page .sf-wrap--wide {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.player-page #player-root {
  width: 100%;
  max-width: 960px;
}

.pl-hero--premium {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 32px);
  align-items: start;
  margin-bottom: 24px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 20px;
  border: 1px solid rgba(0, 194, 203, 0.25);
  background: linear-gradient(135deg, rgba(0, 194, 203, 0.08) 0%, rgba(255, 255, 255, 0.02) 55%);
}

.pl-hero-visual {
  flex-shrink: 0;
}

.pl-hero-photo-wrap {
  position: relative;
  display: inline-block;
}

.pl-hero-shirt {
  position: absolute;
  right: -6px;
  bottom: -6px;
  min-width: 36px;
  padding: 6px 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, #1a3a6e 0%, #0A1628 100%);
  border: 2px solid rgba(0, 194, 203, 0.5);
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.pl-hero {
  display: flex;
  gap: clamp(16px, 3vw, 28px);
  align-items: flex-start;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pl-hero-photo {
  width: clamp(120px, 18vw, 160px);
  height: clamp(120px, 18vw, 160px);
  border-radius: 18px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(0, 194, 203, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.pl-hero-photo--placeholder {
  background: rgba(255, 255, 255, 0.06);
}

.pl-hero-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 8px;
  color: #fff;
  text-transform: none;
}

.pl-hero-team, .pl-hero-meta {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  text-decoration: none;
}

a.pl-hero-team:hover {
  color: #00C2CB;
}

.pl-kpi-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

.pl-kpi {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}

.pl-kpi--accent .pl-kpi-val {
  color: #00C2CB;
}

.pl-kpi-val {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: #fff;
  line-height: 1;
}

.pl-kpi-lab {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.pl-form {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 4px;
}

.pl-form-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.pl-form-dots {
  display: flex;
  gap: 6px;
}

.pl-form-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.pl-form-dot--goal { background: #00C2CB; }
.pl-form-dot--hot { background: #00C2CB; box-shadow: 0 0 0 2px rgba(0, 194, 203, 0.35); }
.pl-form-dot--good { background: rgba(0, 194, 203, 0.65); }
.pl-form-dot--low { background: rgba(255, 120, 100, 0.75); }

.pl-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 16px;
}

.pl-overview-grid--facts {
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
}

.pl-overview-card--primary {
  border-color: rgba(0, 194, 203, 0.22);
  background: rgba(0, 194, 203, 0.04);
}

.pl-overview-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.pl-overview-card h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00C2CB;
  margin: 0 0 14px;
}

.pl-facts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pl-facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.pl-facts li span {
  color: rgba(255, 255, 255, 0.55);
}

.pl-facts li strong {
  color: #fff;
  font-weight: 600;
}

.pl-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pl-season-note-wrap {
  margin: -8px 0 16px;
}

.pl-season-note {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.pl-injured-badge {
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffb4a8;
  background: rgba(255, 120, 100, 0.12);
  border: 1px solid rgba(255, 120, 100, 0.35);
  border-radius: 4px;
  padding: 3px 8px;
}

.pl-squad-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pl-squad-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.pl-squad-team {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

a.pl-squad-link {
  color: #00C2CB;
  text-decoration: none;
}

a.pl-squad-link:hover,
a.pl-squad-link:focus-visible {
  color: #00C2CB;
  opacity: 0.88;
}

.pl-squad-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-align: right;
  white-space: nowrap;
}

.pl-panel-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
}

.pl-panel-title--sub {
  margin-top: 28px;
}

.pl-comp-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pl-comp-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.02);
}

.pl-comp-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.pl-comp-logo {
  border-radius: 6px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.pl-comp-title {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.pl-comp-team {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.pl-comp-logo--ph {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.pl-comp-kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pl-comp-kpi {
  flex: 1 1 80px;
  min-width: 72px;
  padding: 10px 8px;
  border-radius: 10px;
  background: rgba(10, 22, 40, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.pl-comp-kpi--accent .pl-comp-kpi-val {
  color: #00C2CB;
}

.pl-comp-kpi-val {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.pl-comp-kpi-lab {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.pl-comp-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.pl-comp-metric {
  padding: 10px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.pl-comp-metric--accent .pl-comp-metric-val {
  color: #00C2CB;
}

.pl-comp-metric-val {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.pl-comp-metric-lab {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.pl-overview-card--wide {
  grid-column: 1 / -1;
}

.pl-stats-empty,
.pl-overview-card .sf-empty,
.pl-overview-card > .sf-muted {
  text-align: center;
  padding: 28px 16px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
}

.pl-match-group {
  margin-bottom: 24px;
}

.pl-match-group-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 194, 203, 0.9);
  margin: 0 0 12px;
}

.pl-match-teams-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.pl-match-teams-link:hover,
.pl-match-teams-link:focus-visible {
  color: #00C2CB;
}

.pl-match-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pl-match-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.02);
}

.pl-match-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.pl-match-teams {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.pl-match-score {
  color: #00C2CB;
  padding: 0 6px;
}

.pl-match-perf {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.pl-ai-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 194, 203, 0.85);
  margin: 0 0 6px;
}

.pl-ai-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pl-ai-foot p {
  margin: 0 0 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.pl-ai-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00C2CB;
  margin-right: 6px;
}

/* Player page — professional layout */
body.player-page .pl-shell--pro {
  max-width: 1040px;
}

.pl-hero--pro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 3vw, 28px);
  align-items: start;
  margin-bottom: 20px;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent;
}

.pl-section-label {
  margin: 0 0 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.pl-hero--pro .pl-hero-photo {
  width: 128px;
  height: 128px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.pl-hero--pro .pl-hero-shirt {
  right: 4px;
  bottom: 4px;
  min-width: 30px;
  padding: 4px 8px;
  font-size: 14px;
  background: rgba(10, 22, 40, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  box-shadow: none;
}

.pl-hero--pro .pl-hero-name {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  margin-bottom: 6px;
}

.pl-hero-club {
  margin: 0 0 4px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.pl-hero-club-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-right: 6px;
}

.pl-hero-national {
  margin: 0 0 6px;
}

.pl-hero-national-label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2px;
}

.pl-hero-club-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.pl-hero-club--pending {
  color: rgba(255, 255, 255, 0.5);
}

.pl-hero-summary {
  margin: 0 0 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
}

.pl-hero-teams {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  max-width: 420px;
}

.pl-hero-team-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pl-hero-team-key {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.pl-hero-team-val {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.pl-hero-team-val--club {
  color: #00C2CB;
}

.pl-hero-team-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}

.pl-hero-team-link:hover {
  color: #00C2CB;
}

.pl-glance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pl-glance-item {
  padding: 14px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pl-glance-item--club .pl-glance-val {
  color: #00C2CB;
}

.pl-glance-lab {
  display: block;
  margin-bottom: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.pl-glance-val {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.pl-glance-note {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
}

.pl-section-lead {
  margin: -4px 0 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.pl-season-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pl-stat-details {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

.pl-stat-details summary {
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #00C2CB;
  list-style: none;
}

.pl-stat-details summary::-webkit-details-marker {
  display: none;
}

.pl-stat-details[open] summary {
  margin-bottom: 10px;
}

.pl-kpi-bar--pro {
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.pl-kpi-bar--pro .pl-kpi {
  border: none;
  border-radius: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 8px;
  background: rgba(255, 255, 255, 0.02);
}

.pl-kpi-bar--pro .pl-kpi:last-child {
  border-right: none;
}

.pl-kpi-bar--pro .pl-kpi-val {
  font-size: 1.35rem;
  font-weight: 700;
}

.pl-kpi-bar--pro .pl-kpi--accent .pl-kpi-val {
  color: #fff;
}

.pl-form--pro {
  margin-top: 10px;
}

.pl-form-row {
  display: flex;
  gap: 6px;
}

.pl-form-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.03);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.pl-tabs--pro {
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

body.player-page .pl-tabs--pro .pl-tab {
  border-radius: 0;
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

body.player-page .pl-tabs--pro .pl-tab.is-active {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.75);
  background: transparent;
}

.pl-section {
  margin-bottom: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pl-section--wide {
  width: 100%;
}

.pl-section-title {
  margin: 0 0 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.pl-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pl-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.pl-data-table th,
.pl-data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.pl-data-table thead th {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pl-data-table tbody th {
  width: 42%;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.pl-data-table tbody td {
  color: #fff;
  font-weight: 600;
}

.pl-data-table--compact tbody th {
  width: 50%;
  padding: 8px 10px;
  font-size: 13px;
}

.pl-data-table--compact tbody td {
  padding: 8px 10px;
  font-size: 13px;
}

.pl-clubs-table .pl-club-name {
  font-weight: 600;
  white-space: nowrap;
}

.pl-club-link {
  color: #fff;
  text-decoration: none;
}

.pl-club-link:hover,
.pl-club-link:focus-visible {
  color: #00C2CB;
}

.pl-club-current {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.pl-club-row--current td {
  background: rgba(255, 255, 255, 0.03);
}

.pl-comp-list--pro {
  gap: 12px;
}

.pl-comp-card--pro {
  margin: 0;
}

.pl-comp-badge {
  display: inline-block;
  margin-bottom: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pl-comp-card--pro .pl-comp-kpi-row {
  margin: 12px 0;
}

.pl-comp-card--pro .pl-comp-team {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
}

.pl-comp-block {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pl-comp-block:last-child {
  border-bottom: none;
}

.pl-comp-head--pro {
  margin-bottom: 10px;
}

.pl-comp-club {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.pl-comp-club-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-right: 4px;
}

.pl-comp-head--pro .pl-comp-title {
  font-size: 16px;
  font-weight: 700;
}

.pl-match-card--pro {
  border-radius: 4px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
}

.pl-match-card--pro .pl-match-teams {
  font-size: 16px;
  font-weight: 700;
}

.pl-match-card--pro .pl-match-score {
  color: #fff;
  font-weight: 800;
}

.pl-ai-card--pro {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.pl-ai-card--pro .pl-ai-title {
  margin: 0 0 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.pl-ai-card--pro .pl-ai-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.pl-squad-row {
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  padding: 10px 0;
  background: transparent;
}

@media (max-width: 767px) {
  .pl-kpi-bar--pro {
    grid-template-columns: repeat(3, 1fr);
  }

  .pl-kpi-bar--pro .pl-kpi:nth-child(3) {
    border-right: none;
  }

  .pl-kpi-bar--pro .pl-kpi:nth-child(n+4) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .pl-hero--pro {
    grid-template-columns: 1fr;
  }

  .pl-overview-grid--facts {
    grid-template-columns: 1fr;
  }

  .pl-glance-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pl-hero-team-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.pl-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.pl-followers {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.pl-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.pl-stat-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.pl-stat-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}

.pl-stat-val {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #fff;
}

.pl-ai-card {
  border: 1px solid rgba(0, 194, 203, 0.3);
  border-radius: 16px;
  padding: 24px;
  background: rgba(0, 194, 203, 0.06);
}

.pl-ai-card h2 {
  font-family: 'Barlow Condensed', sans-serif;
  color: #00C2CB;
  margin-bottom: 10px;
}

.pl-disc-actions {
  margin-bottom: 16px;
}

.sf-share-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

/* Settings */
.sf-settings {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.sf-avatar-settings-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.sf-avatar-settings-preview {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sf-avatar-settings-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-avatar-settings-fallback {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #00C2CB;
}

.sf-avatar-settings-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1 1 200px;
}

.sf-avatar-settings-status {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.sf-avatar-settings-status.is-error {
  color: #ff8a8a;
}

.sf-avatar-settings-status.is-ok {
  color: #00C2CB;
}

.sf-field label, .sf-field legend {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}

.sf-field input, .sf-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 12px 14px;
  font-size: 15px;
  border-radius: 8px;
}

.sf-settings-soon {
  margin-top: 32px;
  opacity: 0.7;
}

.sf-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.sf-field-row h2 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  color: #fff;
}

.sf-chip-remove {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0 4px;
  font-size: 16px;
  line-height: 1;
}

.sf-composer-pick {
  margin-bottom: 12px;
}

.sf-composer-pick[hidden],
.sf-composer-quote-wrap[hidden] {
  display: none !important;
}

.sf-picker-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(10, 22, 40, 0.82);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 16px;
}

.sf-picker {
  width: 100%;
  max-width: 480px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: #0A1628;
  padding: 20px;
  max-height: min(80vh, 560px);
  overflow: auto;
}

.sf-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.sf-picker-head h2 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  color: #fff;
}

.sf-picker-close {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.sf-picker-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.sf-picker-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  text-decoration: none;
}

.sf-picker-item:hover {
  border-color: rgba(0, 194, 203, 0.4);
}

.pl-match-table-wrap {
  overflow-x: auto;
}

.pl-match-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.pl-match-table th,
.pl-match-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.pl-match-table th {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.pl-section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  margin: 24px 0 12px;
  color: #fff;
}

.pl-ai-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 16px 0;
}

.pl-ai-cols ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.85);
}

.pl-ai-form {
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .sf-feed-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .sf-feed-side--right {
    display: none;
  }
}

@media (max-width: 820px) {
  .sf-feed-layout {
    grid-template-columns: 1fr;
  }

  .sf-feed-side--left {
    position: static;
  }

  .sf-feed-side--right {
    display: none;
  }
}

/* ── Feed reading mode: flat timeline, Fanalytics typography ── */
body.feed-page .sf-feed-head h1,
body.feed-page .fa-page-title {
  font-family: var(--font-display, 'Barlow Condensed', 'Arial Narrow', sans-serif);
  font-weight: 900;
  font-size: clamp(32px, 6vw, 44px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  color: #fff;
}

body.feed-page .sf-feed-head h1 .f,
body.feed-page .sf-feed-head h1 .rest,
body.feed-page .fa-page-title .f,
body.feed-page .fa-page-title .rest {
  color: #fff;
  font-weight: 900;
}

@media (max-width: 767px) {
  body.feed-page .sf-feed-head h1,
  body.feed-page .fa-page-title,
  .sf-page-head h1 {
    font-size: clamp(22px, 5.5vw, 26px);
    letter-spacing: 0.035em;
    line-height: 1.08;
  }
}

body.feed-page .sf-lead {
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.58);
}

body.feed-page .sf-feed-tabs-wrap {
  margin-bottom: 0;
}

body.feed-page .sf-feed-tabs--primary {
  gap: 0;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

body.feed-page .sf-feed-tabs--primary .sf-feed-tab {
  flex: 1 1 0;
  font-size: 13px;
  padding: 12px 6px;
}

body.feed-page .sf-feed-circle-tabs {
  padding: 8px 0 6px;
}

body.feed-page .sf-feed-tabs {
  gap: 4px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

body.feed-page .sf-feed-tab {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.5);
}

body.feed-page .sf-feed-tab.is-active {
  color: #fff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.75);
  background: transparent;
}

body.feed-page .sf-feed-tab--action {
  color: rgba(255, 255, 255, 0.55);
  border: none;
  border-radius: 0;
}

body.feed-page .sf-feed-tab--dropdown[aria-expanded="true"] {
  color: #fff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.75);
}

body.feed-page .sf-feed-dropdown-menu {
  border-color: rgba(255, 255, 255, 0.1);
}

body.feed-page .sf-feed-dropdown-option {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

body.feed-page .sf-feed-dropdown-option.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

body.feed-page .sf-circle-toolbar {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

body.feed-page .sf-feed-list,
body.feed-page .sf-feed-stream {
  gap: 0;
}

body.feed-page .sf-post {
  border: none;
  border-radius: 0;
  padding: 14px 0;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

body.feed-page .sf-post--sourced {
  padding-top: 14px;
}

body.feed-page .sf-feed-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.feed-page .sf-feed-group-head {
  padding: 12px 0 4px;
}

body.feed-page .sf-feed-group-head--match {
  padding-bottom: 8px;
}

body.feed-page .sf-feed-group-match {
  margin-top: 4px;
}

body.feed-page .sf-feed-group-match .sf-quote-card--match {
  display: inline-block;
  width: auto;
  max-width: min(100%, 240px);
  padding: 6px 8px;
  border-radius: 8px;
}

body.feed-page .sf-feed-group-match .sf-quote-badge {
  display: none;
}

body.feed-page .sf-feed-group-match .sf-quote-side-name {
  font-size: 11px;
}

body.feed-page .sf-feed-group-match .sf-quote-score {
  font-size: 13px;
}

body.feed-page .sf-feed-group-match .sf-quote-flag {
  width: 16px;
  height: 12px;
}

body.feed-page .sf-feed-group-label {
  margin: 0 0 4px;
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

body.feed-page .sf-feed-group-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
}

body.feed-page .sf-feed-group-link:hover,
body.feed-page .sf-feed-group-link:focus-visible {
  color: #fff;
}

body.feed-page .sf-feed-group-visual {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

body.feed-page .sf-feed-group-title {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.25;
}

body.feed-page .sf-feed-group-score,
body.feed-page .sf-post-context-score {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: 15px;
  font-weight: 900;
  color: #fff;
}

body.feed-page .sf-feed-group-status,
body.feed-page .sf-post-context-status {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

body.feed-page .sf-feed-group-posts {
  margin-left: 10px;
  padding-left: 12px;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

body.feed-page .sf-feed-group-posts .sf-post {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

body.feed-page .sf-feed-group-posts .sf-post:last-child {
  border-bottom: none;
  padding-bottom: 16px;
}

body.feed-page .sf-post-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 0;
}

body.feed-page .sf-post-context--match {
  display: block;
  width: auto;
  max-width: 100%;
}

body.feed-page .sf-post-context--match .sf-quote-card--match {
  display: inline-block;
  width: auto;
  max-width: min(100%, 240px);
  padding: 6px 8px;
}

body.feed-page .sf-post-context--match .sf-quote-badge {
  display: none;
}

body.feed-page .sf-post-context-visual {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

body.feed-page .sf-post-context-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  min-width: 0;
}

body.feed-page .sf-post-context-link:hover,
body.feed-page .sf-post-context-link:focus-visible {
  color: #00C2CB;
}

body.feed-page .sf-post-context-title {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}

body.feed-page .sf-author-name,
body.feed-page .sf-author-link {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}

body.feed-page .sf-author-handle,
body.feed-page .sf-author-time {
  font-family: Inter, system-ui, sans-serif;
}

body.feed-page .sf-post-source {
  display: none;
}

body.feed-page .sf-post-source:hover {
  background: transparent;
  color: #fff;
}

body.feed-page .sf-post-source-kind {
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.42);
}

body.feed-page .sf-post-source-label {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
}

body.feed-page .sf-post-source-score {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}

body.feed-page .sf-post-source-arrow {
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
}

body.feed-page .sf-author-link:hover,
body.feed-page .sf-author-link:focus-visible {
  color: #00C2CB;
}

body.feed-page .sf-post-body {
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

body.feed-page .sf-quote-badge {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

body.feed-page .sf-quote-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.02);
}

body.feed-page .sf-quote-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
}

/* Compact match line — one row, small type, feed only */
body.feed-page .sf-quote-card--match .sf-quote-match-row,
body.feed-page .sf-post-quote .sf-quote-match-row,
body.feed-page .sf-post-context--match .sf-quote-match-row,
body.feed-page .sf-feed-group-match .sf-quote-match-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  grid-template-columns: unset;
}

body.feed-page .sf-quote-card--match .sf-quote-side,
body.feed-page .sf-post-quote .sf-quote-side,
body.feed-page .sf-post-context--match .sf-quote-side,
body.feed-page .sf-feed-group-match .sf-quote-side {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 36%;
}

body.feed-page .sf-quote-card--match .sf-quote-side--away,
body.feed-page .sf-post-quote .sf-quote-side--away,
body.feed-page .sf-post-context--match .sf-quote-side--away,
body.feed-page .sf-feed-group-match .sf-quote-side--away {
  justify-content: flex-end;
  text-align: right;
}

body.feed-page .sf-quote-card--match .sf-quote-side-name,
body.feed-page .sf-post-quote .sf-quote-side-name,
body.feed-page .sf-post-context--match .sf-quote-side-name,
body.feed-page .sf-feed-group-match .sf-quote-side-name {
  font-size: 11px;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.feed-page .sf-quote-card--match .sf-quote-score,
body.feed-page .sf-post-quote .sf-quote-score,
body.feed-page .sf-post-context--match .sf-quote-score,
body.feed-page .sf-feed-group-match .sf-quote-score {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  padding: 0 2px;
  white-space: nowrap;
}

body.feed-page .sf-quote-card--match .sf-quote-flag,
body.feed-page .sf-post-quote .sf-quote-flag,
body.feed-page .sf-post-context--match .sf-quote-flag,
body.feed-page .sf-feed-group-match .sf-quote-flag {
  width: 16px;
  height: 12px;
  flex-shrink: 0;
}

body.feed-page .sf-quote-card--match .sf-quote-meta,
body.feed-page .sf-post-quote .sf-quote-meta,
body.feed-page .sf-post-context--match .sf-quote-meta,
body.feed-page .sf-feed-group-match .sf-quote-meta {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.feed-page .sf-quote-card--match,
body.feed-page .sf-post-quote .sf-quote-card--match,
body.feed-page .sf-post-context--match .sf-quote-card--match {
  display: inline-block;
  width: auto;
  max-width: min(100%, 240px);
}

/* Match line — one horizontal row (feed, profile, player, team pages) */
.sf-match-line {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin: 2px 0 8px;
  padding: 0;
  max-width: 100%;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  text-align: left;
  vertical-align: top;
}

.sf-match-line,
.sf-match-line:visited {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.sf-match-line:hover,
.sf-match-line:focus-visible {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.sf-match-line:hover .sf-match-line-team,
.sf-match-line:focus-visible .sf-match-line-team {
  color: #00C2CB;
}

.sf-match-line-team {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.sf-match-line-score {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  padding: 0 1px;
  white-space: nowrap;
}

.sf-match-line-vs {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.42);
  padding: 0 2px;
  white-space: nowrap;
}

.sf-match-line-flag {
  display: inline-block;
  width: 18px;
  height: 13px;
  max-width: 18px;
  object-fit: cover;
  flex-shrink: 0;
  border: none;
  border-radius: 1px;
  vertical-align: middle;
}

.sf-match-line-live {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal, #00C2CB);
  margin-left: 2px;
  white-space: nowrap;
}

.sf-post-quote:has(.sf-match-line),
.sf-post-context--match:has(.sf-match-line) {
  text-align: left;
}

body.feed-page .sf-post-quote .sf-quote-card--player,
body.feed-page .sf-post-quote .sf-quote-card--team {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: min(100%, 300px);
  padding: 8px 12px 8px 8px;
  border-radius: 12px;
}

body.feed-page .sf-post-quote .sf-quote-badge,
body.feed-page .sf-quote-card--match .sf-quote-badge {
  display: none;
}

body.feed-page .sf-post-quote .sf-quote-player-row {
  gap: 10px;
  align-items: center;
}

body.feed-page .sf-post-quote .sf-quote-photo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

body.feed-page .sf-post-quote .sf-quote-team-flag {
  width: 38px;
  height: auto;
}

body.feed-page .sf-post-quote .sf-quote-text {
  gap: 3px;
  min-width: 0;
}

body.feed-page .sf-post-quote .sf-quote-title {
  font-size: 15px;
  line-height: 1.2;
}

body.feed-page .sf-post-quote .sf-quote-sub {
  font-size: 12px;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.5);
}

body.feed-page .sf-quote-title {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
}

body.feed-page .sf-quote-score--live {
  color: rgba(255, 255, 255, 0.88);
}

body.feed-page .sf-post-actions {
  margin-top: 10px;
}

body.feed-page .sf-action {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px 4px 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.45);
}

body.feed-page .sf-action:hover,
body.feed-page .sf-action:focus-visible {
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
}

body.feed-page .sf-action.is-active {
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
}

body.feed-page .sf-post-view-replies {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

body.feed-page .sf-composer {
  border: none;
  border-radius: 0;
  padding: 10px 0 12px;
  margin-bottom: 0;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

body.feed-page .sf-composer-teaser {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.45);
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}

body.feed-page .sf-composer-teaser:hover,
body.feed-page .sf-composer-teaser:focus-visible {
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.65);
}

body.feed-page .sf-composer--collapsed .sf-composer-panel {
  display: none;
}

body.feed-page .sf-composer--expanded .sf-composer-teaser {
  display: none;
}

body.feed-page .sf-composer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

body.feed-page .sf-composer-dest {
  margin: 0;
  padding: 0;
  border: none;
  gap: 6px;
  flex: 0 1 auto;
}

body.feed-page .sf-composer-dest-label {
  font-size: 10px;
  letter-spacing: 0.06em;
}

body.feed-page .sf-composer-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  justify-content: flex-end;
}

body.feed-page .sf-mode {
  font-size: 10px;
  letter-spacing: 0.05em;
  padding: 5px 10px;
  border-radius: 999px;
}

body.feed-page .sf-composer-label {
  display: none;
}

body.feed-page .sf-composer-input {
  min-height: 52px;
  max-height: 160px;
  padding: 10px 12px;
  font-size: 15px;
  line-height: 1.45;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

body.feed-page .sf-composer-input:focus {
  min-height: 72px;
  border-color: rgba(255, 255, 255, 0.22);
  outline: none;
}

body.feed-page .sf-composer-foot {
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

body.feed-page .sf-composer-attach.btn {
  margin-right: auto;
  min-height: 36px;
  padding: 8px 14px;
  font-size: 12px;
}

body.feed-page .sf-composer-status {
  flex: 1 1 auto;
  margin: 0;
  font-size: 12px;
  text-align: left;
}

body.feed-page .sf-composer-submit {
  min-width: 72px;
  min-height: 36px;
  padding: 8px 16px;
  font-size: 13px;
}

body.feed-page .sf-composer-pick {
  margin: 0 0 8px;
  min-height: 32px;
  padding: 6px 12px;
  font-size: 12px;
}

body.feed-page .sf-composer-quote-wrap {
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 8px;
}

@media (min-width: 768px) {
  body.feed-page #feed-composer {
    margin-bottom: 0;
  }

  body.feed-page #feed-composer .sf-composer--expanded {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 12px 12px;
    background: rgba(255, 255, 255, 0.03);
  }

  body.feed-page .sf-composer--collapsed {
    border: none;
    padding: 10px 0 12px;
    background: transparent;
  }
}

body.feed-page .sf-composer-quote-label {
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, 0.5);
}

body.feed-page .sf-empty {
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  padding: 32px 0;
}

body.feed-page .sf-post-kind {
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  border: none;
  padding: 0;
  color: rgba(255, 255, 255, 0.38);
}

/* ── Mobile feed: posts first, minimal chrome (X-style) ── */
@media (max-width: 767px) {
  :root {
    --feed-composer-dock-h: 44px;
  }

  body.feed-page {
    --nav-h: 50px;
    --nav-h-mobile: 50px;
  }

  body.feed-page .tnav {
    height: 50px;
    min-height: 50px;
  }

  body.feed-page .wordmark,
  body.feed-page .tnav-bar > .nav__logo,
  body.feed-page .tnav .nav__logo {
    font-size: clamp(24px, 6vw, 28px);
  }

  .sf-page--feed {
    padding: 0 0 12px;
  }

  .sf-feed-layout {
    padding: 0;
    gap: 0;
  }

  .sf-feed-side--left,
  .sf-feed-side--right {
    display: none;
  }

  body.feed-page.feed-search-open .sf-feed-side--left,
  .sf-feed-side--left.is-open {
    display: block;
    position: fixed;
    top: calc(var(--nav-h, 52px) + 4px);
    left: 12px;
    right: 12px;
    z-index: 240;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 22, 40, 0.98);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  }

  .sf-feed-side--left .sf-search-label,
  .sf-feed-side--left .sf-search-hint {
    display: none;
  }

  .sf-feed-side--left .sf-search-panel {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
  }

  .sf-feed-side--left .sf-feed-matches-panel {
    margin-top: 10px;
    padding: 0;
    border: none;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
  }

  .sf-feed-side--left .sf-feed-matches-section-label {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .sf-feed-side--left .sf-feed-matches-section-label.is-upcoming {
    margin-top: 12px;
  }

  .sf-feed-side--left .sf-feed-match-team {
    max-width: 7.5rem;
  }

  .sf-feed-side--left .sf-feed-matches-link {
    justify-content: flex-start;
    font-size: 11px;
  }

  .sf-feed-main {
    padding: 0;
  }

  .sf-feed-head {
    position: static;
    top: auto;
    z-index: auto;
    margin: 0;
    padding: 8px 14px 4px;
    background: transparent;
    border-bottom: none;
  }

  .sf-feed-head h1 {
    font-size: clamp(20px, 5vw, 24px);
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    line-height: 1.08;
    color: #fff;
  }

  .sf-feed-head h1 .f,
  .sf-feed-head h1 .rest {
    color: #fff;
    font-weight: 700;
  }

  .sf-feed-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 32px;
  }

  .sf-feed-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    flex-shrink: 0;
  }

  .sf-feed-search-btn[aria-expanded="true"] {
    color: #fff;
    background: transparent;
  }

  .sf-feed-head .sf-lead {
    display: none;
  }

  .sf-feed-sticky-chrome {
    position: static;
    top: auto;
    z-index: auto;
    margin: 0;
    padding: 0 14px 4px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  #feed-circle-toolbar {
    margin: 0;
    padding: 0;
  }

  .sf-circle-toolbar {
    margin: 6px 0 0;
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 8px;
  }

  .sf-circle-fanpicks {
    padding: 8px 0 2px;
  }

  body.feed-page #feed-tabs {
    position: static;
    top: auto;
    z-index: auto;
    display: block;
    margin: 0;
    padding: 0;
    border-bottom: none;
    background: transparent;
  }

  body.feed-page .sf-feed-tabs--primary {
    margin: 0;
    padding: 0;
    border: none;
  }

  body.feed-page .sf-feed-tabs--primary .sf-feed-tab {
    padding: 8px 4px;
    font-size: 11px;
  }

  body.feed-page .sf-feed-circle-tabs {
    padding: 6px 0 4px;
  }

  body.feed-page .sf-feed-circle-tab {
    font-size: 12px;
    padding: 6px 10px;
    max-width: 140px;
  }

  body.feed-page .sf-feed-circle-tab--action {
    max-width: none;
    flex-shrink: 0;
  }

  body.feed-page .sf-feed-tabs--picker {
    margin: 0;
    padding: 0;
    border: none;
  }

  body.feed-page .sf-feed-tabs--dropdowns {
    margin: 0;
    padding: 0;
    border: none;
  }

  body.feed-page .sf-feed-dropdown-menu,
  body.feed-page .sf-feed-picker-menu {
    z-index: 220;
  }

  .sf-feed-list {
    margin-top: 0;
    padding: 0 14px;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  }

  html.has-mobile-bottom-nav .sf-feed-list {
    padding-bottom: calc(var(--mobile-bottom-nav-total, 158px) + 8px);
  }

  .sf-circle-chat-root {
    min-height: 0;
  }

  /* Circle chat mobile layout: see css/circle-chat-mobile.css (loaded globally) */

  .sf-feed-ptr {
    display: block;
  }

  .sf-feed-ptr.is-pulling,
  .sf-feed-ptr.is-ready,
  .sf-feed-ptr.is-refreshing {
    display: block;
  }

  body.feed-page .sf-feed-main {
    touch-action: pan-y;
  }

  /* Post media — one surface everywhere (feed, profile, team, detail) */
  .sf-feed-list .sf-post-media {
    margin-left: -14px;
    margin-right: -14px;
    width: calc(100% + 28px);
    max-width: calc(100% + 28px);
    overflow: hidden;
  }

  .sf-feed-list .sf-post-media--images,
  .sf-feed-list .sf-post-media--count-1 .sf-post-media-item {
    border-radius: 0;
  }

  .sf-feed-list .sf-post-media--images.sf-post-media--count-1 {
    overflow: hidden;
  }

  .sf-feed-list .sf-post-media-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: min(420px, 56vh);
    object-fit: cover;
    object-position: center;
  }

  body.feed-page .sf-post-actions {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 2px;
    margin-top: 6px;
    padding: 0;
    width: 100%;
    max-width: 100%;
  }

  body.feed-page .sf-action {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 8px 10px 8px 8px;
    gap: 5px;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
    border-radius: 0;
  }

  body.feed-page .sf-action:hover,
  body.feed-page .sf-action:focus-visible {
    background: transparent;
  }

  body.feed-page .sf-action-icon {
    width: 18px;
    height: 18px;
  }

  body.feed-page .sf-action-count {
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.55);
  }

  body.feed-page .sf-action--like.is-active .sf-action-count {
    color: #00C2CB;
  }

  body.feed-page .sf-post-menu-list {
    display: none !important;
  }

  html.has-mobile-bottom-nav body.feed-composer-open .sf-feed-list {
    padding-bottom: calc(220px + var(--mobile-bottom-dock-h, 86px) + var(--mobile-bottom-nav-extra, 20px));
  }

  body.feed-composer-open .sf-feed-list {
    padding-bottom: calc(220px + env(safe-area-inset-bottom, 0px) + 12px);
  }

  html.has-mobile-bottom-nav #feed-composer {
    bottom: var(--mobile-bottom-dock-h, calc(72px + env(safe-area-inset-bottom, 0px) + 14px));
  }

  #feed-composer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(env(safe-area-inset-bottom, 0px));
    z-index: 9998;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1);
  }

  #feed-composer .sf-composer {
    pointer-events: auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(0, 194, 203, 0.38);
    border-bottom: none;
    background: #071326;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    padding: 0;
    overflow: hidden;
  }

  body.feed-page .sf-composer-teaser,
  .sf-composer-teaser {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: var(--feed-composer-dock-h, 52px);
    border: none;
    border-radius: 0;
    background: #071326;
    color: rgba(255, 255, 255, 0.45);
    font-family: Inter, sans-serif;
    font-size: 15px;
    text-align: left;
    padding: 0 14px;
    cursor: pointer;
    box-sizing: border-box;
  }

  body.feed-page .sf-composer-teaser:hover,
  body.feed-page .sf-composer-teaser:focus-visible,
  .sf-composer-teaser:hover,
  .sf-composer-teaser:focus-visible {
    border: none;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(0, 194, 203, 0.06);
  }

  .sf-composer-teaser-icon {
    display: none;
  }

  .sf-composer--collapsed .sf-composer-panel {
    display: none;
  }

  .sf-composer--expanded .sf-composer-teaser {
    display: none;
  }

  .sf-composer--expanded .sf-composer-panel {
    display: block;
    padding: 14px;
    max-height: min(58vh, 420px);
    overflow-y: auto;
    box-sizing: border-box;
  }

  .sf-composer--expanded .sf-composer-label {
    display: none;
  }

  .sf-composer--expanded .sf-composer-input {
    min-height: 72px;
  }

  .sf-composer--expanded {
    box-shadow: none;
  }

  .sf-feed-stream {
    gap: 0;
  }

  body.feed-page .sf-post {
    padding: 14px 0;
    -webkit-tap-highlight-color: transparent;
  }

  .sf-feed-list .sf-post-media-item {
    -webkit-tap-highlight-color: rgba(0, 194, 203, 0.12);
  }

  body.feed-page .sf-action:active {
    transform: scale(0.94);
    transition: transform 0.1s ease;
  }
}

@media (min-width: 768px) {
  .sf-feed-topbar {
    display: block;
  }

  .sf-feed-search-btn {
    display: none;
  }

  body:not(.feed-page) .sf-composer-teaser {
    display: none;
  }

  body:not(.feed-page) .sf-composer--collapsed .sf-composer-panel,
  body:not(.feed-page) .sf-composer-panel {
    display: block;
  }
}

@media (max-width: 900px) {
  .up-stats { grid-template-columns: repeat(3, 1fr); }
  .up-showcase { grid-template-columns: 1fr; }
  .up-identity { grid-template-columns: 1fr; }
  .pl-card-grid { grid-template-columns: repeat(2, 1fr); }
  .pl-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .pl-comp-kpi-row { gap: 8px; }
  .pl-comp-kpi { flex: 1 1 calc(50% - 8px); min-width: 0; }
  .pl-kpi-bar { grid-template-columns: repeat(3, 1fr); }
  .pl-overview-grid { grid-template-columns: 1fr; }
  .pl-hero--premium { grid-template-columns: 1fr; }
  .pl-hero-visual { display: flex; justify-content: center; }
  .up-hero { flex-direction: column; }
  body:not(.feed-page) .sf-quote-match-row { grid-template-columns: 1fr; text-align: center; }
  body:not(.feed-page) .sf-quote-side,
  body:not(.feed-page) .sf-quote-side--away { justify-content: center; text-align: center; }
}

@media (max-width: 520px) {
  .up-stats { grid-template-columns: repeat(2, 1fr); }
  .up-player-spotlight-link {
    grid-template-columns: 1fr auto;
    padding: 12px 14px;
  }
  .up-spotlight-visual {
    justify-self: start;
  }
  .up-player-photo--hero {
    width: 96px;
    height: 96px;
  }
  .pl-kpi-bar { grid-template-columns: repeat(2, 1fr); }
}

/* Post detail — same flat feed chrome as /feed */
.sf-page--post-detail .sf-feed-layout--post-detail {
  grid-template-columns: minmax(0, 1fr);
  max-width: 680px;
}

.sf-page--post-detail .sf-feed-head {
  margin-bottom: 0;
}

.sf-page--post-detail .sf-feed-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
}

.sf-post-detail-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  flex-shrink: 0;
}

.sf-post-detail-back:hover,
.sf-post-detail-back:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
}

.sf-post-detail-title {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
}

body.post-detail-page .sf-post-replies--detail {
  margin: 0;
  padding: 0;
  border: none;
}

body.post-detail-page .sf-post-replies-heading {
  margin: 16px 0 4px;
  padding: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

body.post-detail-page .sf-post-replies--detail .sf-post-replies-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

body.post-detail-page .sf-post-replies--detail .sf-post--detail-list {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

body.post-detail-page .sf-post-replies--detail .sf-post--detail-list .sf-post-layout {
  gap: 10px;
}

body.post-detail-page .sf-post-thread {
  display: flex;
  flex-direction: column;
}

body.post-detail-page .sf-post--thread-parent {
  padding-bottom: 12px;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.post-detail-page .sf-post--thread-parent .sf-post-main[data-open-post] {
  cursor: pointer;
}

body.post-detail-page .sf-post--thread-focus {
  padding-top: 12px;
}

body.post-detail-page .sf-post--thread-parent + .sf-post--thread-focus .sf-post-layout {
  position: relative;
}

body.post-detail-page .sf-post--thread-parent + .sf-post--thread-focus .sf-post-avatar-col::before {
  content: '';
  position: absolute;
  left: 17px;
  top: -12px;
  width: 2px;
  height: 12px;
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 767px) {
  .sf-page--post-detail {
    padding: 0 0 12px;
  }

  .sf-page--post-detail .sf-feed-layout--post-detail {
    padding: 0;
  }

  .sf-page--post-detail .sf-feed-head {
    position: sticky;
    top: var(--nav-h, 52px);
    z-index: 95;
    margin: 0;
    padding: 10px 14px 8px;
    background: var(--navy, #0A1628);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .sf-page--post-detail .sf-feed-topbar {
    justify-content: flex-start;
    gap: 12px;
    min-height: 36px;
  }

  .sf-page--post-detail .sf-post-detail-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.03em;
  }

  .sf-page--post-detail .sf-feed-list {
    padding: 0 14px;
    padding-bottom: calc(var(--mobile-bottom-dock-h, 72px) + 12px);
    max-width: 100%;
    overflow-x: clip;
  }

  body.post-detail-page:has(.sf-post-reply-slot:not([hidden])) .sf-page--post-detail .sf-feed-list {
    padding-bottom: calc(var(--mobile-bottom-dock-h, 72px) + var(--post-detail-reply-dock-h, 132px) + 12px);
  }

  .sf-page--post-detail .sf-feed-list .sf-post-media {
    width: calc(100% + 28px);
    max-width: calc(100% + 28px);
    margin-left: -14px;
    margin-right: -14px;
    overflow: hidden;
  }

  .sf-page--post-detail .sf-feed-list .sf-post-media-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: min(480px, 62vh);
    object-fit: cover;
  }

  body.post-detail-page .sf-post--detail .sf-post-actions,
  body.post-detail-page .sf-post--thread-focus .sf-post-actions {
    gap: 6px;
    margin-top: 10px;
    margin-bottom: 2px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  body.post-detail-page .sf-post-actions .sf-action {
    min-width: 44px;
    min-height: 44px;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.62);
  }

  body.post-detail-page .sf-post-actions .sf-action-icon {
    width: 22px;
    height: 22px;
  }

  body.post-detail-page .sf-post-actions .sf-action-count {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.62);
  }

  body.post-detail-page .sf-post-actions .sf-action--like.is-active .sf-action-count {
    color: #00C2CB;
  }

  body.post-detail-page .sf-post-reply-slot {
    margin-top: 12px;
  }

  body.post-detail-page:has(.sf-post-reply-slot:not([hidden])) .sf-post-reply-slot {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--mobile-bottom-dock-h, calc(72px + env(safe-area-inset-bottom, 0px)));
    z-index: 9998;
    margin: 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: #071326;
    border-top: 1px solid rgba(0, 194, 203, 0.22);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.34);
    box-sizing: border-box;
  }

  body.post-detail-page:has(.sf-post-reply-slot:not([hidden])) .sf-post-reply-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  body.post-detail-page .sf-post-reply-input {
    min-height: 44px;
    max-height: 120px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.28);
    font-size: 15px;
    line-height: 1.4;
  }

  body.post-detail-page .sf-post-reply-input::placeholder {
    color: rgba(224, 224, 224, 0.42);
  }

  body.post-detail-page .sf-post-reply-input:focus {
    border-color: rgba(0, 194, 203, 0.32);
    box-shadow: none;
  }

  body.post-detail-page .sf-post-reply-form-foot {
    align-items: center;
    gap: 8px;
    margin-top: 0;
  }

  body.post-detail-page .sf-post-reply-attach {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  body.post-detail-page .sf-post-reply-attach-icon {
    width: 22px;
    height: 22px;
  }

  body.post-detail-page .sf-post-reply-form-actions {
    margin-left: auto;
    gap: 8px;
  }

  body.post-detail-page .sf-post-reply-cancel {
    font-family: Inter, system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 10px;
  }

  body.post-detail-page .sf-post-reply-submit {
    min-height: 36px;
    padding: 8px 16px;
    font-size: 14px;
  }

  body.post-detail-page .sf-post-quote .sf-quote-card--player,
  body.post-detail-page .sf-post-quote .sf-quote-card--team {
    display: flex;
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
  }

  body.post-detail-page .sf-post-quote .sf-quote-photo {
    width: 48px;
    height: 48px;
  }

  body.post-detail-page .footer--slim {
    display: none;
  }
}

/* ---------- Circles product pages ---------- */

.sf-page--circles {
  max-width: 720px;
  margin: 0 auto;
}

.sf-circles-page-head {
  padding: 0 0 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sf-circles-page-head .fa-page-title {
  margin: 0 0 4px;
}

.sf-circles-page-head .sf-lead {
  margin: 0;
}

.sf-circles-inbox-mount {
  min-height: 200px;
}

.sf-circle-inbox-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 0 12px;
}

.sf-circle-templates {
  margin: 16px 0;
}

.sf-circle-templates-label {
  margin: 0 0 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.48);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sf-circle-templates-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.sf-circle-template-chip {
  appearance: none;
  border: 1px solid rgba(0, 194, 203, 0.25);
  background: rgba(0, 194, 203, 0.08);
  color: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
}

.sf-circle-template-chip:hover,
.sf-circle-template-chip:focus-visible {
  border-color: rgba(0, 194, 203, 0.45);
  color: #fff;
}

.sf-page--circle-detail {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-width: none;
}

.sf-circle-detail-chrome {
  flex: 0 0 auto;
}

.sf-circle-stream-mount {
  flex: 1 1 auto;
  min-height: 0;
}

.sf-circle-members-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sf-circle-member-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sf-circle-member-name {
  flex: 1 1 auto;
  font-weight: 600;
  color: var(--color-white, #fff);
}

.sf-circle-member-role {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sf-circle-member-joined {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.38);
}

.sf-aside-card--circles .sf-aside-muted {
  margin: 0 0 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.48);
}

.sf-aside-links--stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sf-aside-link-cta {
  color: var(--teal, #00c2cb);
}

.sf-circle-view-tabs {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sf-circle-view-tabs::-webkit-scrollbar {
  display: none;
}

.sf-circle-view-tab {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  body.circles-page .sf-page--circles {
    padding-left: var(--fa-mobile-edge, 12px);
    padding-right: var(--fa-mobile-edge, 12px);
  }

  body.circles-page.circle-detail-page .sf-circle-detail-chrome {
    padding: 0 var(--fa-mobile-edge, 12px);
  }

  body.circles-page.circle-detail-page .sf-circle-stream-mount {
    padding: 0 var(--fa-mobile-edge, 12px);
  }

  body.circles-page.circle-detail-page #circle-composer:not([hidden]) {
    padding-left: var(--fa-mobile-edge, 12px);
    padding-right: var(--fa-mobile-edge, 12px);
  }
}

/* Circle messaging v2 — reply, menu, share, settings, media */
.sf-circle-chat-date {
  text-align: center;
  margin: 12px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.sf-circle-chat-reply {
  display: block;
  margin: 0 0 6px;
  padding: 6px 8px;
  border-left: 3px solid var(--teal, #00C2CB);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  font-size: 12px;
}

.sf-circle-chat-reply--missing {
  opacity: 0.7;
  font-style: italic;
}

.sf-circle-chat-reply-author {
  display: block;
  font-weight: 600;
  color: var(--teal, #00C2CB);
}

.sf-circle-chat-forwarded {
  display: block;
  font-size: 11px;
  opacity: 0.65;
  margin-bottom: 4px;
}

.sf-circle-chat-entity {
  display: block;
  padding: 8px 10px;
  margin-bottom: 6px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  text-decoration: none;
  color: inherit;
}

.sf-circle-chat-entity:hover {
  color: var(--teal, #00C2CB);
  text-decoration: none;
}

.sf-circle-chat-entity-title {
  display: block;
  font-weight: 600;
}

.sf-circle-chat-entity-sub {
  display: block;
  font-size: 12px;
  opacity: 0.75;
}

.sf-circle-chat-media--image img {
  max-width: 220px;
  border-radius: 10px;
  display: block;
}

.sf-circle-chat-media--view-once,
.sf-circle-chat-media--opened {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 14px;
}

.sf-circle-chat-reply-compose {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sf-circle-chat-reply-compose-label {
  display: block;
  font-size: 12px;
  color: var(--teal, #00C2CB);
}

.sf-circle-chat-reply-cancel {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
}

.sf-circle-chat-attach {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
}

.sf-circle-chat-attach-preview {
  padding: 10px 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.sf-circle-chat-attach-preview-card {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sf-circle-chat-attach-thumb {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sf-circle-chat-attach-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-circle-chat-attach-thumb--audio {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.72);
}

.sf-circle-chat-attach-details {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sf-circle-chat-attach-kind {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.sf-circle-chat-attach-name {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sf-circle-chat-attach-clear {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.sf-circle-chat-attach-clear:hover,
.sf-circle-chat-attach-clear:focus-visible {
  color: var(--teal, #00c2cb);
  background: rgba(0, 194, 203, 0.12);
}

.sf-circle-chat-view-once-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 10px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.sf-circle-chat-view-once-cb {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sf-circle-chat-view-once-switch {
  flex: 0 0 auto;
  width: 38px;
  height: 22px;
  margin-top: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  position: relative;
  transition: background 0.15s ease;
}

.sf-circle-chat-view-once-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s ease;
}

.sf-circle-chat-view-once-cb:checked + .sf-circle-chat-view-once-switch {
  background: var(--teal, #00c2cb);
}

.sf-circle-chat-view-once-cb:checked + .sf-circle-chat-view-once-switch::after {
  transform: translateX(16px);
}

.sf-circle-chat-view-once-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sf-circle-chat-view-once-copy strong {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.sf-circle-chat-view-once-sub {
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.52);
}

.sf-circle-chat-view-once-hint {
  margin: 6px 12px 0;
  padding: 8px 10px;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(0, 194, 203, 0.85);
  background: rgba(0, 194, 203, 0.08);
  border-radius: 6px;
}

.sf-circle-msg-menu {
  position: fixed;
  z-index: 1200;
  min-width: 140px;
  padding: 4px;
  border-radius: 10px;
  background: #132238;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.sf-circle-msg-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  background: none;
  border: none;
  color: #E0E0E0;
  font-size: 14px;
  cursor: pointer;
}

.sf-circle-msg-menu button:hover {
  color: var(--teal, #00C2CB);
}

.sf-circle-media-viewer {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.sf-circle-media-viewer img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sf-circle-media-viewer-audio {
  width: min(420px, 90vw);
}

.sf-circle-media-viewer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

.sf-share-circle-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sf-share-circle-panel {
  width: min(480px, 100%);
  max-height: 80vh;
  overflow-y: auto;
  background: #0A1628;
  border-radius: 16px 16px 0 0;
  padding: 20px;
}

.sf-share-circle-row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: none;
  border-radius: 8px;
  color: inherit;
  margin-bottom: 8px;
  cursor: pointer;
  text-align: left;
}

.sf-share-circle-row:hover {
  color: var(--teal, #00C2CB);
}

.sf-circle-inbox-unread {
  flex: 0 0 auto;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--teal, #00C2CB);
  color: #0A1628;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sf-circle-inbox-avatar,
.sf-circle-toolbar-avatar,
.sf-circle-settings-avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 700;
  overflow: hidden;
}

.sf-circle-toolbar-avatar {
  width: 36px;
  height: 36px;
}

.sf-circle-inbox-avatar--img,
.sf-circle-toolbar-avatar--img,
.sf-circle-settings-avatar--img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-circle-inbox-search-bar {
  margin-bottom: 12px;
}

.sf-circle-settings {
  max-width: 560px;
  margin: 0 auto;
  padding: 16px;
}

.sf-circle-settings-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.sf-circle-settings-title {
  margin: 0;
  font-size: 20px;
}

.sf-circle-settings-photo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.sf-circle-settings-avatar {
  width: 72px;
  height: 72px;
  font-size: 28px;
}

.sf-circle-settings-form .sf-field {
  margin-bottom: 16px;
}

.sf-circle-settings-section {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sf-circle-settings-h {
  margin: 0 0 12px;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.3;
}

.sf-circle-settings-lead {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
}

.sf-circle-invite-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.sf-circle-invite-link {
  flex: 1 1 180px;
  min-width: 0;
}

.sf-circle-settings-member {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sf-circle-settings-member-body {
  flex: 1 1 auto;
  min-width: 0;
}

.sf-circle-settings-member-ava {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted, #e0e0e0);
  overflow: hidden;
}

.sf-circle-settings-member-ava--img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
}

.sf-circle-settings-member-ava--brand {
  background: #fff;
  padding: 4px;
  object-fit: contain;
}

.sf-circle-settings-member-name {
  display: block;
  font-weight: 600;
}

.sf-circle-settings-member-user {
  display: block;
  font-size: 12px;
}

.sf-circle-settings-member-role {
  flex: 0 0 auto;
  font-size: 12px;
}

.sf-circle-settings-danger {
  margin-top: 32px;
}

.sf-circle-chat-msg.is-pending {
  opacity: 0.65;
}

.sf-circle-chat-msg.is-failed .sf-circle-chat-bubble {
  outline: 1px solid #ff8f8f;
}

@media (min-width: 768px) {
  .sf-share-circle-modal {
    align-items: center;
  }

  .sf-share-circle-panel {
    border-radius: 16px;
  }
}

/* Public circles — discover tabs and cards */
.sf-circle-page-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.sf-circle-page-tab {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  cursor: pointer;
}

.sf-circle-page-tab.is-active {
  color: var(--teal, #00C2CB);
}

.sf-circle-discover-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sf-circle-discover-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sf-circle-discover-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.sf-circle-discover-body {
  flex: 1 1 auto;
  min-width: 0;
}

.sf-circle-discover-name {
  margin: 0 0 4px;
  font-size: 16px;
}

.sf-circle-discover-badges,
.sf-circle-discover-meta {
  margin: 0;
  font-size: 12px;
  opacity: 0.75;
}

.sf-circle-discover-desc {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted, #E0E0E0);
}

.sf-circle-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.sf-circle-filter-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: inherit;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
}

.sf-circle-filter-chip.is-active {
  border-color: var(--teal, #00C2CB);
  color: var(--teal, #00C2CB);
}

.sf-circle-entity-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(0, 194, 203, 0.08);
  border: 1px solid rgba(0, 194, 203, 0.2);
}

.sf-circle-entity-promo-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.sf-circle-entity-promo-name {
  display: block;
  font-size: 15px;
}

.sf-circle-entity-promo-desc {
  margin: 4px 0 0;
  font-size: 12px;
  opacity: 0.8;
}

.sf-circle-chat-readonly {
  padding: 12px 16px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
