:root {
  color-scheme: dark;
  --bg: #050507;
  --panel: #111116;
  --panel-2: #17171f;
  --text: #f7f7fb;
  --muted: #a6a6b3;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #22d3ee;
  --accent-2: #f43f5e;
  --ok: #38d27a;
  --danger: #fb4d5f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 44px 1fr 64px;
  align-items: center;
  height: 58px;
  padding: 0 14px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.56), transparent);
  pointer-events: none;
}

.topbar > * {
  pointer-events: auto;
}

.top-icon,
.top-logo,
.search-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.82);
}

.top-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.feed-close {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 70;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.top-icon svg,
.search-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.feed-tabs {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.82);
}

.feed-tabs a {
  position: relative;
  padding: 18px 0 12px;
}

.feed-tabs a.active {
  color: #fff;
}

.feed-tabs a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transform: translateX(-50%);
}

.nav {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.inline-form {
  display: inline;
}

.inline-form button,
.nav a {
  border: 0;
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.18);
  color: inherit;
  cursor: pointer;
}

.nav .search-icon {
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.messages {
  position: fixed;
  z-index: 30;
  left: 50%;
  top: 70px;
  transform: translateX(-50%);
  width: min(92vw, 520px);
}

.messages div {
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(17, 17, 22, 0.95);
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 22;
  width: min(100%, 520px);
  height: 58px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 5px 10px max(5px, env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateX(-50%);
}

.bottom-nav a {
  display: grid;
  justify-items: center;
  gap: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 850;
}

.bottom-nav a.active {
  color: #fff;
}

.bottom-nav a > span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
}

.bottom-nav {
  height: 64px;
  padding: 6px 10px max(6px, env(safe-area-inset-bottom));
}

.bottom-nav a {
  gap: 4px;
}

.bottom-nav svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.4));
}

.bottom-nav a > span,
.bn-home,
.bn-compass,
.bn-inbox,
.bn-profile {
  display: none;
}

.bottom-nav .bottom-icon-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.nav-badge {
  position: absolute;
  top: -9px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 2px solid #000;
  background: #ff2d55;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

.bn-home,
.bn-compass,
.bn-inbox,
.bn-profile {
  position: relative;
}

.bn-home::before {
  content: "";
  width: 18px;
  height: 17px;
  background: currentColor;
  clip-path: polygon(50% 4%, 94% 42%, 86% 42%, 86% 94%, 60% 94%, 60% 62%, 40% 62%, 40% 94%, 14% 94%, 14% 42%, 6% 42%);
}

.bn-compass::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.bn-compass::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 100%, 0 70%);
  transform: rotate(40deg);
}

.bn-inbox::before {
  content: "";
  width: 18px;
  height: 16px;
  background: currentColor;
  clip-path: polygon(8% 16%, 92% 16%, 92% 84%, 8% 84%, 8% 16%, 48% 54%, 92% 16%, 92% 28%, 48% 66%, 8% 28%);
}

.bn-profile::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  clip-path: path("M9 9.2C11.2 9.2 12.8 7.4 12.8 5.2C12.8 3 11.2 1.3 9 1.3C6.8 1.3 5.2 3 5.2 5.2C5.2 7.4 6.8 9.2 9 9.2ZM2.5 17C3.1 13.4 5.5 11.5 9 11.5C12.5 11.5 14.9 13.4 15.5 17H2.5Z");
}

.feed {
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  background: #000;
}

.feed::-webkit-scrollbar {
  display: none;
}

.short-card {
  position: relative;
  height: 100svh;
  min-height: 620px;
  display: grid;
  place-items: center;
  scroll-snap-align: start;
  overflow: hidden;
  background: #000;
}

.video-card {
  width: 100%;
}

.feed-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fact-card {
  width: min(100%, 500px);
  margin: 0 auto;
  isolation: isolate;
}

.fact-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--fact-bg-image, none), var(--fact-bg-gradient);
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
  transition: transform 7000ms ease;
}

.fact-card.is-visible .fact-visual {
  transform: scale(1.12);
}

.fact-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.76));
}

.fact-content {
  width: min(78%, 420px);
  margin: auto;
  text-align: center;
  animation: factRise 520ms ease both;
}

