/* Desktop: Show menu toggle button near delete button */
.story-viewer-menu-toggle-btn {
  display: none;
  width: 38px;
  height: 38px;
  min-width: 38px;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  border: none;
  color: rgba(247, 247, 247, 0.85);
  cursor: pointer;
  transition: color 0.15s ease;
  font-size: 18px;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.story-viewer-menu-toggle-btn:hover {
  color: #fff;
}

@media (max-width: 760px) {
  .story-compose-modal-panel,
  .story-viewer-modal-panel {
    width: 100%;
    height: 100dvh;
    max-width: 100vw;
    max-height: 100dvh;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }
  .story-compose-dropzone {
    border-radius: 0;
  }

  .story-viewer-progress {
    top: 10px;
    left: 10px;
    right: 10px;
    gap: 4px;
  }

  .story-viewer-head {
    padding: 12px 14px 12px;
  }

  .story-viewer-chevron-up.show {
    display: grid;
  }

  .story-viewer-menu-toggle-btn {
    display: none !important;
  }
}

@media (min-width: 761px) {
  .story-viewer-chevron-up {
    display: none !important;
  }

  .story-viewer-menu-toggle-btn {
    display: inline-flex !important;
  }

  .story-viewer-slide-content {
    padding-bottom: 12px;
  }
}

.story-viewer-nav {
  align-self: center;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.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: #f6f6f6;
}

.feed-home-head p {
  margin: 4px 0 0;
  font-size: 14px;
  color: rgba(239, 240, 238, 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: #0b0b0c;
  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(207, 249, 70, 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(229, 239, 199, 0.7);
  background: linear-gradient(180deg, rgba(15, 15, 17, 0.95), rgba(9, 9, 10, 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(239, 240, 238, 0.68);
}

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

.feed-weekend-tag {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(207, 249, 70, 0.14);
  color: #e7fd9e;
  font-size: 12px;
  padding: 5px 10px;
  border: 1px solid rgba(207, 249, 70, 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-skeleton {
  padding: 2px 0 0;
}

.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(239, 240, 238, 0.72);
  white-space: nowrap;
}

.feed-home-carousel-tabs .ghost.is-active {
  background: rgba(207, 249, 70, 0.16);
  color: #f4f5f3;
  box-shadow: inset 0 0 0 1px rgba(207, 249, 70, 0.22);
}

.feed-home-carousel-deck {
  position: relative;
  width: 100%;
  height: 280px;
  margin: 20px auto;
  perspective: 1200px;
  cursor: grab;
}

.feed-home-carousel-deck:active {
  cursor: grabbing;
}

.feed-home-carousel-card {
  position: absolute;
  width: 100%;
  max-width: 280px;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(207, 249, 70, 0.1) 0%, rgba(207, 249, 70, 0.05) 100%);
  border: 1px solid rgba(207, 249, 70, 0.2);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-style: preserve-3d;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stack effect */
.feed-home-carousel-card[data-card-index=\"0\"] {
  z-index: 30;
  transform: translate(-50%, -50%) translateY(0px) rotateY(0deg) scale(1);
}

.feed-home-carousel-card[data-card-index=\"1\"] {
  z-index: 20;
  transform: translate(-50%, -50%) translateY(10px) rotateY(2deg) scale(0.95);
  opacity: 0.9;
}

.feed-home-carousel-card[data-card-index=\"2\"] {
  z-index: 10;
  transform: translate(-50%, -50%) translateY(20px) rotateY(4deg) scale(0.9);
  opacity: 0.8;
}

/* Card flip styles */
.feed-card-front,
.feed-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.feed-card-front {
  background: linear-gradient(135deg, rgba(207, 249, 70, 0.15) 0%, rgba(207, 249, 70, 0.08) 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
}

.feed-card-back {
  transform: rotateY(180deg);
  background: rgba(16, 16, 18, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(207, 249, 70, 0.2);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px;
  z-index: 1;
  align-content: flex-start;
  scrollbar-width: thin;
  scrollbar-color: rgba(207, 249, 70, 0.3) transparent;
}

.feed-card-back::-webkit-scrollbar {
  width: 6px;
}

.feed-card-back::-webkit-scrollbar-track {
  background: transparent;
}

.feed-card-back::-webkit-scrollbar-thumb {
  background: rgba(207, 249, 70, 0.3);
  border-radius: 3px;
}

.feed-card-back::-webkit-scrollbar-thumb:hover {
  background: rgba(207, 249, 70, 0.5);
}

.feed-home-carousel-card.is-flipped .feed-card-front {
  transform: rotateY(180deg);
}

.feed-home-carousel-card.is-flipped .feed-card-back {
  transform: rotateY(0deg);
}

.feed-card-label {
  font-size: 18px;
  font-weight: 600;
  color: #f4f5f3;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.feed-card-icon {
  font-size: 48px;
  opacity: 0.8;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.feed-card-hint {
  font-size: 12px;
  color: rgba(239, 240, 238, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.feed-card-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(207, 249, 70, 0.3);
  border-radius: 50%;
  background: rgba(207, 249, 70, 0.1);
  color: rgba(239, 240, 238, 0.8);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.feed-card-close:hover {
  background: rgba(207, 249, 70, 0.2);
  color: #f4f5f3;
  border-color: rgba(207, 249, 70, 0.5);
}

.feed-home-carousel-card:hover:not(.is-flipped) {
  transform: translate(-50%, -50%) translateY(-5px) rotateY(0deg) scale(1.02);
  box-shadow: 0 30px 60px rgba(207, 249, 70, 0.2);
}

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

.feed-deck-list-skeleton {
  pointer-events: none;
}

.feed-deck-card-skeleton {
  cursor: default !important;
}

.feed-deck-card-poster-skeleton {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(239, 253, 192, 0.14), transparent 24%),
    linear-gradient(90deg, rgba(117, 124, 93, 0.18), rgba(148, 155, 123, 0.38), rgba(117, 124, 93, 0.18));
  background-size: auto, 200% 100%;
  animation: shimmer 1.2s linear infinite;
}

.feed-deck-card-copy-skeleton {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  z-index: 3;
  display: grid;
  gap: 8px;
}

.feed-deck-card-copy-skeleton .sk-line {
  margin-bottom: 0;
  background: linear-gradient(90deg, rgba(243, 244, 242, 0.18), rgba(243, 244, 242, 0.4), rgba(243, 244, 242, 0.18));
  background-size: 200% 100%;
}

.feed-deck-swipe-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-style: italic;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.3);
  pointer-events: none;
  animation: swipe-hint-fade-in 0.4s ease-out forwards;
  opacity: 0;
}

.feed-deck-swipe-hint.hidden {
  animation: swipe-hint-fade-out 0.3s ease-out forwards;
  pointer-events: none;
}

.feed-deck-swipe-arrow {
  font-size: 32px;
  display: inline-block;
  animation: swipe-hint-pulse 1.2s ease-in-out infinite;
  transform-origin: center;
}

.feed-deck-swipe-arrow-left {
  animation-delay: -0.4s;
}

.feed-deck-swipe-arrow-right {
  animation-delay: 0.4s;
}

.feed-deck-swipe-icon {
  font-size: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  animation: swipe-hint-icon-pulse 1.2s ease-in-out infinite;
}

.feed-deck-swipe-icon-left {
  background: rgba(255, 100, 100, 0.3);
  color: #ff6464;
  animation-delay: -0.4s;
}

.feed-deck-swipe-icon-right {
  background: rgba(255, 150, 0, 0.3);
  color: #ff9600;
  animation-delay: 0.4s;
}

@keyframes swipe-hint-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes swipe-hint-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes swipe-hint-pulse {
  0%, 100% {
    transform: translateX(0) rotateZ(-2deg);
  }
  50% {
    transform: translateX(-4px) rotateZ(2deg);
  }
}

@keyframes swipe-hint-icon-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

@media (max-width: 680px) {
  .feed-home-carousel-deck {
    height: 240px;
    margin: 16px auto;
  }

  .feed-home-carousel-card {
    max-width: 100%;
    border-radius: 14px;
  }

  .feed-card-label {
    font-size: 16px;
    letter-spacing: 1px;
  }

  .feed-card-icon {
    font-size: 40px;
  }

  .feed-card-hint {
    font-size: 11px;
  }

  .feed-card-front,
  .feed-card-back {
    padding: 16px;
  }

  .feed-card-close {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .feed-home-head h3 {
    font-size: 20px;
  }

  .feed-home-head p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .feed-home-carousel-deck {
    height: 220px;
    margin: 12px auto;
  }

  .feed-home-carousel-card[data-card-index=\"1\"] {
    transform: translate(-50%, -50%) translateY(8px) rotateY(2deg) scale(0.93);
  }

  .feed-home-carousel-card[data-card-index=\"2\"] {
    transform: translate(-50%, -50%) translateY(16px) rotateY(4deg) scale(0.88);
  }

  .feed-card-label {
    font-size: 14px;
  }

  .feed-card-icon {
    font-size: 36px;
  }
}

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

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

.feed-simple-row span {
  display: flex;
  margin-top: 4px;
  font-size: 14px;
}

.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(231, 231, 229, 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(237, 237, 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(244, 245, 243, 0.9);
}

.feed-today-empty small {
  color: rgba(239, 240, 238, 0.54);
  font-size: 13px;
  line-height: 1.4;
}

.feed-today-recommend {
  border: 1px solid rgba(207, 249, 70, 0.24);
  border-radius: 12px;
  background: rgba(207, 249, 70, 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(231, 231, 229, 0.8);
}

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

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

.feed-today-recommend span {
  font-size: 13px;
  color: rgba(239, 240, 238, 0.68);
  display: block;
}

.feed-home-publish {
  border-color: rgba(207, 249, 70, 0.22);
  background:
    radial-gradient(circle at left center, rgba(207, 249, 70, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(207, 249, 70, 0.08), rgba(9, 9, 10, 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(207, 249, 70, 0.2);
  background: rgba(207, 249, 70, 0.1);
  color: #d5fb5a;
  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: #f8f8f7;
}

.feed-publish-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(239, 240, 238, 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(239, 240, 238, 0.78);
}

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

.feed-guided-publish {
  background:
    radial-gradient(circle at 100% 0%, rgba(227, 252, 143, 0.12), transparent 46%),
    linear-gradient(180deg, rgba(10, 10, 11, 0.92), rgba(8, 8, 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-top: 12px;
    padding-bottom: 8px;
  }
  .feed-live-story-skeleton {
    min-width: 74px;
  }
  .feed-live-story {
    min-width: 74px;
  }
  .feed-live-story-skeleton .feed-live-story-ring,
  .feed-live-story-ring.feed-live-story-ring-skeleton {
    width: 70px;
    height: 70px;
  }
  .feed-live-story-ring {
    width: 70px;
    height: 70px;
  }
  .feed-live-story-badge {
    width: 22px;
    height: 22px;
    font-size: 7px;
  }
  .feed-live-story-badge i {
    font-size: 10px;
  }
  .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(210, 243, 101, 0.26);
  border-radius: 14px;
  background:
    radial-gradient(circle at 10% 0%, rgba(210, 243, 101, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(11, 11, 12, 0.88), rgba(9, 9, 9, 0.84));
  display: grid;
  gap: 8px;
}

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

.site-intro-kicker i {
  color: rgba(221, 250, 124, 0.96);
}

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

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

.site-intro-steps {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 5px;
  color: rgba(234, 234, 232, 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: #eefdbb;
  border: 1px solid rgba(210, 243, 101, 0.33);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(18, 18, 20, 0.85);
}

.site-intro-links a:hover {
  color: #f7f7f7;
  border-color: rgba(223, 252, 129, 0.74);
  background: rgba(28, 28, 31, 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(240, 240, 239, 0.16);
  background: linear-gradient(180deg, rgba(18, 18, 20, 0.58), rgba(11, 11, 12, 0.52));
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(7, 8, 2, 0.28);
}

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

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

@media (max-width: 1199px) {
  .main-panels-content {
    position: relative;
    overflow-x: hidden;
    isolation: isolate;
    contain: layout paint;
  }

  .main-panels-content.is-main-tab-animating {
    overflow: hidden;
  }

  .main-panels-content.is-main-tab-animating > [data-main-panel] {
    display: block !important;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background:
      linear-gradient(rgba(210, 243, 101, 0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(210, 243, 101, 0.08) 1px, transparent 1px),
      radial-gradient(120% 160% at 0% 0%, rgba(92, 106, 46, 0.18), transparent 50%),
      linear-gradient(180deg, rgba(9, 9, 9, 0.98), rgba(8, 8, 9, 0.985));
    background-size: 44px 44px, 44px 44px, auto;
    background-position: 0 0, 0 0, 0 0;
    background-repeat: repeat, repeat, no-repeat, no-repeat;
  }
}

@media (max-width: 680px) {
}

.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(242, 243, 241, 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(244, 244, 243, 0.94);
  transition: color 0.22s ease;
}

.main-tab-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(240, 241, 239, 0.14);
}

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

.main-tab-btn.is-active {
  border-color: rgba(220, 251, 116, 0.22);
  color: #ecfdb6;
  background: rgba(220, 251, 116, 0.14);
  box-shadow: 0 8px 18px rgba(200, 233, 92, 0.2);
}

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

.user-tab-btn-wrap {
  position: relative;
  display: block;
}

.user-tab-dropdown {
  display: none;
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  min-width: 160px;
  padding: 6px;
  border-radius: 14px;
  background: transparent;
  backdrop-filter: blur(12px);
}

.user-tab-dropdown:not(.hidden) {
  display: block;
  animation: userTabDropdownIn 0.18s ease;
}

@keyframes userTabDropdownIn {
  from { opacity: 0; transform: translateY(-50%) translateX(-6px); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}

.user-tab-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: rgba(248, 248, 247, 0.82);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.user-tab-dropdown-btn:hover {
  background: rgba(255, 80, 80, 0.12);
  color: #ff8888;
}

.user-tab-dropdown-btn i {
  width: 16px;
  text-align: center;
  font-size: 14px;
  color: inherit;
}

@media (max-width: 1199px) {
  .user-tab-btn-wrap {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    position: static;
  }

  .user-tab-btn-wrap .main-tab-btn {
    flex: 1 1 0;
    width: 100%;
  }

  .user-tab-dropdown {
    display: none !important;
  }
}

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

  .main-panels-content {
  }

  .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(241, 241, 240, 0.15);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(17, 17, 19, 0.56), rgba(10, 10, 11, 0.54));
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 30px rgba(5, 5, 6, 0.34);
  }

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

  .main-tab-group + .main-tab-group {
    border-top: 1px solid rgba(241, 241, 240, 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(226, 227, 224, 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 {
  }

  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: #e9e9e7;
  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: 0;
  border-radius: 0;
  padding: 0;
  font-size: 12px;
  color: rgba(203, 211, 174, 0.82);
  background: transparent;
}

.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(210, 243, 101, 0.34);
  border-radius: 25px;
  background: rgba(8, 8, 8, 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(16, 16, 18, 0.92);
  color: #e9e9e7;
}

.community-search-addon-right {
  border-left: 1px solid rgba(210, 243, 101, 0.24) !important;
}

#openCommunityThreadModalBtn.community-search-addon {
  width: 44px;
  min-width: 44px;
  border-right: 1px solid rgba(210, 243, 101, 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(210, 243, 101, 0.3);
  border-radius: 12px;
  background: rgba(8, 8, 8, 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: #d2f365;
  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: 0;
  border-radius: 0;
  background: transparent;
}

.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(206, 230, 126, 0.18);
  background:
    linear-gradient(180deg, rgba(213, 246, 102, 0.96), rgba(191, 226, 79, 0.94));
  color: #0b0b0c;
  box-shadow:
    0 10px 24px rgba(158, 187, 64, 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(158, 187, 64, 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(241, 241, 240, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(237, 238, 236, 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(241, 241, 240, 0.26);
  box-shadow: none;
}

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

.community-starter-rail {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(160, 181, 93, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(200, 226, 116, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(9, 9, 10, 0.92), rgba(7, 7, 8, 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: #f6f6f5;
}

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

.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(174, 195, 104, 0.2);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(12, 12, 13, 0.92), rgba(8, 8, 9, 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(208, 233, 128, 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: #edf9c6;
  border: 1px solid rgba(202, 229, 114, 0.22);
  background: rgba(136, 157, 70, 0.12);
}

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

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

.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(226, 233, 204, 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(201, 226, 117, 0.08);
  color: #f5f5f4;
}

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

.community-subtab.is-active::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: rgba(233, 252, 171, 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: #f6f6f6;
}

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

.community-create-btn {
  border-radius: 12px;
  min-height: 42px;
  padding: 0 15px;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(207, 247, 77, 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(9, 9, 10, 0), rgba(9, 9, 10, 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(167, 188, 99, 0.14);
  background: rgba(9, 9, 10, 0.78);
  color: #e8e8e6;
  font-size: 13px;
  line-height: 1.35;
}

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

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

.community-live-preview-shell {
  display: grid;
  gap: 8px;
  padding: 10px 0 0;
  border-radius: 0;
  border: 0;
  background: transparent;
}

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

.community-live-preview-head strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f7f7f7;
  font-size: 13px;
}

.community-live-preview-head .community-action-btn-inline {
  width: auto;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  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(167, 188, 99, 0.12);
  background: rgba(7, 7, 8, 0.56);
  min-height: 48px;
}

.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(167, 188, 99, 0.22);
  background: rgba(6, 6, 7, 0.55);
  overflow: hidden;
}

.community-live-mic-meter-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(179, 219, 45, 0.85), rgba(224, 252, 132, 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: #bcc69c;
  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: #e8f0cb;
}

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

.community-live-audio-head {
  display: grid;
  gap: 8px;
}

#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(180, 202, 106, 0.26);
  background:
    radial-gradient(circle at top right, rgba(201, 226, 120, 0.12), transparent 38%),
    radial-gradient(circle at left center, rgba(109, 123, 64, 0.12), transparent 46%),
    linear-gradient(180deg, rgba(10, 10, 11, 0.96), rgba(7, 7, 8, 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(212, 238, 127, 0.6);
  box-shadow:
    0 0 0 3px rgba(138, 159, 68, 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: #f7f7f7;
}

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

.community-live-fomo-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #dee4cb;
  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: #f8f8f7;
}

.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(167, 188, 99, 0.16);
  background: #050505;
  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(167, 188, 99, 0.14);
  background: rgba(9, 9, 10, 0.74);
  color: #c4cea6;
  font-size: 13px;
}

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

.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(111, 128, 54, 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(183, 208, 102, 0.16);
  background:
    radial-gradient(circle at top right, rgba(210, 241, 109, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(10, 10, 11, 0.98), rgba(6, 6, 7, 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(167, 188, 99, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(9, 9, 10, 0.94), rgba(6, 6, 7, 0.98));
  padding: 12px;
}

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

.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(193, 219, 106, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #e8f0cd;
  font-size: 12px;
  font-weight: 700;
}

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

