:root {
  --community-ink: #111528;
  --community-muted: #72798e;
  --community-line: #e1e5ef;
  --community-paper: #f5f7fc;
  --community-blue: #3157f6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--community-ink);
  background: var(--community-paper);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

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

.community-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--community-line);
  backdrop-filter: blur(16px);
}

.community-nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 36px;
  margin: auto;
}

.community-nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}

.community-nav > div {
  display: flex;
  gap: 25px;
  margin-left: auto;
}

.community-nav > div a {
  color: #62697d;
  font-size: 13px;
  font-weight: 700;
}

.community-nav > div a.active {
  color: var(--community-blue);
}

.community-account-link {
  padding: 11px 16px;
  color: #fff;
  background: var(--community-blue);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}

.community-main,
.community-compose-main,
.community-post-main {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
  padding: 32px 0 70px;
}

.community-hero {
  min-height: 260px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(30px, 5vw, 58px);
  color: #fff;
  background:
    radial-gradient(circle at 82% 0%, rgba(79, 112, 255, 0.45), transparent 35%),
    linear-gradient(145deg, #11152a, #171e3c);
  border-radius: 26px;
}

.community-hero p,
.community-board-heading p,
.community-compose-heading p {
  margin: 0 0 10px;
  color: #8ea6ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.community-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -2.5px;
}

.community-hero h1 strong {
  color: #92a9ff;
}

.community-hero div > span {
  color: #abb4cf;
  font-size: 12px;
}

.community-hero > a {
  flex: 0 0 auto;
  padding: 15px 19px;
  color: #182253;
  background: #fff;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 850;
}

.community-feedback,
.community-error {
  margin-top: 18px;
  padding: 14px 17px;
  color: #17684f;
  background: #e9f8f1;
  border: 1px solid #c3e8d8;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
}

.community-error {
  color: #a42c40;
  background: #fff0f2;
  border-color: #f1c4cc;
}

.community-board-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.community-board-tabs a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 12px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--community-line);
  border-radius: 15px;
}

.community-board-tabs a.active {
  color: var(--community-blue);
  background: #eef1ff;
  border-color: #c8d1ff;
}

.community-board-tabs span {
  grid-row: 1 / 3;
  color: #93a0cf;
  font-size: 11px;
  font-weight: 900;
}

.community-board-tabs strong {
  font-size: 14px;
}

.community-board-tabs small {
  color: var(--community-muted);
  font-size: 9px;
}

.community-board {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 38px);
  background: #fff;
  border: 1px solid var(--community-line);
  border-radius: 22px;
}

.community-board-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--community-line);
}

.community-board-heading h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -1px;
}

.community-board-heading div > span {
  color: var(--community-muted);
  font-size: 9px;
}

.community-board-heading form {
  display: flex;
  gap: 7px;
}

.community-board-heading input,
.community-compose input,
.community-compose textarea,
.community-compose select {
  min-height: 42px;
  padding: 0 13px;
  color: var(--community-ink);
  background: #f8f9fc;
  border: 1px solid #dde2ed;
  border-radius: 10px;
  font: inherit;
  font-size: 11px;
}

.community-board-heading button,
.community-compose button {
  min-height: 42px;
  padding: 0 16px;
  color: #fff;
  background: var(--community-blue);
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

.school-board-membership {
  display: grid;
  grid-template-columns:
    minmax(210px, 0.7fr)
    minmax(0, 1.3fr);
  align-items: center;
  gap: 22px;
  margin-top: 16px;
  padding: 20px 22px;
  color: #fff;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(92, 117, 255, 0.4),
      transparent 42%
    ),
    linear-gradient(
      135deg,
      #151b37,
      #202b5d
    );
  border-radius: 14px;
}

.school-board-membership div {
  display: grid;
  gap: 7px;
}

.school-board-membership span {
  color: #91a6ff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.school-board-membership strong {
  font-size: 17px;
}

.school-board-membership p {
  margin: 0;
  color: #bbc3dd;
  font-size: 9px;
  line-height: 1.75;
}

.school-board-membership b {
  color: #fff;
}

.community-post-list {
  display: grid;
}

.community-post-list > a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid #e8ebf2;
}

.community-post-list > a:hover h3 {
  color: var(--community-blue);
}