.fact-content p {
  margin: 0;
  font-size: clamp(26px, 6.2vw, 44px);
  font-weight: 950;
  line-height: 1.08;
  text-wrap: balance;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.86);
}

.ad-card {
  width: min(100%, 500px);
  margin: 0 auto;
  background:
    radial-gradient(circle at 35% 18%, rgba(34, 211, 238, 0.22), transparent 32%),
    linear-gradient(145deg, #050507, #101827 46%, #031018);
}

.ad-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent 45%, rgba(0, 0, 0, 0.42));
}

.ad-visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0.9;
}

.ad-visual img {
  width: min(52vw, 230px);
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.5));
}

.ad-content {
  position: relative;
  z-index: 1;
  width: min(78%, 390px);
  margin: auto;
  text-align: center;
}

.ad-content span {
  display: inline-block;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 950;
}

.ad-content h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 8vw, 52px);
  font-weight: 950;
}

.ad-content p {
  margin: 12px 0 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.38;
}

.ad-content a {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 18px;
  background: #fff;
  color: #050507;
  font-size: 14px;
  font-weight: 950;
}

.ad-actions {
  z-index: 2;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(0, 0, 0, 0.36);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  backdrop-filter: blur(12px);
}

.trust-badge::before,
.trust-detail strong::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6b7280;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.trust-verified::before,
.trust-verified strong::before {
  background: #1d9bf0;
}

.trust-team::before,
.trust-team strong::before {
  background: #a855f7;
}

.trust-community::before,
.trust-community strong::before {
  background: #22c55e;
}

.trust-detail {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.trust-detail strong {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-detail span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.article-profile .trust-detail {
  width: min(280px, 100%);
  margin: 10px 0 14px;
  background: #f5f5f5;
  color: #111;
}

.article-profile .trust-detail span {
  color: #666;
}

.fact-card .caption h1 {
  margin: 6px 0 0;
  font-size: clamp(15px, 3.2vw, 21px);
  line-height: 1.15;
  max-width: 28ch;
}

@keyframes factRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.video-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.05) 52%, rgba(0, 0, 0, 0.42));
  pointer-events: none;
}

.caption {
  position: absolute;
  left: 18px;
  right: 90px;
  bottom: max(68px, calc(env(safe-area-inset-bottom) + 58px));
  max-width: 640px;
}

.caption h1 {
  margin: 8px 0;
  font-size: clamp(28px, 7vw, 52px);
  line-height: 1.02;
}

.caption p {
  display: -webkit-box;
  margin: 0;
  max-width: 56ch;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.84);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.creator,
.eyebrow {
  color: var(--accent);
  font-weight: 800;
  text-transform: none;
}

.name-with-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  vertical-align: middle;
}

.trust-check {
  position: relative;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #6b7280;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.36);
}

.trust-check::after {
  content: "";
  width: 7px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-1px) rotate(-45deg);
}

.trust-check-verified {
  background: #1d9bf0;
}

.trust-check-team {
  background: #a855f7;
}

.trust-check-community {
  background: #22c55e;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.meta span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.meta a {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.actions {
  position: absolute;
  right: 12px;
  bottom: 92px;
  display: grid;
  gap: 9px;
}

.profile-action {
  position: relative;
  width: 52px;
  min-height: 58px;
  display: grid;
  justify-items: center;
  align-content: start;
  color: #fff;
}

.profile-ring {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #111;
  font-weight: 950;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.36);
}

.profile-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-plus {
  position: absolute;
  left: 50%;
  top: 36px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  background: #ff2d55;
  color: #fff;
  font-size: 17px;
  font-weight: 950;
  line-height: 1;
  transform: translateX(-50%);
  cursor: pointer;
}

.profile-plus.following {
  background: #22c55e;
  font-size: 13px;
}

.profile-plus[hidden] {
  display: none;
}

.action-btn {
  width: 52px;
  min-height: 62px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease;
}

.action-btn span {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.action-btn small {
  max-width: 62px;
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.85);
}

.action-btn:hover,
.action-btn.active {
  transform: scale(1.04);
}

.like-btn.active .icon-heart::before {
  background: #ff2d55;
}

.save-btn.active .icon-bookmark::before {
  background: #facc15;
}

