﻿:root {
  --bg: #1c2a18;
  --bg-2: #0f160f;
  --surface: #162117;
  --surface-2: #111b12;
  --primary: #6eea8e;
  --success: #006600;
  --accent: #826cf6;
  --text: #e8ffe8;
  --text-muted: #a8cfa8;
  --text-soft: #5f7a5f;
  --line: rgba(110, 234, 142, 0.24);
  --line-strong: rgba(110, 234, 142, 0.45);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
  --chat-private-vh: 100dvh;
  --community-live-vh: 100dvh;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--text);
  background: radial-gradient(circle at 10% -10%, #284221 0%, var(--bg) 44%, #0d130d 100%);
  font-family: "Manrope", "Segoe UI", sans-serif;
  scrollbar-width: thin;
  scrollbar-color: rgba(132, 242, 163, 0.88) rgba(10, 18, 10, 0.72);
}

body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track {
  background: rgba(10, 18, 10, 0.72);
  border-radius: 999px;
}

body::-webkit-scrollbar-thumb {
  background: rgba(132, 242, 163, 0.88);
  border: 1px solid rgba(10, 18, 10, 0.84);
  border-radius: 999px;
}

body::-webkit-scrollbar-thumb:hover {
  background: rgba(150, 250, 178, 0.95);
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.bg-orb-a {
  width: 300px;
  height: 300px;
  top: -80px;
  right: 8%;
  background: rgba(110, 234, 142, 0.18);
}

.bg-orb-b {
  width: 260px;
  height: 260px;
  bottom: 10%;
  left: -90px;
  background: rgba(130, 108, 246, 0.18);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(110, 234, 142, 0.4) 2px, transparent 1px),
    linear-gradient(90deg, rgba(110, 234, 142, 0.4) 2px, transparent 1px);
  background-size: 44px 44px;
}

.app {
  position: relative;
  z-index: 1;
  width: min(1200px, 100% - 24px);
  margin: 0 auto;
  padding: 0 0 calc(var(--sp-7) + var(--sp-6));
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: grid;
  gap: 10px;
  padding: var(--sp-2);
  border-radius: 0 0 18px 18px;
  isolation: isolate;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(110, 234, 142, 0.1);
  background: linear-gradient(180deg, rgba(16, 28, 17, 0.72), rgba(12, 22, 13, 0.64));
  box-shadow: inset 0 1px 0 rgba(190, 255, 212, 0.05), 0 10px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.topbar.is-stuck::before {
  opacity: 1;
  border-color: rgba(110, 234, 142, 0.58);
  box-shadow: inset 0 1px 0 rgba(190, 255, 212, 0.08), 0 12px 26px rgba(0, 0, 0, 0.24);
}

@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .topbar::before {
    -webkit-backdrop-filter: blur(6px) saturate(108%);
    backdrop-filter: blur(6px) saturate(108%);
  }
}

.topbar-main {
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  position: relative;
  z-index: 3;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  min-height: 44px;
}

.topbar-actions > button {
  height: 40px;
}

#profileBtn {
  width: 60px;
  min-width: 60px;
  height: 60px;
  padding: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}

#profileBtn i {
  margin-right: 0;
  font-size: 15px;
}

.profile-btn-avatar {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0 4px;
}

.brand-badge {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: #09220f;
  background: linear-gradient(145deg, #6eea8e, #48bf6b);
}

.brand-logo {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.brand-mini {
  display: none;
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.2px;
}

.logo {
  font-family: "Sora", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.sublogo {
  font-size: 12px;
  color: var(--text-muted);
}

.search-wrap {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 440px;
  min-width: 0;
  margin: 0 auto;
  z-index: 22;
}

.search-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.search-group {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(122, 241, 160, 0.28);
  background: linear-gradient(180deg, rgba(16, 28, 19, 0.95), rgba(10, 16, 10, 0.9));
  box-shadow: inset 0 1px 0 rgba(190, 255, 212, 0.08), 0 8px 20px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.search-group:focus-within {
  border-color: rgba(125, 244, 163, 0.65);
  box-shadow: inset 0 1px 0 rgba(210, 255, 224, 0.1), 0 0 0 4px rgba(110, 234, 142, 0.12), 0 12px 28px rgba(0, 0, 0, 0.34);
}

.search-addon-btn {
  width: 40px;
  min-width: 40px;
  height: 100%;
  border: 0;
  border-right: 1px solid rgba(122, 241, 160, 0.16);
  border-radius: 0;
  background: rgba(24, 36, 24, 0.72);
  color: rgba(188, 225, 195, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: none;
}

.search-addon-btn-right {
  border-right: 0;
  border-left: 1px solid rgba(122, 241, 160, 0.16);
}

.search-addon-btn i {
  margin-right: 0;
  font-size: 13px;
}

.search-addon-btn:hover {
  color: #d8ffe4;
  background: rgba(36, 54, 36, 0.82);
}

input,
textarea,
button,
select {
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--bg-2);
  padding: 10px 12px;
  font: inherit;
  line-height: 1.2;
  transition: all 0.2s ease;
}

input,
textarea {
  width: 100%;
}

select {
  width: 100%;
}

textarea {
  height: auto;
  min-height: 96px;
  resize: vertical;
}

input,
select,
button {
  height: 44px;
}

input[type="file"] {
  padding: 8px 10px;
  height: 46px;
}

input[type="datetime-local"] {
  appearance: none;
  -webkit-appearance: none;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--line-strong);
  box-shadow: 0 0 0 4px rgba(110, 234, 142, 0.1);
}

.search-wrap input {
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 12px;
}

.search-wrap input::placeholder {
  color: rgba(188, 225, 195, 0.68);
}

.dj-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 18;
  border: 1px solid rgba(122, 241, 160, 0.28);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(12, 20, 13, 0.98), rgba(8, 13, 9, 0.96));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
  padding: 8px;
  max-height: 280px;
  overflow-y: auto;
}

.topbar-notif-badge {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ff4d6d;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  margin-left: 4px;
}

.topbar-notifications-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 18;
  border: 1px solid rgba(122, 241, 160, 0.28);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(12, 20, 13, 0.98), rgba(8, 13, 9, 0.96));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
  padding: 10px;
}

.topbar-notifications-modal-panel {
  width: 560px;
  height: 520px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
}

.topbar-notifications-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.topbar-notifications-head h3 {
  font-size: 22px;
}

.topbar-notifications-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-notifications-mark-btn {
  height: 32px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.topbar-notifications-close-btn {
  width: 32px;
  min-width: 32px;
  height: 32px;
  border-radius: 10px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.topbar-notifications-list {
  display: grid;
  align-content: start;
  grid-auto-rows: max-content;
  gap: 6px;
  min-height: 0;
  overflow-y: auto;
  border: 1px solid rgba(122, 241, 160, 0.2);
  border-radius: 12px;
  padding: 8px;
}

@media (max-width: 760px) {
  .topbar-notifications-modal-panel {
    width: calc(100vw - 20px);
    height: min(76vh, 520px);
  }

  .topbar-notifications-head h3 {
    font-size: 20px;
  }
}

.topbar-notifications-empty {
  font-size: 12px;
  color: rgba(188, 225, 195, 0.75);
  padding: 8px;
}

.topbar-notification-item {
  width: 100%;
  height: auto;
  min-height: 52px;
  cursor: pointer;
  background: rgba(18, 32, 20, 0.85);
  padding: 4px 5px;
  display: grid;
  gap: 3px;
  text-align: left;
}

.topbar-notification-item:focus-visible {
  outline: none;
  border-color: rgba(125, 244, 163, 0.7);
  box-shadow: 0 0 0 3px rgba(110, 234, 142, 0.16);
}

.topbar-notification-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  align-items: center;
}

.topbar-notification-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.topbar-notification-media {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(122, 241, 160, 0.22);
  background: rgba(24, 36, 24, 0.8);
}

.topbar-notification-avatar {
  border-radius: 999px;
}

.topbar-notification-media-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(188, 225, 195, 0.86);
}

.topbar-notification-item.is-unread {
  border-color: rgba(125, 244, 163, 0.52);
  background: rgba(24, 42, 26, 0.96);
}

.topbar-notification-title {
  font-size: 12px;
  font-weight: 700;
  color: #dfffe8;
}

.topbar-notification-body {
  font-size: 11px;
  color: rgba(201, 235, 209, 0.9);
}

.topbar-notification-date {
  font-size: 10px;
  color: rgba(188, 225, 195, 0.72);
}

.dj-search-item {
  width: 100%;
  height: auto;
  min-height: 52px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  text-align: left;
  border-radius: 10px;
  border: 1px solid rgba(122, 241, 160, 0.16);
  background: rgba(18, 32, 20, 0.85);
  padding: 8px 10px;
  cursor: pointer;
}

.dj-search-item + .dj-search-item {
  margin-top: 6px;
}

.dj-search-item:hover {
  border-color: rgba(122, 241, 160, 0.45);
  background: rgba(24, 42, 26, 0.96);
}

.dj-search-main {
  font-size: 13px;
  font-weight: 700;
  color: #dfffe8;
}

.dj-search-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.dj-search-sub {
  font-size: 11px;
  color: #9dc6a5;
}

.dj-search-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(122, 241, 160, 0.34);
  background: rgba(7, 12, 8, 0.85);
}

.dj-search-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b8d8c0;
}

.dj-search-empty {
  font-size: 12px;
  color: #a6c8ad;
  padding: 8px 10px;
}

.search-wrap:focus-within input {
  border: 0;
  box-shadow: none;
}

.icon-btn {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 999px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(110, 234, 142, 0.24);
  background: linear-gradient(180deg, rgba(24, 38, 24, 0.86), rgba(14, 24, 14, 0.82));
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
}

.topbar-cats {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  scrollbar-gutter: stable;
  padding: 2px 2px 4px;
}

.topbar-cats::-webkit-scrollbar {
  height: 8px;
}

.topbar-cats::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 999px;
  transition: background-color 0.24s ease;
}

.topbar-cats::-webkit-scrollbar-thumb {
  background: rgba(132, 242, 163, 0);
  border: 0;
  border-radius: 999px;
  transition: background-color 0.24s ease, border-color 0.24s ease;
}

.topbar-cats.show-scrollbar,
.topbar-cats:hover,
.topbar-cats:focus-visible {
  scrollbar-width: thin;
  scrollbar-color: rgba(132, 242, 163, 0.88) rgba(10, 18, 10, 0.72);
}

.topbar-cats.show-scrollbar::-webkit-scrollbar,
.topbar-cats:hover::-webkit-scrollbar,
.topbar-cats:focus-visible::-webkit-scrollbar {
  height: 8px;
}

.topbar-cats.show-scrollbar::-webkit-scrollbar-track,
.topbar-cats:hover::-webkit-scrollbar-track,
.topbar-cats:focus-visible::-webkit-scrollbar-track {
  background: rgba(10, 18, 10, 0.72);
}

.topbar-cats.show-scrollbar::-webkit-scrollbar-thumb,
.topbar-cats:hover::-webkit-scrollbar-thumb,
.topbar-cats:focus-visible::-webkit-scrollbar-thumb {
  background: rgba(132, 242, 163, 0.9);
  border: 1px solid rgba(10, 18, 10, 0.85);
}

.topbar-cats.show-scrollbar::-webkit-scrollbar-thumb:hover,
.topbar-cats:hover::-webkit-scrollbar-thumb:hover,
.topbar-cats:focus-visible::-webkit-scrollbar-thumb:hover {
  background: rgba(150, 250, 178, 0.95);
}

.topbar-cats-tools {
  display: none;
}

.topbar-chip {
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(110, 234, 142, 0.22);
  background: rgba(17, 26, 17, 0.9);
  color: var(--text);
  padding: 0 12px;
  font-weight: 600;
  white-space: nowrap;
}

.topbar-chip.is-active,
.topbar-chip:hover {
  border-color: transparent;
  background: linear-gradient(180deg, #84f2a3, #69dc8a);
  color: #0f1f12;
}

.profile-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(240px, 88vw);
  z-index: 20;
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(10, 17, 10, 0.96);
  box-shadow: var(--shadow);
}

.profile-dropdown button {
  justify-content: flex-start;
  text-align: left;
}

.profile-dropdown-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.profile-dropdown-row button {
  justify-content: center;
  text-align: center;
}

button {
  cursor: pointer;
}

button i {
  margin-right: 6px;
}

.card-options-btn i {
  margin-right: 0;
}

button.primary {
  border: 0;
  color: #0d1a10;
  font-weight: 700;
  background: linear-gradient(180deg, #81f0a0, #67d887);
}

button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(110, 234, 142, 0.24);
}

button.ghost {
  background: rgba(19, 28, 19, 0.72);
}

button.ghost:hover {
  border-color: var(--line-strong);
}

button.btn-tone-view {
}

button.btn-tone-view:hover {
}

button.btn-tone-edit {
}

button.btn-tone-edit:hover {
}

button.btn-tone-delete {
}

button.btn-tone-delete:hover {
}

.hero {
  margin: var(--sp-5) 0 var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(110, 234, 142, 0.1), rgba(130, 108, 246, 0.09));
}

.hero h1 {
  margin: 0 0 var(--sp-2);
  font-family: "Sora", sans-serif;
  font-size: clamp(22px, 3.4vw, 34px);
  line-height: 1.12;
}

.hero p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.filters {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 0 auto var(--sp-4);
  max-width: 1100px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(112, 232, 145, 0.28);
  background:
    linear-gradient(180deg, rgba(13, 24, 13, 0.82), rgba(10, 18, 10, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(190, 255, 212, 0.06),
    0 14px 28px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(4px);
}

.topbar .filters {
  margin: 0;
  max-width: none;
}

.filters #applyFilters {
  grid-column: span 2;
  height: 40px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.filters input,
.filters select {
  height: 40px;
  border-radius: 11px;
  border-color: rgba(110, 234, 142, 0.24);
  background: rgba(8, 14, 9, 0.88);
  font-size: 16px;
  padding: 0 12px;
}

.filters #cityInput,
.filters #venueInput,
.filters #tagsInput,
.filters #priceFilter,
.filters #datePresetFilter {
  grid-column: span 2;
}

.filters input::placeholder {
  color: rgba(183, 214, 183, 0.66);
}

.filters select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(199, 240, 207, 0.9) 50%),
    linear-gradient(135deg, rgba(199, 240, 207, 0.9) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 28px;
}

.feed-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-3);
  color: var(--text-muted);
  font-size: 13px;
  gap: 10px;
}

.feed-decor {
  display: none;
  position: relative;
  margin: 0 0 var(--sp-3);
  padding: 10px 12px;
  border: 1px solid rgba(110, 234, 142, 0.2);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(112, 232, 145, 0.16), transparent 44%),
    radial-gradient(circle at 88% 100%, rgba(130, 108, 246, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(14, 24, 14, 0.84), rgba(11, 19, 11, 0.76));
}

.feed-decor-line {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(112, 232, 145, 0.08), rgba(132, 242, 163, 0.75), rgba(130, 108, 246, 0.55), rgba(112, 232, 145, 0.08));
  background-size: 220% 100%;
  animation: feed-glow 6s linear infinite;
}

.feed-decor-pills {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feed-decor-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-soft);
  border-radius: 999px;
  border: 1px solid rgba(110, 234, 142, 0.24);
  background: rgba(13, 22, 13, 0.6);
  padding: 4px 9px;
}

.feed-decor-pills i {
  color: rgba(132, 242, 163, 0.94);
}

.ad-shell {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(110, 234, 142, 0.22);
  background: linear-gradient(180deg, rgba(14, 24, 14, 0.84), rgba(10, 18, 10, 0.78));
}

.ad-shell-top {
  margin-top: 4px;
}

.ad-box {
  min-height: 100px;
}

.ad-card-shell {
  border-color: rgba(110, 234, 142, 0.24);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.ad-card-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 8px;
}

.ad-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #d5f8de;
  border: 1px solid rgba(110, 234, 142, 0.24);
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(16, 27, 17, 0.7);
}

.feed-intro {
  margin: 8px 0 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(110, 234, 142, 0.24);
  background: linear-gradient(180deg, rgba(15, 25, 15, 0.86), rgba(11, 18, 11, 0.78));
}

.feed-intro p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.1px;
}

.programations-shell {
  margin: 8px 0 12px;
  padding: 10px 12px;
}

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

.programations-head h3 {
  margin: 0;
  font-size: 14px;
  font-family: "Sora", sans-serif;
  color: #e9fff0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.programations-head span {
  font-size: 12px;
  color: var(--text-muted);
}

.programations-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 180px;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
  scrollbar-gutter: stable;
  -ms-overflow-style: none;
}

.programations-rail::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.programations-rail::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 999px;
}

.programations-rail::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 999px;
  border: 0;
}


.programation-card {
  border-radius: 12px;
  border: 1px solid rgba(110, 234, 142, 0.22);
  background: rgba(13, 21, 13, 0.78);
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.programation-card:hover {
  border-color: rgba(132, 242, 163, 0.45);
  transform: translateY(-1px);
}

.programation-media-wrap {
  position: relative;
  height: 230px;
  width: 100%;
  overflow: hidden;
}

.programation-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: rgba(8, 12, 8, 0.88);
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
}

.programation-media-wrap:hover .programation-media {
  transform: scale(1.02);
}

.programation-media-empty {
  display: grid;
  place-items: center;
  color: var(--text-muted);
}

.programation-media,
.programation-media-empty {
  transition: transform 0.18s ease;
}

.programation-week-pill {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 11px;
  border-radius: 999px;
  border: 1px solid rgba(110, 234, 142, 0.26);
  background: rgba(8, 14, 8, 0.85);
  color: #dff6e6;
  padding: 4px 8px;
}

.programation-meta {
  padding: 8px 9px 10px;
  display: grid;
  gap: 2px;
}

.programation-meta strong {
  font-size: 13px;
  color: #effff3;
}

.programation-meta span {
  font-size: 12px;
  color: var(--text-muted);
}

.programation-meta em {
  font-style: normal;
  font-size: 11px;
  color: var(--text-soft);
}

@media (min-width: 1024px) {
  .programations-shell {
    padding: 12px 14px;
  }

  .programations-head h3 {
    font-size: 16px;
  }

  .programations-rail {
    grid-auto-columns: 250px;
    gap: 12px;
  }

  .programation-media-wrap {
    height: 320px;
  }

  .programation-meta strong {
    font-size: 14px;
  }
}

.nonprofit-hero {
  margin: 14px 0 18px;
  padding: clamp(24px, 3.8vw, 40px);
  border-radius: 24px;
  border: 1px solid rgba(110, 234, 142, 0.24);
  background:
    radial-gradient(65% 110% at 100% 100%, rgba(32, 78, 163, 0.34), transparent 60%),
    linear-gradient(90deg, rgba(3, 20, 12, 0.98) 0%, rgba(4, 31, 17, 0.88) 55%, rgba(5, 32, 18, 0.62) 100%);
  display: none;
  min-height: clamp(300px, 36vw, 500px);
  box-shadow: inset 0 0 0 1px rgba(110, 234, 142, 0.08);
}

.nonprofit-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 20px;
  align-items: stretch;
}

.nonprofit-hero-main {
  display: grid;
  gap: 14px;
  align-content: center;
}

.nonprofit-hero-kicker {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: #d8f5a8;
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  font-weight: 800;
  border: 1px solid rgba(163, 238, 66, 0.28);
  border-radius: 999px;
  background: rgba(118, 167, 43, 0.16);
  padding: 6px 12px;
}

.nonprofit-hero h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(38px, 5.3vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #f4faf6;
  max-width: 680px;
}

.nonprofit-hero-main > p {
  margin: 0;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 720px;
}

.nonprofit-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-primary-ghost {
  min-height: 56px;
  border-radius: 16px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-color: rgba(113, 160, 132, 0.32);
  background: rgba(9, 25, 18, 0.72);
  color: #e6f1ea;
  font-size: 18px;
  font-weight: 700;
}

.hero-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-quick-tag {
  border: 1px solid rgba(130, 158, 144, 0.34);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(13, 27, 20, 0.78);
  color: #d3dfd7;
  font-size: 15px;
  cursor: pointer;
  font-weight: 600;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.hero-quick-tag:hover {
  border-color: rgba(172, 237, 82, 0.38);
  transform: translateY(-1px);
}

.nonprofit-donate-link {
  min-height: 56px;
  border-radius: 16px;
  padding: 0 24px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #0c190f;
  background: linear-gradient(180deg, #b3ef45, #a5e739);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.nonprofit-donate-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(110, 234, 142, 0.24);
}

.nonprofit-donate-link.is-disabled {
  opacity: 0.6;
  pointer-events: none;
}

.nonprofit-hero-note {
  font-size: 12px;
  color: var(--text-soft);
}

.nonprofit-hero-side {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.22);
  padding: 16px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.nonprofit-hero-side h3 {
  margin: 0;
  font-size: 16px;
  color: #f0f8f3;
}

.nonprofit-hero-points {
  display: grid;
  gap: 8px;
}

.nonprofit-hero-point {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 11px;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: rgba(233, 245, 237, 0.82);
}

.nonprofit-hero-point i {
  color: rgba(181, 239, 93, 0.88);
}

@media (max-width: 860px) {
  .nonprofit-hero {
    min-height: 0;
    border-radius: 18px;
    padding: 22px 18px;
  }
  .nonprofit-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .nonprofit-hero-kicker {
    font-size: 11px;
    padding: 5px 10px;
  }
  .nonprofit-hero h2 {
    font-size: clamp(32px, 11vw, 52px);
    max-width: 100%;
  }
  .nonprofit-hero-main > p {
    font-size: 16px;
    max-width: 100%;
  }
  .nonprofit-donate-link,
  .hero-primary-ghost {
    min-height: 46px;
    border-radius: 12px;
    font-size: 16px;
    padding: 0 16px;
  }
  .hero-quick-tag {
    font-size: 13px;
    padding: 7px 11px;
  }
}

.feed-guided-rail {
  margin: 0 0 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}

.feed-guided-block {
  border: 1px solid rgba(110, 234, 142, 0.24);
  border-radius: 14px;
  padding: 12px;
  background:
    radial-gradient(circle at 0% 0%, rgba(110, 234, 142, 0.14), transparent 45%),
    linear-gradient(180deg, rgba(11, 21, 12, 0.9), rgba(8, 16, 9, 0.85));
  display: grid;
  gap: 9px;
}

.feed-guided-block.is-featured {
  border-color: rgba(110, 234, 142, 0.38);
  background:
    radial-gradient(circle at 0% 0%, rgba(110, 234, 142, 0.2), transparent 44%),
    radial-gradient(circle at 100% 100%, rgba(135, 111, 244, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(11, 21, 12, 0.94), rgba(8, 16, 9, 0.9));
}

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

.feed-guided-title {
  margin: 0;
  font-size: 14px;
  color: #deffe8;
  font-weight: 700;
}

.feed-guided-count {
  font-size: 11px;
  color: rgba(188, 247, 205, 0.9);
  border: 1px solid rgba(110, 234, 142, 0.28);
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(12, 22, 13, 0.7);
}

.feed-guided-list {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feed-guided-list.is-featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feed-guided-item {
  width: 100%;
  text-align: left;
  border-radius: 10px;
  border: 1px solid rgba(110, 234, 142, 0.2);
  background: rgba(9, 16, 10, 0.7);
  color: #eafff0;
  padding: 8px 9px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.feed-guided-item.is-featured {
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  padding: 8px;
}

.feed-guided-thumb {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(110, 234, 142, 0.24);
}

.feed-guided-thumb.is-featured {
  width: 100%;
  height: 160px;
  border-radius: 10px;
}

.feed-guided-thumb-fallback {
  display: grid;
  place-items: center;
  color: rgba(162, 241, 184, 0.9);
  background: rgba(11, 20, 11, 0.85);
}

.feed-guided-copy {
  min-width: 0;
}

.feed-guided-item strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-guided-item span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.feed-guided-empty {
  font-size: 12px;
  color: var(--text-soft);
  border: 1px dashed rgba(110, 234, 142, 0.24);
  border-radius: 10px;
  padding: 8px 9px;
  display: grid;
  gap: 8px;
}

.feed-guided-cta {
  justify-self: start;
  border: 1px solid rgba(110, 234, 142, 0.28);
  background: rgba(12, 22, 13, 0.78);
  color: #e8ffef;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
}

.feed-home-block {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: #09120d;
  padding: 20px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.feed-live-strip-shell {
  display: grid;
}

.feed-live-strip-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.feed-live-strip-head h3 {
  margin: 0;
  font-size: 18px;
  color: #f2faf4;
}

.feed-live-strip-head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(233, 245, 237, 0.58);
}

.feed-live-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.feed-live-story {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: auto;
  height: auto;
  min-height: 0;
  min-width: 82px;
  display: grid;
  justify-items: center;
  gap: 8px;
  cursor: pointer;
  color: inherit;
  flex: 0 0 auto;
  overflow: visible;
  align-content: start;
}

.feed-live-story-ring {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 88, 88, 0.96), rgba(192, 22, 22, 0.96));
  padding: 3px;
  box-shadow: 0 12px 20px rgba(73, 8, 8, 0.22);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.feed-live-story-create .feed-live-story-ring {
  background: linear-gradient(180deg, rgba(172, 237, 82, 0.88), rgba(91, 181, 65, 0.88));
  box-shadow: 0 12px 20px rgba(36, 68, 22, 0.22);
}

.feed-live-story:hover .feed-live-story-ring,
.feed-live-story:focus-visible .feed-live-story-ring {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.24);
}

.feed-live-story-avatar {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  border: 3px solid #08110c;
  background: rgba(15, 24, 16, 0.96);
}

.feed-live-story-avatar-fallback,
.feed-live-story-create-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #eff9f2;
  font-size: 24px;
}

.feed-live-story-create-icon {
  color: #dff7e7;
}

.feed-live-story-create-badge {
  position: absolute;
  right: -1px;
  bottom: 4px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #08110c;
  background: linear-gradient(180deg, rgba(172, 237, 82, 0.98), rgba(91, 181, 65, 0.98));
  color: #10210f;
  box-shadow: 0 8px 18px rgba(36, 68, 22, 0.24);
}

.feed-live-story-create-badge i {
  font-size: 11px;
  margin: 0px;
}

.feed-live-story-suggest .feed-live-story-ring {
  background: linear-gradient(180deg, rgba(106, 168, 255, 0.9), rgba(45, 96, 196, 0.92));
  box-shadow: 0 12px 20px rgba(20, 44, 92, 0.24);
}

.feed-live-story-new-event .feed-live-story-ring {
  background: linear-gradient(180deg, rgba(255, 190, 98, 0.94), rgba(218, 122, 27, 0.95));
  box-shadow: 0 12px 20px rgba(108, 54, 12, 0.24);
}

.feed-live-story-new-event .feed-live-story-name {
  color: rgba(255, 233, 196, 0.92);
}

.feed-live-story-suggest {
  gap: 6px;
}

.feed-live-story-suggest .feed-live-story-name {
  color: rgba(220, 236, 255, 0.9);
}

.feed-live-story-follow-badge {
  position: absolute;
  right: -1px;
  bottom: 4px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #08110c;
  background: linear-gradient(180deg, rgba(126, 197, 255, 0.98), rgba(54, 124, 232, 0.96));
  color: #e8f3ff;
  box-shadow: 0 8px 18px rgba(20, 44, 92, 0.28);
}

.feed-live-story-follow-badge i {
  font-size: 10px;
  margin: 0px;
}

.feed-live-story-cta {
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(188, 223, 255, 0.92);
}

.feed-live-story-suggest:disabled {
  cursor: wait;
}

.feed-live-story-suggest.is-loading .feed-live-story-cta {
  color: rgba(214, 232, 255, 0.84);
}

.feed-live-story-new-badge {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  min-height: 14px;
  padding: 0 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 206, 133, 0.78);
  background: linear-gradient(180deg, rgba(255, 195, 102, 0.98), rgba(223, 126, 30, 0.96));
  color: #fff8ea;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 14px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(108, 54, 12, 0.26);
}

.feed-live-story-badge {
  position: absolute;
  left: 50%;
  bottom: -3px;
  transform: translateX(-50%);
  min-height: 18px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 108, 108, 0.64);
  background: linear-gradient(180deg, rgba(255, 83, 83, 0.98), rgba(203, 20, 20, 0.95));
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 18px;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(77, 8, 8, 0.26);
}

.feed-live-story-name {
  max-width: 88px;
  font-size: 12px;
  line-height: 1.2;
  color: rgba(236, 246, 240, 0.82);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-home-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.feed-home-head h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  color: #f2faf4;
}

.feed-home-head p {
  margin: 4px 0 0;
  font-size: 14px;
  color: rgba(233, 245, 237, 0.56);
}


.feed-weekend-grid {
  display: grid;
  gap: 14px;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 320px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
  padding-bottom: 0;
}

.feed-weekend-grid::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.feed-weekend-grid::-webkit-scrollbar-track {
  background: transparent;
}

.feed-weekend-grid::-webkit-scrollbar-thumb {
  background: transparent;
}

.feed-weekend-grid::-webkit-scrollbar-thumb:hover {
  background: transparent;
}

.feed-weekend-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a1711;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  scroll-snap-align: start;
  height: 100%;
}

.feed-weekend-card:hover {
  transform: translateY(-2px);
  border-color: rgba(172, 237, 82, 0.36);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.feed-weekend-image {
  width: 100%;
  height: 208px;
  object-fit: cover;
  display: block;
}

.feed-weekend-image-fallback {
  display: grid;
  place-items: center;
  color: rgba(202, 236, 214, 0.7);
  background: linear-gradient(180deg, rgba(16, 29, 20, 0.95), rgba(9, 17, 12, 0.92));
}

.feed-weekend-body {
  padding: 14px;
}

.feed-weekend-body h4 {
  margin: 4px 0 0;
  font-size: 21px;
}

.feed-weekend-body p {
  margin: 5px 0 0;
  font-size: 14px;
  color: rgba(233, 245, 237, 0.68);
}

.feed-weekend-summary {
  min-height: 36px;
}

.feed-weekend-tag {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(172, 237, 82, 0.14);
  color: #d7f7a4;
  font-size: 12px;
  padding: 5px 10px;
  border: 1px solid rgba(172, 237, 82, 0.24);
}

.feed-home-two-cols {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
}

.feed-home-carousel {
  display: grid;
  gap: 14px;
}

.feed-home-carousel-head {
  display: flex;
  justify-content: flex-start;
}

.feed-home-carousel-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
}

.feed-home-carousel-tabs::-webkit-scrollbar {
  display: none;
}

.feed-home-carousel-tabs .ghost {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: rgba(233, 245, 237, 0.72);
  white-space: nowrap;
}

.feed-home-carousel-tabs .ghost.is-active {
  background: rgba(172, 237, 82, 0.16);
  color: #eff9f2;
  box-shadow: inset 0 0 0 1px rgba(172, 237, 82, 0.22);
}

.feed-home-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.feed-home-carousel-track::-webkit-scrollbar {
  display: none;
}

.feed-home-carousel-panel {
  min-width: 0;
  scroll-snap-align: start;
}

.feed-simple-list {
  display: grid;
  gap: 10px;
}

.feed-simple-row {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.feed-simple-row:hover {
  border-color: rgba(172, 237, 82, 0.3);
  transform: translateY(-1px);
}

.feed-simple-row strong {
  display: block;
  font-size: 16px;
  color: #f2faf4;
}

.feed-simple-row span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: rgba(233, 245, 237, 0.62);
}

.feed-simple-row-with-thumb {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feed-simple-row-with-thumb.feed-simple-row-with-tag {
  justify-content: flex-start;
}

.feed-simple-row-main {
  min-width: 0;
  flex: 1;
}

.feed-simple-thumb {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.feed-simple-thumb-fallback {
  display: grid;
  place-items: center;
  color: rgba(220, 240, 228, 0.8);
}

.feed-simple-row-with-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.feed-simple-row-with-tag em {
  font-style: normal;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(229, 244, 236, 0.8);
  padding: 4px 10px;
  font-size: 12px;
  white-space: nowrap;
  margin-left: auto;
}

.feed-simple-row-live em {
  background: rgba(242, 77, 92, 0.14);
  color: #ffd7dc;
  border: 1px solid rgba(242, 77, 92, 0.24);
}

.feed-home-today {
  border-style: dashed;
}

.feed-today-empty {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.feed-today-empty p {
  margin: 0;
  font-size: 16px;
  color: rgba(239, 249, 243, 0.9);
}

.feed-today-empty small {
  color: rgba(233, 245, 237, 0.54);
  font-size: 13px;
  line-height: 1.4;
}

.feed-today-recommend {
  border: 1px solid rgba(172, 237, 82, 0.24);
  border-radius: 12px;
  background: rgba(172, 237, 82, 0.08);
  padding: 11px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  cursor: pointer;
}

.feed-today-recommend-thumb,
.feed-today-recommend-thumb-fallback {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.feed-today-recommend-thumb-fallback {
  display: grid;
  place-items: center;
  color: rgba(220, 240, 228, 0.8);
}

.feed-today-recommend-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.feed-today-recommend strong {
  font-size: 14px;
  color: #eff9f2;
  display: block;
}

.feed-today-recommend span {
  font-size: 13px;
  color: rgba(233, 245, 237, 0.68);
  display: block;
}

.feed-home-publish {
  border-color: rgba(172, 237, 82, 0.22);
  background:
    radial-gradient(circle at left center, rgba(172, 237, 82, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(172, 237, 82, 0.08), rgba(9, 18, 13, 0.95));
}

.feed-publish-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.feed-publish-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(172, 237, 82, 0.2);
  background: rgba(172, 237, 82, 0.1);
  color: #c8f65f;
  font-size: 22px;
}

.feed-publish-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.feed-publish-copy h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.05;
  color: #f4fbf5;
}

.feed-publish-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(233, 245, 237, 0.68);
}

.feed-publish-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feed-publish-inline span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.12);
  font-size: 12px;
  color: rgba(233, 245, 237, 0.78);
}

.feed-publish-btn {
  width: auto;
  min-width: 150px;
  min-height: 46px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 800;
  color: #09120d;
  background: #b3ef45;
  border-color: transparent;
  white-space: nowrap;
}

.feed-guided-publish {
  background:
    radial-gradient(circle at 100% 0%, rgba(140, 255, 170, 0.12), transparent 46%),
    linear-gradient(180deg, rgba(10, 20, 11, 0.92), rgba(8, 15, 9, 0.88));
}

.feed-guided-points {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  display: grid;
  gap: 4px;
  font-size: 13px;
}

@media (max-width: 980px) {
  .feed-home-head h3 {
    font-size: 28px;
  }
  .feed-weekend-grid {
    grid-auto-columns: minmax(236px, 268px);
  }
  .feed-home-two-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .feed-home-carousel-track {
    gap: 14px;
  }
  .feed-guided-list.is-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .feed-publish-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .feed-publish-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 20px;
  }
  .feed-publish-copy h3 {
    font-size: 22px;
  }
  .feed-publish-btn {
    width: 100%;
    min-width: 0;
  }
  .feed-live-strip-shell {
  }
  .feed-live-strip-head {
    align-items: center;
  }
  .feed-live-strip-head p {
    max-width: 20ch;
    font-size: 12px;
    line-height: 1.3;
  }
  .feed-live-strip {
    gap: 12px;
    padding-bottom: 8px;
  }
  .feed-live-story {
    min-width: 74px;
  }
  .feed-live-story-ring {
    width: 70px;
    height: 70px;
  }
  .feed-live-story-badge {
    min-height: 16px;
    padding: 0 7px;
    font-size: 8px;
    line-height: 16px;
  }
  .feed-live-story-new-badge {
    bottom: -7px;
    min-height: 13px;
    padding: 0 6px;
    font-size: 6px;
    line-height: 13px;
  }
  .feed-live-story-create-badge {
    width: 22px;
    height: 22px;
  }
  .feed-live-story-create-badge i {
    font-size: 10px;
  margin: 0px;
  }
  .feed-live-story-follow-badge {
    width: 22px;
    height: 22px;
  }
  .feed-live-story-follow-badge i {
    font-size: 9px;
  margin: 0px;
  }
  .feed-live-story-name {
    max-width: 76px;
    font-size: 11px;
  }
  .feed-live-story-cta {
    font-size: 9px;
  }
  .feed-home-block {
    border-radius: 20px;
    padding: 16px;
  }
  .feed-home-carousel-tabs {
    width: 100%;
  }
  .feed-home-carousel-tabs .ghost {
    flex: 1 0 auto;
    text-align: center;
  }
  .feed-home-head h3 {
    font-size: 24px;
  }
  .feed-weekend-grid {
    grid-auto-columns: minmax(78vw, 86vw);
  }
  .feed-guided-list,
  .feed-guided-list.is-featured {
    grid-template-columns: minmax(0, 1fr);
  }
  .feed-guided-thumb.is-featured {
    height: 180px;
  }
  .feed-today-recommend {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 9px;
  }
  .feed-today-recommend-thumb,
  .feed-today-recommend-thumb-fallback {
    width: 56px;
    height: 56px;
    border-radius: 10px;
  }
}

