body.community-page {
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
}

body.community-list-page {
  --community-fab-size: 56px;
  --community-fab-side-offset: 22px;
  --community-fab-bottom-offset: calc(88px + env(safe-area-inset-bottom));
}

body.community-page .community-modal-title {
  padding-bottom: var(--fate-space-0_5);
}

body.community-page .community-gate-actions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

body.community-list-page .fate-page-wrap {
  display: grid;
  grid-auto-rows: max-content;
  align-content: start;
  gap: var(--fate-space-4);
  padding-bottom: calc(
    var(--community-fab-bottom-offset) + var(--community-fab-size) + var(--fate-space-7)
  );
}

body.community-list-page .community-filter-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
  width: 100%;
}

body.community-list-page .community-filter-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

body.community-list-page .community-filter-main::-webkit-scrollbar {
  display: none;
}

body.community-list-page .community-search-toggle {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 78, 35, 0.18);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255, 78, 35, 0.12), transparent 58%),
    linear-gradient(145deg, rgba(28, 18, 15, 0.9), rgba(12, 10, 10, 0.94));
  color: rgba(255, 240, 234, 0.92);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

body.community-list-page .community-search-toggle.is-on {
  border-color: rgba(255, 78, 35, 0.3);
  color: #fff;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255, 78, 35, 0.18), transparent 58%),
    linear-gradient(145deg, rgba(52, 25, 18, 0.92), rgba(18, 12, 11, 0.96));
  box-shadow: 0 12px 28px rgba(255, 78, 35, 0.18);
}

body.community-list-page .community-search-form,
body[data-page="star"] .community-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.community-list-page .community-search-field,
body[data-page="star"] .community-search-field {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 78, 35, 0.16);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255, 78, 35, 0.12), transparent 60%),
    linear-gradient(145deg, rgba(28, 18, 15, 0.88), rgba(12, 10, 10, 0.94));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

body.community-list-page .community-search-field-icon,
body[data-page="star"] .community-search-field-icon {
  font-size: 18px;
  color: rgba(255, 176, 146, 0.78);
}

body.community-list-page .community-search-input,
body[data-page="star"] .community-search-input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: var(--fate-font-size-body);
  line-height: 1.4;
  outline: none;
}

body.community-list-page .community-search-input::placeholder,
body[data-page="star"] .community-search-input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

body.community-list-page .community-search-meta,
body[data-page="star"] .community-search-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

body[data-page="star"] .community-search-meta {
  margin-top: 10px;
}

body.community-list-page .community-search-meta-text,
body[data-page="star"] .community-search-meta-text {
  margin: 0;
  color: rgba(255, 232, 224, 0.88);
  font-size: var(--fate-font-size-caption);
  line-height: 1.4;
}

body.community-list-page .community-search-meta-clear,
body[data-page="star"] .community-search-meta-clear {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: rgba(255, 168, 142, 0.88);
  font-size: var(--fate-font-size-caption);
  font-weight: var(--fate-font-weight-semibold);
  padding: 0;
}

body.community-list-page .community-mode-tabs {
  margin: 8px 0;
  border: 1px solid rgba(255, 78, 35, 0.18);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255, 78, 35, 0.12), transparent 58%),
    linear-gradient(145deg, rgba(28, 18, 15, 0.9), rgba(12, 10, 10, 0.94));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  width: fit-content;
  flex: 0 0 auto;
}

body.community-list-page .community-mode-btn {
  min-width: 70px;
  height: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fate-font-size-body-lg);
  font-weight: var(--fate-font-weight-bold);
  letter-spacing: var(--fate-letter-spacing-body);
  padding: 0 var(--fate-space-3);
  cursor: pointer;
}

body.community-list-page .community-mode-btn.is-on {
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 132, 88, 0.34), rgba(255, 78, 35, 0.4));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 10px 20px rgba(255, 78, 35, 0.12);
}