.icon-heart::before {
  content: "";
  width: 27px;
  height: 25px;
  background: #fff;
  clip-path: path("M12 21C10.8 19.9 1.8 12.1 1.8 6.5C1.8 3.4 4.2 1.2 7.1 1.2C8.9 1.2 10.6 2.1 12 3.7C13.4 2.1 15.1 1.2 16.9 1.2C19.8 1.2 22.2 3.4 22.2 6.5C22.2 12.1 13.2 19.9 12 21Z");
}

.icon-comment::before {
  content: "";
  width: 28px;
  height: 24px;
  background: #fff;
  clip-path: polygon(8% 12%, 92% 12%, 92% 70%, 58% 70%, 42% 88%, 42% 70%, 8% 70%);
}

.icon-bookmark::before {
  content: "";
  width: 23px;
  height: 29px;
  background: #fff;
  clip-path: polygon(8% 4%, 92% 4%, 92% 96%, 50% 72%, 8% 96%);
}

.icon-share::before {
  content: "";
  width: 29px;
  height: 27px;
  background: #fff;
  clip-path: polygon(48% 2%, 98% 46%, 70% 46%, 70% 60%, 47% 60%, 47% 46%, 20% 46%);
  transform: rotate(-28deg);
}

.page-shell {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 96px 18px 40px;
}

.panel,
.profile-head,
.data-table,
.detail-info {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.panel {
  padding: 28px;
}

.panel.narrow {
  width: min(480px, 100%);
  margin: 10vh auto 0;
}

.panel h1,
.detail-info h1,
.page-shell h1 {
  margin: 4px 0 18px;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.04;
}

.stack-form {
  display: grid;
  gap: 16px;
}

.stack-form p {
  display: grid;
  gap: 8px;
  margin: 0;
}

.stack-form label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.stack-form input,
.stack-form select,
.stack-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: var(--panel-2);
  color: var(--text);
}

.primary,
.danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: #031014;
  font-weight: 900;
  cursor: pointer;
}

.primary {
  background: var(--accent);
}

.danger {
  background: var(--danger);
  color: white;
}

.detail-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 82px 16px 32px;
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  gap: 22px;
}

.detail-video {
  min-height: 70vh;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.admin-fact-preview {
  min-height: 70vh;
  border-radius: 8px;
}

.detail-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info {
  padding: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.stats-grid span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.stats-grid strong {
  display: block;
  color: var(--text);
  font-size: 22px;
}

.comment-panel {
  margin-top: 24px;
  background: #000;
}

.comment-panel h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.comment-compose,
.reply-form {
  display: grid;
  gap: 10px;
}

.comment-compose textarea,
.reply-form textarea {
  width: 100%;
  min-height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px;
  background: #09090d;
  color: #fff;
  resize: vertical;
}

.reply-form {
  margin-top: 10px;
}

.reply-form[hidden] {
  display: none !important;
}

.reply-form textarea {
  min-height: 58px;
}

.reply-form .primary,
.comment-compose .primary {
  justify-self: start;
  min-height: 38px;
}

.comments {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.comment-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: start;
}

.comment-item.depth-1,
.comment-item.depth-2,
.comment-item.depth-3,
.comment-item.depth-4,
.comment-item.depth-5 {
  margin-top: 16px;
}

.comment-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.6), transparent 17%),
    linear-gradient(135deg, #38bdf8, #f43f5e);
  color: white;
  font-size: 12px;
  font-weight: 950;
}

.comment-body {
  min-width: 0;
}

.comment-head strong {
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  font-weight: 900;
}

.comment-body p {
  margin: 5px 0 6px;
  color: #fff;
  font-size: 15.5px;
  font-weight: 950;
  line-height: 1.32;
}

.comment-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  color: rgba(255, 255, 255, 0.38);
  font-size: 13.5px;
  font-weight: 900;
}

.comment-meta button {
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 900;
  cursor: pointer;
}

.comment-replies {
  margin-top: 18px;
}

.show-replies-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0 6px;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}

.show-replies-btn span {
  width: 25px;
  height: 1px;
  background: rgba(255, 255, 255, 0.36);
}

.show-replies-btn.open {
  color: rgba(255, 255, 255, 0.72);
}