.site-intro-grid {
  margin: 0 0 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.site-intro-copy {
  padding: 14px 15px;
  border: 1px solid rgba(110, 234, 142, 0.26);
  border-radius: 14px;
  background:
    radial-gradient(circle at 10% 0%, rgba(110, 234, 142, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(12, 21, 13, 0.88), rgba(9, 16, 10, 0.84));
  display: grid;
  gap: 8px;
}

.site-intro-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: rgba(167, 246, 189, 0.84);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-intro-kicker i {
  color: rgba(132, 242, 163, 0.96);
}

.site-intro-copy h3 {
  margin: 0;
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.25;
  color: #f1fff4;
}

.site-intro-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(225, 241, 228, 0.9);
}

.site-intro-steps {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 5px;
  color: rgba(225, 241, 228, 0.9);
  font-size: 13px;
}

.site-intro-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-intro-links a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  color: #b9ffc8;
  border: 1px solid rgba(110, 234, 142, 0.33);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(20, 34, 21, 0.85);
}

.site-intro-links a:hover {
  color: #effff2;
  border-color: rgba(136, 245, 167, 0.74);
  background: rgba(30, 53, 33, 0.85);
}

@media (min-width: 980px) {
  .site-intro-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.main-tabs-shell {
  margin: 6px 0 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(224, 255, 233, 0.16);
  background: linear-gradient(180deg, rgba(21, 32, 23, 0.58), rgba(11, 20, 12, 0.52));
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(2, 8, 3, 0.28);
}

.main-panels-layout {
  display: block;
}

.main-panels-content {
  min-width: 0;
  flex: 1 1 auto;
  margin-left: 0;
}

.main-tab-group {
  display: contents;
}

.main-tab-group-label {
  display: none;
}

.main-tab-btn {
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(236, 248, 239, 0.74);
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 8px 12px;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.main-tab-btn i {
  margin-right: 0;
  width: 18px;
  font-size: 16px;
  color: rgba(235, 252, 239, 0.94);
  transition: color 0.22s ease;
}

.main-tab-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(225, 255, 234, 0.14);
  transform: translateX(4px);
}

.main-tab-btn:active {
  transform: translateX(2px) scale(0.985);
}

.main-tab-btn.is-active {
  border-color: rgba(186, 255, 112, 0.22);
  color: #dfffb4;
  background: rgba(186, 255, 112, 0.14);
  box-shadow: 0 8px 18px rgba(154, 224, 101, 0.2);
}

.main-tab-btn.is-active i {
  color: #ecffd0;
}

@media (min-width: 1024px) {
  .main-panels-layout {
    display: block;
  }

  .main-panels-content {
    margin-left: calc(var(--main-tabs-content-offset, 212px));
  }

  .main-tabs-shell {
    position: fixed;
    left: var(--main-tabs-left, 14px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 36;
    margin: 0;
    width: var(--main-tabs-shell-width, 186px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(226, 255, 235, 0.15);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(20, 31, 22, 0.56), rgba(10, 19, 12, 0.54));
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 30px rgba(5, 11, 7, 0.34);
  }

  .main-tab-group {
    display: grid;
    gap: 6px;
  }

  .main-tab-group + .main-tab-group {
    border-top: 1px solid rgba(226, 255, 235, 0.12);
    padding-top: 10px;
  }

  .main-tab-group-label {
    display: block;
    margin: 0 2px 2px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(216, 235, 221, 0.62);
  }

  .main-tab-btn {
    min-height: 42px;
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    padding: 8px 12px;
    gap: 9px;
    border-radius: 999px;
  }

  .main-tab-btn i {
    width: 18px;
    text-align: center;
    margin-right: 0;
    font-size: 17px;
  }

  .main-tab-btn span {
    display: inline;
    font-size: 13px;
    line-height: 1;
  }

  body.main-tabs-compact .main-tab-group-label {
    display: none;
  }

  body.main-tabs-compact .main-tab-group + .main-tab-group {
    border-top: 0;
    padding-top: 2px;
  }

  body.main-tabs-compact .main-tab-btn {
    min-height: 44px;
    justify-content: center;
    padding: 8px 0;
    gap: 0;
  }

  body.main-tabs-compact .main-tab-btn span {
    display: none;
  }

  body.main-tabs-compact .main-tab-btn i {
    width: auto;
    font-size: 19px;
  }

  body.main-tabs-compact .main-tab-btn:hover {
    transform: translateX(0) scale(1.02);
  }

  body.main-tabs-compact .main-tab-btn:active {
    transform: scale(0.98);
  }
}

.main-tab-panel-card {
  margin: 6px 0 12px;
}

.main-tab-panel-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-family: "Sora", sans-serif;
}

.main-tab-panel-card p {
  margin: 0 0 10px;
  color: var(--text-muted);
}

.main-tab-panel-card ul {
  margin: 0;
  padding-left: 18px;
  color: #d9f7e1;
  display: grid;
  gap: 6px;
}

.community-card {
  gap: 10px;
  width: min(1220px, 100%);
  margin-inline: auto;
  grid-template-columns: 1fr;
  grid-template-areas:
    "head head"
    "toolbar toolbar"
    "stats stats"
    "layout layout";
  align-items: start;
}

.community-head {
  grid-area: head;
}

.community-head h3 {
  margin-bottom: 6px;
}

.community-head p {
  margin: 0;
}

.community-stats {
  grid-area: stats;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-self: center;
  justify-content: flex-start;
  margin-bottom: 12px;
}

@media (max-width: 1199px) {
  .main-panels-content {
    margin-left: 0;
  }

  .app {
    padding-bottom: calc(var(--sp-7) + 90px);
  }

  .main-tabs-shell {
    display: flex;
    flex-wrap: nowrap;
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    width: auto;
    max-width: none;
    z-index: 40;
    margin: 0;
    padding: 0 0 env(safe-area-inset-bottom);
    border-radius: 0;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(8px);
    gap: 0;
    border: 0;
  }

  .main-tab-group {
    display: contents;
  }

  .main-tab-group-label {
    display: none;
  }

  .main-tab-btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-size: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .main-tab-btn i {
    width: auto;
    line-height: 1;
    font-size: 18px;
    margin-right: 0;
  }

  .main-tab-btn span {
    display: none;
  }
}

.community-stats span {
  border: 1px solid rgba(110, 234, 142, 0.28);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(12, 21, 13, 0.76);
}

.community-create {
  grid-area: create;
  display: grid;
  gap: 8px;
  justify-items: end;
}

.community-create button.primary {
  width: auto;
  min-height: 38px;
  height: 38px;
  padding: 0 12px;
  font-size: 13px;
  justify-self: end;
}

.community-create textarea {
  min-height: 96px;
}

.community-toolbar {
  grid-area: toolbar;
  display: grid;
  gap: 8px;
  position: relative;
  width: 100%;
  max-width: 420px;
  justify-self: center;
}

.community-toolbar-actions {
  display: inline-flex;
  gap: 8px;
  justify-self: start;
}

.community-search-group {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  border: 1px solid rgba(110, 234, 142, 0.34);
  border-radius: 25px;
  background: rgba(8, 14, 9, 0.78);
  overflow: hidden;
}

.community-search-addon {
  min-height: 44px;
  height: 44px;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(18, 30, 19, 0.92);
  color: #d9f7e1;
}

.community-search-addon-right {
  border-left: 1px solid rgba(110, 234, 142, 0.24) !important;
}

#openCommunityThreadModalBtn.community-search-addon {
  width: 44px;
  min-width: 44px;
  border-right: 1px solid rgba(110, 234, 142, 0.24) !important;
}

#communitySearchInput {
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#boardSearchInput {
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.community-filters-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(360px, calc(100vw - 28px));
  border: 1px solid rgba(110, 234, 142, 0.3);
  border-radius: 12px;
  background: rgba(8, 14, 9, 0.97);
  padding: 10px;
  z-index: 60;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
  max-height: min(72vh, 460px);
  overflow-y: auto;
}

.community-filters-grid {
  display: grid;
  gap: 10px;
}

.community-filter-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.25;
  min-height: 28px;
}

.community-filter-check input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  accent-color: #6eea8e;
  background: transparent;
  box-shadow: none;
}

.community-filter-check span {
  display: block;
}

.community-filters-dropdown .confirm-action-buttons {
  grid-template-columns: repeat(2, 44px);
  justify-content: end;
}

.community-filter-icon-btn {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.community-filter-icon-btn i {
  margin: 0;
}

.community-layout {
  grid-area: layout;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

.community-threads {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: none;
  overflow: visible;
  border: 1px solid rgba(103, 182, 129, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8, 14, 9, 0.86), rgba(7, 12, 8, 0.8));
}

.community-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 4px 2px 0;
}

.community-head-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.community-head-actions .community-create-btn {
  position: relative;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(133, 223, 159, 0.18);
  background:
    linear-gradient(180deg, rgba(111, 237, 148, 0.96), rgba(89, 216, 128, 0.94));
  color: #0b160d;
  box-shadow:
    0 10px 24px rgba(72, 179, 104, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.community-head-actions .community-create-btn:hover,
.community-head-actions .community-create-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    0 14px 28px rgba(72, 179, 104, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.community-head-actions .community-create-btn i {
  font-size: 14px;
}

.community-head-actions .community-create-btn.hidden {
  display: none !important;
}

.community-head-actions .community-create-btn.community-create-btn-secondary {
  border: 1px solid rgba(226, 255, 235, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(230, 244, 235, 0.9);
  box-shadow: none;
}

.community-head-actions .community-create-btn.community-create-btn-secondary:hover,
.community-head-actions .community-create-btn.community-create-btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(226, 255, 235, 0.26);
  box-shadow: none;
}

.community-tab-shell {
  grid-area: toolbar;
  margin-top: 8px;
  border-bottom: 1px solid rgba(160, 235, 181, 0.18);
  margin-bottom: 12px;
}

.community-starter-rail {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(99, 175, 123, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(123, 219, 150, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(10, 17, 11, 0.92), rgba(8, 13, 9, 0.96));
}

.community-starter-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.community-starter-head strong {
  display: block;
  font-size: 15px;
  color: #ecfff1;
}

.community-starter-head p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #9dbca7;
}

.community-starter-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.community-starter-card {
  width: 100%;
  min-height: 108px;
  border: 1px solid rgba(110, 189, 136, 0.2);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(13, 22, 15, 0.92), rgba(9, 15, 11, 0.96));
  padding: 14px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  text-align: left;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.community-starter-card:hover,
.community-starter-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(135, 226, 164, 0.34);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.community-starter-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #c9f6d8;
  border: 1px solid rgba(121, 221, 152, 0.22);
  background: rgba(76, 151, 100, 0.12);
}

.community-starter-card strong {
  font-size: 15px;
  line-height: 1.3;
  color: #ecfff1;
}

.community-starter-card small {
  font-size: 12px;
  color: #9ac0a6;
}

.community-subtabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  width: 100%;
  gap: 0;
}

.community-subtabs-head {
  width: 100%;
  margin-top: 0;
}

.community-subtab {
  border: 0;
  background: transparent;
  color: rgba(206, 231, 214, 0.86);
  min-height: 46px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  border-radius: 0;
  transition: color 0.2s ease, background 0.2s ease;
}

.community-subtab:hover {
  background: rgba(124, 219, 151, 0.08);
  color: #ebfff1;
}

.community-subtab.is-active {
  color: #eafff0;
}

.community-subtab.is-active::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: rgba(176, 247, 196, 0.95);
}

.community-subtab i {
  font-size: 14px;
  opacity: 0.95;
}

.community-subtab span {
  white-space: nowrap;
}

.community-head-copy h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  color: #edfff2;
}

.community-head-copy p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #9ec4aa;
}

.community-create-btn {
  border-radius: 12px;
  min-height: 42px;
  padding: 0 15px;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(88, 236, 136, 0.18);
}

.community-live-modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding-top: 8px;
  background: linear-gradient(180deg, rgba(10, 17, 11, 0), rgba(10, 17, 11, 0.94) 34%);
}

.community-live-inline-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(105, 182, 129, 0.14);
  background: rgba(10, 17, 11, 0.78);
  color: #d9f5e1;
  font-size: 13px;
  line-height: 1.35;
}

.community-live-inline-note i {
  margin-top: 2px;
  color: #8bf0a8;
}

.community-live-inline-note strong {
  color: #f1fff5;
}

.community-live-preview-shell {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(105, 182, 129, 0.18);
  background: linear-gradient(180deg, rgba(10, 16, 11, 0.94), rgba(7, 11, 8, 0.98));
}

.community-live-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.community-live-preview-head strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #effff3;
}

.community-live-preview-head .community-action-btn-inline {
  width: auto;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.community-live-preview-frame {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(105, 182, 129, 0.16);
  background: radial-gradient(circle at top, rgba(89, 137, 100, 0.16), rgba(8, 12, 9, 0.96) 64%);
  min-height: 52px;
}

.community-live-preview-video {
  display: none;
}

.community-live-mic-meter {
  flex: 1 1 auto;
  min-width: 0;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(105, 182, 129, 0.22);
  background: rgba(6, 12, 8, 0.55);
  overflow: hidden;
}

.community-live-mic-meter-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(56, 208, 134, 0.85), rgba(140, 244, 173, 0.95) 55%, rgba(255, 214, 112, 0.9));
  transition: width 80ms linear;
}

.community-live-preview-empty-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 0;
  color: #9fc3aa;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.community-live-preview-empty-inline i {
  font-size: 14px;
  color: #cdeed5;
}

.community-live-preview-status {
  margin: 0;
  color: #9fc3aa;
  font-size: 12px;
  line-height: 1.3;
}

#communityLiveModal .community-live-modal-actions {
  margin-top: 4px;
}

#communityLiveModal .community-live-modal-actions .primary {
  flex: 1 1 auto;
  min-height: 42px;
}

#communityLiveModal .community-live-modal-actions .ghost {
  flex: 1 1 180px;
}

#communityLiveModal #communityLiveSaveBtn {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
}

.community-lives {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 560px));
  justify-content: start;
  align-items: start;
  gap: 14px;
}

.community-live-card {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 560px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(112, 196, 139, 0.26);
  background:
    radial-gradient(circle at top right, rgba(127, 219, 154, 0.12), transparent 38%),
    radial-gradient(circle at left center, rgba(68, 119, 80, 0.12), transparent 46%),
    linear-gradient(180deg, rgba(11, 19, 13, 0.96), rgba(8, 13, 9, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(0, 0, 0, 0.28);
}

.community-live-card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
}

.community-live-card-author {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  cursor: pointer;
}

.community-live-card-author .community-avatar {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  border: 1px solid rgba(134, 231, 165, 0.6);
  box-shadow:
    0 0 0 3px rgba(74, 153, 97, 0.24),
    0 12px 22px rgba(0, 0, 0, 0.24);
}

.community-live-card-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.community-live-card-copy strong {
  font-size: 18px;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #effff3;
}

.community-live-card-copy span {
  font-size: 11px;
  color: #9fc3aa;
}

.community-live-fomo-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cde2d5;
  letter-spacing: 0.02em;
}

.community-live-fomo-line i {
  color: #ff4f4f;
  font-size: 9px;
  animation: live-pulse 1.4s ease-in-out infinite;
}

.community-live-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  gap: 6px;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 73, 73, 0.14);
  color: #ffd8d8;
  border: 1px solid rgba(255, 115, 115, 0.24);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.community-live-badge i {
  color: #ff4f4f;
  font-size: 8px;
  animation: live-pulse 1.4s ease-in-out infinite;
}

.community-live-card-body h4 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #f2fff5;
}

.community-live-card-body p {
  margin: 0;
  color: #95aeb7;
  line-height: 1.35;
  font-size: 13px;
}

.community-live-card-player {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(105, 182, 129, 0.16);
  background: #050806;
  aspect-ratio: 16 / 9;
}

.community-live-card-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.community-live-card-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(105, 182, 129, 0.14);
  background: rgba(10, 16, 12, 0.74);
  color: #a9cbb3;
  font-size: 13px;
}

.community-live-card-note i {
  color: #83f0a1;
}

.community-live-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.community-live-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 13px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 20px rgba(59, 123, 77, 0.26);
  white-space: nowrap;
  min-height: 48px;
}

.community-live-card-actions .board-action-btn-danger {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  justify-content: center;
  white-space: nowrap;
}

.community-live-card-actions > :only-child {
  grid-column: 1 / -1;
}

@keyframes live-pulse {
  0% { transform: scale(1); opacity: 0.85; }
  45% { transform: scale(1.28); opacity: 1; }
  100% { transform: scale(1); opacity: 0.85; }
}

.community-live-watch-panel {
  width: min(720px, 100%);
}

.community-live-watch-frame {
  min-height: 360px;
}

.community-live-stage {
  gap: 12px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(109, 201, 137, 0.16);
  background:
    radial-gradient(circle at top right, rgba(118, 232, 151, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(11, 19, 13, 0.98), rgba(7, 11, 8, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 20px 60px rgba(0, 0, 0, 0.22);
}

.community-live-stage-head {
  align-items: center;
}

.community-live-stage-headline {
  display: grid;
  gap: 6px;
}

.community-live-stage-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 82, 82, 0.14);
  border: 1px solid rgba(255, 107, 107, 0.26);
  color: #ffd8d8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.community-live-stage-head strong {
  font-size: 24px;
}

.community-live-room-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 360px);
  gap: 18px;
  width: 100%;
  min-height: 0;
  align-items: stretch;
}

.community-live-room-main,
.community-live-room-chat {
  min-width: 0;
}

.community-live-room-main {
  display: flex;
  min-height: 0;
}

.community-live-room-chat {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 0;
  width: 100%;
  border: 1px solid rgba(105, 182, 129, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10, 16, 11, 0.94), rgba(7, 11, 8, 0.98));
  padding: 12px;
}

.community-live-room-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #effff3;
}

.community-live-room-chat-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(113, 212, 140, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #cfeeda;
  font-size: 12px;
  font-weight: 700;
}

.community-live-comments {
  min-height: 280px;
  max-height: none;
  height: 100%;
}

.chat-msg.chat-msg-system {
  justify-content: center;
}

.chat-msg.chat-msg-system .chat-msg-body {
  max-width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(138, 225, 163, 0.14);
  background: rgba(44, 67, 49, 0.2);
  color: #d9f6e0;
  text-align: center;
  padding: 8px 12px;
}

.chat-msg.chat-msg-system .chat-msg-body p {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.community-live-stage .community-live-watch-frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(111, 206, 139, 0.18);
  background:
    radial-gradient(circle at top, rgba(93, 160, 114, 0.22), rgba(8, 12, 9, 0.98) 62%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 18px 36px rgba(0, 0, 0, 0.24);
}

.community-live-stage-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  pointer-events: none;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(5, 9, 6, 0.2), transparent 26%, transparent 62%, rgba(5, 9, 6, 0.56));
}

.community-live-stage-badge {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 7px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(17, 28, 19, 0.72);
  border: 1px solid rgba(117, 212, 144, 0.28);
  color: #e9fff0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
}

.community-live-stage-badge i {
  color: #67d28c;
  font-size: 10px;
}

.community-live-stage-footer {
  align-self: end;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
}

.community-live-stage-copy {
  display: grid;
  gap: 4px;
  max-width: min(70%, 420px);
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(11, 18, 12, 0.5);
  border: 1px solid rgba(123, 214, 149, 0.14);
  backdrop-filter: blur(10px);
}

.community-live-stage-copy strong {
  color: #f2fff5;
  font-size: 16px;
}

.community-live-stage-copy span {
  color: #c6e5cf;
  font-size: 12px;
}

.community-live-stage-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  pointer-events: auto;
}

.community-live-stage-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(157, 227, 177, 0.16);
  background: rgba(11, 18, 12, 0.7);
  backdrop-filter: blur(12px);
  color: #ebfff1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.community-live-stage-control i {
  font-size: 13px;
}

.community-live-stage-control-icon {
  min-width: 44px;
  width: 44px;
  padding: 0;
}

.community-live-stage-control-icon span {
  display: none;
}

.community-live-stage-control:hover,
.community-live-stage-control:focus-visible {
  border-color: rgba(138, 232, 166, 0.3);
  background: rgba(20, 31, 22, 0.9);
}

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

.community-live-compose {
  margin-top: auto;
}

.community-thread-detail {
  min-height: 220px;
}

.community-thread-detail-modal-panel {
  width: min(900px, 96vw);
  max-height: min(90vh, 940px);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 10% 0%, rgba(48, 93, 61, 0.2), transparent 46%),
    linear-gradient(180deg, rgba(8, 13, 10, 0.98), rgba(6, 10, 8, 0.98));
  border-color: rgba(88, 166, 120, 0.34);
}

.community-thread-detail-modal-panel .community-thread-detail {
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
  padding-right: 2px;
  padding-bottom: 4px;
}

#calendarDayList.calendar-thread-detail,
#calendarDayList.community-thread-detail {
  min-height: 0;
}

.calendar-day-feed {
  display: grid;
  gap: 10px;
}

.calendar-day-feed.feed.is-list {
  grid-template-columns: 1fr;
  gap: 12px;
}

.calendar-day-feed .card {
  cursor: pointer;
}

.calendar-day-feed.feed.is-list .card {
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

.community-thread-detail-modal-panel .community-thread {
  gap: 10px;
}

.community-live-history-modal-panel {
  width: min(920px, 96vw);
  max-height: min(90vh, 920px);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
  overflow: hidden;
}

.community-live-history-list {
  min-height: 180px;
  max-height: 100%;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(15, 17, 20, 0.98), rgba(12, 14, 17, 0.96));
  padding: 10px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.community-live-history-empty {
  min-height: 124px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(17, 20, 24, 0.82);
}

.community-live-history-empty strong {
  color: #e6ebf2;
  font-size: 15px;
}

.community-live-history-empty span {
  color: #9da9b5;
  font-size: 13px;
}

.community-live-history-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(24, 30, 37, 0.98), rgba(19, 24, 30, 0.96));
  padding: 12px;
  display: grid;
  gap: 10px;
}

.community-live-history-card-head {
  display: grid;
  gap: 4px;
}

.community-live-history-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.community-live-history-card-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  color: #edf2f7;
}

.community-live-history-card-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d3dbe5;
  background: rgba(255, 255, 255, 0.05);
}

.community-live-history-card-status.is-ended {
  border-color: rgba(116, 209, 143, 0.26);
  color: #cff0da;
  background: rgba(76, 161, 102, 0.16);
}

.community-live-history-card-meta {
  margin: 0;
  font-size: 12px;
  color: #9da9b5;
}

.community-live-history-card-desc {
  margin: 0;
  font-size: 14px;
  color: #d3dbe5;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.community-live-history-card-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.community-live-history-stat {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  min-height: 54px;
  padding: 8px;
  display: grid;
  align-content: center;
  gap: 2px;
}

.community-live-history-stat-label {
  font-size: 11px;
  color: #8f9ba7;
}

.community-live-history-stat-value {
  font-size: 16px;
  line-height: 1.15;
  font-weight: 700;
  color: #edf2f7;
}

.community-live-history-card-actions {
  display: flex;
  justify-content: flex-start;
}

.community-live-history-comments {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

.community-live-history-comment {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.community-live-history-comment strong {
  color: #eef5fb;
  font-size: 13px;
}

.community-live-history-comment p {
  margin: 0;
  color: #d3dbe5;
  font-size: 13px;
  line-height: 1.45;
}

.community-live-history-comment span,
.community-live-history-comments-empty {
  color: #94a0ad;
  font-size: 12px;
}

.community-thread-detail-modal-panel .community-reply-form {
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding-top: 8px;
  background: linear-gradient(180deg, rgba(9, 16, 10, 0), rgba(9, 16, 10, 0.94) 35%);
}

.community-thread-item {
  width: 100%;
  min-height: 112px;
  border: 0;
  border-bottom: 1px solid rgba(98, 171, 123, 0.2);
  border-radius: 0;
  background: transparent;
  text-align: left;
  padding: 12px 14px;
  display: grid;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.community-thread-item:hover {
  transform: translateX(2px);
  background: rgba(18, 31, 20, 0.78);
}

.community-thread-item:focus-visible {
  outline: 2px solid rgba(132, 242, 163, 0.7);
  outline-offset: 2px;
}

.community-thread-item-top {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.community-thread-avatar-wrap .community-avatar {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(118, 205, 146, 0.38);
}

.community-thread-item.is-active {
  background:
    linear-gradient(90deg, rgba(117, 224, 151, 0.15), rgba(117, 224, 151, 0) 34%),
    rgba(14, 26, 16, 0.9);
  box-shadow: inset 2px 0 0 rgba(117, 224, 151, 0.82);
}

.community-thread-item.has-replies {
  background-image: radial-gradient(circle at 0% 100%, rgba(110, 234, 142, 0.07), transparent 42%);
}

.community-thread-item.is-quiet {
  opacity: 0.88;
}

.community-thread-item-head {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.community-thread-item-head h4 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #ebffef;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-thread-item-preview {
  margin: 0;
  font-size: 14px;
  line-height: 1.38;
  color: #cde8d4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.community-thread-item-meta-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 2px;
}

.community-thread-item-meta-right {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.community-thread-item-meta {
  font-size: 12px;
  color: #a8cfb1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.community-thread-item-replies {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #d2f1dd;
  border: 1px solid rgba(110, 234, 142, 0.24);
  border-radius: 999px;
  padding: 3px 9px;
  background: rgba(10, 18, 11, 0.72);
}

.community-thread-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}

.community-thread-badge--hot {
  color: #ffd9c8;
  border-color: rgba(255, 130, 77, 0.38);
  background: rgba(255, 96, 0, 0.14);
}

.community-thread-badge--new {
  color: #d8fcea;
  border-color: rgba(0, 255, 143, 0.28);
  background: rgba(0, 255, 143, 0.12);
}

.community-thread {
  border: 1px solid rgba(96, 170, 122, 0.2);
  border-radius: 16px;
  padding: 14px 14px 12px;
  background:
    radial-gradient(circle at 0% 0%, rgba(120, 217, 151, 0.09), transparent 42%),
    rgba(7, 12, 9, 0.86);
  display: grid;
  gap: 12px;
}

.community-thread-main {
  border: 1px solid rgba(104, 173, 127, 0.18);
  border-radius: 14px;
  background: rgba(8, 16, 10, 0.66);
  padding: 10px 12px 11px;
  display: grid;
  gap: 6px;
}

.community-thread-author {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.community-thread-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 2px 0 0;
}

.community-thread-head h4 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.2px;
}

.community-thread-head span,
.community-thread-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.community-thread-head span {
  padding-top: 4px;
  white-space: nowrap;
}

.community-thread-meta {
  padding: 2px 0 0 1px;
}

.community-thread-message {
  margin: 4px 0 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 17px;
  line-height: 1.58;
  color: #d9ebdf;
  padding: 4px 0 10px 1px;
  border-bottom: 1px solid rgba(95, 155, 118, 0.22);
  max-width: 78ch;
}

.community-thread-menu-wrap {
  position: relative;
}

.community-thread-menu-toggle {
  width: 34px;
  min-width: 34px;
  height: 34px;
  border-radius: 10px;
  padding: 0;
}

.community-thread-menu-toggle i {
  margin: 0;
}

.community-thread-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 156px;
  z-index: 6;
  border: 1px solid rgba(112, 188, 137, 0.3);
  border-radius: 12px;
  background: rgba(6, 12, 8, 0.96);
  padding: 6px;
  display: grid;
  gap: 4px;
}

.community-thread-menu .community-action-btn-inline {
  width: 100%;
  justify-content: flex-start;
  border-radius: 10px;
  min-height: 34px;
  padding: 6px 10px;
  font-size: 13px;
}

.community-replies {
  display: grid;
  gap: 0;
  margin-top: 10px;
  padding-top: 4px;
  padding-left: 14px;
  margin-left: 4px;
  border-top: 1px solid rgba(95, 155, 118, 0.15);
  position: relative;
}

.community-replies::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(116, 189, 142, 0.5), rgba(116, 189, 142, 0.08));
}

.community-reply {
  border: 0;
  border-bottom: 1px solid rgba(94, 153, 116, 0.2);
  border-radius: 0;
  padding: 10px 2px 11px 8px;
  background: transparent;
  position: relative;
}

.community-reply.community-reply-threaded {
  display: block;
  padding: 11px 2px;
  border-radius: 0;
  background: transparent;
}

.community-reply-children {
  display: grid;
  gap: 0;
  margin-top: 8px;
  margin-left: 18px;
  padding-left: 12px;
  border-left: 1px solid rgba(111, 183, 135, 0.2);
}

.community-reply.depth-1,
.community-reply.depth-2,
.community-reply.depth-3 {
  padding-top: 9px;
  padding-bottom: 9px;
}

.community-reply.community-reply-threaded.has-children {
  padding-bottom: 6px;
}

.community-reply-content {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.community-reply-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
}

.community-reply-author {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.community-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(110, 234, 142, 0.32);
  object-fit: cover;
  background: rgba(12, 20, 12, 0.9);
}

.community-avatar.community-avatar-sm {
  width: 45px;
  height: 45px;
}

.community-thread .community-avatar {
  width: 42px;
  height: 42px;
}

.community-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.community-reply p {
  margin: 2px 0 0;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.5;
  font-size: 14px;
  color: #d6e9dd;
}

.community-reply-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
}

.community-reply-actions-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
}

.community-reply-action-group .community-action-btn {
  width: auto;
  min-height: 28px;
  padding: 3px 9px;
  font-size: 11px;
  border-radius: 999px;
  justify-content: center;
  opacity: 0.68;
}

.community-reply:hover .community-reply-action-group .community-action-btn {
  opacity: 1;
}

.community-reply-action-group .community-action-btn.is-liked {
  color: rgb(255, 0, 0);
  border-color: rgba(255, 0, 0, 0.52);
  background: rgba(255, 0, 0, 0.12);
  opacity: 1;
}

.community-reply-action-group .community-action-btn.is-liked i {
  color: rgb(255, 0, 0);
}

.community-reply-form {
  display: grid;
  gap: 7px;
  margin-top: 4px;
}

.community-reply-target {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(108, 173, 129, 0.22);
  border-radius: 12px;
  background: rgba(11, 20, 13, 0.76);
}

.community-reply-target-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.community-reply-target-copy strong {
  font-size: 13px;
  color: #eef8f1;
}

.community-reply-target-copy span {
  font-size: 11px;
  color: rgba(189, 221, 198, 0.72);
}

.community-reply-target .community-action-btn-inline {
  width: auto;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 10px;
  flex-shrink: 0;
}

.community-reply-form textarea {
  min-height: 44px;
  max-height: 120px;
  border-radius: 12px;
  padding: 10px 12px;
  resize: vertical;
}

.community-reply-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
}

.community-reply-compose .community-action-btn {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 11px;
  width: auto;
}

.community-reply-hint {
  color: rgba(183, 223, 195, 0.76);
  font-size: 12px;
  margin-left: 2px;
}

@media (max-width: 680px) {
  .community-reply-children {
    margin-left: 12px;
    padding-left: 9px;
  }

  .community-reply-target {
    align-items: stretch;
    flex-direction: column;
  }

  .community-reply-target .community-action-btn-inline {
    width: 100%;
    justify-content: center;
  }
}

.community-action-group {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.community-action-group-2 {
  display: inline-flex;
  grid-template-columns: none;
  width: auto;
}

.community-action-btn {
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
}

.community-action-btn i {
  margin: 0;
}

.community-action-btn-primary {
  border-color: rgba(132, 242, 163, 0.55);
  background: linear-gradient(180deg, rgba(31, 63, 37, 0.95), rgba(21, 45, 27, 0.92));
}

.community-action-btn.is-reported {
  border-color: rgba(255, 120, 120, 0.4);
  color: #ffdede;
}

@media (max-width: 480px) {
  .community-reply-actions {
    flex-wrap: wrap;
  }
}

.community-empty,
.community-reply-empty {
  border: 1px dashed rgba(110, 234, 142, 0.28);
  border-radius: 10px;
  padding: 10px;
  color: var(--text-muted);
  text-align: center;
}

.board-card {
  display: grid;
  gap: 14px;
}

.board-head {
  display: grid;
  gap: 6px;
}

.board-head h3 {
  margin: 0;
  font-size: 28px;
}

.board-head p {
  margin: 0;
  color: var(--text-muted);
}

.board-toolbar {
  display: grid;
  gap: 8px;
  position: relative;
  width: 100%;
  max-width: 720px;
  justify-self: center;
}


.board-create {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(110, 234, 142, 0.3);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(112, 232, 145, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(10, 18, 11, 0.94), rgba(8, 14, 9, 0.9));
  position: static;
  top: auto;
}

.board-create h4 {
  margin: 0;
  font-size: 15px;
  color: #dff6e6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.board-create .form-grid {
  gap: 8px;
  grid-template-columns: 1fr;
}

.board-create textarea {
  min-height: 130px;
}

.board-create-layout {
  display: grid;
  gap: 12px;
  align-items: start;
}

.board-create-image-col,
.board-create-form-col {
  display: grid;
  gap: 10px;
}

#boardImageDropZone {
  min-height: 210px;
  align-content: start;
}

#boardImagePreview.profile-preview {
  width: 100%;
  height: 220px;
  margin-left: 0;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(8, 12, 8, 0.7);
}

@media (min-width: 920px) {
  #boardAdModal .community-thread-modal-panel {
    width: min(1040px, 96vw);
  }

  #boardAdModal .board-create {
    width: 100%;
    padding: 14px;
    gap: 12px;
  }

  .board-create {
    width: min(980px, 100%);
  }

  .board-create-layout {
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.4fr);
    align-items: stretch;
    gap: 14px;
  }

  .board-create-image-col {
    grid-column: 1;
  }

  .board-create-form-col {
    grid-column: 2;
    align-content: start;
  }

  #boardImageDropZone {
    min-height: 100%;
    min-height: 340px;
  }

  #boardImagePreview.profile-preview {
    height: 100%;
    min-height: 320px;
    max-height: 520px;
  }
}

.board-create .primary {
  width: 100%;
  height: 42px;
  min-height: 42px;
  padding: 0 14px;
  font-size: 14px;
}

#boardAdModal.modal {
  align-items: flex-start;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

#boardAdModal .community-thread-modal-panel {
  max-height: calc(100dvh - 20px - env(safe-area-inset-top));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

.board-ads {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.board-ad-card {
  border: 1px solid rgba(226, 255, 236, 0.16);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(12, 22, 14, 0.9), rgba(8, 15, 10, 0.86));
  padding: 12px;
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 9px;
  min-height: 320px;
  box-shadow: 0 12px 24px rgba(3, 8, 4, 0.24);
}

.board-ad-media {
  position: relative;
  width: calc(100% + 24px);
  margin: -12px -12px 0;
  border-radius: 16px 16px 10px 10px;
  overflow: hidden;
  border-bottom: 1px solid rgba(226, 255, 236, 0.14);
}

.board-ad-image {
  width: 100%;
  margin: 0;
  height: 166px;
  object-fit: cover;
  border-radius: 0;
  border-bottom: 0;
  background: rgba(8, 12, 8, 0.72);
  display: block;
}

.board-ad-image-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(186, 255, 112, 0.18), transparent 54%),
    linear-gradient(180deg, rgba(19, 32, 20, 0.98), rgba(11, 21, 13, 0.94));
}

.board-ad-image-placeholder i {
  font-size: 34px;
  color: rgba(225, 255, 235, 0.88);
}

.board-ad-menu-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 10px;
  padding: 0;
  z-index: 2;
}

.board-ad-menu-toggle i {
  margin: 0;
}

.board-ad-menu {
  position: absolute;
  top: 46px;
  right: 10px;
  z-index: 3;
  width: 148px;
  border-radius: 12px;
  border: 1px solid rgba(226, 255, 236, 0.2);
  background: rgba(7, 14, 9, 0.96);
  padding: 6px;
  display: grid;
  gap: 6px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.36);
}

.board-ad-menu .board-action-btn-inline {
  min-height: 34px;
  justify-content: flex-start;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
}

.board-ad-card h4 {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
  color: #edf8f0;
}

.board-ad-card p {
  margin: 0;
  white-space: normal;
  word-break: break-word;
  color: rgba(210, 228, 215, 0.84);
  font-size: 14px;
  line-height: 1.4;
}

.board-ad-details {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.board-ad-author {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.board-ad-author-meta {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 2px;
}

.board-ad-author-meta strong {
  font-size: 15px;
  color: #eaffee;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-ad-author-meta span {
  font-size: 12px;
  color: rgba(198, 218, 204, 0.7);
}

.board-ad-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: rgba(198, 218, 204, 0.78);
}

.board-ad-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.board-ad-meta i {
  color: rgba(132, 242, 163, 0.86);
}

.board-ad-type {
  margin-left: auto;
  border: 1px solid rgba(226, 255, 236, 0.2);
  border-radius: 999px;
  padding: 2px 8px;
  color: #e6f5eb;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  white-space: nowrap;
}

.board-ad-type--buy {
  border-color: rgba(119, 183, 255, 0.36);
  background: rgba(119, 183, 255, 0.14);
  color: #e8f2ff;
}

.board-ad-type--sell {
  border-color: rgba(126, 246, 162, 0.34);
  background: rgba(126, 246, 162, 0.14);
  color: #eaffee;
}

.board-ad-type--exchange {
  border-color: rgba(178, 160, 255, 0.34);
  background: rgba(178, 160, 255, 0.14);
  color: #eee9ff;
}

.board-contact-btn,
.board-action-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(110, 234, 142, 0.28);
  padding: 0 14px;
  text-decoration: none;
  color: #dff6e6;
  background: rgba(12, 21, 13, 0.76);
  align-self: stretch;
  margin-top: 0;
  min-width: 0;
  font-weight: 700;
  letter-spacing: 0.1px;
}

