/**
 * New Roster Beta — social-first athlete feed (separate from roster.css).
 */

:root {
  --rbeta-bg: #050608;
  --rbeta-surface: #0c0f14;
  --rbeta-surface-2: #12161e;
  --rbeta-border: rgba(255, 255, 255, 0.08);
  --rbeta-text: #f4f8fb;
  --rbeta-muted: rgba(244, 248, 251, 0.55);
  --rbeta-gk: #00f52a;
  --rbeta-gk-dim: rgba(0, 245, 42, 0.14);
  --rbeta-radius: 8px;
  --rbeta-dock-h: 4.25rem;
  --rbeta-top-h: 3.25rem;
  --rbeta-safe-b: env(safe-area-inset-bottom, 0px);
  --rbeta-rail-w: 15.5rem;
  --rbeta-feed-w: 100%;
  --rbeta-feed-max: 40rem;
  --rbeta-aside-w: 20rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.rbeta-gate {
  min-height: 100vh;
  padding: 2rem 1.25rem 3rem;
  max-width: 28rem;
  margin: 0 auto;
}

.rbeta-gate .owner-gate__title {
  font-family: "Syne", system-ui, sans-serif;
}

.rbeta-body {
  margin: 0;
  min-height: 100vh;
  background: var(--rbeta-bg);
  color: var(--rbeta-text);
  font-family: "Outfit", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--rbeta-dock-h) + var(--rbeta-safe-b) + 8px);
}

.rbeta-app {
  min-height: 100vh;
}

/* —— IG shell: left rail · center feed · right aside —— */
@media (min-width: 1024px) {
  .rbeta-body {
    padding-bottom: 0;
  }

  .rbeta-app {
    display: grid;
    grid-template-columns: var(--rbeta-rail-w) minmax(0, 1fr) var(--rbeta-aside-w);
    max-width: 76rem;
    margin: 0 auto;
    min-height: 100vh;
  }

  .rbeta-dock {
    display: none;
  }

  .rbeta-mobile-top {
    display: none;
  }

  .rbeta-search-panel {
    max-width: min(var(--rbeta-feed-max), 100%);
    margin: 0 auto;
    padding-top: 8px;
    width: 100%;
  }
}

.rbeta-rail {
  display: none;
}

@media (min-width: 1024px) {
  .rbeta-rail {
    display: flex;
    flex-direction: column;
    padding: 1.35rem 0.75rem 1.5rem 1.25rem;
    border-right: 1px solid var(--rbeta-border);
    position: sticky;
    top: 0;
    height: 100vh;
  }

  .rbeta-rail__logo {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin-bottom: 1.75rem;
    text-decoration: none;
    font-family: "Syne", system-ui, sans-serif;
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -0.04em;
  }

  .rbeta-rail__logo-gkz {
    color: var(--rbeta-gk);
  }

  .rbeta-rail__beta {
    margin-left: 0.35rem;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rbeta-gk);
    border: 1px solid rgba(0, 245, 42, 0.35);
    border-radius: 999px;
    padding: 0.15rem 0.4rem;
  }

  .rbeta-rail__nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
  }

  .rbeta-rail__item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    border: none;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
  }

  .rbeta-rail__item .rbeta-ico {
    width: 1.65rem;
    height: 1.65rem;
  }

  .rbeta-rail__item:hover,
  .rbeta-rail__item.is-active {
    background: rgba(255, 255, 255, 0.06);
  }

  .rbeta-rail__item.is-active {
    font-weight: 700;
  }

  .rbeta-rail__item[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
  }

  .rbeta-rail__classic {
    margin-top: auto;
    font-size: 0.78rem;
    color: var(--rbeta-muted);
    padding: 0.5rem 0.85rem;
  }
}

.rbeta-center {
  min-width: 0;
}

@media (min-width: 1024px) {
  .rbeta-center {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-right: 1px solid var(--rbeta-border);
    width: 100%;
  }
}

.rbeta-mobile-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--rbeta-top-h);
  padding: 0 12px;
  border-bottom: 1px solid var(--rbeta-border);
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 6, 8, 0.94);
  backdrop-filter: blur(12px);
}

.rbeta-mobile-top__logo {
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
}

.rbeta-mobile-top__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.rbeta-aside {
  display: none;
}