.comment-like-btn {
  display: grid;
  justify-items: center;
  gap: 5px;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
}

.comment-like-btn small {
  font-size: 12.5px;
  font-weight: 900;
}

.mini-heart {
  width: 18px;
  height: 16px;
  background: transparent;
  border: 1.8px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  clip-path: path("M10 17C9 16.1 1.6 9.7 1.6 5.2C1.6 2.7 3.5 1 5.8 1C7.3 1 8.7 1.8 10 3C11.3 1.8 12.7 1 14.2 1C16.5 1 18.4 2.7 18.4 5.2C18.4 9.7 11 16.1 10 17Z");
}

.comment-like-btn.active .mini-heart {
  background: #ff2d55;
  border-color: #ff2d55;
}

.comment-modal[hidden] {
  display: none;
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 18px;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.auth-modal-sheet {
  position: relative;
  width: min(92vw, 360px);
  display: grid;
  justify-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 26px 22px 20px;
  background: #101014;
  color: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
  text-align: center;
}

.auth-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.auth-modal-sheet img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 12px;
}

.auth-modal-sheet h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 950;
}

.auth-modal-sheet p {
  margin: 9px 0 18px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.auth-primary,
.auth-secondary {
  width: 100%;
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 950;
}

.auth-primary {
  background: #ff2d55;
  color: #fff;
}

.auth-secondary {
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.comment-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  align-items: end;
  justify-items: center;
}

.comment-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.58);
}

.comment-modal-sheet {
  position: relative;
  width: min(100%, 520px);
  max-height: min(86vh, 760px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border-radius: 14px 14px 0 0;
  background: #000;
  box-shadow: 0 -24px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.comment-modal-sheet header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0;
  padding: 12px 14px 4px;
}

.comment-modal-sheet h2 {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 950;
}

.comment-modal-sheet header button {
  border: 0;
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  cursor: pointer;
}

.comment-modal-body {
  overflow-y: auto;
  padding: 12px 12px 86px;
}

.modal-comment-form {
  position: sticky;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 28px 28px 34px;
  gap: 6px;
  align-items: center;
  margin: 18px -4px -74px;
  padding: 10px 4px 12px;
  background: linear-gradient(to top, #000 82%, rgba(0, 0, 0, 0));
}

.modal-comment-avatar {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #f43f5e);
  color: white;
  font-size: 12px;
  font-weight: 950;
}

.modal-comment-form textarea {
  width: 100%;
  height: 37px;
  min-height: 37px;
  max-height: 37px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  resize: none;
  overflow: hidden;
}

.modal-comment-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.46);
  font-weight: 800;
}

.comment-tool,
.comment-submit {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: white;
  font-weight: 950;
  cursor: pointer;
}

.comment-tool {
  background: transparent;
  font-size: 20px;
}

.comment-submit {
  background: #b11234;
  font-size: 18px;
}

.modal-login-note {
  position: sticky;
  bottom: 0;
  margin: 18px -4px -74px;
  padding: 16px 4px;
  background: #000;
}

.created-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.created-list a {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.created-list span {
  color: var(--muted);
  font-size: 13px;
}

.muted {
  color: var(--muted);
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  margin-bottom: 20px;
}

.tiktok-profile {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 82px;
  background: #0b0b0f;
  color: #fff;
}

.tiktok-profile-head {
  height: 54px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: 0 12px;
  text-align: center;
  background: rgba(13, 13, 18, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.tiktok-profile-head strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 950;
  text-overflow: ellipsis;
}

.profile-back {
  justify-self: start;
  color: #fff;
  font-size: 32px;
  line-height: 1;
}

.menu-dots {
  justify-self: end;
  font-size: 20px;
}

.tiktok-profile-main {
  display: grid;
  justify-items: center;
  padding: 18px 20px 14px;
  text-align: center;
}

.tiktok-avatar {
  position: relative;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.42), transparent 18%),
    linear-gradient(135deg, #ff3f8f, #7c3aed);
  color: #fff;
  font-size: 34px;
  font-weight: 950;
}

.tiktok-avatar span {
  position: absolute;
  right: 6px;
  bottom: 3px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #22d3ee;
  font-size: 17px;
  line-height: 1;
}

.tiktok-profile-main h1 {
  margin: 12px 0 2px;
  font-size: 20px;
  font-weight: 950;
}

.profile-handle {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 800;
}

.tiktok-stats {
  display: grid;
  grid-template-columns: repeat(3, 76px);
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
}

.tiktok-stats.compact {
  grid-template-columns: repeat(2, 96px);
}

.tiktok-stats span {
  display: grid;
  gap: 2px;
}

.tiktok-stats strong {
  font-size: 16px;
  font-weight: 950;
}

.tiktok-stats small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
  font-weight: 700;
}