.board-ad-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: end;
}

.board-action-group {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.board-action-btn {
  width: 100%;
  min-height: 40px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 650;
}

.board-action-btn i {
  margin: 0;
}

.board-action-btn-primary {
  border-color: rgba(132, 242, 163, 0.55);
  background: linear-gradient(180deg, rgba(31, 63, 37, 0.95), rgba(21, 45, 27, 0.92));
  color: #e9ffef;
}

.board-action-btn-danger {
  border-color: rgba(255, 120, 120, 0.38);
  color: #ffdede;
}

.board-edit-btn {
  min-height: 42px;
  border-radius: 11px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.board-contact-btn:hover {
  border-color: rgba(132, 242, 163, 0.5);
  background: rgba(18, 32, 20, 0.9);
  transform: translateY(-1px);
}

.board-contact-btn.is-disabled {
  opacity: 0.65;
}

@media (max-width: 480px) {
  .board-action-group {
    grid-template-columns: 1fr;
  }
  .board-action-btn-primary {
    grid-column: auto;
  }
}

.chat-card {
  display: grid;
  border-radius: 16px;
  width: min(980px, 100%);
  margin-inline: auto;
  align-content: stretch;
  min-height: clamp(520px, calc(100dvh - 210px), 860px);
}

.chat-head h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chat-head p {
  margin: 6px 0 0;
  color: var(--text-muted);
  max-width: 62ch;
  font-size: 15px;
}

.chat-sidebar {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  align-content: stretch;
  width: 100%;
  min-width: 0;
  max-width: 920px;
  margin: 0 auto;
  min-height: 0;
}

.chat-search-block,
.chat-conversations-block {
  display: grid;
  gap: var(--sp-2);
}

.chat-conversations-block {
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
}

.chat-section-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #a8b3bd;
}

.chat-search-block .chat-section-label {
  margin-bottom: 2px;
}

.chat-sidebar input[type="text"] {
  min-height: 44px;
  border-radius: 12px;
  font-size: 15px;
}

.chat-user-results,
.chat-conversations {
  display: grid;
  gap: 6px;
  align-content: start;
  grid-auto-rows: max-content;
}

.chat-user-results {
  max-height: 220px;
  min-height: 76px;
  overflow-y: auto;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(17, 20, 24, 0.96), rgba(13, 16, 19, 0.94));
  scrollbar-width: thin;
  scrollbar-color: rgba(125, 138, 150, 0.72) rgba(18, 21, 26, 0.68);
}

.chat-conversations {
  height: 100%;
  max-height: none;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 4px 2px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(125, 138, 150, 0.72) rgba(18, 21, 26, 0.68);
}

.chat-user-results::-webkit-scrollbar,
.chat-conversations::-webkit-scrollbar {
  width: 8px;
}

.chat-user-results::-webkit-scrollbar-track,
.chat-conversations::-webkit-scrollbar-track {
  background: rgba(18, 21, 26, 0.72);
  border-radius: 999px;
}

.chat-user-results::-webkit-scrollbar-thumb,
.chat-conversations::-webkit-scrollbar-thumb {
  background: rgba(125, 138, 150, 0.82);
  border: 1px solid rgba(18, 21, 26, 0.85);
  border-radius: 999px;
}

.chat-user-results::-webkit-scrollbar-thumb:hover,
.chat-conversations::-webkit-scrollbar-thumb:hover {
  background: rgba(146, 159, 171, 0.92);
}

.chat-thread {
  display: grid;
  grid-template-rows: auto minmax(260px, 1fr) auto;
  gap: 10px;
  min-height: 560px;
}

.chat-private-modal-panel {
  width: min(980px, 96vw);
  height: min(92vh, 940px);
  max-height: min(92vh, 940px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  overflow: hidden;
}

.chat-private-modal-panel .chat-messages {
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
}

@media (min-width: 1280px) {
  .chat-private-modal-panel {
    width: min(1120px, 92vw);
    height: min(92vh, 980px);
    max-height: min(92vh, 980px);
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .chat-private-modal-panel .chat-messages {
    min-height: 0;
  }
}

.chat-thread-title {
  padding: 6px 8px;
  font-weight: 700;
  color: #edf2f7;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.chat-thread-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.chat-thread-status {
  font-size: 12px;
  font-weight: 500;
  color: #8f9ba7;
  line-height: 1.2;
}

.chat-conv-item {
  --chat-conv-py: 9px;
  --chat-conv-px: 10px;
  --chat-conv-gap: 8px;
  width: 100%;
  color: var(--text);
  text-align: left;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--chat-conv-gap);
  align-items: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: var(--chat-conv-py) var(--chat-conv-px);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  background: linear-gradient(180deg, rgba(21, 25, 30, 0.94), rgba(16, 19, 23, 0.92));
}

.chat-conv-item:focus-visible {
  outline: 2px solid rgba(132, 242, 163, 0.78);
  outline-offset: 2px;
}

.chat-conv-item:hover {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(28, 33, 39, 0.96);
  transform: translateY(-1px) translateX(2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.chat-conv-item.is-active {
  border-color: rgba(110, 234, 142, 0.14);
  background: linear-gradient(180deg, rgba(29, 37, 43, 0.98), rgba(23, 30, 35, 0.96));
  box-shadow: inset 3px 0 0 rgba(110, 234, 142, 0.42), 0 10px 20px rgba(0, 0, 0, 0.18);
}

.chat-conv-item.is-unread {
  border-color: rgba(110, 234, 142, 0.16);
  background: linear-gradient(180deg, rgba(25, 31, 36, 0.98), rgba(19, 24, 28, 0.95));
}

.chat-conv-body {
  min-width: 0;
  display: grid;
  gap: 4px;
  align-content: center;
}

.chat-conv-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.chat-conv-body strong {
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-conv-item.is-unread .chat-conv-body strong {
  color: #edfff2;
  font-weight: 800;
}

.chat-conv-time {
  font-size: 11px !important;
  color: #7e8994 !important;
  white-space: nowrap;
}

.chat-conv-avatar-wrap {
  position: relative;
  width: 45px;
  height: 45px;
}

.chat-conv-avatar-wrap .community-avatar {
  width: 45px;
  height: 45px;
}

.chat-conv-presence {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid rgba(9, 16, 10, 0.95);
  background: rgba(120, 140, 130, 0.8);
}

.chat-conv-presence.is-online {
  background: #62d68a;
  box-shadow: 0 0 0 3px rgba(98, 214, 138, 0.14);
}

.chat-conv-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.chat-conv-preview {
  font-size: 12px;
  color: #9aa5b1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-conv-item.is-unread .chat-conv-preview {
  color: #cad4de;
}

.chat-conv-unread {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #f4fff7;
  background: rgba(72, 167, 101, 0.92);
  border: 1px solid rgba(110, 234, 142, 0.22);
}

.chat-user-results .chat-conv-body span {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-search-item {
  border-radius: 11px;
}

.chat-search-empty {
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.35;
  color: #99a4ae;
  text-align: center;
  background: rgba(17, 20, 24, 0.86);
}

.chat-search-skeleton {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 9px;
  background: rgba(17, 20, 24, 0.86);
}

.chat-search-skeleton-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(95, 122, 95, 0.22), rgba(125, 153, 125, 0.45), rgba(95, 122, 95, 0.22));
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}

.chat-search-skeleton-lines {
  display: grid;
  gap: 7px;
}

.chat-search-skeleton-lines .sk-line {
  margin-bottom: 0;
}

.chat-search-skeleton-title {
  width: 64%;
  height: 14px;
}

.chat-search-skeleton-sub {
  width: 48%;
  height: 11px;
}

.chat-messages {
  min-height: 280px;
  max-height: 520px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(15, 17, 20, 0.98), rgba(12, 14, 17, 0.96));
  padding: 10px 8px;
  display: grid;
  gap: 8px;
  align-content: start;
  grid-auto-rows: max-content;
}

.chat-msg {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  animation: chat-msg-in 0.2s ease;
}

.chat-day-separator {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 6px 0 2px;
}

.chat-day-separator span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #99a5af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.chat-msg-body {
  border: 0;
  border-radius: 18px 18px 18px 10px;
  background: linear-gradient(180deg, rgba(29, 33, 39, 0.98), rgba(22, 26, 31, 0.96));
  padding: 12px 14px 10px;
  max-width: min(82%, 620px);
  width: fit-content;
  display: grid;
  gap: 7px;
  justify-items: start;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.chat-msg.is-me .chat-msg-body {
  border-radius: 18px 18px 10px 18px;
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.98), rgba(26, 35, 47, 0.96));
  box-shadow: inset 0 0 0 1px rgba(110, 234, 142, 0.12), 0 8px 18px rgba(0, 0, 0, 0.16);
  justify-self: end;
}

.chat-msg.is-me {
  justify-content: flex-end;
}

.chat-msg-author {
  font-size: 12px;
  color: #98a5b1;
  line-height: 1.2;
  font-weight: 700;
}

.chat-msg p {
  margin: 0;
  font-size: 15px;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.5;
  max-width: none;
  color: #edf2f7;
}

.chat-msg-foot {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.chat-msg-time {
  font-size: 11px;
  color: #7d8792;
  letter-spacing: 0.01em;
}

.chat-empty-state {
  display: grid;
  gap: 6px;
  justify-items: start;
  padding: 14px;
}

.chat-empty-state strong {
  font-size: 15px;
  color: #e6ffe9;
}

.chat-empty-state span {
  font-size: 13px;
  color: #9dc8a8;
}

.chat-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(18, 21, 25, 0.98), rgba(14, 17, 20, 0.96));
  padding: 4px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.chat-ad-context {
  margin-top: 8px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(18, 21, 25, 0.94);
  padding: 8px 10px;
}

.chat-ad-context-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.chat-ad-context-head strong {
  font-size: 12px;
  color: #d7f6df;
}

.chat-ad-context-meta {
  display: grid;
  gap: 2px;
  font-size: 12px;
  color: var(--text-muted);
}

.chat-profile-context {
  margin-top: 8px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(18, 21, 25, 0.94);
  padding: 8px 10px;
}

.chat-profile-context-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.chat-profile-context-head strong,
.chat-profile-context-meta {
  font-size: 12px;
}

.chat-profile-context-head strong {
  color: #d7f6df;
}

.chat-profile-context-meta {
  color: var(--text-muted);
}

.chat-ad-preview {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 7px 9px;
  background: rgba(20, 24, 29, 0.9);
  display: grid;
  gap: 2px;
  margin-bottom: 6px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  height: fit-content;
}

.chat-ad-preview-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.chat-ad-preview strong {
  font-size: 13px;
  color: #edf2f7;
}

.chat-ad-preview span {
  font-size: 12px;
  color: #97a3ae;
}

.chat-ad-preview-image {
  width: 100%;
  height: auto;
  max-height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 4px;
}

.chat-ad-preview-context.has-image {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.chat-ad-preview-context.has-image .chat-ad-preview-image {
  width: 92px;
  height: 92px;
  max-height: none;
  margin: 0;
  border-radius: 10px;
}

.chat-ad-preview-context .chat-ad-preview-copy {
  min-width: 0;
}

.chat-profile-preview {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px 9px;
  background: rgba(20, 24, 29, 0.9);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.chat-profile-preview-meta {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.chat-profile-preview-meta strong,
.chat-profile-preview-meta span,
.chat-mention-item-meta strong,
.chat-mention-item-meta span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-profile-preview-meta strong,
.chat-mention-item-meta strong {
  font-size: 13px;
  color: #edf2f7;
}

.chat-profile-preview-meta span,
.chat-mention-item-meta span {
  font-size: 12px;
  color: #97a3ae;
}

.chat-mention-results {
  margin-top: 8px;
  display: grid;
  gap: 6px;
}

.chat-mention-item {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  background: rgba(20, 24, 29, 0.92);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
}

.chat-mention-item-meta {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.board-ad-preview-panel {
  max-width: 620px;
}

.board-ad-preview-body {
  display: grid;
  gap: 10px;
}

.board-ad-preview-image {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(110, 234, 142, 0.2);
}

.board-ad-preview-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 12px;
}

.chat-compose textarea {
  min-height: 44px;
  height: 44px;
  max-height: calc(1.35em * 3 + 18px);
  resize: none;
  overflow-y: hidden;
  line-height: 1.35;
  border-radius: 14px;
  padding-top: 9px;
  padding-bottom: 9px;
  background: rgba(28, 33, 39, 0.96);
  border-color: rgba(255, 255, 255, 0.06);
  color: #edf2f7;
  font-size: 15px;
}

.chat-compose .primary {
  min-width: 120px;
}

.chat-send-icon-btn {
  width: 46px;
  min-width: 46px !important;
  height: 46px;
  min-height: 46px !important;
  max-height: 46px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  border-radius: 14px;
}

.chat-send-icon-btn.primary {
  background: linear-gradient(180deg, #67d98d, #4ab873);
  color: #06170d;
  border: 0;
  box-shadow: 0 8px 16px rgba(74, 184, 115, 0.22);
}

.chat-msg-body .chat-ad-preview,
.chat-msg-body .chat-profile-preview {
  border: 0;
  background: transparent;
  padding: 0;
  margin-bottom: 2px;
  box-shadow: none;
}

.chat-msg-body .chat-ad-preview-image {
  display: none;
}

.chat-msg-body .chat-ad-preview.has-image {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.chat-msg-body .chat-ad-preview.has-image .chat-ad-preview-image {
  display: block;
  width: 72px;
  height: 72px;
  max-height: none;
  margin: 0;
  border-radius: 10px;
  object-fit: cover;
}

.chat-msg-body .chat-ad-preview.has-image .chat-ad-preview-copy {
  min-width: 0;
}

.chat-msg-body .chat-ad-preview strong,
.chat-msg-body .chat-profile-preview-meta strong {
  font-size: 15px;
  line-height: 1.25;
}

.chat-msg-body .chat-ad-preview span,
.chat-msg-body .chat-profile-preview-meta span {
  font-size: 12px;
  color: #95a0ab;
}

@keyframes chat-msg-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-send-icon-btn i {
  margin: 0;
}

#chatPrivateModal:not(.hidden) ~ #whatsappFab {
  opacity: 0;
  pointer-events: none;
}

#accountModal:not(.hidden) ~ #whatsappFab {
  opacity: 0;
  pointer-events: none;
}

#chatPrivateModal.modal {
  z-index: 120;
}

#boardAdPreviewModal.modal {
  z-index: 130;
}

.feed-intro strong {
  color: var(--text);
  font-family: "Sora", sans-serif;
}

.feed-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.feed-view-toggle button {
  height: 34px;
  border-radius: 10px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 600;
}

.feed-view-toggle button i {
  margin-right: 5px;
}

.feed-view-toggle button.is-active {
  border-color: transparent;
  background: linear-gradient(180deg, #84f2a3, #69dc8a);
  color: #0f1f12;
}

.feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: var(--sp-3);
  align-items: start;
}

.feed.is-calendar {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  justify-items: center;
}

.feed-calendar-board {
  border: 1px solid rgba(110, 234, 142, 0.24);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(14, 22, 14, 0.94), rgba(10, 17, 10, 0.9));
  padding: 12px;
  max-width: 700px;
}

.feed-calendar-board-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.feed-calendar-heading-copy {
  display: grid;
  justify-items: center;
}

.feed-calendar-board-head h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1;
  text-align: center;
}

.feed-calendar-year {
  justify-self: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.feed-calendar-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(110, 234, 142, 0.32);
  background: rgba(12, 21, 12, 0.88);
  color: #d9fae1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.feed-calendar-nav-btn:hover {
  border-color: rgba(132, 242, 163, 0.6);
  background: rgba(16, 28, 16, 0.95);
}

.feed-calendar-grid-head,
.feed-calendar-grid-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
}

.feed-calendar-weekday {
  border: 1px solid rgba(110, 234, 142, 0.2);
  background: rgba(18, 29, 18, 0.85);
  padding: 7px 2px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #d8f7df;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-calendar-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  min-height: 0;
  border: 1px solid rgba(110, 234, 142, 0.2);
  background: rgba(11, 19, 11, 0.8);
  border-radius: 12px;
  padding: 8px 7px 6px;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 4px;
  overflow: hidden;
  cursor: pointer;
}

.feed-calendar-cell.is-muted {
  opacity: 0.46;
}

.feed-calendar-cell.is-today {
  border-color: rgba(132, 242, 163, 0.64);
  box-shadow: inset 0 0 0 1px rgba(132, 242, 163, 0.24);
}

.feed-calendar-cell:hover {
  border-color: rgba(132, 242, 163, 0.55);
  background: rgba(16, 28, 16, 0.9);
}

.feed-calendar-day-number {
  font-size: 15px;
  font-weight: 800;
  color: #eaffee;
  line-height: 1;
}

.feed-calendar-count {
  position: static;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(110, 234, 142, 0.36);
  background: rgba(132, 242, 163, 0.22);
  color: #d5ffe0;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  margin-top: 3px;
}

.feed-calendar-cell-events {
  display: grid;
  align-content: start;
  gap: 4px;
}

.feed-calendar-mini-event {
  width: 100%;
  min-height: 22px;
  border-radius: 8px;
  border: 1px solid rgba(110, 234, 142, 0.18);
  background: rgba(11, 19, 11, 0.84);
  display: block;
  text-align: left;
  padding: 2px 6px;
  font-size: 11px;
  color: #d9fae1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-calendar-mini-more {
  font-size: 11px;
  color: #9bc6a5;
  padding-left: 2px;
}

.feed-calendar-side {
  display: none;
}

.site-footer {
  margin-top: auto;
  margin-bottom: 0;
  border: 1px solid rgba(110, 234, 142, 0.2);
  border-radius: 16px;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(17, 27, 18, 0.86), rgba(13, 22, 14, 0.8));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-footer-main {
  display: grid;
  gap: 3px;
}

.site-footer-brand {
  margin: 0;
  font-weight: 700;
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: 0.2px;
}

.site-footer-copy {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.site-footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
}

.site-footer-links a:hover {
  color: var(--primary);
}

.site-footer-links .text-link-btn {
  color: var(--text);
  font-size: 13px;
}

.site-footer-links .text-link-btn:hover {
  color: var(--primary);
}

.text-link-btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  color: var(--primary);
  font: inherit;
  cursor: pointer;
}

.text-link-btn:hover {
  text-decoration: underline;
}

.feed.is-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.feed.is-list .card {
  --card-pad: 0px;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  grid-template-areas:
    "image meta"
    "image header"
    "image summary"
    "image chips";
  align-items: start;
  column-gap: 14px;
  row-gap: 8px;
  padding: 0;
  min-height: 0;
  overflow: hidden;
  width: 100%;
  max-width: 700px;
  margin-inline: auto;
  justify-self: center;
  height: 100%;
}

@media (max-width: 900px) {
  .feed.is-list {
    grid-template-columns: 1fr;
  }
}

.feed.is-list .card.no-image {
  grid-template-columns: 1fr;
  grid-template-areas:
    "meta"
    "header"
    "summary"
    "chips";
}

.feed.is-list .card-image {
  grid-area: image;
  margin: 0;
  width: 100%;
  min-height: 190px;
  object-fit: cover;
  border-radius: 0;
  border: 0;
  border-right: 1px solid var(--line);
}

.feed.is-list .card-headline {
  grid-area: header;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  margin: 0;
  padding-right: 12px;
  min-width: 0;
}

.feed.is-list .card-options-btn {
  position: static;
  top: auto;
  right: auto;
  margin-left: auto;
  width: 34px;
  height: 34px;
  min-width: 34px;
  font-size: 18px;
  border-radius: 10px;
  z-index: auto;
}

.feed.is-list .title {
  white-space: normal;
  overflow-wrap: anywhere;
}

.feed.is-list .meta {
  grid-column: 1 / -1;
  width: 100%;
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
}

.feed.is-list .card-summary {
  grid-area: summary;
  margin: 0;
}

.feed.is-list .card-floating-meta {
  position: static;
  grid-area: meta;
  max-width: none;
  margin: 12px 12px 0 0;
  padding: 0 0 0 0;
  background: transparent;
  backdrop-filter: none;
  pointer-events: auto;
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.feed.is-list .card-owner {
  max-width: 100%;
  min-width: 0;
}

.feed.is-list .card-floating-meta .city {
  margin-left: auto;
}

.feed.is-list .owner-name {
  color: var(--text-muted);
}

.feed.is-list .card .chips {
  grid-area: chips;
  padding: 0 12px 12px 0;
}

.feed.is-list .card.no-image .card-floating-meta {
  margin: 12px 12px 0;
}

.feed.is-list .card.no-image .card-headline {
  padding: 0 12px;
}

.feed.is-list .card.no-image .card-summary {
  padding: 0 12px;
}

.feed.is-list .card.no-image .chips {
  padding: 0 12px 12px;
}

.feed-day-divider {
  grid-column: 1 / -1;
  font-family: "Sora", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.2px;
  padding: 6px 2px 2px;
  margin-top: 25px;
  border-top: 1px solid rgba(110, 234, 142, 0.2);
}

.card {
  --card-pad: var(--sp-4);
  position: relative;
  background:
    radial-gradient(circle at 12% 0%, rgba(196, 255, 176, 0.08), transparent 44%),
    linear-gradient(180deg, rgba(18, 30, 21, 0.74), rgba(10, 20, 13, 0.7));
  border: 1px solid rgba(225, 255, 234, 0.18);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  padding: var(--card-pad);
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  animation: fade-up 0.22s ease both;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(3, 8, 4, 0.26);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  opacity: 0.75;
}

.card.card-ad::before {
  display: none;
}

.card.menu-open {
  overflow: visible;
  position: relative;
  z-index: 22;
}

.feed.is-list .card.menu-open {
  overflow: visible;
}

.card-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  border-radius: 13px;
  border: 1px solid rgba(228, 255, 236, 0.14);
  margin-bottom: var(--sp-3);
}

.card.card-clickable .card-image {
  width: calc(100% + (var(--card-pad) * 2));
  margin-left: calc(var(--card-pad) * -1);
  margin-top: calc(var(--card-pad) * -1);
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

.card-owner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  min-width: 0;
}

.card-owner-media {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0;
  min-width: 36px;
}

.card-owner-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
  align-items: start;
  padding-top: 2px;
}

.card-floating-meta {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 6;
  display: grid;
  gap: 4px;
  max-width: calc(100% - 64px);
  padding: 4px 5px;
  border-radius: 12px;
  background: rgba(12, 20, 13, 0.48);
  backdrop-filter: blur(9px);
  pointer-events: auto;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid transparent;
}

.card-floating-meta.card-floating-meta-profile {
  position: relative;
  top: auto;
  left: auto;
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.card-floating-meta:hover,
.card-floating-meta:focus-visible {
  background: rgba(18, 31, 20, 0.72);
  border-color: rgba(186, 255, 112, 0.28);
  box-shadow: 0 8px 18px rgba(3, 8, 4, 0.34);
  outline: none;
}

.card-floating-meta.card-floating-meta-profile:hover,
.card-floating-meta.card-floating-meta-profile:focus-visible {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.owner-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: rgba(18, 30, 18, 0.9);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.card-floating-meta.is-live .owner-avatar {
  border-color: rgba(255, 93, 93, 0.95);
  box-shadow: 0 0 0 2px rgba(255, 53, 53, 0.22), 0 0 18px rgba(255, 74, 74, 0.24);
}

.card-floating-meta.is-live:hover .owner-avatar,
.card-floating-meta.is-live:focus-visible .owner-avatar {
  transform: scale(1.02);
}

.owner-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  justify-self: center;
  width: fit-content;
  margin-top: -8px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 92, 92, 0.7);
  background: linear-gradient(180deg, rgba(255, 78, 78, 0.96), rgba(200, 23, 23, 0.92));
  color: #fff4f4;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(126, 8, 8, 0.28);
  pointer-events: none;
  text-transform: uppercase;
}

.owner-live-badge i {
  font-size: 7px;
  color: #fff;
  animation: owner-live-pulse 1.5s ease-in-out infinite;
}

.card-now-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  justify-self: start;
  width: fit-content;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 170, 120, 0.72);
  background: linear-gradient(180deg, rgba(255, 120, 92, 0.96), rgba(220, 70, 42, 0.92));
  color: #fff6f2;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(126, 39, 8, 0.24);
  pointer-events: none;
  text-transform: uppercase;
}

.card-now-badge i {
  font-size: 8px;
  color: #fff;
}

.public-profile-meta-chip {
  z-index: 1;
  isolation: isolate;
}

.public-profile-meta-chip.public-profile-avatar-wrap {
  position: relative;
  overflow: visible;
}

.public-profile-live-ring {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.public-profile-meta-chip .public-profile-avatar-wrap,
.public-profile-meta-chip .public-profile-avatar,
.public-profile-meta-chip .public-profile-avatar-fallback {
  position: relative;
  z-index: 1;
}

.public-profile-meta-chip.public-profile-avatar-wrap .public-profile-avatar,
.public-profile-meta-chip.public-profile-avatar-wrap .public-profile-avatar-fallback {
  position: relative;
  z-index: 1;
}

.public-profile-meta-chip .owner-live-badge {
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  margin-top: 0;
  justify-self: auto;
  z-index: 4;
  gap: 4px;
  padding: 2px 8px;
  font-size: 9px;
  letter-spacing: 0.04em;
  border-color: rgba(255, 124, 124, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 96, 96, 0.98), rgba(214, 28, 28, 0.96));
  box-shadow:
    0 8px 18px rgba(126, 8, 8, 0.24),
    0 0 0 2px rgba(12, 20, 12, 0.82);
}

.public-profile-meta-chip.is-live .public-profile-avatar,
.public-profile-meta-chip.is-live .public-profile-avatar-wrap {
  border-color: transparent;
  box-shadow: none;
}

.public-profile-meta-chip .owner-live-badge i {
  font-size: 7px;
}

.public-profile-meta-chip::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  border: 2px solid transparent;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.public-profile-meta-chip.is-live::after {
  opacity: 1;
  border-color: rgba(255, 69, 69, 0.96);
  background: transparent;
  box-shadow:
    0 0 0 2px rgba(255, 40, 40, 0.18),
    0 8px 16px rgba(73, 8, 8, 0.18);
}

.public-profile-meta-chip.is-live .public-profile-avatar-wrap {
  padding: 2px;
  background: #0b140f;
  position: relative;
  z-index: 1;
}

.public-profile-meta-chip.is-live .public-profile-avatar,
.public-profile-meta-chip.is-live .public-profile-avatar-fallback {
  border: 0;
  background: rgba(15, 24, 16, 0.96);
  box-shadow: none;
}

.public-profile-meta-chip.is-live.public-profile-avatar-wrap {
  border-color: transparent !important;
  box-shadow: none !important;
  background: transparent !important;
}

.public-profile-meta-chip.is-live.public-profile-avatar-wrap .public-profile-live-ring {
}

.public-profile-meta-chip.is-live.public-profile-avatar-wrap .public-profile-avatar,
.public-profile-meta-chip.is-live.public-profile-avatar-wrap .public-profile-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  border: 3px solid #08110c !important;
  background: rgba(15, 24, 16, 0.96);
  box-shadow: none !important;
}

.owner-name {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes owner-live-pulse {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.card:hover {
  border-color: rgba(186, 255, 112, 0.26);
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(4, 12, 6, 0.34);
}

.card-header {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-3);
}

.card-header > div:first-child {
  min-width: 0;
  width: 100%;
}

.card-headline {
  margin-bottom: var(--sp-2);
  align-items: flex-start;
}

.title {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 19px;
  line-height: 1.25;
  color: rgba(244, 255, 248, 0.94);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.city {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.city i {
  font-size: 11px;
  margin-right: 5px;
  opacity: 0.9;
}

.meta {
  margin-top: var(--sp-2);
  font-size: 14px;
  color: rgba(216, 235, 222, 0.82);
  text-align: left;
}

.card-summary {
  margin: 4px 0 2px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(214, 232, 219, 0.84);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed:not(.is-list) .card-summary {
  display: none;
}

.feed:not(.is-list) .card.card-ad .card-summary {
  display: block;
  height: 100%;
  min-height: 100%;
  margin: 0;
  position: absolute;
  inset: 0;
  border-radius: 0;
}

.feed:not(.is-list) .card.card-ad {
  min-height: calc(clamp(210px, 44vh, 320px) + 110px);
  align-self: stretch;
  height: auto;
  position: relative;
  overflow: hidden;
}

.feed:not(.is-list) .card.card-ad .card-header,
.feed:not(.is-list) .card.card-ad .card-ad-helper,
.feed:not(.is-list) .card.card-ad .card-ad-bottom-note {
  display: none !important;
}

.feed:not(.is-list) .card.card-ad .card-ad-click-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.feed:not(.is-list) .card.card-ad .card-ad-hero-image {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
  aspect-ratio: auto !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.desc {
  margin: var(--sp-3) 0;
  font-size: 15px;
  color: var(--text);
  line-height: 1.45;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.chips span {
  font-size: 12px;
  color: #dff7e6;
  border-radius: 999px;
  border: 1px solid rgba(190, 255, 196, 0.28);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card .chips {
  flex-wrap: nowrap;
  overflow: hidden;
}

.card .chips span {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 0 1 auto;
}

.card .chips .chip-like {
  margin-left: auto;
  flex: 0 0 auto;
}

.card .chips .chip-like.is-liked {
  background: rgb(255, 0, 0);
  border-color: rgb(255, 0, 0);
  color: #ffffff;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}

.actions button {
  padding: 8px 12px;
  font-size: 13px;
  background: rgba(110, 234, 142, 0.11);
  border-color: rgba(110, 234, 142, 0.27);
}

.actions button:hover {
  background: rgba(110, 234, 142, 0.2);
}

.card-clickable {
  position: relative;
  cursor: pointer;
}

.card-footer {
  margin-top: var(--sp-3);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--sp-2);
}

.card-hint {
  font-size: 13px;
  color: var(--text-soft);
}

.feed.is-list .card.card-ad {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  grid-template-areas:
    "image meta"
    "image header"
    "image summary"
    "image chips";
  align-items: stretch;
  column-gap: 14px;
  row-gap: 8px;
  min-height: 0;
  padding: 0 !important;
  width: 100%;
  max-width: 700px;
  margin-inline: auto;
  justify-self: center;
  height: 100%;
  align-items: start;
}

.feed.is-list .card.card-ad .card-summary {
  grid-area: image;
  position: relative;
  inset: auto;
  min-height: 190px;
  height: auto;
  align-self: stretch;
  border-right: 1px solid var(--line);
  border-radius: 0 !important;
}

.feed.is-list .card.card-ad .card-ad-click-cover {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  border-radius: 0 !important;
}

.feed.is-list .card.card-ad .card-ad-hero-image {
  position: static;
  inset: auto;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
  transform-origin: center;
  border-radius: 0 !important;
}

.feed.is-list .card.card-ad .card-header {
  grid-area: header;
  padding: 0 12px 0 0;
  align-self: start;
  min-width: 0;
}

.feed.is-list .card.card-ad .chips {
  grid-area: chips;
  margin: 0;
  padding: 0 12px 12px 0;
  align-self: end;
  min-height: 44px;
  align-content: end;
}

.feed.is-list .card.card-ad .card-header .title,
.feed.is-list .card.card-ad .card-header .meta,
.feed.is-list .card.card-ad .card-header .card-ad-inline-note {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.card.card-ad .chips:empty {
  display: none;
}

.feed.is-list .card.card-ad .card-ad-bottom-note {
  display: none;
}

.feed.is-list .card.card-ad .card-ad-disclosure {
  display: none;
}

.card-options-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  background: rgba(15, 24, 15, 0.8);
  backdrop-filter: blur(6px);
}

.card-side {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.card-menu {
  position: absolute;
  right: 14px;
  top: 52px;
  width: 210px;
  z-index: 30;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(11, 18, 11, 0.97);
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
}

.card-menu button {
  width: 100%;
  text-align: left;
  background: rgba(110, 234, 142, 0.12);
  border-color: rgba(110, 234, 142, 0.22);
  padding: 8px 10px;
  font-size: 13px;
}

.card-menu button:hover {
  background: rgba(110, 234, 142, 0.18);
}

.card .desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.detail-panel .desc {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
  white-space: pre-line;
}

@media (min-width: 760px) {
  .detail-panel .desc {
    max-height: min(38vh, 280px);
    overflow-y: auto;
    padding-right: 4px;
  }
}

.hidden {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--sp-4);
  background:
    radial-gradient(circle at 14% 6%, rgba(164, 255, 132, 0.1), transparent 34%),
    rgba(2, 6, 3, 0.66);
  backdrop-filter: blur(8px);
  overflow-y: auto;
  opacity: 1;
  transition: opacity 0.22s ease, backdrop-filter 0.22s ease, background 0.22s ease;
}

#publicProfileModal {
  z-index: 58;
}

#authModal {
  z-index: 60;
}

#detailModal {
  z-index: 52;
}

#reportModal {
  z-index: 56;
}

#publicProfileFollowListModal {
  z-index: 59;
}

.modal .panel {
  transform-origin: center center;
  transform: translateY(0) scale(1);
  opacity: 1;
  will-change: transform, opacity, filter;
}

.modal.modal-enter {
  animation: modalOverlayIn 0.36s ease both;
}

.modal.modal-enter .panel {
  animation: spyPanelIn 0.36s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.modal.modal-leave {
  animation: modalOverlayOut 0.36s ease both;
}

.modal.modal-leave .panel {
  animation: spyPanelOut 0.36s cubic-bezier(0.4, 0, 0.8, 0.2) both;
}

@keyframes modalOverlayIn {
  0% {
    opacity: 0;
    backdrop-filter: blur(2px);
  }
  100% {
    opacity: 1;
    backdrop-filter: blur(8px);
  }
}

@keyframes modalOverlayOut {
  0% {
    opacity: 1;
    backdrop-filter: blur(8px);
  }
  100% {
    opacity: 0;
    backdrop-filter: blur(2px);
  }
}

@keyframes spyPanelIn {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
    filter: saturate(0.9);
  }
  55% {
    opacity: 1;
    transform: translateY(-1px) scale(1.005);
    filter: saturate(1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: saturate(1);
  }
}

@keyframes spyPanelOut {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: saturate(1);
  }
  100% {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    filter: saturate(0.92);
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal,
  .modal .panel {
    transition: none !important;
  }
}

.public-profile-follow-list-panel {
  position: relative;
  width: min(560px, calc(100vw - 24px));
  height: min(78vh, 760px);
  padding: 22px 18px 18px;
  border-radius: 24px;
  border: 1px solid rgba(132, 242, 163, 0.22);
  background:
    linear-gradient(180deg, rgba(14, 20, 17, 0.98), rgba(11, 18, 14, 0.98)),
    radial-gradient(circle at top left, rgba(132, 242, 163, 0.08), transparent 34%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
}

.public-profile-follow-list-head {
  display: grid;
  gap: 4px;
  padding-right: 42px;
}

.public-profile-follow-list-eyebrow {
  margin: 0;
  font-size: 12px;
  color: #8fb99a;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.public-profile-follow-list-head h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.04;
  color: #f2fff5;
}

.public-profile-follow-list-meta {
  margin: 0;
  font-size: 14px;
  color: #b7d2bd;
}

.public-profile-follow-list-body {
  display: grid;
  grid-auto-rows: max-content;
  align-content: start;
  gap: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-right: 2px;
  border-top: 1px solid rgba(132, 242, 163, 0.12);
}

.public-profile-follow-list-empty {
  min-height: 180px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 6px;
  border-radius: 18px;
  border: 1px solid rgba(132, 242, 163, 0.14);
  background: rgba(255, 255, 255, 0.02);
  padding: 18px;
}

.public-profile-follow-list-empty h4,
.public-profile-follow-list-empty p {
  margin: 0;
}

.public-profile-follow-list-empty h4 {
  color: #effdf2;
  font-size: 18px;
}

.public-profile-follow-list-empty p {
  color: #a8c8b0;
  font-size: 14px;
}

.public-profile-follow-list-item {
  border: 0;
  border-bottom: 1px solid rgba(132, 242, 163, 0.12);
  background: transparent;
  color: inherit;
  width: 100%;
  border-radius: 0;
  padding: 8px 4px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
  min-height: 58px;
  max-height: 70px;
  outline: none;
}

.public-profile-follow-list-item:hover,
.public-profile-follow-list-item:focus-visible {
  background: rgba(132, 242, 163, 0.05);
  border-bottom-color: rgba(132, 242, 163, 0.22);
  box-shadow: none;
}

.public-profile-follow-list-media {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.public-profile-follow-list-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(132, 242, 163, 0.2);
}

.public-profile-follow-list-avatar-fallback {
  background: rgba(132, 242, 163, 0.08);
  color: #d6f0dc;
  font-size: 20px;
}

.public-profile-follow-list-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
  text-align: left;
  padding-top: 0;
  align-content: center;
}

.public-profile-follow-list-copy strong {
  color: #f2fff5;
  font-size: 14px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-profile-follow-list-relation {
  color: #cfe8d4;
  font-size: 11px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-profile-follow-list-copy small {
  color: #9cb6a2;
  font-size: 11px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-profile-follow-list-open {
  color: #85f0a4;
  font-size: 13px;
  opacity: 0.92;
  align-self: center;
  min-width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(132, 242, 163, 0.18);
  background: rgba(132, 242, 163, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.public-profile-follow-list-loadmore {
  padding: 10px 4px 2px;
  display: flex;
  justify-content: center;
}

.public-profile-follow-list-loadmore span {
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(132, 242, 163, 0.18);
  background: rgba(16, 24, 19, 0.82);
  color: #bcd8c4;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

@media (max-width: 760px) {
  .public-profile-follow-list-panel {
    width: min(100%, calc(100vw - 12px));
    height: min(84vh, 760px);
    padding: 18px 12px 12px;
    border-radius: 18px;
  }

  .public-profile-follow-list-body {
    padding-right: 0;
  }

  .public-profile-follow-list-item {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 7px 2px;
    min-height: 54px;
  }

  .public-profile-follow-list-media,
  .public-profile-follow-list-avatar {
    width: 44px;
    height: 44px;
  }

  .public-profile-follow-list-copy strong {
    font-size: 13px;
  }

  .public-profile-follow-list-relation {
    font-size: 10px;
  }

  .public-profile-follow-list-copy small {
    font-size: 10px;
  }
}

body.loading-locked {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
  height: 100vh;
}

.global-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 9, 5, 0.72);
  backdrop-filter: blur(3px);
}

.global-loading-box {
  min-width: 220px;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid rgba(110, 234, 142, 0.38);
  background: linear-gradient(180deg, rgba(18, 29, 18, 0.96), rgba(11, 18, 11, 0.96));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.global-loading-spinner {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 3px solid rgba(110, 234, 142, 0.25);
  border-top-color: #84f2a3;
  animation: spin 0.9s linear infinite;
}

.global-loading-box p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
}

#legalModal.modal {
  z-index: 55;
}

.panel {
  width: min(620px, 100%);
  display: grid;
  gap: var(--sp-2);
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(226, 255, 235, 0.2);
  background:
    radial-gradient(circle at 10% 0%, rgba(183, 255, 148, 0.09), transparent 42%),
    linear-gradient(180deg, rgba(16, 28, 17, 0.9), rgba(9, 18, 11, 0.88));
  box-shadow: 0 22px 44px rgba(2, 8, 4, 0.42);
  position: relative;
}

.panel h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 22px;
}

.panel label {
  font-size: 13px;
  color: var(--text-muted);
}

.panel-sub {
  margin: 0 0 var(--sp-2);
  font-size: 13px;
  color: rgba(210, 230, 217, 0.78);
}

.panel.wide {
  width: min(1200px, 100%);
  max-height: calc(100vh - 24px);
  overflow-y: auto;
}

.admin-panel {
  gap: 14px;
  padding-top: 18px;
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-2);
  align-items: flex-start;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 12px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border: 1px solid rgba(226, 255, 235, 0.22);
  background: rgba(12, 22, 13, 0.6);
  color: rgba(235, 250, 240, 0.9);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.modal-close i {
  margin-right: 0;
}

.modal-close:hover {
  background: rgba(20, 35, 22, 0.78);
  border-color: rgba(186, 255, 112, 0.3);
  transform: scale(1.03);
}

.modal .panel button.ghost {
  border: 1px solid rgba(226, 255, 235, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(230, 244, 235, 0.88);
}

.modal .panel button.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(226, 255, 235, 0.26);
  transform: translateY(-1px);
}

.modal .panel button.primary {
  border-color: rgba(186, 255, 112, 0.32);
  background: linear-gradient(180deg, rgba(186, 255, 112, 0.24), rgba(153, 230, 80, 0.18));
  color: #ecffd3;
}

.modal .panel button.primary:hover {
  border-color: rgba(186, 255, 112, 0.44);
  background: linear-gradient(180deg, rgba(186, 255, 112, 0.32), rgba(153, 230, 80, 0.24));
}

.modal .panel input,
.modal .panel textarea,
.modal .panel select {
  border-color: rgba(226, 255, 235, 0.18);
  background: rgba(8, 16, 10, 0.62);
  color: rgba(234, 247, 239, 0.95);
}

.modal .panel input:focus,
.modal .panel textarea:focus,
.modal .panel select:focus {
  border-color: rgba(186, 255, 112, 0.34);
  box-shadow: 0 0 0 4px rgba(186, 255, 112, 0.12);
}

.legal-panel {
  width: min(900px, 100%);
  max-height: calc(100vh - 24px);
  padding-top: 18px;
}

.legal-head {
  display: grid;
  gap: 10px;
}

.legal-tabs {
  display: flex;
  gap: 8px;
}

.legal-tabs .ghost.is-active {
  border-color: transparent;
  background: linear-gradient(180deg, #84f2a3, #69dc8a);
  color: #0f1f12;
}

.legal-scroll {
  overflow: auto;
  max-height: calc(100vh - 180px);
  padding-right: 6px;
}

.legal-doc {
  display: grid;
  gap: 10px;
}

.legal-doc h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 25px;
}

.legal-doc h2 {
  margin: 14px 0 0;
  font-family: "Sora", sans-serif;
  font-size: 17px;
}

.legal-doc p {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}

.legal-doc ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  display: grid;
  gap: 6px;
}

.legal-doc a {
  color: var(--primary);
}

.admin-sticky {
  position: sticky;
  top: -1px;
  z-index: 3;
  display: grid;
  gap: var(--sp-2);
  padding-bottom: 8px;
  background: linear-gradient(180deg, rgba(20, 32, 20, 0.98), rgba(20, 32, 20, 0.9) 70%, rgba(20, 32, 20, 0));
}

.detail-panel {
  width: min(760px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  border: 1px solid rgba(224, 255, 233, 0.18);
  border-radius: 20px;
  background:
    radial-gradient(circle at 14% 0%, rgba(191, 255, 153, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(16, 27, 18, 0.82), rgba(9, 18, 11, 0.8));
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(3, 9, 5, 0.4);
}

.modal {
  overscroll-behavior: contain;
}

.modal,
.panel,
.panel.wide,
.detail-panel,
.legal-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(110, 234, 142, 0.68) rgba(10, 18, 10, 0.85);
}

.modal::-webkit-scrollbar,
.panel::-webkit-scrollbar,
.panel.wide::-webkit-scrollbar,
.detail-panel::-webkit-scrollbar,
.legal-scroll::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.modal::-webkit-scrollbar-track,
.panel::-webkit-scrollbar-track,
.panel.wide::-webkit-scrollbar-track,
.detail-panel::-webkit-scrollbar-track,
.legal-scroll::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(8, 13, 8, 0.92), rgba(12, 20, 12, 0.92));
  border-radius: 999px;
}

.modal::-webkit-scrollbar-thumb,
.panel::-webkit-scrollbar-thumb,
.panel.wide::-webkit-scrollbar-thumb,
.detail-panel::-webkit-scrollbar-thumb,
.legal-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(132, 242, 163, 0.9), rgba(90, 201, 122, 0.9));
  border: 2px solid rgba(10, 18, 10, 0.9);
  border-radius: 999px;
}

.modal::-webkit-scrollbar-thumb:hover,
.panel::-webkit-scrollbar-thumb:hover,
.panel.wide::-webkit-scrollbar-thumb:hover,
.detail-panel::-webkit-scrollbar-thumb:hover,
.legal-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(150, 250, 178, 0.95), rgba(104, 218, 136, 0.95));
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}