body.community-list-page .community-best-period {
  width: fit-content;
  border: 1px solid rgba(255, 78, 35, 0.14);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255, 78, 35, 0.1), transparent 58%),
    linear-gradient(145deg, rgba(24, 16, 14, 0.84), rgba(10, 9, 9, 0.9));
  flex: 0 0 auto;
}

body.community-list-page #communityBestPeriodWrap {
  display: none;
}

body.community-list-page .community-best-period-btn {
  height: 30px;
  padding: 0 var(--fate-space-2_5);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fate-font-size-caption);
  font-weight: var(--fate-font-weight-semibold);
  cursor: pointer;
}

body.community-list-page .community-best-period-btn.is-on {
  color: #fff;
  background: rgba(255, 78, 35, 0.18);
}

body.community-list-page .community-feed-list {
  display: grid;
  gap: var(--fate-space-2);
}

body.community-list-page .community-post-card {
  display: grid;
  gap: var(--fate-space-2);
  padding: var(--fate-space-5_5);
  min-height: 140px;
  border-radius: var(--fate-radius-lg);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255, 78, 35, 0.14), transparent 52%),
    linear-gradient(145deg, rgba(34, 20, 16, 0.82), rgba(16, 12, 12, 0.94));
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 78, 35, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 26px rgba(255, 78, 35, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease,
    background 0.4s ease;
}

body.community-list-page .community-post-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.6),
    0 0 34px rgba(255, 78, 35, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 78, 35, 0.28);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255, 78, 35, 0.18), transparent 54%),
    linear-gradient(145deg, rgba(46, 25, 19, 0.88), rgba(18, 12, 11, 0.98));
  z-index: 10;
}

body.community-list-page .community-post-card:active {
  transform: translateY(-1px) scale(0.99);
}

body.community-list-page .community-post-title {
  margin: 0;
  color: #fff;
  font-size: var(--fate-font-size-body-lg);
  font-weight: var(--fate-font-weight-bold);
  letter-spacing: var(--fate-letter-spacing-body);
  line-height: 1.38;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.community-list-page .community-post-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

body.community-list-page .community-post-title-row .community-post-title {
  flex: 1;
  min-width: 0;
}

body.community-list-page .community-post-media-badge {
  width: 22px;
  height: 22px;
  border-radius: var(--fate-radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 78, 35, 0.24);
  background: rgba(255, 78, 35, 0.12);
  color: rgba(255, 224, 214, 0.94);
}

body.community-list-page .community-post-media-badge .material-symbols-outlined {
  font-size: var(--fate-font-size-body);
  line-height: 1;
  font-variation-settings: "FILL" 1, "wght" 520, "opsz" 20;
}

body.community-list-page .community-post-meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--fate-font-size-overline);
  line-height: 1.35;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.community-list-page .community-post-excerpt {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--fate-font-size-caption);
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.community-list-page .community-post-excerpt.is-search-snippet {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body.community-list-page .community-search-highlight {
  color: #ffb38f;
  font-weight: var(--fate-font-weight-bold);
}

body.community-list-page .community-post-thumb {
  position: relative;
  width: 100%;
  border-radius: var(--fate-radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 78, 35, 0.16);
  background: rgba(255, 78, 35, 0.06);
  aspect-ratio: 16 / 9;
}

body.community-list-page .community-post-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, transparent 40%);
  pointer-events: none;
}

body.community-list-page .community-post-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.community-list-page .community-post-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

body.community-list-page .community-post-stats {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
}

body.community-list-page .community-post-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--fate-font-size-overline);
  font-weight: 550;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

body.community-list-page .community-post-stat .material-symbols-outlined {
  font-size: var(--fate-font-size-caption);
  line-height: 1;
  font-variation-settings: "FILL" 1, "wght" 500, "opsz" 20;
  opacity: 0.92;
}

body.community-list-page .community-pagination,
body[data-page="star"] .community-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  gap: var(--fate-space-2);
  padding: var(--fate-space-3_5) var(--fate-space-4);
  border-radius: var(--fate-radius-lg);
  border: 1px solid rgba(255, 78, 35, 0.16);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255, 78, 35, 0.12), transparent 54%),
    linear-gradient(145deg, rgba(29, 18, 16, 0.78), rgba(14, 11, 11, 0.92));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.community-list-page .community-pagination-row,