.tiktok-profile-actions {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
  width: min(100%, 260px);
}

.tiktok-profile-actions a,
.tiktok-profile-actions button {
  border: 1px solid #ddd;
  border-radius: 7px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  box-shadow: none;
}

.profile-bio {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 700;
}

.profile-tabs {
  height: 46px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b0b0f;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
}

.profile-tabs button {
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 19px;
  cursor: pointer;
}

.profile-tabs-icons button {
  display: grid;
  place-items: center;
}

.profile-tab-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  opacity: 0.72;
}

.profile-tab-icon::before {
  transform: scale(0.82);
}

.profile-tabs button.active .profile-tab-icon {
  opacity: 1;
}

.profile-tabs button.active {
  color: #fff;
  border-bottom: 2px solid #fff;
}

.profile-tab-panel[hidden] {
  display: none;
}

.profile-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #111116;
}

.profile-post-tile {
  position: relative;
  aspect-ratio: 9 / 14;
  overflow: hidden;
  background: linear-gradient(135deg, #fbcfe8, #c7d2fe);
}

.profile-post-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.42), transparent 46%);
}

.profile-post-tile img,
.profile-post-tile video,
.profile-fact-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-fact-thumb {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}


.profile-post-tile span {
  position: absolute;
  left: 7px;
  bottom: 7px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.empty-profile {
  grid-column: 1 / -1;
  padding: 28px;
  text-align: center;
}

.avatar {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-size: 32px;
  font-weight: 900;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

.thumb-card {
  position: relative;
  min-height: 280px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.thumb-card img,
.thumb-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-card span,
.thumb-card small {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  font-weight: 800;
}

.thumb-card small {
  bottom: 40px;
  color: var(--accent);
}

.table-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 14px;
}

.data-table {
  overflow: hidden;
}

.row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) 140px 180px 90px;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}

.row.header {
  border-top: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.empty-state {
  width: min(460px, 92vw);
  margin: auto;
  text-align: center;
}

.explore-page {
  min-height: 100vh;
  padding: 76px 16px 88px;
  background: #000;
  color: #fff;
}

.explore-head {
  width: min(1180px, 100%);
  margin: 0 auto 18px;
}

.explore-head h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 950;
}

.explore-head p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 800;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: #050507;
  color: #f7f7fb;
}

.search-sheet {
  width: min(100%, 520px);
  min-height: 100dvh;
  margin: 0 auto;
  background: #050507;
}

.search-form,
.search-page-form {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 12px 10px;
}

.search-back,
.search-page-back {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.search-back svg,
.search-page-back svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.search-input-wrap {
  min-width: 0;
  height: 38px;
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 2px;
  background: #f1f1f2;
  color: #111;
}

.search-input-wrap svg {
  width: 18px;
  height: 18px;
  fill: rgba(0, 0, 0, 0.58);
}

.search-input-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111;
  font-size: 14px;
}

.search-input-wrap input::placeholder {
  color: rgba(0, 0, 0, 0.36);
}

.search-submit {
  border: 0;
  background: transparent;
  color: #ff2d55;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.search-modal-body,
.search-discovery,
.search-results {
  padding: 0 16px 92px;
}

.search-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 8px;
}

.search-section-title button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.search-section-heading {
  display: block;
  margin: 12px 0 8px;
  font-size: 14px;
}

.search-list {
  display: grid;
  gap: 1px;
}