.detail-content {
  display: grid;
  gap: var(--sp-2);
}

.detail-image {
  width: 100%;
  max-height: 60vh;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(226, 255, 236, 0.18);
  background: rgba(8, 12, 8, 0.85);
}

.detail-head {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-2);
  align-items: flex-start;
  margin-top: 20px;
}

.detail-head > div:first-child {
  min-width: 0;
}

#detailTitle {
  margin: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.2;
  color: rgba(244, 255, 248, 0.95);
}

.detail-owner-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
}

.detail-price-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(186, 255, 112, 0.24);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(186, 255, 112, 0.12);
}

.detail-price-bar strong {
  font-size: 14px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.detail-metrics-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.detail-price-list {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.detail-price-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(226, 255, 236, 0.16);
  border-radius: 12px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
}

.detail-price-item-label {
  font-size: 13px;
  color: var(--text);
}

.detail-price-item-amount {
  font-size: 13px;
  font-weight: 700;
  color: #b9ffc8;
}

.detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  overflow-x: hidden;
  scrollbar-width: thin;
  padding-bottom: 2px;
}

@media (max-width: 760px) {
  .detail-metrics-row {
    align-items: stretch;
  }

  .detail-price-bar {
    width: 100%;
    justify-content: center;
  }
}

.detail-stats span {
  font-size: 12px;
  border-radius: 999px;
  border: 1px solid rgba(225, 255, 234, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(222, 238, 227, 0.86);
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.detail-like-btn {
  font-size: 12px;
  border-radius: 999px;
  border: 1px solid rgba(225, 255, 234, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(228, 243, 233, 0.9);
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.detail-like-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(225, 255, 234, 0.3);
  transform: translateX(3px);
}

.detail-like-btn.is-liked {
  border-color: rgba(244, 111, 111, 0.5);
  background: rgba(244, 111, 111, 0.2);
  color: #ffd4d4;
}

.detail-action-icon-btn {
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.detail-action-icon-btn i {
  margin-right: 0;
}

.detail-owner-avatar {
  width: 55px;
  height: 55px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: rgba(10, 16, 10, 0.9);
}

.detail-owner-info {
  display: grid;
  gap: 2px;
}

.detail-owner-kicker {
  font-size: 12px;
  color: var(--text-muted);
}

.detail-owner-info strong {
  font-size: 14px;
}

.detail-post-id {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
  border: 1px solid rgba(130, 108, 246, 0.42);
  background: rgba(130, 108, 246, 0.18);
  border-radius: 999px;
  padding: 4px 8px;
}

.detail-tab-shell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.detail-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  padding: 4px;
  border: 1px solid rgba(225, 255, 234, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  overflow-x: auto;
}

.detail-tabs button {
  flex: 1 1 0;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
  padding: 0 12px;
  border: 1px solid rgba(225, 255, 234, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(206, 225, 212, 0.76);
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, color 0.22s ease;
}

.detail-tabs button i {
  font-size: 12px;
  line-height: 1;
}

.detail-tabs button:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.detail-tabs button.is-active {
  border-color: rgba(186, 255, 112, 0.24);
  background: rgba(186, 255, 112, 0.14);
  color: #e9ffd0;
  font-weight: 700;
}

.detail-tab-content {
  border: 1px solid rgba(225, 255, 234, 0.16);
  border-radius: 14px;
  background: rgba(8, 17, 10, 0.74);
  backdrop-filter: blur(8px);
  padding: 10px;
}

@media (max-width: 560px) {
  .detail-tabs {
    gap: 6px;
    padding: 3px;
  }

  .detail-tabs button {
    min-height: 34px;
    padding: 0 8px;
    font-size: 11px;
  }
}

.detail-tab-panel {
  display: grid;
  gap: var(--sp-2);
}

.detail-tab-panel.detail-tab-leave-up {
  animation: detailTabLeaveUp 0.22s ease both;
  pointer-events: none;
}

.detail-tab-panel.detail-tab-enter-down {
  animation: detailTabEnterDown 0.22s ease both;
}

@keyframes detailTabLeaveUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-16px);
  }
}

@keyframes detailTabEnterDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.detail-actions-panel {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.detail-actions-highlight {
  margin-bottom: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-actions-panel .detail-action-btn {
  width: 100%;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 13px;
  border: 1px solid rgba(225, 255, 234, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(223, 240, 228, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 13px;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, color 0.22s ease;
}

.detail-actions-panel .detail-action-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(225, 255, 234, 0.28);
  transform: translateX(4px);
}

.detail-actions-panel .detail-action-btn i {
  margin-right: 0;
  color: rgba(234, 251, 239, 0.95);
}

#detailModal .detail-panel .modal-close {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(225, 255, 234, 0.22);
  background: rgba(10, 20, 12, 0.52);
  backdrop-filter: blur(8px);
  color: rgba(232, 248, 237, 0.9);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

#detailModal .detail-panel .modal-close:hover {
  background: rgba(20, 33, 22, 0.74);
  border-color: rgba(186, 255, 112, 0.24);
  transform: scale(1.03);
}

@media (max-width: 560px) {
  .detail-actions-panel {
    grid-template-columns: 1fr;
  }

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

/* Post modal mobile layout override (must stay near end to win cascade) */
@media (max-width: 760px) {
  #postModal #postTabInfo {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto auto !important;
    gap: 10px !important;
  }

  #postModal #postTabInfo #postTitle {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  #postModal #postTabInfo #postDescription {
    grid-column: 1 !important;
    grid-row: 2 !important;
    min-height: 150px !important;
  }

  #postModal #postTabInfo #postTags {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }

  #postModal #postTabInfo #postImageDropZone {
    grid-column: 1 !important;
    grid-row: 4 !important;
    min-height: 220px !important;
  }

  #postModal #postTabInfo #postImagePreview.profile-preview {
    width: 70% !important;
    max-width: 210px !important;
    height: auto !important;
    max-height: 240px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 900px) {
  #postTabInfo {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto auto !important;
    gap: 10px !important;
  }

  #postTabInfo #postTitle {
    grid-column: 1;
    grid-row: 1;
  }

  #postTabInfo #postDescription {
    grid-column: 1;
    grid-row: 2;
    min-height: 150px;
  }

  #postTabInfo #postTags {
    grid-column: 1;
    grid-row: 3;
  }

  #postTabInfo #postImageDropZone {
    grid-column: 1;
    grid-row: 4;
    min-height: 220px;
  }

  #postTabInfo #postImagePreview.profile-preview {
    width: 72%;
    max-width: 220px;
    height: auto;
    max-height: 240px;
    margin: 0 auto;
  }
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}

.detail-grid > div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(17, 26, 17, 0.72);
  display: grid;
  gap: 3px;
}

.detail-grid span {
  font-size: 12px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.detail-grid strong {
  font-size: 14px;
  color: var(--text);
}

.detail-pair-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  row-gap: 6px;
  align-items: center;
}

.detail-pair-label {
  font-size: 12px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.detail-label-icon {
  color: var(--primary);
  width: 14px;
  text-align: center;
}

.detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.detail-links a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.detail-links a i {
  margin-right: 6px;
}

.detail-tags {
  margin-top: 4px;
}

.detail-discovery-sections {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(166, 232, 186, 0.14);
}

.detail-discovery-block {
  display: grid;
  gap: 12px;
}

.detail-discovery-head {
  display: grid;
  gap: 4px;
}

.detail-discovery-head h4 {
  margin: 0;
  font-size: 18px;
  color: #ecfff1;
}

.detail-discovery-head p {
  margin: 0;
  font-size: 13px;
  color: #9dbca6;
}

.detail-discovery-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.detail-discovery-card {
  width: 100%;
  border: 1px solid rgba(108, 189, 135, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(11, 18, 13, 0.9), rgba(9, 14, 10, 0.95));
  padding: 10px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  text-align: left;
  color: inherit;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.detail-discovery-card:hover,
.detail-discovery-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(140, 230, 168, 0.38);
  background: linear-gradient(180deg, rgba(13, 22, 15, 0.96), rgba(10, 16, 12, 0.98));
}

.detail-discovery-card-image,
.detail-discovery-card-image-fallback {
  width: 100%;
  height: 92px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  background: rgba(15, 22, 16, 0.9);
  border: 1px solid rgba(112, 198, 140, 0.16);
}

.detail-discovery-card-image-fallback {
  display: grid;
  place-items: center;
  color: #b7d9c0;
  font-size: 20px;
}

.detail-discovery-card-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 5px;
}

.detail-discovery-card-copy strong,
.detail-discovery-card-copy small,
.detail-discovery-card-copy span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-discovery-card-copy strong {
  font-size: 15px;
  line-height: 1.25;
  color: #effff4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
}

.detail-discovery-card-copy small {
  font-size: 12px;
  color: #a6c8b0;
  white-space: nowrap;
}

.detail-discovery-card-copy span {
  font-size: 12px;
  color: #d6f3df;
  white-space: nowrap;
}

.auth-panel {
  width: min(520px, 100%);
}

.auth-head {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-3);
  align-items: start;
}

.auth-badge {
  font-size: 12px;
  border-radius: 999px;
  border: 1px solid rgba(130, 108, 246, 0.44);
  background: rgba(130, 108, 246, 0.18);
  color: #e4ddff;
  padding: 5px 10px;
}

.auth-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-step {
  width: 34px;
  height: 34px;
  min-width: 34px;
  font-size: 12px;
  color: var(--text-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0;
  background: rgba(16, 24, 16, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-step i {
  margin-right: 0;
  font-size: 14px;
}

.auth-step.is-active {
  color: #0f1f12;
  border-color: transparent;
  background: linear-gradient(180deg, #84f2a3, #69dc8a);
  font-weight: 700;
}

.auth-section {
  display: grid;
  gap: var(--sp-2);
}

.auth-section label {
  font-size: 13px;
  color: var(--text-muted);
}

.username-input-hint {
  margin: -4px 0 0;
  font-size: 12px;
  color: #ff9f9f;
  line-height: 1.35;
}

#usernameInput.is-invalid {
  border-color: rgba(255, 159, 159, 0.85);
  box-shadow: 0 0 0 2px rgba(255, 159, 159, 0.22);
  background: rgba(58, 18, 18, 0.34);
}

.auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  border: 1px solid rgba(110, 234, 142, 0.22);
  background: rgba(9, 17, 10, 0.72);
  border-radius: 12px;
  padding: 10px 12px;
}

.auth-consent input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: #69dc8a;
}

.auth-consent.is-invalid {
  border-color: rgba(255, 159, 159, 0.7);
  background: rgba(58, 18, 18, 0.38);
}

.ad-shell.is-consent-pending {
  display: none;
}

.ads-consent-bar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(920px, calc(100vw - 24px));
  border: 1px solid rgba(110, 234, 142, 0.34);
  background: rgba(10, 20, 10, 0.84);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 10px;
  z-index: 1200;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(6px);
}

.ads-consent-bar p {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.45;
}

.ads-consent-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

@media (max-width: 640px) {
  .ads-consent-actions {
    justify-content: stretch;
  }

  .ads-consent-actions button {
    flex: 1;
  }
}

.ad-box-test {
  display: grid;
  place-items: center;
  min-height: 96px;
  border: 1px dashed rgba(110, 234, 142, 0.5);
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 13px;
  text-align: center;
  padding: 10px;
}

.card.card-ad .card-summary {
  margin-top: 0;
  display: block;
  overflow: hidden;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  flex: 1;
  min-height: 0;
  border-radius: inherit;
  position: relative;
  inset: auto;
}

.card.card-ad .ad-box {
  min-height: 96px;
}

.card-ad-disclosure {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 0;
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 4;
  pointer-events: none;
}

.card-ad-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(110, 234, 142, 0.48);
  background: rgba(110, 234, 142, 0.12);
  color: #d9ffe4;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.card-ad-note {
  font-size: 12px;
  color: var(--text-soft);
}

.card-ad-helper {
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.card-ad-inline-note {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
  color: #b8eac7;
  opacity: 0.92;
}

.card-ad-click-cover {
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.card-ad-click-cover .card-image {
  width: 100%;
  border-radius: 0;
  border: 0;
  object-fit: cover;
}

.card-ad-hero-image {
  aspect-ratio: 1 / 1;
  margin-bottom: 12px;
}

.card.card-ad .card-ad-hero-image {
  display: block;
  width: 100%;
  min-height: 0;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  margin-bottom: 0;
}

.card.card-ad {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0 !important;
  overflow: hidden;
}

.card.card-ad .card-ad-click-cover {
  display: block;
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
}

.card.card-ad .chips {
  margin-top: 10px;
}

.card.card-ad .card-ad-hero-image {
  aspect-ratio: 4 / 5 !important;
  position: static;
  inset: auto;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: center;
}

.card-ad-bottom-note {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(110, 234, 142, 0.34);
  background: rgba(9, 16, 10, 0.72);
  backdrop-filter: blur(4px);
  color: #dff7e6;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  pointer-events: none;
}

.ad-inquiry-panel {
  width: min(660px, 100%);
}

.ad-inquiry-form {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(110, 234, 142, 0.28);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(11, 18, 12, 0.94), rgba(8, 14, 9, 0.9));
}

.ad-inquiry-grid-two {
  grid-template-columns: 1fr 1fr;
}

.ad-inquiry-form textarea {
  min-height: 118px;
}

.ad-inquiry-form .primary {
  width: 100%;
}

.auth-photo-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.auth-file-name {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-preview-box {
  width: 136px;
  height: 136px;
  margin: 0 auto;
  border: 1px dashed rgba(110, 234, 142, 0.46);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(15, 24, 15, 0.9), rgba(10, 18, 10, 0.82));
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.profile-preview-box:hover {
  transform: translateY(-1px);
  border-color: rgba(110, 234, 142, 0.68);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.profile-preview-placeholder {
  display: grid;
  gap: 8px;
  justify-items: center;
  color: var(--text-soft);
  font-size: 13px;
}

.profile-preview-placeholder i {
  font-size: 20px;
}

.profile-preview-box.has-image .profile-preview-placeholder {
  display: none;
}

.profile-preview {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  border: 0;
  background: rgba(16, 24, 16, 0.86);
}

.auth-inline-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}

.auth-status {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.auth-status.ok {
  color: var(--primary);
}

.auth-status.error {
  color: #ff9f9f;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
}

.post-tab-shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
}

.post-tabs {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: -1px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.post-tabs::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.post-tab {
  width: 44px;
  min-width: 44px;
  height: 38px;
  padding: 0;
  border-radius: 10px 10px 0 0;
  border: 1px solid rgba(110, 234, 142, 0.26);
  border-bottom-color: rgba(110, 234, 142, 0.16);
  background: rgba(16, 25, 16, 0.64);
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.post-tab i {
  margin-right: 0;
  font-size: 14px;
}

.post-icon-btn {
  width: 42px;
  min-width: 42px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.post-icon-btn i {
  margin: 0;
  font-size: 16px;
}

.post-tab.is-active {
  border-color: rgba(110, 234, 142, 0.34);
  border-bottom-color: rgba(12, 20, 12, 0.92);
  background: linear-gradient(180deg, rgba(22, 38, 22, 0.96), rgba(12, 20, 12, 0.92));
  color: #dff6e6;
}

.post-section {
  display: grid;
  gap: var(--sp-2);
}

.post-owner-search-results {
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid rgba(110, 234, 142, 0.2);
  border-radius: 12px;
  padding: 8px;
  background: rgba(8, 14, 9, 0.7);
}

.post-owner-search-item {
  width: 100%;
  height: 70px;
  text-align: left;
  border: 1px solid rgba(110, 234, 142, 0.18);
  border-radius: 10px;
  background: rgba(18, 29, 19, 0.72);
  color: var(--text);
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.post-owner-search-item-has-action {
  grid-template-columns: 38px minmax(0, 1fr) auto;
}

.post-owner-search-item-action {
  width: 34px;
  min-width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
}

.post-owner-search-item:hover {
  border-color: rgba(110, 234, 142, 0.4);
  background: rgba(20, 34, 22, 0.95);
}

.post-owner-search-item[data-post-artist-profile] {
  cursor: pointer;
}

.post-invite-item {
  align-items: stretch;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.post-invite-link-field {
  margin-top: 6px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(110, 234, 142, 0.22);
  background: rgba(8, 15, 9, 0.8);
  color: #dfffe8;
  font-size: 12px;
  padding: 0 10px;
  width: 100%;
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  white-space: nowrap;
  overflow-x: auto;
}

.post-invite-copy-btn {
  min-width: 118px;
  height: 34px;
  border-radius: 10px;
  font-size: 12px;
  white-space: nowrap;
}

.post-invite-actions-stack {
  display: grid;
  gap: 6px;
  align-content: start;
}

@media (max-width: 760px) {
  .post-invite-item {
    grid-template-columns: 1fr;
  }
  .post-invite-copy-btn {
    width: 100%;
  }
}

.post-owner-search-main {
  font-size: 13px;
  line-height: 1.4;
  color: #def8df;
}

.post-owner-search-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ec3a0;
  margin: 10px 0 8px;
}

.post-owner-search-tag {
  display: inline-flex;
  align-items: center;
  height: 18px;
  margin-left: 6px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 10px;
  border: 1px solid rgba(110, 234, 142, 0.35);
  color: #dfffe8;
  background: rgba(22, 38, 23, 0.82);
}

.post-owner-search-tag.is-pending {
  border-color: rgba(242, 205, 132, 0.5);
  color: #ffe7b6;
  background: rgba(44, 34, 16, 0.82);
}

.post-owner-search-sub {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.3;
  color: #9ec3a0;
}

.post-owner-search-copy {
  min-width: 0;
}

.post-owner-search-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(110, 234, 142, 0.3);
  background: rgba(9, 16, 10, 0.9);
}

.post-owner-search-avatar-placeholder {
  display: grid;
  place-items: center;
  color: #9ec3a0;
}

.post-owner-picker-btn {
  width: 100%;
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
}

.post-owner-selected-label {
  border: 1px solid rgba(110, 234, 142, 0.2);
  border-radius: 12px;
  background: rgba(10, 18, 11, 0.72);
  color: #d6f0dc;
  font-size: 13px;
  line-height: 1.4;
  padding: 10px 12px;
  word-break: break-word;
}


.change-owner-panel {
  width: min(760px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  padding: 22px 22px 18px;
}

.change-owner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px 12px;
  margin-top: 8px;
}

.change-owner-col {
  display: grid;
  gap: 6px;
}

.change-owner-label {
  font-size: 12px;
  color: var(--text-muted);
}

.change-owner-results {
  grid-column: 1 / -1;
  max-height: 260px;
}

.change-owner-help {
  grid-column: 1 / -1;
  margin-top: 0;
}

.change-owner-actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  justify-content: end;
  gap: 8px;
}

.post-artists-panel {
  width: min(880px, calc(100vw - 28px));
  height: min(760px, calc(100vh - 28px));
  max-height: calc(100vh - 28px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.post-artists-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  margin-top: 10px;
}

.post-artists-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 12px;
}

.post-artists-search-col {
  min-width: 0;
  position: relative;
}

.post-artists-search-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 6;
  max-height: 230px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

@media (max-width: 760px) {
  .post-artists-controls {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 8px;
  }

  .post-artists-controls > button {
    width: 100%;
  }

  .post-artists-search-col {
    position: static;
  }

  .post-artists-search-dropdown {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    z-index: auto;
    margin-top: 6px;
    max-height: 220px;
    box-shadow: none;
  }
}

.post-artists-grid .post-owner-search-results {
  max-height: min(56vh, 420px);
}

.post-artists-assigned-list {
  display: grid;
  gap: 8px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  border: 1px solid rgba(110, 234, 142, 0.2);
  border-radius: 12px;
  padding: 8px;
  background: rgba(8, 14, 9, 0.7);
}

.post-artists-assigned-list .post-owner-search-section-title:first-child {
  margin-top: 0;
}

.post-artists-accept-btn {
  min-width: 132px;
  min-height: 46px;
  font-weight: 700;
  border-color: rgba(196, 255, 90, 0.72);
  background: linear-gradient(180deg, rgba(199, 255, 92, 0.32), rgba(105, 188, 75, 0.24));
  box-shadow:
    0 0 0 1px rgba(196, 255, 90, 0.28) inset,
    0 8px 22px rgba(140, 214, 86, 0.28);
}

.post-artists-accept-btn:hover {
  border-color: rgba(216, 255, 133, 0.9);
  box-shadow:
    0 0 0 1px rgba(216, 255, 133, 0.34) inset,
    0 10px 26px rgba(160, 230, 105, 0.36);
}

.post-panel {
  width: min(920px, 100%);
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  gap: 14px;
  padding: 18px 18px 16px;
  border-color: rgba(105, 232, 146, 0.36);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(72, 143, 89, 0.22), transparent 52%),
    linear-gradient(160deg, rgba(12, 22, 14, 0.96) 0%, rgba(10, 20, 12, 0.95) 58%, rgba(7, 15, 10, 0.95) 100%);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(152, 255, 190, 0.08);
}

.post-panel .modal-close {
  top: 12px;
  right: 12px;
}

.post-panel .post-head {
  padding-right: 70px;
}

.post-panel .post-head h3 {
  margin: 0;
  font-size: clamp(30px, 2.5vw, 38px);
  line-height: 1.02;
  letter-spacing: -0.45px;
}

.post-panel .panel-sub {
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.2;
  color: #cae8cf;
}

.post-tab-shell {
  border: 1px solid rgba(103, 233, 145, 0.2);
  border-radius: 16px;
  padding: 10px 10px 8px;
  background: linear-gradient(180deg, rgba(13, 25, 15, 0.72), rgba(9, 19, 12, 0.62));
}

.post-tabs {
  gap: 4px;
  padding: 2px 2px 4px;
  margin-bottom: 2px;
}

.post-tab {
  width: 46px;
  min-width: 46px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(112, 236, 151, 0.24);
  background: rgba(20, 33, 22, 0.82);
}

.post-tab.is-active {
  border-color: rgba(124, 244, 161, 0.56);
  background: linear-gradient(180deg, rgba(36, 64, 40, 0.98), rgba(20, 39, 24, 0.98));
  box-shadow: 0 0 0 2px rgba(104, 227, 141, 0.15);
}

.post-step-pill {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15px;
  color: #d4f1db;
  border: 1px solid rgba(110, 234, 142, 0.36);
  background: rgba(49, 96, 59, 0.42);
  padding: 6px 11px;
}

.post-progress {
  display: grid;
  gap: 8px;
  margin: -2px 0 2px;
}

.post-progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(96, 164, 114, 0.24);
  border: 1px solid rgba(110, 234, 142, 0.24);
  overflow: hidden;
}

.post-progress-bar {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(132, 242, 163, 0.92), rgba(176, 242, 69, 0.92));
  box-shadow: 0 0 12px rgba(132, 242, 163, 0.35);
  transition: width 0.22s ease;
}

.post-step-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-step-dot {
  width: 9px;
  min-width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(116, 194, 138, 0.55);
  background: rgba(57, 95, 69, 0.56);
  padding: 0;
}

.post-step-dot.is-active {
  width: 22px;
  min-width: 22px;
  border-color: rgba(132, 242, 163, 0.72);
  background: linear-gradient(90deg, rgba(132, 242, 163, 0.94), rgba(176, 242, 69, 0.92));
}

.post-section {
  gap: 10px;
}

#postTabInfo {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(360px, 1fr);
  grid-template-rows: auto auto auto auto;
  gap: 12px 14px;
  align-items: start;
}

#postTabInfo > label {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: -2px;
}

#postTabInfo #postImageDropZone {
  grid-column: 1;
  grid-row: 1 / span 4;
  margin-top: 0;
  align-self: stretch;
  min-height: 300px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}

#postTabInfo #postTitle {
  grid-column: 2;
  grid-row: 1;
}

#postTabInfo #postDescription {
  grid-column: 2;
  grid-row: 2;
  min-height: 218px;
}

#postTabInfo #postTags {
  grid-column: 2;
  grid-row: 3;
}

#postTabInfo #postTitle,
#postTabInfo #postDescription,
#postTabInfo #postTags {
  width: 100%;
}

#postTabInfo #postImagePreview.profile-preview {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  margin: 0;
  border-radius: 12px;
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(111, 236, 150, 0.34);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.32);
  background: rgba(6, 14, 8, 0.82);
  flex: 1 1 auto;
}

#postTabInfo #postImageDropZone .upload-trigger {
  display: none;
}

#postTabInfo #postImageFileName {
  font-size: 14px;
  font-weight: 600;
  color: #c6e8ce;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#postTabInfo .upload-drop-hint {
  margin-top: -6px;
}

#postTabInfo #postTitle,
#postTabInfo #postTags {
  min-height: 46px;
}

#postTabInfo #postDescription {
  min-height: 230px;
}

.post-section > label {
  font-size: 13px;
  font-weight: 700;
  color: #d6f0dc;
}

.post-section .panel-sub {
  margin-top: -2px;
  font-size: 12px;
  line-height: 1.35;
  color: #9fc6a8;
}

.post-panel .form-grid {
  gap: 10px;
}

.instagram-import-panel {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(110, 234, 142, 0.24);
  border-radius: 12px;
  background: rgba(11, 20, 12, 0.82);
  padding: 10px;
}

.instagram-import-panel > label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #bde8ca;
}

.ig-import-row {
  grid-template-columns: minmax(0, 1fr) 46px;
  align-items: center;
}

.post-maps-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.post-maps-search-wrap {
  position: relative;
  z-index: 1200;
  isolation: isolate;
}

.post-location-map {
  --post-map-hue: 120deg;
  --post-map-saturation: 0.7;
  --post-map-brightness: 0.72;
  --post-map-contrast: 1.05;
  height: 220px;
  border-radius: 12px;
  border: 1px solid rgba(110, 234, 142, 0.24);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.post-location-map .leaflet-tile-pane {
  filter: hue-rotate(var(--post-map-hue)) saturate(var(--post-map-saturation)) brightness(var(--post-map-brightness)) contrast(var(--post-map-contrast));
}

.post-location-map .leaflet-control-attribution {
  background: rgba(6, 12, 8, 0.7);
  color: #cce9d4;
  border-radius: 8px 0 0 0;
}

.post-maps-search-results {
  display: grid;
  gap: 6px;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 1300;
  border: 1px solid rgba(110, 234, 142, 0.24);
  border-radius: 12px;
  background: rgba(10, 18, 10, 0.9);
  padding: 8px;
  max-height: 190px;
  overflow-y: auto;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.42);
}

.post-maps-search-item {
  width: 100%;
  text-align: left;
  min-height: 58px;
  border-radius: 10px;
  border: 1px solid rgba(110, 234, 142, 0.2);
  background: rgba(14, 24, 14, 0.86);
  color: var(--text);
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  overflow: visible;
  line-height: 1.25;
}

.post-maps-search-item strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-maps-search-item span {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  margin: 0;
  padding: 0;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-price-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #d5eddc;
}

.post-price-table {
  display: grid;
  gap: 8px;
}

.post-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px 52px;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(110, 234, 142, 0.2);
  border-radius: 12px;
  background: rgba(11, 20, 12, 0.72);
}

.post-price-row-head {
  grid-template-columns: 28px minmax(0, 1fr) 130px 52px;
  background: rgba(18, 31, 20, 0.82);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #b9e2c4;
}

.post-price-add-btn {
  width: 24px;
  min-width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 999px;
  font-weight: 700;
  justify-self: center;
}

.post-price-row-head span:last-child {
  text-align: center;
}

.post-price-enabled {
  justify-self: center;
  width: 16px;
  height: 16px;
}

.post-price-label,
.post-price-value {
  min-height: 38px;
}

@media (max-width: 760px) {
  .post-price-row-head {
    display: none;
  }
  .post-price-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px;
  }
  .post-price-enabled {
    justify-self: start;
  }
}

.post-time-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  margin-top: 6px;
}

.post-time-row select {
  min-height: 42px;
}

.post-time-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.post-time-preset {
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.post-date-range-block {
  display: grid;
  gap: 6px;
}

#postOpenDateRangeModalBtn {
  justify-content: flex-start;
  min-height: 42px;
}

.post-date-range-summary {
  border: 1px solid rgba(110, 234, 142, 0.2);
  border-radius: 12px;
  background: rgba(10, 18, 11, 0.72);
  color: #d6f0dc;
  font-size: 13px;
  line-height: 1.4;
  padding: 9px 12px;
}

.post-date-range-modal-panel {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow-y: auto;
}

.post-mini-cal-head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 8px;
}

.post-mini-cal-head strong {
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.post-mini-cal-weekdays {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.post-mini-cal-weekdays span {
  text-align: center;
  font-size: 11px;
  color: #b7d8bf;
  font-weight: 700;
}

.post-mini-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.post-mini-cal-day {
  min-height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(110, 234, 142, 0.2);
  background: rgba(11, 20, 12, 0.84);
  color: var(--text);
  font-size: 12px;
}

.post-mini-cal-day.is-muted {
  opacity: 0.38;
}

.post-mini-cal-day.is-selected {
  background: linear-gradient(180deg, rgba(132, 242, 163, 0.34), rgba(78, 186, 113, 0.24));
  border-color: rgba(132, 242, 163, 0.62);
  color: #eafff0;
}

.post-mini-cal-day.is-in-range {
  background: rgba(110, 234, 142, 0.15);
  border-color: rgba(110, 234, 142, 0.4);
}

#postTabLocation {
  gap: 12px;
}

#postTabLocation .form-grid:last-of-type {
  margin-top: 4px;
}

@media (max-width: 640px) {
  .post-location-map {
    height: 180px;
  }
  .post-maps-search-results {
    max-height: 150px;
  }
  #postTabLocation {
    gap: 10px;
  }
}

.upload-field {
  border-radius: 14px;
  padding: 10px;
  background: rgba(14, 25, 16, 0.7);
}

.upload-trigger {
  min-width: 190px;
  height: 40px;
  border-radius: 11px;
  border-color: rgba(119, 238, 156, 0.4);
  background: rgba(21, 38, 24, 0.92);
}

.upload-hint {
  font-size: 13px;
  color: #b6d3bc;
}

.upload-drop-hint {
  margin-top: -2px;
  color: #96be9f;
}

.post-panel input,
.post-panel textarea {
  border-radius: 13px;
  border: 1px solid rgba(104, 230, 146, 0.28);
  background: rgba(8, 17, 10, 0.78);
  min-height: 44px;
  padding: 11px 14px;
}

