


.qc-page-forum .forum-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 50px 0 30px;
  text-align: left;
}
.qc-page-forum .forum-hero::before {
  content: "";
  position: absolute;
  left: -200px;
  top: -270px;
  width: 800px;
  height: 560px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(42% 46% at 30% 44%,
    rgba(78, 161, 217, .17) 0%, rgba(78, 161, 217, .05) 54%, rgba(78, 161, 217, 0) 78%);
}

.qc-page-forum .forum-hero .hero-sub {
  position: relative;
  display: block;
  margin: 0 0 16px;
  max-width: 100%;
  text-align: left;
  text-indent: 0;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.7;
  color: var(--qc-sub);
}
.qc-page-forum .forum-hero .hero-sub::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  margin-bottom: 12px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(78, 161, 217, .95), rgba(78, 161, 217, .14));
}
.qc-page-forum .forum-hero .hero-title {
  width: 100%;
  margin: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 300;
  letter-spacing: .05em;
  line-height: 1.24;
  text-align: left;
}


@keyframes qcHeroIn {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to   { opacity: 1; transform: none; }
}
.qc-page-forum .forum-hero .hero-sub,
.qc-page-forum .forum-hero .hero-title {
  animation: qcHeroIn .82s var(--qc-ease) both;
  will-change: opacity, transform;
}
.qc-page-forum .forum-hero .hero-sub { animation-delay: .05s; }
.qc-page-forum .forum-hero .hero-title { animation-delay: .17s; }

@media (prefers-reduced-motion: reduce) {
  .qc-page-forum .forum-hero .hero-sub,
  .qc-page-forum .forum-hero .hero-title {
    animation: none;
  }
}

.qc-page-forum .forum-body {
  display: block;
  padding-bottom: 24px;
}


.qc-page-forum .composer {
  position: relative;
  padding: 22px 24px 18px;
  border-radius: 18px;
  border: 1px solid var(--qc-line);
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  box-shadow: 0 14px 34px rgba(36, 41, 51, .05);
  margin-bottom: 30px;
}
.qc-page-forum .composer::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(78, 161, 217, .55), rgba(55, 120, 229, .0));
}
.qc-page-forum .composer textarea {
  border-radius: 12px;
  border: 1px solid rgba(36, 41, 51, .09);
  background: rgba(249, 250, 252, .9);
  font-size: 14.5px;
  line-height: 1.75;
  padding: 14px 16px;
  min-height: 96px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.qc-page-forum .composer textarea:focus {
  background: #fff;
  border-color: rgba(55, 120, 229, .45);
  box-shadow: 0 0 0 4px rgba(55, 120, 229, .1);
  outline: none;
}
.qc-page-forum .upload-btn {
  border-radius: 999px;
  font-size: 12.5px;
  padding: 7px 14px;
  border: 1px solid var(--qc-line-strong);
  background: rgba(255, 255, 255, .8);
  transition: border-color .22s ease, background .22s ease, color .22s ease;
}
.qc-page-forum .upload-btn:hover { border-color: rgba(55, 120, 229, .35); color: var(--qc-blue); background: #fff; }
.qc-page-forum .char-count { font-family: var(--qc-mono); font-size: 11.5px; color: var(--qc-faint); }
.qc-page-forum .mini-btn.solid { border-radius: 999px; padding: 8px 20px; }


.qc-page-forum .signin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 22px;
  margin-bottom: 30px;
  border-radius: 16px;
  border: 1px solid var(--qc-line);
  background: linear-gradient(100deg, rgba(78, 161, 217, .07) 0%, rgba(255, 255, 255, .9) 60%);
}
.qc-page-forum .signin-bar span { font-size: 13.5px; color: var(--qc-muted); }


.qc-page-forum .posts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  
  align-items: start;
  gap: 18px;
  padding-bottom: 0;
  min-width: 0;
}