.community-post-list > a.is-pinned {
  margin: 0 -14px;
  padding-right: 14px;
  padding-left: 14px;
  background:
    linear-gradient(
      90deg,
      rgba(49, 87, 246, 0.07),
      rgba(121, 86, 238, 0.025)
    );
  border-bottom-color:
    #d8dfff;
  border-radius: 12px;
}

.community-post-list > a.community-operations-post {
  position: relative;
  padding-left: 18px;
}

.community-post-list > a.community-operations-post::before {
  content: "";
  position: absolute;
  top: 21px;
  bottom: 21px;
  left: 1px;
  width: 4px;
  background: linear-gradient(180deg, #3157f6, #7956ee);
  border-radius: 99px;
}

.community-operations-status {
  color: #7456e8 !important;
  font-weight: 850;
}

.community-post-list span {
  color: var(--community-blue);
  font-size: 9px;
  font-weight: 850;
}

.community-post-list h3 {
  margin: 8px 0 7px;
  font-size: 17px;
}

.community-post-list p {
  margin: 0;
  color: var(--community-muted);
  font-size: 10px;
  line-height: 1.65;
  white-space: pre-line;
}

.community-post-list aside {
  min-width: 100px;
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 5px;
}

.community-post-list aside strong {
  font-size: 10px;
}

.community-post-list aside small {
  color: #8a91a5;
  font-size: 9px;
}

.community-empty {
  display: grid;
  justify-items: center;
  padding: 70px 20px;
  color: var(--community-muted);
  text-align: center;
}

.community-empty span {
  font-size: 32px;
}

.community-empty h3 {
  margin: 14px 0 5px;
  color: var(--community-ink);
}

.community-empty p {
  margin: 0;
  font-size: 10px;
}

.community-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 25px;
  font-size: 10px;
}

.community-pagination a,
.community-post-actions a {
  padding: 10px 14px;
  color: var(--community-blue);
  background: #eef1ff;
  border-radius: 9px;
  font-weight: 800;
}

.community-pagination a.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.community-announcement-main {
  min-height: calc(100vh - 138px);
}

.community-announcement-detail > header {
  background:
    radial-gradient(circle at 93% 0%, rgba(91, 86, 238, 0.15), transparent 35%),
    #f8f9ff;
}

.community-operation-badge {
  display: inline-block;
  margin-left: 7px;
  padding: 6px 9px;
  color: #fff;
  background: #11172d;
  border-radius: 8px;
  font-size: 9px;
  letter-spacing: 0.7px;
}

.community-announcement-detail .community-post-content {
  min-height: 280px;
}

.community-announcement-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 34px 34px;
  padding: 20px 22px;
  background: #f1f3fa;
  border-radius: 14px;
}

.community-announcement-link > div {
  display: grid;
  gap: 6px;
}

.community-announcement-link span {
  color: var(--community-blue);
  font-size: 9px;
  font-weight: 900;
}

.community-announcement-link strong {
  font-size: 10px;
}

.community-announcement-link a {
  flex: 0 0 auto;
  padding: 11px 15px;
  color: #fff;
  background: var(--community-blue);
  border-radius: 9px;
  font-size: 9px;
  font-weight: 850;
  text-decoration: none;
}

.community-footer {
  min-height: 62px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 0 max(20px, calc((100% - 1120px) / 2));
  color: #8e95aa;
  background: #111528;
  font-size: 9px;
}

.community-footer div {
  display: flex;
  gap: 18px;
}

.community-back {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--community-blue);
  font-size: 11px;
  font-weight: 800;
}

.community-compose {
  max-width: 820px;
  margin: auto;
  padding: clamp(28px, 5vw, 50px);
  background: #fff;
  border: 1px solid var(--community-line);
  border-radius: 22px;
}

.community-compose-heading h1 {
  margin: 0 0 8px;
  font-size: 38px;
}

.community-compose-heading span {
  color: var(--community-muted);
  font-size: 10px;
}

.community-compose form {
  display: grid;
  gap: 15px;
  margin-top: 28px;
}

.community-compose label {
  display: grid;
  gap: 8px;
}

.community-compose label > span {
  color: #667086;
  font-size: 9px;
  font-weight: 850;
}

.community-compose input,
.community-compose select {
  width: 100%;
}

.community-compose
  .community-anonymous-choice,