.post-panel textarea {
  min-height: 124px;
  resize: vertical;
}

.post-panel input::placeholder,
.post-panel textarea::placeholder {
  color: #87a78f;
}

.post-panel input:focus,
.post-panel textarea:focus {
  border-color: rgba(126, 245, 163, 0.62);
  box-shadow: 0 0 0 3px rgba(109, 232, 145, 0.14);
}

.post-panel .post-actions {
  margin-top: 4px;
  padding-top: 12px;
}

.post-panel #postPrevBtn {
  min-height: 48px;
  border-radius: 13px;
  font-size: 16px;
  font-weight: 700;
}

.post-panel #savePostBtn {
  min-height: 48px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.2px;
  border-radius: 13px;
}

.post-head-quick {
  align-items: end;
}

.post-head-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  margin-bottom: 8px;
  border-radius: 999px;
  border: 1px solid rgba(120, 241, 156, 0.34);
  background: rgba(42, 92, 53, 0.34);
  color: #d6f5de;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-sections.post-sections-quick {
  height: auto;
  min-height: 0;
  overflow: visible;
  padding-top: 0;
  padding-bottom: 110px;
}

.post-sections.post-sections-quick .post-section.post-section-quick {
  position: relative;
  inset: auto;
  padding-top: 0;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  clip-path: none;
  filter: none;
  display: grid;
  gap: 14px;
}

#postModal #postSections.post-sections-quick #postTabInfo.post-section-quick {
  grid-template-columns: 1fr !important;
  grid-template-rows: none !important;
  align-items: stretch !important;
}

#postModal #postSections.post-sections-quick #postTabInfo.post-section-quick > * {
  grid-column: auto !important;
  grid-row: auto !important;
}

.post-quick-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
}

.post-quick-image {
  min-height: 280px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
}

.post-quick-main {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.post-quick-location-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr);
}

#postModal #postSections.post-sections-quick .post-quick-main > #postTitle,
#postModal #postSections.post-sections-quick .post-quick-main > #postDescription,
#postModal #postSections.post-sections-quick .post-quick-main > #postTags,
#postModal #postSections.post-sections-quick .post-quick-main > .post-quick-location-grid,
#postModal #postSections.post-sections-quick .post-quick-main > .post-maps-search-wrap,
#postModal #postSections.post-sections-quick .post-quick-main > #postLocationMap,
#postModal #postSections.post-sections-quick .post-quick-main > .panel-sub,
#postModal #postSections.post-sections-quick .post-quick-main > .post-date-range-block,
#postModal #postSections.post-sections-quick .post-quick-image#postImageDropZone {
  grid-column: auto !important;
  grid-row: auto !important;
  width: 100% !important;
}

#postModal #postSections.post-sections-quick .post-quick-image#postImageDropZone {
  margin-top: 0 !important;
  padding: 10px !important;
}

#postModal #postSections.post-sections-quick .post-quick-image #postImagePreview.profile-preview {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}

#postModal #postSections.post-sections-quick .post-quick-main input,
#postModal #postSections.post-sections-quick .post-quick-main textarea,
#postModal #postSections.post-sections-quick .post-quick-main button {
  min-width: 0;
}

#postModal .instagram-import-panel-hero .ig-import-row {
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(104, 230, 146, 0.28);
  border-radius: 14px;
  background: rgba(8, 17, 10, 0.78);
  overflow: hidden;
}

#postModal .instagram-import-panel-hero .post-icon-btn {
  width: 48px;
  min-width: 48px;
  padding: 0;
  height: 100%;
  border: 0;
  border-left: 1px solid rgba(104, 230, 146, 0.22);
  border-radius: 0;
  background: rgba(20, 33, 22, 0.82);
  box-shadow: none;
}

#postModal .instagram-import-panel-hero .ig-import-row input {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#postModal .instagram-import-panel-hero .ig-import-row:focus-within {
  border-color: rgba(126, 245, 163, 0.62);
  box-shadow: 0 0 0 3px rgba(109, 232, 145, 0.14);
}

#postModal .instagram-import-panel-hero .ig-import-row:focus-within input,
#postModal .instagram-import-panel-hero .ig-import-row:focus-within .post-icon-btn {
  box-shadow: none;
}

#postModal #postSections.post-sections-quick .post-advanced-card > input,
#postModal #postSections.post-sections-quick .post-advanced-card > textarea,
#postModal #postSections.post-sections-quick .post-advanced-card > button,
#postModal #postSections.post-sections-quick .post-advanced-card > .panel-sub,
#postModal #postSections.post-sections-quick .post-advanced-card > .post-price-quick-toggle,
#postModal #postSections.post-sections-quick .post-advanced-card > .post-price-quick-row,
#postModal #postSections.post-sections-quick .post-advanced-card > .post-artists-assigned-list,
#postModal #postSections.post-sections-quick .post-advanced-card > .post-owner-selected-label {
  grid-column: auto !important;
  grid-row: auto !important;
  width: 100% !important;
  min-width: 0;
}

.post-quick-date-block {
  margin-top: 2px;
}

.instagram-import-panel-hero {
  padding: 12px;
  border-radius: 14px;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(72, 143, 89, 0.18), transparent 48%),
    rgba(11, 20, 12, 0.84);
}

.instagram-import-panel-hero > label {
  font-size: 13px;
}

.post-advanced-details {
  border: 1px solid rgba(110, 234, 142, 0.2);
  border-radius: 14px;
  background: rgba(9, 17, 10, 0.74);
  overflow: visible;
}

.post-advanced-details > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 700;
  color: #e3f5e7;
  transition: background 0.22s ease, color 0.22s ease;
}

.post-advanced-details > summary::-webkit-details-marker {
  display: none;
}

.post-advanced-details > summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  color: #a9d5b4;
  transition: transform 0.24s ease, color 0.24s ease;
}

.post-advanced-details[open] > summary::after {
  transform: rotate(180deg);
  color: #eaffef;
}

.post-advanced-details[open] > summary {
  background: rgba(18, 34, 20, 0.42);
}

.post-advanced-summary-note {
  font-size: 12px;
  font-weight: 600;
  color: #9fc6a8;
}

.post-accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.28s cubic-bezier(0.2, 0.65, 0.2, 1),
    opacity 0.2s ease,
    transform 0.24s ease;
  transform: translateY(-6px);
}

.post-accordion-body > * {
  min-height: 0;
  overflow: hidden;
}

.post-advanced-details[open] > .post-accordion-body {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
}

#postModal #postLogisticsDetails > .post-accordion-body,
#postModal #postLogisticsDetails > .post-accordion-body > * ,
#postModal #postLogisticsDetails .post-advanced-grid,
#postModal #postLogisticsDetails .post-advanced-card,
#postModal #postLogisticsDetails .post-maps-search-wrap {
  overflow: visible;
}

#postModal #postLogisticsDetails .post-maps-search-wrap {
  z-index: 1400;
}

#postModal #postLogisticsDetails .post-maps-search-results {
  z-index: 1500;
}

.post-advanced-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 14px 14px;
}

.post-accordion-panel {
  padding: 0 14px 14px;
}

.post-location-picked {
  color: #b9ddc2;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  padding: 0;
  min-height: 0;
}

#postModal #postVenue {
  margin-top: 2px;
}

.post-date-simple-block {
  display: grid;
  gap: 10px;
}

.post-choice-pill-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.post-choice-pill {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(104, 230, 146, 0.24);
  background: rgba(13, 24, 14, 0.78);
  color: #cfe8d5;
  font-weight: 700;
}

.post-choice-pill.is-active {
  border-color: rgba(132, 242, 163, 0.62);
  background: linear-gradient(180deg, rgba(42, 84, 52, 0.96), rgba(24, 48, 31, 0.96));
  color: #f1fff4;
  box-shadow: 0 0 0 2px rgba(109, 232, 145, 0.12);
}

.post-advanced-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(110, 234, 142, 0.16);
  border-radius: 14px;
  background: rgba(14, 24, 14, 0.68);
}

.post-advanced-card h4 {
  margin: 0;
  font-size: 14px;
  color: #dff3e4;
}

#postTabArtists {
  align-content: start;
}

#postModal #postArtistsDetails .post-advanced-grid {
  grid-template-columns: minmax(0, 1fr);
}

#postModal #postPriceDetails > #postTabPrice {
  width: 100%;
  max-width: none;
  padding: 12px 14px 14px;
}

#postModal #postArtistsDetails #postTabArtists {
  width: 100%;
  max-width: none;
  min-height: 0;
  padding: 14px;
}

#postModal #postTabArtists .change-owner-label {
  font-size: 12px;
  color: #b9ddc2;
  margin-top: 2px;
}

#postModal #postTabArtists .post-owner-picker-btn {
  justify-content: center;
}

#postModal #postTabArtists .post-artists-search-dropdown {
  position: static;
  max-height: 180px;
  margin-top: -2px;
}

.post-artists-inline-list {
  min-height: 180px;
  border: 1px solid rgba(110, 234, 142, 0.16);
  border-radius: 14px;
  background: rgba(10, 18, 11, 0.54);
  padding: 10px;
  display: grid;
  gap: 8px;
}

.post-artists-inline-list .post-owner-search-section-title {
  margin-top: 2px;
}

.post-artists-inline-list .post-owner-search-item,
.post-artists-inline-list .post-invite-item {
  background: rgba(14, 24, 14, 0.9);
}

.post-artists-inline-list .post-owner-search-item:not(.post-invite-item) {
  height: auto;
  min-height: 68px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
}

.post-artists-inline-list .post-owner-search-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
  align-content: center;
}

.post-artists-inline-list .post-owner-search-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  line-height: 1.25;
}

.post-artists-inline-list .post-owner-search-main .post-owner-search-tag {
  margin-left: 0;
}

.post-artists-inline-list .post-owner-search-item:not(.post-invite-item) .post-owner-search-sub {
  margin: 0;
  min-height: 0;
  display: block;
  text-align: left;
}

.post-artists-inline-list .post-invite-item {
  height: auto;
  min-height: 68px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.post-artists-inline-list .post-invite-item .post-owner-search-copy {
  align-content: start;
  gap: 6px;
}

.post-artists-inline-list .post-invite-item .post-owner-search-main {
  line-height: 1.25;
}

.post-artists-inline-list .post-invite-item .post-owner-search-main .post-owner-search-tag {
  margin-left: 0;
}

.post-artists-inline-list .post-invite-item .post-invite-link-field {
  margin-top: 0;
}

.post-artists-inline-list .post-invite-item .post-invite-actions-stack {
  width: 136px;
}

.post-artists-inline-list .post-invite-item .post-invite-copy-btn {
  width: 100%;
}

.post-artists-inline-list > .post-owner-search-sub {
  margin: 0;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#postModal #postPriceDetails > #postTabPrice {
  gap: 10px;
}

#postModal #postPriceDetails > #postTabPrice .post-price-row.post-price-card {
  grid-template-columns: minmax(0, 1fr) 120px 42px;
  gap: 0;
  padding: 6px;
  align-items: center;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}

#postModal #postPriceDetails > #postTabPrice .post-price-label,
#postModal #postPriceDetails > #postTabPrice .post-price-value {
  border: 0;
  border-radius: 0;
  background: rgba(8, 17, 10, 0.86);
  box-shadow: none;
  min-height: 40px;
  margin: 0;
  padding: 0 14px;
}

#postModal #postPriceDetails > #postTabPrice .post-price-label {
  min-width: 0;
  border-radius: 10px 0 0 10px;
  border-right: 1px solid rgba(110, 234, 142, 0.16);
}

#postModal #postPriceDetails > #postTabPrice .post-price-value {
  width: 100%;
  border-left: 1px solid rgba(110, 234, 142, 0.16);
  border-radius: 0 10px 10px 0;
}

#postModal #postPriceDetails > #postTabPrice .post-price-enabled {
  justify-self: center;
  width: 18px;
  height: 18px;
  margin: 0;
}

@media (max-width: 760px) {
  #postModal #postArtistsDetails #postTabArtists {
    padding: 12px;
  }

  #postModal #postPriceDetails > #postTabPrice {
    padding: 10px;
  }

  .post-artists-inline-list {
    min-height: 140px;
  }

  .post-artists-inline-list > .post-owner-search-sub {
    min-height: 96px;
  }

  .post-artists-inline-list .post-invite-item {
    grid-template-columns: 1fr;
  }

  .post-artists-inline-list .post-invite-item .post-invite-actions-stack {
    width: 100%;
  }

  #postModal #postPriceDetails > #postTabPrice .post-price-row.post-price-card {
    grid-template-columns: minmax(0, 1fr) 96px 34px;
    gap: 0;
    padding: 6px;
  }

  #postModal #postPriceDetails > #postTabPrice .post-price-label,
  #postModal #postPriceDetails > #postTabPrice .post-price-value {
    min-height: 38px;
    padding: 0 10px;
  }
}

.post-price-quick-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #def0e2;
}

.post-price-quick-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.post-price-quick-row label,
.post-price-quick-row span {
  font-size: 13px;
  font-weight: 700;
  color: #bfe4c8;
}

#postModal input[type="datetime-local"] {
  min-height: 46px;
}

.post-actions-quick {
  grid-template-columns: 1fr;
}

#postModal .post-advanced-details + .post-advanced-details {
  margin-top: 10px;
}

#postModal .post-location-map {
  height: 170px;
}

#postModal .post-date-range-summary {
  padding: 8px 12px;
  min-height: 0;
}

#postModal .post-panel .post-actions.post-actions-quick {
  position: sticky;
  bottom: 0;
  padding-top: 10px;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 6px);
  margin-top: -84px;
  z-index: 5;
}

#postModal .post-panel #savePostBtn {
  min-height: 54px;
}

.instagram-follow-panel {
  width: min(520px, 100%);
  gap: 16px;
  padding-top: 18px;
  border-color: rgba(110, 234, 142, 0.34);
  background:
    radial-gradient(circle at 20% 0%, rgba(38, 84, 47, 0.25), transparent 46%),
    linear-gradient(180deg, #0f1a10, #0b140d);
}

.instagram-follow-head {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.instagram-follow-avatar {
  width: 82px;
  height: 82px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(110, 234, 142, 0.5);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

.instagram-follow-copy h3 {
  margin: 0 0 4px;
  line-height: 1.15;
}

.instagram-follow-handle {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(110, 234, 142, 0.28);
  background: rgba(110, 234, 142, 0.11);
  color: #c9f5d4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 4px 9px;
  margin-bottom: 6px;
}

.instagram-follow-copy .panel-sub {
  margin: 0;
  font-size: 15px;
}

.instagram-follow-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.public-profile-panel {
  width: min(620px, 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 18px;
  height: calc(100vh - 24px);
  height: calc(100dvh - 24px);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  min-height: min(680px, calc(100vh - 24px));
  min-height: min(680px, calc(100dvh - 24px));
  overflow-y: auto;
}

.public-profile-head {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.public-profile-avatar-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(110, 234, 142, 0.48);
  background: rgba(12, 20, 12, 0.9);
}

.public-profile-avatar {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(110, 234, 142, 0.48);
  background: rgba(12, 20, 12, 0.9);
}

.public-profile-head-copy h3 {
  margin: 0 0 2px;
  line-height: 1.1;
}

.public-profile-head-copy .panel-sub {
  margin: 0;
}

.public-profile-follow-meta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.public-profile-follow-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#publicProfileFollowBtn {
  min-width: 120px;
  height: 36px;
  border-radius: 10px;
}

#publicProfileFollowBtn.is-following {
  border-color: rgba(110, 234, 142, 0.45);
  background: rgba(110, 234, 142, 0.14);
  color: #d9ffe5;
}

.public-profile-tab-shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
}

.public-profile-tabs {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: -1px;
}

.public-profile-tabs button {
  min-height: 36px;
  border-radius: 10px 10px 0 0;
  font-size: 12px;
  white-space: nowrap;
  padding: 0 10px;
  border: 1px solid rgba(110, 234, 142, 0.26);
  border-bottom-color: rgba(110, 234, 142, 0.16);
  background: rgba(16, 25, 16, 0.64);
  color: var(--text-soft);
}

.public-profile-tabs button.is-active {
  border-color: rgba(110, 234, 142, 0.34);
  border-bottom-color: rgba(12, 20, 12, 0.92);
  background: linear-gradient(180deg, rgba(22, 38, 22, 0.96), rgba(12, 20, 12, 0.92));
  color: #dff6e6;
  font-weight: 700;
}

.public-profile-tab-content {
  border: 1px solid rgba(110, 234, 142, 0.26);
  border-radius: 0 12px 12px 12px;
  background: rgba(12, 20, 12, 0.92);
  padding: 12px;
}

.public-profile-posts-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 0 0 auto;
}

.public-profile-posts-wrap > span {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.2;
}

.public-profile-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
  min-height: 0;
  flex: 0 0 auto;
  height: auto;
  overflow: visible;
  padding-right: 2px;
  align-content: start;
}

@media (min-width: 900px) {
  .public-profile-panel {
    width: min(1080px, calc(100vw - 34px));
    min-height: min(760px, calc(100vh - 24px));
    min-height: min(760px, calc(100dvh - 24px));
  }

  .public-profile-head {
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 16px;
  }

  .public-profile-follow-actions {
    justify-self: end;
  }

  .public-profile-avatar {
    width: 96px;
    height: 96px;
  }

  .public-profile-avatar-wrap {
    width: 96px;
    height: 96px;
  }

  .public-profile-posts-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
  }
}

@media (max-width: 760px) {
  .public-profile-head {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .public-profile-avatar-wrap {
    width: 72px;
    height: 72px;
  }

  .public-profile-follow-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

.public-profile-empty-section {
  display: grid;
}

.public-profile-empty-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(16, 25, 16, 0.86), rgba(12, 19, 13, 0.88));
  padding: 16px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  width: 100%;
  min-height: 94px;
  box-sizing: border-box;
}

.public-profile-empty-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(132, 242, 163, 0.18);
  background: rgba(132, 242, 163, 0.08);
  color: #dff6e6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.public-profile-empty-card-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.public-profile-empty-card h4 {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
}

.public-profile-empty-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-muted);
}

.public-profile-social-section {
  display: grid;
  gap: 10px;
}

.public-profile-social-list {
  display: grid;
  gap: 10px;
}

.public-profile-social-card {
  border: 1px solid rgba(110, 234, 142, 0.24);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 128, 64, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(14, 22, 14, 0.92), rgba(9, 15, 9, 0.92));
  min-height: 56px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(190, 255, 215, 0.06);
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.public-profile-social-card:hover {
  border-color: rgba(255, 141, 86, 0.62);
  transform: translateY(-1px);
  box-shadow: 0 13px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 206, 176, 0.09);
}

.public-profile-social-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(110, 234, 142, 0.22);
  background: rgba(7, 12, 7, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f4b08b;
  font-size: 15px;
}

.public-profile-social-card-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.public-profile-social-card-copy strong {
  font-size: 18px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-profile-social-card-copy small {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-profile-social-card-open {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  border: 1px solid rgba(110, 234, 142, 0.22);
  background: rgba(8, 14, 8, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 12px;
}

.public-profile-social-link {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(16, 25, 16, 0.72);
  min-height: 42px;
  padding: 0 12px;
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.public-profile-social-link:hover {
  border-color: var(--line-strong);
}

.public-profile-social-embed {
  width: 100%;
  min-height: 220px;
  border: 1px solid rgba(110, 234, 142, 0.24);
  border-radius: 12px;
  background: rgba(10, 16, 10, 0.9);
}

.public-profile-set-card {
  border: 1px solid rgba(110, 234, 142, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 128, 64, 0.18), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(110, 234, 142, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(16, 25, 16, 0.9), rgba(10, 17, 10, 0.9));
  padding: 11px;
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(184, 255, 209, 0.08);
}

.public-profile-set-card--soundcloud {
  border-color: rgba(255, 138, 82, 0.38);
  grid-template-areas:
    "cover top"
    "cover player";
  grid-template-rows: auto auto;
  gap: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 188, 148, 0.08);
}

.public-profile-set-card--youtube {
  border-color: rgba(255, 109, 109, 0.45);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 170, 170, 0.1);
}

.public-profile-set-card--youtube .public-profile-set-source {
  color: #ffb7b7;
  border-color: rgba(255, 126, 126, 0.4);
  background: rgba(255, 109, 109, 0.14);
}

.public-profile-set-card--youtube .public-profile-set-cover-fallback {
  color: rgba(255, 126, 126, 0.95);
}

.public-profile-set-cover-wrap {
  position: relative;
  width: 100%;
  height: 132px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(110, 234, 142, 0.24);
  background: rgba(9, 14, 9, 0.84);
  grid-column: 1;
}

.public-profile-set-card--soundcloud .public-profile-set-cover-wrap {
  grid-area: cover;
  min-height: 176px;
  height: 100%;
  border-color: rgba(255, 138, 82, 0.34);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 138, 82, 0.2), transparent 52%),
    linear-gradient(180deg, rgba(10, 16, 10, 0.94), rgba(7, 12, 7, 0.9));
}

.public-profile-set-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.public-profile-set-cover-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255, 159, 111, 0.9);
  font-size: 26px;
}

.public-profile-set-cover-wrap--fallback .public-profile-set-cover-fallback {
  color: rgba(110, 234, 142, 0.9);
  font-size: 24px;
}

.public-profile-set-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  grid-column: 2;
}

.public-profile-set-card--soundcloud .public-profile-set-top {
  grid-area: top;
  gap: 8px;
}

.public-profile-set-heading {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.public-profile-set-source {
  font-size: 11px;
  color: #ff9a64;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 2px 8px;
  border: 1px solid rgba(255, 152, 96, 0.34);
  border-radius: 999px;
  width: fit-content;
  background: rgba(255, 138, 82, 0.12);
}

.public-profile-set-title {
  font-size: 16px;
  font-weight: 700;
  color: #effff4;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.public-profile-set-meta {
  font-size: 12px;
  color: #c4dccb;
}

.public-profile-set-link {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(110, 234, 142, 0.28);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(12, 20, 12, 0.92);
  font-size: 12px;
  white-space: nowrap;
}

.public-profile-set-link:hover {
  border-color: rgba(255, 152, 96, 0.6);
}

.public-profile-set-player {
  width: 100%;
  height: 112px;
  border: 1px solid rgba(110, 234, 142, 0.2);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(10, 17, 10, 0.94), rgba(8, 13, 8, 0.92));
  grid-column: 2;
  display: block;
}

.public-profile-set-card--soundcloud .public-profile-set-player {
  grid-area: player;
  height: 112px;
  border-color: rgba(255, 152, 96, 0.3);
}

.public-profile-set-card--youtube .public-profile-set-player {
  height: 200px;
  border-color: rgba(255, 109, 109, 0.4);
}

.public-profile-set-list {
  display: grid;
  gap: 10px;
}

.public-profile-sets-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.public-profile-sets-btn {
  min-height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(206, 223, 215, 0.26);
  background: linear-gradient(180deg, rgba(26, 35, 30, 0.95), rgba(14, 20, 17, 0.94));
  color: rgba(241, 248, 244, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 700;
}

.public-profile-sets-btn:hover {
  border-color: rgba(231, 241, 236, 0.44);
  background: linear-gradient(180deg, rgba(34, 44, 38, 0.96), rgba(18, 25, 21, 0.96));
}

.public-profile-sets-btn.is-disabled,
.public-profile-sets-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.public-profile-set-editor-list {
  display: grid;
  gap: 10px;
}

.public-profile-set-editor-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(110, 234, 142, 0.24);
  border-radius: 12px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(12, 20, 12, 0.94), rgba(9, 15, 9, 0.92));
}

.public-profile-set-editor-input {
  width: 100%;
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(206, 223, 215, 0.26);
  background: rgba(10, 15, 13, 0.92);
  color: #effff4;
  padding: 0 10px;
  font-size: 13px;
}

.public-profile-set-editor-input:focus {
  outline: none;
  border-color: rgba(231, 241, 236, 0.5);
}

.public-profile-set-editor-remove {
  min-height: 32px;
  width: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(206, 223, 215, 0.26) !important;
}

.public-profile-set-editor-remove:hover {
  border-color: rgba(255, 124, 124, 0.52) !important;
}

.public-profile-set-row {
  border: 1px solid rgba(110, 234, 142, 0.22);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(12, 20, 12, 0.94), rgba(9, 15, 9, 0.92));
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  grid-template-areas:
    "cover copy actions"
    "preview preview preview";
  gap: 10px;
  align-items: center;
  padding: 10px;
}

.public-profile-set-row.is-soundcloud {
  border-color: rgba(255, 138, 82, 0.34);
}

.public-profile-set-row.is-youtube {
  border-color: rgba(255, 109, 109, 0.38);
}

.public-profile-set-row.is-spotify {
  border-color: rgba(61, 220, 132, 0.4);
}

.public-profile-set-row-index {
  display: none;
}

.public-profile-set-row-cover {
  grid-area: cover;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  border: 1px solid rgba(110, 234, 142, 0.2);
  display: grid;
  place-items: center;
  color: rgba(214, 230, 220, 0.82);
  background: radial-gradient(circle at 50% 0%, rgba(255, 138, 82, 0.2), transparent 60%), rgba(8, 13, 8, 0.92);
}

.public-profile-set-row-copy {
  grid-area: copy;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.public-profile-set-row-source {
  font-size: 11px;
  color: #ff9a64;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  width: fit-content;
}

.public-profile-set-row.is-youtube .public-profile-set-row-source {
  color: #ffb7b7;
}

.public-profile-set-row.is-spotify .public-profile-set-row-source {
  color: #7cf6b2;
}

.public-profile-set-row-title {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  color: #effff4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-profile-set-row-meta {
  margin: 0;
  font-size: 12px;
  color: #c4dccb;
}

.public-profile-set-row-actions {
  grid-area: actions;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.public-profile-set-preview-btn,
.public-profile-set-open-link {
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border: 1px solid rgba(206, 223, 215, 0.26);
  border-radius: 9px;
  color: rgba(236, 245, 241, 0.96);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(17, 24, 21, 0.92);
  font-size: 13px;
  white-space: nowrap;
}

.public-profile-set-preview-btn:hover,
.public-profile-set-open-link:hover {
  border-color: rgba(231, 241, 236, 0.44);
  background: rgba(24, 33, 29, 0.95);
}

.public-profile-set-row-preview {
  grid-area: preview;
  margin-top: 2px;
  display: grid;
  gap: 8px;
}

.public-profile-set-row.is-soundcloud .public-profile-set-row-preview {
  grid-template-columns: 148px minmax(0, 1fr);
  align-items: stretch;
}

.public-profile-set-row.is-soundcloud .public-profile-set-cover {
  width: 148px;
  height: 104px;
  border-radius: 10px;
  border: 1px solid rgba(255, 138, 82, 0.22);
  background: linear-gradient(180deg, rgba(10, 16, 10, 0.94), rgba(7, 12, 7, 0.9));
  object-fit: cover;
}

.public-profile-set-row-player {
  width: 100%;
  height: 104px;
  border: 1px solid rgba(110, 234, 142, 0.22);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(10, 17, 10, 0.94), rgba(8, 13, 8, 0.92));
}

.public-profile-set-row-player.is-youtube {
  height: 220px;
  border-color: rgba(255, 109, 109, 0.36);
  background: #000;
}

.public-profile-set-row-player.is-spotify {
  height: 152px;
  border-color: rgba(61, 220, 132, 0.4);
}

@media (max-width: 760px) {
  .public-profile-set-card,
  .public-profile-set-card--soundcloud {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .public-profile-set-cover-wrap,
  .public-profile-set-card--soundcloud .public-profile-set-cover-wrap,
  .public-profile-set-top,
  .public-profile-set-card--soundcloud .public-profile-set-top,
  .public-profile-set-player,
  .public-profile-set-card--soundcloud .public-profile-set-player {
  }

  .public-profile-set-card--soundcloud .public-profile-set-cover-wrap {
    min-height: 0;
    height: 132px;
  }

  .public-profile-set-card--soundcloud .public-profile-set-player {
    height: 104px;
  }

  .public-profile-set-card--youtube .public-profile-set-player {
    height: 186px;
  }

  .public-profile-set-row {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    grid-template-areas:
      "cover copy actions"
      "preview preview preview";
    padding: 9px;
    gap: 8px;
  }

  .public-profile-set-row-cover {
    width: 46px;
    height: 46px;
  }

  .public-profile-set-row-title {
    font-size: 14px;
  }

  .public-profile-set-row-actions {
    justify-content: flex-end;
    flex-wrap: nowrap;
  }

  .public-profile-set-row-player.is-youtube {
    height: 186px;
  }

  .public-profile-set-row.is-soundcloud .public-profile-set-row-preview {
    grid-template-columns: 1fr;
  }

  .public-profile-set-row.is-soundcloud .public-profile-set-cover {
    width: 100%;
    height: 132px;
  }
}

.public-profile-post-card {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border-radius: 10px;
  border: 1px solid rgba(110, 234, 142, 0.24);
  overflow: hidden;
  background: rgba(12, 20, 12, 0.85);
  padding: 0;
  cursor: pointer;
  width: 100%;
  height: auto;
}

.public-profile-post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.public-profile-post-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 11px;
  text-align: center;
  padding: 6px;
}

.public-profile-post-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 4px 6px;
  font-size: 12px;
  color: #eaf6ee;
  background: linear-gradient(180deg, rgba(8, 14, 8, 0), rgba(8, 14, 8, 0.86));
}

.public-profile-post-overlay span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .public-profile-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Public profile refresh */
#mainUserPanel {
  padding: 6px 0;
}

#mainUserPanel .public-profile-panel {
  width: 100%;
  max-width: 1080px;
  max-height: none;
  margin: 0 auto;
  height: auto;
  background: transparent;
  overflow: visible;
  overflow-y: visible;
  overflow-x: visible;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-panel {
  width: min(840px, calc(100vw - 18px));
  max-height: min(92dvh, 920px);
  min-height: 0;
  padding: 16px;
  border-radius: 18px;
  overflow-y: auto;
  overflow-x: hidden;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-head {
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 4px 0 14px;
  border-bottom: 1px solid rgba(110, 234, 142, 0.14);
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-avatar {
  width: 92px;
  height: 92px;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-head-copy h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 0.94;
  letter-spacing: -0.03em;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-head-copy .panel-sub {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 14px;
  color: #b8dcbc;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-stats {
  margin-top: 10px;
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #cbe7d1;
  font-weight: 700;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-stats span i {
  color: rgba(132, 242, 163, 0.9);
}

:is(#publicProfileModal, #mainUserPanel) #publicProfileFollowBtn {
  min-width: 120px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(132, 242, 163, 0.6);
  background: linear-gradient(180deg, #84f2a3, #69dc8a);
  color: #0f1f12;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

:is(#publicProfileModal, #mainUserPanel) #publicProfileFollowBtn.is-following {
  border-color: rgba(110, 234, 142, 0.45);
  background: rgba(110, 234, 142, 0.16);
  color: #def6e4;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-tab-shell {
  min-height: auto;
  flex: 0 0 auto;
  height: auto;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 6px;
  border: 1px solid rgba(110, 234, 142, 0.22);
  border-radius: 0;
  overflow: hidden;
  background: rgba(12, 20, 12, 0.82);
  min-height: 42px;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-tabs button {
  min-height: 42px;
  border-radius: 0 !important;
  border: 0;
  border-right: 1px solid rgba(110, 234, 142, 0.18);
  background: transparent;
  color: #b5d4bc;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-tabs button:last-child {
  border-right: 0;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-tabs button span {
  display: none;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-tabs button i {
  display: block;
  margin: 0;
  font-size: 18px;
  line-height: 1;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-tabs button.is-active {
  background: linear-gradient(180deg, #84f2a3, #69dc8a);
  color: #0f1f12;
  border-radius: 0 !important;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-tab-content {
  border-radius: 12px;
  padding: 0;
  min-height: auto;
  height: auto;
  overflow: visible;
  border-top: 0;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-posts-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  margin-top: 0;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-post-card {
  border-radius: 0;
  border: 0;
  aspect-ratio: 1 / 1;
  min-height: 0;
  box-shadow: none;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-post-card img {
  width: 100%;
  height: 100%;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-post-overlay {
  display: none;
}

#mainUserPanel .public-profile-panel {
  padding: 20px;
}

#mainUserPanel .public-profile-tab-shell,
#mainUserPanel .public-profile-tab-content,
#mainUserPanel .public-profile-posts-wrap {
  height: auto;
  max-height: none;
  overflow: visible !important;
}

#mainUserPanel .public-profile-avatar-wrap {
  position: relative;
  width: 108px;
  height: 108px;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: visible;
  border: 1px solid rgba(132, 242, 163, 0.48);
  background: linear-gradient(180deg, rgba(16, 28, 18, 0.95), rgba(10, 18, 12, 0.95));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

#mainUserPanel .public-profile-avatar {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: cover !important;
  object-position: center center;
  display: block;
  border-radius: 50%;
  border: 0;
  box-shadow: none;
}

#mainUserPanel .public-profile-avatar-fallback {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: #cdebd4;
}

#mainUserPanel .public-profile-identity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

#publicProfileName{
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.02;
}

#mainUserPanel .public-profile-head-copy h3 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 28px);
  line-height: 1.02;
}

#mainUserPanel .public-profile-head-copy .panel-sub {
  margin: 0;
  font-size: 14px;
  color: #a8c8b0;
}

#mainUserPanel .public-profile-stats {
  margin-top: 8px;
  gap: 10px;
  font-size: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  width: 100%;
}

#mainUserPanel .public-profile-stat {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  gap: 5px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#mainUserPanel .public-profile-stat-button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease;
  border-radius: 0;
  box-shadow: none;
}

#mainUserPanel .public-profile-stat-button:hover {
  opacity: 0.96;
  transform: translateY(-1px);
}

#mainUserPanel .public-profile-stat-button:active {
  transform: translateY(0);
}

#mainUserPanel .public-profile-stat-num {
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
  color: #ecfff1;
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

#mainUserPanel .public-profile-stat-label {
  font-size: 10px;
  line-height: 1.1;
  color: #a8c8b0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: 100%;
  display: inline-flex;
  align-items: start;
  justify-content: center;
}

#publicProfileModal .public-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: 10px;
  align-items: stretch;
}

#publicProfileModal .public-profile-stats > span,
#publicProfileModal .public-profile-stat-inline-btn {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(109, 188, 136, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#publicProfileModal .public-profile-stat-inline-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
}

#publicProfileModal .public-profile-stat-inline-btn:hover {
  opacity: 0.92;
}

#mainUserPanel .public-profile-inline-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
}