@media (min-width: 1024px) {
  .rbeta-aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1.35rem 1.75rem 1rem;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    border-left: 1px solid var(--rbeta-border);
  }

  .rbeta-aside__inner {
    width: 100%;
    max-width: 17.5rem;
    padding-top: 8.35rem;
  }

  .rbeta-aside__title {
    margin: 0 0 1.1rem;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--rbeta-muted);
  }

  .rbeta-aside__empty {
    font-size: 0.82rem;
    color: var(--rbeta-muted);
    line-height: 1.45;
  }

  .rbeta-aside__foot {
    width: 100%;
    max-width: 17.5rem;
    margin: auto 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--rbeta-border);
    font-size: 0.65rem;
    color: var(--rbeta-muted);
    line-height: 1.5;
  }

  .rbeta-suggest-row {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr) 4.5rem;
    align-items: center;
    column-gap: 0.7rem;
    margin-bottom: 0.9rem;
    width: 100%;
  }

  .rbeta-suggest__avatar {
    display: block;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    overflow: hidden;
    line-height: 0;
    grid-column: 1;
    grid-row: 1;
  }

  .rbeta-suggest__img {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  .rbeta-suggest__meta {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
  }

  .rbeta-suggest__name {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .rbeta-suggest__sport {
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.25;
    color: var(--rbeta-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .rbeta-suggest__follow {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    border: none;
    background: transparent;
    color: var(--rbeta-gk);
    font: inherit;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    min-width: 4.5rem;
    text-align: right;
    padding: 0;
    white-space: nowrap;
  }

  .rbeta-suggest__follow.is-on {
    color: var(--rbeta-muted);
    font-weight: 600;
  }

  .rbeta-suggest-row--skel {
    height: 2.75rem;
    border-radius: 8px;
    background: #141820;
    grid-column: 1 / -1;
  }

  .rbeta-aside__skel {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
  }
}

.rbeta-body a {
  color: inherit;
  text-decoration: none;
}

.is-hidden {
  display: none !important;
}

/* —— Top bar —— */
.rbeta-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 6, 8, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rbeta-border);
}

.rbeta-top__inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--rbeta-top-h);
  padding: 0 max(12px, env(safe-area-inset-left)) 0 max(12px, env(safe-area-inset-right));
}

.rbeta-top__logo {
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
}

.rbeta-top__logo-gkz {
  color: var(--rbeta-gk);
}

.rbeta-top__badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rbeta-gk);
  background: var(--rbeta-gk-dim);
  border: 1px solid rgba(0, 245, 42, 0.35);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
}

.rbeta-top__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.rbeta-top__classic {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--rbeta-muted);
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--rbeta-border);
}

.rbeta-top__classic:hover,
.rbeta-top__classic:focus-visible {
  color: var(--rbeta-text);
  border-color: rgba(0, 245, 42, 0.35);
}

.rbeta-top__build {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #041006;
  background: var(--rbeta-gk);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  box-shadow: 0 0 14px rgba(0, 245, 42, 0.28);
  text-decoration: none;
}

.rbeta-top__build .rbeta-ico {
  color: #041006;
}

.rbeta-top__build:hover,
.rbeta-top__build:focus-visible {
  filter: brightness(1.06);
}

.rbeta-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  color: #fff;
  flex-shrink: 0;
}

.rbeta-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

.rbeta-ico--sm {
  width: 1.35rem;
  height: 1.35rem;
}

.rbeta-ico--carousel {
  width: 1.5rem;
  height: 1.5rem;
}

.rbeta-ico--dock-build {
  width: 1.85rem;
  height: 1.85rem;
  color: #041006;
}

.rbeta-icon-btn {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.rbeta-icon-btn .rbeta-ico {
  width: 1.55rem;
  height: 1.55rem;
}

.rbeta-search-panel {
  padding: 0 12px 10px;
}

.rbeta-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--rbeta-surface);
  border: 1px solid var(--rbeta-border);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
}

.rbeta-search svg,
.rbeta-search .rbeta-ico {
  width: 1rem;
  height: 1rem;
  color: var(--rbeta-muted);
  flex-shrink: 0;
}

.rbeta-search__input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--rbeta-text);
  font: inherit;
  font-size: 0.95rem;
  min-width: 0;
}

.rbeta-search__input::placeholder {
  color: var(--rbeta-muted);
}

.rbeta-search__input:focus {
  outline: none;
}