.qc-page-forum .posts.qc-masonry {
  display: block;
  position: relative;
  padding-bottom: 0;
}
.qc-page-forum .posts.qc-masonry > .post {
  position: absolute;
  top: 0;
  left: 0;
  height: auto;
}
.qc-page-forum .load-tip {
  grid-column: 1 / -1;
  padding: 40px 0;
  text-align: center;
  font-size: 13px;
  color: var(--qc-faint);
  background: none;
  border: 0;
}

.qc-page-forum .post {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 24px 18px;
  border-radius: 18px;
  border: 1px solid var(--qc-line);
  background: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset;
  overflow: hidden;
  
  transition: border-color .3s ease, background-color .3s ease;
}
.qc-page-forum .post::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--qc-primary), rgba(55, 120, 229, 0));
  opacity: 0;
  transition: opacity .35s ease;
}

.qc-page-forum .post:hover {
  border-color: rgba(55, 120, 229, .2);
}
.qc-page-forum .post:hover::before { opacity: 1; }
.qc-page-forum .post.pinned { border-color: rgba(55, 120, 229, .28); }
.qc-page-forum .post.pinned::before { opacity: 1; }


.qc-page-forum .post-head { display: flex; align-items: flex-start; gap: 14px; }
.qc-page-forum .post-head .av {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(36, 41, 51, .08);
  background: linear-gradient(140deg, #eef4fb, #dfeaf7);
  color: #4a7fb5;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  
  transition: box-shadow .3s ease, border-color .3s ease;
}
.qc-page-forum .post-head .av:hover { transform: none; box-shadow: 0 6px 14px rgba(36, 41, 51, .08); }
.qc-page-forum .post-head .av img { width: 100%; height: 100%; object-fit: cover; }
.qc-page-forum .post-name { font-size: 14px; font-weight: 600; letter-spacing: .01em; color: var(--qc-text); }
.qc-page-forum .post-sub {
  margin-top: 5px;
  font-family: var(--qc-mono);
  font-size: 11.5px;
  letter-spacing: .02em;
  color: var(--qc-faint);
}
.qc-page-forum .role-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(78, 161, 217, .14);
  color: #2f6fa8;
}
.qc-page-forum .pin-badge { color: var(--qc-blue); }

.qc-page-forum .post-body {
  margin-top: 14px;
  margin-bottom: 0;
  min-width: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--qc-sub);
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.qc-page-forum .post-img {
  display: block;
  margin: 14px auto 0;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--qc-line);
  background: #f6f7fa;
}
.qc-page-forum .post-actions {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(36, 41, 51, .06);
  gap: 10px;
}
.qc-page-forum .post-actions .act {
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--qc-muted);
  transition: background .2s ease, color .2s ease;
}
.qc-page-forum .post-actions .act:hover { background: rgba(36, 41, 51, .045); color: var(--qc-text); }
.qc-page-forum .post-actions .act.on { color: #e0574f; background: rgba(224, 87, 79, .08); }
.qc-page-forum .post-actions .act svg { width: 15px; height: 15px; }


.qc-page-forum .comments { margin-top: 14px; }
.qc-page-forum .cm-av { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; flex: none; }
.qc-page-forum .cm-input { border-radius: 999px; font-size: 12.5px; }


.qc-page-forum .empty-tip {
  margin-top: 10px;
  padding: 64px 26px;
  text-align: center;
  font-size: 13.5px;
  letter-spacing: .04em;
  color: var(--qc-faint);
  border: 1px dashed var(--qc-line-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, .55);
}


@media (max-width: 900px) {
  .qc-page-forum .posts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .qc-page-forum .forum-hero { padding: 38px 0 24px; }
  .qc-page-forum .forum-hero .hero-sub { font-size: 13.5px; letter-spacing: .14em; margin-bottom: 14px; }
  .qc-page-forum .forum-hero .hero-sub::before { width: 20px; margin-bottom: 10px; }
  .qc-page-forum .composer { padding: 18px 18px 14px; border-radius: 16px; }
  .qc-page-forum .composer::before { left: 18px; right: 18px; }
  .qc-page-forum .post { padding: 20px 18px 14px; border-radius: 16px; }
  .qc-page-forum .post-img { max-height: 240px; }
  .qc-page-forum .post-head .av { width: 40px; height: 40px; }
  .qc-page-forum .post-body { font-size: 14px; }
}




.qc-page-forum .qc-ph {
  display: block;
  position: relative;
  width: 100%;
  margin: 14px auto 0;
  aspect-ratio: var(--qc-ar, 1.3333);
  max-height: 460px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--qc-line);
  background: var(--qc-phc, #eef1f5);
  cursor: zoom-in;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}


.qc-page-forum .qc-ph-lqip {
  position: absolute;
  inset: -24px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(20px) saturate(1.08);
  transform: scale(1.06);
  transition: opacity .5s ease;
  pointer-events: none;
  z-index: 0;
}
.qc-page-forum .qc-ph.is-loaded .qc-ph-lqip { opacity: 0; }


.qc-page-forum .qc-ph .post-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 0;
  filter: blur(20px);
  transform: scale(1.04);
  transition: opacity .5s ease, filter .5s ease, transform .5s ease;
}
.qc-page-forum .qc-ph.is-loaded .post-img {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}
.qc-page-forum .qc-ph.is-broken .post-img { opacity: 0; }