#mainUserPanel #publicProfileSettingsIconBtn {
  width: 36px;
  min-width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(132, 242, 163, 0.34);
  background: rgba(132, 242, 163, 0.08);
  color: #e8f9ed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#mainUserPanel #publicProfileSettingsIconBtn i {
  margin: 0;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-wrap {
  margin-top: 10px;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #d8efe0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: calc(1.45em * 5);
  overflow: hidden;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio.is-placeholder {
  color: #a5c9ad;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-edit-btn {
  width: 30px;
  min-width: 30px;
  height: 30px;
  border-radius: 9px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-edit-btn {
  border-color: rgba(226, 255, 235, 0.18) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(230, 244, 235, 0.88) !important;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-edit-btn:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(226, 255, 235, 0.26) !important;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-editor {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-input {
  width: 100%;
  min-height: 76px;
  max-height: calc(1.4em * 5 + 24px);
  resize: vertical;
  border-radius: 12px;
  border: 1px solid rgba(132, 242, 163, 0.26);
  background: rgba(10, 18, 12, 0.82);
  color: #e6f9ec;
  padding: 10px 12px;
  font: inherit;
  line-height: 1.4;
  overflow-y: auto;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-editor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-counter {
  font-size: 11px;
  color: #9ec3a4;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-counter.is-limit {
  color: #ffe1b8;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-editor-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-editor-actions .ghost,
:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-editor-actions .primary {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 10px;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-presskit-wrap {
  margin-top: 8px;
  display: grid;
  gap: 6px;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-presskit-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-presskit-actions .ghost {
  min-height: 32px;
  border-radius: 10px;
  padding: 0 12px;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-presskit-meta {
  margin: 0;
  font-size: 11px;
  color: #9ec3a4;
}

#mainUserPanel .public-profile-link-list {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#mainUserPanel .public-profile-link-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(132, 242, 163, 0.28);
  background: rgba(132, 242, 163, 0.08);
  color: #e8f9ed;
  font-size: 12px;
  text-decoration: none;
}

#mainUserPanel .public-profile-follow-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

#mainUserPanel #publicProfileMessageBtn {
  order: 1;
  min-width: 144px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(132, 242, 163, 0.34);
  background: rgba(132, 242, 163, 0.08);
  color: #e8f9ed;
  font-weight: 700;
}

#mainUserPanel #publicProfileSettingsBtn {
  order: 0;
  min-width: 120px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(132, 242, 163, 0.34);
  background: rgba(132, 242, 163, 0.08);
  color: #e8f9ed;
  font-weight: 700;
}

#mainUserPanel #publicProfileEditBtn {
  order: 2;
  min-width: 132px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(132, 242, 163, 0.34);
  background: rgba(132, 242, 163, 0.08);
  color: #e8f9ed;
  font-weight: 700;
}

#mainUserPanel #publicProfileFollowBtn {
  order: 3;
}

#mainUserPanel .public-profile-tabs button {
  gap: 8px;
}

#mainUserPanel .public-profile-tabs button span {
  display: inline;
  font-size: 13px;
}

#mainUserPanel .public-profile-tabs button i {
  font-size: 14px;
}

@media (min-width: 1000px) {
  :is(#publicProfileModal, #mainUserPanel) .public-profile-panel {
    width: min(1080px, calc(100vw - 40px));
    padding: 18px 18px 16px;
    border-radius: 16px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-head {
    grid-template-columns: 110px minmax(0, 1fr) auto;
    gap: 16px;
    padding-bottom: 12px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-avatar {
    width: 110px;
    height: 110px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-head-copy h3 {
    font-size: clamp(32px, 3.1vw, 46px);
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-tab-content {
    border: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    overflow: auto;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-posts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    width: 100%;
    margin-top: 0;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-post-card {
    aspect-ratio: 1 / 1;
    border-radius: 0;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-post-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-presskit-wrap {
    width: 100%;
    gap: 8px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-presskit-actions {
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-presskit-actions .ghost {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    justify-content: flex-start;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-presskit-actions .ghost i {
    min-width: 14px;
    margin-right: 7px;
  }

  :is(#publicProfileModal, #mainUserPanel) #publicProfilePresskitDeleteBtn {
    width: 100% !important;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-presskit-meta {
    font-size: 11px;
    line-height: 1.35;
  }
}

@media (max-width: 760px) {
  :is(#publicProfileModal, #mainUserPanel) .public-profile-panel {
    width: min(100%, calc(100vw - 10px));
    padding: 12px;
    border-radius: 16px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-head {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-avatar {
    width: 72px;
    height: 72px;
  }

  #mainUserPanel .public-profile-avatar-wrap {
    width: 72px;
    height: 72px;
    aspect-ratio: 1 / 1;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-follow-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  #mainUserPanel .public-profile-head-copy h3 {
    font-size: 22px;
  }

  #mainUserPanel .public-profile-head-copy .panel-sub {
    font-size: 13px;
  }

  #mainUserPanel .public-profile-bio-wrap,
  #mainUserPanel .public-profile-presskit-wrap,
  #mainUserPanel .public-profile-link-list {
    margin-left: calc(-72px - 14px);
    width: calc(100% + 72px + 14px);
  }

  #mainUserPanel .public-profile-stats {
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #mainUserPanel .public-profile-stat {
    justify-items: center;
    text-align: center;
    min-width: 0;
    min-height: 60px;
    padding: 8px 6px;
  }

  #mainUserPanel .public-profile-stat-num {
    font-size: 18px;
  }

  #mainUserPanel .public-profile-stat-label {
    font-size: 10px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-head-copy h3 {
    font-size: 18px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-stats {
    gap: 10px;
    font-size: 13px;
  }

  #publicProfileModal .public-profile-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #publicProfileModal .public-profile-stats > span,
  #publicProfileModal .public-profile-stat-inline-btn {
    min-height: 38px;
    padding: 0 8px;
    font-size: 12px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-tabs {
    gap: 0;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-tabs button {
    min-height: 40px;
  }

  #mainUserPanel .public-profile-tabs button {
    gap: 6px;
  }

  #mainUserPanel .public-profile-tabs button span {
    display: none;
  }

  #mainUserPanel #publicProfileSettingsIconBtn {
    width: 34px;
    min-width: 34px;
    height: 34px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-tab-content {
    border: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    overflow: visible;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-posts-wrap {
    gap: 0;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-posts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    width: 100%;
    margin-top: 0;
    padding-right: 0;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-post-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
    border-radius: 0;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-post-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.instagram-follow-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 12px;
  border: 0;
  padding: 0 14px;
  text-decoration: none;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #fd1d1d, #fcb045 45%, #c13584 76%, #5851db);
  box-shadow: 0 10px 24px rgba(87, 44, 121, 0.36);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.instagram-follow-cta:hover {
  transform: translateY(-1px);
  filter: saturate(1.06);
  box-shadow: 0 14px 28px rgba(87, 44, 121, 0.46);
}

.create-event-prompt-panel {
  width: min(520px, 100%);
  gap: 12px;
  padding-top: 18px;
  border-color: rgba(110, 234, 142, 0.34);
  background:
    radial-gradient(circle at 86% 0%, rgba(112, 232, 145, 0.2), transparent 46%),
    linear-gradient(180deg, #111d11, #0d170f);
}

.community-thread-modal-panel {
  width: min(440px, 100%);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
}

.community-thread-modal-head {
  display: grid;
  gap: 6px;
  padding-right: 44px;
}

.community-thread-modal-head h3 {
  margin: 0;
  line-height: 1.15;
}

.community-thread-modal-head .panel-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.community-thread-modal-panel .community-create {
  padding: 0;
  gap: 8px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.community-thread-modal-panel .community-create textarea {
  min-height: 110px;
}

.community-thread-modal-panel .community-create input,
.community-thread-modal-panel .community-create textarea {
  width: 100%;
  max-width: none;
}

.community-thread-modal-panel .community-create button.primary {
  justify-self: end;
}

#communityLiveModal .community-thread-modal-panel {
  width: min(480px, 100%);
}

#communityLiveModal .community-thread-modal-panel .community-create {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-items: stretch;
  width: 100%;
  gap: 12px;
}

#communityLiveModal .community-thread-modal-head {
  width: 100%;
  padding-right: 52px;
}

#communityLiveModal .community-thread-modal-head .panel-sub {
  max-width: 38ch;
}

#communityLiveModal .community-live-inline-note,
#communityLiveModal .community-live-preview-shell,
#communityLiveModal .community-live-modal-actions,
#communityLiveModal .community-live-setup-grid {
  width: 100%;
}

#communityLiveWatchModal .community-live-watch-panel {
  width: min(1440px, 98vw);
  height: min(92vh, 980px);
  max-height: min(92vh, 980px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(76, 181, 111, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(13, 16, 22, 0.98), rgba(10, 13, 18, 0.98));
  border-color: rgba(84, 160, 108, 0.34);
}

#communityLiveWatchModal .community-thread-modal-head {
  width: 100%;
  padding-right: 56px;
  display: grid;
  gap: 6px;
}

#communityLiveWatchModal .community-thread-modal-head h3 {
  font-family: "Sora", "Inter", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
  font-size: clamp(32px, 2vw, 40px);
}

#communityLiveWatchModal .community-thread-modal-head .panel-sub {
  color: #8f98a4;
  font-size: 15px;
}

#communityLiveWatchModal .community-create {
  grid-area: auto;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  justify-items: stretch;
  justify-self: stretch;
  align-self: stretch;
}

#communityLiveWatchModal .community-live-room-layout {
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  min-height: 0;
  height: 100%;
  align-items: stretch;
  grid-template-columns: minmax(0, 2.55fr) clamp(320px, 28%, 390px);
  gap: 24px;
  justify-self: stretch;
  align-self: stretch;
}

#communityLiveWatchModal .community-live-room-main .community-live-stream-shell {
  height: 100%;
}

#communityLiveWatchModal .community-live-room-main .community-live-watch-frame {
  min-height: 0;
  height: 100%;
}

#communityLiveWatchModal .community-live-room-chat {
  min-height: 0;
  max-width: none;
}

#communityLiveWatchModal .community-live-comments {
  min-height: 0;
}

#communityLiveWatchModal .community-live-room-main {
  display: flex;
  min-height: 0;
}

#communityLiveWatchModal .community-live-room-main .community-live-stream-shell {
  flex: 1 1 auto;
  min-height: 0;
}

#communityLiveWatchModal .community-live-stream-shell {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

#communityLiveWatchModal .community-live-room-chat {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(74, 97, 84, 0.5);
  background: linear-gradient(180deg, rgba(14, 18, 24, 0.98), rgba(11, 15, 20, 0.98));
  padding: 14px;
  gap: 12px;
}

#communityLiveWatchModal .community-live-preview-head {
  align-items: center;
}

#communityLiveWatchModal .community-live-watch-frame {
  aspect-ratio: 16 / 9;
  min-height: 0;
  height: 100%;
  border-radius: 20px;
  border: 1px solid rgba(86, 110, 96, 0.5);
  background: radial-gradient(circle at 30% 10%, rgba(22, 29, 36, 0.72), rgba(8, 11, 16, 0.98) 70%);
}

@media (max-width: 1180px) {
  #communityLiveWatchModal .community-live-watch-panel {
    width: min(100%, 1140px);
    padding: 16px;
  }

  #communityLiveWatchModal .community-create {
    justify-content: flex-start;
  }

  #communityLiveWatchModal .community-live-room-layout {
    flex: 1 1 auto;
    width: min(100%, 920px);
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #communityLiveWatchModal .community-live-room-chat {
    max-width: none;
  }

  #communityLiveWatchModal .community-live-watch-frame {
    min-height: 420px;
  }
}

#communityLiveWatchModal .community-live-stage-head strong {
  font-family: "Sora", "Inter", "Segoe UI", sans-serif;
  font-size: clamp(22px, 1.8vw, 30px);
  font-weight: 750;
  color: #f4f7ff;
  letter-spacing: -0.03em;
}

#communityLiveWatchModal .community-live-stage-kicker {
  background: rgba(243, 84, 84, 0.14);
  border: 1px solid rgba(255, 112, 112, 0.34);
}

#communityLiveWatchModal .community-live-stage-overlay {
  padding: 18px;
  background: linear-gradient(180deg, rgba(7, 10, 14, 0.14), transparent 30%, transparent 64%, rgba(5, 8, 12, 0.72));
}

#communityLiveWatchModal .community-live-stage-badge {
  background: rgba(9, 13, 18, 0.8);
  border: 1px solid rgba(116, 205, 141, 0.38);
  color: #e7ffef;
}

#communityLiveWatchModal .community-live-stage-badge i {
  color: #6bdd94;
}

#communityLiveWatchModal .community-live-stage-controls {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
}

#communityLiveWatchModal .community-live-stage-control {
  min-height: 40px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: rgba(242, 246, 255, 0.92);
  box-shadow: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

#communityLiveWatchModal .community-live-stage-control:hover,
#communityLiveWatchModal .community-live-stage-control:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  transform: none;
}

#communityLiveWatchModal .community-live-watch-frame.community-live-controls-hidden .community-live-stage-controls {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  filter: blur(2px);
}

#communityLiveWatchModal .community-live-stage-footer {
  width: 100%;
  background: linear-gradient(180deg, rgba(5, 8, 12, 0), rgba(5, 8, 12, 0.84) 26%, rgba(5, 8, 12, 0.92));
  padding: 10px 12px 8px;
  border-top: 2px solid rgba(98, 209, 132, 0.92);
  border-radius: 0 0 14px 14px;
  transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
}

#communityLiveWatchModal .community-live-watch-frame.community-live-controls-hidden .community-live-stage-footer {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(2px);
  pointer-events: none;
}

#communityLiveWatchModal .community-live-stage-control-icon {
  margin-left: auto;
}

#communityLiveWatchModal .community-live-stage-control span {
  display: none;
}

#communityLiveWatchModal .community-live-stage-control i {
  font-size: 16px;
}

#communityLiveWatchModal .community-live-stage-control {
  min-width: 42px;
  width: 42px;
  padding: 0;
}

#communityLiveWatchModal .community-live-volume-range {
  -webkit-appearance: none;
  appearance: none;
  width: 110px;
  height: 6px;
  border-radius: 999px;
  border: 1px solid rgba(94, 143, 109, 0.58);
  background: linear-gradient(90deg, rgba(97, 205, 131, 0.95), rgba(43, 93, 58, 0.9));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

#communityLiveWatchModal .community-live-volume-range:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(88, 198, 123, 0.2);
}

#communityLiveWatchModal .community-live-volume-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(186, 255, 207, 0.88);
  background: #d9ffe6;
  box-shadow: 0 0 0 2px rgba(62, 156, 92, 0.35);
  cursor: pointer;
}

#communityLiveWatchModal .community-live-volume-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(186, 255, 207, 0.88);
  background: #d9ffe6;
  box-shadow: 0 0 0 2px rgba(62, 156, 92, 0.35);
  cursor: pointer;
}

#communityLiveWatchModal .community-live-volume-range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  border: 1px solid rgba(94, 143, 109, 0.58);
  background: linear-gradient(90deg, rgba(97, 205, 131, 0.95), rgba(43, 93, 58, 0.9));
}

#communityLiveWatchModal .community-live-preview-status {
  color: #95a2b0;
  font-size: 14px;
}

#communityLiveWatchModal .community-live-room-chat-head strong {
  font-family: "Sora", "Inter", "Segoe UI", sans-serif;
  font-size: clamp(20px, 1.5vw, 28px);
  color: #f3f7ff;
  letter-spacing: -0.02em;
}

#communityLiveWatchModal .community-live-room-chat-head span {
  min-width: 34px;
  min-height: 34px;
  border: 1px solid rgba(115, 161, 127, 0.52);
  background: rgba(22, 30, 35, 0.9);
  color: #e7fff0;
}

#communityLiveWatchModal .community-live-comments {
  padding: 10px 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(15, 17, 20, 0.98), rgba(12, 14, 17, 0.96));
  gap: 8px;
  box-shadow: none;
}

#communityLiveWatchModal .community-live-comments .chat-msg-body {
  max-width: min(82%, 620px);
}

#communityLiveWatchModal .community-live-comments .chat-empty-state {
  min-height: 124px;
  display: grid;
  align-content: center;
  gap: 8px;
  justify-items: start;
  padding: 16px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(17, 20, 24, 0.82);
}

#communityLiveWatchModal .community-live-comments .community-empty.chat-empty-state strong {
  color: #e6ffe9;
  font-size: 15px;
}

#communityLiveWatchModal .community-live-comments .community-empty.chat-empty-state span {
  color: #9dc8a8;
  font-size: 13px;
  line-height: 1.4;
  max-width: 32ch;
}

#communityLiveWatchModal .community-live-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(18, 21, 25, 0.98), rgba(14, 17, 20, 0.96));
  padding: 4px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

#communityLiveWatchModal .community-live-compose:focus-within {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

#communityLiveWatchModal .community-live-compose input#communityLiveCommentInput,
#communityLiveWatchModal .community-live-compose textarea#communityLiveCommentInput {
  min-height: 44px;
  height: 44px;
  max-height: calc(1.35em * 3 + 18px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(28, 33, 39, 0.96);
  color: #edf2f7;
  font-size: 15px;
  line-height: 1.35;
  padding: 0 14px;
  resize: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

#communityLiveWatchModal .community-live-compose input#communityLiveCommentInput:focus,
#communityLiveWatchModal .community-live-compose textarea#communityLiveCommentInput:focus {
  outline: 0;
  border-color: rgba(110, 234, 142, 0.28);
  box-shadow: 0 0 0 2px rgba(110, 234, 142, 0.12);
}

#communityLiveWatchModal .community-live-compose input#communityLiveCommentInput::placeholder,
#communityLiveWatchModal .community-live-compose textarea#communityLiveCommentInput::placeholder {
  color: #8f9ba7;
  font-size: 14px;
}

#communityLiveWatchModal .community-live-compose .chat-send-icon-btn {
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  border-radius: 14px;
  border: 0;
  background: linear-gradient(180deg, #67d98d, #4ab873);
  color: #06170d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(74, 184, 115, 0.22);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

#communityLiveWatchModal .community-live-compose .chat-send-icon-btn:hover,
#communityLiveWatchModal .community-live-compose .chat-send-icon-btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 10px 18px rgba(74, 184, 115, 0.26);
}

#communityLiveWatchModal .community-live-compose .chat-send-icon-btn i {
  font-size: 16px;
}

#communityThreadModal .community-thread-modal-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#communityThreadModal .community-thread-modal-head {
  width: 100%;
}

#communityThreadModal .community-create {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#communityThreadModal .community-create input,
#communityThreadModal .community-create textarea {
  width: 100%;
  max-width: none;
}

#communityThreadModal .community-create button.primary {
  align-self: flex-end;
}

.create-event-prompt-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.create-type-panel {
  width: min(620px, 100%);
  gap: 12px;
  padding-top: 18px;
}

.create-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.create-type-card {
  min-height: 176px;
  border-radius: 16px;
  border: 1px solid rgba(110, 234, 142, 0.26);
  background:
    radial-gradient(circle at 12% 0%, rgba(110, 234, 142, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(18, 30, 18, 0.92), rgba(12, 21, 12, 0.88));
  color: #e9fff0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 8px;
  padding: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.create-type-card:hover {
  transform: translateY(-2px);
  border-color: rgba(140, 244, 169, 0.62);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(110, 234, 142, 0.22) inset;
}

.create-type-card:active {
  transform: translateY(0);
}

.create-type-card:focus-visible {
  outline: 2px solid rgba(140, 244, 169, 0.9);
  outline-offset: 2px;
}

.create-type-card i {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin: 0 auto 4px;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #9effba;
  background: rgba(110, 234, 142, 0.14);
  border: 1px solid rgba(110, 234, 142, 0.32);
}

.create-type-card strong {
  font-size: 20px;
  line-height: 1.08;
  font-family: "Sora", sans-serif;
}

.create-type-card span {
  font-size: 13px;
  line-height: 1.24;
  color: rgba(201, 230, 208, 0.9);
}

.create-type-card--event i {
  color: #7cf3a0;
}

.create-type-card--community i {
  color: #84f2a3;
}

.create-type-card--board i {
  color: #b1f087;
}

.create-type-card--weekly i {
  color: #9fe8ff;
}

.create-type-card--chat i {
  color: #9fd0ff;
}

.programation-panel {
  width: min(620px, 100%);
  gap: 10px;
  padding-top: 18px;
}

.programation-section {
  display: grid;
  gap: 10px;
}

.programation-detail-panel {
  width: min(760px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  gap: 10px;
  padding-top: 18px;
}

.programation-detail-head h3 {
  margin: 0;
}

.programation-detail-head .panel-sub {
  margin-top: 4px;
}

.programation-detail-image {
  width: 100%;
  height: auto;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(110, 234, 142, 0.22);
  background: rgba(9, 14, 9, 0.9);
}

.donation-prompt-panel {
  width: min(520px, 100%);
  gap: 12px;
  padding-top: 18px;
  border-color: rgba(110, 234, 142, 0.34);
  background:
    radial-gradient(circle at 80% 0%, rgba(112, 232, 145, 0.2), transparent 48%),
    linear-gradient(180deg, #111d11, #0d170f);
}

.donation-prompt-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.donation-prompt-note {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.donation-carousel-head {
  display: grid;
  gap: 10px;
}

.donation-carousel-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.donation-carousel-tabs .ghost.is-active {
  border-color: rgba(110, 234, 142, 0.56);
  background: rgba(110, 234, 142, 0.14);
  color: #dff6e6;
}

.donation-carousel-panel {
  display: grid;
  gap: 10px;
}

.post-head {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-2);
  align-items: flex-start;
}

.post-step-pill {
  font-size: 12px;
  color: #e4ddff;
  border: 1px solid rgba(130, 108, 246, 0.44);
  background: rgba(130, 108, 246, 0.18);
  border-radius: 999px;
  padding: 6px 10px;
  white-space: nowrap;
}

.post-sections {
  position: relative;
  height: var(--post-sections-height, 220px);
  min-height: 180px;
  overflow: hidden;
  border-radius: 14px;
  padding-top:10px;
  transition: height 0.24s cubic-bezier(0.2, 0.65, 0.2, 1);
}

.post-sections .post-section {
  position: absolute;
  inset: 0;
  padding-top: 8px;
  align-content: start;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transform-origin: top center;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.24s cubic-bezier(0.2, 0.65, 0.2, 1),
    clip-path 0.28s cubic-bezier(0.2, 0.65, 0.2, 1),
    filter 0.2s ease;
  clip-path: inset(0 0 100% 0 round 12px);
  filter: blur(1.5px);
}

.post-sections .post-section.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  clip-path: inset(0 0 0 0 round 12px);
  filter: blur(0);
}

.upload-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px dashed rgba(110, 234, 142, 0.35);
  border-radius: 12px;
  padding: 8px;
  background: rgba(14, 23, 14, 0.56);
}

.upload-dropzone {
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.upload-drop-hint {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.upload-dropzone.is-dragover {
  border-color: rgba(110, 234, 142, 0.72);
  background: rgba(25, 46, 26, 0.74);
  box-shadow: 0 0 0 3px rgba(110, 234, 142, 0.18);
}

.upload-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  height: 38px;
  text-align: center;
}

.upload-hint {
  font-size: 12px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#postImagePreview.profile-preview {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  margin-left: auto;
  object-fit: cover;
}

#programationImagePreview.profile-preview {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  margin-left: auto;
  object-fit: cover;
}

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

.form-actions {
  display: none;
  gap: var(--sp-2);
}

.post-actions {
  display: grid;
  grid-template-columns: minmax(130px, auto) minmax(0, 1fr);
  gap: var(--sp-2);
  position: sticky;
  bottom: 0;
  padding-top: 8px;
  background: linear-gradient(180deg, rgba(15, 25, 15, 0), rgba(15, 25, 15, 0.96) 38%);
}

.account-panel {
  gap: 12px;
}

.account-photo-picker {
  width: 112px;
  height: 112px;
  margin: 0 auto;
  border: 1px dashed rgba(110, 234, 142, 0.46);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(15, 24, 15, 0.9), rgba(10, 18, 10, 0.82));
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.account-profile-head .account-photo-picker {
  width: 84px;
  height: 84px;
  margin: 0;
}

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

.account-panel .account-identity-grid {
  display: none;
}

.account-photo-picker:hover {
  transform: translateY(-1px);
  border-color: rgba(110, 234, 142, 0.68);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.account-photo-picker.has-image .profile-preview-placeholder {
  display: none;
}

.account-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-2);
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(16, 25, 16, 0.75);
}

.account-row span {
  color: var(--text-muted);
  font-size: 13px;
}

.account-row strong {
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-row input {
  max-width: 70%;
  height: 34px;
  border-radius: 8px;
  font-size: 13px;
  padding: 0 10px;
}

.account-row button {
  height: 32px;
  border-radius: 9px;
  padding: 0 10px;
  font-size: 12px;
}

.account-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-2);
}

.account-panel .account-actions {
  grid-template-columns: 1fr;
}

.account-tabs {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: -1px;
}

.account-tabs button {
  min-height: 36px;
  border-radius: 10px 10px 0 0;
  font-size: 12px;
  white-space: nowrap;
  padding: 0 10px;
  border: 1px solid rgba(110, 234, 142, 0.26);
  border-bottom-color: rgba(110, 234, 142, 0.16);
  background: rgba(16, 25, 16, 0.64);
  color: var(--text-soft);
}

.account-tabs button.is-active {
  border-color: rgba(110, 234, 142, 0.34);
  border-bottom-color: rgba(12, 20, 12, 0.92);
  background: linear-gradient(180deg, rgba(22, 38, 22, 0.96), rgba(12, 20, 12, 0.92));
  color: #dff6e6;
  font-weight: 700;
}

.account-tab-section {
  display: grid;
  gap: 8px;
}

.account-tab-content {
  border-radius: 0 12px 12px 12px;
}

.account-tab-card {
  border: 1px solid rgba(110, 234, 142, 0.2);
  border-radius: 12px;
  background: rgba(16, 25, 16, 0.62);
  padding: 10px;
  display: grid;
  gap: 8px;
}

.account-tab-section label {
  font-size: 12px;
  color: var(--text-muted);
}

#accountSocialInstagramInput,
#accountSocialTiktokInput,
#accountSocialYoutubeInput,
.account-set-input {
  border-radius: 10px;
  background: rgba(10, 18, 10, 0.72);
}

.account-help-text {
  font-size: 11px;
  color: var(--text-muted);
}

.account-social-grid {
  gap: 10px;
}

.account-input-group {
  display: grid;
  gap: 6px;
}

.account-editor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.account-editor-row strong {
  font-size: 13px;
  color: #dff6e6;
}

.account-editor-modal-panel {
  width: min(760px, 100%);
  gap: 10px;
  padding-top: 18px;
  max-height: min(88dvh, 900px);
  overflow: auto;
}

.account-shortcuts-panel {
  width: min(740px, 100%);
  gap: 12px;
  padding-top: 18px;
  max-height: min(86dvh, 840px);
  overflow: auto;
}

.account-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.account-shortcut-card {
  min-height: 126px;
  border-radius: 14px;
  border: 1px solid rgba(110, 234, 142, 0.26);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(110, 234, 142, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(18, 30, 18, 0.95), rgba(10, 18, 11, 0.9));
  color: #e9fff0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  text-align: left;
  padding: 14px 14px 13px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.account-shortcut-card:hover,
.account-shortcut-card:focus-visible {
  border-color: rgba(110, 234, 142, 0.55);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
  transform: translateY(-1px);
}

.account-shortcut-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(110, 234, 142, 0.3);
  background: linear-gradient(180deg, rgba(31, 52, 32, 0.9), rgba(14, 24, 14, 0.85));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.account-shortcut-icon i {
  font-size: 18px;
  color: var(--primary);
  margin-right: 0;
}

.account-shortcut-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.account-shortcut-group {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9bc2a6;
}

.account-shortcut-card strong {
  font-size: 15px;
  font-family: "Sora", sans-serif;
  line-height: 1.15;
  color: #e9fff0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-shortcut-card span {
  font-size: 12px;
  color: var(--text-muted);
}

.account-shortcut-copy span {
  line-height: 1.25;
}

.account-shortcut-cta {
  align-self: end;
  font-size: 11px;
  font-weight: 700;
  color: #bdeec9 !important;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.account-shortcut-cta i {
  margin-left: 4px;
  font-size: 11px;
  color: #bdeec9;
}

.account-shortcuts-grid .account-shortcut-card[data-shortcut-index="1"] {
  grid-column: 1 / -1;
  min-height: 108px;
}

.account-shortcuts-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

.account-shortcuts-logout-btn {
  border-color: rgba(255, 132, 132, 0.28);
  color: #ffd0d0;
}

.account-shortcuts-logout-btn:hover,
.account-shortcuts-logout-btn:focus-visible {
  border-color: rgba(255, 132, 132, 0.48);
  background: rgba(79, 18, 18, 0.35);
}

.profile-settings-hub-panel {
  width: min(680px, 100%);
  gap: 10px;
  padding-top: 18px;
  max-height: min(86dvh, 860px);
  overflow: auto;
}

.profile-settings-hub-list {
  display: grid;
  gap: 10px;
}

.profile-settings-hub-item {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(110, 234, 142, 0.24);
  background: linear-gradient(180deg, rgba(16, 27, 16, 0.94), rgba(10, 18, 10, 0.9));
  color: #e9fff0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 11px 13px;
  transition: border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.profile-settings-hub-item:hover,
.profile-settings-hub-item:focus-visible {
  border-color: rgba(110, 234, 142, 0.48);
  transform: translateY(-1px);
}

.profile-settings-hub-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid rgba(110, 234, 142, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 20, 11, 0.86);
}

.profile-settings-hub-icon i {
  color: var(--primary);
  font-size: 14px;
}

.profile-settings-hub-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.profile-settings-hub-copy strong {
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-settings-hub-copy span {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.25;
}

.profile-settings-hub-go {
  font-size: 11px;
  color: #bdeec9;
  font-weight: 700;
  white-space: nowrap;
}

.profile-settings-hub-go i {
  margin-left: 4px;
}

.profile-settings-hub-item--danger {
  border-color: rgba(255, 132, 132, 0.3);
}

.profile-settings-hub-item--danger .profile-settings-hub-icon {
  border-color: rgba(255, 132, 132, 0.34);
}

.profile-settings-hub-item--danger .profile-settings-hub-icon i,
.profile-settings-hub-item--danger .profile-settings-hub-go {
  color: #ffc7c7;
}

.profile-settings-hub-item--danger:hover,
.profile-settings-hub-item--danger:focus-visible {
  border-color: rgba(255, 132, 132, 0.52);
  background: linear-gradient(180deg, rgba(35, 17, 17, 0.96), rgba(22, 10, 10, 0.92));
}

.account-sets-rows {
  display: grid;
  gap: 8px;
  max-height: min(340px, calc(100dvh - 380px));
  overflow: auto;
  padding-right: 2px;
  border: 1px solid rgba(110, 234, 142, 0.18);
  border-radius: 12px;
  padding: 8px;
  background: rgba(8, 14, 9, 0.56);
}

.account-set-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(110, 234, 142, 0.2);
  border-radius: 12px;
  background: rgba(12, 20, 12, 0.74);
  padding: 8px;
}

.account-set-input {
  border-radius: 10px;
  background: rgba(10, 18, 10, 0.72);
  min-height: 40px;
}

.account-set-index {
  min-width: 34px;
  min-height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(110, 234, 142, 0.28);
  background: rgba(8, 14, 9, 0.8);
  color: #dff6e6;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.account-set-platform {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(110, 234, 142, 0.24);
  background: rgba(12, 20, 12, 0.86);
  color: var(--text-soft);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.account-set-remove-btn {
  min-height: 34px;
  min-width: 34px;
  width: 34px;
  padding: 0;
  border-radius: 10px;
  justify-content: center;
}

.account-sets-preview-grid,
.account-social-preview-grid,
.account-sets-modal-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px;
}

.account-sets-modal-preview {
  max-height: min(240px, calc(100dvh - 420px));
  overflow: auto;
  padding-right: 2px;
  border-top: 1px solid rgba(110, 234, 142, 0.2);
  padding-top: 8px;
}

.account-preview-card {
  border: 1px solid rgba(110, 234, 142, 0.24);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(16, 25, 16, 0.86), rgba(10, 16, 10, 0.82));
  padding: 9px;
  display: grid;
  gap: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.account-preview-card:hover {
  border-color: rgba(132, 242, 163, 0.56);
}

.account-preview-card-youtube {
  border-color: rgba(255, 109, 109, 0.45);
}

.account-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.account-preview-badge {
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(110, 234, 142, 0.3);
  background: rgba(10, 18, 10, 0.9);
  color: #dff6e6;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.account-preview-open {
  min-height: 28px;
  min-width: 28px;
  border-radius: 8px;
  border: 1px solid rgba(110, 234, 142, 0.3);
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 18, 11, 0.9);
}

.account-preview-title {
  font-size: 12px;
  color: var(--text-muted);
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.account-preview-embed {
  width: 100%;
  height: 148px;
  border: 1px solid rgba(110, 234, 142, 0.22);
  border-radius: 10px;
  background: rgba(9, 14, 9, 0.9);
}

.account-preview-empty {
  border: 1px dashed rgba(110, 234, 142, 0.26);
  border-radius: 12px;
  min-height: 72px;
  padding: 10px;
  color: var(--text-muted);
  font-size: 12px;
  display: grid;
  place-items: center;
  text-align: center;
}

@media (max-width: 760px) {
  .account-set-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .account-set-platform {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .account-set-remove-btn {
    justify-self: end;
  }
}

.account-editor-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.change-username-panel {
  width: min(430px, 100%);
  gap: 10px;
  padding-top: 18px;
}

.change-username-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.change-username-delete-link {
  justify-self: end;
  font-size: 11px;
  color: rgba(232, 255, 232, 0.42);
  text-decoration: none;
}

.change-username-delete-link:hover,
.change-username-delete-link:focus-visible {
  color: rgba(255, 176, 176, 0.9);
  text-decoration: underline;
}

.delete-account-app {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
}

.delete-account-panel {
  width: min(520px, 100%);
  display: grid;
  gap: 14px;
}

.delete-account-back {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
}

.delete-account-copy {
  display: grid;
  gap: 6px;
}

.delete-account-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 176, 176, 0.82);
}

.delete-account-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 120, 120, 0.24);
  border-radius: 14px;
  background: rgba(30, 12, 12, 0.34);
}

.delete-account-meta {
  display: grid;
  gap: 4px;
}

.delete-account-meta span {
  font-size: 11px;
  color: var(--text-muted);
}

.delete-account-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.delete-account-cancel {
  display: inline-grid;
  place-items: center;
  text-decoration: none;
}

.delete-account-status.is-error {
  color: #ffb0b0;
}

.delete-account-status.is-ok {
  color: #9bf0b0;
}

.confirm-action-panel {
  width: min(440px, 100%);
  gap: 10px;
  padding-top: 18px;
}

.confirm-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.onboarding-wizard-panel {
  width: min(640px, 100%);
  display: grid;
  gap: 12px;
}

.onboarding-wizard-head h3 {
  margin: 0;
}

.onboarding-wizard-steps {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  gap: 6px;
  padding-bottom: 2px;
}

.onboarding-step-dot {
  width: 42px;
  min-width: 42px;
  height: 36px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  padding: 0;
  border: 1px solid rgba(110, 234, 142, 0.24);
  background: rgba(13, 22, 13, 0.75);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.onboarding-step-dot i {
  margin: 0 !important;
  font-size: 13px;
}

.onboarding-step-dot.is-active {
  border-color: transparent;
  background: linear-gradient(180deg, #84f2a3, #69dc8a);
  color: #0f1f12;
}

.onboarding-wizard-body {
  border: 1px solid rgba(110, 234, 142, 0.24);
  border-radius: 12px;
  background: rgba(10, 17, 10, 0.86);
  padding: 12px;
}

.onboarding-step-panel {
  display: grid;
  gap: 10px;
}

.onboarding-step-panel h4 {
  margin: 0;
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.onboarding-step-panel h4 i {
  color: rgba(132, 242, 163, 0.92);
}

.onboarding-step-panel p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
}

.onboarding-step-panel button {
  justify-self: start;
  min-height: 44px;
  border-radius: 12px;
  padding: 0 14px;
}

.onboarding-wizard-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "back skip"
    "next next";
  gap: 8px;
}

.onboarding-wizard-actions button {
  min-height: 40px;
  border-radius: 12px;
  min-width: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.onboarding-wizard-actions button i {
  margin: 0 !important;
  font-size: 14px;
}

#onboardingWizardBackBtn {
  grid-area: back;
}

#onboardingWizardSkipBtn {
  grid-area: skip;
}

#onboardingWizardNextBtn,
#onboardingWizardDoneBtn {
  grid-area: next;
  justify-self: end;
  width: 64px;
}

#confirmActionConfirmBtn.is-danger {
  background: linear-gradient(180deg, #ff8a8a, #e16060);
  color: #2b0f0f;
}

.admin-edit-user-panel {
  width: min(640px, 100%);
  gap: 10px;
  padding-top: 18px;
}

.admin-edit-user-grid {
  grid-template-columns: 1fr;
}

#adminEditUserId {
  opacity: 0.88;
}

#adminEditUserSets {
  min-height: 110px;
  resize: vertical;
}

.my-posts-panel {
  width: min(760px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}

.my-posts-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.my-posts-list {
  display: grid;
  gap: 12px;
}

.my-post-card {
  border: 1px solid rgba(110, 234, 142, 0.24);
  border-radius: 16px;
  padding: 12px 13px;
  background: linear-gradient(180deg, rgba(20, 32, 20, 0.92), rgba(12, 20, 12, 0.9));
  display: grid;
  gap: 10px;
}

.my-post-card:hover {
  border-color: rgba(110, 234, 142, 0.42);
}

.my-post-empty {
  justify-items: start;
}

.my-post-top {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 12px;
}

.my-post-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 1px solid rgba(110, 234, 142, 0.24);
  object-fit: cover;
  background: rgba(12, 20, 12, 0.9);
}

.my-post-thumb-placeholder {
  display: grid;
  place-items: center;
  color: var(--text-soft);
  font-size: 18px;
}

.my-post-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.my-post-id {
  display: inline-flex;
  width: fit-content;
  font-size: 11px;
  color: var(--text-muted);
  border: 1px solid rgba(110, 234, 142, 0.24);
  border-radius: 999px;
  padding: 2px 8px;
}

.my-post-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.28;
}