.community-anonymous-choice {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 13px 14px;
  background: #f7f8fc;
  border: 1px solid #e0e4ee;
  border-radius: 11px;
  cursor: pointer;
}

.community-compose
  .community-anonymous-choice
  input,
.community-anonymous-choice input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--community-blue);
}

.community-anonymous-choice
  > span {
  display: grid;
  gap: 4px;
  color: var(--community-ink);
}

.community-anonymous-choice b {
  font-size: 10px;
}

.community-anonymous-choice small {
  color: var(--community-muted);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.5;
}

.community-compose textarea {
  width: 100%;
  min-height: 300px;
  padding: 14px;
  resize: vertical;
  line-height: 1.7;
}

.community-compose form > p {
  margin: 0;
  padding: 13px;
  color: #7b6240;
  background: #fff8e8;
  border-radius: 10px;
  font-size: 9px;
  line-height: 1.65;
}

.community-post-main {
  max-width: 900px;
}

.community-post-detail {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--community-line);
  border-radius: 22px;
}

.community-post-detail > header {
  padding: clamp(28px, 5vw, 50px);
  border-bottom: 1px solid var(--community-line);
}

.community-post-detail header > span {
  color: var(--community-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
}

.community-post-detail h1 {
  margin: 15px 0 22px;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.2;
  letter-spacing: -1.5px;
}

.community-post-detail header div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.community-post-detail header strong {
  font-size: 11px;
}

.community-post-detail header small {
  color: var(--community-muted);
  font-size: 9px;
}

.community-post-detail
  .community-anonymous-school {
  padding: 5px 8px;
  color: #3157f6;
  background: #eef2ff;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 800;
}

.community-post-content {
  min-height: 280px;
  padding: clamp(28px, 5vw, 50px);
  font-size: 14px;
  line-height: 1.95;
  white-space: pre-wrap;
}

.community-post-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}

.community-post-actions a.primary {
  color: #fff;
  background: var(--community-blue);
}

.community-comments {
  margin-top: 18px;
  padding: clamp(24px, 4vw, 38px);
  background: #fff;
  border: 1px solid var(--community-line);
  border-radius: 22px;
}

.community-comments > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--community-line);
}