/* —— Tabs —— */
.rbeta-tabs {
  display: flex;
  gap: 0;
  padding: 0 8px;
  border-bottom: 1px solid var(--rbeta-border);
  background: var(--rbeta-bg);
  position: sticky;
  top: var(--rbeta-top-h);
  z-index: 30;
}

.rbeta-tabs__btn {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--rbeta-muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.75rem 0.25rem;
  cursor: pointer;
  position: relative;
}

.rbeta-tabs__btn.is-active {
  color: var(--rbeta-text);
}

.rbeta-tabs__btn.is-active::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 0;
  height: 2px;
  background: var(--rbeta-gk);
  border-radius: 2px 2px 0 0;
}

/* —— Main feed column —— */
.rbeta-main {
  width: 100%;
  max-width: min(var(--rbeta-feed-max), 100%);
  margin: 0 auto;
}

/* —— Hero title —— */
.rbeta-hero {
  padding: 14px 14px 10px;
  text-align: center;
  border-bottom: 1px solid var(--rbeta-border);
}

@media (min-width: 1024px) {
  .rbeta-hero {
    padding: 18px 0 14px;
  }
}

.rbeta-hero__title {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.22em 0.32em;
  margin: 0;
  font-family: "Syne", system-ui, sans-serif;
  font-size: clamp(1.35rem, 4.8vw, 1.65rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.rbeta-hero__the {
  color: rgba(244, 248, 251, 0.92);
}

.rbeta-hero__mark {
  display: inline-flex;
  align-items: flex-start;
}

.rbeta-hero__roster {
  color: var(--rbeta-gk);
  text-shadow:
    0 0 6px rgba(0, 245, 42, 0.28),
    0 0 14px rgba(0, 245, 42, 0.12);
}

.rbeta-hero__tm {
  margin: 0.1em 0 0 0.05em;
  font-size: 0.38em;
  font-weight: 700;
  line-height: 1;
  color: rgba(0, 245, 42, 0.8);
}

/* —— Stories row (IG compact) —— */
.rbeta-stories {
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--rbeta-border);
  background: var(--rbeta-bg);
  width: 100%;
}

.rbeta-stories__carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  width: 100%;
}

.rbeta-stories__viewport {
  flex: 0 0 auto;
  min-width: 0;
  overflow: hidden;
}

.rbeta-stories__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-padding-inline: 2px;
}

.rbeta-stories__track::-webkit-scrollbar {
  display: none;
}

.rbeta-stories__nav {
  display: none;
  position: static;
  transform: none;
  flex-shrink: 0;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(12, 15, 20, 0.92);
  color: #fff;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  margin-top: -1.1rem;
}

@media (min-width: 1024px) {
  .rbeta-stories__nav {
    display: grid;
  }
}

@media (max-width: 1023px) {
  .rbeta-stories__carousel {
    gap: 0;
    padding: 0 14px;
  }

  .rbeta-stories__track {
    padding: 4px 14px 8px 2px;
    scroll-snap-type: x mandatory;
  }

  .rbeta-story {
    scroll-snap-align: start;
  }
}

.rbeta-stories__nav:disabled {
  opacity: 0.28;
  cursor: default;
}

.rbeta-stories__nav:not(:disabled):hover,
.rbeta-stories__nav:not(:disabled):focus-visible {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
}

.rbeta-stories__skel {
  display: flex;
  gap: 14px;
}

.rbeta-stories__skel span,
.rbeta-story__ring {
  flex-shrink: 0;
  width: 4.35rem;
}

.rbeta-stories__skel span {
  display: block;
  height: 4.35rem;
  border-radius: 50%;
  background: linear-gradient(110deg, #141820 0%, #1c2230 50%, #141820 100%);
  background-size: 200% 100%;
  animation: rbeta-shimmer 1.2s ease-in-out infinite;
}

.rbeta-story {
  flex-shrink: 0;
  width: 4.6rem;
  text-align: center;
  scroll-snap-align: start;
}

.rbeta-story__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.rbeta-story__ring {
  display: block;
  width: 4.35rem;
  height: 4.35rem;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #00f52a, #e8ff6a, #ff6b9d, #00f52a);
  box-shadow: none;
}

.rbeta-story__ring--idle {
  background: linear-gradient(135deg, #3a4254, #252b38);
  box-shadow: none;
}

.rbeta-story__inner {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #1a2030;
  border: 2px solid var(--rbeta-bg);
}

.rbeta-story__img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #1a2030;
}

.rbeta-story__name {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--rbeta-text);
  max-width: 4.6rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* —— Sport chips —— */
.rbeta-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 14px;
  scroll-padding-inline: 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
}