body[data-page="star"] .community-pagination-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
}

body.community-list-page .community-page-text,
body[data-page="star"] .community-page-text {
  margin: 0;
}

body[data-page="star"] .star-refresh-wrap {
  display: flex;
  justify-content: stretch;
  margin-top: -2px;
  margin-bottom: 10px;
}

body[data-page="star"] .star-refresh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

body[data-page="star"] .star-refresh-btn .material-symbols-outlined {
  font-size: 16px;
  line-height: 1;
}

body.community-list-page .community-fab {
  position: fixed;
  right: max(
    calc((100vw - var(--fate-mobile-max-width)) / 2 + var(--community-fab-side-offset)),
    calc(var(--community-fab-side-offset) + env(safe-area-inset-right))
  );
  bottom: var(--community-fab-bottom-offset);
  width: 56px;
  height: 56px;
  border-radius: var(--fate-radius-pill);
  border: 0;
  color: #fff;
  background: linear-gradient(145deg, #ffad6c, #ff8a54 50%, #ff4e23);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 30px rgba(255, 94, 54, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.4);
  z-index: 12;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

body.community-list-page .community-fab .material-symbols-outlined {
  font-size: var(--fate-font-size-hero);
  line-height: 1;
  font-variation-settings: "FILL" 1, "wght" 550, "opsz" 24;
}

body.community-list-page .community-fab:active {
  transform: translateY(1px) scale(0.98);
}

body.community-list-page .community-fab:hover {
  transform: translateY(-4px) scale(1.08) rotate(90deg);
  box-shadow:
    0 20px 40px rgba(255, 94, 54, 0.6),
    0 0 20px rgba(255, 78, 35, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

body.community-post-page {
  --community-line: var(--fate-color-border);
  --community-soft-text: var(--fate-color-text-subtle);
  --community-subtle-text: rgba(255, 228, 220, 0.58);
  --community-surface: rgba(23, 16, 14, 0.92);
  --community-surface-deep: rgba(15, 11, 10, 0.96);
  --community-accent-rose: #ff8a54;
  --community-accent-violet: #ff4e23;
}

body.community-post-page .fate-page-wrap {
  display: grid;
  gap: 0;
  align-content: start;
  grid-auto-rows: min-content;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: calc(102px + env(safe-area-inset-bottom));
  background:
    radial-gradient(110% 80% at 0% 0%, rgba(255, 78, 35, 0.14), transparent 54%),
    radial-gradient(90% 70% at 100% 0%, rgba(255, 138, 84, 0.1), transparent 50%),
    linear-gradient(180deg, rgba(15, 12, 12, 0.96), rgba(9, 8, 8, 0.98));
}

body.community-post-page .community-detail-appbar {
  position: relative;
  z-index: 8;
  height: 48px;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  padding: 0 var(--fate-space-2);
  border-bottom: 1px solid rgba(255, 78, 35, 0.14);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(255, 78, 35, 0.12), transparent 56%),
    linear-gradient(180deg, rgba(20, 13, 12, 0.96), rgba(12, 10, 10, 0.92));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.community-post-page .community-icon-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: var(--fate-radius-xs);
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.community-post-page .community-icon-btn .material-symbols-outlined {
  font-size: var(--fate-font-size-title);
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 500, "opsz" 24;
}

body.community-post-page .community-appbar-title {
  margin: 0;
  text-align: center;
  font-size: var(--fate-font-size-body);
  font-weight: var(--fate-font-weight-bold);
  letter-spacing: var(--fate-letter-spacing-body);
  color: rgba(255, 255, 255, 0.94);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.community-post-page .community-detail-article {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: var(--fate-space-4) var(--fate-space-3_5) var(--fate-space-4_5);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255, 78, 35, 0.12), transparent 52%),
    linear-gradient(165deg, rgba(27, 18, 16, 0.82), rgba(14, 11, 10, 0.94));
}

body.community-post-page .community-detail-head {
  display: grid;
  gap: 10px;
  border-bottom: 1px solid var(--community-line);
  padding-bottom: var(--fate-space-3);
}

body.community-post-page .community-post-title {
  margin: 0;
  font-size: var(--fate-font-size-title);
  line-height: 1.42;
  letter-spacing: var(--fate-letter-spacing-title);
  font-weight: var(--fate-font-weight-bold);
  color: #fff;
  word-break: break-word;
}

body.community-post-page .community-detail-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

body.community-post-page .community-detail-meta-primary {
  margin: 0;
  font-size: var(--fate-font-size-overline);
  line-height: 1.4;
  color: var(--community-soft-text);
}

body.community-post-page .community-detail-stats {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

body.community-post-page .community-detail-stat {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--community-subtle-text);
  font-size: var(--fate-font-size-overline);
  line-height: 1;
}

body.community-post-page .community-detail-stat .material-symbols-outlined {
  font-size: var(--fate-font-size-body);
  font-variation-settings: "FILL" 0, "wght" 420, "opsz" 20;
  color: rgba(255, 169, 137, 0.82);
}

body.community-post-page .community-post-media {
  position: relative;
  width: 90%;
  margin: 0 auto;
  border-radius: var(--fate-radius-xs);
  overflow: hidden;
  border: 1px solid var(--community-line);
  background: rgba(255, 78, 35, 0.05);
  aspect-ratio: auto;
}

body.community-post-page #detailHeroMedia,
body.community-post-page #detailExtraImages,
body.community-post-page #detailEditBtn,
body.community-post-page #detailDeleteBtn,
body.community-post-page #detailCommentLoginHint,
body.community-post-page #detailCommentCompose,
body.community-post-page #detailReplyState {
  display: none;
}

body.community-post-page .community-post-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

body.community-post-page .community-post-body {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.72;
  font-size: var(--fate-font-size-body);
  color: rgba(255, 255, 255, 0.92);
  word-break: break-word;
}

body.community-post-page .community-post-extra-images {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

body.community-post-page .community-post-extra-images .community-post-media {
  margin: 0 auto;
}

body.community-post-page .community-detail-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: var(--fate-space-1);
}

body.community-post-page .community-action-btn {
  min-height: 34px;
  height: 34px;
  padding: 0 var(--fate-space-3);
  border-radius: var(--fate-radius-xs);
  border: 1px solid var(--community-line);
  background: var(--community-surface-deep);
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--fate-font-size-caption);
  font-weight: var(--fate-font-weight-semibold);
  letter-spacing: var(--fate-letter-spacing-body);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

body.community-post-page .community-action-btn.recommend {
  border-color: rgba(255, 78, 35, 0.28);
  background:
    linear-gradient(140deg, rgba(255, 138, 84, 0.22), rgba(255, 78, 35, 0.22)),
    rgba(22, 15, 14, 0.92);
}

body.community-post-page .community-action-btn.recommend.is-liked {
  border-color: rgba(255, 78, 35, 0.54);
  background:
    linear-gradient(135deg, rgba(255, 138, 84, 0.36), rgba(255, 78, 35, 0.4)),
    rgba(40, 21, 16, 0.94);
  color: rgba(255, 237, 229, 0.98);
  box-shadow: 0 0 0 1px rgba(255, 156, 125, 0.16) inset;
}

body.community-post-page .community-action-btn .material-symbols-outlined {
  font-size: var(--fate-font-size-body-lg);
  font-variation-settings: "FILL" 0, "wght" 520, "opsz" 20;
}

body.community-post-page .community-comment-section {
  display: grid;
  gap: 0;
  padding: 0 var(--fate-space-3_5) var(--fate-space-4_5);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(255, 78, 35, 0.1), transparent 56%),
    linear-gradient(180deg, rgba(17, 12, 12, 0.9), rgba(11, 9, 9, 0.96));
}

body.community-post-page .community-comment-head {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--community-line);
}