.community-comments > header p {
  margin: 0 0 7px;
  color: var(--community-blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.community-comments > header h2 {
  margin: 0;
  font-size: 24px;
}

.community-comments > header > span {
  color: var(--community-muted);
  font-size: 9px;
}

.community-comment-form {
  display: grid;
  gap: 9px;
  margin-top: 20px;
  padding: 18px;
  background: #f7f8fc;
  border-radius: 14px;
}

.community-comment-form label {
  font-size: 10px;
  font-weight: 850;
}

.community-comment-form textarea {
  width: 100%;
  min-height: 110px;
  padding: 14px;
  color: var(--community-ink);
  background: #fff;
  border: 1px solid #dfe4ef;
  border-radius: 11px;
  font: inherit;
  font-size: 11px;
  line-height: 1.7;
  resize: vertical;
}

.community-comment-form > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.community-comment-form
  > .community-comment-options {
  display: grid;
  gap: 10px;
}

.community-comment-options
  > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.community-anonymous-choice.compact {
  width: min(100%, 390px);
  box-sizing: border-box;
  padding: 10px 12px;
  background: #fff;
}

.community-comment-form small {
  color: var(--community-muted);
  font-size: 9px;
}

.community-comment-form button {
  min-height: 39px;
  padding: 0 16px;
  color: #fff;
  background: var(--community-blue);
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

.community-comment-login {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding: 17px 18px;
  color: #667086;
  background: #f7f8fc;
  border-radius: 12px;
  font-size: 10px;
}

.community-comment-login p {
  margin: 0;
}

.community-comment-login a {
  color: var(--community-blue);
  font-weight: 850;
}

.community-comment-list {
  display: grid;
  margin-top: 8px;
}

.community-comment-list article {
  padding: 19px 2px;
  border-bottom: 1px solid #e8ebf2;
}

.community-comment-list article header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.community-comment-list article strong {
  font-size: 10px;
}

.community-comment-list article time {
  color: #9299ab;
  font-size: 9px;
}

.community-comment-list article p {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.8;
  white-space: pre-wrap;
}

.community-comment-empty {
  padding: 45px 10px;
  color: var(--community-muted);
  font-size: 10px;
  text-align: center;
}

.community-sort-tabs {
  display: flex;
  gap: 7px;
  margin-top: 16px;
}

.community-sort-tabs a {
  min-height: 35px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  color: #717a90;
  background: #f5f7fb;
  border: 1px solid #e1e5ee;
  border-radius: 9px;
  font-size: 9px;
  font-weight: 800;
}

.community-sort-tabs a.active {
  color: #fff;
  background: var(--community-blue);
  border-color: var(--community-blue);
}

.community-sort-tabs small {
  opacity: 0.76;
  font-size: 9px;
}

.community-operations-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding: 13px;
  background: #f7f8fc;
  border: 1px solid #e4e7f0;
  border-radius: 13px;
}

.community-operations-categories a {
  padding: 9px 13px;
  color: #687087;
  background: #fff;
  border: 1px solid #e1e5ee;
  border-radius: 9px;
  font-size: 9px;
  font-weight: 850;
  text-decoration: none;
}

.community-operations-categories a.active,
.community-operations-categories a:hover {
  color: #fff;
  background: var(--community-blue);
  border-color: var(--community-blue);
}

.community-popular-strip {
  display: grid;
  grid-template-columns:
    150px minmax(0, 1fr);
  gap: 16px;
  margin-top: 14px;
  padding: 16px;
  color: #fff;
  background: linear-gradient(135deg, #161d3b, #252f61);
  border-radius: 13px;
}

.community-popular-strip > header {
  display: grid;
  align-content: center;
  gap: 5px;
}

.community-popular-strip > header span {
  color: #ff8194;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.community-popular-strip > header strong {
  font-size: 12px;
}

.community-popular-strip > div {
  display: grid;
  gap: 5px;
}

.community-popular-strip a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 8px;
}

.community-popular-strip a strong {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-popular-strip a span {
  flex: 0 0 auto;
  color: #ff9cab;
  font-size: 9px;
}

.community-popular-badge {
  display: inline-flex;
  margin-left: 6px;
  padding: 4px 7px;
  color: #b8243f;
  background: #fff0f2;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 900;
  vertical-align: middle;
}

.community-pin-badge {
  display: inline-flex;
  margin-left: 6px;
  padding: 4px 7px;
  color: #3157f6;
  background: #e9edff;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 900;
  vertical-align: middle;
}

.community-list-votes {
  color: #3157f6 !important;
  font-weight: 750;
}

.community-vote-box {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 23px;
  background: #f7f8fc;
  border-top: 1px solid #e4e8f0;
}

.community-vote-box p {
  margin: 0;
  color: #505a70;
  font-size: 10px;
  font-weight: 800;
}

.community-vote-box > div {
  display: flex;
  gap: 8px;
}

.community-vote-box form {
  margin: 0;
}

.community-vote-box button {
  min-height: 39px;
  padding: 0 14px;
  color: #3157f6;
  background: #fff;
  border: 1px solid #cad4fb;
  border-radius: 10px;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.community-vote-box button.down {
  color: #737c91;
  border-color: #dce1ea;
}

.community-vote-box button.selected {
  color: #fff;
  background: #3157f6;
  border-color: #3157f6;
}

.community-vote-box button.down.selected {
  background: #657087;
  border-color: #657087;
}

.community-vote-box button strong {
  margin-left: 4px;
}

.community-vote-box > small {
  color: #9299aa;
  font-size: 9px;
}

.community-vote-readonly {
  align-items: center;
}

.community-vote-readonly span,
.community-vote-readonly a {
  padding: 9px 11px;
  color: #697287;
  background: #fff;
  border: 1px solid #e0e4ed;
  border-radius: 9px;
  font-size: 9px;
}

.community-vote-readonly a {
  color: #3157f6;
  font-weight: 800;
}

.school-board-login-guide {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  padding: 14px 16px;
  color: #667086;
  background: #f4f6fb;
  border: 1px solid #dfe4ee;
  border-radius: 12px;
  font-size: 9px;
}

.school-board-login-guide strong {
  color: #1c2437;
}

.school-board-login-guide a {
  margin-left: auto;
  padding: 8px 12px;
  color: #fff;
  background: #3157f6;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 760px) {
  .community-nav > div {
    display: none;
  }

  .community-account-link {
    margin-left: auto;
  }

  .community-hero,
  .community-board-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .community-board-tabs {
    grid-template-columns: 1fr;
  }

  .community-board-heading form {
    width: 100%;
  }

  .community-board-heading input {
    min-width: 0;
    flex: 1;
  }

  .school-board-membership {
    grid-template-columns: 1fr;
  }

  .community-comments > header,
  .community-comment-login,
  .community-announcement-link {
    align-items: flex-start;
    flex-direction: column;
  }

  .community-popular-strip {
    grid-template-columns: 1fr;
  }

  .community-sort-tabs {
    overflow-x: auto;
  }
}
.community-report-box {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: #fff8f8;
  border: 1px solid #f0dada;
  border-radius: 14px;
}

.community-report-box summary {
  color: #a63b4d;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.community-report-box form {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.community-report-box label {
  font-size: 11px;
  font-weight: 800;
}

.community-report-box textarea {
  min-height: 100px;
  padding: 13px;
  resize: vertical;
  border: 1px solid #e6cbd0;
  border-radius: 11px;
  font: inherit;
}

.community-report-box button {
  justify-self: end;
  padding: 10px 15px;
  color: #fff;
  background: #b93d52;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.community-post-list
  > a.community-rules-post {
  position: relative;
  margin-bottom: 6px;
  background:
    radial-gradient(
      circle at 92% 0%,
      rgba(92, 85, 238, 0.14),
      transparent 36%
    ),
    linear-gradient(
      110deg,
      #f0f3ff,
      #faf8ff
    );
  border: 1px solid #cfd7ff;
}

.community-post-list
  > a.community-rules-post::before {
  content: "";
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 0;
  width: 4px;
  background: linear-gradient(
    180deg,
    #3157f6,
    #7956ee
  );
  border-radius: 0 8px 8px 0;
}

.community-rules-status {
  color: #644de1 !important;
  font-weight: 850;
}

.community-posting-quota {
  display: grid;
  grid-template-columns:
    auto auto 1fr;
  align-items: center;
  gap: 8px 12px;
  margin-top: 24px;
  padding: 15px 17px;
  color: #3157f6;
  background: #eef2ff;
  border: 1px solid #d1d9ff;
  border-radius: 12px;
}

.community-posting-quota span,
.community-posting-quota strong {
  font-size: 11px;
}

.community-posting-quota small {
  justify-self: end;
  color: #6e7790;
  font-size: 9px;
}

.community-posting-quota.is-exhausted {
  color: #a42c40;
  background: #fff0f2;
  border-color: #f1c4cc;
}

.community-attachment-field {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: #f7f8fc;
  border: 1px solid #dfe4ee;
  border-radius: 12px;
}

.community-attachment-field
  > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.community-attachment-field
  > div:first-child
  span {
  color: #667086;
  font-size: 9px;
  font-weight: 850;
}

.community-attachment-field small,
.community-attachment-field p {
  color: #7b8397;
  font-size: 9px;
}

.community-attachment-field p {
  margin: 0;
  line-height: 1.65;
}

.community-compose
  .community-file-picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 10px 13px;
  color: #3157f6;
  background: #fff;
  border: 1px dashed #aebcf6;
  border-radius: 10px;
  cursor: pointer;
}

.community-file-picker strong {
  flex: 0 0 auto;
  font-size: 10px;
}

.community-file-picker span {
  overflow: hidden;
  color: #7a8398 !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.community-attachment-field.is-restricted {
  background: #fff7f8;
  border-color: #efcfd5;
}

.community-attachment-field.is-restricted
  > strong {
  color: #a42c40;
  font-size: 10px;
}

.community-compose button:disabled {
  color: #9299aa;
  background: #e3e6ed;
  cursor: not-allowed;
}

.community-post-attachments {
  padding: 0 clamp(28px, 5vw, 50px)
    clamp(28px, 5vw, 50px);
}

.community-post-attachments
  > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid #e4e8f0;
}

.community-post-attachments
  > header
  p {
  margin: 0 0 6px;
  color: #3157f6;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.3px;
}

.community-post-attachments
  > header
  h2 {
  margin: 0;
  font-size: 18px;
}

.community-post-attachments
  > header
  > span {
  color: #7b8397;
  font-size: 9px;
}

.community-image-grid {
  display: grid;
  grid-template-columns: repeat(
    2,
    minmax(0, 1fr)
  );
  gap: 10px;
  margin-bottom: 12px;
}

.community-image-grid a {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  background: #edf0f7;
  border: 1px solid #dfe4ee;
  border-radius: 13px;
}

.community-image-grid img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  max-height: 420px;
  display: block;
  object-fit: cover;
}

.community-image-grid a span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  overflow: hidden;
  padding: 8px 10px;
  color: #fff;
  background: rgba(17, 21, 40, 0.78);
  border-radius: 8px;
  font-size: 9px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.community-file-list {
  display: grid;
  gap: 7px;
}

.community-file-list a {
  display: grid;
  grid-template-columns:
    auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  background: #f7f8fc;
  border: 1px solid #e1e5ee;
  border-radius: 10px;
}

.community-file-list
  > a
  > span {
  padding: 7px 8px;
  color: #3157f6;
  background: #e9edff;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 900;
}

.community-file-list a div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.community-file-list a strong {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-file-list a small,
.community-file-list a b {
  color: #7d8599;
  font-size: 9px;
}

.community-file-list a b {
  color: #3157f6;
}

.community-detail-main {
  width: min(1000px, calc(100% - 40px));
  margin: auto;
  padding: 32px 0 70px;
}

.community-rules-detail {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce1ef;
  border-radius: 24px;
}

.community-rules-detail
  > header {
  padding: clamp(30px, 6vw, 64px);
  color: #fff;
  background:
    radial-gradient(
      circle at 92% 0%,
      rgba(104, 125, 255, 0.48),
      transparent 35%
    ),
    linear-gradient(
      145deg,
      #11162c,
      #1e2856
    );
}

.community-rules-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
}

.community-rules-kicker span {
  padding: 6px 8px;
  color: #152052;
  background: #fff;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 900;
}

.community-rules-kicker p {
  margin: 0;
  color: #9fb0ff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.community-rules-detail
  > header
  h1 {
  max-width: 720px;
  margin: 18px 0 14px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.12;
  letter-spacing: -2px;
}

.community-rules-detail
  > header
  > p {
  max-width: 720px;
  margin: 0;
  color: #bdc5dd;
  font-size: 11px;
  line-height: 1.8;
}

.community-rules-detail dl {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.community-rules-detail dl div {
  min-width: 170px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.community-rules-detail dt {
  color: #8fa1de;
  font-size: 9px;
  font-weight: 850;
}

.community-rules-detail dd {
  margin: 5px 0 0;
  font-size: 9px;
  font-weight: 800;
}

.community-rules-grid {
  display: grid;
  grid-template-columns: repeat(
    2,
    minmax(0, 1fr)
  );
  gap: 12px;
  padding: clamp(24px, 5vw, 48px);
}

.community-rules-grid article {
  min-height: 190px;
  padding: 24px;
  background: #f7f8fc;
  border: 1px solid #e2e6f0;
  border-radius: 16px;
}

.community-rules-grid article span {
  color: #7188f5;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
}

.community-rules-grid h2 {
  margin: 16px 0 10px;
  font-size: 18px;
}

.community-rules-grid p {
  margin: 0;
  color: #697187;
  font-size: 10px;
  line-height: 1.8;
}

.community-rules-detail
  > footer {
  margin: 0 clamp(24px, 5vw, 48px)
    clamp(24px, 5vw, 48px);
  padding: 22px;
  background: #edf1ff;
  border-radius: 15px;
}

.community-rules-detail
  > footer
  strong {
  font-size: 11px;
}

.community-rules-detail
  > footer
  p {
  margin: 8px 0 18px;
  color: #687289;
  font-size: 9px;
  line-height: 1.7;
}

.community-rules-detail
  > footer
  a {
  display: inline-flex;
  padding: 11px 14px;
  color: #fff;
  background: #3157f6;
  border-radius: 9px;
  font-size: 9px;
  font-weight: 850;
}

@media (max-width: 760px) {
  .community-posting-quota {
    grid-template-columns: 1fr auto;
  }

  .community-posting-quota small {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .community-post-list > a {
    grid-template-columns: 1fr;
  }

  .community-post-list aside {
    min-width: 0;
    justify-items: start;
  }

  .community-post-attachments
    > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .community-image-grid,
  .community-rules-grid {
    grid-template-columns: 1fr;
  }

  .community-file-list a b {
    display: none;
  }
}