.my-post-line {
  font-size: 13px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.my-post-line i {
  color: var(--text-muted);
  font-size: 12px;
}

.my-post-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.my-post-badges {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.my-post-badge {
  border-radius: 999px;
  border: 1px solid rgba(110, 234, 142, 0.26);
  background: rgba(110, 234, 142, 0.12);
  font-size: 11px;
  color: var(--text-muted);
  padding: 2px 8px;
}

.my-post-badge.warn {
  border-color: rgba(255, 148, 148, 0.45);
  background: rgba(255, 148, 148, 0.14);
  color: #ffc8c8;
}

.my-post-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.my-post-actions button {
  height: 36px;
  font-size: 12px;
  padding: 0 9px;
  justify-content: center;
  text-align: center;
}

.reports-list {
  display: grid;
  gap: var(--sp-2);
  max-height: none;
  overflow: visible;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.admin-tab {
  min-height: 38px;
  border-radius: 11px;
  font-size: 13px;
  white-space: nowrap;
  padding: 0 12px;
  border: 1px solid rgba(110, 234, 142, 0.26);
  border-bottom-color: rgba(110, 234, 142, 0.26);
  background: rgba(16, 25, 16, 0.64);
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-tab.is-active {
  border-color: rgba(110, 234, 142, 0.34);
  background: linear-gradient(180deg, rgba(22, 38, 22, 0.96), rgba(12, 20, 12, 0.92));
  color: #dff6e6;
  font-weight: 700;
}

.admin-section {
  display: grid;
  gap: var(--sp-2);
  border: 1px solid rgba(110, 234, 142, 0.26);
  border-radius: 14px;
  padding: 12px;
  background: rgba(12, 20, 12, 0.92);
}

.admin-panel {
  width: min(1120px, 100%);
  max-height: calc(100vh - 20px);
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(18, 30, 19, 0.98), rgba(11, 19, 12, 0.98));
}

.admin-sticky {
  position: sticky;
  top: 0;
  z-index: 3;
  padding-bottom: 8px;
  background: linear-gradient(180deg, rgba(17, 28, 17, 0.96), rgba(17, 28, 17, 0.7) 70%, rgba(17, 28, 17, 0));
}

.admin-kpis-toggle {
  display: none;
  min-height: 36px;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  align-items: center;
  gap: 8px;
}

.admin-kpis-toggle i {
  margin-right: 0;
}

.admin-zone-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.admin-zone-head h4 {
  margin: 0;
  font-size: 16px;
  font-family: "Sora", sans-serif;
}

.admin-zone-sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.admin-zone-filters {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(122, 241, 160, 0.3);
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(13, 22, 14, 0.95), rgba(9, 15, 9, 0.9));
  box-shadow: inset 0 1px 0 rgba(190, 255, 212, 0.06), 0 8px 20px rgba(0, 0, 0, 0.24);
}

.admin-zone-filters .form-grid {
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.admin-zone-filters .form-grid > * {
  min-width: 0;
}

.admin-zone-filters input,
.admin-zone-filters select {
  width: 100%;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(122, 241, 160, 0.28);
  background: linear-gradient(180deg, rgba(16, 28, 19, 0.95), rgba(10, 16, 10, 0.9));
  box-shadow: inset 0 1px 0 rgba(190, 255, 212, 0.07), 0 6px 16px rgba(0, 0, 0, 0.22);
  padding: 0 14px;
}

.admin-zone-filters input::placeholder {
  color: rgba(188, 225, 195, 0.72);
}

.admin-zone-filters input:focus,
.admin-zone-filters select:focus {
  border-color: rgba(125, 244, 163, 0.66);
  box-shadow: inset 0 1px 0 rgba(210, 255, 224, 0.1), 0 0 0 4px rgba(110, 234, 142, 0.12), 0 10px 24px rgba(0, 0, 0, 0.3);
}

.admin-zone-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.admin-zone-actions button {
  height: 44px;
  border-radius: 999px;
  padding: 0 16px;
  font-weight: 700;
}

.admin-zone-actions .primary {
  border-color: transparent;
  background: linear-gradient(180deg, #84f2a3, #69dc8a);
  color: #0f1f12;
}

.admin-zone-actions .ghost {
  border-color: rgba(122, 241, 160, 0.28);
  background: rgba(14, 23, 14, 0.9);
}

.admin-zone-body {
  border: 1px solid rgba(110, 234, 142, 0.24);
  border-radius: 12px;
  padding: 10px;
  background: rgba(9, 15, 9, 0.78);
  min-height: 120px;
}

.admin-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-2);
}

.admin-kpi {
  border: 1px solid rgba(110, 234, 142, 0.32);
  border-radius: 12px;
  padding: 8px 11px;
  background: rgba(19, 31, 20, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.admin-kpi span {
  font-size: 12px;
  color: var(--text-muted);
}

.admin-kpi strong {
  font-family: "Sora", sans-serif;
  font-size: 17px;
}

.admin-filter-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.admin-row {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(16, 24, 16, 0.78);
}

.admin-block-row {
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.admin-block-avatar {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(110, 234, 142, 0.32);
  background: rgba(11, 17, 11, 0.9);
}

.admin-block-avatar-placeholder {
  display: grid;
  place-items: center;
  color: var(--text-soft);
  font-size: 16px;
}

.admin-block-content {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.admin-row-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.admin-row-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-row-actions button {
  padding: 8px 11px;
  font-size: 12px;
  border-color: rgba(110, 234, 142, 0.32);
  background: rgba(16, 26, 17, 0.82);
}

.admin-row-actions button:hover {
  border-color: rgba(110, 234, 142, 0.55);
  background: rgba(23, 36, 24, 0.92);
}

.admin-row-actions button.danger {
  border-color: rgba(255, 118, 118, 0.7);
  background: rgba(58, 16, 16, 0.85);
  color: #ffdcdc;
}

.admin-row-actions button.danger:hover {
  border-color: rgba(255, 144, 144, 0.86);
  background: rgba(72, 20, 20, 0.9);
}

.admin-post-card,
.admin-user-card,
.admin-report-card {
  border: 1px solid rgba(110, 234, 142, 0.28);
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(20, 32, 20, 0.94), rgba(12, 20, 13, 0.92));
  display: grid;
  gap: 10px;
}

.admin-post-head,
.admin-user-head,
.admin-report-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.admin-post-title,
.admin-user-title,
.admin-report-title {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.admin-inline-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.admin-empty {
  border: 1px dashed rgba(110, 234, 142, 0.34);
  border-radius: 12px;
  padding: 16px;
  color: var(--text-muted);
  text-align: center;
  background: rgba(13, 22, 13, 0.7);
}

.admin-post-body,
.admin-user-body {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
}

.admin-promo-row .admin-post-head {
  align-items: center;
}

.admin-promo-preview-wrap {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.admin-promo-preview-card {
  width: min(280px, 100%);
  min-height: 360px;
}

.admin-promo-preview-card .card-ad-click-cover[disabled] {
  cursor: default;
}

.admin-promo-preview-card .card-ad-click-cover[disabled]:hover {
  transform: none;
  filter: none;
}

@media (max-width: 860px) {
  .admin-promo-preview-wrap {
    grid-template-columns: 1fr;
  }
  .admin-promo-preview-card {
    width: 100%;
    max-width: 320px;
  }
}

.admin-post-thumb,
.admin-user-avatar {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(110, 234, 142, 0.28);
  background: rgba(11, 17, 11, 0.88);
}

.admin-post-thumb-placeholder,
.admin-user-avatar-placeholder {
  display: grid;
  place-items: center;
  color: var(--text-soft);
  font-size: 18px;
}

.admin-post-content,
.admin-user-content {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.admin-users-toolbar {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(110, 234, 142, 0.22);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(12, 22, 12, 0.88), rgba(8, 14, 8, 0.78));
  padding: 10px;
}

.admin-users-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.admin-users-stat {
  border: 1px solid rgba(110, 234, 142, 0.24);
  border-radius: 10px;
  background: rgba(14, 24, 14, 0.72);
  padding: 8px;
  display: grid;
  gap: 2px;
  text-align: center;
}

.admin-users-stat b {
  font-family: "Sora", sans-serif;
  font-size: 16px;
  color: #ecffef;
}

.admin-users-stat small {
  font-size: 11px;
  letter-spacing: 0.03em;
  color: #a7ceb2;
}

.admin-users-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-users-density,
.admin-users-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-users-density button,
.admin-users-quick-filters button {
  min-height: 34px;
  border-radius: 999px;
  padding: 0 11px;
  font-size: 12px;
}

.admin-users-density button.is-active {
  border-color: rgba(132, 242, 163, 0.64);
  background: linear-gradient(180deg, rgba(44, 75, 47, 0.96), rgba(24, 41, 25, 0.94));
  color: #f0fff3;
}

.admin-users-quick-filters button.is-active {
  border-color: rgba(132, 242, 163, 0.64);
  background: linear-gradient(180deg, rgba(44, 75, 47, 0.96), rgba(24, 41, 25, 0.94));
  color: #f0fff3;
}

.admin-users-table-wrap {
  display: block;
  border: 1px solid rgba(110, 234, 142, 0.24);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(12, 22, 12, 0.86), rgba(8, 14, 8, 0.78));
  overflow-x: auto;
}

.admin-users-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  border-spacing: 0;
}

.admin-users-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  text-align: left;
  padding: 11px 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #a7d0b3;
  background: rgba(12, 20, 12, 0.96);
  border-bottom: 1px solid rgba(110, 234, 142, 0.2);
}

.admin-users-table td {
  padding: 10px;
  vertical-align: top;
  border-bottom: 1px solid rgba(110, 234, 142, 0.12);
}

.admin-users-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-users-table-row.is-blocked {
  background: rgba(48, 18, 18, 0.36);
}

.admin-user-table-user {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.admin-user-table-avatar {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(110, 234, 142, 0.24);
  background: rgba(12, 22, 12, 0.86);
}

.admin-user-table-avatar-placeholder {
  display: grid;
  place-items: center;
  color: #a7ceb2;
}

.admin-user-table-user-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-user-table-user-copy b,
.admin-user-table-user-copy span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-user-table-user-copy b {
  font-size: 13px;
  color: #f2fff4;
}

.admin-user-table-user-copy span {
  font-size: 12px;
  color: #a7ceb2;
}

.admin-user-table-pills,
.admin-user-table-metrics,
.admin-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-table-actions button {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  white-space: nowrap;
}

.admin-users-cards {
  display: none;
}

.admin-users-list {
  display: grid;
  gap: 10px;
}

.admin-users-list.is-compact {
  gap: 8px;
}

.admin-user-card.is-blocked {
  border-color: rgba(255, 128, 128, 0.34);
  background: linear-gradient(180deg, rgba(34, 18, 18, 0.78), rgba(20, 12, 12, 0.7));
}

.admin-user-head {
  align-items: center;
}

.admin-user-head-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.admin-user-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.admin-user-title strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #eaffef;
}

.admin-user-subline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #b4d8bf;
}

.admin-user-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.admin-user-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.admin-user-kpis {
  gap: 6px;
}

.admin-users-list.is-compact .admin-user-card {
  padding: 10px;
  gap: 8px;
}

.admin-users-list.is-compact .admin-user-body {
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px;
}

.admin-users-list.is-compact .admin-user-avatar {
  width: 54px;
  height: 54px;
}

.admin-users-list.is-compact .admin-user-meta-grid {
  grid-template-columns: 1fr 1fr;
}

.admin-users-list.is-compact .admin-row-actions button {
  padding: 7px 10px;
}

.admin-report-post {
  font-size: 18px;
  line-height: 1.25;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.admin-report-details {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
}

.admin-report-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-report-body {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.admin-report-thumb {
  width: 112px;
  height: 112px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(110, 234, 142, 0.34);
  background: rgba(11, 17, 11, 0.88);
}

.admin-report-thumb-placeholder {
  display: grid;
  place-items: center;
  color: rgba(173, 201, 180, 0.65);
  font-size: 22px;
  background: linear-gradient(180deg, rgba(15, 24, 16, 0.95), rgba(10, 16, 10, 0.9));
}

.admin-report-content {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.admin-report-reason {
  text-transform: capitalize;
}

.admin-report-actions button {
  min-height: 42px;
}

.admin-report-card {
  border-color: rgba(110, 234, 142, 0.36);
  box-shadow: inset 0 1px 0 rgba(190, 255, 212, 0.05);
}

.admin-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-pill {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(110, 234, 142, 0.12);
  font-size: 11px;
  padding: 3px 8px;
  color: var(--text-muted);
}

.admin-pill.warn {
  border-color: rgba(244, 111, 111, 0.45);
  background: rgba(244, 111, 111, 0.14);
  color: #ffb0b0;
}

.admin-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}

.admin-footer {
  display: flex;
  justify-content: flex-end;
  position: sticky;
  bottom: 0;
  padding-top: 6px;
  background: linear-gradient(180deg, rgba(20, 32, 20, 0), rgba(20, 32, 20, 0.96) 34%);
}

.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  font-size: 26px;
  line-height: 1;
  padding: 0;
  border: 0;
  color: #0f1d11;
  background: linear-gradient(180deg, #81f0a0, #6eea8e);
  box-shadow: 0 12px 24px rgba(110, 234, 142, 0.33);
}

.fab:hover {
  transform: translateY(-2px) scale(1.02);
}

.toast-root {
  position: fixed;
  right: 12px;
  bottom: 84px;
  z-index: 60;
  display: grid;
  gap: var(--sp-2);
  width: min(360px, calc(100vw - 24px));
}

.toast {
  border: 1px solid var(--line);
  background: rgba(14, 23, 14, 0.96);
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 13px;
  color: var(--text);
  box-shadow: var(--shadow);
  animation: fade-up 0.2s ease;
}

.social-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 58;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.social-fab:hover {
  transform: translateY(-2px) scale(1.03);
  filter: saturate(1.05);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4);
}

.social-fab:focus-visible {
  outline: 2px solid rgba(232, 255, 232, 0.85);
  outline-offset: 2px;
}

.whatsapp-fab {
  color: #ffffff;
  background: linear-gradient(180deg, #27d366, #1fb157);
}

.toast.error {
  border-color: rgba(244, 111, 111, 0.45);
}

.skeleton {
  overflow: hidden;
}

.sk-line {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(95, 122, 95, 0.22), rgba(125, 153, 125, 0.45), rgba(95, 122, 95, 0.22));
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
  margin-bottom: var(--sp-2);
}

.sk-title {
  height: 18px;
  width: 72%;
}

.sk-short {
  width: 48%;
}

.sk-chips {
  display: flex;
  gap: var(--sp-2);
}

.sk-chips span {
  width: 68px;
  height: 22px;
  border-radius: 999px;
  background: rgba(130, 108, 246, 0.2);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  100% {
    background-position: -200% 0;
  }
}

@keyframes feed-glow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 220% 50%;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes topbar-chips-reveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 760px) {
  .feed {
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  }

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

  .fab {
    display: none;
  }

  .detail-panel {
    width: min(980px, 100%);
  }

  .detail-layout {
    grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
  }

  .detail-image {
    position: sticky;
    top: 0;
    max-height: calc(100vh - 100px);
  }

  .social-fab {
    right: 20px;
    bottom: 20px;
  }
}

@media (max-width: 900px) {
  .topbar-main {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    row-gap: 0;
  }

  .search-cluster {
    display: flex;
    min-width: 0;
    grid-column: 2 / 3;
    align-items: center;
  }

  .topbar-actions {
    justify-content: flex-end;
  }

  .hero {
    padding: var(--sp-4);
  }
}

@media (max-width: 760px) {
  .onboarding-wizard-panel {
    gap: 10px;
  }

  .onboarding-wizard-steps {
    gap: 6px;
    scrollbar-width: thin;
  }

  .onboarding-step-dot {
    flex: 0 0 auto;
  }

  .onboarding-wizard-actions {
    grid-template-columns: auto auto 1fr;
    grid-template-areas: "back skip next";
    align-items: stretch;
  }

  #onboardingWizardBackBtn,
  #onboardingWizardSkipBtn {
    min-width: 44px;
  }

  #onboardingWizardNextBtn,
  #onboardingWizardDoneBtn {
    min-width: 56px;
  }

  .community-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "stats"
      "layout";
  }

  .app {
    padding-bottom: calc(var(--sp-7) + 90px);
  }

  .main-tabs-shell {
    display: flex;
    flex-wrap: nowrap;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    margin: 0;
    padding: 0 0 env(safe-area-inset-bottom);
    border-radius: 0;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(8px);
    gap: 0;
    border: 0;
  }

  .main-tab-btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-size: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .main-tab-btn i {
    width: auto;
    line-height: 1;
    font-size: 18px;
    margin-right: 0;
  }

  .main-tab-btn span {
    display: none;
  }

  .social-fab {
    bottom: 125px;
  }

  .community-thread-head {
    display: grid;
    gap: 2px;
  }

  .community-toolbar {
    width: 100%;
  }

  .community-search-addon-right span {
    display: none;
  }

  .community-create {
    justify-items: stretch;
  }

  .community-create button.primary {
    justify-self: stretch;
    width: 100%;
  }

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

  .community-thread-detail-modal-panel {
    width: min(100%, 760px);
    max-height: calc(100dvh - 14px);
    border-radius: 16px;
  }

  .community-threads {
    gap: 0;
    max-height: none;
  }

  .community-head {
    align-items: flex-start;
    gap: 10px;
  }

  .community-subtabs {
    display: grid;
    width: 100%;
  }

  .community-head-actions {
    width: 100%;
  }

  .community-head-actions .community-create-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    border-radius: 16px;
  }

  .community-live-history-modal-panel {
    width: min(100%, 760px);
  }

  .community-live-history-card-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .community-subtab {
    flex: 1 1 0;
    text-align: center;
    justify-content: center;
    min-height: 48px;
  }

  .community-live-modal-actions {
    flex-direction: column;
  }

  .community-live-inline-note {
    padding: 11px 12px;
    font-size: 12px;
  }

  .community-live-mic-meter {
    height: 9px;
  }

  .community-live-preview-frame {
    padding: 10px 10px;
  }

  .community-live-card {
    padding: 14px;
    gap: 12px;
    max-width: none;
  }

  .community-lives {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .community-live-card-author .community-avatar {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }

  .community-live-card-copy strong {
    font-size: 24px;
  }

  .community-live-card-body h4 {
    font-size: 30px;
  }

  .community-live-watch-frame {
    min-height: 220px;
  }

  .community-live-stage {
    padding: 12px;
    border-radius: 20px;
  }

  .community-live-stage-head strong {
    font-size: 20px;
  }

  .community-live-stage .community-live-watch-frame {
    border-radius: 20px;
  }

  .community-live-stage-overlay {
    padding: 12px;
  }

  .community-live-stage-copy {
    max-width: 100%;
    padding: 10px 12px;
  }

  .community-live-stage-controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  .community-live-room-layout {
    grid-template-columns: 1fr;
  }

  .community-live-room-chat {
    min-height: 320px;
  }

  .community-live-card-top {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .community-live-badge {
    justify-self: start;
  }

  .community-live-card-body h4 {
    font-size: 18px;
  }

  .community-live-card-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .community-live-card-actions button {
    padding: 0;
    min-width: 0;
    justify-content: center;
  }

  .community-live-card-actions button i {
    margin: 0;
  }

  .community-live-card-actions button {
    font-size: 0;
  }

  .community-live-card-actions button i {
    font-size: 16px;
  }

  .community-starter-rail {
    padding: 12px;
    border-radius: 16px;
  }

  .community-starter-list,
  .detail-discovery-list {
    grid-template-columns: 1fr;
  }

  .community-starter-card {
    min-height: 0;
    padding: 12px;
  }

  .detail-discovery-card {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
  }

  .detail-discovery-card-image,
  .detail-discovery-card-image-fallback {
    height: 78px;
  }

  .community-head-copy h3 {
    font-size: 24px;
  }

  .community-create-btn {
    min-height: 40px;
    padding: 0 13px;
  }

  .community-thread-item {
    min-height: 124px;
    padding: 10px 11px;
    gap: 7px;
  }

  .community-thread-item,
  .community-thread-item-top,
  .community-thread-item-head,
  .community-thread-item-meta-row,
  .community-thread-item-meta-right {
    min-width: 0;
  }

  .community-thread-item-head h4 {
    font-size: 15px;
  }

  .community-thread-item-preview {
    font-size: 13px;
  }

  .community-thread-item-meta-row {
    align-items: flex-start;
    gap: 8px;
  }

  .community-thread-item-meta {
    min-width: 0;
    white-space: normal;
  }

  .community-thread-item-meta-right {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    padding-bottom: 2px;
  }

  .community-thread-badge,
  .community-thread-item-replies {
    max-width: 100%;
    flex: 0 1 auto;
  }

  .community-thread-badge--hot,
  .community-thread-item-replies {
    white-space: nowrap;
  }

  .board-head h3 {
    font-size: 22px;
  }

  .board-create {
    position: static;
    top: auto;
  }

  #boardAdModal .community-thread-modal-panel {
    width: min(100%, 760px);
  }

  #boardAdModal .board-create {
    width: 100%;
    padding: 10px;
  }

  .board-create .form-grid {
    grid-template-columns: 1fr;
  }

  .board-ads {
    grid-template-columns: 1fr;
  }

  .board-ad-author {
    align-items: flex-start;
  }

  .board-ad-type {
    margin-top: 2px;
  }

  .board-contact-btn {
    width: 100%;
  }

  .chat-head h3 {
    font-size: 24px;
  }

  .chat-card {
    min-height: calc(100dvh - 190px);
  }

  .chat-head p {
    font-size: 13px;
    margin-top: 4px;
  }

  .chat-sidebar {
    padding: 10px;
    gap: 10px;
    min-height: 0;
  }

  .chat-section-label {
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .chat-private-modal-panel {
    width: 100%;
    height: calc(var(--chat-private-vh, 100dvh) - env(safe-area-inset-top));
    max-height: calc(var(--chat-private-vh, 100dvh) - env(safe-area-inset-top));
    min-height: calc(var(--chat-private-vh, 100dvh) - env(safe-area-inset-top));
    border-radius: 14px 14px 0 0;
    margin-top: env(safe-area-inset-top);
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    overflow: hidden;
  }

  .chat-user-results {
    max-height: 190px;
  }

  .chat-conversations {
    height: 100%;
    max-height: none;
    min-height: 0;
  }

  .chat-messages {
    max-height: none;
    min-height: 220px;
    height: clamp(220px, calc(var(--chat-private-vh, 100dvh) - 470px), 420px);
  }

  .chat-compose {
    grid-template-columns: 1fr;
    position: sticky;
    bottom: calc(12px + env(safe-area-inset-bottom) + 72px);
    z-index: 3;
    padding: 8px;
    border: 1px solid rgba(110, 234, 142, 0.24);
    border-radius: 12px;
    background: rgba(8, 14, 9, 0.92);
    backdrop-filter: blur(6px);
  }

  .chat-thread {
    min-height: calc(var(--chat-private-vh, 100dvh) - 280px);
  }

  .chat-private-modal-panel .chat-messages {
    height: 100%;
    min-height: 0;
    max-height: 100%;
  }

  .chat-private-modal-panel .chat-compose {
    display: flex;
    align-items: center;
    gap: 8px;
    grid-template-columns: none;
    position: static;
    bottom: auto;
    z-index: auto;
    padding: 2px;
    border-radius: 16px;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  body.keyboard-open .chat-private-modal-panel .chat-compose {
    margin-bottom: 8px;
  }

  .chat-private-modal-panel .chat-compose textarea {
    flex: 1 1 auto;
    min-width: 0;
    border-radius: 14px;
  }

  .chat-private-modal-panel .chat-compose .chat-send-icon-btn {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 14px;
  }

  .instagram-follow-head {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .instagram-follow-actions {
    justify-content: center;
  }

  .modal {
    justify-content: center;
    align-items: center;
    padding: 8px;
  }

  #chatPrivateModal.modal {
    justify-content: center;
    align-items: flex-start;
    padding: 0;
  }

  .detail-panel {
    max-height: calc(100vh - 16px);
    padding: 14px;
  }

  .community-thread-modal-panel {
    width: min(100%, 500px);
    padding: 14px;
    gap: 10px;
  }

  #communityLiveModal .community-thread-modal-panel {
    width: min(100%, 500px);
  }

  #communityLiveModal .community-live-setup-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  #communityLiveModal .community-live-preview-head {
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  #communityLiveModal .community-live-preview-head .community-action-btn-inline {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  #communityLiveModal .community-live-preview-frame {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  #communityLiveModal .community-live-preview-empty-inline {
    white-space: normal;
  }

  #communityLiveWatchModal .community-live-watch-panel {
    width: min(100%, 1100px);
    height: calc(100dvh - 16px);
    max-height: calc(100dvh - 16px);
    padding: 12px;
  }

  #communityLiveWatchModal .community-create {
    justify-content: flex-start;
  }

  #communityLiveWatchModal .community-live-room-layout {
    flex: 1 1 auto;
    width: 100%;
    margin: 0;
  }

  #boardAdModal.modal {
    align-items: flex-start;
    padding: 6px 6px calc(8px + env(safe-area-inset-bottom));
  }

  #boardAdModal .community-thread-modal-panel {
    width: min(100%, 520px);
    max-height: calc(100dvh - 12px - env(safe-area-inset-top));
    padding: 12px 10px calc(12px + env(safe-area-inset-bottom));
    overflow-y: auto;
  }

  #boardImageDropZone {
    min-height: 160px;
  }

  #boardImagePreview.profile-preview {
    height: 180px;
    min-height: 180px;
    max-height: 220px;
  }

  .community-thread-modal-head {
    padding-right: 40px;
  }

  #communityLiveModal .community-thread-modal-head {
    padding-right: 40px;
  }

  #communityLiveWatchModal .community-thread-modal-head {
    padding-right: 40px;
  }

  #communityLiveWatchModal.modal {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
  }

  #communityLiveWatchModal .community-live-watch-panel {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    padding:
      calc(10px + env(safe-area-inset-top))
      10px
      calc(10px + env(safe-area-inset-bottom));
    gap: 12px;
    border-left: 0;
    border-right: 0;
  }

  #communityLiveWatchModal .community-thread-modal-head {
    padding-right: 54px;
  }

  #communityLiveWatchModal .community-thread-modal-head h3 {
    font-size: 24px;
    line-height: 1.05;
  }

  #communityLiveWatchModal .community-thread-modal-head .panel-sub {
    font-size: 14px;
  }

  #communityLiveWatchModal .community-create {
    flex: 1 1 auto;
    min-height: 0;
  }

  #communityLiveWatchModal .community-live-room-layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    height: 100%;
  }

  #communityLiveWatchModal .community-live-room-main {
    min-height: 0;
  }

  #communityLiveWatchModal .community-live-stream-shell {
    border-radius: 20px;
    gap: 10px;
  }

  #communityLiveWatchModal .community-live-stage-head {
    align-items: flex-start;
    gap: 8px;
  }

  #communityLiveWatchModal .community-live-stage-head strong {
    font-size: 16px;
  }

  #communityLiveWatchModal .community-live-stage-kicker {
    min-height: 22px;
    font-size: 10px;
  }

  #communityLiveWatchModal .community-live-watch-frame {
    min-height: clamp(190px, 31dvh, 300px);
    border-radius: 18px;
  }

  #communityLiveWatchModal .community-live-stage-overlay {
    padding: 12px;
  }

  #communityLiveWatchModal .community-live-stage-copy {
    max-width: min(78%, 260px);
    padding: 10px 12px;
    border-radius: 16px;
  }

  #communityLiveWatchModal .community-live-stage-copy strong {
    font-size: 14px;
  }

  #communityLiveWatchModal .community-live-stage-copy span {
    font-size: 11px;
  }

  #communityLiveWatchModal .community-live-stage-control {
    min-height: 38px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 13px;
  }

  #communityLiveWatchModal .community-live-preview-status {
    font-size: 13px;
  }

  #communityLiveWatchModal .community-live-stage-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: stretch;
  }

  #communityLiveWatchModal .community-live-room-chat {
    min-height: 0;
    height: 100%;
    max-height: none;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border-radius: 18px;
    padding: 8px;
    gap: 8px;
  }

  #communityLiveWatchModal .community-live-room-chat-head strong {
    font-size: 15px;
  }

  #communityLiveWatchModal .community-live-comments {
    min-height: 0;
    height: 100%;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
    border-radius: 16px;
  }

  #communityLiveWatchModal .community-live-comments .community-empty.chat-empty-state {
    min-height: 128px;
    padding: 12px;
    border-radius: 14px;
  }

  #communityLiveWatchModal .community-live-comments .community-empty.chat-empty-state strong {
    font-size: 14px;
  }

  #communityLiveWatchModal .community-live-comments .community-empty.chat-empty-state span {
    font-size: 12px;
  }

  #communityLiveWatchModal .community-live-compose {
    margin-top: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: stretch;
    gap: 6px;
    position: static;
    bottom: auto;
    z-index: auto;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(18, 21, 25, 0.98), rgba(14, 17, 20, 0.96));
  }

  #communityLiveWatchModal .community-live-compose input#communityLiveCommentInput,
  #communityLiveWatchModal .community-live-compose textarea#communityLiveCommentInput {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    height: 44px;
    max-height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(28, 33, 39, 0.96);
    font-size: 15px;
    padding: 0 12px;
  }

  #communityLiveWatchModal .community-live-compose .chat-send-icon-btn {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    border-radius: 12px;
  }

  .community-thread-modal-head h3 {
    font-size: 28px;
  }

  .topbar {
    gap: 10px;
    padding: 10px;
    border-radius: 0 0 14px 14px;
    --topbar-chips-progress: 0;
  }

  .brand {
    padding: 0;
    min-width: 0;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .topbar-main {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 8px;
    row-gap: 0;
  }

  .search-cluster {
    display: flex;
    width: 100%;
    min-width: 0;
    grid-column: 2 / 3;
  }

  .topbar-actions {
    width: auto;
    justify-content: flex-end;
    gap: 6px;
    align-items: center;
    flex-wrap: nowrap;
  }

  .brand {
    min-height: 36px;
    align-items: center;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-mini {
    display: inline;
  }

  #profileBtn {
    width: 50px;
    min-width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
  }

  #profileBtn i {
    margin-right: 0;
    font-size: 14px;
  }

  .topbar-cats {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-top: calc(6px * (1 - var(--topbar-chips-progress, 0)));
    padding-right: 2px;
    padding-bottom: calc(4px * (1 - var(--topbar-chips-progress, 0)));
    padding-left: 2px;
    transform-origin: top center;
    will-change: transform, opacity;
    max-height: calc(56px * (1 - var(--topbar-chips-progress, 0)));
    opacity: calc(1 - var(--topbar-chips-progress, 0));
    transform: translateY(calc(-8px * var(--topbar-chips-progress, 0)));
    transition: max-height 0.22s ease, opacity 0.18s ease, transform 0.22s ease, padding 0.2s ease;
    overflow-y: hidden;
  }

  .topbar.chips-hidden .topbar-cats {
    pointer-events: none;
  }

  .topbar-chip {
    width: auto;
    text-align: center;
    white-space: nowrap;
  }

  .logo {
    font-size: 15px;
  }

  .sublogo {
    font-size: 11px;
  }

  .search-wrap input {
    font-size: 14px;
  }

  .search-group {
    height: 40px;
  }

  .community-filters-dropdown {
    top: calc(100% + 6px);
    right: 0;
    left: auto;
    width: min(360px, calc(100vw - 24px));
    max-height: min(70vh, 420px);
    padding: 10px;
    border-radius: 12px;
  }

  .community-filters-grid {
    gap: 9px;
  }

  .search-addon-btn {
    width: 36px;
    min-width: 36px;
  }

  .filters {
    grid-template-columns: 1fr;
    box-shadow: var(--shadow);
    background: rgba(14, 24, 14, 0.95);
  }

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

  .feed-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .feed-view-toggle {
    justify-content: flex-end;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .feed-view-toggle button {
    white-space: nowrap;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .feed.is-list .card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    grid-template-areas:
      "image meta"
      "image header"
      "image summary"
      "image chips";
    align-items: start;
    column-gap: 10px;
    row-gap: 6px;
    padding: 0;
  }

  .feed.is-list .card.card-ad {
    grid-template-columns: 108px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 6px;
  }

  .feed.is-list .card.card-ad .card-summary,
  .feed.is-list .card.card-ad .card-ad-hero-image {
    min-height: 138px !important;
  }

  .feed.is-calendar {
    grid-template-columns: 1fr;
    overflow: visible;
    padding-bottom: 0;
    gap: 8px;
  }

  .feed.is-calendar .feed-calendar-board {
    overflow: hidden;
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 14px;
    padding: 6px;
  }

  .feed.is-calendar .feed-calendar-grid-head,
  .feed.is-calendar .feed-calendar-grid-days {
    min-width: 0;
    width: 100%;
  }

  .feed.is-calendar .feed-calendar-cell {
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 10px;
    padding: 6px 5px 5px;
  }

  .feed.is-calendar .feed-calendar-side {
    order: 2;
  }

  .feed.is-calendar .feed-calendar-board {
    padding: 8px;
  }

  .feed.is-calendar .feed-calendar-board-head {
    margin-bottom: 6px;
  }

  .feed.is-calendar .feed-calendar-board-head h3 {
    font-size: clamp(28px, 9.4vw, 42px);
  }

  .feed.is-calendar .feed-calendar-year {
    font-size: 11px;
  }

  .feed.is-calendar .feed-calendar-weekday {
    font-size: 12px;
    padding: 5px 0;
  }

  .feed.is-calendar .feed-calendar-day-number {
    font-size: 14px;
  }

  .feed.is-calendar .feed-calendar-count {
    min-width: 19px;
    height: 19px;
    font-size: 10px;
    padding: 0 4px;
    margin-top: 2px;
  }

  .feed.is-list .card.no-image {
    grid-template-columns: 1fr;
    grid-template-areas:
      "meta"
      "header"
      "summary"
      "chips";
  }

  .feed.is-list .card-image {
    grid-area: image;
    width: 100%;
    height: 100%;
    min-height: 138px;
    max-height: none;
    object-fit: cover;
    margin: 0;
    border-right: 1px solid var(--line);
    background: rgba(8, 12, 8, 0.82);
  }

  .feed.is-list .card-floating-meta {
    margin: 10px 10px 0 0;
    gap: 8px;
    padding-right: 44px;
  }

  .feed.is-list .card-headline {
    padding-right: 10px;
  }

  .feed.is-list .card .chips {
    padding: 0 10px 10px 0;
  }

  .feed.is-list .card-summary {
    padding-right: 10px;
  }

  .feed.is-list .card.no-image .card-floating-meta {
    margin: 10px 10px 0;
  }

  .feed.is-list .card.no-image .card-headline {
    padding: 0 10px;
  }

  .feed.is-list .card.no-image .card-summary {
    padding: 0 10px;
  }

  .feed.is-list .card.no-image .chips {
    padding: 0 10px 10px;
  }

  .feed.is-list .card-options-btn {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 10px;
    font-size: 18px;
    background: rgba(15, 24, 15, 0.9);
  }

  .card {
    --card-pad: 12px;
    padding: 12px;
  }

  .feed:not(.is-list) .card {
    width: min(100%, 260px);
    max-width: 260px;
    margin-inline: auto;
    justify-self: center;
  }

  .feed:not(.is-list) .card.card-ad {
    width: min(100%, 260px);
    max-width: 260px;
  }

  .feed:not(.is-list) .card.card-ad .card-ad-hero-image {
    min-height: 0;
  }

  .feed:not(.is-list) .card.card-clickable {
    min-height: 0;
  }

  .feed:not(.is-list) .card-image {
    width: calc(100% + 24px);
    margin-left: -12px;
    margin-top: -12px;
    margin-bottom: 10px;
    height: clamp(210px, 44vh, 320px);
    max-height: 320px;
    min-height: 0;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    background: rgba(8, 12, 8, 0.82);
  }

.feed:not(.is-list) .card.card-ad .card-summary {
  height: 100%;
  min-height: 100%;
}

.feed:not(.is-list) .card.card-ad .card-ad-click-cover {
  height: 100%;
  min-height: 100%;
}

.feed:not(.is-list) .card.card-ad .card-ad-hero-image {
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto !important;
  max-height: none;
  margin: 0;
  border-radius: 0;
}

  .title {
    font-size: 17px;
  }

  .meta,
  .desc {
    font-size: 13px;
  }

  .chips span {
    font-size: 11px;
  }

  .app {
    width: min(1200px, 100% - 16px);
  }

  .ad-inquiry-grid-two {
    grid-template-columns: 1fr;
  }

  .auth-steps {
    display: flex;
    grid-template-columns: none;
  }

  #authModal.modal {
    align-items: center;
  }

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