body.community-post-page .community-comment-head h3 {
  margin: 0;
  font-size: var(--fate-font-size-body);
  color: #fff;
  font-weight: var(--fate-font-weight-bold);
}

body.community-post-page .community-comment-count {
  font-size: var(--fate-font-size-overline);
  color: var(--community-soft-text);
  line-height: 1;
}

body.community-post-page .community-comment-list {
  display: grid;
  gap: 0;
}

body.community-post-page .community-comment-item {
  margin: 0;
  padding: var(--fate-space-3) 0;
  border-bottom: 1px solid var(--community-line);
  background: transparent;
}

body.community-post-page .community-comment-row {
  margin: 0;
  padding: 0;
  border-bottom: 0;
  background: transparent;
}

body.community-post-page .community-comment-children {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

body.community-post-page .community-comment-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

body.community-post-page .community-comment-name {
  font-size: var(--fate-font-size-caption);
  font-weight: 700;
  color: #fff;
  margin: 0;
}

body.community-post-page .community-comment-row-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.community-post-page .community-comment-date {
  margin: 0;
  font-size: var(--fate-font-size-overline);
  color: var(--community-soft-text);
}

body.community-post-page .community-comment-reply {
  border: 0;
  background: transparent;
  color: rgba(255, 160, 126, 0.94);
  font-size: var(--fate-font-size-overline);
  padding: 0;
}

body.community-post-page .community-comment-delete {
  border: 0;
  background: transparent;
  color: var(--community-subtle-text);
  font-size: var(--fate-font-size-overline);
  padding: 0;
}

body.community-post-page .community-comment-row.is-reply {
  margin-left: 14px;
  padding: var(--fate-space-2_5) var(--fate-space-3);
  border-left: 2px solid rgba(255, 78, 35, 0.22);
  border-radius: var(--fate-radius-xs);
  background: rgba(255, 78, 35, 0.05);
}

body.community-post-page .community-comment-body {
  margin: 7px 0 0;
  white-space: pre-wrap;
  font-size: var(--fate-font-size-caption);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  word-break: break-word;
}

body.community-post-page .community-comment-empty {
  margin: 0;
  padding: var(--fate-space-4) 0;
  font-size: var(--fate-font-size-caption);
  color: var(--community-soft-text);
}

body.community-post-page .community-comment-login-hint {
  margin: 12px 0 0;
  min-height: 84px;
  padding: 0 var(--fate-space-3_5);
  align-items: center;
  justify-content: center;
  border-radius: var(--fate-radius-xs);
  border: 1px dashed var(--community-line);
  background:
    linear-gradient(140deg, rgba(255, 138, 84, 0.08), rgba(255, 78, 35, 0.08)),
    rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fate-font-size-caption);
  line-height: 1.55;
  text-align: center;
  cursor: pointer;
}

