@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("fa-solid-900.woff2") format("woff2");
}

:root {
  --pink: #ff2a6d;
  --pink-soft: #ffb8d9;
  --gold: #ffd966;
  --muted: #a8a8ad;
  --panel: #151518;
  --line: rgba(255, 255, 255, 0.12);
  --app-height: 100vh;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

body {
  color: #fff;
  font-family: "Inter", "Segoe UI", "Poppins", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  -webkit-appearance: none;
  appearance: none;
  line-height: normal;
}

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

svg {
  display: block;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.phone-frame {
  width: 100%;
  max-width: 450px;
  height: 100vh;
  height: var(--app-height, 100vh);
  max-height: 100vh;
  max-height: var(--app-height, 100vh);
  overflow: hidden;
  position: relative;
  background: #000;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  stroke: currentColor;
}

.fa-icon {
  display: inline-block;
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-variant: normal;
  font-weight: 900;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

/* Feed */
.feed {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  width: 100%;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 60px;
  position: relative;
  scroll-behavior: smooth;
  -ms-scroll-snap-type: y mandatory;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.video-card {
  width: 100%;
  height: calc(100vh - 60px);
  height: calc(var(--app-height, 100vh) - 60px);
  overflow: hidden;
  position: relative;
  background: #111;
  scroll-snap-align: start;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.video-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  object-fit: cover;
  pointer-events: none;
}

.video-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 65%;
  pointer-events: none;
  background: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
}

.video-card.is-paused .pause-indicator {
  opacity: 1;
  -webkit-transform: translate(-50%, -50%) scale(1);
  transform: translate(-50%, -50%) scale(1);
}

.pause-indicator {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 7;
  opacity: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.42);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  -webkit-transform: translate(-50%, -50%) scale(0.8);
  transform: translate(-50%, -50%) scale(0.8);
  -webkit-transition: opacity 0.18s, -webkit-transform 0.18s;
  transition: opacity 0.18s, transform 0.18s;
}

.pause-indicator::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 29px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 23px solid #fff;
}

.interaction-col {
  position: absolute;
  right: 10px;
  bottom: 110px;
  z-index: 6;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0;
}

.interaction-item {
  margin: 0 0 24px;
  padding: 0;
  color: #fff;
  cursor: pointer;
  background: transparent;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.interaction-item:last-child {
  margin-bottom: 0;
}

.interaction-icon {
  width: 48px;
  height: 48px;
  margin: 0 0 4px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
  -webkit-transition: color 0.2s, -webkit-transform 0.2s;
  transition: color 0.2s, transform 0.2s;
}

.interaction-icon .fa-icon {
  font-size: 32px;
}

.interaction-item:hover .interaction-icon,
.interaction-item:active .interaction-icon {
  color: #ff4d8a;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.interaction-item.is-active .interaction-icon,
.interaction-item.is-liked .interaction-icon {
  color: var(--pink);
}

.interaction-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: normal;
}

.info-overlay {
  position: relative;
  z-index: 5;
  padding: 16px 70px 24px 16px;
  color: #fff;
}

.user-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0;
  margin-bottom: 12px;
}

.avatar {
  width: 48px;
  height: 48px;
  margin-right: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #000;
  background: -webkit-linear-gradient(45deg, #ffd6a5, #ffb347);
  background: linear-gradient(45deg, #ffd6a5, #ffb347);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 700;
}

.user-info {
  min-width: 0;
}

.user-name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.3px;
}

.verified-badge {
  width: 20px;
  height: 20px;
  margin-left: 6px;
  padding: 2px;
  border-radius: 50%;
  color: #1da1f2;
  background: #fff;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.verified-badge .fa-icon {
  font-size: 11px;
}

.subtitle {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
  opacity: 0.9;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0;
}

.subtitle-icon {
  margin-right: 8px;
  color: var(--gold);
  font-size: 10px;
}

.subtitle-text.with-badge {
  font-size: 12px;
  opacity: 0.9;
}

.extreme-badge {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0;
  margin-right: 8px;
  padding: 4px 12px;
  border: 1px solid #ffb3c6;
  border-radius: 30px;
  color: #fff;
  background: var(--pink);
  box-shadow: 0 0 14px rgba(255, 42, 109, 0.7);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.extreme-badge .fa-icon {
  margin-right: 4px;
}

.caption {
  max-width: 100%;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-shadow: 0 1px 4px #000;
}

.caption strong,
.caption .hashtag {
  font-weight: 800;
}

.caption .hashtag {
  color: var(--pink-soft);
}

.tag-button,
.music-button {
  max-width: 100%;
  border: 0;
  cursor: pointer;
  color: #fff;
}

.tag-button {
  height: 29px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0;
  margin-top: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag-button .tag-symbol {
  margin-right: 8px;
  color: var(--gold);
  font-size: 14px;
}

.music-button {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: auto;
  height: 28px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0;
  margin-top: 14px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-button .music-symbol {
  margin-right: 10px;
  color: #ffb86b;
  font-size: 16px;
}

.playing-bar {
  height: 3px;
  position: absolute;
  right: 70px;
  bottom: 60px;
  left: 16px;
  z-index: 6;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.3);
}

.playing-bar-fill {
  width: 20%;
  height: 100%;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

.top-bar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 12;
  padding: 14px 16px;
  color: #fff;
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.52), transparent);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.52), transparent);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  text-shadow: 0 1px 4px #000;
  font-size: 13px;
  font-weight: 600;
}