.qc-page-forum .qc-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 0 42px;
}
.qc-page-forum .qc-more[hidden] { display: none; }
.qc-page-forum .qc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--qc-faint);
  opacity: .32;
  animation: qc-dot-jump 1.05s ease-in-out infinite;
}
.qc-page-forum .qc-dot:nth-child(2) { animation-delay: .16s; }
.qc-page-forum .qc-dot:nth-child(3) { animation-delay: .32s; }
@keyframes qc-dot-jump {
  0%, 70%, 100% { transform: translateY(0); opacity: .32; }
  35% { transform: translateY(-6px); opacity: 1; }
}


.qc-page-forum .qc-nomore {
  padding: 26px 0 44px;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: .12em;
  color: var(--qc-faint);
}
.qc-page-forum .qc-nomore[hidden] { display: none; }


html.qc-anim .qc-page-forum .posts > .post.qc-new {
  opacity: 1;
  translate: 0 0;
  transition: none;
}
.qc-page-forum .posts > .post.qc-new {
  animation: qc-card-up .45s cubic-bezier(.22, .61, .36, 1) var(--qc-d, 0ms) both;
  animation-play-state: paused;
}
.qc-page-forum .posts > .post.qc-new.qc-in { animation-play-state: running; }
.qc-page-forum .posts > .post.qc-new.qc-done { animation: none; }
@keyframes qc-card-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}


@supports not (aspect-ratio: 4 / 3) {
  .qc-page-forum .qc-ph::before {
    content: "";
    display: block;
    padding-top: calc(100% / var(--qc-ar, 1.3333));
  }
}


html body .qc-page-forum .post {
  transition: border-color .3s ease, background-color .3s ease;
}
html body .qc-page-forum .post:hover,
html body .qc-page-forum .post:focus-within {
  transform: none;
  translate: none;
}

html body .qc-page-forum .post:not(.qc-new) {
  transform: none !important;
  translate: none !important;
  scale: none !important;
  rotate: none !important;
}

html body .qc-page-forum .post:hover:not(.qc-new) {
  filter: var(--qc-mh-shadow);
}
html body .qc-page-forum .post .post-head .av,
html body .qc-page-forum .post .post-head .av:hover {
  transform: none !important;
  translate: none !important;
  scale: none !important;
}

@media (max-width: 640px) {
  .qc-page-forum .qc-ph { max-height: 340px; border-radius: 10px; }
  .qc-page-forum .qc-more { padding: 22px 0 36px; }
}