body.community-post-page .community-comment-compose {
  margin-top: 12px;
  gap: 8px;
}

body.community-post-page .community-comment-compose.is-inline-reply {
  margin-top: 10px;
  margin-left: 14px;
  padding: var(--fate-space-2_5) var(--fate-space-3);
  border-left: 2px solid rgba(255, 78, 35, 0.22);
  border-radius: var(--fate-radius-xs);
  background: rgba(255, 78, 35, 0.045);
}

body.community-post-page .community-comment-compose.is-inline-reply textarea {
  min-height: 72px;
}

body.community-post-page .community-reply-state {
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--community-line);
  border-radius: var(--fate-radius-xs);
  padding: var(--fate-space-1_75) var(--fate-space-2_5);
  background: rgba(255, 78, 35, 0.05);
  font-size: var(--fate-font-size-overline);
  color: rgba(255, 255, 255, 0.82);
}

body.community-post-page .community-reply-cancel {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--fate-font-size-overline);
  padding: 0;
}

body.community-post-page .community-comment-compose textarea {
  min-height: 84px;
  resize: vertical;
  font-size: var(--fate-font-size-caption);
  line-height: 1.55;
  background: rgba(255, 78, 35, 0.05);
  border: 1px solid var(--community-line);
}

body.community-post-page .community-comment-compose-actions {
  display: flex;
  justify-content: flex-end;
}