.rbeta-chips::-webkit-scrollbar {
  display: none;
}

.rbeta-chip {
  flex-shrink: 0;
  border: 1px solid var(--rbeta-border);
  background: var(--rbeta-surface);
  color: var(--rbeta-muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
}

.rbeta-chip.is-active {
  color: #041006;
  background: var(--rbeta-gk);
  border-color: var(--rbeta-gk);
}

.rbeta-hint {
  margin: 0;
  padding: 0 14px 8px;
  font-size: 0.8rem;
  color: var(--rbeta-muted);
  min-height: 1.2em;
}

/* —— IG feed posts —— */
.rbeta-feed {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 0 24px;
  min-height: 12rem;
}

.rbeta-post {
  background: var(--rbeta-bg);
  border: 1px solid var(--rbeta-border);
  border-radius: var(--rbeta-radius);
  overflow: hidden;
}

.rbeta-post--skel .rbeta-post__media {
  aspect-ratio: 1 / 1;
  background: linear-gradient(110deg, #141820 0%, #1c2230 50%, #141820 100%);
  background-size: 200% 100%;
  animation: rbeta-shimmer 1.2s ease-in-out infinite;
}

.rbeta-post__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}

.rbeta-post__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.rbeta-post__head-line {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
}

.rbeta-post__name {
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rbeta-post__dot,
.rbeta-post__time {
  font-size: 0.78rem;
  color: var(--rbeta-muted);
  flex-shrink: 0;
}

.rbeta-post__sport {
  margin: 2px 0 0;
  font-size: 0.72rem;
  color: var(--rbeta-muted);
}

.rbeta-post__more {
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 4px;
}

.rbeta-post__media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center center;
  background: #0a0d12;
}

.rbeta-post__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 4px;
}

.rbeta-post__actions-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rbeta-act--icon {
  padding: 2px;
}

.rbeta-act--icon .rbeta-ico,
.rbeta-ico--post {
  width: 1.9rem;
  height: 1.9rem;
}

.rbeta-post__likes {
  margin: 0;
  padding: 0 12px 6px;
  font-size: 0.86rem;
}

.rbeta-post__caption {
  margin: 0;
  padding: 0 12px 8px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.rbeta-post__caption a {
  color: inherit;
}

.rbeta-post__comments {
  display: block;
  padding: 0 12px 8px;
  font-size: 0.8rem;
  color: var(--rbeta-muted);
}

.rbeta-post__profile-cta {
  display: block;
  padding: 0 12px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--rbeta-gk);
}

/* —— Feed (legacy card aliases) —— */

.rbeta-feed__skel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rbeta-card--skel .rbeta-card__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--rbeta-radius);
  background: linear-gradient(110deg, #141820 0%, #1c2230 50%, #141820 100%);
  background-size: 200% 100%;
  animation: rbeta-shimmer 1.2s ease-in-out infinite;
}

.rbeta-card--skel .rbeta-card__line {
  height: 12px;
  margin-top: 10px;
  border-radius: 6px;
  background: #141820;
}

.rbeta-card--skel .rbeta-card__line--short {
  width: 55%;
}

@keyframes rbeta-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.rbeta-card {
  background: var(--rbeta-surface);
  border: 1px solid var(--rbeta-border);
  border-radius: calc(var(--rbeta-radius) + 2px);
  overflow: hidden;
}

.rbeta-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 8px;
}

.rbeta-card__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--rbeta-border);
  flex-shrink: 0;
}

.rbeta-card__who {
  flex: 1;
  min-width: 0;
}

.rbeta-card__name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rbeta-card__meta {
  margin: 2px 0 0;
  font-size: 0.75rem;
  color: var(--rbeta-muted);
}

.rbeta-card__time {
  font-size: 0.72rem;
  color: var(--rbeta-muted);
  flex-shrink: 0;
}

.rbeta-card__story {
  margin: 0 12px 10px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(244, 248, 251, 0.88);
}

.rbeta-card__media-link {
  display: block;
  position: relative;
}