.search-list a {
  min-height: 38px;
  display: grid;
  grid-template-columns: 14px 1fr;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.dot.hot {
  background: #ff2d55;
}

.dot.warm {
  background: #f59e0b;
}

.search-page {
  min-height: 100vh;
  padding: 58px 0 0;
  background: #050507;
  color: #fff;
}

.search-page-form {
  position: sticky;
  top: 0;
  z-index: 18;
  width: min(100%, 720px);
  margin: 0 auto;
  background: rgba(5, 5, 7, 0.96);
  backdrop-filter: blur(14px);
}

.search-filter-tabs {
  position: sticky;
  top: 58px;
  z-index: 17;
  width: min(100%, 720px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 7, 0.96);
}

.search-filter-tabs a {
  position: relative;
  padding: 12px 4px;
  text-align: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 900;
}

.search-filter-tabs a.active {
  color: #fff;
}

.search-filter-tabs a.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.search-result-section {
  width: min(1180px, 100%);
  margin: 18px auto 0;
}

.search-result-section h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.search-account-list {
  display: grid;
  gap: 8px;
}

.search-account-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
}

.search-account-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8, #22d3ee);
  color: #fff;
  font-weight: 950;
}

.search-account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-account-row strong {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
}

.search-account-row small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.search-short-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.search-empty {
  width: min(420px, 92vw);
  margin: 80px auto 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.64);
}

.search-empty h1 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 25px;
}

.inbox-page {
  min-height: 100vh;
  padding: 58px 0 88px;
  background: #050507;
  color: #fff;
}

.inbox-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 24;
  width: min(100%, 520px);
  height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  background: rgba(5, 5, 7, 0.96);
  color: #fff;
  left: 50%;
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.inbox-head h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 950;
}

.inbox-head button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.inbox-head svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.inbox-stories {
  width: min(100%, 520px);
  margin: 0 auto;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 14px 16px 16px;
  background: #050507;
  scrollbar-width: none;
}

.inbox-stories::-webkit-scrollbar {
  display: none;
}

.inbox-story,
.inbox-empty-row {
  width: 76px;
  flex: 0 0 76px;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #fff;
  text-align: center;
}

.story-avatar {
  position: relative;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #f43f5e);
  color: #fff;
  font-size: 20px;
  font-weight: 950;
}

.avatar-initial {
  position: relative;
  z-index: 0;
}

.story-avatar img {
  position: absolute;
  inset: 2px;
  width: calc(100% - 5px);
  height: calc(100% - 5px);
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
}

.story-avatar.has-new {
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.85);
}

.story-avatar em {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #22c7f2;
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 950;
}

.story-avatar .blue-dot {
  right: 2px;
  bottom: 2px;
  width: 15px;
  height: 15px;
  background: #22c7f2;
}

.story-avatar b {
  position: absolute;
  left: 50%;
  bottom: -5px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #ff2d55;
  color: #fff;
  font-size: 10px;
  font-weight: 950;
  transform: translateX(-50%);
}

.inbox-story small,
.inbox-empty-row small {
  width: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-section {
  width: min(100%, 520px);
  margin: 0 auto;
  background: #050507;
  border-top: 8px solid #101014;
}

.activity-title {
  min-height: 56px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  color: #fff;
}

.activity-title strong {
  font-size: 19px;
  font-weight: 950;
}

.activity-title span {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ff3b5f;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.activity-title svg {
  width: 20px;
  height: 20px;
  fill: rgba(255, 255, 255, 0.5);
}

.activity-list {
  display: grid;
}

.activity-row {
  min-height: 76px;
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.activity-avatar,
.activity-thumb {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, #111827, #2563eb);
  color: #fff;
  font-weight: 950;
}

.activity-thumb {
  border-radius: 4px;
  background: #111;
}

.activity-avatar img,
.activity-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-avatar img {
  position: absolute;
  inset: 0;
}

.activity-avatar {
  position: relative;
}

.activity-copy {
  min-width: 0;
}

.activity-copy strong {
  display: block;
  overflow: hidden;
  font-size: 15px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-copy small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-copy b {
  color: rgba(255, 255, 255, 0.38);
  font-weight: 850;
}

.activity-empty {
  padding: 54px 28px;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
}

.activity-empty h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 22px;
}

.explore-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 16px;
}

.explore-card {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.explore-thumb {
  position: relative;
  aspect-ratio: 9 / 13;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

.explore-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), transparent 46%);
  pointer-events: none;
}

.explore-thumb img,
.explore-thumb video,
.explore-gradient {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.explore-gradient {
  position: absolute;
  inset: 0;
}

.explore-likes {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.88);
}

.explore-fact-text {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  z-index: 1;
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: clamp(16px, 2.4vw, 22px);
  font-weight: 950;
  line-height: 1.08;
  text-align: center;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.9);
  transform: translateY(-50%);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.explore-author {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.92);
}