body.community-post-page .community-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

body.community-post-page .community-confirm-btn {
  min-height: 44px;
  border-radius: var(--fate-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--fate-font-size-caption);
  font-weight: 700;
  letter-spacing: var(--fate-letter-spacing-body);
  color: #fff;
  transition: transform 0.18s ease, opacity 0.18s ease, border-color 0.18s ease;
}

body.community-post-page .community-confirm-btn:active {
  transform: scale(0.985);
}

body.community-post-page .community-confirm-btn.secondary {
  background: rgba(255, 78, 35, 0.08);
  color: rgba(255, 255, 255, 0.88);
}

body.community-post-page .community-confirm-btn.danger {
  border-color: rgba(255, 78, 35, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 138, 84, 0.92), rgba(255, 78, 35, 0.88)),
    rgba(42, 18, 16, 0.94);
  box-shadow: 0 12px 26px rgba(255, 138, 84, 0.24);
}

body.community-write-page .fate-page-wrap {
  display: grid;
  gap: var(--fate-space-3);
  padding-bottom: calc(104px + env(safe-area-inset-bottom));
}

body.community-write-page .community-write-appbar {
  position: sticky;
  top: 74px;
  z-index: 8;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: var(--fate-space-2);
  padding: var(--fate-space-2) var(--fate-space-2_5);
  border-radius: var(--fate-radius-md);
  border: 1px solid rgba(255, 78, 35, 0.18);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(255, 78, 35, 0.2), rgba(255, 78, 35, 0) 54%),
    rgba(17, 12, 12, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.community-write-page .community-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--fate-radius-pill);
  border: 1px solid rgba(255, 78, 35, 0.2);
  background: rgba(255, 78, 35, 0.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.community-write-page .community-icon-btn .material-symbols-outlined {
  font-size: var(--fate-font-size-title-sm);
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 520, "opsz" 24;
}

body.community-write-page .community-write-appbar h1 {
  margin: 0;
  font-size: var(--fate-font-size-body);
  font-weight: var(--fate-font-weight-bold);
  color: #fff;
  letter-spacing: var(--fate-letter-spacing-body);
}

body.community-write-page .community-write-panel {
  display: grid;
  gap: var(--fate-space-2);
  padding: var(--fate-space-3_75) var(--fate-space-3_5);
  background:
    radial-gradient(130% 120% at 12% 0%, rgba(255, 78, 35, 0.2) 0%, rgba(255, 78, 35, 0) 56%),
    linear-gradient(148deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.28), 0 0 30px rgba(255, 78, 35, 0.08);
}

body.community-write-page .community-write-title {
  margin: 0;
  font-size: var(--fate-font-size-caption);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
  letter-spacing: var(--fate-letter-spacing-body);
}

body.community-write-page .community-write-field-stack {
  display: grid;
  gap: 8px;
}

body.community-write-page .community-upload-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

body.community-write-page .community-upload-help {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--fate-font-size-overline);
  line-height: 1.45;
}

body.community-write-page #postImagePreviewWrap {
  display: none;
}

body.community-write-page .community-image-preview {
  position: relative;
  width: 100%;
  border-radius: var(--fate-radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 78, 35, 0.18);
  background: rgba(255, 78, 35, 0.06);
  aspect-ratio: 16 / 9;
}

body.community-write-page .community-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.community-write-page .community-image-remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 1px solid rgba(255, 78, 35, 0.24);
  background: rgba(23, 12, 10, 0.82);
  color: #fff;
  font-size: var(--fate-font-size-overline);
  font-weight: 700;
  border-radius: var(--fate-radius-pill);
  padding: var(--fate-space-1_25) var(--fate-space-2);
  line-height: 1;
}

body.community-write-page .community-write-guide {
  margin-top: 8px;
}

body.community-write-page .community-write-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

body.community-write-page .community-write-gate-actions {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

body.community-write-page .community-write-back-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