.rbeta-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #0a0d12;
}

.rbeta-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 14px;
}

.rbeta-act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.35rem 0.45rem;
  cursor: pointer;
  text-decoration: none;
}

.rbeta-act .rbeta-ico {
  width: 1.75rem;
  height: 1.75rem;
}

.rbeta-act__txt {
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.92);
}

.rbeta-act.is-on .rbeta-ico {
  color: #fff;
}

.rbeta-act--follow.is-on .rbeta-ico {
  color: var(--rbeta-gk);
}

.rbeta-act--profile {
  margin-left: auto;
}

.rbeta-act--profile .rbeta-ico {
  color: var(--rbeta-gk);
}

.rbeta-act:disabled {
  opacity: 0.55;
  cursor: wait;
}

.rbeta-pill {
  border: 1px solid var(--rbeta-border);
  background: var(--rbeta-surface-2);
  color: var(--rbeta-text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
}

.rbeta-pill.is-on {
  border-color: rgba(0, 245, 42, 0.5);
  background: var(--rbeta-gk-dim);
  color: var(--rbeta-gk);
}

.rbeta-pill--profile {
  margin-left: auto;
  border-color: rgba(0, 245, 42, 0.4);
  color: var(--rbeta-gk);
}

.rbeta-pill:disabled {
  opacity: 0.55;
  cursor: wait;
}

.rbeta-empty {
  text-align: center;
  padding: 2.5rem 1.25rem;
  color: var(--rbeta-muted);
}

.rbeta-empty__title {
  font-family: "Syne", system-ui, sans-serif;
  font-size: 1.1rem;
  color: var(--rbeta-text);
  margin: 0 0 0.5rem;
}

.rbeta-empty a {
  color: var(--rbeta-gk);
  font-weight: 600;
}

.rbeta-empty__retry {
  margin-top: 0.65rem;
  padding: 0.55rem 1.15rem;
  border: 1px solid rgba(0, 245, 42, 0.45);
  border-radius: 999px;
  background: rgba(0, 245, 42, 0.12);
  color: var(--rbeta-gk);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
}

.rbeta-empty__retry:disabled {
  opacity: 0.55;
  cursor: wait;
}

/* —— Bottom dock —— */
.rbeta-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  min-height: var(--rbeta-dock-h);
  padding: 8px 6px calc(8px + var(--rbeta-safe-b));
  background: rgba(5, 6, 8, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--rbeta-border);
}

.rbeta-dock__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.1;
  padding: 0 4px 2px;
  cursor: pointer;
  min-width: 0;
  height: 3.1rem;
  text-decoration: none;
}

.rbeta-dock__item .rbeta-ico {
  width: 1.85rem;
  height: 1.85rem;
  color: rgba(255, 255, 255, 0.88);
  flex-shrink: 0;
}

.rbeta-dock__item > span:last-child {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rbeta-dock__item.is-active {
  color: #fff;
}

.rbeta-dock__item.is-active .rbeta-ico {
  color: #fff;
}

.rbeta-dock__build-badge {
  display: grid;
  place-items: center;
  width: 3.55rem;
  height: 3.55rem;
  border-radius: 50%;
  background: var(--rbeta-gk);
  box-shadow: 0 4px 20px rgba(0, 245, 42, 0.35);
  flex-shrink: 0;
}

.rbeta-dock__item--build {
  height: auto;
  justify-content: flex-end;
  padding-bottom: 0;
  transform: translateY(-10px);
  color: var(--rbeta-gk);
  font-weight: 700;
}

.rbeta-dock__item[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

/* —— Toast —— */
.rbeta-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--rbeta-dock-h) + var(--rbeta-safe-b) + 12px);
  transform: translateX(-50%);
  max-width: min(92vw, 360px);
  margin: 0;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(12, 15, 20, 0.96);
  border: 1px solid rgba(0, 245, 42, 0.35);
  color: var(--rbeta-text);
  font-size: 0.82rem;
  z-index: 60;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.rbeta-toast[hidden] {
  display: none;
}

@media (min-width: 1024px) {
  .rbeta-chips {
    padding-left: 14px;
    padding-right: 14px;
  }

  .rbeta-hint {
    padding-left: 14px;
    padding-right: 14px;
  }

  .rbeta-hero {
    padding-left: 14px;
    padding-right: 14px;
  }
}