.channel-tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 0;
}

.channel-tab {
  margin-right: 6px;
  padding-bottom: 4px;
  opacity: 0.62;
}

.channel-tab:last-child {
  margin-right: 0;
}

.channel-tab.is-active {
  border-bottom: 2px solid #fff;
  opacity: 1;
}

.top-search {
  margin: 0;
}

.top-search .fa-icon {
  font-size: 13px;
}

.channel-tab .fa-icon {
  margin-right: 2px;
}

/* Bottom navigation */
.bottom-nav {
  height: 60px;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 25;
  border-top: 1px solid var(--line);
  color: #aaa;
  background: #000;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  padding: 0 10px;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
  font-size: 11px;
  font-weight: 600;
}

.nav-item {
  min-width: 0;
  max-width: 82px;
  color: #aaa;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0;
  font-size: 11px;
  font-weight: 600;
}

.nav-item .fa-icon {
  margin-bottom: 4px;
  font-size: 22px;
}

.nav-item.is-active,
.nav-item[aria-current="page"] {
  color: #fff;
}

.nav-item.is-active .fa-icon,
.nav-item[aria-current="page"] .fa-icon {
  filter: drop-shadow(0 0 8px #ff4d8a);
}

.plus-icon {
  width: 44px;
  height: 44px;
  margin-top: -6px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  color: #fff;
  background: var(--pink);
  box-shadow: 0 0 18px rgba(255, 42, 109, 0.6);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 600;
  line-height: normal;
}

.plus-icon .fa-icon {
  font-size: 26px;
}

/* Sheets, dialogs and toast */
.sheet-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  visibility: hidden;
  opacity: 0;
  background: rgba(0, 0, 0, 0.55);
  -webkit-transition: opacity 0.2s, visibility 0.2s;
  transition: opacity 0.2s, visibility 0.2s;
}

.sheet-overlay.is-open {
  visibility: visible;
  opacity: 1;
}

.bottom-sheet {
  max-height: 76%;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  color: #fff;
  background: #18181c;
  box-shadow: 0 -14px 45px rgba(0, 0, 0, 0.5);
  -webkit-transform: translateY(102%);
  transform: translateY(102%);
  -webkit-transition: -webkit-transform 0.24s ease-out;
  transition: transform 0.24s ease-out;
}

.sheet-overlay.is-open .bottom-sheet {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.sheet-handle {
  width: 38px;
  height: 4px;
  margin: 10px auto 6px;
  border-radius: 3px;
  background: #55555c;
}

.sheet-header {
  min-height: 50px;
  padding: 8px 48px 12px 16px;
  border-bottom: 1px solid var(--line);
  position: relative;
  text-align: center;
}

.sheet-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 30px;
}

.sheet-close {
  width: 34px;
  height: 34px;
  position: absolute;
  top: 6px;
  right: 10px;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: 25px;
  line-height: 34px;
}