.explore-avatar {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #f43f5e);
  color: #fff;
  font-size: 10px;
  font-weight: 950;
}

.explore-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.explore-author strong {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.explore-empty {
  grid-column: 1 / -1;
  padding: 32px 0;
  text-align: center;
}

.article-profile {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 0 82px;
  background: #121215;
  color: #fff;
}

.article-profile-head {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 54px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: 0 8px;
  background: #1d1d22;
  text-align: center;
}

.article-head-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-bell,
.article-menu-trigger {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.article-bell svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.article-bell.active {
  color: #facc15;
}

.article-menu-trigger {
  font-size: 17px;
  font-weight: 950;
  letter-spacing: 1px;
}

.article-profile-head strong {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-back {
  font-size: 32px;
  line-height: 1;
}

.article-identity {
  display: grid;
  justify-items: center;
  padding: 24px 20px 16px;
  text-align: center;
}

.article-avatar {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 32px;
  font-weight: 950;
}

.article-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-identity h1 {
  margin: 12px 0 4px;
  font-size: 22px;
  line-height: 1.1;
}

.article-identity p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 800;
}

.article-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin: 18px 0 14px;
}

.article-stats span {
  display: grid;
  gap: 3px;
}

.article-stats strong {
  font-size: 17px;
}

.article-stats small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 800;
}

.article-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(96px, 1fr));
  gap: 8px;
  width: min(280px, 100%);
}

.article-actions a,
.article-actions button {
  border-radius: 3px;
  border: 0;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.article-bio {
  margin-top: 14px !important;
  max-width: 280px;
}

.article-tabs {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
}

.article-tabs span {
  display: grid;
  place-items: center;
  height: 44px;
  font-size: 18px;
}

.article-tabs .active {
  color: #fff;
  border-bottom: 2px solid #fff;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.article-tile {
  position: relative;
  min-height: 188px;
  overflow: hidden;
  background: #000;
}

.article-tile div {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: brightness(0.76);
}

.article-tile span {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 24px;
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.12;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.88);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.article-tile small {
  position: absolute;
  left: 8px;
  bottom: 7px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.88);
}

.article-menu-modal[hidden] {
  display: none;
}

.article-menu-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  align-items: end;
  justify-items: center;
}

.article-menu-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.58);
}

.article-menu-sheet {
  position: relative;
  width: min(100%, 520px);
  display: grid;
  gap: 12px;
  border-radius: 16px 16px 0 0;
  padding: 14px;
  background: #111116;
  color: #fff;
  box-shadow: 0 -24px 80px rgba(0, 0, 0, 0.5);
}

.article-menu-sheet header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-menu-sheet header button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 24px;
}

.article-menu-action,
.article-report-form button {
  border: 0;
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
}

.article-block-btn {
  color: #ff4d6d;
}

.article-report-form {
  display: grid;
  gap: 9px;
}

.article-report-form label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
}

.article-report-form select,
.article-report-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 11px;
  background: #07070a;
  color: #fff;
}

.trust-badge,
.trust-detail {
  display: none !important;
}

@media (max-width: 760px) {
  .nav {
    gap: 6px;
    font-size: 12px;
  }

  .nav a,
  .inline-form button {
    padding: 8px 9px;
  }

  .caption {
    right: 84px;
  }

  .caption h1 {
    font-size: 34px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-video {
    min-height: 58vh;
  }

  .row {
    grid-template-columns: 1fr;
  }

  .fact-card {
    width: 100%;
  }

  .fact-content p {
    font-size: 30px;
  }

  .explore-page {
    padding: 68px 8px 78px;
  }

  .explore-head {
    padding: 0 6px;
  }

  .explore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
  }

  .explore-thumb {
    border-radius: 7px;
  }
}