@media (prefers-reduced-motion: reduce) {
  .qc-page-forum .qc-ph .post-img {
    transition: none;
    filter: none;
    transform: none;
    opacity: 0;
  }
  .qc-page-forum .qc-ph.is-loaded .post-img { opacity: 1; }
  .qc-page-forum .qc-ph-lqip { filter: none; transform: none; transition: none; }
  .qc-page-forum .qc-dot { animation: none; opacity: .6; }
  .qc-page-forum .posts > .post.qc-new { animation: none; }
  html.qc-anim .qc-page-forum .posts > .post.qc-new { opacity: 1; translate: 0 0; }
}







html body .qc-page-forum .post,
html body .qc-page-forum .post:hover,
html body .qc-page-forum .post:focus-within,
html body .qc-page-forum .post:focus-visible {
  transform: none !important;
  translate: none !important;
  scale: none !important;
  rotate: none !important;
  margin: 0;                 
  top: auto;
  order: 0;
}

html body .qc-page-forum .post { cursor: pointer; }
html body .qc-page-forum .post-head .av:hover { transform: none !important; box-shadow: 0 6px 14px rgba(36, 41, 51, .08); }
html body .qc-page-forum .post .post-actions .act:hover { transform: none !important; }


.qc-page-forum .post.qc-removing {
  transition: opacity .2s ease !important;
  opacity: 0 !important;
}


.qc-page-forum .qc-fm[hidden],
.qc-page-forum .qc-lb[hidden] { display: none !important; }

.qc-page-forum .qc-fm {
  position: fixed;
  inset: 0;
  z-index: 900;              
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(18, 26, 36, .38);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: qc-fm-fade .18s ease both;
}
@keyframes qc-fm-fade { from { opacity: 0; } to { opacity: 1; } }

.qc-page-forum .qc-fm-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(680px, 100%);
  max-height: min(86vh, 920px);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(16, 24, 34, .22);
  overflow: hidden;
}

.qc-page-forum .qc-fm-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 26px 26px 22px;
  scrollbar-width: thin;
}

.qc-page-forum .qc-fm-x {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(36, 41, 51, .1);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #6e6e73;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.qc-page-forum .qc-fm-x:hover { background: #f2f2f4; color: var(--qc-text); border-color: rgba(36, 41, 51, .18); }
.qc-page-forum .qc-fm-x svg { width: 15px; height: 15px; }

.qc-page-forum .qc-fm-head { display: flex; align-items: flex-start; gap: 14px; padding-right: 42px; }
.qc-page-forum .qc-fm-tools { display: flex; gap: 6px; margin-left: auto; flex: none; }
.qc-page-forum .qc-fm .post-id { min-width: 0; }

.qc-page-forum .qc-fm-text {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.72;
  color: #2c2c2e;
  white-space: pre-wrap;
  word-break: break-word;
}

.qc-page-forum .qc-fm .qc-ph { margin-top: 14px; max-height: 58vh; }
.qc-page-forum .qc-fm .post-actions { margin-top: 14px; }

.qc-page-forum .qc-fm-comments {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, .07);
}
.qc-page-forum .qc-fm-ctitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--qc-text);
}
.qc-page-forum .qc-fm-ctitle span { font-size: 12px; font-weight: 500; color: var(--qc-faint); }
.qc-page-forum .qc-fm-clist { margin-top: 4px; }
.qc-page-forum .qc-fm .cm { display: flex; gap: 10px; padding: 9px 0; }
.qc-page-forum .qc-fm .cm + .cm { border-top: 1px solid rgba(0, 0, 0, .05); }