.sheet-body {
  max-height: calc(var(--app-height, 100vh) * 0.55);
  padding: 18px 16px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.comment-list {
  list-style: none;
}

.comment {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 17px;
}

.comment-avatar {
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border-radius: 50%;
  background: #313138;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.comment-copy {
  min-width: 0;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.comment-name {
  margin-bottom: 3px;
  color: #a8a8ad;
  font-size: 12px;
  font-weight: 700;
}

.comment-text {
  font-size: 14px;
  line-height: 1.35;
}

.comment-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.comment-input {
  min-width: 0;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #34343b;
  border-radius: 22px;
  outline: 0;
  color: #fff;
  background: #25252b;
}

.comment-input:focus {
  border-color: var(--pink);
}

.comment-send {
  width: 54px;
  margin-left: 8px;
  border-radius: 22px;
  color: #fff;
  background: var(--pink);
  cursor: pointer;
  font-weight: 800;
}

.share-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: -6px;
}

.share-option {
  width: calc(33.333% - 12px);
  min-height: 86px;
  margin: 6px;
  border-radius: 14px;
  color: #fff;
  background: #25252b;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.share-option strong {
  width: 38px;
  height: 38px;
  margin: 0 auto 8px;
  border-radius: 50%;
  color: #111;
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 18px;
}

.info-sheet-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #232329;
}

.info-sheet-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.info-sheet-card p {
  color: #c9c9ce;
  font-size: 14px;
  line-height: 1.55;
}

.sheet-primary {
  width: 100%;
  height: 46px;
  margin-top: 16px;
  border-radius: 13px;
  color: #fff;
  background: var(--pink);
  cursor: pointer;
  font-weight: 800;
}

.toast {
  min-width: 120px;
  max-width: 80%;
  position: absolute;
  bottom: 84px;
  left: 50%;
  z-index: 80;
  padding: 10px 16px;
  border-radius: 22px;
  color: #fff;
  background: rgba(34, 34, 38, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  -webkit-transform: translate(-50%, 10px);
  transform: translate(-50%, 10px);
  -webkit-transition: opacity 0.18s, -webkit-transform 0.18s;
  transition: opacity 0.18s, transform 0.18s;
}

.toast.is-visible {
  opacity: 1;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}

/* Static subpages */
.static-page {
  height: 100%;
  padding-bottom: 60px;
  overflow-x: hidden;
  overflow-y: auto;
  background: #0b0b0d;
  -webkit-overflow-scrolling: touch;
}

.page-header {
  min-height: 62px;
  padding: 19px 18px 12px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 11, 13, 0.95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  text-align: center;
}

.page-header h1 {
  font-size: 19px;
  font-weight: 800;
}

.page-content {
  padding: 16px;
}

.page-intro {
  margin-bottom: 18px;
  color: #aaaab0;
  font-size: 13px;
  line-height: 1.5;
}

.search-box {
  height: 46px;
  margin-bottom: 16px;
  padding: 0 14px;
  border: 1px solid #2f2f35;
  border-radius: 14px;
  background: #1a1a1f;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.search-box .icon,
.search-box .fa-icon {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  color: #9a9aa1;
}

.search-box .fa-icon {
  font-size: 16px;
  line-height: 18px;
}

.search-box input {
  min-width: 0;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 15px;
}

.category-row {
  margin: 0 -5px 16px;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-row::-webkit-scrollbar {
  display: none;
}

.category-chip {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 13px;
  border: 1px solid #33333a;
  border-radius: 18px;
  color: #c8c8ce;
  background: #1b1b20;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.category-chip.is-active {
  border-color: var(--pink);
  color: #fff;
  background: var(--pink);
}

.discover-grid,
.profile-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: -4px;
}

.discover-tile,
.profile-tile {
  width: calc(50% - 8px);
  margin: 4px;
  overflow: hidden;
  position: relative;
  border-radius: 13px;
  background: #202025;
}

.discover-tile {
  height: 245px;
}

.profile-tile {
  width: calc(33.333% - 8px);
  height: 160px;
  border-radius: 4px;
}

.profile-grid {
  margin: 0;
}

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

.tile-shade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 38px 10px 10px;
  background: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.9), transparent);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  font-size: 12px;
  font-weight: 750;
}