.admin-tabs {
  display: grid;
  grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 6px;
    gap: 8px;
    scrollbar-width: thin;
  }

  .admin-tab {
    min-height: 40px;
    border-radius: 12px;
  }

  .admin-panel-head {
    align-items: center;
  }

  .post-tabs {
    gap: 4px;
  }

  .post-panel {
    padding: 14px 12px 12px;
  }

  .post-panel .post-head h3 {
    font-size: clamp(24px, 8.6vw, 34px);
  }

  .post-panel .panel-sub {
    font-size: 15px;
    line-height: 1.25;
  }

  .post-tab-shell {
    padding: 8px 8px 6px;
  }

  #postTabInfo {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  #postTabInfo > label {
    margin-bottom: 0;
  }

  #postTabInfo #postImageDropZone {
    margin-top: 0;
    min-height: 230px;
  }

  #postTabInfo #postDescription {
    min-height: 156px;
  }

  .change-owner-grid {
    grid-template-columns: 1fr;
  }

  .create-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .create-type-card {
    min-height: 132px;
    padding: 14px 12px;
  }

  .create-type-card i {
    width: 48px;
    height: 48px;
    font-size: 22px;
    border-radius: 12px;
    margin-bottom: 2px;
  }

  .create-type-card strong {
    font-size: 17px;
  }

  .create-type-card span {
    font-size: 14px;
  }

  .programations-rail {
    grid-auto-columns: 148px;
  }

  .post-head {
    display: grid;
    gap: 6px;
  }

  .post-quick-layout,
  .post-advanced-grid,
  .post-quick-location-grid,
  .post-price-quick-row {
    grid-template-columns: 1fr;
  }

  .post-quick-image {
    min-height: 0;
    order: 2;
  }

  .post-quick-main {
    order: 1;
    gap: 8px;
  }

  #postModal .post-location-map {
    height: 132px;
  }

  #postModal #postSections.post-sections-quick {
    padding-bottom: 96px;
  }

  #postModal .post-head-quick {
    gap: 8px;
  }

  #postModal .post-head-badge {
    margin-bottom: 4px;
  }

  #postModal .instagram-import-panel-hero,
  #postModal .post-advanced-card {
    padding: 10px;
  }

  #postModal .post-advanced-grid {
    gap: 8px;
    padding: 0 10px 10px;
  }

  #postModal .post-advanced-details > summary {
    padding: 10px 12px;
  }

  #postModal .post-advanced-summary-note {
    font-size: 11px;
  }

  #postModal .post-panel input,
  #postModal .post-panel textarea {
    min-height: 42px;
    padding: 10px 12px;
  }

  #postModal .post-panel textarea {
    min-height: 112px;
  }

  #postModal .instagram-import-panel-hero .ig-import-row {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  #postModal .instagram-import-panel-hero .post-icon-btn {
    width: 44px;
    min-width: 44px;
  }

  .post-advanced-details > summary {
    align-items: start;
    flex-direction: column;
  }

  .post-step-pill {
    justify-self: start;
  }

  .upload-field {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .upload-trigger {
    width: 100%;
    min-width: 0;
  }

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

  .post-icon-btn {
    width: 100%;
    min-width: 0;
  }

  .upload-hint {
    white-space: normal;
  }

  #postImagePreview.profile-preview {
    width: 100%;
    height: 160px;
    margin-left: 0;
    object-fit: contain;
    background: rgba(8, 12, 8, 0.7);
  }

  #programationImagePreview.profile-preview {
    width: 100%;
    height: 160px;
    margin-left: 0;
    object-fit: contain;
    background: rgba(8, 12, 8, 0.7);
  }

  .admin-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-kpis-toggle {
    display: inline-flex;
    justify-self: start;
  }

  .admin-kpis.is-collapsed {
    display: none;
  }

  .admin-zone-filters {
    padding: 10px;
    border-radius: 14px;
  }

  .admin-filter-grid {
    grid-template-columns: 1fr;
  }

  .admin-zone-filters .form-grid {
    grid-template-columns: 1fr;
  }

  .admin-zone-head {
    display: grid;
    gap: 6px;
  }

  .admin-sticky {
    top: -14px;
    margin: -2px -2px 0;
    padding: 8px 2px 10px;
    background: linear-gradient(180deg, rgba(17, 28, 17, 0.98), rgba(17, 28, 17, 0.96));
    border-bottom: 1px solid rgba(110, 234, 142, 0.2);
  }

  .admin-section {
    border-radius: 12px;
    padding: 10px;
  }

  .admin-zone-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .admin-zone-actions button {
    width: 100%;
  }

  .admin-grid-2 {
    grid-template-columns: 1fr;
  }

  .admin-users-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-users-toolbar-actions {
    display: grid;
    gap: 8px;
  }

  .admin-users-density,
  .admin-users-quick-filters {
    width: 100%;
  }

  .admin-users-density button,
  .admin-users-quick-filters button {
    flex: 1 1 auto;
    justify-content: center;
  }

  .admin-users-table-wrap {
    display: none;
  }

  .admin-users-cards {
    display: grid;
    gap: 10px;
  }

  .admin-user-meta-grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .admin-post-body,
  .admin-user-body,
  .admin-report-body {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
  }

  .admin-post-thumb,
  .admin-user-avatar,
  .admin-report-thumb {
    width: 72px;
    height: 72px;
  }

  .admin-report-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .admin-report-actions button {
    width: 100%;
  }

  .post-sections {
    min-height: 220px;
    padding: 10px;
  }

  .post-actions {
    grid-template-columns: 1fr;
  }

  .account-actions {
    grid-template-columns: 1fr;
  }

  .account-identity-grid {
    grid-template-columns: 1fr;
  }

  .account-profile-head .account-photo-picker {
    width: 72px;
    height: 72px;
  }

  .account-editor-modal-actions {
    grid-template-columns: 1fr;
  }

  .account-shortcuts-grid {
    grid-template-columns: 1fr;
  }

  .profile-settings-hub-item {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 4px;
  }

  .profile-settings-hub-go {
    grid-column: 2;
    justify-self: end;
  }

  .confirm-action-buttons {
    grid-template-columns: 1fr;
  }

  .my-post-top {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 8px;
  }

  .my-post-thumb {
    width: 58px;
    height: 58px;
  }

  .my-post-badges {
    grid-column: 1 / -1;
  }
}

.admin-launcher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  margin-top: 8px;
  align-items: stretch;
}

.admin-workspace-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.admin-feature-nav {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(122, 241, 160, 0.24);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(12, 20, 12, 0.95), rgba(8, 14, 8, 0.9));
  padding: 10px;
}

.admin-feature-btn {
  min-height: 42px;
  border-radius: 12px;
  justify-content: flex-start;
  gap: 8px;
  border: 1px solid rgba(122, 241, 160, 0.26);
  background: rgba(14, 24, 14, 0.8);
  color: #d8f5e0;
}

.admin-feature-btn i {
  width: 16px;
  text-align: center;
}

.admin-feature-btn.is-active {
  border-color: rgba(132, 242, 163, 0.62);
  background: linear-gradient(180deg, rgba(40, 66, 42, 0.95), rgba(22, 36, 23, 0.94));
  box-shadow: inset 0 1px 0 rgba(210, 255, 224, 0.08), 0 8px 20px rgba(0, 0, 0, 0.24);
  color: #ecffef;
}

.admin-workspace-main {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.admin-workspace-head {
  margin: 0;
  border: 1px solid rgba(122, 241, 160, 0.24);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(11, 19, 11, 0.84);
}

.admin-feature-host {
  min-height: 220px;
}

.admin-inline-editor {
  border-color: rgba(132, 242, 163, 0.44);
}

.admin-launcher-btn {
  min-height: 42px;
  justify-content: center;
}

.admin-launcher-btn i {
  margin-right: 6px;
}

#adminTrafficResolution option,
#adminTrafficPreset option {
  color: #102414;
  background: #f3fff5;
}

.admin-traffic-card {
  border: 1px solid rgba(110, 234, 142, 0.24);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(14, 25, 14, 0.94), rgba(9, 15, 9, 0.9));
  padding: 12px;
  min-height: 180px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.admin-traffic-card-wide {
  grid-column: 1 / -1;
}

.admin-traffic-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-traffic-head h4 {
  margin: 0;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-traffic-head span {
  font-size: 12px;
  color: var(--text-muted);
}

.admin-traffic-empty {
  color: var(--text-muted);
  font-size: 13px;
  border: 1px dashed rgba(110, 234, 142, 0.28);
  border-radius: 10px;
  padding: 10px;
}

.admin-traffic-trend {
  width: 100%;
  min-height: 220px;
}

.admin-traffic-trend svg {
  width: 100%;
  height: 220px;
  display: block;
}

.admin-traffic-axis-label {
  font-size: 10px;
  fill: #a6cfb2;
}

.admin-traffic-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #d6f2de;
}

.admin-traffic-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-block;
}

.admin-dot-visits { background: #84f2a3; }
.admin-dot-views { background: #4cc6ff; }
.admin-dot-likes { background: #ff7ec7; }
.admin-dot-posts { background: #ffd36b; }
.admin-dot-users { background: #b79cff; }

.admin-traffic-mix {
  display: grid;
  gap: 8px;
}

.admin-traffic-mix-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #daf6e2;
}

.admin-traffic-mix-bar-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(26, 45, 28, 0.85);
  border: 1px solid rgba(110, 234, 142, 0.2);
  overflow: hidden;
}

.admin-traffic-mix-bar-fill {
  height: 100%;
  border-radius: 999px;
}

.admin-traffic-hours {
  display: grid;
  gap: 8px;
}

.admin-hours-chart {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 3px;
  align-items: end;
  min-height: 120px;
  padding: 10px 8px 8px;
  border-radius: 10px;
  border: 1px solid rgba(110, 234, 142, 0.22);
  background: rgba(10, 17, 10, 0.8);
}

.admin-hour-bar {
  min-height: 2px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, rgba(132, 242, 163, 0.95), rgba(74, 182, 103, 0.9));
}

.admin-hours-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #9fc9ac;
}

.admin-traffic-top-posts {
  display: grid;
  gap: 8px;
}

.admin-traffic-post-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(110, 234, 142, 0.24);
  border-radius: 10px;
  background: rgba(13, 22, 13, 0.82);
  padding: 10px;
}

.admin-traffic-post-copy {
  min-width: 0;
}

.admin-traffic-post-title {
  margin: 0;
  font-size: 14px;
  color: #edfff1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-traffic-post-meta {
  margin-top: 2px;
  font-size: 12px;
  color: #a8d5b5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-traffic-post-row button {
  min-height: 36px;
  border-radius: 999px;
  padding: 0 12px;
}

@media (prefers-reduced-motion: reduce) {
  .topbar.is-stuck .topbar-cats {
    animation: none;
  }
}

@media (max-width: 440px) {
  .admin-kpis {
    grid-template-columns: 1fr;
  }
  .admin-users-summary {
    grid-template-columns: 1fr;
  }
  .admin-traffic-card {
    min-height: 0;
  }
  .admin-traffic-mix-row {
    grid-template-columns: 84px minmax(0, 1fr) auto;
    gap: 6px;
    font-size: 11px;
  }
  .admin-traffic-post-row {
    grid-template-columns: 1fr;
  }
  .admin-traffic-post-row button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .admin-workspace-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .admin-feature-nav {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 8px;
    scroll-snap-type: x proximity;
  }

  .admin-feature-btn {
    flex: 0 0 auto;
    min-width: max-content;
    white-space: nowrap;
    scroll-snap-align: start;
  }

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


.main-tab-create-btn {
  border-color: rgba(175, 255, 145, 0.2);
  background: rgba(160, 248, 130, 0.09);
  color: #def8cf;
}


/* Final mobile ordering override for post info */
@media (max-width: 900px) {
  #postModal #postTabInfo {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto auto !important;
  }
  #postModal #postTabInfo #postTitle { grid-column: 1 !important; grid-row: 1 !important; }
  #postModal #postTabInfo #postDescription { grid-column: 1 !important; grid-row: 2 !important; }
  #postModal #postTabInfo #postTags { grid-column: 1 !important; grid-row: 3 !important; }
  #postModal #postTabInfo #postImageDropZone { grid-column: 1 !important; grid-row: 4 !important; order: 4 !important; }
}

/* User tab: no inner card background and no inner scrollbars */
#mainUserPanel .public-profile-panel {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

#mainUserPanel .public-profile-tab-shell,
#mainUserPanel .public-profile-tab-content,
#mainUserPanel .public-profile-posts-wrap,
#mainUserPanel .public-profile-posts-grid {
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

/* User profile tabs polish */
#mainUserPanel .public-profile-tab-shell {
  margin-top: 12px;
}

#mainUserPanel .public-profile-tabs {
  background: rgba(10, 16, 10, 0.7) !important;
  border: 1px solid rgba(120, 220, 150, 0.22) !important;
  border-radius: 14px !important;
  padding: 4px !important;
  gap: 4px !important;
  min-height: 0 !important;
  margin-bottom: 10px !important;
}

#mainUserPanel .public-profile-tabs button {
  border: 0 !important;
  border-right: 0 !important;
  border-radius: 10px !important;
  min-height: 42px !important;
  color: #cde7d4 !important;
  background: transparent !important;
}

#mainUserPanel .public-profile-tabs button:hover {
  background: rgba(120, 220, 150, 0.1) !important;
}

#mainUserPanel .public-profile-tabs button.is-active {
  background: linear-gradient(180deg, #83f0a3, #68dc89) !important;
  color: #0d2213 !important;
  box-shadow: 0 6px 16px rgba(84, 201, 121, 0.32) !important;
}

#mainUserPanel .public-profile-posts-grid {
  gap: 4px !important;
}

#mainUserPanel .public-profile-post-card {
  border-radius: 8px !important;
  overflow: hidden !important;
}

@media (max-width: 760px) {
  #mainUserPanel .public-profile-tabs {
    padding: 3px !important;
    gap: 3px !important;
    margin-bottom: 8px !important;
  }

  #mainUserPanel .public-profile-tabs button {
    min-height: 38px !important;
  }

  #mainUserPanel .public-profile-posts-grid {
    gap: 3px !important;
  }
}

/* User tab: compact SoundCloud preview */
#mainUserPanel .public-profile-set-card--soundcloud {
  grid-template-columns: 84px minmax(0, 1fr) !important;
  grid-template-areas:
    "cover top"
    "cover player" !important;
  gap: 8px !important;
  padding: 9px !important;
}

#mainUserPanel .public-profile-set-card--soundcloud .public-profile-set-cover-wrap {
  min-height: 84px !important;
  height: 84px !important;
  border-radius: 10px !important;
}

#mainUserPanel .public-profile-set-card--soundcloud .public-profile-set-cover-fallback {
  font-size: 18px !important;
}

#mainUserPanel .public-profile-set-card--soundcloud .public-profile-set-top {
  align-items: flex-start !important;
  gap: 8px !important;
}

#mainUserPanel .public-profile-set-card--soundcloud .public-profile-set-title {
  font-size: 13px !important;
  line-height: 1.25 !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

#mainUserPanel .public-profile-set-card--soundcloud .public-profile-set-meta {
  font-size: 11px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#mainUserPanel .public-profile-set-card--soundcloud .public-profile-set-link {
  min-height: 32px !important;
  padding: 0 10px !important;
  font-size: 11px !important;
}

#mainUserPanel .public-profile-set-card--soundcloud .public-profile-set-player {
  height: 78px !important;
  border-radius: 10px !important;
}

@media (max-width: 760px) {
  #mainUserPanel .public-profile-set-card--soundcloud {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    grid-template-areas:
      "cover top"
      "player player" !important;
    gap: 8px !important;
    padding: 8px !important;
  }

  #mainUserPanel .public-profile-set-card--soundcloud .public-profile-set-cover-wrap {
    min-height: 64px !important;
    height: 64px !important;
  }

  #mainUserPanel .public-profile-set-card--soundcloud .public-profile-set-top {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
  }

  #mainUserPanel .public-profile-set-card--soundcloud .public-profile-set-link {
    align-self: flex-start !important;
  }

  #mainUserPanel .public-profile-set-card--soundcloud .public-profile-set-player {
    width: 100% !important;
    height: 96px !important;
    min-height: 96px !important;
    max-height: 96px !important;
  }
}

/* User profile desktop refinement */
@media (min-width: 980px) {
  #mainUserPanel .public-profile-panel {
    max-width: 1120px !important;
    padding: 22px 20px 18px !important;
  }

  #mainUserPanel .public-profile-head {
    grid-template-columns: 124px minmax(0, 1fr) auto !important;
    gap: 18px !important;
    align-items: start !important;
    padding-bottom: 14px !important;
  }

  #mainUserPanel .public-profile-avatar-wrap {
    width: 124px;
    height: 124px;
    aspect-ratio: 1 / 1;
  }

  #mainUserPanel .public-profile-head-copy {
    display: grid;
    gap: 8px;
  }

  #mainUserPanel .public-profile-identity-row {
    gap: 10px;
    margin-bottom: 0;
  }

  #mainUserPanel .public-profile-head-copy h3 {
    font-size: clamp(20px, 3vw, 25px);
    line-height: 0.96;
  }

  #mainUserPanel .public-profile-head-copy .panel-sub {
    font-size: 16px;
  }

  #mainUserPanel .public-profile-stats {
    grid-template-columns: repeat(3, minmax(0, auto));
    gap: 20px;
    margin-top: 2px;
  }

  #mainUserPanel .public-profile-follow-actions {
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
  }

  #mainUserPanel .public-profile-tab-shell {
    margin-top: 14px;
  }

  #mainUserPanel .public-profile-tabs {
    margin-bottom: 14px !important;
  }

  #mainUserPanel #publicProfileSetsSection {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  #mainUserPanel .public-profile-set-card--soundcloud {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 10px !important;
  }

  #mainUserPanel .public-profile-set-card--soundcloud .public-profile-set-cover-wrap {
    min-height: 72px !important;
    height: 72px !important;
  }

  #mainUserPanel .public-profile-set-card--soundcloud .public-profile-set-player {
    height: 72px !important;
  }

  #mainUserPanel .public-profile-set-card--youtube .public-profile-set-player {
    height: 172px !important;
  }
}

/* Instagram-like tabs for user profile */
#mainUserPanel .public-profile-tab-shell {
  padding-top: 10px;
}

#mainUserPanel .public-profile-tabs {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  gap: 0 !important;
  margin: 0 0 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
}

#mainUserPanel .public-profile-tabs button {
  min-height: 44px !important;
  border: 0 !important;
  border-right: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(232, 243, 236, 0.76) !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px !important;
  position: relative;
  gap: 8px !important;
}

#mainUserPanel .public-profile-tabs button:hover {
  background: rgba(255, 255, 255, 0.04) !important;
}

#mainUserPanel .public-profile-tabs button.is-active {
  background: transparent !important;
  color: #f4fff7 !important;
  box-shadow: none !important;
}

#mainUserPanel .public-profile-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #f2fff6;
}

#mainUserPanel .public-profile-tabs button i {
  font-size: 13px !important;
  opacity: 0.9;
}

#mainUserPanel .public-profile-tabs button span {
  display: inline !important;
  font-size: 13px !important;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  #mainUserPanel .public-profile-tab-shell {
    padding-top: 8px;
  }

  #mainUserPanel .public-profile-tabs {
    margin: 0 0 8px !important;
  }

  #mainUserPanel .public-profile-tabs button {
    min-height: 40px !important;
    gap: 6px !important;
  }

  #mainUserPanel .public-profile-tabs button i {
    font-size: 12px !important;
  }

  #mainUserPanel .public-profile-tabs button span {
    font-size: 11px !important;
  }
}

/* YouTube set cards: cleaner preview */
#mainUserPanel .public-profile-set-card--youtube {
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  padding: 10px !important;
}

#mainUserPanel .public-profile-set-card--youtube .public-profile-set-cover-wrap {
  display: none !important;
}

#mainUserPanel .public-profile-set-card--youtube .public-profile-set-top {
  grid-column: 1 !important;
  align-items: center !important;
  gap: 10px !important;
}

#mainUserPanel .public-profile-set-card--youtube .public-profile-set-player {
  grid-column: 1 !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  min-height: 0 !important;
  border-radius: 10px !important;
  border-color: rgba(255, 128, 128, 0.42) !important;
  background: #000 !important;
}

#mainUserPanel .public-profile-set-card--youtube .public-profile-set-title {
  font-size: 14px !important;
  line-height: 1.25 !important;
}

#mainUserPanel .public-profile-set-card--youtube .public-profile-set-meta {
  font-size: 11px !important;
}

#mainUserPanel .public-profile-set-card--youtube .public-profile-set-link {
  min-height: 32px !important;
  padding: 0 10px !important;
  font-size: 11px !important;
}

/* Sets list centering (override legacy 2-column section grid) */
#mainUserPanel #publicProfileSetsSection:not(.hidden),
#publicProfileModal #publicProfileSetsSection:not(.hidden) {
  display: block !important;
  width: 100%;
}

#mainUserPanel #publicProfileSetsSection .public-profile-set-list,
#publicProfileModal #publicProfileSetsSection .public-profile-set-list {
  width: min(100%, 980px);
  margin-inline: auto;
}

#mainUserPanel #publicProfileSetsSection .public-profile-empty-card,
#publicProfileModal #publicProfileSetsSection .public-profile-empty-card {
  width: min(100%, 980px);
  margin-inline: auto;
}

#mainUserPanel #publicProfilePostsGrid .public-profile-empty-card,
#publicProfileModal #publicProfilePostsGrid .public-profile-empty-card,
#mainUserPanel #publicProfileSocialSection .public-profile-empty-card,
#publicProfileModal #publicProfileSocialSection .public-profile-empty-card {
  width: min(100%, 980px);
  margin-inline: auto;
}

@media (max-width: 760px) {
  .public-profile-empty-card {
    padding: 14px;
    min-height: 88px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
  }

  .public-profile-empty-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 15px;
  }

  .public-profile-empty-card h4 {
    font-size: 16px;
  }

  .public-profile-empty-card p {
    font-size: 13px;
  }
}

/* Community live radio player */
.community-live-radio-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1700;
  width: 100vw;
  max-width: 100vw;
  display: grid;
  grid-template-columns: 56px minmax(220px, 320px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 20px;
  border-radius: 0;
  border-width: 1px 0 0;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(14, 14, 16, 0.992);
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.16);
}

.community-live-radio-audio {
  position: fixed;
  left: -9999px;
  bottom: 0;
  width: 32px;
  height: 32px;
  opacity: 0.01;
  pointer-events: none;
}

.community-live-radio-cover {
  position: relative;
  border: 0;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  border: 0;
  background: #202329;
  display: grid;
  place-items: center;
  color: #95f0b1;
  cursor: pointer;
}

.community-live-radio-cover-inner {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.community-live-radio-cover .community-avatar {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  min-width: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
}

.community-live-radio-main {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(320px, 1fr);
  grid-template-areas: "copy controls";
  row-gap: 0;
  column-gap: 28px;
  align-items: center;
}

.community-live-radio-copy {
  border: 0;
  background: transparent;
  text-align: left;
  min-width: 0;
  display: grid;
  gap: 3px;
  cursor: pointer;
  align-content: center;
  padding: 0;
  position: relative;
}

.community-live-radio-copy strong {
  font-family: "Sora", "Inter", "Segoe UI", sans-serif;
  color: #f6f7fb;
  font-size: 14px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  display: block;
  padding-top: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.community-live-radio-copy span {
  color: rgba(214, 219, 227, 0.52);
  font-size: 11px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.community-live-radio-chip {
  display: none;
}

.community-live-radio-copy-btn:focus-visible,
.community-live-radio-cover:focus-visible {
  outline: 2px solid rgba(134, 231, 161, 0.8);
  outline-offset: 2px;
}

.community-live-cover-alerts-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 96, 96, 0.98), rgba(206, 35, 35, 0.96));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(130, 12, 12, 0.24);
  z-index: 2;
}

.community-live-cover-alerts-badge i {
  font-size: 9px;
}

.community-live-cover-alerts-badge.is-pulsing {
  animation: owner-live-pulse 1.3s ease-in-out infinite;
}

.community-live-audio-source {
  width: 100%;
  display: grid;
  gap: 7px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(90, 156, 112, 0.36);
  background: linear-gradient(180deg, rgba(11, 18, 15, 0.92), rgba(8, 13, 11, 0.92));
}

.community-live-setup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 12px;
  align-items: start;
}

.community-live-audio-source > p {
  margin: 0;
  color: #d5f9df;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.community-live-audio-source-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.community-live-audio-source-option {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.community-live-audio-source-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.community-live-audio-source-option span {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(82, 130, 97, 0.52);
  background: rgba(7, 13, 10, 0.9);
  color: #e9fff0;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  font-weight: 800;
  user-select: none;
  transition:
    background 120ms ease,
    border-color 120ms ease,
    box-shadow 120ms ease,
    transform 120ms ease;
}

.community-live-audio-source-option input:checked + span {
  border-color: rgba(96, 222, 148, 0.82);
  background: linear-gradient(180deg, rgba(37, 88, 55, 0.92), rgba(15, 32, 21, 0.94));
  box-shadow: 0 10px 22px rgba(15, 255, 128, 0.08);
}

.community-live-audio-source-option input:focus-visible + span {
  outline: 2px solid rgba(134, 231, 161, 0.8);
  outline-offset: 2px;
}

.community-live-audio-source-option:active span {
  transform: translateY(1px);
}

.community-live-audio-device-row {
  display: grid;
  gap: 6px;
}

.community-live-audio-device-row label {
  color: #9fc0ab;
  font-size: 12px;
}

#communityLiveMicDeviceSelect {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(86, 135, 102, 0.62);
  background: rgba(7, 13, 10, 0.95);
  color: #e4ffed;
  padding: 0 10px;
}

.community-live-audio-source-hint {
  margin: 0;
  color: #89a998;
  font-size: 12px;
  line-height: 1.35;
}

.community-live-radio-controls {
  display: grid;
  grid-template-columns: auto auto auto minmax(180px, 1fr);
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  width: 100%;
}

.community-live-radio-signal-meter {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  width: 100%;
  height: 6px;
  padding: 0 2px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.community-live-radio-signal-seg {
  flex: 1 1 0;
  height: 100%;
  min-width: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  transition: background-color 80ms linear, box-shadow 80ms linear, opacity 80ms linear;
  opacity: 0;
}

.community-live-radio-signal-seg.is-active {
  opacity: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.96));
  box-shadow: none;
}

.community-live-radio-signal-seg:nth-child(7).is-active,
.community-live-radio-signal-seg:nth-child(8).is-active {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.96));
  box-shadow: none;
}

.community-live-radio-volume-wrap {
  --community-live-volume-pct: 100%;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: 112px;
  height: 12px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: none;
  overflow: hidden;
}

.community-live-radio-volume-meter {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}

.community-live-radio-volume-meter::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--community-live-volume-pct);
  border-radius: inherit;
  background: linear-gradient(90deg, #f5f7fb, #f5f7fb);
  box-shadow: none;
}

.community-live-radio-volume-wrap.is-muted .community-live-radio-volume-meter::before,
.community-live-radio-volume-wrap.is-disabled .community-live-radio-volume-meter::before {
  box-shadow: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.22));
}

.community-live-radio-btn {
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: rgba(243, 246, 251, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.community-live-radio-btn-play {
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
}

.community-live-radio-side {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  min-width: 0;
}

.community-live-radio-alerts-btn {
  position: relative;
  overflow: visible;
  width: auto;
  min-width: 0;
  height: 32px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 106, 106, 0.34);
  background: linear-gradient(180deg, rgba(76, 20, 20, 0.9), rgba(39, 12, 12, 0.92));
  color: #ffe5e5;
  gap: 6px;
}

.community-live-radio-alerts-btn.is-alerting {
  color: #fff2c8;
  border-color: rgba(255, 124, 124, 0.56);
  box-shadow: 0 10px 20px rgba(113, 16, 16, 0.22);
}

.community-live-radio-alerts-btn i {
  color: #ff7272;
}

.community-live-alerts-count {
  position: absolute;
  top: -5px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 96, 96, 0.98), rgba(206, 35, 35, 0.96));
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(130, 12, 12, 0.2);
}

.community-live-alerts-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.community-live-radio-like-btn {
  width: auto;
  min-width: 0;
  height: 32px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 150, 0.3);
  background: linear-gradient(180deg, rgba(84, 18, 30, 0.9), rgba(43, 11, 18, 0.92));
  color: #ffdbe3;
  gap: 6px;
}

.community-live-radio-like-btn i {
  color: #ff718c;
}

.community-live-like-count {
  font-size: 11px;
  font-weight: 800;
}

.community-live-like-count.hidden {
  display: none;
}

.community-live-radio-like-btn.is-broadcaster-indicator {
  border-color: rgba(255, 122, 150, 0.44);
  background: linear-gradient(180deg, rgba(62, 16, 25, 0.92), rgba(34, 11, 17, 0.94));
  color: #ffe6ec;
  opacity: 1;
}

.community-live-radio-like-btn.is-broadcaster-indicator:disabled {
  opacity: 1;
  cursor: default;
}

.community-live-radio-like-btn.is-cooling-down {
  border-color: rgba(255, 196, 122, 0.42);
  background: linear-gradient(180deg, rgba(92, 56, 18, 0.92), rgba(50, 31, 11, 0.94));
  color: #ffe6bf;
  opacity: 1;
}

.community-live-radio-like-btn.is-receiving-like {
  box-shadow: 0 0 0 2px rgba(255, 112, 145, 0.18), 0 10px 22px rgba(130, 16, 41, 0.26);
  transform: translateY(-1px);
}

.community-live-radio-stop {
  background: rgba(255, 255, 255, 0.06);
}

.community-live-radio-share-btn {
  width: auto;
  min-width: 0;
  height: 32px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(140, 220, 164, 0.45);
  background: linear-gradient(180deg, rgba(36, 94, 61, 0.96), rgba(16, 44, 29, 0.96));
  color: #e8fff0;
  gap: 6px;
}

.community-live-radio-share-btn i {
  font-size: 12px;
}

.community-live-radio-share-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.community-live-reaction-overlay {
  position: fixed;
  inset: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 1900;
}

.community-live-reaction-heart {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(var(--heart-start-x, 50vw), var(--heart-start-y, 50vh)) scale(var(--heart-size, 1)) rotate(0deg);
  color: #ff6f8c;
  opacity: 0;
  filter: drop-shadow(0 6px 14px rgba(123, 18, 40, 0.3));
  animation: community-live-heart-float var(--heart-duration, 3s) cubic-bezier(.18,.7,.22,1) forwards;
  animation-delay: var(--heart-delay, 0s);
  will-change: transform, opacity;
}

.community-live-reaction-heart i {
  font-size: 22px;
}

@keyframes community-live-heart-float {
  0% {
    opacity: 0;
    transform: translate(var(--heart-start-x, 50vw), calc(var(--heart-start-y, 50vh) + 6px)) scale(calc(var(--heart-size, 1) * 0.7)) rotate(-6deg);
  }
  15% {
    opacity: 1;
  }
  55% {
    opacity: 0.95;
    transform: translate(calc(var(--heart-start-x, 50vw) + (var(--heart-drift, 0px) * 0.55)), calc(var(--heart-start-y, 50vh) - (var(--heart-rise, 180px) * 0.55))) scale(calc(var(--heart-size, 1) * 1.05)) rotate(calc(var(--heart-rotate, 0deg) * 0.65));
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--heart-start-x, 50vw) + var(--heart-drift, 0px)), calc(var(--heart-start-y, 50vh) - var(--heart-rise, 180px))) scale(calc(var(--heart-size, 1) * 1.14)) rotate(var(--heart-rotate, 0deg));
  }
}

.community-live-radio-volume {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

.community-live-radio-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 0;
  height: 0;
  border-radius: 50%;
  border: 0;
  background: transparent;
  box-shadow: none;
  margin-top: 0;
}

.community-live-radio-volume::-moz-range-thumb {
  width: 0;
  height: 0;
  border-radius: 50%;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.community-live-radio-volume::-webkit-slider-runnable-track {
  height: 12px;
  background: transparent;
}

.community-live-radio-volume::-moz-range-track {
  height: 12px;
  background: transparent;
  border: 0;
}

.community-live-radio-volume-value {
  display: none;
}

.community-live-radio-volume-value.is-muted {
  color: #d9efe1;
  text-shadow: none;
}

#communityLiveWatchModal .community-live-radio-panel {
  width: min(980px, 96vw);
  height: min(92vh, 940px);
  max-height: min(92vh, 940px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  border-radius: 20px;
  margin: 0;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(14, 18, 24, 0.98), rgba(11, 15, 20, 0.98));
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.42);
}

#communityLiveWatchModal .community-live-radio-panel > .community-thread-modal-head,
#communityLiveWatchModal .community-live-radio-panel > .community-create {
  grid-column: 1 / -1;
  min-width: 0;
}

#communityLiveWatchModal .community-live-radio-panel .community-create {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  width: 100%;
  margin: 0;
  align-items: stretch;
}

#communityLiveWatchModal .community-live-radio-panel-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 20, 24, 0.86);
  color: #c7d0da;
  font-size: 13px;
  width: fit-content;
}

#communityLiveWatchModal .community-live-radio-panel-status i {
  color: #8f9ba7;
}

#communityLiveWatchModal .community-live-radio-panel .community-live-comments {
  min-height: 0;
  height: auto;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(15, 17, 20, 0.98), rgba(12, 14, 17, 0.96));
  gap: 8px;
  box-shadow: none;
  align-self: stretch;
}

#communityLiveWatchModal .community-live-radio-panel .community-live-comments .chat-empty-state {
  min-height: 124px;
  display: grid;
  align-content: center;
  gap: 8px;
  justify-items: start;
  padding: 16px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(17, 20, 24, 0.82);
}

#communityLiveWatchModal .community-live-radio-panel .community-live-comments .chat-empty-state strong {
  color: #e6ebf2;
}

#communityLiveWatchModal .community-live-radio-panel .community-live-comments .chat-empty-state span {
  color: #9da9b5;
}

#communityLiveWatchModal .community-live-radio-panel .community-live-compose {
  margin-top: 0;
}

#communityLiveWatchModal.modal {
  align-items: center;
  justify-content: center;
  padding: 8px;
}

#communityLiveWatchModal .community-thread-modal-head {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 4px;
  padding-right: 44px;
}

#communityLiveWatchModal .community-thread-modal-head .panel-sub {
  justify-self: start;
  margin: 0;
  color: #8f9ba7;
}

@media (max-width: 980px) {
  body.community-live-radio-active .app {
    padding-bottom: calc(var(--sp-7) + 132px);
  }

  .community-live-radio-bar {
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    bottom: calc(env(safe-area-inset-bottom) + 47px);
    grid-template-columns: 34px minmax(0, 1fr) auto;
    grid-template-areas: "cover main side";
    align-items: center;
    margin: 0;
    padding: 7px 10px;
    border-radius: 0;
    min-height: 0;
    gap: 8px;
    border-width: 1px 0 0;
    border-color: rgba(84, 164, 120, 0.28);
    background: linear-gradient(180deg, rgba(16, 33, 25, 0.97), rgba(8, 14, 20, 0.99));
    box-shadow: none;
    flex-wrap: nowrap;
  }

  .community-live-radio-cover {
    grid-area: cover;
    width: 45px;
    height: 45px;
    border-radius: 9px;
    border: 0;
    background: linear-gradient(135deg, rgba(170, 92, 20, 0.78), rgba(28, 70, 96, 0.82));
    overflow: hidden;
    align-self: start;
  }

  .community-live-radio-cover .community-avatar {
    border-radius: 9px;
  }

  .community-live-radio-cover i {
    font-size: 13px;
  }

  .community-live-radio-main {
    grid-area: main;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "copy controls";
    column-gap: 8px;
    row-gap: 0;
    min-width: 0;
    align-items: center;
    overflow: hidden;
  }

  .community-live-radio-copy {
    display: grid;
    align-items: center;
    gap: 1px;
    padding: 0;
    min-width: 0;
    width: 100%;
    overflow: hidden;
  }

  .community-live-radio-copy strong {
    font-size: 11px;
    line-height: 1.08;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .community-live-radio-copy span {
    display: block;
    font-size: 9px;
    line-height: 1.1;
    color: rgba(187, 211, 196, 0.76);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .community-live-radio-chip {
    display: none;
  }

  .community-live-radio-controls {
    display: flex;
    grid-area: controls;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    width: auto;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .community-live-radio-side {
    display: flex;
    grid-area: side;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .community-live-radio-btn {
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    color: #e9fff0;
    padding: 0;
  }

  .community-live-radio-btn i {
    font-size: 12px;
  }

  .community-live-radio-share-btn {
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    padding: 0;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.08);
    gap: 0;
  }

  .community-live-radio-like-btn {
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    padding: 0;
    gap: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.08);
  }

  .community-live-like-count {
    display: none;
  }

  .community-live-radio-alerts-btn {
    display: none !important;
  }

  .community-live-cover-alerts-badge {
    width: 20px;
    height: 20px;
    top: -5px;
    right: -5px;
  }

  .community-live-cover-alerts-badge i {
    font-size: 10px;
  }

  .community-live-radio-share-label {
    display: none;
  }

  #communityLiveSwitchPrevBtn,
  #communityLiveSwitchNextBtn,
  #communityLiveToggleMuteBtn,
  #communityLiveWatchStopBtn,
  #communityLiveRadioCloseBtn {
    display: none !important;
  }

  #communityLiveTogglePlayBtn {
    display: inline-flex !important;
  }

  #communityLiveFullscreenBtn {
    display: inline-flex !important;
  }

  #communityLiveVolumeMeter,
  #communityLiveVolumeRange,
  #communityLiveVolumeValue {
    display: none !important;
  }

  #communityLiveSignalMeter {
    display: none !important;
  }

  #communityLiveWatchModal.modal {
    align-items: flex-end;
    justify-content: center;
    padding: 0;
  }

  #communityLiveWatchModal .community-live-radio-panel {
    width: 100vw;
    max-width: 100vw;
    min-height: calc(var(--community-live-vh, 100dvh) - env(safe-area-inset-top));
    max-height: calc(var(--community-live-vh, 100dvh) - env(safe-area-inset-top));
    border-radius: 14px 14px 0 0;
    margin-top: env(safe-area-inset-top);
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    gap: 10px;
  }

  #communityLiveWatchModal .community-live-radio-panel-status {
    width: fit-content;
    max-width: 100%;
  }

  #communityLiveWatchModal .community-live-radio-panel .community-create {
    gap: 8px;
  }

  #communityLiveWatchModal .community-live-radio-panel .community-live-comments {
    border-radius: 16px;
    padding: 10px;
  }

  #communityLiveWatchModal .community-live-radio-panel .community-live-compose {
    display: flex;
    align-items: center;
    gap: 8px;
    grid-template-columns: none;
    position: static;
    bottom: auto;
    z-index: auto;
    padding: 2px;
    border-radius: 16px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body.community-live-keyboard-open #communityLiveWatchModal .community-live-radio-panel .community-live-compose {
    margin-bottom: 8px;
  }

  #communityLiveWatchModal .community-live-radio-panel .community-live-compose input#communityLiveCommentInput,
  #communityLiveWatchModal .community-live-radio-panel .community-live-compose textarea#communityLiveCommentInput {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    max-height: 44px;
    border-radius: 14px;
    padding: 0 12px;
  }

  #communityLiveWatchModal .community-live-radio-panel .community-live-compose .chat-send-icon-btn {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 14px;
  }

}