.qc-page-forum .qc-lb {
  position: fixed;
  inset: 0;
  z-index: 940;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px;
  background: rgba(10, 14, 20, .84);
  cursor: zoom-out;
  animation: qc-fm-fade .16s ease both;
}
.qc-page-forum .qc-lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .42);
}
.qc-page-forum .qc-lb-x {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .2s ease;
}
.qc-page-forum .qc-lb-x:hover { background: rgba(255, 255, 255, .26); }
.qc-page-forum .qc-lb-x svg { width: 17px; height: 17px; }


body.qc-overlay-on { overflow: hidden; }

@media (max-width: 640px) {
  .qc-page-forum .qc-fm { padding: 12px; }
  .qc-page-forum .qc-fm-panel { border-radius: 16px; max-height: 90vh; }
  .qc-page-forum .qc-fm-scroll { padding: 22px 18px 18px; }
  .qc-page-forum .qc-lb { padding: 16px; }
  .qc-page-forum .qc-lb-x { top: 10px; right: 10px; }
}





html body .qc-page-forum input:not([type="file"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
html body .qc-page-forum textarea,
html body .qc-page-forum select {
  outline: none;
  border: 1px solid rgba(36, 41, 51, .32);
  background-color: #f7f8fa;
  color: var(--qc-text);
  box-shadow: 0 1px 2px rgba(36, 41, 51, .04);
  -webkit-tap-highlight-color: transparent;
  transition: border-color .24s ease, box-shadow .24s ease, background-color .24s ease;
}


html body .qc-page-forum input::placeholder,
html body .qc-page-forum textarea::placeholder {
  color: rgba(36, 41, 51, .45);
  opacity: 1;
}
html body .qc-page-forum input::-ms-input-placeholder,
html body .qc-page-forum textarea::-ms-input-placeholder { color: rgba(36, 41, 51, .45); }


html body .qc-page-forum input:not([type="file"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):hover,
html body .qc-page-forum textarea:hover,
html body .qc-page-forum select:hover {
  border-color: rgba(36, 41, 51, .44);
  background-color: #fdfdfe;
  box-shadow: 0 2px 8px rgba(36, 41, 51, .06);
}


html body .qc-page-forum input:not([type="file"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
html body .qc-page-forum textarea:focus,
html body .qc-page-forum select:focus,
html body .qc-page-forum input:not([type="file"]):focus-visible,
html body .qc-page-forum textarea:focus-visible,
html body .qc-page-forum select:focus-visible {
  outline: none !important;
  outline-offset: 0;
  border-color: rgba(36, 41, 51, .58) !important;
  background-color: #fff !important;
  box-shadow: 0 6px 18px rgba(36, 41, 51, .10) !important;
}


html body .qc-page-forum .composer,
html body .qc-page-forum .composer:hover,
html body .qc-page-forum .composer:focus-within {
  border: 0 !important;
  box-shadow: none;
}
html body .qc-page-forum .composer textarea {
  border: 1px solid rgba(36, 41, 51, .32);
  background-color: #f7f8fa;
  border-radius: 14px;
}
html body .qc-page-forum .composer textarea:hover {
  border-color: rgba(36, 41, 51, .44);
  background-color: #fdfdfe;
}
html body .qc-page-forum .composer textarea:focus,
html body .qc-page-forum .composer textarea:focus-visible {
  border-color: rgba(36, 41, 51, .58) !important;
  background-color: #fff !important;
  box-shadow: 0 6px 18px rgba(36, 41, 51, .10) !important;
}


html body .qc-page-forum .cm-input {
  border: 1px solid rgba(36, 41, 51, .32);
  background-color: #f7f8fa;
}
html body .qc-page-forum .cm-input:hover { border-color: rgba(36, 41, 51, .44); background-color: #fdfdfe; }
html body .qc-page-forum .cm-input:focus,
html body .qc-page-forum .cm-input:focus-visible {
  border-color: rgba(36, 41, 51, .58) !important;
  background-color: #fff !important;
  box-shadow: 0 6px 18px rgba(36, 41, 51, .10) !important;
}