.empty-state {
  display: none;
  padding: 60px 15px;
  color: #909097;
  text-align: center;
}

.empty-state.is-visible {
  display: block;
}

.upload-card {
  padding: 22px;
  border: 1px dashed #4a4a52;
  border-radius: 20px;
  background: #17171b;
  text-align: center;
}

.upload-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 22px;
  background: var(--pink);
  box-shadow: 0 0 24px rgba(255, 42, 109, 0.35);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 38px;
}

.upload-card h2 {
  margin-bottom: 7px;
  font-size: 20px;
}

.upload-card p {
  margin-bottom: 18px;
  color: #9f9fa6;
  font-size: 13px;
  line-height: 1.5;
}

.upload-button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 24px;
  color: #fff;
  background: var(--pink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.upload-preview {
  display: none;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 15px;
  background: #000;
}

.upload-preview.is-visible {
  display: block;
}

.upload-preview video,
.upload-preview img {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: contain;
}

.form-field {
  margin-top: 15px;
  text-align: left;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  color: #b6b6bc;
  font-size: 12px;
  font-weight: 700;
}

.form-field textarea {
  width: 100%;
  min-height: 88px;
  padding: 12px;
  resize: vertical;
  border: 1px solid #33333a;
  border-radius: 13px;
  outline: 0;
  color: #fff;
  background: #222227;
  line-height: 1.4;
}

.activity-list {
  list-style: none;
}

.activity-item {
  min-height: 70px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.activity-avatar {
  width: 46px;
  height: 46px;
  margin-right: 11px;
  border-radius: 50%;
  background: #28282e;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 22px;
}

.activity-copy {
  min-width: 0;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.activity-copy strong {
  font-size: 14px;
}

.activity-copy p {
  margin-top: 3px;
  color: #a2a2a9;
  font-size: 12px;
  line-height: 1.35;
}

.activity-time {
  margin-left: 8px;
  color: #707077;
  font-size: 11px;
}

.profile-hero {
  padding: 26px 18px 17px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.profile-avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 11px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: -webkit-linear-gradient(45deg, #ffd6a5, #ffb347);
  background: linear-gradient(45deg, #ffd6a5, #ffb347);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 40px;
}

.profile-hero h1 {
  font-size: 20px;
}

.profile-handle {
  margin-top: 4px;
  color: #9f9fa6;
  font-size: 13px;
}

.profile-stats {
  margin: 18px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.profile-stat {
  min-width: 85px;
  border-right: 1px solid var(--line);
}

.profile-stat:last-child {
  border-right: 0;
}

.profile-stat strong,
.profile-stat span {
  display: block;
}

.profile-stat strong {
  font-size: 17px;
}

.profile-stat span {
  margin-top: 3px;
  color: #8f8f96;
  font-size: 11px;
}

.profile-bio {
  max-width: 330px;
  margin: 0 auto;
  color: #d0d0d4;
  font-size: 13px;
  line-height: 1.45;
}

.profile-tabs {
  height: 48px;
  border-bottom: 1px solid var(--line);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.profile-tab {
  width: 50%;
  border-bottom: 2px solid transparent;
  color: #88888f;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}

.profile-tab.is-active {
  border-bottom-color: #fff;
  color: #fff;
}

.section-title {
  margin: 18px 0 12px;
  font-size: 16px;
}

@media (max-width: 380px) {
  .interaction-col {
    bottom: 100px;
    gap: 0;
  }

  .interaction-item {
    margin-bottom: 18px;
  }

  .interaction-icon {
    width: 42px;
    height: 42px;
  }

  .interaction-icon .fa-icon {
    font-size: 26px;
  }

  .info-overlay {
    padding-right: 60px;
  }

  .user-name {
    font-size: 14px;
  }

  .extreme-badge {
    padding: 3px 8px;
    font-size: 9px;
  }

  html[lang="th"] .bottom-nav {
    padding-right: 4px;
    padding-left: 4px;
  }

  html[lang="th"] .nav-item {
    max-width: 68px;
    font-size: 9px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    -webkit-transition-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
