/* SUPERTRIBE — 통합 스타일시트
   이전에는 각 HTML에 복사된 인라인 스타일 + 7개 CSS 파일이 차례로 덮어쓰던 구조였습니다.
   같은 순서(캐스케이드)를 유지한 채 한 파일로 합치고, 뒤에서 덮어써져 적용되지 않던 선언을 제거했습니다. */
/* ===== 기본 레이아웃 · 타이포그래피 (초기 시안) ===== */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #f3f4ed;
  font-family: "Noto Sans KR", sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  cursor: pointer;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
header {
  display: flex;
  align-items: center;
  gap: 55px;
  padding: 0 4%;
  border-bottom: 1px solid var(--line);
}
.logo {
  font-weight: 900;
  letter-spacing: -2px;
}
.logo span {
  color: var(--lime);
}
nav {
  display: flex;
  gap: 30px;
}
nav a {
  color: var(--muted);
}
nav a:hover {
  color: var(--lime);
}
.right {
  margin-left: auto;
  display: flex;
  gap: 22px;
  align-items: center;
}
.outline {
  border: 1px solid #666d5b;
  padding: 11px 18px;
}
.badge {
  color: var(--lime);
  font-size: 10px;
  border: 1px solid #71853c;
  padding: 4px 7px;
  letter-spacing: 1px;
}
.hero {
  min-height: 580px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
}
.eyebrow {
  letter-spacing: 3px;
  color: var(--lime);
}
h1 {
  line-height: 1.12;
  letter-spacing: -3px;
  margin: 22px 0;
}
p {
  color: var(--muted);
  line-height: 1.9;
}
.hero p {
  color: #c4ccc8;
}
.solid {
  border: 0;
  padding: 14px 24px;
  font-weight: 700;
}
.hero .outline {
  margin-left: 10px;
  padding: 14px 22px;
}
.intro {
  padding: 29px 4%;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.intro strong {
  color: #e5e7dd;
  font-weight: 500;
}
main {
  padding: 30px 4% 70px;
}
.sectionhead {
  display: flex;
  justify-content: space-between;
  margin: 25px 0 24px;
}
h2 {
  letter-spacing: -1px;
  margin: 0;
}
.sub {
  color: var(--muted);
  margin-top: 8px;
}
.smalllink {
  color: var(--muted);
  border: 0;
  background: none;
}
.filters {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.filter {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 8px 19px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  border: 0;
  background: none;
  text-align: left;
  padding: 0;
  min-width: 0;
}
.poster {
  height: 190px;
  position: relative;
  overflow: hidden;
}
.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.card:hover img {
  transform: scale(1.06);
}
.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  letter-spacing: 1px;
}
.duration {
  position: absolute;
  bottom: 11px;
  right: 11px;
  background: #101210bb;
  padding: 3px 6px;
}
.card h3 {
  margin: 14px 0 5px;
}
.meta {
  color: var(--muted);
}
.community {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.post {
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.post small {
  color: var(--lime);
}
.post h3 {
  font-weight: 500;
  margin: 9px 0;
}
.post .meta {
  display: flex;
  justify-content: space-between;
}
footer {
  border-top: 1px solid var(--line);
  padding: 35px 4%;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}
.notice {
  color: #6f766c;
  margin-top: 30px;
}
.search {
  background: transparent;
  border: 0;
  font-size: 17px;
}
html {
  scroll-behavior: smooth;
}
@media (min-width: 1600px) {
  .hero {
    min-height: 680px;
  }
  .poster {
    height: 240px;
  }
}
@media (max-width: 900px) {
  nav {
    gap: 15px;
  }
  header {
    gap: 25px;
  }
  .hero {
    min-height: 510px;
  }
  h1 {
    font-size: 49px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .community {
    gap: 24px;
  }
  .intro {
    gap: 25px;
  }
  .right {
    gap: 10px;
  }
}
@media (max-width: 600px) {
  .logo {
    font-size: 25px;
  }
  nav {
    display: none;
  }
  .hero {
    margin-top: 15px;
    min-height: 530px;
  }
  h1 {
    font-size: 45px;
  }
  .intro {
    line-height: 1.8;
  }
  .intro span {
    max-width: 50%;
  }
  .grid {
    gap: 20px 12px;
  }
  .poster {
    height: 125px;
  }
  .community {
    grid-template-columns: 1fr;
  }
  .right .outline {
    padding: 9px;
  }
  .hero .outline {
    margin: 10px 0 0 5px;
  }
  footer {
    gap: 15px;
  }
}
nav a[aria-current="page"] {
  color: var(--lime);
}
.pagehead {
  padding: 38px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.pagehead h1 {
  font-size: 48px;
  margin: 20px 0;
}
.pagehead p {
  max-width: 650px;
}
.pagecount {
  font-size: 12px;
  color: var(--muted);
  margin: 24px 0;
}
@media (max-width: 600px) {
  header {
    flex-wrap: wrap;
    padding-top: 18px;
    padding-bottom: 16px;
    gap: 16px;
  }
  header nav {
    display: flex;
    order: 3;
    width: 100%;
    justify-content: space-between;
  }
  .pagehead {
    padding-top: 18px;
  }
  .pagehead h1 {
    font-size: 36px;
  }
} /* ===== SUPERTRIBE 블랙 & 화이트 테마 ===== */
:root {
  --bg: #050505;
  --line: #303030;
  --lime: #fff;
  --muted: #aaa;
}
body {
  font-size: 17px;
  background: #050505;
}
header {
  height: 96px;
}
nav {
  font-size: 16px;
}
.logo {
  font-size: 33px;
}
.solid {
  background: #fff;
  color: #080808;
  font-size: 16px;
  border-radius: 8px;
}
.outline {
  border-color: #555;
  font-size: 15px;
  border-radius: 8px;
}
.hero:before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.08)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent 70%),
    url("assets/thumbnail-01.jpg") center/cover;
}
.hero {
  background: #161616;
}
h1 {
  font-size: 72px;
}
h2 {
  font-size: 31px;
}
.eyebrow {
  font-size: 13px;
}
p {
  font-size: 17px;
}
.sub,
.smalllink,
.intro {
  font-size: 15px;
}
.poster {
  background: #1b1b1b;
}
.card h3 {
  font-size: 20px;
}
.meta {
  font-size: 14px;
}
.tag {
  background: #111d;
  border-radius: 6px;
  font-size: 11px;
}
.duration {
  font-size: 12px;
}
.filter {
  font-size: 15px;
  border-color: #383838;
}
.post {
  display: block;
}
.post small {
  font-size: 13px;
}
.post h3 {
  font-size: 22px;
}
.post p {
  font-size: 16px;
}
.notice {
  font-size: 12px;
}
.article-page {
  max-width: 1000px;
  margin: auto;
  padding: 60px 28px 100px;
}
.article-video {
  width: 100%;
  max-height: 550px;
  background: #111;
  border-radius: 22px;
  display: block;
  margin: 35px 0;
}
.article-body {
  max-width: 740px;
  white-space: pre-wrap;
  font-size: 18px;
  line-height: 2.1;
  color: #ccc;
  overflow-wrap: anywhere;
}
.comments {
  border-top: 1px solid #333;
  padding-top: 30px;
}
.comments h2 {
  font-size: 26px;
}
.form-field {
  display: block;
  margin: 22px 0;
}
.form-field span {
  display: block;
  font-size: 16px;
  margin-bottom: 12px;
}
input,
textarea,
select {
  color-scheme: dark;
}
.field {
  width: 100%;
  border: 1px solid #444;
  border-radius: 10px;
  padding: 15px;
  color: #fff;
  font: inherit;
}
textarea.field {
  resize: vertical;
  min-height: 130px;
}
.comment {
  padding: 24px 0;
  border-bottom: 1px solid #262626;
}
.comment p {
  color: #ddd;
}
.comment small {
  font-size: 14px;
  color: #999;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}
.form-note {
  font-size: 14px;
  color: #999;
}
.empty-comments {
  font-size: 16px;
  padding: 25px 0;
  color: #999;
}
.post:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}
@media (max-width: 600px) {
  header {
    height: auto;
  }
  nav {
    font-size: 14px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .card h3 {
    font-size: 17px;
  }
  .poster {
    border-radius: 17px;
  }
  .meta {
    font-size: 12px;
  }
  .sectionhead h2 {
    font-size: 26px;
  }
  .intro {
    font-size: 12px;
  }
  .article-page {
    padding: 30px 20px 65px;
  }
  .article-body {
    font-size: 17px;
  }
  .form-actions {
    flex-wrap: wrap;
  }
} /* ===== 섹션 간격 ===== */
:root {
  --section-space: clamp(56px, 5vw, 88px);
}
.community {
  margin-top: var(--section-space);
}
.comments {
  margin-top: clamp(72px, 7vw, 110px);
}
@media (max-width: 600px) {
  :root {
    --section-space: 48px;
  }
} /* ===== 가로 슬라이더 · 크리에이터 · 탐색 ===== */
.rail-section {
  margin-top: var(--section-space);
}
.rail-button {
  width: 42px;
  height: 42px;
  border: 1px solid #444;
  border-radius: 50%;
  background: #141414;
  color: white;
  font-size: 23px;
}
.rail-button:disabled {
  opacity: 0.3;
  cursor: default;
}
.rail-shell {
  position: relative;
  min-width: 0;
}
.grid.video-rail {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: #555 #151515;
  scroll-behavior: smooth;
}
.video-rail > .card {
  flex: 0 0 calc((100% - 72px) / 4);
  scroll-snap-align: start;
}
.video-rail .poster {
  height: auto;
}
.poster .hover-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.poster.preview-playing .hover-preview {
  opacity: 1;
}
.preview-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #000b;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
}
.preview-playing .preview-label {
  opacity: 1;
}
.creator-rail {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: #555 #151515;
  padding: 4px 2px 22px;
  scroll-behavior: smooth;
}
.creator-directory {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}
.creator-profile {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
  margin: 32px 0 64px;
}
.creator-profile img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(1);
}
.creator-profile h1 {
  font-size: 48px;
  margin: 12px 0 22px;
}
.creator-profile p {
  max-width: 650px;
}
.rail-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 0 0 18px;
}
.creators-page h1 {
  font-size: 48px;
  margin: 24px 0;
}
.creator-search {
  max-width: 460px;
  margin: 32px 0;
}
@media (max-width: 1000px) {
  .creator-directory {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  header {
    gap: 28px;
  }
  nav {
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .creator-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .creator-profile {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .creator-profile img {
    width: 150px;
    height: 150px;
  }
  .creator-profile h1,
  .creators-page h1 {
    font-size: 34px;
  }
  .rail-section .sectionhead {
    align-items: start;
    flex-wrap: wrap;
    gap: 20px;
  }
  .rail-button {
    width: 36px;
    height: 36px;
  }
  header nav {
    gap: 8px;
  }
  header nav a {
    font-size: 11px;
  }
  .rail-toolbar {
    margin-top: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .grid.video-rail,
  .creator-rail {
    scroll-behavior: auto;
  }
  .poster .hover-preview {
    transition: none;
  }
}
:root {
  --video-card-width: clamp(292px, 22vw, 425px);
}
main:not(.article-page) .rail-shell {
  margin-right: -4vw;
}
.grid.video-rail {
  gap: 18px;
  padding: 4px 2px 8px;
  scrollbar-width: none;
  scroll-padding-left: 2px;
}
.grid.video-rail::-webkit-scrollbar,
.creator-rail::-webkit-scrollbar {
  display: none;
}
.video-rail > .card {
  flex-basis: var(--video-card-width);
}
.video-rail .poster {
  aspect-ratio: 16/9;
}
.video-rail .card h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 14px;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.6;
}
.video-rail .card .meta {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rail-shell > .rail-toolbar {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  pointer-events: none;
  z-index: 2;
}
.rail-shell > .rail-toolbar .rail-button {
  position: absolute;
  border-color: #ffffff55;
  pointer-events: auto;
}
.rail-shell > .rail-toolbar .rail-button:disabled {
  visibility: hidden;
  pointer-events: none;
}
.sectionhead,
.rail-section .sectionhead {
  align-items: flex-end;
}
.sectionhead > .smalllink {
  line-height: 1.9;
}
.creator-rail {
  scrollbar-width: none;
  gap: 18px;
  padding-bottom: 8px;
}
@media (max-width: 1000px) {
  .video-rail > .card {
    flex-basis: var(--video-card-width);
  }
}
@media (max-width: 600px) {
  .video-rail > .card {
    flex-basis: var(--video-card-width);
  }
  .grid.video-rail {
    gap: 14px;
  }
  .video-rail .card h3 {
    font-size: 17px;
  }
}
.rail-shell > .rail-toolbar .rail-button {
  top: 4px;
  left: auto;
  right: auto;
  transform: none;
  width: clamp(72px, 7vw, 112px);
  height: calc(var(--video-card-width) * 9 / 16);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.rail-shell > .rail-toolbar .rail-button:first-child {
  left: 0;
}
.rail-shell > .rail-toolbar .rail-button:last-child {
  right: 0;
}
.rail-shell > .rail-toolbar .rail-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.7) 42%, transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.rail-shell > .rail-toolbar .rail-button:first-child::before {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.7) 42%, transparent);
}
.rail-shell > .rail-toolbar .rail-button:hover::before,
.rail-shell > .rail-toolbar .rail-button:focus-visible::before {
  opacity: 1;
}
.rail-shell > .rail-toolbar .rail-button svg {
  width: 38px;
  height: 62px;
  fill: none;
  stroke: white;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 5px #000);
  pointer-events: none;
}
.rail-shell > .rail-toolbar .rail-button:focus-visible {
  outline: 2px solid white;
  outline-offset: -3px;
}
.rail-shell.creator-shell > .rail-toolbar .rail-button {
  top: 4px;
  height: calc(100% - 12px);
}
@media (max-width: 600px) {
  .rail-shell > .rail-toolbar .rail-button {
    width: 60px;
    height: calc(var(--video-card-width) * 9 / 16);
  }
  .rail-shell > .rail-toolbar .rail-button svg {
    width: 30px;
    height: 50px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rail-shell > .rail-toolbar .rail-button::before {
    transition: none;
  }
} /* ===== 테두리 제거 · 에디토리얼 톤 ===== */
*,
*::before,
*::after {
  border: 0 !important;
}
.outline {
  background: #ffffff0b;
}
.outline:hover {
  background: #ffffff16;
}
.filter {
  background: #111;
  color: #aaa;
}
.filter:hover {
  background: #202020;
  color: #fff;
}
.filter.active {
  background: #fff;
  color: #080808;
}
.field {
  background: #171717;
}
.field:focus {
  outline: 2px solid #aaa;
  outline-offset: 3px;
}
.post {
  margin-bottom: 12px;
}
.post:hover h3 {
  color: #ccc;
}
.comment {
  margin-bottom: 12px;
}
.pagehead {
  padding-bottom: 44px;
}
.site-about {
  padding: 90px 4% 100px;
  background: linear-gradient(180deg, #0c0c0c, #050505);
  margin-top: 118px;
}
.about-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 7vw;
  align-items: start;
}
.about-row + .about-row {
  margin-top: 88px;
}
.about-heading {
  font-size: clamp(32px, 3.2vw, 58px);
  font-weight: 400;
  letter-spacing: -1.8px;
  line-height: 1.5;
  margin: 20px 0 30px;
  text-wrap: balance;
}
.about-heading strong {
  font-weight: 700;
}
.about-copy p {
  font-size: 17px;
  line-height: 2;
  color: #aaa;
  margin: 0 0 28px;
  max-width: 690px;
}
.about-copy {
  padding-top: 37px;
}
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #eee;
  font-size: 15px;
  line-height: 1.6;
  padding: 10px 0;
  background: none;
  cursor: pointer;
}
.about-link:hover {
  color: #aaa;
}
.about-invite h3 {
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.65;
  font-weight: 500;
  letter-spacing: -0.8px;
  margin: 0 0 24px;
  text-wrap: balance;
}
.about-invite p {
  font-size: 16px;
  line-height: 2;
  color: #999;
  max-width: 560px;
  margin-bottom: 24px;
}
.about-actions {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}
.about-features {
  display: grid;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.about-features h4 {
  font-size: 17px;
  margin: 0 0 7px;
  font-weight: 600;
}
.about-features p {
  font-size: 15px;
  color: #999;
  margin: 0;
  line-height: 1.9;
}
footer {
  padding-top: 38px;
  padding-bottom: 38px;
  background: #050505;
  gap: 24px;
}
@media (max-width: 800px) {
  .site-about {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .about-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-row + .about-row {
    margin-top: 64px;
  }
  .about-heading {
    font-size: 36px;
    letter-spacing: -1.2px;
    max-width: 630px;
  }
  .about-copy {
    padding-top: 0;
  }
  .about-copy p {
    font-size: 16px;
  }
  .about-features {
    gap: 26px;
  }
}
@media (max-width: 480px) {
  .site-about {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .about-heading {
    font-size: 30px;
    line-height: 1.55;
  }
  .about-invite h3 {
    font-size: 24px;
  }
  .about-row {
    gap: 26px;
  }
  .about-row + .about-row {
    margin-top: 52px;
  }
  .about-actions {
    gap: 14px 24px;
  }
}
.eyebrow {
  display: none !important;
}
.eyebrow + h1,
.eyebrow + h2,
.eyebrow + .about-heading {
  margin-top: 0 !important;
}
header {
  position: sticky;
  top: 0;
  z-index: 8;
  background: rgba(5, 5, 5, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
html {
  scroll-padding-top: 112px;
}
@media (max-width: 1024px) {
  html {
    scroll-padding-top: 156px;
  }
}
.studio-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  gap: 3px;
  min-height: 36px;
  color: #b8b8b8;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
}
.studio-link span:last-child {
  font-size: 8px;
  letter-spacing: 2px;
}
.studio-link:hover,
.studio-link:focus-visible {
  color: #fff;
}
@media (max-width: 480px) {
  header > a.logo {
    font-size: 25px;
  }
  header .right .studio-link {
    min-height: 44px;
  }
  header .right .studio-link span:last-child {
    font-size: 7px;
    letter-spacing: 1.6px;
  }
  header .right button.search {
    width: 36px;
    min-height: 44px;
  }
  header .right button.outline {
    font-size: 11px;
    padding: 10px 8px;
    min-height: 44px;
  }
}
.studio-link {
  flex-direction: row;
  width: auto;
  white-space: nowrap;
  letter-spacing: 0.6px;
  padding: 0 6px;
}
@media (max-width: 480px) {
  header .right .studio-link {
    width: auto;
    font-size: 8px;
    letter-spacing: 0;
    padding: 0 2px;
  }
  header .right {
    gap: 4px;
  }
} /* ===== 반응형 · 헤더 · 모바일 메뉴 ===== */
img,
video {
  max-width: 100%;
}
@media (min-width: 1025px) {
  header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0;
  }
  header > .logo {
    justify-self: start;
  }
  header > nav {
    display: flex;
    white-space: nowrap;
  }
  header > .right {
    justify-self: end;
  }
  header > .right > button.outline {
    background: #fff;
    color: #080808;
    font-weight: 700;
  }
  header > .right > button.outline:hover {
    background: #e6e6e6;
  }
}
main,
section,
aside,
.sectionhead > div,
.community > div,
.about-row > *,
.creator-profile > * {
  min-width: 0;
}
.field {
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  header {
    height: auto;
    min-height: 88px;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding-top: 18px;
    padding-bottom: 12px;
  }
  header .right {
    margin-left: auto;
    flex-shrink: 0;
  }
  header nav {
    display: flex;
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    gap: 28px;
    overflow-x: auto;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  header nav::-webkit-scrollbar {
    display: none;
  }
  header nav a {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 15px;
    white-space: nowrap;
  }
  .creator-directory {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  :root {
    --section-space: 48px;
    --video-card-width: min(86vw, 425px);
  }
  body {
    overflow-x: clip;
  }
  main {
    padding: 32px 5% 64px;
    width: 100%;
  }
  header {
    padding-left: 5%;
    padding-right: 5%;
    gap: 10px 14px;
  }
  header .logo {
    font-size: 29px;
    line-height: 1.3;
    white-space: nowrap;
  }
  header .right {
    gap: 8px;
  }
  header .search {
    width: 44px;
    min-height: 44px;
    padding: 0;
    font-size: 24px;
  }
  header .right .outline {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 14px;
    white-space: nowrap;
  }
  header nav {
    gap: 24px;
  }
  header nav a {
    font-size: 14px;
  }
  .hero {
    margin: 20px 5% 0;
    min-height: 480px;
    border-radius: 20px;
  }
  .hero h1 {
    font-size: clamp(36px, 8vw, 54px);
    letter-spacing: -1.5px;
    line-height: 1.25;
    margin: 22px 0;
  }
  .hero p {
    font-size: 15px;
    line-height: 1.9;
    overflow-wrap: anywhere;
  }
  .hero .solid,
  .hero .outline {
    min-height: 48px;
    font-size: 14px;
  }
  .intro {
    padding: 24px 5%;
    display: block;
    line-height: 1.9;
  }
  .intro strong {
    display: block;
    font-size: 14px;
  }
  .intro span {
    display: block;
    max-width: none;
    font-size: 12px;
    margin-top: 8px;
  }
  .sectionhead,
  .rail-section .sectionhead {
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    margin-bottom: 24px;
  }
  .sectionhead > div {
    flex: 1 1 230px;
  }
  .sectionhead h2 {
    font-size: clamp(23px, 5.5vw, 29px);
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
  .sectionhead > .smalllink {
    flex: 0 0 auto;
    font-size: 13px;
    line-height: 1.8;
    min-height: 32px;
    display: flex;
    align-items: center;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    line-height: 1.8;
  }
  .sub {
    font-size: 14px;
    line-height: 1.8;
  }
  .filters {
    gap: 8px;
    margin: 24px 0;
    flex-wrap: wrap;
  }
  .filters .filter {
    font-size: 13px;
    min-height: 44px;
    padding: 10px 16px;
  }
  main:not(.article-page) .rail-shell,
  .rail-shell {
    margin-right: 0;
    width: 100%;
    min-width: 0;
  }
  .grid.video-rail {
    min-width: 0;
    max-width: 100%;
    gap: 14px;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
  .video-rail > .card {
    flex: 0 0 var(--video-card-width);
    max-width: none;
  }
  .video-rail .card h3 {
    font-size: 17px;
  }
  .video-rail .card .meta {
    font-size: 13px;
  }
  .creator-rail {
    min-width: 0;
    max-width: 100%;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
  .rail-shell > .rail-toolbar .rail-button {
    width: 48px;
    height: calc(var(--video-card-width) * 9 / 16);
  }
  .rail-shell > .rail-toolbar .rail-button svg {
    width: 28px;
    height: 46px;
  }
  .rail-shell.creator-shell > .rail-toolbar .rail-button {
    height: calc(100% - 12px);
  }
  .community {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .post h3 {
    font-size: 20px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }
  .post .meta {
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
  }
  .pagehead {
    padding: 16px 0 32px;
    margin-bottom: 32px;
  }
  .pagehead h1,
  .creators-page h1 {
    font-size: clamp(29px, 7vw, 40px);
    line-height: 1.45;
    letter-spacing: -1px;
    overflow-wrap: anywhere;
  }
  .pagehead p {
    font-size: 16px;
  }
  .creator-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .creator-profile {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .creator-profile img {
    width: 150px;
    height: 150px;
  }
  .creator-profile h1 {
    font-size: 34px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
  .article-page {
    width: 100%;
    padding: 32px 5% 72px;
  }
  .article-video {
    aspect-ratio: 16/9;
    height: auto;
    max-height: none;
    border-radius: 16px;
    margin: 28px 0;
  }
  .article-body {
    max-width: 100%;
    font-size: 16px;
    line-height: 2;
    overflow-wrap: anywhere;
  }
  .article-body p {
    font-size: 16px;
  }
  .comments h2 {
    font-size: 25px;
  }
  .field {
    font-size: 16px;
    min-width: 0;
    max-width: 100%;
  }
  .form-field {
    min-width: 0;
  }
  .form-actions {
    flex-wrap: wrap;
    gap: 18px;
  }
  .form-actions .solid {
    min-height: 48px;
    font-size: 16px;
  }
  .site-about {
    padding: 56px 5%;
    margin-top: 64px;
  }
  .about-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .about-copy {
    padding-top: 0;
  }
  .about-heading {
    font-size: clamp(28px, 6.5vw, 38px);
    letter-spacing: -1px;
    overflow-wrap: anywhere;
  }
  .about-invite h3 {
    font-size: 26px;
    line-height: 1.6;
  }
  .about-features h4 {
    font-size: 16px;
  }
  .about-link {
    min-height: 44px;
    white-space: normal;
  }
  footer {
    padding: 32px 5%;
    flex-wrap: wrap;
    gap: 28px;
  }
  footer > div {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .notice {
    line-height: 1.9;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 360px) {
  header nav {
    gap: 20px;
  }
  .hero h1 {
    font-size: 35px;
  }
  .creator-directory {
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .hero .outline {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 16px;
  }
  .hero .outline {
    margin: 12px 0 0;
  }
  .hero .solid {
    margin: 24px 0 0;
  }
}
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  --menu-control-size: 44px;
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0 5% max(24px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  border: 0;
  background: #050505;
  color: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu[open] {
  display: flex;
  flex-direction: column;
  animation: mobile-menu-enter 0.14s ease-out;
}
.mobile-menu:focus {
  outline: none;
}
.mobile-menu::backdrop {
  background: #0008;
}
html:has(.mobile-menu[open]) {
  overflow: hidden;
}
.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.mobile-menu-top .logo {
  font-size: 29px;
}
.mobile-menu nav {
  display: grid;
  gap: 0;
  margin: 24px 0 40px;
}
.mobile-menu nav > * {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  padding: 0;
  box-sizing: border-box;
  border: 0;
  background: none;
  color: #b8b8b8;
  font: inherit;
  font-size: 18px;
  text-align: left;
  letter-spacing: 0;
}
.mobile-menu nav > *:hover,
.mobile-menu nav > *:focus-visible,
.mobile-menu nav .active {
  color: #fff;
}
.mobile-menu-number,
.mobile-menu-signature {
  font-family: monospace;
  color: #999;
}
.mobile-menu-number {
  flex: 0 0 var(--menu-control-size);
  text-align: center;
  font-size: 16px;
  letter-spacing: 0;
}
.mobile-menu nav > .mobile-menu-submit {
  margin-top: 16px;
  padding: 0 16px;
  border-radius: 8px;
  background: #fff;
  color: #080808;
  font-size: 16px;
  font-weight: 700;
}
.mobile-menu nav > .mobile-menu-submit:hover {
  background: #e6e6e6;
}
.mobile-menu-signature {
  margin-top: auto;
  text-align: center;
  font-size: 12px;
}
.mobile-menu-toggle,
.mobile-menu-close {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  place-items: center;
}
.mobile-menu-close {
  display: grid;
  width: var(--menu-control-size);
}
.mobile-menu svg,
.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
@keyframes mobile-menu-enter {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu[open] {
    animation: none;
  }
}
@media (max-width: 1024px) {
  header.has-mobile-menu {
    height: 72px;
    min-height: 72px;
    flex-wrap: nowrap;
    padding-block: 0;
  }
  header.has-mobile-menu > nav,
  header.has-mobile-menu .right > .studio-link,
  header.has-mobile-menu .right > .outline {
    display: none;
  }
  header.has-mobile-menu .right {
    gap: 4px;
  }
  header.has-mobile-menu .mobile-menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
  }
}
.frame-search-panel {
  position: fixed;
  inset: 0;
  width: min(620px, calc(100% - 32px));
  max-width: none;
  max-height: min(70dvh, 600px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #080808;
  color: #f5f5f5;
  overflow: auto;
  overscroll-behavior: contain;
}
.frame-search-panel::backdrop {
  background: #000b;
}
html:has(.frame-search-panel[open]) {
  overflow: hidden;
}
.frame-search-bar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 16px;
  border-bottom: 1px solid #333;
  background: #080808;
}
.frame-search-bar svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  color: #aaa;
}
.frame-search-bar input {
  min-width: 0;
  flex: 1;
  padding: 8px 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px;
}
.frame-search-bar input::placeholder {
  color: #a0a0a0;
}
.frame-search-bar input::-webkit-search-cancel-button {
  display: none;
}
.frame-search-bar button {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}
.frame-search-results {
  padding: 16px 16px 20px;
  color: #aaa;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.frame-search-results h2 {
  margin: 12px 0 4px;
  font-size: 13px;
}
.frame-search-results h2:first-child {
  margin-top: 0;
}
.frame-search-results ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.frame-search-results a {
  display: block;
  padding: 9px 6px;
  color: #f5f5f5;
}
.frame-search-results a:hover,
.frame-search-results a:focus-visible {
  background: #202020;
}
.frame-search-results small {
  display: block;
  color: #aaa;
}
@media (max-width: 1024px) {
  .frame-search-panel {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    overflow: hidden;
  }
  .frame-search-panel[open] {
    display: grid;
    place-items: center;
    animation: mobile-menu-enter 0.14s ease-out;
  }
  .frame-search-content {
    width: min(620px, calc(100% - 32px));
    max-height: min(70dvh, 600px);
    overflow: auto;
    overscroll-behavior: contain;
  }
}
@media (prefers-reduced-motion: reduce) {
  .frame-search-panel[open] {
    animation: none;
  }
}
/* ===== 커뮤니티 포럼 (사이드바 + 게시판별 목록) ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
#forum-side {
  display: grid;
  gap: 12px;
}
.forum-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #1b1b1b;
  color: #bbb;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}
button.forum-tag:hover,
a.forum-tag:hover {
  background: #2a2a2a;
  color: #fff;
}
.forum-tag.is-active {
  background: #fff;
  color: #080808;
}
.forum-avatar {
  display: inline-grid;
  flex-shrink: 0;
  place-items: center;
  width: 24px;
  height: 24px;
  overflow: hidden;
  border-radius: 50%;
  background: #2a2a2a;
  color: #eee;
  font-size: 11px;
  font-weight: 700;
}
.forum-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.forum-avatar.is-large {
  width: 88px;
  height: 88px;
  font-size: 34px;
}
.forum-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #eee;
  font-size: 14px;
  font-weight: 600;
}
.forum-author:hover span {
  text-decoration: underline;
}
.forum-author-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ccc;
}
.forum-author-inline .forum-avatar {
  width: 20px;
  height: 20px;
  font-size: 10px;
}

/* 본문 영역 */
.forum-main {
  min-width: 0;
}
.forum-badge {
  display: inline-flex;
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 4px;
  background: #222;
  color: #ccc;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.forum-badge.is-strong {
  background: #fff;
  color: #080808;
}

/* 인기글 */

/* 정렬·검색 */

/* 텍스트 목록 (라운지·정보 공유·공지·전체) */
.forum-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding: 22px 4px;
}
.forum-row:first-child {
  padding-top: 8px;
}
.forum-row:hover h3 {
  text-decoration: underline;
}
.forum-row.is-pinned {
  padding-inline: 16px;
  border-radius: 10px;
  background: #101010;
}
.forum-row-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.forum-row-kicker:empty {
  display: none;
}
.forum-row h3 {
  margin: 8px 0 6px;
  font-size: 19px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.forum-row-kicker:empty + h3 {
  margin-top: 0;
}
.forum-row p {
  margin: 0;
  color: #aaa;
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.forum-row-tags {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 6px;
  max-width: 260px;
}
.forum-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 12px;
  color: #888;
  font-size: 13px;
}
.forum-stat {
  white-space: nowrap;
}

/* 제작 일지 카드 */
.making-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.making-cover {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(145deg, #2b2b2b, #141414);
  color: #888;
  font-weight: 700;
}
.making-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.making-card:hover .making-cover img {
  transform: scale(1.03);
}
.making-card:hover h3 {
  text-decoration: underline;
}
.making-work {
  color: #ccc;
  font-size: 13px;
  font-weight: 600;
}
.making-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.making-card .forum-row-tags {
  justify-content: flex-start;
  max-width: none;
}
.making-card .forum-meta {
  margin-top: 2px;
}

/* 협업 모집 카드 */
.collab-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: 14px;
  background: #111;
  transition: background 0.2s ease;
}
.collab-card:hover {
  background: #181818;
}
.collab-card.is-closed {
  opacity: 0.55;
}
.collab-card-top,
.collab-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.collab-status {
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: #080808;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.collab-status.is-closed {
  background: #333;
  color: #bbb;
}
.collab-applicants {
  color: #aaa;
  font-size: 13px;
}
.collab-card h3 {
  margin: 4px 0 0;
  font-size: 19px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.collab-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.collab-roles span {
  padding: 4px 10px;
  border-radius: 6px;
  background: #222;
  color: #eee;
  font-size: 13px;
  font-weight: 600;
}
.collab-facts {
  display: grid;
  gap: 6px;
  margin: 4px 0 0;
  font-size: 14px;
}
.collab-facts div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
}
.collab-facts dt {
  color: #777;
}
.collab-facts dd {
  margin: 0;
  color: #ddd;
}
.collab-card .forum-meta {
  margin-top: auto;
  padding-top: 8px;
}

/* 글 상세 */
.collab-panel {
  margin: 28px 0 8px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 14px;
  background: #111;
}
.collab-facts.is-large {
  margin: 20px 0;
  font-size: 16px;
}
.collab-facts.is-large div {
  grid-template-columns: 90px minmax(0, 1fr);
}
.collab-panel h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}
.collab-apply {
  margin-top: 8px;
  padding-top: 8px;
}
.collab-done {
  margin: 8px 0 14px;
  color: #fff;
  font-weight: 600;
}
.collab-app-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.collab-app-list li {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 10px;
  background: #181818;
}
.collab-app-list li > .forum-badge {
  justify-self: start;
}
.collab-app-list p {
  margin: 0;
  color: #ccc;
  font-size: 15px;
}
.comment-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.comment.reply {
  margin-left: clamp(18px, 4vw, 44px);
}
.forum-count {
  color: #888;
  font-weight: 500;
}
.forum-more {
  margin-top: 64px;
}

/* 글쓰기 */
.write-boards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin: 28px 0 8px;
  padding: 0;
}
.write-boards legend,
.write-roles legend {
  margin-bottom: 12px;
  font-size: 16px;
}
.write-board input,
.write-roles input {
  position: absolute;
  opacity: 0;
}
.write-board span {
  display: grid;
  gap: 4px;
  height: 100%;
  padding: 16px;
  border-radius: 10px;
  background: #121212;
  cursor: pointer;
}
.write-board small {
  color: #888;
  font-size: 12px;
  line-height: 1.5;
}
.write-board input:checked + span {
  background: #fff;
  color: #080808;
}
.write-board input:checked + span small {
  color: #444;
}
.write-board input:focus-visible + span,
.write-roles input:focus-visible + span {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.write-roles {
  padding: 0;
}
.write-roles label {
  display: inline-block;
  margin: 0 6px 8px 0;
}
.write-roles span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #161616;
  color: #bbb;
  font-size: 14px;
  cursor: pointer;
}
.write-roles input:checked + span {
  background: #fff;
  color: #080808;
  font-weight: 700;
}
.write-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 16px;
}
#write-root .form-note .forum-tag {
  margin: 4px 4px 0 0;
}

/* 멤버 프로필 */

@media (max-width: 1024px) {
  #forum-side {
    display: none;
  }
}
@media (max-width: 768px) {
  .forum-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .forum-row-tags {
    justify-content: flex-start;
    max-width: none;
  }
  .write-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
header .header-account,
header .right > button.search {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  padding: 0;
  color: #fff;
}
.header-account-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  color: #fff;
}
.header-account-avatar.is-signed-in {
  background: #242424;
}
.header-account-avatar svg,
.header-search-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}
.header-account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logo > img {
  display: block;
  width: 171px;
  height: auto;
}
.mobile-menu-top .logo > img {
  width: 147px;
}
@media (max-width: 768px) {
  header > .logo > img {
    width: 125px;
  }
} /* ===== 크리에이터 카드 ===== */
.creator-canvas {
  padding: 0 0 90px;
  width: 100%;
}
.creator-cover {
  height: clamp(290px, 32vw, 480px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
  overflow: hidden;
}
.creator-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-width: 0;
  max-height: 480px;
}
.creator-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.25) 35%, #050505 100%);
}
.creator-content {
  position: relative;
  padding: 0 4%;
  margin-top: -116px;
  z-index: 1;
}
.creator-back {
  position: absolute;
  top: -100px;
  left: 4%;
  color: #ddd;
  font-size: 14px;
  background: #0004;
  padding: 12px;
  border-radius: 8px;
}
.creator-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.8fr);
  gap: 60px;
  align-items: end;
}
.creator-identity {
  display: grid;
  grid-template-columns: clamp(180px, 19vw, 280px) minmax(0, 1fr);
  gap: 30px;
  align-items: end;
  min-width: 0;
}
.creator-portrait {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}
.creator-identity h1 {
  font-size: clamp(28px, 2.7vw, 44px);
  letter-spacing: -1px;
  line-height: 1.35;
  margin: 0 0 26px;
  overflow-wrap: anywhere;
}
.creator-role {
  font-size: 16px;
  color: #aaa;
  margin: 0 0 14px;
  line-height: 1.8;
}
.creator-count {
  font-size: 14px;
  color: #888;
  margin: 0;
  line-height: 1.8;
}
.creator-intro > p {
  font-size: 16px;
  line-height: 1.9;
  color: #aaa;
  margin: 0 0 30px;
  max-width: 600px;
}
.creator-profile-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.creator-profile-actions > * {
  flex: 1;
  text-align: center;
  white-space: nowrap;
  min-height: 46px;
  border-radius: 30px;
  font-size: 14px;
  padding: 12px 18px;
}
.creator-intro .creator-action-status {
  font-size: 12px;
  min-height: 20px;
  margin: 12px 0 0;
}
.creator-tabs {
  display: flex;
  gap: 34px;
  margin: 72px 0 40px;
}
.creator-tabs button {
  background: none;
  color: #777;
  font-size: 19px;
  padding: 12px 0;
  cursor: pointer;
  min-height: 48px;
}
.creator-tabs button[aria-selected="true"] {
  color: #fff;
}
.creator-tabs button:hover {
  color: #ccc;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 22px;
}
.portfolio-grid .poster {
  height: auto;
  aspect-ratio: 16/9;
}
.portfolio-grid .card h2 {
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: 0;
  margin: 18px 0 8px;
}
.portfolio-grid .card p {
  font-size: 14px;
  color: #888;
  margin: 0;
  line-height: 1.9;
}
.creator-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 1fr);
  gap: 7vw;
  max-width: 1200px;
}
.creator-about-layout h2 {
  font-size: 25px;
  margin: 0 0 28px;
}
.creator-about-layout p {
  font-size: 17px;
  line-height: 2;
  color: #aaa;
  white-space: normal;
  overflow-wrap: anywhere;
  margin: 0 0 24px;
}
.creator-about-layout h3 {
  font-size: 16px;
  margin: 0 0 18px;
}
.creator-about-layout h3:not(:first-child) {
  margin-top: 34px;
}
.creator-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.creator-genres span {
  background: #151515;
  border-radius: 30px;
  padding: 9px 15px;
  font-size: 13px;
  color: #ccc;
}
.creator-canvas > .notice {
  margin: 50px 4% 0;
}
[role="tabpanel"][hidden] {
  display: none;
}
@media (max-width: 1000px) {
  .creator-summary {
    gap: 30px;
    grid-template-columns: minmax(0, 1fr);
  }
  .creator-intro {
    max-width: 650px;
    margin-top: 12px;
  }
  .creator-identity {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .creator-cover {
    height: 340px;
  }
  .creator-content {
    margin-top: -96px;
  }
  .creator-profile-actions > * {
    flex: 0 1 auto;
  }
}
@media (max-width: 768px) {
  .creator-canvas {
    padding: 0 0 64px;
  }
  .creator-cover {
    height: 260px;
  }
  .creator-cover img {
    height: 260px;
  }
  .creator-content {
    padding: 0 5%;
    margin-top: -70px;
  }
  .creator-identity {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 22px;
    align-items: end;
  }
  .creator-portrait {
    border-radius: 10px;
  }
  .creator-identity h1 {
    font-size: 28px;
    margin-bottom: 14px;
    line-height: 1.3;
  }
  .creator-role {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .creator-count {
    font-size: 12px;
  }
  .creator-intro > p {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .creator-profile-actions {
    gap: 12px;
  }
  .creator-profile-actions > * {
    flex: 1;
    min-width: 0;
    white-space: normal;
    font-size: 13px;
    line-height: 1.7;
    padding: 12px 16px;
  }
  .creator-back {
    top: -135px;
    left: 5%;
    font-size: 13px;
  }
  .creator-tabs {
    margin-top: 44px;
    margin-bottom: 26px;
    gap: 28px;
  }
  .creator-tabs button {
    font-size: 17px;
  }
  .portfolio-grid {
    gap: 32px 14px;
  }
  .portfolio-grid .poster {
    border-radius: 12px;
  }
  .portfolio-grid .card h2 {
    font-size: 18px;
    margin-top: 14px;
  }
  .portfolio-grid .card p {
    font-size: 12px;
  }
  .creator-about-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .creator-about-layout p {
    font-size: 16px;
  }
  .creator-about-layout h2 {
    font-size: 23px;
  }
}
@media (max-width: 480px) {
  .creator-identity {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 18px;
  }
  .creator-identity h1 {
    font-size: 24px;
  }
  .portfolio-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .creator-cover {
    height: 230px;
  }
  .creator-cover img {
    height: 230px;
  }
  .creator-cover {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .creator-cover img:last-of-type {
    display: none;
  }
  .creator-content {
    margin-top: -60px;
  }
  .creator-back {
    top: -130px;
  }
} /* ===== 홈 배너 · 썸네일 ===== */
.poster,
.video-rail .poster,
.portfolio-grid .poster {
  border-radius: 8px;
}
.hero.featured-hero {
  position: relative;
  display: block;
  min-height: 590px;
  height: clamp(590px, 45vw, 780px);
  background: #111;
}
.hero.featured-hero::before {
  display: none;
}
.feature-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
  visibility: visible;
}
.feature-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.feature-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.03) 90%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.94), transparent 85%);
  pointer-events: none;
}
.feature-copy {
  position: absolute;
  left: 4%;
  right: 5.5%;
  bottom: 104px;
  z-index: 1;
  max-width: 780px;
}
.feature-copy h1 {
  font-size: clamp(40px, 4.5vw, 76px);
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 1.2;
  margin: 0 0 24px;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.feature-copy p {
  font-size: 17px;
  color: #d0d0d0;
  line-height: 1.9;
  max-width: 580px;
  margin: 0 0 26px;
}
.feature-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.feature-links .solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  font-size: 15px;
}
.feature-links .feature-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: #ddd;
  padding: 8px 0;
}
.feature-controls {
  position: absolute;
  z-index: 3;
  left: 4%;
  right: 5.5%;
  bottom: 28px;
  display: flex;
  gap: 24px;
  align-items: center;
}
.feature-bars {
  display: flex;
  gap: 8px;
  width: 320px;
  max-width: calc(100% - 100px);
}
.feature-bar {
  position: relative;
  flex: 1;
  height: 44px;
  background: transparent;
  padding: 0;
  cursor: pointer;
  min-width: 0;
}
.feature-bar::before,
.feature-bar-fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 20px;
  height: 3px;
  background: #ffffff40;
  border-radius: 0;
  pointer-events: none;
}
.feature-bar::before {
  content: "";
}
.feature-bar-fill {
  display: block;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}
.feature-bar:hover::before {
  background: #ffffff80;
}
.feature-pause {
  min-height: 44px;
  white-space: nowrap;
  background: none;
  color: #ddd;
  font-size: 12px;
  padding: 0 6px;
  cursor: pointer;
}
@media (max-width: 768px) {
  .hero.featured-hero {
    height: 540px;
    min-height: 540px;
  }
  .feature-copy {
    left: 5%;
    right: 6%;
    bottom: 104px;
    max-width: none;
  }
  .feature-copy h1 {
    font-size: clamp(32px, 7vw, 48px);
    letter-spacing: -1px;
    line-height: 1.3;
    margin-bottom: 20px;
  }
  .feature-copy p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 22px;
  }
  .feature-links {
    gap: 10px 20px;
  }
  .feature-links .solid {
    font-size: 14px;
    padding: 12px 18px;
  }
  .feature-controls {
    left: 5%;
    right: 6%;
    bottom: 22px;
    gap: 16px;
  }
  .feature-bars {
    flex: 1;
    max-width: none;
    width: auto;
  }
  .feature-pause {
    font-size: 12px;
    padding: 0;
    min-width: 64px;
  }
}
@media (max-width: 480px) {
  .hero.featured-hero {
    height: 560px;
    min-height: 560px;
  }
  .feature-copy {
    bottom: 102px;
  }
  .feature-copy h1 {
    font-size: 32px;
  }
  .feature-copy p {
    font-size: 14px;
  }
  .feature-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .feature-links .solid {
    width: 100%;
    margin: 0;
  }
  .feature-links .feature-more {
    justify-content: center;
  }
  .feature-bars {
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .feature-slide {
    transition: none;
  }
}
.hero,
.hero.featured-hero {
  margin: 0;
  width: 100%;
  max-width: none;
  border-radius: 0;
}
.hero + main > #films {
  padding-top: clamp(28px, 3vw, 56px);
} /* ===== 시리즈 · 제출 · 내 공간 · 관리자 · 검색 ===== */
.frame-title {
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.2;
  margin: 24px 0;
}
.frame-panel {
  background: #141414;
  border-radius: 12px;
  padding: clamp(18px, 4vw, 32px);
  margin: 24px 0;
}
.frame-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}
.frame-filters {
  display: flex;
  flex-wrap: wrap;
}
.frame-filters label {
  display: grid;
  gap: 8px;
  min-width: 125px;
  max-width: 100%;
  font-size: 14px;
}
.frame-results,
.grid.frame-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
  overflow: visible;
}
.frame-results .poster {
  aspect-ratio: 16/9;
  height: auto;
}
.frame-work {
  display: block;
  min-width: 0;
}
.frame-panel p {
  overflow-wrap: anywhere;
}
.frame-check {
  display: flex;
  gap: 10px;
  align-items: center;
}
.comment.reply {
  margin-inline-start: 24px;
}
.comment p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#frame-workspace li {
  margin: 12px 0;
}
#frame-workspace .field[multiple] {
  min-height: 145px;
}
@media (max-width: 600px) {
  .frame-results,
  .grid.frame-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .frame-filters label {
    flex: 1;
    min-width: 110px;
  }
}
.creator-credit {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.creator-avatar {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  object-fit: cover;
  background: #292929;
}
.avatar-initial {
  display: grid;
  place-items: center;
  color: #ddd;
  font-size: 11px;
}
.creator-credit-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.frame-filters {
  position: relative;
  z-index: 5;
  gap: 10px;
  align-items: center;
}
.frame-dropdown {
  position: relative;
  max-width: 100%;
}
.frame-filter-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 13px;
  background: #171717;
  color: #f4f4f4;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.frame-filter-value {
  color: #aaa;
  font-size: 13px;
}
.frame-filter-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor !important;
  border-bottom: 1.5px solid currentColor !important;
  transform: translateY(-2px) rotate(45deg);
}
.frame-filter-trigger[aria-expanded="true"] .frame-filter-chevron {
  transform: translateY(2px) rotate(225deg);
}
.frame-filter-panel {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  width: max-content;
  min-width: 180px;
  max-width: calc(100vw - 36px);
  max-height: min(65vh, 490px);
  overflow: auto;
  padding: 12px;
  background: #262626;
  border-radius: 6px;
  box-shadow: 0 12px 32px #0008;
  color: #f4f4f4;
}
.frame-filter-panel[hidden] {
  display: none;
}
.frame-option-grid {
  display: grid;
  gap: 3px 12px;
}
.frame-filter-option {
  padding: 10px 8px;
  color: #eee;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}
.frame-filter-option:hover,
.frame-filter-option:focus-visible,
.frame-filter-option[aria-pressed="true"] {
  background: #393939;
  color: #fff;
}
@media (max-width: 600px) {
  .frame-dropdown {
    position: static;
  }
  .frame-filter-panel {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}
.grid.frame-results.discover-grid {
  grid-template-columns: repeat(auto-fill, min(100%, var(--video-card-width)));
  margin-right: 0;
  padding-inline: 0;
}

/* ===== 로그인 · 회원가입 (login.html) ===== */
.auth-body {
  background: #141414;
}
main.auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
}
.auth-visual {
  position: relative;
  overflow: hidden;
  background: #0b0b0b;
}
.auth-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}
/* 가로형 키 비주얼: 흐린 배경 위에 원본 전체를 보여줍니다 (세로형 이미지로 바꾸면 bg 하나만 써도 됩니다) */
.auth-visual-bg {
  object-fit: cover;
  filter: blur(28px) brightness(0.45);
  transform: scale(1.15);
}
.auth-visual-main {
  object-fit: contain;
  padding: 0 4%;
}
.auth-panel {
  display: grid;
  place-items: center;
  padding: 48px 24px;
  background: #141414;
}
.auth-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 380px);
  text-align: center;
}
.auth-inner.is-entering {
  animation: auth-in 0.35s ease both;
}
@keyframes auth-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.auth.is-solo {
  grid-template-columns: minmax(0, 1fr);
}
.auth.is-solo .auth-visual {
  display: none;
}
.auth-logo {
  display: block;
  margin-bottom: 36px;
}
.auth-logo img {
  display: block;
  width: 120px;
  height: auto;
}
.auth-title {
  margin: 0 0 36px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.3px;
}
.auth-title.is-small {
  margin-bottom: 14px;
  font-size: 24px;
}
.auth-form {
  display: grid;
  gap: 10px;
  width: 100%;
  text-align: left;
}
.auth-email {
  margin: 0 0 4px 2px;
  color: #999;
  font-size: 13px;
}
.auth-field {
  position: relative;
  display: block;
}
.auth-field input {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border-radius: 10px;
  background: #1f1f1f;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.auth-field input::placeholder {
  color: #777;
}
.auth-field input:focus {
  background: #242424;
  box-shadow: 0 0 0 2px #5a5a5a;
}
.auth-password input {
  padding-right: 48px;
}
.auth-eye {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  color: #888;
  transform: translateY(-50%);
}
.auth-eye svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.auth-eye:hover,
.auth-eye[aria-pressed="true"] {
  color: #fff;
}
.auth-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: #222;
  color: #aaa;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.auth-button.is-ready {
  background: #fff;
  color: #0a0a0a;
}
.auth-button.is-ready:hover {
  background: #e6e6e6;
}
.auth-button.is-google {
  background: #1f1f1f;
  color: #fff;
}
.auth-button.is-google:hover {
  background: #282828;
}
.auth-button.is-google svg {
  width: 18px;
  height: 18px;
}
.auth-button.is-wide {
  max-width: 300px;
  margin-top: 26px;
}
/* 인증 코드 입력 (AWS 로그인) */
.auth.is-solo .auth-form {
  max-width: 300px;
  margin: 22px auto 6px;
}
.auth.is-solo .auth-form input[name=code]:not(:placeholder-shown) {
  text-align: center;
  letter-spacing: .3em;
}
.auth-button.is-busy {
  opacity: .55;
  cursor: progress;
}
.auth-name-note {
  margin: -4px 2px 4px;
  color: #8a8a8a;
  font-size: 12.5px;
  line-height: 1.5;
}
.auth-name-note.is-ok { color: #4cc38a; }
.auth-name-note.is-bad { color: #ff6b6b; }
.auth-error {
  margin: 6px 2px 0;
  color: #ff6b6b;
  font-size: 13px;
}
.auth-back,
.auth-link {
  justify-self: center;
  margin-top: 6px;
  padding: 6px 10px;
  background: none;
  color: #999;
  font-size: 13px;
}
.auth-back:hover,
.auth-link:hover:not(:disabled) {
  color: #fff;
}
.auth-link:disabled {
  color: #555;
  cursor: default;
}
.auth-link + .auth-link {
  margin-top: 0;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 24px 0;
  color: #666;
  font-size: 12px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #2c2c2c;
}
.auth-note {
  margin: 12px 0 0;
  color: #999;
  font-size: 12px;
  line-height: 1.6;
}
.auth-note:empty {
  display: none;
}
.auth-terms {
  margin: 40px 0 0;
  color: #777;
  font-size: 11px;
}
.auth-lead {
  margin: 0 0 6px;
  color: #eee;
  font-size: 14px;
}
.auth-lead strong {
  color: #fff;
}
.auth-sub {
  margin: 0;
  color: #888;
  font-size: 13px;
}
.auth.is-solo .auth-inner .auth-link {
  margin-top: 14px;
}
.auth.is-solo .auth-inner .auth-link + .auth-link {
  margin-top: 4px;
}
@media (max-width: 900px) {
  main.auth {
    grid-template-columns: minmax(0, 1fr);
  }
  .auth-visual {
    display: none;
  }
  .auth-panel {
    align-items: start;
    padding-top: 12vh;
  }
}
@media (prefers-reduced-motion: reduce) {
  .auth-inner.is-entering {
    animation: none;
  }
}

/* ===== 내 공간 (my.html) ===== */
.my-page {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding-top: 48px;
}
.my-avatar {
  grid-area: avatar;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  overflow: hidden;
  border-radius: 50%;
  background: #262626;
  color: #fff;
  font-size: 44px;
  font-weight: 700;
}
.my-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.my-avatar.is-small {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  font-size: 28px;
}
.my-tabs {
  display: flex;
  gap: 6px;
  margin: 36px 0 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.my-tabs::-webkit-scrollbar {
  display: none;
}
.my-tabs button {
  flex-shrink: 0;
  padding: 12px 20px;
  border-radius: 999px;
  background: #121212;
  color: #999;
  font-size: 16px;
  font-weight: 600;
}
.my-tabs button:hover {
  color: #fff;
}
.my-tabs button[aria-selected="true"] {
  background: #fff;
  color: #080808;
  font-weight: 800;
}
.my-panel {
  min-height: 320px;
}
.my-empty {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 32px;
  border-radius: 14px;
  background: #0f0f0f;
}
.my-empty p {
  margin: 0;
  color: #999;
}

/* 이어보기 */

/* 내 작품 */
.my-work-list {
  display: grid;
  gap: 14px;
}
.my-work {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding: 18px;
  border-radius: 14px;
  background: #101010;
}
.my-work-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #1b1b1b;
}
.my-work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.my-work-top {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.my-work h3 {
  margin: 10px 0 6px;
  font-size: 20px;
}
.my-work-meta {
  margin: 0;
  color: #999;
  font-size: 14px;
}
.my-work-note {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: #1a1a1a;
  color: #ddd;
  font-size: 14px;
}
.my-work-note strong {
  margin-right: 8px;
}
.my-status {
  padding: 4px 10px;
  border-radius: 999px;
  background: #2a2a2a;
  color: #ddd;
  font-size: 12px;
  font-weight: 700;
}
.my-status.is-ok {
  background: #fff;
  color: #080808;
}
.my-status.is-warn {
  background: #e8e8e8;
  color: #080808;
}
.my-status.is-stop {
  background: #3a3a3a;
  color: #bbb;
}
.my-resubmit {
  margin-top: 16px;
}

/* 커뮤니티 · 협업 */

/* 프로필 관리 */
.member-bio {
  margin: 10px 0;
  color: #ddd;
}
@media (max-width: 600px) {
  .my-page {
    padding-top: 20px;
  }
  .my-avatar {
    width: 84px;
    height: 84px;
    font-size: 34px;
  }
  .my-avatar.is-small {
    width: 60px;
    height: 60px;
  }
  .my-tabs {
    margin: 24px -4% 24px;
    padding: 0 4%;
  }
  .my-tabs button {
    padding: 10px 16px;
    font-size: 15px;
  }
  .my-work {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}

/* ===== 상단 메뉴 포커스 렌즈 (데스크톱 전용, header.js) ===== */
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
  header > nav.has-lens {
    position: relative;
    padding: 10px 8px;
    margin: -10px -8px;
  }
  header > nav.has-lens a {
    transition:
      color 0.35s ease,
      opacity 0.35s ease,
      filter 0.35s ease,
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }
  header > nav.has-lens a:hover {
    color: #fff;
  }
  header > nav.is-focusing a {
    opacity: 0.35;
    filter: blur(2.5px);
    transform: scale(0.94);
  }
  header > nav.is-focusing a.is-lens-focus {
    color: #fff;
    opacity: 1;
    filter: none;
    transform: none;
  }
  .lens-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(var(--w, 0px) + 22px);
    height: calc(var(--h, 0px) + 14px);
    opacity: 0;
    pointer-events: none;
    transform: translate(calc(var(--x, 0px) - 11px), calc(var(--y, 0px) - 7px));
    transition:
      transform 0.55s cubic-bezier(0.34, 1.45, 0.64, 1),
      width 0.55s cubic-bezier(0.34, 1.45, 0.64, 1),
      height 0.55s cubic-bezier(0.34, 1.45, 0.64, 1),
      opacity 0.25s ease;
  }
  .lens-frame.is-visible {
    opacity: 1;
  }
  .lens-frame.no-move {
    transition: opacity 0.25s ease;
  }
  .lens-frame i {
    position: absolute;
    width: 9px;
    height: 9px;
    border-color: #fff !important;
    border-style: solid !important;
    border-width: 0 !important;
  }
  .lens-frame i:nth-child(1) {
    top: 0;
    left: 0;
    border-top-width: 1.5px !important;
    border-left-width: 1.5px !important;
  }
  .lens-frame i:nth-child(2) {
    top: 0;
    right: 0;
    border-top-width: 1.5px !important;
    border-right-width: 1.5px !important;
  }
  .lens-frame i:nth-child(3) {
    bottom: 0;
    left: 0;
    border-bottom-width: 1.5px !important;
    border-left-width: 1.5px !important;
  }
  .lens-frame i:nth-child(4) {
    right: 0;
    bottom: 0;
    border-right-width: 1.5px !important;
    border-bottom-width: 1.5px !important;
  }
}
@media (min-width: 1025px) and (prefers-reduced-motion: reduce) {
  header > nav.has-lens a,
  .lens-frame {
    transition: none;
  }
  header > nav.is-focusing a {
    filter: none;
    transform: none;
  }
}

/* ===== 크리에이터 에디토리얼 프로필 카드 (홈·발견하기·전체 크리에이터) ===== */
/* 색 변수를 등록해 두면 글자·구분선 색까지 함께 부드럽게 바뀝니다 */
@property --ink {
  syntax: "<color>";
  inherits: true;
  initial-value: #f2f2f2;
}
@property --soft {
  syntax: "<color>";
  inherits: true;
  initial-value: #8a8a8a;
}
@property --rule {
  syntax: "<color>";
  inherits: true;
  initial-value: #2a2a2a;
}
.profile-rail {
  display: flex;
  gap: 14px;
  padding: 4px 2px 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}
.profile-rail::-webkit-scrollbar {
  display: none;
}
.profile-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.profile-rail.is-dragging .profile-card {
  pointer-events: none;
}
.profile-card {
  --ink: #f2f2f2;
  --soft: #8a8a8a;
  --rule: #2a2a2a;
  position: relative;
  flex: 0 0 clamp(290px, 22vw, 340px);
  display: flex;
  flex-direction: column;
  min-height: 470px;
  padding: 24px 24px 20px;
  border-radius: 6px;
  background: #101010;
  color: var(--ink);
  scroll-snap-align: start;
  transition:
    background-color 0.55s ease,
    --ink 0.55s ease,
    --soft 0.55s ease,
    --rule 0.55s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.6s ease;
}
.profile-rail:not(.is-in) .profile-card,
.profile-grid:not(.is-in) .profile-card {
  opacity: 0;
  transform: translateY(26px);
}
.profile-rail.is-in .profile-card,
.profile-grid.is-in .profile-card {
  transition-delay: 0s, 0s, 0s, 0s, calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms);
}
.profile-card:hover,
.profile-card:focus-within {
  --ink: #0b0b0b;
  --soft: #6b6b6b;
  --rule: #d4d4d4;
  background: #f2f2f2;
}
.profile-cover-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.profile-cover-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.profile-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  background: linear-gradient(var(--rule), var(--rule)) bottom / 100% 1px no-repeat;
  color: var(--soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.profile-top span:last-child {
  text-align: right;
}
.profile-name {
  margin: 18px 0 0;
  font-size: clamp(32px, 2.5vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  overflow-wrap: anywhere;
}
.profile-body {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  background: linear-gradient(var(--rule), var(--rule)) top / 100% 1px no-repeat;
}
.profile-portrait {
  width: 104px;
  height: 126px;
  overflow: hidden;
  color: transparent;
  object-fit: cover;
  border-radius: 2px;
  background: #222;
}
.profile-facts {
  display: grid;
  gap: 9px;
  margin: 0;
  align-content: start;
}
.profile-facts dt {
  color: var(--soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
}
.profile-facts dd {
  margin: 2px 0 0;
  font-size: 15px;
  line-height: 1.45;
  word-break: keep-all;
}
.profile-facts div:last-child dd {
  min-height: calc(1.45em * 3);
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.profile-links {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 16px;
  padding-top: 14px;
  background: linear-gradient(var(--rule), var(--rule)) top / 100% 1px no-repeat;
  font-size: 15px;
}
.profile-links a {
  font-weight: 600;
  transition: opacity 0.2s ease;
}
.profile-links a:hover {
  opacity: 0.6;
}
.rail-shell.profile-shell > .rail-toolbar .rail-button {
  height: calc(100% - 26px);
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.profile-grid .profile-card {
  min-width: 0;
}
@media (max-width: 600px) {
  .profile-card {
    flex-basis: 80vw;
    min-height: 440px;
  }
  .profile-rail {
    cursor: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .profile-card {
    transition: none;
  }
  .profile-rail:not(.is-in) .profile-card,
  .profile-grid:not(.is-in) .profile-card {
    opacity: 1;
    transform: none;
  }
}

/* ===== 메인 배너 '작품 감상하기' 버튼 (2026-11-11, Framer Expand Rotate Button 참고 — 색은 반대로) =====
   기본: 흰 버튼 + 오른쪽 검은 원 안의 흰 재생 아이콘.
   마우스를 올리면 검은 원이 커져 버튼 전체를 검게 채우고, 그 자리에 흰 원 + 검은 재생 아이콘이 나타나며 아이콘이 한 바퀴 돎 */
.xr-cta {
  --xr-grow: 13;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 9px 9px 9px 24px;
  border-radius: 8px;
  background: #fff;
  color: #0b0b0b;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.3s ease 0.18s, background-color 0s linear 0s, transform 0.25s ease;
}
.xr-cta-label {
  position: relative;
}
.xr-cta-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
}
/* 커지는 검은 원 (기본 상태에서는 아이콘 배경) */
.xr-cta-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #0b0b0b;
  z-index: -1;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.25, 1);
}
/* 마우스를 올리면 나타나는 흰 원 */
.xr-cta-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #fff;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.xr-cta-icon svg {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  margin-left: -1px;
  fill: #fff;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.25, 1), fill 0.25s ease 0.12s;
}
/* 마우스를 올렸을 때 효과는 데스크톱(1025px 이상, 마우스 사용)에서만 — 태블릿·모바일은 기본 모양 그대로 */
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
  /* 원이 다 채운 뒤 버튼 바탕도 검게 — 둥근 모서리에 흰 테두리가 비치지 않도록 */
  .xr-cta:hover,
  .xr-cta:focus-visible {
    color: #fff;
    background-color: #0b0b0b;
    transition: color 0.3s ease 0.18s, background-color 0s linear 0.5s, transform 0.25s ease;
  }
  .xr-cta:hover .xr-cta-icon::before,
  .xr-cta:focus-visible .xr-cta-icon::before {
    transform: scale(var(--xr-grow));
  }
  .xr-cta:hover .xr-cta-icon::after,
  .xr-cta:focus-visible .xr-cta-icon::after {
    transform: scale(1);
    transition-delay: 0.15s;
  }
  .xr-cta:hover .xr-cta-icon svg,
  .xr-cta:focus-visible .xr-cta-icon svg {
    fill: #0b0b0b;
    transform: rotate(360deg);
  }
  .xr-cta:active {
    transform: scale(0.97);
  }
}
.xr-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
@media (max-width: 1024px) {
  .xr-cta {
    min-height: 48px;
    padding: 8px 8px 8px 20px;
    font-size: 14px;
  }
  .xr-cta-icon {
    width: 32px;
    height: 32px;
  }
}
@media (max-width: 480px) {
  /* 모바일: 원 없이 검은 재생 아이콘만, 글자와 함께 가운데 */
  .feature-links .xr-cta {
    width: 100%;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
  }
  .xr-cta-icon {
    order: -1;
    width: 14px;
    height: 14px;
  }
  .xr-cta-icon::before,
  .xr-cta-icon::after {
    display: none;
  }
  .xr-cta-icon svg {
    width: 13px;
    height: 13px;
    margin-left: 0;
    fill: #0b0b0b;
  }
}
@media (prefers-reduced-motion: reduce) {
  .xr-cta-icon::before,
  .xr-cta-icon::after,
  .xr-cta-icon svg {
    transition-duration: 0.01s;
  }
}

/* ===== 유튜브 임베드 플레이어 — 썸네일 + 재생 버튼 → 누르면 유튜브 플레이어 로드 ===== */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: none;
  overflow: hidden;
  background: #000;
}
.video-embed img,
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-embed img {
  transition: transform 0.8s ease, filter 0.5s ease;
}
.video-embed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.45));
  pointer-events: none;
}
.video-embed.is-playing::after {
  display: none;
}
.video-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.video-play svg {
  width: 84px;
  height: 84px;
  padding: 26px 24px 26px 28px;
  border-radius: 50%;
  fill: #fff;
  background: rgba(16, 16, 16, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  transition: transform 0.35s ease, background 0.35s ease;
}
.video-play:hover svg,
.video-play:focus-visible svg {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.18);
}
.video-play:hover ~ img,
.video-embed:hover img {
  transform: scale(1.02);
}
.video-play:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -6px;
}
@media (max-width: 640px) {
  .video-play svg {
    width: 64px;
    height: 64px;
    padding: 20px 18px 20px 22px;
  }
}

/* 세로(쇼츠) 플레이어 */
.video-embed.is-vertical {
  aspect-ratio: 9 / 16;
  width: auto;
  height: min(78vh, 760px);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 18px;
}

/* 유튜브 호버 미리보기 — 카드에 꽉 차게, 조작 UI는 숨김 */
.poster .yt-preview {
  overflow: hidden;
  background: #000;
}
.yt-preview {
  container-type: size;
}
/* 영상 비율을 유지한 채 상자를 꽉 채우도록(cover) — 조작 UI가 덜 보이게 살짝 확대 */
.yt-preview iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100cqw, 177.78cqh);
  height: calc(max(100cqh, 56.25cqw) + 144px); /* 위아래 여백 속으로 유튜브 제목줄·로고를 밀어냄 */
  transform: translate(-50%, -50%) scale(1.06);
  pointer-events: none;
}
.yt-preview.is-vertical iframe {
  width: max(100cqw, 56.25cqh);
  height: calc(max(100cqh, 177.78cqw) + 144px);
}
.preview-label {
  z-index: 2;
}

/* 크리에이터 커버 — 작품 이미지가 1장뿐이면 반복하지 않고 한 장을 넓게 */
.creator-cover.is-single {
  grid-template-columns: 1fr;
}
.creator-cover.is-single img {
  object-position: center 30%;
}

/* ===== 작품 상세 페이지 (단편 watch.html · 시리즈 series.html 공통) ===== */
.title-page {
  padding: 0 0 110px;
}
.title-missing {
  padding: 120px 5%;
}
.title-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(76vh, 700px);
  padding: 48px 5% 64px;
  overflow: hidden;
}
.title-visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 70%;
  overflow: hidden;
  background: #0b0b0b;
}
.title-backdrop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.9s ease;
}
.title-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, 0.86) 16%, rgba(5, 5, 5, 0.25) 48%, rgba(5, 5, 5, 0) 72%),
    linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0) 32%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0) 22%);
}
.title-visual > .yt-preview,
.title-frame > .yt-preview {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.title-hero.is-previewing .yt-preview {
  opacity: 1;
}
.title-hero:not(.is-vertical).is-previewing .title-backdrop {
  opacity: 0;
}
.title-frame {
  display: none;
}
/* 세로(쇼츠) 작품 — 흐린 배경 위에 세로 화면 */
.title-hero.is-vertical .title-backdrop {
  filter: blur(34px) brightness(0.45);
  transform: scale(1.15);
}
.title-hero.is-vertical .title-frame {
  display: block;
  position: absolute;
  top: 7%;
  bottom: 7%;
  right: 13%;
  z-index: 2;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.title-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.9s ease;
}
.title-hero.is-vertical.is-previewing .title-frame img {
  opacity: 0;
}
.title-info {
  position: relative;
  z-index: 3;
  width: min(560px, 46%);
}
.title-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.title-badge img {
  width: auto;
  height: 12px;
}
.title-name {
  margin: 18px 0 16px;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  word-break: keep-all;
}
.title-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0 0 30px;
  color: #bdbdbd;
  font-size: 15px;
}
.title-meta span + span::before {
  content: "·";
  margin-right: 10px;
  color: #666;
}
.title-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.title-play,
.title-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}
.title-play {
  min-width: 180px;
  background: #fff;
  color: #000;
}
.title-play:hover {
  background: #e4e4e4;
}
.title-play svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.title-secondary {
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font-weight: 600;
}
.title-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}
.title-play:active,
.title-secondary:active {
  transform: scale(0.97);
}
.title-icon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 60px;
  padding: 2px 4px;
  background: none;
  color: #d8d8d8;
  font-size: 11.5px;
  cursor: pointer;
}
.title-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.25s ease, transform 0.25s ease;
}
.title-icon:hover {
  color: #fff;
}
.title-icon.is-on {
  color: #fff;
}
.title-icon.is-on svg {
  fill: #fff;
  transform: scale(1.06);
}
.title-status {
  margin: 12px 0 0;
  min-height: 1em;
  color: #a8a8a8;
  font-size: 13.5px;
}
.title-synopsis {
  margin-top: 16px;
  color: #cfcfcf;
  font-size: 15.5px;
  line-height: 1.7;
}
.title-synopsis strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 16px;
}
.title-synopsis p {
  margin: 0;
  white-space: pre-line;
}
.title-synopsis .is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.title-more {
  margin-top: 6px;
  padding: 0;
  background: none;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.title-credit {
  margin: 18px 0 0;
  color: #9a9a9a;
  font-size: 14.5px;
}
.title-credit span {
  margin-right: 12px;
}
.title-credit a,
.title-info-grid dd a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.25s ease;
}
.title-credit a:hover,
.title-info-grid dd a:hover {
  opacity: 0.7;
}
.title-mute {
  position: absolute;
  right: 5%;
  bottom: 64px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
}
.title-mute svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.title-hero.is-vertical .title-mute {
  right: calc(13% + 14px);
  bottom: calc(7% + 14px);
}

/* 탭 */
.title-tabs {
  display: flex;
  gap: 34px;
  margin: 8px 5% 0;
  overflow-x: auto;
  scrollbar-width: none;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
  scroll-margin-top: 110px;
}
.title-tabs::-webkit-scrollbar {
  display: none;
}
.title-tabs button {
  position: relative;
  flex: none;
  padding: 16px 2px;
  background: none;
  color: #8a8a8a;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.25s ease;
}
.title-tabs button:hover,
.title-tabs button[aria-selected="true"] {
  color: #fff;
}
.title-tabs button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #fff;
}
.title-panel {
  margin: 0 5%;
  padding-top: 30px;
}
.title-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.title-panel-head .field {
  width: auto;
  min-width: 130px;
}
.title-count {
  color: #a8a8a8;
  font-size: 15px;
}
.title-sort {
  padding: 6px 0;
  background: none;
  color: #cfcfcf;
  font-size: 14px;
  cursor: pointer;
}
.title-sort::before {
  content: "⇅ ";
  color: #888;
}

/* 에피소드 */
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 36px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
#frame-workspace .episode-grid li,
.episode-grid li {
  margin: 0;
}
.episode-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 10px;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: background 0.3s ease;
}
.episode-card:hover,
.episode-card:focus-visible {
  background: rgba(255, 255, 255, 0.05);
}
.episode-card.is-current {
  background: rgba(255, 255, 255, 0.08);
}
.episode-art {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #151515;
}
.episode-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.episode-card:hover .episode-art img {
  transform: scale(1.04);
}
.episode-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.episode-play svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}
.episode-card:hover .episode-play,
.episode-card:focus-visible .episode-play {
  opacity: 1;
}
.episode-flag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 7px;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-size: 11px;
  font-weight: 700;
}
.episode-grid.is-vertical .episode-card {
  grid-template-columns: 92px minmax(0, 1fr);
}
.episode-grid.is-vertical .episode-art {
  aspect-ratio: 9 / 16;
}
.episode-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.episode-copy strong {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}
.episode-copy small {
  color: #969696;
  font-size: 13px;
}
.episode-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #a9a9a9;
  font-size: 14px;
  line-height: 1.6;
}

/* 제작 이야기 */
.title-making {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.title-making h2 {
  margin: 0 0 14px;
  font-size: 26px;
}
.title-making p {
  margin: 0 0 24px;
  color: #b8b8b8;
  font-size: 15.5px;
  line-height: 1.75;
}
.title-making-list {
  display: grid;
  gap: 10px;
}
.title-making-list a {
  display: grid;
  gap: 6px;
  padding: 18px 22px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  text-decoration: none;
  transition: background 0.25s ease;
}
.title-making-list a:hover {
  background: rgba(255, 255, 255, 0.09);
}
.title-making-list small {
  color: #999;
  font-size: 13px;
}
.title-making-list .title-empty {
  margin: 0;
  padding: 22px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #8a8a8a;
}

/* 추천 */
.title-reco {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px 20px;
}
.title-reco .poster {
  height: auto;
  aspect-ratio: 16 / 9;
}

/* 상세정보 */
.title-info-grid {
  display: grid;
  grid-template-columns: minmax(260px, 400px) minmax(0, 1fr);
  gap: 64px;
}
.title-info-grid dl {
  margin: 0;
}
.title-info-grid dl div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}
.title-info-grid dt {
  color: #8a8a8a;
  font-size: 14.5px;
}
.title-info-grid dd {
  margin: 0;
  color: #eee;
  font-size: 15px;
}
.title-info-desc h2 {
  margin: 0 0 14px;
  font-size: 20px;
}
.title-info-desc p {
  margin: 0 0 14px;
  color: #c8c8c8;
  font-size: 15.5px;
  line-height: 1.8;
}

/* 플레이어 창 */
html.has-player {
  overflow: hidden;
}
.player-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.player-modal.is-open {
  opacity: 1;
}
.player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4%;
}
.player-title {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.player-title strong {
  color: #fff;
  font-size: 17px;
}
.player-title span {
  margin-left: 12px;
  color: #aaa;
  font-size: 15px;
}
.player-nav {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
}
.player-nav button {
  height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.25s ease;
}
.player-nav button:hover {
  background: rgba(255, 255, 255, 0.2);
}
.player-nav .player-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: 6px;
  padding: 0;
  border-radius: 50%;
}
.player-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.player-stage {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 0 4% 4vh;
}
.player-stage .article-video {
  width: min(100%, calc((100vh - 150px) * 16 / 9));
  height: auto;
  max-height: none;
  aspect-ratio: 16 / 9;
  margin: 0;
  border-radius: 12px;
}
.player-modal.is-vertical .player-stage .article-video {
  width: auto;
  height: calc(100vh - 150px);
  max-width: 100%;
  aspect-ratio: 9 / 16;
}

@media (max-width: 1024px) {
  .title-info {
    width: min(520px, 54%);
  }
  .title-hero.is-vertical .title-frame {
    right: 6%;
  }
}
@media (max-width: 768px) {
  .title-hero {
    display: block;
    min-height: 0;
    padding: 0 0 8px;
  }
  .title-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
  }
  .title-hero.is-vertical .title-visual {
    aspect-ratio: 1 / 1;
  }
  .title-visual::after {
    background: linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0) 45%);
  }
  .title-hero.is-vertical .title-frame {
    top: 6%;
    bottom: 10%;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  .title-info {
    width: auto;
    margin-top: -28px;
    padding: 0 20px;
  }
  .title-name {
    margin: 14px 0 12px;
    font-size: clamp(32px, 9vw, 42px);
  }
  .title-meta {
    margin-bottom: 22px;
    font-size: 14px;
  }
  .title-actions {
    gap: 10px;
  }
  .title-play {
    flex: 1 1 100%;
  }
  .title-secondary {
    flex: 1 1 auto;
    height: 48px;
    font-size: 15px;
  }
  .title-mute {
    display: none;
  }
  .title-tabs {
    gap: 24px;
    margin: 18px 20px 0;
  }
  .title-tabs button {
    font-size: 16px;
  }
  .title-panel {
    margin: 0 20px;
    padding-top: 22px;
  }
  .episode-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .episode-card {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 14px;
    padding: 8px;
  }
  .episode-grid.is-vertical .episode-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .episode-copy strong {
    font-size: 15px;
  }
  .title-making,
  .title-info-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .title-reco {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
  }
  .player-bar {
    flex-wrap: wrap;
    padding: 12px 16px;
  }
  .player-title {
    flex: 1 1 100%;
    order: 2;
  }
  .player-title span {
    display: block;
    margin: 4px 0 0;
  }
  .player-nav {
    order: 1;
    width: 100%;
    justify-content: flex-end;
  }
  .player-stage {
    padding: 0 0 4vh;
  }
  .player-stage .article-video {
    width: 100%;
    border-radius: 0;
  }
  .player-modal.is-vertical .player-stage .article-video {
    height: min(calc(100vh - 170px), calc(100vw * 16 / 9));
    border-radius: 12px;
  }
}

/* ===== SUPER TRIBE 유튜브 플레이어 — 유튜브 기본 UI 숨김 + 자체 컨트롤 ===== */
.st-player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
}
.st-player.is-vertical {
  aspect-ratio: 9 / 16;
}
/* iframe을 위아래로 크게 → 유튜브 제목줄·로고가 잘려 나감 (영상은 가로폭에 맞춰 그대로 보임) */
.st-player iframe {
  position: absolute;
  top: -72px;
  left: 0;
  width: 100%;
  height: calc(100% + 144px);
  pointer-events: none;
}
.st-player.is-native iframe {
  pointer-events: auto;
}
.st-shield {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}
.st-player.is-native .st-shield,
.st-player.is-native .st-center {
  display: none;
}
.st-player.is-playing:not(.is-active) .st-shield {
  cursor: none;
}
.st-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.st-player:not(.is-idle) .st-poster {
  opacity: 0;
}
/* 일시정지·종료 시 유튜브의 '추천 영상' 화면을 덮음 */
.st-player.is-paused .st-poster,
.st-player.is-ended .st-poster {
  opacity: 1;
  filter: brightness(0.45);
}
.st-center {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.st-center > * {
  grid-area: 1 / 1;
}
.st-big,
.st-end,
.st-spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.st-big {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  padding: 0;
  border-radius: 50%;
  background: rgba(16, 16, 16, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
  transition: opacity 0.3s ease, visibility 0.3s, transform 0.3s ease, background 0.3s ease;
}
.st-big:hover {
  transform: scale(1.07);
  background: rgba(255, 255, 255, 0.18);
}
.st-big svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
}
.st-player.is-idle.is-ready .st-big,
.st-player.is-paused .st-big {
  opacity: 1;
  visibility: visible;
}
.st-player.is-idle:not(.is-ready) .st-spinner,
.st-player.is-buffering .st-spinner {
  opacity: 1;
  visibility: visible;
}
.st-spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.18);
  background: conic-gradient(from 0deg, transparent 0 70%, #fff 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  animation: st-spin 0.9s linear infinite;
}
@keyframes st-spin {
  to {
    transform: rotate(360deg);
  }
}
.st-end {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.st-player.is-ended .st-end {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.st-end button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.st-end .st-next {
  background: #fff;
  color: #000;
}
.st-end svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* 아래 컨트롤 */
.st-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 36px 16px 10px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.st-player.is-active:not(.is-idle) .st-controls,
.st-player:focus-within:not(.is-idle) .st-controls {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.st-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.st-gap {
  flex: 1;
}
.st-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 8px;
  background: none;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}
.st-btn:hover,
.st-btn:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}
.st-btn svg,
.st-big svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.st-btn svg {
  width: 22px;
  height: 22px;
}
.st-player svg .fill {
  fill: currentColor;
  stroke: none;
}
.st-time {
  margin-left: 6px;
  color: #e8e8e8;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.st-seek,
.st-volume {
  --p: 0%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  margin: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #fff var(--p), rgba(255, 255, 255, 0.28) var(--p));
  cursor: pointer;
  outline: none;
}
.st-seek {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  transition: height 0.2s ease;
}
.st-seek:hover,
.st-seek:focus-visible {
  height: 6px;
}
.st-volume {
  width: 84px;
  margin-right: 6px;
}
.st-seek::-webkit-slider-thumb,
.st-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15);
}
.st-seek::-moz-range-thumb,
.st-volume::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
}
.st-player:fullscreen {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
}
.st-player.is-vertical:fullscreen iframe {
  left: 50%;
  width: min(100%, 56.25vh);
  transform: translateX(-50%);
}
.st-player:focus-visible {
  box-shadow: 0 0 0 2px #fff;
}
@media (max-width: 640px) {
  .st-volume {
    display: none;
  }
  .st-controls {
    padding: 28px 8px 4px;
  }
  .st-big {
    width: 64px;
    height: 64px;
  }
}
@media (hover: none) {
  .st-volume {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .st-spinner {
    animation-duration: 2.5s;
  }
}

/* ===== 언어 전환 (EN / KO) ===== */
.i18n-wait body {
  visibility: hidden;
}
.lang-switch {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2px;
  color: #6f6f6f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.lang-switch button {
  min-width: 28px;
  min-height: 36px;
  padding: 0 4px;
  background: none;
  color: #8a8a8a;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  transition: color 0.2s ease;
}
.lang-switch button:hover,
.lang-switch button:focus-visible {
  color: #fff;
}
.lang-switch button[aria-pressed="true"] {
  color: #fff;
}
.lang-switch span {
  color: #4a4a4a;
  font-weight: 400;
}
/* 모바일: 헤더에서는 숨기고 메뉴 상단에 */
@media (max-width: 1024px) {
  header.has-mobile-menu .right > .lang-switch {
    display: none;
  }
}
.mobile-menu-top .lang-switch {
  margin-left: auto;
  margin-right: 8px;
  font-size: 13px;
}
.mobile-menu-top .lang-switch button {
  min-width: 36px;
  min-height: 44px;
}

/* ===== 헤더 폭 정리 — 언어 버튼이 들어가도 노트북 폭에서 넘치지 않게 ===== */
header > .right > button.outline {
  white-space: nowrap;
}
@media (min-width: 1025px) and (max-width: 1499px) {
  /* 가운데 고정 대신 남는 공간의 가운데에 메뉴 */
  header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 28px;
  }
  header > nav {
    justify-self: center;
  }
}
@media (min-width: 1025px) and (max-width: 1279px) {
  header .right {
    gap: 14px;
  }
  header > nav,
  header > nav.has-lens {
    gap: 22px;
  }
}
@media (min-width: 1025px) and (max-width: 1139px) {
  header {
    column-gap: 18px;
  }
  header .right {
    gap: 8px;
  }
  header > nav,
  header > nav.has-lens {
    gap: 16px;
    font-size: 15px;
  }
  header .right .studio-link {
    padding: 0 2px;
  }
}

/* ===== 로고 — 네비바는 심볼(S), 그 밖은 글자 로고 ===== */
header > .logo > img.logo-mark {
  width: 44px;
  height: 44px;
}
@media (max-width: 768px) {
  header > .logo > img.logo-mark {
    width: 38px;
    height: 38px;
  }
}

/* ===== 커뮤니티 멤버십 소개 (membership.html) — 커뮤니티와 같은 화이트 톤 ===== */
.membership-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 32px 112px;
  color: var(--cm-ink);
}

/* 멤버 전용 미리보기 */

/* 섹션 */

/* 가입 확인 창 */
.ms-join {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 1px solid var(--cm-line) !important;
  border-radius: 16px;
  background: #fff;
  color: var(--cm-ink);
  overflow: auto;
}
.ms-join::backdrop {
  background: rgba(25, 27, 31, 0.4);
}
.ms-join .form-field {
  margin: 0;
}
@media (max-width: 600px) {
  .membership-page {
    padding: 40px 16px 80px;
  }
}

/* ===== 커뮤니티 — 화이트 톤 앱 화면 (Wonder 피드 참고) =====
   community / post / write / member 페이지의 <body class="cm-light">에만 적용됩니다. */
body.cm-light {
  --cm-bg: #f7f9fa;
  --cm-card: #fff;
  --cm-line: #e4e7eb;
  --cm-ink: #191b1f;
  --cm-text: #3b3b3b;
  --cm-sub: #545861;
  --cm-muted: #717680;
  --cm-dark: #33343a;
  --cm-hover: #f2f4f7;
  --cm-accent: #506cf0;
  --cm-accent-bg: #f1f3fe;
  background: var(--cm-bg);
  color: var(--cm-text);
  font-family: "Inter", "Noto Sans KR", system-ui, sans-serif;
  font-size: 16px;
}
body.cm-light ::selection {
  background: #dfe5ff;
}
body.cm-light > footer {
  display: none;
}

/* 상단 바 — 흰 바탕, 로고와 아이콘만 */
body.cm-light > header {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
  min-height: 64px;
  padding: 0 20px;
  flex-wrap: nowrap;
  background: #fff;
  border-bottom: 1px solid var(--cm-line) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: var(--cm-ink);
}
body.cm-light > header > nav,
body.cm-light > header .right > .studio-link,
body.cm-light > header .right > .outline {
  display: none;
}
body.cm-light > header > .logo > img.logo-mark {
  width: 32px;
  height: 32px;
}
body.cm-light > header .right {
  gap: 6px;
  margin-left: auto;
}
body.cm-light header .header-account,
body.cm-light header .right > button.search,
body.cm-light header .mobile-menu-toggle {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  min-height: 36px;
  border-radius: 8px;
  color: var(--cm-ink);
}
body.cm-light header .right > button.search:hover,
body.cm-light header .header-account:hover,
body.cm-light header .mobile-menu-toggle:hover {
  background: var(--cm-hover);
}
body.cm-light .header-search-icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}
body.cm-light .header-account-avatar {
  width: 28px;
  height: 28px;
}
body.cm-light .header-account-avatar.is-signed-in {
  background: var(--cm-dark);
  color: #fff;
}
body.cm-light header .lang-switch {
  margin-right: 6px;
  color: #b0b4bb;
}
body.cm-light header .lang-switch button {
  color: var(--cm-muted);
}
body.cm-light header .lang-switch button:hover,
body.cm-light header .lang-switch button[aria-pressed="true"] {
  color: var(--cm-ink);
}
body.cm-light header .lang-switch span {
  color: #c4c8ce;
}

/* 아이콘 */
.cm-ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 뼈대: 왼쪽 목록(고정) + 가운데 */
body.cm-light main.cm-app {
  display: block;
  max-width: none;
  margin: 0;
  padding: 0;
}
.cm-nav {
  display: block;
  position: fixed;
  top: 64px;
  bottom: 0;
  left: 0;
  z-index: 6;
  width: 280px;
  box-sizing: border-box;
  padding: 12px 12px 24px;
  overflow-y: auto;
  background: #fff;
  border-right: 1px solid var(--cm-line) !important;
  scrollbar-width: thin;
}
.cm-nav-group + .cm-nav-group {
  margin-top: 20px;
}
.cm-nav-label {
  margin: 0 0 6px;
  padding: 0 12px;
  color: var(--cm-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}
.cm-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--cm-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}
.cm-nav-link .cm-ico {
  width: 16px;
  height: 16px;
  color: var(--cm-muted);
}
.cm-nav-link:hover {
  background: var(--cm-hover);
}
.cm-nav-link.is-active {
  background: var(--cm-dark);
  color: #fff;
}
.cm-nav-link.is-active .cm-ico {
  color: #fff;
}
.cm-nav-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cm-nav-count {
  margin-left: auto;
  min-width: 20px;
  padding: 0 6px;
  box-sizing: border-box;
  border: 1px solid var(--cm-line) !important;
  border-radius: 6px;
  background: #fff;
  color: var(--cm-ink);
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}
.cm-stage {
  display: grid;
  grid-template-columns: minmax(0, 680px) 320px;
  justify-content: center;
  align-items: start;
  column-gap: 24px;
  margin-left: 280px;
  padding: 0 24px 64px;
}
.cm-app:not([data-cm="feed"]) .cm-stage {
  grid-template-columns: minmax(0, 1024px);
}
.cm-app:not([data-cm="feed"]) .cm-main {
  justify-self: center;
  width: 100%;
  max-width: 680px;
}
.cm-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.cm-pagehead {
  position: sticky;
  top: 64px;
  z-index: 5;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  margin-bottom: 16px;
  padding: 0 24px;
  box-sizing: border-box;
  border: 1px solid var(--cm-line) !important;
  border-top: 0 !important;
  border-radius: 0 0 20px 20px;
  background: #fff;
}
.cm-pagehead:empty {
  display: none;
}
.cm-pagehead-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.cm-pagehead h1 {
  margin: 0;
  overflow: hidden;
  color: var(--cm-ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cm-back {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: -8px;
  border-radius: 8px;
  color: var(--cm-ink);
}
.cm-back:hover {
  background: var(--cm-hover);
}
.cm-rail {
  position: sticky;
  top: 152px;
}

/* 버튼 */
.cm-newpost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border: 0 !important;
  border-radius: 8px;
  background: var(--cm-dark);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  cursor: pointer;
}
.cm-newpost:hover {
  background: var(--cm-ink);
}
.cm-newpost.is-large {
  height: 40px;
  padding: 0 18px;
}
.cm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  box-sizing: border-box;
  border: 1px solid var(--cm-line) !important;
  border-radius: 8px;
  background: #fff;
  color: var(--cm-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
.cm-btn:hover {
  background: var(--cm-hover);
}

/* 글쓰기 상자 · 하위 탭 */
.cm-composer {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 0 16px;
  box-sizing: border-box;
  border: 1px solid var(--cm-line) !important;
  border-radius: 16px;
  background: #fff;
}
.cm-composer-input {
  flex: 1;
  color: var(--cm-muted);
  font-size: 16px;
}
.cm-composer-plus {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--cm-hover);
  color: var(--cm-ink);
}
.cm-composer:hover .cm-composer-plus {
  background: #e9ecf0;
}
.cm-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cm-tabs::-webkit-scrollbar {
  display: none;
}
.cm-tabs a,
.cm-tabs button {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  box-sizing: border-box;
  border: 1px solid transparent !important;
  border-radius: 12px;
  background: none;
  color: var(--cm-muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
.cm-tabs a:hover,
.cm-tabs button:hover {
  color: var(--cm-ink);
}
.cm-tabs a.is-active,
.cm-tabs button[aria-selected="true"] {
  border-color: var(--cm-line) !important;
  background: #fff;
  color: var(--cm-ink);
}
.cm-filter {
  margin: 0;
  color: var(--cm-sub);
  font-size: 14px;
}
.cm-filter-clear {
  padding: 0;
  background: none;
  color: var(--cm-ink);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* 글 카드 */
.cm-feed {
  display: grid;
  gap: 16px;
}
.cm-card {
  overflow: hidden;
  border: 1px solid var(--cm-line) !important;
  border-radius: 16px;
  background: #fff;
}
.cm-cover {
  display: block;
  aspect-ratio: 680 / 242;
  overflow: hidden;
  background: #eceff2;
}
.cm-cover.is-article {
  aspect-ratio: 16 / 9;
}
.cm-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cm-card-body {
  display: grid;
  gap: 16px;
  padding: 24px;
}
.cm-card-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.cm-card-title h3,
.cm-card-title h1 {
  margin: 0;
  color: var(--cm-ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.cm-card-title h1 {
  font-size: 28px;
  line-height: 1.35;
}
.cm-card-title a:hover h3 {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cm-pin {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--cm-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  vertical-align: 4px;
}
.cm-save {
  display: inline-grid;
  flex-shrink: 0;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0 !important;
  border-radius: 8px;
  background: none;
  color: var(--cm-sub);
  cursor: pointer;
}
.cm-save:hover {
  background: var(--cm-hover);
  color: var(--cm-ink);
}
.cm-save.is-active {
  color: var(--cm-ink);
}
.cm-save.is-active .cm-ico {
  fill: currentColor;
}
.cm-save.is-labelled {
  display: inline-flex;
  gap: 8px;
  width: auto;
  height: 36px;
  margin-left: auto;
  padding: 0 16px;
  color: var(--cm-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
}
.cm-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.cm-byline-avatar {
  display: flex;
}
.cm-byline-text {
  display: grid;
  min-width: 0;
}
.cm-byline-top {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}
.cm-byline-name {
  overflow: hidden;
  color: var(--cm-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cm-byline-name:hover,
.cm-byline-where:hover {
  text-decoration: underline;
}
.cm-byline-time {
  flex-shrink: 0;
  color: var(--cm-sub);
  font-size: 14px;
  line-height: 20px;
}
.cm-byline-where {
  justify-self: start;
  color: var(--cm-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}
.cm-card-text {
  display: -webkit-box;
  overflow: hidden;
  color: var(--cm-ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
}
.cm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}
.cm-tags span,
.cm-tags a {
  padding: 0 4px;
  border-radius: 4px;
  background: var(--cm-accent-bg);
  color: var(--cm-accent);
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}
.cm-tags a:hover {
  text-decoration: underline;
}
.cm-card .article-video,
.cm-card .video-embed,
.cm-card .st-player {
  margin: 0;
  border-radius: 8px;
}
.cm-card .video-embed.is-vertical,
.cm-card .st-player.is-vertical {
  width: auto;
  height: min(64vh, 560px);
  margin: 0 auto;
}
.cm-card .video-play svg {
  width: 64px;
  height: 64px;
  padding: 20px 18px 20px 22px;
}
.cm-card-work {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  color: var(--cm-sub);
  font-size: 14px;
  font-weight: 500;
}
.cm-card-work:hover {
  color: var(--cm-ink);
  text-decoration: underline;
}
.cm-collab {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.cm-collab.is-center {
  justify-content: center;
}
.cm-collab > span {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--cm-hover);
  color: var(--cm-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}
.cm-collab > .cm-collab-pay {
  background: none;
  color: var(--cm-muted);
}
body.cm-light .collab-status {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--cm-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}
body.cm-light .collab-status.is-closed {
  background: var(--cm-line);
  color: var(--cm-sub);
}
body.cm-light .collab-status.is-available {
  background: #e3f5e9;
  color: #1c7a3e;
}
.cm-reactions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--cm-sub);
  font-size: 14px;
  line-height: 20px;
}
.cm-reaction-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cm-reaction-count .cm-ico {
  width: 20px;
  height: 20px;
  padding: 4px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--cm-accent-bg);
  color: var(--cm-accent);
  fill: currentColor;
  stroke-width: 0;
}
a.cm-comment-count:hover {
  color: var(--cm-ink);
  text-decoration: underline;
}
.cm-card-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: -4px -8px -8px;
  padding-top: 12px;
  border-top: 1px solid var(--cm-line) !important;
}
.cm-act {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border: 0 !important;
  border-radius: 8px;
  background: none;
  color: var(--cm-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.cm-act:hover {
  background: var(--cm-hover);
}
.cm-like.is-active {
  color: var(--cm-accent);
}
.cm-like.is-active .cm-ico {
  fill: currentColor;
}
.cm-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 48px 24px;
  border: 1px solid var(--cm-line) !important;
  border-radius: 16px;
  background: #fff;
  color: var(--cm-sub);
  font-size: 15px;
  text-align: center;
}
.cm-empty strong {
  color: var(--cm-ink);
  font-size: 16px;
}
.cm-empty p {
  margin: 0;
}
.cm-empty .cm-btn {
  margin-top: 8px;
}

/* 오른쪽 상자 · 짧은 목록 */
.cm-box {
  padding: 24px;
  border: 1px solid var(--cm-line) !important;
  border-radius: 16px;
  background: #fff;
}
.cm-box h2 {
  margin: 0 0 16px;
  color: var(--cm-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}
.cm-box-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.cm-box-head a {
  color: var(--cm-muted);
  font-size: 13px;
}
.cm-box-head a:hover {
  color: var(--cm-ink);
}
.cm-trending ol {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cm-trending a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
}
.cm-trending a > span:last-child {
  display: grid;
  gap: 2px;
}
.cm-trending strong {
  color: var(--cm-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  overflow-wrap: anywhere;
}
.cm-trending a:hover strong {
  text-decoration: underline;
}
.cm-trending small {
  color: var(--cm-muted);
  font-size: 12px;
  line-height: 18px;
}
.cm-mini {
  margin: 0;
  padding: 0;
  list-style: none;
}
.cm-mini li + li {
  border-top: 1px solid var(--cm-line) !important;
}
.cm-mini a {
  display: grid;
  gap: 4px;
  padding: 12px 0;
}
.cm-mini li:first-child a {
  padding-top: 0;
}
.cm-mini li:last-child a {
  padding-bottom: 0;
}
.cm-mini strong {
  color: var(--cm-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}
.cm-mini a:hover strong {
  text-decoration: underline;
}
.cm-mini small {
  color: var(--cm-muted);
  font-size: 12px;
}

/* 프로필 사진 (이니셜) */
body.cm-light .forum-avatar {
  background: #e7eaee;
  color: var(--cm-ink);
}
.forum-avatar.is-small {
  width: 24px;
  height: 24px;
  font-size: 11px;
}
.cm-composer .forum-avatar.is-small {
  width: 32px;
  height: 32px;
  font-size: 13px;
}
.forum-avatar.is-medium {
  width: 40px;
  height: 40px;
  font-size: 15px;
}

/* 글 상세 */
.cm-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: -6px;
  color: var(--cm-muted);
  font-size: 13px;
  font-weight: 500;
}
.cm-crumbs a:hover {
  color: var(--cm-ink);
  text-decoration: underline;
}
.cm-article-body {
  color: var(--cm-ink);
  font-size: 16px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.cm-details {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--cm-bg);
  color: var(--cm-sub);
  font-size: 14px;
}
.cm-article-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cm-article-links:empty {
  display: none;
}
.cm-article-links.is-center {
  justify-content: center;
}
body.cm-light .collab-panel {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--cm-line) !important;
  border-radius: 12px;
  background: var(--cm-bg);
  color: var(--cm-ink);
}
body.cm-light .collab-applicants,
body.cm-light .collab-facts dt {
  color: var(--cm-muted);
}
body.cm-light .collab-facts dd,
body.cm-light .collab-done {
  color: var(--cm-ink);
}
.collab-facts.is-large {
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 20px;
  font-size: 15px;
}
.collab-facts.is-large div {
  display: contents;
}
body.cm-light .collab-app-list li {
  background: #fff;
  border: 1px solid var(--cm-line) !important;
}

/* 댓글 */
.cm-comments {
  padding: 24px;
  border-top: 1px solid var(--cm-line) !important;
}
body.cm-light .comments {
  margin-top: 0;
}
.cm-comments h2 {
  margin: 0 0 8px;
  color: var(--cm-ink);
  font-size: 18px;
  font-weight: 700;
}
body.cm-light .comment {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--cm-line) !important;
}
body.cm-light .comment p {
  color: var(--cm-ink);
  font-size: 15px;
  line-height: 1.65;
}
body.cm-light .comment small,
body.cm-light .empty-comments {
  color: var(--cm-muted);
}
body.cm-light .forum-author {
  color: var(--cm-ink);
}

/* 입력칸 · 기본 버튼 (화이트 톤) */
body.cm-light .field {
  border: 1px solid var(--cm-line) !important;
  border-radius: 10px;
  background: #fff;
  color: var(--cm-ink);
  font-size: 15px;
}
body.cm-light .field::placeholder {
  color: #9aa0a8;
}
body.cm-light .field:focus {
  border-color: var(--cm-ink) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(25, 27, 31, 0.08);
}
body.cm-light .form-field > span,
body.cm-light legend {
  color: var(--cm-ink);
  font-size: 14px;
  font-weight: 600;
}
body.cm-light .form-note {
  color: var(--cm-muted);
}
body.cm-light .solid {
  border: 0 !important;
  border-radius: 8px;
  background: var(--cm-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
body.cm-light .solid:hover {
  background: var(--cm-ink);
}
body.cm-light .outline {
  border: 1px solid var(--cm-line) !important;
  border-radius: 8px;
  background: #fff;
  color: var(--cm-ink);
  font-size: 14px;
  font-weight: 500;
}
body.cm-light .outline:hover {
  background: var(--cm-hover);
}
body.cm-light .forum-tag {
  background: var(--cm-accent-bg);
  color: var(--cm-accent);
}

/* 글쓰기 */
.cm-form {
  padding: 24px;
}
.cm-form .form-field {
  margin: 20px 0;
}
.cm-form textarea[name="body"] {
  min-height: 260px;
}
body.cm-light .write-boards {
  margin: 0 0 8px;
}
body.cm-light .write-board span {
  border: 1px solid var(--cm-line) !important;
  border-radius: 12px;
  background: #fff;
  color: var(--cm-ink);
}
body.cm-light .write-board small {
  color: var(--cm-muted);
}
body.cm-light .write-board input:checked + span {
  border-color: var(--cm-dark) !important;
  background: var(--cm-dark);
  color: #fff;
}
body.cm-light .write-board input:checked + span small {
  color: #c9ccd2;
}
body.cm-light .write-subs span,
body.cm-light .write-roles span {
  background: var(--cm-hover);
  color: var(--cm-ink);
}
body.cm-light .write-subs input:checked + span,
body.cm-light .write-roles input:checked + span {
  background: var(--cm-dark);
  color: #fff;
}
body.cm-light .write-board input:focus-visible + span,
body.cm-light .write-roles input:focus-visible + span,
body.cm-light .write-subs input:focus-visible + span {
  outline-color: var(--cm-accent);
}
.write-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 6px;
  padding: 0;
  border: 0 !important;
}
.write-subs legend {
  margin-bottom: 12px;
}
.write-subs label {
  display: inline-flex;
}
.write-subs input {
  position: absolute;
  opacity: 0;
}
.write-subs span {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
}
.cm-form .form-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 멤버 프로필 */

/* 폭에 따라 */
@media (max-width: 1360px) {
  .cm-nav {
    width: 232px;
  }
  .cm-stage {
    margin-left: 232px;
  }
}
@media (max-width: 1300px) {
  .cm-stage {
    grid-template-columns: minmax(0, 680px);
  }
  .cm-rail {
    display: none;
  }
}
@media (max-width: 1024px) {
  body.cm-light > header {
    padding: 0 12px 0 16px;
  }
  .cm-nav {
    position: static;
    display: flex;
    gap: 6px;
    width: auto;
    padding: 12px 16px;
    overflow-x: auto;
    border-right: 0 !important;
    border-bottom: 1px solid var(--cm-line) !important;
    scrollbar-width: none;
  }
  .cm-nav::-webkit-scrollbar {
    display: none;
  }
  .cm-nav-group {
    display: contents;
  }
  .cm-nav-label {
    display: none;
  }
  .cm-nav-link {
    flex-shrink: 0;
    height: 36px;
    border: 1px solid var(--cm-line) !important;
    border-radius: 999px;
  }
  .cm-nav-link.is-active {
    border-color: var(--cm-dark) !important;
  }
  .cm-stage,
  .cm-app:not([data-cm="feed"]) .cm-stage {
    grid-template-columns: minmax(0, 1fr);
    margin-left: 0;
    padding: 0 16px 48px;
  }
  .cm-main {
    justify-self: center;
    width: 100%;
    max-width: 680px;
  }
  .cm-pagehead {
    margin: 0 -16px 16px;
    padding: 0 16px;
    min-height: 60px;
    border-width: 0 0 1px !important;
    border-radius: 0;
  }
  .cm-pagehead h1 {
    font-size: 20px;
  }
}
@media (max-width: 640px) {
  body.cm-light {
    font-size: 15px;
  }
  .cm-card-body {
    gap: 14px;
    padding: 18px 16px;
  }
  .cm-card-title h3 {
    font-size: 19px;
  }
  .cm-card-title h1 {
    font-size: 23px;
  }
  .cm-card-text,
  .cm-article-body {
    font-size: 15px;
  }
  .cm-card .video-embed.is-vertical,
  .cm-card .st-player.is-vertical {
    height: min(70vh, 520px);
  }
  .cm-card-actions {
    margin: -2px -6px -6px;
  }
  .cm-act {
    padding: 0 12px;
  }
  .cm-comments,
  .cm-form,
  .cm-box {
    padding: 18px 16px;
  }
  .cm-save.is-labelled {
    padding: 0 12px;
  }
}
/* 댓글 안의 답글·수정·삭제는 작게 */
body.cm-light .comment .frame-actions {
  gap: 4px;
  margin-top: 4px;
}
body.cm-light .comment .frame-actions .outline {
  min-height: 0;
  height: 30px;
  padding: 0 10px;
  border: 0 !important;
  background: none;
  color: var(--cm-sub);
  font-size: 13px;
}
body.cm-light .comment .frame-actions .outline:hover {
  background: var(--cm-hover);
  color: var(--cm-ink);
}
body.cm-light .comment.reply {
  padding-left: 28px;
}

/* 커뮤니티 화면에는 사이트 하단 소개 블록을 넣지 않음 (Wonder처럼 앱 화면) */
body.cm-light > .site-about {
  display: none;
}
body.cm-light input,
body.cm-light textarea,
body.cm-light select {
  color-scheme: light;
}

/* ===== 커뮤니티 확장 — 채팅 · 멤버 · 이벤트·공모전 · 멤버 혜택 ===== */
.cm-app[data-cm="members"] .cm-main,
.cm-app[data-cm="events"] .cm-main,
.cm-app[data-cm="perks"] .cm-main,
.cm-app[data-cm="chat"] .cm-main {
  max-width: 1024px;
}
.cm-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 20px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--cm-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.cm-badge.is-light {
  background: var(--cm-hover);
  color: var(--cm-sub);
}
/* 한글 뱃지 — Noto Sans KR 글자가 아래·오른쪽으로 쏠려 보여서 박스 안쪽 여백으로 정확히 가운데 맞춤 */
html:not([lang="en"]) .cm-badge {
  padding: 0 6.5px 2px 5.5px;
}
.cm-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c4c8ce;
}
.cm-dot.is-online {
  background: #2fa35a;
}
.cm-icon-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--cm-ink);
  cursor: pointer;
}
.cm-icon-btn:hover {
  background: var(--cm-hover);
}
.cm-newpost .cm-ico,
.cm-btn .cm-ico {
  width: 16px;
  height: 16px;
}
.cm-newpost {
  gap: 8px;
}
.cm-faces {
  display: inline-flex;
}
.cm-faces .forum-avatar {
  box-shadow: 0 0 0 2px #fff;
}
.cm-faces .forum-avatar + .forum-avatar {
  margin-left: -6px;
}
.cm-head-faces {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cm-sub);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.cm-tab-count {
  margin-left: 6px;
  color: var(--cm-muted);
  font-variant-numeric: tabular-nums;
}
.cm-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--cm-line) !important;
  border-radius: 8px;
  background: #fff;
  color: var(--cm-muted);
}
.cm-search input {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  background: none;
  color: var(--cm-ink);
  font: inherit;
  font-size: 14px;
  outline: none;
}
.cm-search:focus-within {
  border-color: var(--cm-ink) !important;
}

/* 모달 */
.cm-modal {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--cm-line) !important;
  border-radius: 16px;
  background: #fff;
  color: var(--cm-ink);
}
.cm-modal.is-wide {
  width: min(600px, calc(100vw - 32px));
  overflow: visible;
}
.cm-modal::backdrop {
  background: rgba(25, 27, 31, 0.4);
}
.cm-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px 24px;
}
.cm-modal-head.is-plain {
  padding: 0;
}
.cm-modal-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}
.cm-modal-body {
  display: grid;
  gap: 16px;
  padding: 24px;
}
.cm-modal-body h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
}
.cm-modal-text {
  margin: 0;
  color: var(--cm-ink);
  font-size: 15px;
  line-height: 1.7;
  white-space: pre-wrap;
}
.cm-modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.cm-modal-actions .cm-filter {
  margin: 0;
}
.cm-form-msg {
  margin: 0;
  color: #c4372d;
  font-size: 14px;
}
.cm-form-msg:empty {
  display: none;
}
.cm-propose .form-field {
  margin: 0;
}
.cm-propose textarea {
  min-height: 0;
}

/* ── 채팅 ── */
.cm-app[data-cm="chat"] .cm-pagehead {
  margin-bottom: 12px;
}
.cm-chat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  height: calc(100vh - 64px - 72px - 12px - 24px);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--cm-line) !important;
  border-radius: 16px;
  background: #fff;
  gap: 0;
}
.cm-chat-main {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
}
.cm-chat-bar {
  display: grid;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--cm-line) !important;
}
.cm-chat-pinned {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--cm-sub);
  font-size: 13px;
}
.cm-chat-pinned > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cm-chat-log {
  overflow-y: auto;
  padding: 8px 24px 16px;
  overscroll-behavior: contain;
}
.cm-chat-day {
  position: relative;
  margin: 16px 0 8px;
  text-align: center;
}
.cm-chat-day::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--cm-line);
}
.cm-chat-day span {
  position: relative;
  padding: 0 12px;
  background: #fff;
  color: var(--cm-muted);
  font-size: 12px;
  font-weight: 500;
}
.cm-msg {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0 0;
}
.cm-msg.is-follow {
  padding: 2px 0 0 52px;
  grid-template-columns: minmax(0, 1fr);
}
.cm-msg p {
  margin: 0;
  color: var(--cm-ink);
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.cm-msg-avatar {
  display: flex;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.cm-msg-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.cm-msg-name {
  padding: 0;
  border: 0;
  background: none;
  color: var(--cm-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.cm-msg-name:hover {
  text-decoration: underline;
}
.cm-msg-head time {
  color: var(--cm-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
/* 채팅 — 운영진 메시지 숨기기 · 숨김 안내 · 내 메시지(오른쪽 말풍선) */
.cm-msg .cm-msg-hidden {
  color: var(--cm-muted);
  font-size: 13px;
}
.cm-msg-line {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}
.cm-msg-line > p {
  flex: 0 1 auto;
  min-width: 0;
}
.cm-msg-del {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 6px;
  background: none;
  color: var(--cm-muted);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.cm-msg-del .cm-ico {
  width: 16px;
  height: 16px;
}
.cm-msg:hover .cm-msg-del,
.cm-msg-del:focus-visible {
  opacity: 1;
}
.cm-msg-del:hover {
  background: var(--cm-hover);
  color: #d92d20;
}
@media (hover: none) {
  .cm-msg-del {
    opacity: 0.7;
  }
}
/* 내 메시지 — 사진 오른쪽, 이름·시간 오른쪽 정렬, 어두운 말풍선 */
.cm-msg.is-me {
  grid-template-columns: minmax(0, 1fr) 40px;
  padding-left: 52px;
}
.cm-msg.is-me.is-follow {
  grid-template-columns: minmax(0, 1fr);
  padding: 3px 52px 0 52px;
}
.cm-msg.is-me .cm-msg-head {
  flex-direction: row-reverse;
}
.cm-msg.is-me .cm-msg-line {
  justify-content: flex-end;
}
.cm-msg.is-me .cm-msg-del {
  margin-top: 9px;
}
.cm-msg.is-me .cm-msg-hidden {
  text-align: right;
}
.cm-msg .cm-bubble {
  max-width: min(100%, 520px);
  margin-top: 2px;
  padding: 8px 12px;
  border-radius: 16px;
  background: var(--cm-dark);
  color: #fff;
  line-height: 1.5;
}
.cm-msg .cm-bubble.is-first {
  border-top-right-radius: 4px;
}
@media (max-width: 640px) {
  .cm-msg.is-me {
    padding-left: 24px;
  }
  .cm-msg.is-me.is-follow {
    padding-left: 24px;
  }
}
.cm-chat-empty {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 200px;
  padding: 24px;
  color: var(--cm-muted);
  font-size: 14px;
  text-align: center;
}
.cm-chat-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0 16px 16px;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--cm-line) !important;
  border-radius: 12px;
  background: #fff;
}
.cm-chat-form:focus-within {
  border-color: var(--cm-ink) !important;
}
.cm-chat-form[hidden] {
  display: none;
}
.cm-chat-form textarea {
  flex: 1;
  min-height: 24px;
  max-height: 160px;
  padding: 6px 0;
  border: 0 !important;
  background: none;
  color: var(--cm-ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  resize: none;
  outline: none;
}
.cm-chat-send {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--cm-dark);
  color: #fff;
  cursor: pointer;
}
.cm-chat-send:hover {
  background: var(--cm-ink);
}
.cm-dm-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.cm-dm-head .cm-back {
  margin-left: -6px;
}
.cm-dm-status {
  color: var(--cm-muted);
  font-size: 13px;
}
.cm-dm-list {
  margin: 0;
  padding: 8px 0;
  list-style: none;
}
.cm-dm-list button {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 8px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.cm-dm-list button:hover {
  background: var(--cm-hover);
}
.cm-dm-text {
  display: grid;
  min-width: 0;
}
.cm-dm-text strong {
  color: var(--cm-ink);
  font-size: 14px;
  font-weight: 600;
}
.cm-dm-text small,
.cm-dm-list time {
  overflow: hidden;
  color: var(--cm-muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cm-chat-side {
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
  border-left: 1px solid var(--cm-line) !important;
  background: #fff;
}
.cm-side-head {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  margin-bottom: 8px;
}
.cm-side-head h2 {
  margin: 0;
  color: var(--cm-ink);
  font-size: 15px;
  font-weight: 600;
}
.cm-side-head .cm-back {
  margin-left: -8px;
}
.cm-side-intro {
  margin: 0 0 16px;
  color: var(--cm-sub);
  font-size: 13px;
  line-height: 1.55;
}
.cm-side-label {
  margin: 16px 0 4px;
  color: var(--cm-muted);
  font-size: 12px;
  font-weight: 500;
}
.cm-side-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.cm-side-list button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 36px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--cm-ink);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.cm-side-list button:hover {
  background: var(--cm-hover);
}
.cm-side-list.is-off .forum-avatar {
  opacity: 0.6;
}
.cm-side-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cm-person {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 8px 0;
  text-align: center;
}
.cm-person .forum-avatar.is-large {
  width: 80px;
  height: 80px;
  margin-bottom: 4px;
  font-size: 30px;
}
.cm-person > strong {
  color: var(--cm-ink);
  font-size: 18px;
  font-weight: 600;
}
.cm-person-role {
  color: var(--cm-sub);
  font-size: 13px;
}
.cm-person-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cm-muted);
  font-size: 13px;
}
.cm-person-meta .cm-ico {
  width: 14px;
  height: 14px;
}
.cm-person > p {
  margin: 4px 0;
  color: var(--cm-ink);
  font-size: 14px;
  line-height: 1.6;
}
.cm-open-work {
  color: #1c7a3e;
  font-size: 13px;
  font-weight: 500;
}
.cm-person-actions {
  display: grid;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
}
.cm-person-actions > * {
  justify-content: center;
}

/* ── 멤버 ── */
.cm-members-page {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}
.cm-filter-panel {
  position: sticky;
  top: 152px;
  display: grid;
  gap: 16px;
  padding: 16px;
}
.cm-filter-panel h2 {
  margin: 0;
}
.cm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cm-chips button {
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--cm-line) !important;
  border-radius: 999px;
  background: #fff;
  color: var(--cm-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.cm-chips button[aria-pressed="true"] {
  border-color: var(--cm-dark) !important;
  background: var(--cm-dark);
  color: #fff;
}
.cm-filter-field {
  display: grid;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--cm-line) !important;
}
.cm-filter-field > span {
  color: var(--cm-ink);
  font-size: 13px;
  font-weight: 600;
}
.cm-filter-field select {
  height: 36px;
  padding: 0 8px;
  border: 1px solid var(--cm-line) !important;
  border-radius: 8px;
  background: #fff;
  color: var(--cm-ink);
  font: inherit;
  font-size: 14px;
}
.cm-members-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 12px;
}
.cm-members-head h2 {
  margin: 0;
  color: var(--cm-ink);
  font-size: 18px;
  font-weight: 600;
}
.cm-count {
  padding: 0 6px;
  border: 1px solid var(--cm-line) !important;
  border-radius: 6px;
  color: var(--cm-sub);
  font-size: 12px;
  line-height: 20px;
  font-variant-numeric: tabular-nums;
}
.cm-member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
/* 멤버 카드 — 사진 위, 이름·하는 일·소개, 아래 위치 + 메시지(활동 상태 점) */
.cm-member {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 8px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(17, 17, 26, .04), 0 8px 24px rgba(17, 17, 26, .07);
  transition: box-shadow .25s ease, transform .25s ease;
}
.cm-member:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(17, 17, 26, .05), 0 14px 32px rgba(17, 17, 26, .1);
}
.cm-member-photo {
  display: block;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 16px;
  background: var(--tint);
}
.cm-member-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.cm-member:hover .cm-member-photo img {
  transform: scale(1.03);
}
.cm-member-photo.is-initial {
  display: grid;
  place-items: center;
}
.cm-member-photo.is-initial span {
  color: rgba(17, 17, 26, .42);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
}
.cm-member-body {
  display: grid;
  gap: 4px;
  padding: 22px 12px 0;
}
.cm-member-name {
  overflow: hidden;
  color: var(--cm-ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cm-member-name:hover {
  text-decoration: underline;
}
.cm-member-role {
  overflow: hidden;
  color: var(--cm-muted);
  font-size: 12.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cm-member-bio {
  display: -webkit-box;
  min-height: calc(1.5em * 2);
  margin: 4px 0 0;
  overflow: hidden;
  color: #3f3f46;
  font-size: 13.5px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.cm-member-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding: 18px 4px 4px 12px;
}
.cm-member-loc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  height: 28px;
  padding: 0 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #f4f4f5;
  color: #3f3f46;
  font-size: 12.5px;
  white-space: nowrap;
}
.cm-member-loc.is-empty {
  visibility: hidden;
}
.cm-member-loc .cm-ico {
  flex: none;
  width: 13px;
  height: 13px;
}
.cm-member-btn {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s ease;
}
.cm-member-btn:hover {
  background: #2a2a2e;
}
.cm-member-status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #71717a;
}
.cm-member-status.is-online {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .22);
}

/* ── 이벤트·공모전 ── */
.cm-events {
  justify-self: center;
  max-width: 760px !important;
}
/* 필름 퍼포레이션처럼 보이는 점 무늬 */
.cm-ev {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 16px;
  width: 100%;
  margin-bottom: 8px;
  padding: 14px;
  border: 1px solid var(--cm-line) !important;
  border-radius: 12px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.cm-ev:hover {
  border-color: #cfd3d8 !important;
  background: #fcfcfd;
}
.cm-ev img {
  width: 112px;
  height: 112px;
  border-radius: 8px;
  object-fit: cover;
  background: #eceff2;
}

/* ── 멤버 혜택 ── */
.cm-perks {
  gap: 16px;
}
.cm-perks-intro p {
  margin: 0;
  color: var(--cm-ink);
  font-size: 15px;
  line-height: 1.6;
}
.cm-perks-intro h2 {
  margin-bottom: 8px;
  font-size: 22px;
}
.cm-perk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.cm-perk {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--cm-line) !important;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.cm-perk:hover {
  border-color: #cfd3d8 !important;
}
/* 파트너 카드 표지 — 혜택 화면의 유일한 색 */
.cm-perk-cover {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  aspect-ratio: 2 / 1;
  padding: 16px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  text-align: center;
}
.cm-perk-cover strong {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.cm-perk-cover > span:last-child {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}
.cm-perk-cover.is-big {
  aspect-ratio: 16 / 7;
  border-radius: 12px;
}
.cm-perk-cover.is-big strong {
  font-size: 32px;
}
.cm-perk-cover.is-big > span:last-child {
  font-size: 15px;
}
.cm-perk-flag {
  position: absolute;
  top: 10px;
  left: 50%;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  transform: translateX(-50%);
}
.cm-perk-body {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 16px;
}
.cm-perk-body > strong {
  color: var(--cm-ink);
  font-size: 16px;
  font-weight: 600;
}
.cm-perk-body > small {
  color: var(--cm-muted);
  font-size: 13px;
}
.cm-perk-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--cm-line) !important;
  color: var(--cm-muted);
  font-size: 12px;
}
.cm-perk-foot > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--cm-sub);
}
.cm-perk-foot .cm-ico {
  width: 15px;
  height: 15px;
}
.cm-perk-modal {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 20px 24px 16px;
}
.cm-perk-nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--cm-line) !important;
  border-radius: 50%;
  background: #fff;
  color: var(--cm-ink);
  cursor: pointer;
  transform: translateY(-50%);
}
.cm-perk-nav.is-prev {
  left: -52px;
}
.cm-perk-nav.is-next {
  right: -52px;
}
.cm-perk-nav:hover {
  background: var(--cm-hover);
}
.cm-perk-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 16px;
  border: 1px dashed #cfd3d8 !important;
  border-radius: 10px;
  background: var(--cm-bg);
}
.cm-perk-code div {
  display: grid;
  gap: 2px;
}
.cm-perk-code div > span {
  color: var(--cm-muted);
  font-size: 12px;
}
.cm-perk-code code {
  color: var(--cm-ink);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.cm-perk-modal .cm-filter {
  margin: -4px 0 0;
}

/* 폭에 따라 */
@media (max-width: 1100px) {
  .cm-perk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cm-chat {
    grid-template-columns: minmax(0, 1fr) 240px;
  }
}
@media (max-width: 760px) {
  .cm-perk-nav {
    display: none;
  }
}
@media (max-width: 1024px) {
  .cm-chat {
    height: calc(100vh - 64px - 61px - 60px - 16px - 16px);
  }
}
@media (max-width: 720px) {
  .cm-members-page {
    grid-template-columns: minmax(0, 1fr);
  }
  .cm-filter-panel {
    position: static;
  }
  .cm-ev {
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 12px;
  }
  .cm-ev img {
    width: 72px;
    height: 72px;
  }
  .cm-perk-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cm-member-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .cm-member-photo {
    aspect-ratio: 16 / 11;
  }
  .cm-chat {
    grid-template-columns: minmax(0, 1fr);
  }
  .cm-chat-side {
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: none;
    width: min(320px, 86vw);
    box-shadow: -8px 0 24px rgba(25, 27, 31, 0.08);
  }
  .cm-chat-side.is-open {
    display: block;
  }
  .cm-chat-log {
    padding: 8px 16px 16px;
  }
  .cm-chat-form {
    margin: 0 12px 12px;
  }
}
.cm-head-faces {
  padding: 4px 8px;
  border: 0;
  border-radius: 8px;
  background: none;
  font-family: inherit;
  cursor: pointer;
}
.cm-head-faces:hover {
  background: var(--cm-hover);
}
.cm-side-close {
  display: none;
  margin-left: auto;
}
@media (max-width: 720px) {
  .cm-side-close {
    display: grid;
  }
}
/* 멤버 찾기 칸이 좁은 열 안에 들어가게 */
.cm-filter-panel,
.cm-filter-panel > * {
  min-width: 0;
}
.cm-filter-panel select,
.cm-search input {
  width: 100%;
  box-sizing: border-box;
}
.cm-modal:focus,
.cm-modal:focus-visible {
  outline: none;
}
/* 이벤트 날짜 티켓 */

/* ===== 크리에이터 후원하기 (선정 크리에이터) ===== */
.creator-picked {
  display: inline-block;
  margin-bottom: 8px;
  color: #a9a9a9;
  font-size: 13px;
  font-weight: 500;
}
.creator-profile-actions > .creator-support {
  background: #fff;
  color: #080808;
  font-weight: 600;
}
.creator-profile-actions > .creator-support:hover {
  background: #e6e6e6;
}
.creator-cheers h3 {
  margin-top: 32px;
}
.creator-cheers ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.creator-cheers li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #121212;
}
.creator-cheers strong {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.creator-cheers span {
  color: #bdbdbd;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.sp-modal {
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: auto;
  border: 1px solid #262626 !important;
  border-radius: 16px;
  background: #0d0d0d;
  color: #f3f3f3;
}
.sp-modal:focus,
.sp-modal:focus-visible {
  outline: none;
}
.sp-modal::backdrop {
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.sp-body {
  display: grid;
  gap: 16px;
  padding: 20px;
}
.sp-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-head h2 {
  flex: 1;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}
.sp-x {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 8px;
  background: none;
  color: #bdbdbd;
  cursor: pointer;
}
.sp-x:hover {
  background: #1c1c1c;
  color: #fff;
}
.sp-x svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.sp-back {
  margin-left: -6px;
}
.sp-lead {
  margin: -8px 0 0;
  color: #a9a9a9;
  font-size: 14px;
  line-height: 1.55;
}
.sp-amounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.sp-amounts button {
  height: 44px;
  border: 1px solid #2e2e2e !important;
  border-radius: 10px;
  background: #0d0d0d;
  color: #f3f3f3;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.sp-amounts button:hover {
  border-color: #555 !important;
}
.sp-amounts button[aria-checked="true"] {
  border-color: #fff !important;
  background: #fff;
  color: #080808;
  font-weight: 600;
}
.sp-amounts .is-custom {
  grid-column: span 2;
}
.sp-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #2e2e2e !important;
  border-radius: 10px;
}
.sp-custom[hidden] {
  display: none;
}
.sp-custom:focus-within {
  border-color: #fff !important;
}
.sp-sign {
  color: #8a8a8a;
}
.sp-custom input {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  outline: none;
}
.sp-error {
  margin: -8px 0 0;
  color: #ff8a8a;
  font-size: 13px;
}
.sp-error:empty {
  display: none;
}
.sp-continue {
  height: 48px;
  border-radius: 999px;
  background: #fff;
  color: #080808;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.sp-continue:hover {
  background: #e6e6e6;
}
.sp-continue:active {
  transform: scale(0.99);
}
.sp-note {
  margin: -6px 0 0;
  color: #6f6f6f;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
.sp-summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #161616;
}
.sp-summary img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}
.sp-summary div {
  display: grid;
  min-width: 0;
}
.sp-summary strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sp-summary span {
  overflow: hidden;
  color: #8f8f8f;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sp-summary b {
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.sp-field {
  display: grid;
  gap: 8px;
  color: #d6d6d6;
  font-size: 13px;
}
.sp-field textarea {
  min-height: 0;
  padding: 12px 14px;
  border: 1px solid #2e2e2e !important;
  border-radius: 10px;
  background: #0d0d0d;
  color: #fff;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
  outline: none;
}
.sp-field textarea:focus {
  border-color: #fff !important;
}
.sp-check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d6d6d6;
  font-size: 14px;
  cursor: pointer;
}
.sp-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #fff;
}
.sp-done {
  justify-items: center;
  text-align: center;
}
.sp-done .sp-head {
  justify-self: stretch;
}
.sp-done img {
  width: 72px;
  height: 72px;
  margin-top: -16px;
  border-radius: 16px;
  object-fit: cover;
}
.sp-done h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}
.sp-done .sp-continue {
  justify-self: stretch;
}

/* ===== 내 공간 v2 — wavve MY 구조 (작품 보기 중심 + 멤버십 + 사진·이름) ===== */
.my-page {
  width: min(92%, 1280px);
  padding-top: 40px;
}
.my-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.my-who {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}
.my-face {
  position: relative;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.my-top .my-avatar,
.my-photo-preview .my-avatar {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  overflow: hidden;
  border-radius: 50%;
  background: #262626;
  color: #fff;
  font-size: 38px;
  font-weight: 700;
}
.my-face:hover .my-avatar {
  opacity: 0.85;
}
.my-who-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.my-who-text h1 {
  margin: 0;
  overflow: hidden;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.my-who-text p {
  margin: 0;
  color: #8a8a8a;
  font-size: 14px;
  line-height: 1.5;
}
.my-who-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: #555;
  font-size: 14px;
}
.my-who-links button {
  padding: 0;
  border: 0;
  background: none;
  color: #c8c8c8;
  font: inherit;
  cursor: pointer;
}
.my-who-links button:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.my-pass {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-shrink: 0;
  width: min(100%, 460px);
  box-sizing: border-box;
  padding: 20px 22px 20px 24px;
  border-radius: 14px;
  background: #141414;
}
.my-pass-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.my-pass-label {
  color: #8a8a8a;
  font-size: 13px;
}
.my-pass-text strong {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}
.my-pass-text small {
  color: #8a8a8a;
  font-size: 13px;
  line-height: 1.5;
}
.my-pass-actions {
  display: grid;
  justify-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.my-pass-actions .solid {
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
}
.my-page .my-tabs {
  gap: 28px;
  margin: 40px 0 0;
  border-bottom: 1px solid #222 !important;
}
.my-page .my-tabs button {
  padding: 14px 0 13px;
  border: 0;
  border-bottom: 2px solid transparent !important;
  border-radius: 0;
  background: none;
  color: #7a7a7a;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}
.my-page .my-tabs button:hover {
  color: #ddd;
}
.my-page .my-tabs button[aria-selected="true"] {
  border-bottom-color: #fff !important;
  background: none;
  color: #fff;
  font-weight: 700;
}
.my-tab-count {
  margin-left: 6px;
  color: #5c5c5c;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.my-page .my-tabs button[aria-selected="true"] .my-tab-count {
  color: #9a9a9a;
}
.my-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  margin: 28px 0 18px;
}
.my-panel-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}
.my-panel-head h2 span {
  margin-left: 4px;
  color: #6a6a6a;
  font-weight: 500;
}
.my-edit-bar {
  display: flex;
  align-items: center;
  gap: 4px;
}
.my-text-btn {
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: #bdbdbd;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
a.my-text-btn {
  text-decoration: none;
}
.my-text-btn:hover:not(:disabled) {
  background: #1a1a1a;
  color: #fff;
}
.my-text-btn:disabled {
  opacity: 0.4;
  cursor: default;
}
.my-text-btn.is-danger:not(:disabled) {
  color: #ff7b72;
}
.my-text-btn.is-strong {
  color: #fff;
  font-weight: 700;
}
.my-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 28px 16px;
}
.my-tiles.is-creators {
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 28px 20px;
}
.my-tile {
  position: relative;
  min-width: 0;
}
.my-tile-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.my-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #151515;
}
.my-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.my-tile-link:hover .my-thumb img {
  transform: scale(1.03);
}
.my-thumb-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.my-tile strong {
  display: block;
  margin-top: 10px;
  overflow: hidden;
  color: #f2f2f2;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.my-tile small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #8a8a8a;
  font-size: 13px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.my-tile.is-creator {
  text-align: center;
}
.my-tile.is-creator .my-thumb {
  aspect-ratio: 1;
  border-radius: 50%;
}
.my-pick {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85);
  cursor: pointer;
}
.my-pick input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.my-pick:has(input:checked) {
  background: #fff;
}
.my-pick:has(input:checked)::after {
  content: "";
  width: 10px;
  height: 6px;
  margin-top: -3px;
  border-left: 2px solid #080808 !important;
  border-bottom: 2px solid #080808 !important;
  transform: rotate(-45deg);
}
.my-pick:has(input:focus-visible) {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.my-tiles.is-editing .my-tile:has(input:checked) .my-thumb {
  box-shadow: inset 0 0 0 2px #fff;
}
.my-tiles.is-editing .my-tile:has(input:checked) .my-thumb img {
  opacity: 0.55;
}
.my-tiles.is-editing .my-tile-link:hover .my-thumb img {
  transform: none;
}
.my-page .my-empty {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 72px 24px;
  border-radius: 14px;
  background: #0f0f0f;
  text-align: center;
}
.my-page .my-empty strong {
  color: #eee;
  font-size: 17px;
  font-weight: 700;
}
.my-page .my-empty p {
  margin: 0 0 14px;
  color: #8a8a8a;
  font-size: 14px;
  line-height: 1.6;
}
.my-page .my-empty .outline {
  border-radius: 8px;
  font-size: 14px;
}
/* 프로필 편집 창 */
.my-modal {
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  overflow: auto;
  border-radius: 16px;
  background: #141414;
  color: #fff;
}
.my-modal::backdrop {
  background: rgba(0, 0, 0, 0.7);
}
.my-modal-form {
  display: grid;
  gap: 18px;
  padding: 20px 24px 24px;
}
.my-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.my-modal-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}
.my-x {
  width: 36px;
  height: 36px;
  margin-right: -8px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #bbb;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.my-x:hover {
  background: #222;
  color: #fff;
}
.my-photo-edit {
  display: flex;
  align-items: center;
  gap: 20px;
}
.my-photo-preview .my-avatar {
  width: 88px;
  height: 88px;
  font-size: 34px;
}
.my-photo-btns {
  display: grid;
  justify-items: start;
  gap: 6px;
}
.my-file {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}
.my-file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.my-file:focus-within {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.my-modal .form-field {
  margin: 0;
}
.my-modal .form-note {
  margin: -6px 0 0;
  color: #8a8a8a;
  font-size: 13px;
  line-height: 1.6;
}
.my-pw summary {
  color: #c8c8c8;
  font-size: 14px;
  cursor: pointer;
}
.my-pw[open] summary {
  margin-bottom: 14px;
}
.my-pw .form-field + .form-field {
  margin-top: 12px;
}
.my-modal-msg {
  margin: 0;
  color: #ff7b72;
  font-size: 14px;
}
.my-modal-msg:empty {
  display: none;
}
.my-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.my-modal-actions .outline,
.my-modal-actions .solid {
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}
@media (max-width: 860px) {
  .my-top {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .my-pass {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .my-who {
    gap: 16px;
  }
  .my-top .my-avatar {
    width: 72px;
    height: 72px;
    font-size: 28px;
  }
  .my-who-text h1 {
    font-size: 24px;
  }
  .my-pass {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
  }
  .my-pass-actions {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .my-pass-actions .solid {
    text-align: center;
  }
  .my-page .my-tabs {
    gap: 22px;
    margin: 28px -4% 0;
    padding: 0 4%;
  }
  .my-page .my-tabs button {
    font-size: 15px;
  }
  .my-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 10px;
  }
  .my-tiles.is-creators {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 12px;
  }
  .my-tile strong {
    font-size: 14px;
  }
}
.my-panel-count {
  margin: 0;
  color: #8a8a8a;
  font-size: 14px;
  line-height: 1.5;
}

/* ===== 커뮤니티 멤버 프로필 — Behance식 (배너 + 왼쪽 프로필 열 + 오른쪽 탭) ===== */
.cm-app[data-cm="member"] .cm-stage {
  display: block;
  padding: 0 0 72px;
}
.mp {
  min-width: 0;
}
.mp-preview-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  background: var(--cm-accent-bg);
  color: var(--cm-accent);
  font-size: 14px;
  font-weight: 500;
}
.mp-preview-bar .cm-ico {
  width: 16px;
  height: 16px;
}
.mp-preview-bar a {
  margin-left: 6px;
  color: var(--cm-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mp-body {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 48px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}
.mp-side {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 20px;
  min-width: 0;
  margin-top: -48px;
}
.mp-face {
  position: relative;
  width: 96px;
}
.forum-avatar.is-xl {
  width: 96px;
  height: 96px;
  font-size: 38px;
  font-weight: 600;
}
.mp-face .forum-avatar.is-xl {
  box-shadow: 0 0 0 4px #fff;
}
.mp-pick {
  position: absolute;
  right: -10px;
  bottom: 2px;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--cm-accent);
  box-shadow: 0 0 0 2px #fff;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
}
.mp-name {
  margin: -4px 0 0;
  color: var(--cm-ink);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.3px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.mp-info {
  display: grid;
  gap: 6px;
  margin: -8px 0 0;
  padding: 0;
  list-style: none;
}
.mp-info li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--cm-sub);
  font-size: 14px;
  line-height: 20px;
}
.mp-info li > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mp-info .cm-ico {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--cm-muted);
}
.mp-info a {
  color: var(--cm-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mp-open {
  color: #1d7a4b;
  font-weight: 500;
}
.mp-add {
  padding: 0;
  border: 0;
  background: none;
  color: var(--cm-muted);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}
.mp-add:hover {
  color: var(--cm-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mp-actions {
  display: grid;
  gap: 8px;
}
.mp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  box-sizing: border-box;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.mp-btn .cm-ico {
  width: 16px;
  height: 16px;
}
.mp-btn.is-primary {
  background: var(--cm-accent);
  color: #fff;
}
.mp-btn.is-primary:hover {
  background: #3f5ae0;
}
.mp-btn.is-primary.is-on {
  border: 1px solid var(--cm-line) !important;
  background: #fff;
  color: var(--cm-ink);
}
.mp-btn.is-primary.is-on:hover {
  background: var(--cm-hover);
}
.mp-btn.is-soft {
  background: var(--cm-accent-bg);
  color: var(--cm-accent);
}
.mp-btn.is-soft:hover {
  background: #e4e8fd;
}
.mp-btn.is-outline {
  border: 1px solid var(--cm-line) !important;
  background: #fff;
  color: var(--cm-ink);
}
.mp-btn.is-outline:hover {
  background: var(--cm-hover);
}
.mp-card {
  padding: 16px;
  border: 1px solid var(--cm-line) !important;
  border-radius: 12px;
  background: #fff;
}
.mp-card h2 {
  margin: 0;
  color: var(--cm-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.mp-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.mp-card-head span {
  color: var(--cm-muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.mp-meter {
  height: 6px;
  margin: 12px 0 10px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--cm-hover);
}
.mp-meter span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--cm-accent);
}
.mp-checks {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mp-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  color: var(--cm-muted);
  font-size: 13px;
}
.mp-checks .cm-ico {
  width: 14px;
  height: 14px;
  color: var(--cm-accent);
}
.mp-checks .mp-dot {
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  border: 1.5px solid #c3c8cf !important;
  border-radius: 50%;
}
.mp-checks button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--cm-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.mp-checks button:hover {
  color: var(--cm-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mp-card-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--cm-line) !important;
  color: var(--cm-ink);
  font-size: 14px;
  font-weight: 500;
}
.mp-card-row span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mp-card-row .cm-ico {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--cm-muted);
}
.mp-card-row:hover span {
  color: var(--cm-accent);
}
.mp-joined {
  margin: 0;
  color: var(--cm-muted);
  font-size: 12px;
}
.mp-main {
  min-width: 0;
  padding-top: 20px;
}
.mp-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--cm-line) !important;
}
.mp-tabs button {
  padding: 12px 0 11px;
  border: 0;
  border-bottom: 2px solid transparent !important;
  background: none;
  color: var(--cm-muted);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.mp-tabs button:hover {
  color: var(--cm-ink);
}
.mp-tabs button[aria-selected="true"] {
  border-bottom-color: var(--cm-ink) !important;
  color: var(--cm-ink);
}
.mp-tabs button span {
  margin-left: 6px;
  color: var(--cm-muted);
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
#mp-panel {
  padding-top: 24px;
}
.mp-section + .mp-section {
  margin-top: 40px;
}
.mp-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.mp-section-head h2 {
  margin: 0;
  color: var(--cm-ink);
  font-size: 16px;
  font-weight: 600;
}
.mp-section-head a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--cm-accent);
  font-size: 14px;
  font-weight: 500;
}
.mp-section-head a .cm-ico {
  width: 15px;
  height: 15px;
}
.mp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
  gap: 24px 16px;
}
.mp-tile {
  display: block;
  min-width: 0;
  color: inherit;
}
.mp-tile-img {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #e9ecf0;
}
.mp-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.mp-tile:hover .mp-tile-img img {
  transform: scale(1.03);
}
.mp-tile strong {
  display: block;
  margin-top: 10px;
  overflow: hidden;
  color: var(--cm-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mp-tile small {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  color: var(--cm-muted);
  font-size: 13px;
  line-height: 1.5;
}
.mp-tile small .cm-ico {
  width: 13px;
  height: 13px;
}
.mp-tile small span + .cm-ico {
  margin-left: 8px;
}
.mp-upload {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 72px 24px;
  border: 1px dashed #cfd4da !important;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}
.mp-upload > .cm-ico {
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
  color: var(--cm-accent);
}
.mp-upload strong {
  color: var(--cm-ink);
  font-size: 17px;
  font-weight: 600;
}
.mp-upload p {
  max-width: 440px;
  margin: 0 0 8px;
  color: var(--cm-sub);
  font-size: 14px;
  line-height: 1.6;
}
.mp-none {
  padding: 48px 24px;
  border: 1px solid var(--cm-line) !important;
  border-radius: 12px;
  background: #fff;
  color: var(--cm-muted);
  font-size: 14px;
  text-align: center;
}
.mp-feed,
.mp-comments {
  max-width: 680px;
}
.mp-comments {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mp-comments a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--cm-line) !important;
  border-radius: 12px;
  background: #fff;
  color: inherit;
}
.mp-comments a:hover {
  background: var(--cm-hover);
}
.mp-comments p {
  margin: 0 0 6px;
  color: var(--cm-ink);
  font-size: 15px;
  line-height: 1.6;
}
.mp-comments small {
  color: var(--cm-muted);
  font-size: 13px;
}
.mp-missing {
  max-width: 680px;
  margin: 40px auto;
}
/* 프로필 정보 편집 창 */
.mp-edit-body {
  display: grid;
  gap: 18px;
  padding: 4px 24px 8px;
}
.mp-edit-photo {
  display: flex;
  align-items: center;
  gap: 16px;
}
.mp-edit-photo > div {
  display: grid;
  justify-items: start;
  gap: 6px;
}
.mp-file {
  position: relative;
  overflow: hidden;
}
.mp-file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.mp-file:focus-within {
  outline: 2px solid var(--cm-accent);
  outline-offset: 2px;
}
.mp-link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--cm-muted);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}
.mp-link-btn:hover {
  color: var(--cm-ink);
}
.mp-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0 !important;
}
.mp-field > span,
.mp-field > legend {
  padding: 0;
  margin-bottom: 6px;
  color: var(--cm-ink);
  font-size: 13px;
  font-weight: 600;
}
.mp-field > span {
  margin-bottom: 0;
}
.mp-field input,
.mp-field textarea {
  width: 100%;
  box-sizing: border-box;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--cm-line) !important;
  border-radius: 8px;
  background: #fff;
  color: var(--cm-ink);
  color-scheme: light;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.mp-field textarea {
  height: auto;
  min-height: 96px;
  padding: 10px 12px;
  line-height: 1.6;
  resize: vertical;
}
.mp-field input:focus,
.mp-field textarea:focus {
  border-color: var(--cm-ink) !important;
}
.mp-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mp-role-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mp-role-chips label {
  position: relative;
  cursor: pointer;
}
.mp-role-chips input,
.mp-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.mp-role-chips span {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--cm-line) !important;
  border-radius: 999px;
  background: #fff;
  color: var(--cm-ink);
  font-size: 13px;
}
.mp-role-chips input:checked + span {
  border-color: var(--cm-dark) !important;
  background: var(--cm-dark);
  color: #fff;
}
.mp-role-chips input:focus-visible + span,
.mp-switch input:focus-visible + .mp-switch-ui {
  outline: 2px solid var(--cm-accent);
  outline-offset: 2px;
}
.mp-switch {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.mp-switch-ui {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 20px;
  margin-top: 1px;
  border-radius: 999px;
  background: #d5d9de;
  transition: background 0.15s ease;
}
.mp-switch-ui::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s ease;
}
.mp-switch input:checked + .mp-switch-ui {
  background: var(--cm-accent);
}
.mp-switch input:checked + .mp-switch-ui::after {
  transform: translateX(16px);
}
.mp-switch strong {
  display: block;
  color: var(--cm-ink);
  font-size: 14px;
  font-weight: 600;
}
.mp-switch small {
  display: block;
  margin-top: 2px;
  color: var(--cm-muted);
  font-size: 13px;
  line-height: 1.5;
}
.mp-edit-foot {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 24px;
  border-top: 1px solid var(--cm-line) !important;
  background: #fff;
}
.mp-edit-foot .cm-btn {
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
}
@media (max-width: 1024px) {
  .mp-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 0 16px;
  }
  .mp-side {
    margin-top: -40px;
  }
  .mp-face,
  .mp-face .forum-avatar.is-xl {
    width: 80px;
  }
  .mp-face .forum-avatar.is-xl {
    height: 80px;
    font-size: 32px;
  }
  .mp-actions {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}
@media (max-width: 640px) {
  .mp-field-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .mp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
  }
  .mp-name {
    font-size: 22px;
  }
}
@media (max-width: 600px) {
  .my-pass-actions {
    justify-items: stretch;
  }
}
@media (max-width: 640px) {
  .mp-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* 멤버 레벨 · 관리자 표시 (이름 아래) */
.mp-rank {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: -12px 0 0;
  color: var(--cm-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
}
.mp-rank .cm-level-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-right: -2px;
}
.mp-admin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 8px 0 6px;
  border-radius: 6px;
  background: var(--cm-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.mp-admin .cm-ico {
  width: 14px;
  height: 14px;
}
/* 멤버 프로필: 배너 없이 (2026-11-10) */
.mp-body {
  padding-top: 40px;
}
.mp-side {
  margin-top: 0;
}
.mp-face .forum-avatar.is-xl {
  box-shadow: none;
}
@media (max-width: 1024px) {
  .mp-body {
    padding-top: 24px;
  }
  .mp-side {
    margin-top: 0;
  }
}
.mp-main {
  padding-top: 0;
}
/* 개인 SNS 아이콘 · 계정 링크 · 멤버십 관리 창 */
.mp-field-ico {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mp-field-ico .cm-ico {
  width: 15px;
  height: 15px;
}
.mp-field-note {
  margin: -8px 0 0;
  color: var(--cm-muted);
  font-size: 12px;
  line-height: 1.5;
}
.mp-account {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: -12px;
  color: #c3c8cf;
  font-size: 12px;
}
.mp-account button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--cm-muted);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}
.mp-account button:hover {
  color: var(--cm-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mp-ms {
  display: grid;
  gap: 14px;
  padding: 4px 24px 20px;
}
.mp-ms-rows {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--cm-line) !important;
  border-radius: 12px;
}
.mp-ms-rows div {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.mp-ms-rows dt {
  color: var(--cm-sub);
}
.mp-ms-rows dd {
  margin: 0;
  color: var(--cm-ink);
  font-weight: 600;
}
.mp-ms-note {
  margin: 0;
  color: var(--cm-sub);
  font-size: 13px;
  line-height: 1.6;
}
.mp-btn.is-danger {
  background: #d92d20;
  border: 1px solid #d92d20 !important;
  color: #fff;
}
.mp-btn.is-danger:hover {
  background: #b42318;
  border-color: #b42318 !important;
}
/* 커뮤니티 사이드바: 마우스를 올려도 글자색 유지 (전역 nav a:hover 흰색 덮어쓰기) — 선택된 메뉴만 흰 글자 */
.cm-nav .cm-nav-link:not(.is-active):hover,
.cm-nav .cm-nav-link:not(.is-active):focus-visible {
  color: var(--cm-ink);
}
.cm-nav .cm-nav-link:not(.is-active):hover .cm-ico {
  color: var(--cm-ink);
}

/* ===== OTT 홈 — 커뮤니티 인기 글 + 이벤트·공모전 슬라이드 ===== */
.home-post {
  display: block;
  color: inherit;
}
.home-post:hover h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-post .meta {
  gap: 16px;
}
.home-post-stats {
  flex-shrink: 0;
  color: #777;
}
.home-ev {
  display: grid;
  align-content: start;
  gap: 20px;
  min-width: 0;
  padding: 32px;
  overflow: hidden;
  border-radius: 20px;
  background: #141414;
}
.home-ev-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.home-ev-head h3,
.home-ev-empty h3 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}
.home-ev-viewport {
  overflow: hidden;
  outline: none;
}
.home-ev-track {
  display: flex;
  transition: transform 0.35s ease;
  touch-action: pan-y;
}
.home-ev-slide {
  display: grid;
  align-content: start;
  gap: 18px;
  flex: 0 0 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0 2px;
}
.home-ev-info {
  min-width: 0;
}
.home-ev-status {
  color: #c9c9c9;
  font-size: 13px;
  font-weight: 600;
}
.home-ev-info h4 {
  display: -webkit-box;
  margin: 6px 0 8px;
  overflow: hidden;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.home-ev-info p {
  margin: 0;
  color: #9a9a9a;
  font-size: 14px;
  line-height: 1.6;
}
.home-ev-desc {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #bdbdbd;
  font-size: 14px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.home-ev-cta {
  justify-self: start;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
}
.home-ev-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.home-ev-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #242424;
  color: #fff;
  cursor: pointer;
}
.home-ev-arrow:hover {
  background: #333;
}
.home-ev-arrow .cm-ico {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-ev-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.home-ev-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #444;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.home-ev-dots button[aria-current="true"] {
  width: 20px;
  background: #fff;
}
.home-ev-empty p {
  margin: 10px 0 14px;
  color: #9a9a9a;
}
@media (max-width: 600px) {
  .home-ev {
    padding: 22px;
  }
  .home-ev-info h4 {
    font-size: 17px;
  }
}

/* ===== 이벤트·공모전 — 위 썸네일 + 아래 내용 카드 (2026-11-10) ===== */
/* 썸네일 (이미지 또는 종류별 기본 그림) */
.cm-ev-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.22), transparent 45%),
    radial-gradient(circle at 10% 100%, rgba(0, 0, 0, 0.25), transparent 55%),
    linear-gradient(135deg, var(--tone), color-mix(in srgb, var(--tone) 60%, #ffffff));
  color: #fff;
}
.cm-ev-thumb > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cm-ev-thumb-ph {
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.cm-ev-thumb-ph .cm-ico {
  box-sizing: content-box;
  width: 26px;
  height: 26px;
  padding: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.cm-ev-thumb.is-home {
  border-radius: 12px;
}
.cm-ev-thumb.is-home .cm-ev-thumb-ph .cm-ico {
  width: 32px;
  height: 32px;
  padding: 16px;
}
/* 홈 슬라이드: 위 썸네일 + 아래 내용 */
.home-ev-slide {
  gap: 16px;
}
.home-ev-info h4 {
  margin-top: 4px;
}
.home-ev-desc {
  -webkit-line-clamp: 2;
}
/* 이벤트 목록: 한 줄에 하나씩 (2026-11-10) */

/* ===== 커뮤니티 글: 이미지 첨부 · 확인 창 (2026-11-10) ===== */
.cm-inline-img {
  display: block;
  margin: 12px 0;
  white-space: normal;
}
.cm-inline-img img,
.cm-post-images img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #eceff2;
}
.cm-post-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.cm-post-images.is-single {
  grid-template-columns: minmax(0, 1fr);
}
.cm-post-images:not(.is-single) img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.write-images {
  display: grid;
  gap: 8px;
}
.write-images-label {
  color: var(--cm-ink);
  font-size: 14px;
  font-weight: 600;
}
.write-images-label small {
  margin-left: 6px;
  color: var(--cm-muted);
  font-size: 12px;
  font-weight: 400;
}
.write-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.write-img {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--cm-line) !important;
  border-radius: 10px;
  background: #fff;
}
.write-img img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eceff2;
}
.write-img figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 6px;
}
.write-img figcaption button {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--cm-ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}
.write-img figcaption button:hover {
  background: var(--cm-hover);
}
.write-img figcaption .cm-ico {
  width: 14px;
  height: 14px;
}
.write-img-add {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  min-height: 140px;
  border: 1px dashed #cfd4da !important;
  border-radius: 10px;
  background: #fff;
  color: var(--cm-sub);
  font-size: 13px;
  cursor: pointer;
}
.write-img-add:hover {
  background: var(--cm-hover);
}
.write-img-add .cm-ico {
  width: 22px;
  height: 22px;
}
.write-img-add input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.write-img-add:focus-within {
  outline: 2px solid var(--cm-accent);
  outline-offset: 2px;
}
.cm-confirm {
  width: min(400px, calc(100vw - 32px));
}
.cm-confirm-body {
  display: grid;
  gap: 10px;
  padding: 22px 24px 20px;
}
.cm-confirm-body h2 {
  margin: 0;
  color: var(--cm-ink);
  font-size: 18px;
  font-weight: 700;
}
.cm-confirm-body p {
  margin: 0;
  color: var(--cm-sub);
  font-size: 14px;
  line-height: 1.6;
}
.cm-confirm-body p strong {
  color: var(--cm-ink);
  font-weight: 600;
}
.cm-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}
.cm-btn.is-danger {
  border-color: #d92d20 !important;
  background: #d92d20;
  color: #fff;
}
.cm-btn.is-danger:hover {
  border-color: #b42318 !important;
  background: #b42318;
}
/* 홈 이벤트·공모전 슬라이드 크기 줄이기 (2026-11-10) */
.home-community {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}
.home-ev {
  gap: 16px;
  padding: 24px;
}
.home-ev-head h3 {
  font-size: 18px;
}
.home-ev-slide {
  gap: 12px;
}
.cm-ev-thumb.is-home {
  aspect-ratio: 2 / 1;
  border-radius: 10px;
}
.home-ev-info h4 {
  margin: 4px 0 4px;
  font-size: 17px;
  -webkit-line-clamp: 1;
}
.home-ev-info p {
  font-size: 13px;
  line-height: 1.5;
}
.home-ev-desc {
  display: none;
}
.home-ev-cta {
  padding: 10px 16px;
  font-size: 13px;
}
.home-ev-nav {
  gap: 10px;
}
.home-ev-arrow {
  width: 32px;
  height: 32px;
}
@media (max-width: 900px) {
  .home-community {
    grid-template-columns: minmax(0, 1fr);
  }
}
.home-community {
  align-items: start;
}
.home-community {
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
}
.home-ev {
  position: relative;
}
.cm-ev-thumb.is-home {
  aspect-ratio: 2.2 / 1;
}
/* 화살표·점을 버튼과 같은 줄 오른쪽으로 */
.home-ev-nav {
  position: absolute;
  right: 24px;
  bottom: 24px;
}
.home-ev-cta {
  min-height: 36px;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .home-ev-nav {
    right: 22px;
    bottom: 22px;
  }
}
@media (max-width: 900px) {
  .home-community {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===== 영어 화면 글꼴 (2026-11-10): 본문 Inter, 네비바 Michroma ===== */
/* 글꼴은 서버에 직접 둠(assets/fonts, 영문 글자만 남긴 woff2). i18n.js·커뮤니티 HTML에서 미리 받음(preload).
   메뉴(Michroma)는 block: 다른 글꼴로 먼저 보였다가 바뀌지 않게. 본문(Inter)은 fallback: 늦으면 잠깐 대체 글꼴 */
@font-face {
  font-family: "Michroma";
  src: url("assets/fonts/michroma.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: fallback;
}
html[lang="en"] body {
  font-family: "Inter", "Noto Sans KR", system-ui, sans-serif;
}
/* Michroma는 가운데 메뉴만. 오른쪽(SUPERVIC STUDIO·EN/KO·Submit a film)은 Inter */
html[lang="en"] body > header nav a,
html[lang="en"] .mobile-menu nav a {
  font-family: "Michroma", "Inter", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
}
html[lang="en"] body > header nav a {
  font-size: 13px;
}
html[lang="en"] body > header .studio-link,
html[lang="en"] body > header .lang-switch button,
html[lang="en"] body > header .right > .outline,
html[lang="en"] .mobile-menu .lang-switch button,
html[lang="en"] .mobile-menu-submit {
  font-family: "Inter", "Noto Sans KR", sans-serif;
}
/* 영어(Michroma)는 메뉴가 넓어서 넓은 화면에서도 남는 공간의 가운데에 */
@media (min-width: 1500px) {
  html[lang="en"] body > header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 40px;
  }
  html[lang="en"] body > header > nav {
    justify-self: center;
  }
}

/* ===== OTT 제목 굵기 (2026-11-11) — 크기는 그대로, 파트 타이틀은 보통(400), 작품 제목은 중간(500). 커뮤니티(cm-light) 제외 ===== */
body:not(.cm-light) .pagehead h1 {
  font-weight: 400;
}
/* 구역 제목 (지금 주목할 이야기, ○월의 추천 영상 등) — 2026-11-11: 26px · 500, 모든 화면 크기 */
body:not(.cm-light) .sectionhead h2,
body:not(.cm-light) main > h2,
body:not(.cm-light) .title-info-desc h2,
body:not(.cm-light) .title-making h2,
body:not(.cm-light) .creator-about-layout h2 {
  font-size: 26px;
  font-weight: 500;
}
body:not(.cm-light) .card h3,
body:not(.cm-light) .card h2,
body:not(.cm-light) .my-tile-link strong,
body:not(.cm-light) .episode-copy strong,
body:not(.cm-light) .title-synopsis strong {
  font-weight: 500;
}

/* ===== 비메오 플레이어 (2026-11-11) ===== */
.st-vimeo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.st-vimeo iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0 !important;
}

/* ===== 홈 구역 — 관리자 대시보드 홈 구성으로 그림 (2026-11-11) ===== */
#home-main > .home-sec:first-child {
  margin-top: 0;
  padding-top: clamp(28px, 3vw, 56px);
}
.home-sec .sectionhead h2 {
  margin-top: 9px;
}
.home-community.no-events {
  grid-template-columns: minmax(0, 1fr);
}
.home-empty {
  color: var(--muted);
  padding: 28px 0;
}

/* ===== 커뮤니티 글쓰기 — 블로그식 본문 편집기 (글 사이 이미지·영상, 커버) 2026-11-11 ===== */
.wr-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wr-box {
  overflow: hidden;
  border: 1px solid var(--cm-line) !important;
  border-radius: 12px;
  background: #fff;
}
.wr-box:focus-within {
  border-color: #b9bec6 !important;
}
.wr-editor-wrap {
  position: relative;
}
.wr-ph {
  position: absolute;
  top: 16px;
  right: 18px;
  left: 18px;
  color: #9aa0a8;
  font-size: 16px;
  line-height: 1.75;
  pointer-events: none;
}
.wr-ph[hidden] {
  display: none;
}
.wr-editor {
  min-height: 320px;
  padding: 16px 18px 24px;
  color: var(--cm-ink);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  outline: none;
}
.wr-block {
  position: relative;
  margin: 12px 0;
  user-select: none;
}
.wr-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #eceff2;
}
.wr-del {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 50%;
  background: rgba(25, 27, 31, 0.72);
  color: #fff;
  cursor: pointer;
}
.wr-del:hover {
  background: #191b1f;
}
.wr-del .cm-ico {
  width: 16px;
  height: 16px;
}
.wr-block:focus-within,
.wr-img:hover img {
  outline: 2px solid #506cf0;
  outline-offset: 2px;
  border-radius: 10px;
}
.wr-video {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 10px 52px 10px 10px;
  border: 1px solid var(--cm-line) !important;
  border-radius: 12px;
  background: var(--cm-bg);
}
.wr-video .wr-del {
  top: 50%;
  transform: translateY(-50%);
}
.wr-video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #191b1f;
}
.wr-video-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wr-box .wr-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.wr-play svg {
  width: 34px;
  height: 34px;
  padding: 8px 7px 8px 9px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  fill: #fff;
}
.wr-video figcaption {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.wr-video figcaption strong {
  font-size: 14px;
  font-weight: 600;
}
.wr-video figcaption span {
  overflow: hidden;
  color: var(--cm-muted);
  font-size: 13px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wr-video-input {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--cm-line) !important;
}
.wr-video-input[hidden] {
  display: none;
}
.wr-video-input .field {
  flex: 1;
  min-width: 0;
  height: 36px;
}
.wr-video-input .cm-newpost {
  height: 36px;
}
.wr-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  padding: 6px 8px;
  border-top: 1px solid var(--cm-line) !important;
}
.wr-tool {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 8px;
  background: none;
  color: var(--cm-sub);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.wr-tool[hidden] {
  display: none;
}
.wr-tool:hover {
  background: var(--cm-hover);
  color: var(--cm-ink);
}
.wr-count {
  margin-left: auto;
  padding-right: 6px;
  color: var(--cm-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
/* 글 상세 — 본문 속 영상 */
.cm-inline-video {
  display: block;
  margin: 12px 0;
  white-space: normal;
}
.cm-inline-video .article-video {
  margin: 0;
}
@media (max-width: 640px) {
  .wr-editor {
    min-height: 260px;
    padding: 14px 14px 20px;
  }
  .wr-ph {
    top: 14px;
    right: 14px;
    left: 14px;
  }
  .wr-video {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
  }
}

/* ===== 채팅 — 사진 보내기 · 링크 · 영상 링크 플레이어 ===== */
.cm-chat-attach {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-left: -8px;
  border-radius: 8px;
  color: var(--cm-sub);
  cursor: pointer;
}
.cm-chat-attach:hover {
  background: var(--cm-hover);
  color: var(--cm-ink);
}
.cm-chat-attach .cm-ico {
  width: 20px;
  height: 20px;
}
.cm-chat-note {
  margin: 0 16px 8px;
  color: #d92d20;
  font-size: 13px;
}
.cm-chat-note[hidden] {
  display: none;
}
.cm-msg-stack {
  display: grid;
  flex: 0 1 auto;
  gap: 6px;
  justify-items: start;
  min-width: 0;
}
.cm-msg.is-me .cm-msg-stack {
  justify-items: end;
}
.cm-msg-stack > p {
  max-width: 100%;
}
.cm-msg p a {
  color: #506cf0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cm-msg .cm-bubble a {
  color: #fff;
}
.cm-chat-img {
  display: block;
  padding: 0;
  border-radius: 12px;
  background: none;
  cursor: zoom-in;
}
.cm-chat-img img {
  display: block;
  max-width: min(280px, 100%);
  max-height: 320px;
  border-radius: 12px;
  background: #eceff2;
  object-fit: cover;
}
.cm-chat-video {
  width: min(360px, 100%);
}
.cm-chat-video .article-video {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}
.cm-zoom {
  position: relative;
  display: grid;
  place-items: center;
  background: #111;
}
.cm-zoom img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 80px);
}
.cm-zoom .cm-icon-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.92);
}

/* 글쓰기 도구 — 아이콘만, 커버는 내용 칸 아래 따로 */
.wr-tool .cm-ico {
  width: 20px;
  height: 20px;
}
.wr-cover-field .write-img-add {
  width: 100%;
  font-family: inherit;
}
.wr-cover-field .write-img-add .cm-ico {
  width: 20px;
  height: 20px;
}
/* 글쓰기 경고 문구는 붉은색 */
#write-message:not(:empty) {
  color: #d92d20;
}
/* 확인 창 (OTT 검은 화면) — 로그아웃 등 */
.my-confirm {
  width: min(380px, calc(100vw - 32px));
}
.my-confirm .my-modal-form {
  gap: 12px;
}
.my-confirm-text {
  margin: 0;
  color: #a3a3a3;
  font-size: 14px;
  line-height: 1.6;
}
.my-modal-actions .solid.is-danger {
  border-color: #d92d20 !important;
  background: #d92d20;
  color: #fff;
}

/* ===== 커뮤니티 멤버 프로필 왼쪽 — 카드형 (Behance 프로필 참고, 2026-11-13) ===== */
.mp-body {
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 40px;
}
.mp-side {
  gap: 12px;
}
.mp-pcard {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 0 !important;
  border-radius: 16px;
  background: #fff;
}
.mp-pcard > h2,
.mp-pcard .mp-card-head h2 {
  margin: 0;
  color: var(--cm-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
.mp-pcard-main {
  gap: 16px;
  padding: 24px 20px 20px;
}
.mp-pcard-main .mp-face,
.mp-pcard-main .mp-face .forum-avatar.is-xl {
  width: 112px;
}
.mp-pcard-main .mp-face .forum-avatar.is-xl {
  height: 112px;
  font-size: 44px;
}
.mp-pcard-main .mp-name {
  margin: 0;
  font-size: 24px;
}
.mp-pcard-main .mp-rank {
  margin-top: -8px;
}
.mp-pcard-main .mp-info {
  gap: 10px;
  margin: 0;
}
.mp-pcard-main .mp-info li {
  gap: 12px;
  color: var(--cm-ink);
  font-size: 15px;
  line-height: 22px;
}
.mp-pcard-main .mp-info .cm-ico {
  width: 20px;
  height: 20px;
  color: var(--cm-ink);
}
.mp-bio p {
  margin: 0;
  color: var(--cm-ink);
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.mp-bio p.is-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mp-bio-more {
  display: block;
  margin: 4px 0 0 auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--cm-ink);
  font-family: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.mp-bio-more[hidden] {
  display: none;
}
.mp-links {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mp-links li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
}
.mp-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  margin: 0 -8px;
  padding: 0 8px;
  border-radius: 8px;
  color: var(--cm-ink);
  font-size: 15px;
  text-decoration: none;
}
.mp-links a span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mp-links a:hover {
  background: var(--cm-hover);
}
.mp-links .cm-ico {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--cm-ink);
}
.mp-pcard-main .mp-actions {
  gap: 8px;
}
.mp-pcard-main .mp-btn {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  font-size: 15px;
}
.mp-pcard-main .mp-btn.is-primary {
  background: #ebedf0;
  color: var(--cm-ink);
}
.mp-pcard-main .mp-btn.is-primary:hover {
  background: #e0e3e8;
}
.mp-pcard-main .mp-btn.is-primary.is-on {
  border: 0 !important;
  background: var(--cm-dark);
  color: #fff;
}
.mp-pcard-main .mp-btn.is-soft {
  border: 1px solid var(--cm-line) !important;
  background: #fff;
  color: var(--cm-ink);
}
.mp-pcard-main .mp-btn.is-soft:hover {
  background: var(--cm-hover);
}
.mp-side > .mp-joined {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 8px 0;
  font-size: 13px;
}
.mp-side > .mp-account {
  margin-top: -4px;
  padding: 0 8px;
}
@media (max-width: 1024px) {
  .mp-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .mp-pcard-main .mp-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}
.mp-pcard {
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}
.mp-pcard .mp-card-row {
  min-width: 0;
}
.mp-pcard .mp-card-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== 멤버 프로필 — 활동 목록 버튼 + 목록 창 (2026-11-13) ===== */
.mp-acts {
  display: grid;
  gap: 2px;
  margin: 0 -8px;
  padding: 0;
  list-style: none;
}
.mp-acts button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--cm-ink);
  font-family: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.mp-acts button:hover {
  background: var(--cm-hover);
}
.mp-acts button:focus-visible {
  outline: 2px solid var(--cm-ink);
  outline-offset: -2px;
}
.mp-acts .cm-ico {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--cm-sub);
}
.mp-acts button > span {
  flex: 1;
  min-width: 0;
}
.mp-acts strong {
  font-weight: 500;
}
.mp-acts button > .cm-ico:last-child {
  width: 16px;
  height: 16px;
  margin-left: -4px;
  opacity: .5;
}
.mp-al-total {
  margin-left: 4px;
  color: var(--cm-sub);
  font-weight: 500;
}
.mp-alist {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0 12px 16px;
  list-style: none;
}
.mp-alist a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--cm-ink);
  text-decoration: none;
}
.mp-alist a:hover {
  background: var(--cm-hover);
}
.mp-al-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 48px;
  overflow: hidden;
  border-radius: 8px;
  background: #eef0f3;
}
.mp-al-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mp-al-ico {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #eef0f3;
}
.mp-al-ico .cm-ico {
  width: 18px;
  height: 18px;
  color: var(--cm-sub);
}
.mp-al-text {
  display: grid;
  flex: 1;
  gap: 2px;
  min-width: 0;
}
.mp-al-text strong,
.mp-al-text small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mp-al-text strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.mp-al-text small {
  color: var(--cm-sub);
  font-size: 13px;
  line-height: 1.4;
}
.mp-al-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mp-al-meta .cm-ico {
  width: 14px;
  height: 14px;
  margin-left: 4px;
}
.mp-al-count {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
}
.mp-al-count .cm-ico {
  width: 16px;
  height: 16px;
  color: var(--cm-sub);
}
.mp-al-empty {
  margin: 0;
  padding: 8px 24px 28px;
  color: var(--cm-sub);
  font-size: 14px;
}

/* ===== 커뮤니티 — 멤버 제재 안내 (경고 · 활동 정지 · 영구 정지, 2026-11-16) ===== */
.cm-sanction {
  grid-column: 1 / -1;
  justify-self: center;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  max-width: 680px;
  margin: 0 0 16px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fffaeb;
  color: #7a2e0e;
}
.cm-sanction.is-ban {
  background: #fef3f2;
  color: #7a271a;
}
.cm-sanction > .cm-ico {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}
.cm-sanction > div {
  flex: 1;
  min-width: 0;
}
.cm-sanction strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}
.cm-sanction p {
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 1.6;
}
.cm-sanction .cm-sanction-reason {
  margin-top: 6px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.cm-sanction .cm-btn {
  flex-shrink: 0;
  align-self: center;
}
.cm-app[data-cm="member"] .cm-sanction {
  max-width: none;
  margin: 24px 0 0;
}
/* 영구 정지: 왼쪽 메뉴와 안내만 보이고 나머지는 숨김 */
.cm-app.is-banned .cm-stage > :not(.cm-sanction):not(#cm-head) {
  display: none !important;
}
.cm-app.is-banned .cm-sanction {
  margin-top: 8px;
}
.cm-blocked-note {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f2f4f7;
  color: var(--cm-sub);
  font-size: 14px;
  line-height: 1.5;
}
.cm-blocked-note[hidden] {
  display: none;
}
.cm-chat-blocked {
  margin: 0 16px 16px;
}
@media (max-width: 1024px) {
  .cm-chat-blocked {
    margin: 0 12px 12px;
  }
}
.cm-app .cm-sanction p {
  color: inherit;
  opacity: .88;
}
.cm-app[data-cm="feed"] .cm-sanction {
  grid-column: 1 / -1;
  max-width: none;
}
.cm-app[data-cm="chat"] .cm-sanction {
  max-width: none;
}
.cm-app.is-banned #cm-head .cm-newpost {
  display: none;
}

/* ===== 쇼케이스 → SUPER TRIBE TV 선정 (노출 동의 · 선정 표시, 2026-11-16) ===== */
.wr-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 0;
  padding: 16px;
  border: 1px solid var(--cm-line) !important;
  border-radius: 12px;
  background: #f7f9fa;
  cursor: pointer;
}
.wr-consent input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: #33343a;
  color-scheme: light;
  cursor: pointer;
}
.wr-consent > span {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: var(--cm-ink);
  font-size: 14px;
  line-height: 1.6;
}
.wr-consent strong {
  font-size: 14px;
  font-weight: 700;
}
.wr-consent small {
  color: var(--cm-sub);
  font-size: 13px;
  line-height: 1.5;
}
.wr-consent.is-invalid {
  border-color: #d92d20 !important;
  background: #fef3f2;
}
#tv-consent:empty {
  display: none;
}
.cm-tvpick {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 4px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f0f3ff;
  color: #1f2a6b;
  text-decoration: none;
}
.cm-tvpick > span {
  display: grid;
  flex: 1;
  gap: 2px;
  min-width: 0;
}
.cm-tvpick strong {
  font-size: 15px;
  font-weight: 700;
}
.cm-tvpick small {
  color: #3b4789;
  font-size: 13px;
}
.cm-tvpick .cm-ico {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #506cf0;
}
.cm-tvpick:hover {
  background: #e6ebff;
}
.cm-sanction.is-pick {
  align-items: center;
  background: #ecfdf3;
  color: #054f31;
}
.cm-sanction.is-pick .cm-btn {
  align-self: center;
}
.cm-sanction.is-pick .cm-icon-btn {
  flex-shrink: 0;
  color: inherit;
}
@media (max-width: 640px) {
  .cm-sanction.is-pick {
    flex-wrap: wrap;
  }
  .cm-sanction.is-pick > div {
    flex-basis: calc(100% - 80px);
  }
}

/* ===== 사이트 소개 버튼 — 흰 버튼 + 화살표 (Framer AnimatedArrow Button 참고, 2026-11-16)
   기본: 글자 → / 마우스를 올리면 오른쪽 화살표가 밀려 나가고 왼쪽에서 새 화살표가 들어옴 ===== */
a.about-link,
button.about-link {
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8h10.5M9 3.5 13.5 8 9 12.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 44px;
  min-height: 44px;
  padding: 0 18px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.2px;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
  transition: background-color .2s ease, transform .2s ease;
}
a.about-link::before,
a.about-link::after,
button.about-link::before,
button.about-link::after {
  content: "";
  flex-shrink: 0;
  height: 14px;
  background: currentColor;
  -webkit-mask: var(--arrow) center / 14px 14px no-repeat;
  mask: var(--arrow) center / 14px 14px no-repeat;
  transition: width .32s cubic-bezier(.65, 0, .35, 1), margin .32s cubic-bezier(.65, 0, .35, 1), opacity .24s ease, transform .32s cubic-bezier(.65, 0, .35, 1);
}
a.about-link::before,
button.about-link::before {
  width: 0;
  margin-right: 0;
  opacity: 0;
  transform: translateX(-12px);
}
a.about-link::after,
button.about-link::after {
  width: 14px;
  margin-left: 8px;
  opacity: 1;
  transform: translateX(0);
}
a.about-link:hover,
button.about-link:hover,
a.about-link:focus-visible,
button.about-link:focus-visible {
  background: #f1f1f1;
  color: #111;
}
a.about-link:hover::before,
button.about-link:hover::before,
a.about-link:focus-visible::before,
button.about-link:focus-visible::before {
  width: 14px;
  margin-right: 8px;
  opacity: 1;
  transform: translateX(0);
}
a.about-link:hover::after,
button.about-link:hover::after,
a.about-link:focus-visible::after,
button.about-link:focus-visible::after {
  width: 0;
  margin-left: 0;
  opacity: 0;
  transform: translateX(12px);
}
a.about-link:active,
button.about-link:active {
  transform: scale(.98);
}
a.about-link:focus-visible,
button.about-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.about-actions {
  gap: 12px;
}
@media (prefers-reduced-motion: reduce) {
  a.about-link,
  button.about-link,
  a.about-link::before,
  a.about-link::after,
  button.about-link::before,
  button.about-link::after {
    transition: none;
  }
}
@media (max-width: 640px) {
  a.about-link,
  button.about-link {
    white-space: nowrap;
  }
  .about-actions {
    gap: 10px;
  }
}

/* ===== 문의하기 (contact.html) — 흰 카드 폼, Framer Contact Form 참고 (2026-11-16) ===== */
.ct-page {
  padding: 56px 20px 96px;
}
.ct-wrap {
  display: flex;
  justify-content: center;
}
.ct-card {
  display: grid;
  gap: 22px;
  box-sizing: border-box;
  width: 100%;
  max-width: 680px;
  padding: 44px 44px 40px;
  border-radius: 20px;
  background: #fff;
  color: #16181d;
  color-scheme: light;
}
.ct-card h1 {
  margin: 0;
  color: #16181d;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.8px;
}
.ct-card .ct-sub {
  margin: -12px 0 6px;
  color: #4b5160;
  font-size: 16px;
  line-height: 1.6;
}
.ct-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.ct-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.ct-field > span,
.ct-field > legend {
  padding: 0;
  color: #16181d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.ct-field > legend {
  margin-bottom: 8px;
}
.ct-field em {
  color: #8a909c;
  font-style: normal;
  font-weight: 400;
}
.ct-card input:not([type=checkbox]):not([type=radio]),
.ct-card select,
.ct-card textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid #dfe2e7 !important;
  border-radius: 10px;
  background: #fff;
  color: #16181d;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color .15s, box-shadow .15s;
}
.ct-card textarea {
  min-height: 150px;
  resize: vertical;
}
.ct-card input::placeholder,
.ct-card textarea::placeholder {
  color: #a3a8b3;
}
.ct-card input:focus,
.ct-card select:focus,
.ct-card textarea:focus {
  border-color: #16181d !important;
  box-shadow: 0 0 0 3px rgba(22, 24, 29, .08);
  outline: none;
}
.ct-select {
  position: relative;
}
.ct-select select {
  appearance: none;
  padding-right: 40px;
  cursor: pointer;
}
.ct-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid #16181d;
  border-bottom: 1.6px solid #16181d;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.ct-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.ct-check,
.ct-radio,
.ct-consent {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #16181d;
  font-size: 15px;
  line-height: 1.45;
  cursor: pointer;
}
.ct-check {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #dfe2e7 !important;
  border-radius: 10px;
  transition: border-color .15s, background-color .15s;
}
.ct-check:hover {
  border-color: #b9bec7 !important;
}
.ct-check:has(input:checked) {
  border-color: #16181d !important;
  background: #f5f6f8;
}
.ct-card input[type=checkbox],
.ct-card input[type=radio] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #16181d;
  cursor: pointer;
}
.ct-radios {
  display: grid;
  gap: 12px;
}
.ct-consent {
  align-items: flex-start;
  margin-top: 2px;
  color: #4b5160;
  font-size: 14px;
}
.ct-consent input {
  margin-top: 2px !important;
}
.ct-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.ct-err {
  min-height: 0;
  color: #d92d20;
  font-size: 13px;
  line-height: 1.4;
}
.ct-err:empty {
  display: none;
}
.ct-card > .ct-err {
  margin-top: -14px;
}
.ct-field.is-invalid input,
.ct-field.is-invalid textarea {
  border-color: #d92d20 !important;
}
.ct-group.is-invalid .ct-check {
  border-color: #f4a49d !important;
}
.ct-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  margin-top: 6px;
  border: 0;
  border-radius: 10px;
  background: #16181d;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s;
}
.ct-submit:hover {
  background: #2c2f37;
}
.ct-submit svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}
.ct-submit:hover svg {
  transform: translateX(3px);
}
.ct-submit:focus-visible,
.ct-again:focus-visible {
  outline: 2px solid #16181d;
  outline-offset: 3px;
}
.ct-done {
  justify-items: start;
}
.ct-done-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ecfdf3;
}
.ct-done-ico svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #067647;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ct-done .ct-sub {
  margin: -10px 0 4px;
}
.ct-done-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.ct-done-actions .ct-submit {
  width: auto;
  margin: 0;
  padding: 0 24px;
}
.ct-again {
  padding: 8px 4px;
  border: 0;
  background: none;
  color: #16181d;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
@media (max-width: 640px) {
  .ct-page {
    padding: 28px 12px 64px;
  }
  .ct-card {
    gap: 20px;
    padding: 28px 20px 24px;
    border-radius: 16px;
  }
  .ct-card h1 {
    font-size: 28px;
  }
  .ct-row,
  .ct-checks {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* 문의 폼 체크박스·라디오 — 전역 다크 입력 스타일 대신 흰 화면용으로 직접 그림 */
.ct-card input,
.ct-card select,
.ct-card textarea {
  color-scheme: light;
}
.ct-card input[type=checkbox],
.ct-card input[type=radio] {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-content: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid #b9bec7 !important;
  border-radius: 5px;
  background: #fff no-repeat center / 12px 12px;
  transition: background-color .12s, border-color .12s;
}
.ct-card input[type=radio] {
  border-radius: 50%;
}
.ct-card input[type=checkbox]:checked {
  border-color: #16181d !important;
  background-color: #16181d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ct-card input[type=radio]:checked {
  border: 5px solid #16181d !important;
}
.ct-card input[type=checkbox]:focus-visible,
.ct-card input[type=radio]:focus-visible {
  outline: 2px solid #16181d;
  outline-offset: 2px;
}
.ct-consent.is-invalid input {
  border-color: #d92d20 !important;
}

/* ===== 상단 [문의하기] — Sliding Text Button (Framer 참고, 보라색 대신 블랙, 2026-11-16) ===== */
header > .right > button.outline.ct-btn {
  position: relative;
  isolation: isolate;
  align-items: center;
  gap: 10px;
  height: 40px;
  min-height: 40px;
  padding: 0 4px 0 18px;
  overflow: hidden;
  border: 0 !important;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.2px;
  white-space: nowrap;
  cursor: pointer;
}
@media (min-width: 1025px) {
  body:not(.cm-light) > header > .right > button.outline.ct-btn {
    display: inline-flex;
  }
}
/* 검은 원 → 버튼 전체로 퍼지는 바탕 */
header > .right > button.outline.ct-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #0a0a0a;
  clip-path: circle(16px at calc(100% - 20px) 50%);
  transition: clip-path .5s cubic-bezier(.65, 0, .35, 1);
}
header > .right > button.outline.ct-btn:hover,
header > .right > button.outline.ct-btn:focus-visible {
  background: #fff;
  color: #fff;
}
/* 검은 헤더 위에서도 버튼 테두리가 보이게 */
header > .right > button.outline.ct-btn:hover {
  outline: 1px solid rgba(255, 255, 255, .4);
  outline-offset: -1px;
}
header > .right > button.outline.ct-btn:hover::before,
header > .right > button.outline.ct-btn:focus-visible::before {
  clip-path: circle(140% at calc(100% - 20px) 50%);
}
.ct-btn-text {
  display: block;
  height: 1.25em;
  overflow: hidden;
  line-height: 1.25;
}
.ct-btn-text > span {
  display: block;
  transition: transform .45s cubic-bezier(.65, 0, .35, 1);
}
header > .right > button.ct-btn:hover .ct-btn-text > span,
header > .right > button.ct-btn:focus-visible .ct-btn-text > span {
  transform: translateY(-100%);
}
.ct-btn-ico {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
}
.ct-btn-ico svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .45s cubic-bezier(.65, 0, .35, 1);
}
header > .right > button.ct-btn:hover .ct-btn-ico svg,
header > .right > button.ct-btn:focus-visible .ct-btn-ico svg {
  transform: rotate(45deg);
}
header > .right > button.outline.ct-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  header > .right > button.outline.ct-btn::before,
  .ct-btn-text > span,
  .ct-btn-ico svg {
    transition: none;
  }
}

/* ===== 커뮤니티 받은 DM — 오른쪽 아래 떠 있는 버튼 + 받은 메시지함 (2026-11-16) ===== */
.dm-dock {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: "Inter", "Noto Sans KR", sans-serif;
}
.dm-fab {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #191b1f;
  color: #fff;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .22);
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}
.dm-fab:hover {
  background: #33343a;
  transform: translateY(-2px);
}
.dm-fab:focus-visible {
  outline: 2px solid #191b1f;
  outline-offset: 3px;
}
.dm-fab .cm-ico {
  width: 26px;
  height: 26px;
  color: #fff;
}
.dm-fab-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 14px;
  height: 14px;
  border: 2.5px solid #fff !important;
  border-radius: 50%;
  background: #f04438;
  box-sizing: border-box;
}
.dm-fab-dot[hidden] {
  display: none;
}
.dm-panel {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: min(520px, calc(100vh - 140px));
  overflow: hidden;
  border: 1px solid var(--cm-line, #e4e7eb) !important;
  border-radius: 16px;
  background: #fff;
  color: #191b1f;
  box-shadow: 0 16px 48px rgba(16, 24, 40, .18);
  animation: dm-pop .18s ease-out;
  transform-origin: bottom right;
}
.dm-panel[hidden] {
  display: none;
}
@keyframes dm-pop {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
}
.dm-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 16px 10px 22px;
}
.dm-panel-head h2 {
  margin: 0;
  color: #191b1f;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.dm-panel-filter {
  display: flex;
  gap: 8px;
  padding: 4px 22px 14px;
  border-bottom: 1px solid var(--cm-line, #e4e7eb) !important;
}
.dm-chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--cm-line, #e4e7eb) !important;
  border-radius: 99px;
  background: #fff;
  color: #4b5160;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.dm-chip[aria-pressed="true"] {
  border-color: #191b1f !important;
  background: #191b1f;
  color: #fff;
}
.dm-chip:focus-visible {
  outline: 2px solid #191b1f;
  outline-offset: 2px;
}
.dm-panel-list {
  flex: 1;
  overflow-y: auto;
  padding: 6px 8px 10px;
}
.dm-panel-list ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dm-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #191b1f;
  text-decoration: none;
}
.dm-row:hover {
  background: #f4f5f7;
}
.dm-row:focus-visible {
  outline: 2px solid #191b1f;
  outline-offset: -2px;
}
.dm-row .forum-avatar {
  flex-shrink: 0;
}
.dm-row-text {
  display: grid;
  flex: 1;
  gap: 2px;
  min-width: 0;
}
.dm-row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.dm-row-top strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dm-row-top time {
  flex-shrink: 0;
  color: #8a909c;
  font-size: 12px;
}
.dm-row-msg {
  overflow: hidden;
  color: #717680;
  font-size: 14px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dm-row.is-unread strong {
  font-weight: 800;
}
.dm-row.is-unread .dm-row-msg {
  color: #191b1f;
  font-weight: 500;
}
.dm-row-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f04438;
}
.dm-empty {
  margin: 0;
  padding: 48px 20px;
  color: #8a909c;
  font-size: 14px;
  text-align: center;
}
@media (max-width: 640px) {
  .dm-dock {
    right: 16px;
    bottom: 16px;
  }
  .dm-fab {
    width: 52px;
    height: 52px;
  }
  .dm-panel {
    width: calc(100vw - 32px);
    height: min(70vh, calc(100vh - 120px));
  }
}
.dm-chip span:not(:empty) {
  min-width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0 5px;
  box-sizing: border-box;
  border-radius: 99px;
  background: #f04438;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
/* [문의하기] 호버 보정 (2026-11-16): 마우스를 올리면 버튼 글자색이 바로 흰색이 되어 흰 바탕 위 글자가 사라져 보였음
   → 올라가는 글자는 검은색 그대로, 아래에서 올라오는 글자만 흰색. 검은 바탕이 먼저 퍼지고 글자는 조금 늦게 천천히 올라감 */
header > .right > button.outline.ct-btn:hover,
header > .right > button.outline.ct-btn:focus-visible {
  color: #111;
}
.ct-btn .ct-btn-text > span:first-child {
  color: #111;
}
.ct-btn .ct-btn-text > span:last-child {
  color: #fff;
}
.ct-btn .ct-btn-text > span {
  transition: transform .7s cubic-bezier(.33, 1, .68, 1);
}
header > .right > button.ct-btn:hover .ct-btn-text > span,
header > .right > button.ct-btn:focus-visible .ct-btn-text > span {
  transition-delay: .12s;
}
header > .right > button.outline.ct-btn::before {
  transition: clip-path .5s cubic-bezier(.4, 0, .2, 1);
}

/* ===== 커뮤니티 가입(멤버십) 페이지 — Atoks 랜딩 디자인 참고 (2026-11-16) ===== */
body.cm-light:has(.membership-page) {
  background: #fff;
}
.membership-page {
  max-width: none;
  padding: 0 0 0;
  overflow-x: clip;
  color: #0d0e10;
  font-family: "Inter", "Noto Sans KR", sans-serif;
}
.membership-page h1,
.membership-page h2,
.membership-page h3 {
  letter-spacing: -0.03em;
}
/* 공통 버튼: 검은 알약 + ↗ */
.mx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border: 0 !important;
  border-radius: 999px;
  background: linear-gradient(180deg, #2b2c30, #0d0e10);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(13, 14, 16, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.mx-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s ease;
}
.mx-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(13, 14, 16, .22);
}
.mx-btn:hover svg {
  transform: translate(2px, -2px);
}
.mx-btn:focus-visible {
  outline: 2px solid #0d0e10;
  outline-offset: 3px;
}
.mx-btn.is-outline {
  height: 44px;
  border: 1px solid #e6a6e9 !important;
  background: rgba(255, 255, 255, .6);
  color: #0d0e10;
  box-shadow: none;
}
.mx-btn.is-light {
  background: #fff;
  color: #0d0e10;
}
.mx-btn.is-light:focus-visible {
  outline-color: #fff;
}
.mx-head-cta {
  height: 40px;
  margin-left: 8px;
  padding: 0 18px;
  font-size: 14px;
}
.mx-pill {
  display: inline-block;
  margin: 0 0 16px;
  padding: 4px 12px;
  border: 1px solid #e4e7eb !important;
  border-radius: 99px;
  background: #fff;
  color: #4b5160;
  font-size: 12px;
  font-weight: 500;
}

/* 1. 히어로 */
.mx-hero {
  display: grid;
  justify-items: center;
  padding: 72px 24px 0;
  text-align: center;
}
.mx-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.mx-proof p {
  margin: 0;
  color: #4b5160;
  font-size: 14px;
}
.mx-faces {
  display: flex;
  align-items: center;
}
.mx-faces img,
.mx-faces span {
  width: 34px;
  height: 34px;
  margin-left: -10px;
  border: 2px solid #fff !important;
  border-radius: 50%;
  object-fit: cover;
  background: #eee;
}
.mx-faces img:first-child {
  margin-left: 0;
}
.mx-faces span {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  background: #0d0e10;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.mx-title {
  margin: 0;
  background: linear-gradient(180deg, #0d0e10 30%, #7a7f88 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(48px, 7.4vw, 104px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em !important;
}
.mx-lead {
  max-width: 620px;
  margin: 26px auto 0;
  color: #4b5160;
  font-size: 18px;
  line-height: 1.65;
  text-wrap: balance;
}
.mx-actions {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 34px;
}
.mx-signin {
  margin: 0;
  color: #717680;
  font-size: 14px;
}
.mx-signin a {
  color: #0d0e10;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mx-stage {
  position: relative;
  width: min(1040px, 100%);
  margin-top: 72px;
  perspective: 1600px;
}
.mx-screen {
  margin: 0 auto;
  width: 82%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 10px solid #111214 !important;
  border-radius: 28px;
  background: #111;
  box-shadow: 0 40px 80px rgba(13, 14, 16, .25);
  transform: rotateX(14deg);
  transform-origin: 50% 100%;
}
.mx-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mx-stage::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 85%);
  pointer-events: none;
}
.mx-peek {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 10%;
  width: 340px;
  padding: 16px;
  border: 1px solid #eceef1 !important;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(13, 14, 16, .14);
  text-align: left;
}
.mx-peek-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
}
.mx-peek-lock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #717680;
  font-size: 12px;
  font-weight: 500;
}
.mx-peek-lock svg,
.mx-ben svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mx-peek-lock svg {
  width: 14px;
  height: 14px;
}
.mx-peek ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mx-peek li {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f6f7f9;
}
.mx-peek li:nth-child(n+3) {
  filter: blur(4px);
  opacity: .6;
}
.mx-peek li:nth-child(n+4) {
  display: none;
}
.mx-peek-board {
  color: #717680;
  font-size: 11px;
}
.mx-peek strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mx-peek small {
  color: #8a909c;
  font-size: 12px;
}
.mx-peek-fade {
  margin-top: -36px;
  padding-top: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 55%);
  position: relative;
  text-align: center;
}
.mx-peek-fade span {
  font-size: 13px;
  font-weight: 600;
}

/* 2. 크리에이터 흐르는 줄 */
.mx-marquee {
  padding: 56px 0 72px;
  text-align: center;
}
.mx-marquee > p {
  margin: 0 0 24px;
  color: #4b5160;
  font-size: 20px;
  font-weight: 500;
}
.mx-marquee-track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.mx-marquee-row {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: mx-marquee 40s linear infinite;
}
.mx-marquee-track:hover .mx-marquee-row {
  animation-play-state: paused;
}
@keyframes mx-marquee {
  to { transform: translateX(-50%); }
}
.mx-maker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0d0e10;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  opacity: .8;
}
.mx-maker img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1);
}

/* 공통 섹션 */
.mx-section {
  padding: 96px 24px;
  text-align: center;
}
.mx-section > h2,
.mx-final h2 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.12;
}

/* 3. 멤버가 되면 — 가운데 이미지 + 양쪽 카드 */
.mx-benefits {
  background: #f6f4fd;
}
.mx-ben-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  max-width: 1080px;
  margin: 56px auto 0;
  text-align: left;
}
.mx-ben-col {
  display: grid;
  gap: 16px;
}
.mx-ben {
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
}
.mx-ben svg {
  box-sizing: border-box;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid #eceef1 !important;
  border-radius: 12px;
  background: #fff;
  color: #0d0e10;
}
.mx-ben h3 {
  margin: 16px 0 6px;
  font-size: 18px;
  font-weight: 600;
}
.mx-ben p {
  margin: 0;
  color: #5b616e;
  font-size: 14px;
  line-height: 1.6;
}
.mx-ben-visual {
  position: relative;
  margin: 0;
  height: 100%;
  min-height: 460px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(160deg, #a24bff, #5b3bff 45%, #ff9d5c);
}
.mx-ben-visual img {
  position: absolute;
  inset: 14% 10% 0;
  width: 80%;
  height: 86%;
  border-radius: 22px 22px 0 0;
  object-fit: cover;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .25);
}

/* 4. 쌓이는 패널 (스크롤하면 위로 겹쳐 올라옴) */
.mx-stack {
  display: grid;
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
}
.mx-panel {
  position: sticky;
  top: calc(96px + var(--i) * 24px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 64px 52px;
  border-radius: 28px;
  text-align: left;
}
.mx-panel.is-pink {
  background: #fdf0fd;
}
.mx-panel.is-peach {
  background: #fdf3ee;
}
.mx-panel.is-flip .mx-panel-copy {
  order: 2;
}
.mx-panel h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.15;
}
.mx-panel p {
  margin: 16px 0 32px;
  color: #4b5160;
  font-size: 16px;
  line-height: 1.7;
}
.mx-panel-shot {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid #b06ab3 !important;
  border-left: 16px solid #8e44ad !important;
  border-radius: 22px;
  background: #fff;
}
.mx-panel.is-peach .mx-panel-shot {
  border-left-color: #6d2b8f !important;
}
.mx-panel-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 5. 자주 묻는 질문 */
.mx-faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin: 48px auto 0;
  text-align: left;
}
.mx-faq details {
  border: 1px solid #eceef1 !important;
  border-radius: 14px;
  background: #fff;
  transition: background-color .2s;
}
.mx-faq details[open] {
  background: #f6f4fd;
}
.mx-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-size: 16px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}
.mx-faq summary::-webkit-details-marker {
  display: none;
}
.mx-faq summary i {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}
.mx-faq summary i::before,
.mx-faq summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 1.6px;
  background: #0d0e10;
  transition: transform .2s ease;
}
.mx-faq summary i::after {
  transform: rotate(90deg);
}
.mx-faq details[open] summary i::after {
  transform: rotate(0deg);
}
.mx-faq summary:focus-visible {
  outline: 2px solid #0d0e10;
  outline-offset: -2px;
  border-radius: 14px;
}
.mx-faq details p {
  max-width: 640px;
  margin: -6px 0 0;
  padding: 0 22px 22px;
  color: #5b616e;
  font-size: 15px;
  line-height: 1.7;
}

/* 6. 마지막 — 검은 배경 + 격자 */
.mx-final {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  margin-top: 40px;
  padding: 96px max(24px, calc((100% - 1080px) / 2));
  overflow: hidden;
  background: #000;
  color: #fff;
}
.mx-final::before {
  content: "";
  position: absolute;
  inset: 0 0 0 52%;
  background-image: linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
  mask-image: linear-gradient(90deg, transparent, #000 30%);
}
.mx-final-copy {
  position: relative;
}
.mx-final h2 {
  background: linear-gradient(180deg, #fff, #9aa0aa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mx-final-copy > p {
  max-width: 480px;
  margin: 20px 0 32px;
  color: #a3a8b3;
  font-size: 16px;
  line-height: 1.7;
}
.mx-final-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  color: #d4d7dd;
  font-size: 13px;
  list-style: none;
}
.mx-final-checks li::before {
  content: "✓";
  margin-right: 6px;
  color: #fff;
}
.mx-final-shot {
  position: relative;
  margin: 0;
  justify-self: end;
  width: min(440px, 100%);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 8px solid #1a1b1e !important;
  border-radius: 24px;
  transform: rotate(4deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
}
.mx-final-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .mx-marquee-row {
    animation: none;
  }
}
@media (max-width: 960px) {
  .mx-ben-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .mx-ben-visual {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 320px;
  }
  .mx-ben-col {
    grid-row: 2;
  }
  .mx-panel,
  .mx-final {
    grid-template-columns: minmax(0, 1fr);
  }
  .mx-panel.is-flip .mx-panel-copy {
    order: 0;
  }
  .mx-final-shot {
    justify-self: start;
    transform: rotate(2deg);
  }
  .mx-final::before {
    inset: 50% 0 0 0;
  }
}
@media (max-width: 640px) {
  .mx-hero {
    padding-top: 40px;
  }
  .mx-lead {
    font-size: 16px;
  }
  .mx-stage {
    margin-top: 44px;
  }
  .mx-screen {
    width: 100%;
    border-width: 6px !important;
    border-radius: 18px;
  }
  .mx-peek {
    position: relative;
    bottom: auto;
    width: auto;
    margin: -40px 8px 0;
  }
  .mx-stage::after {
    display: none;
  }
  .mx-section {
    padding: 72px 16px;
  }
  .mx-ben-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .mx-ben-col {
    grid-row: auto;
  }
  .mx-panel {
    position: relative;
    top: auto;
    gap: 28px;
    padding: 36px 22px;
  }
  .mx-final {
    padding: 64px 16px;
  }
  .mx-head-cta {
    display: none;
  }
  .mx-marquee > p {
    padding: 0 16px;
    font-size: 16px;
  }
}
.membership-page h1,
.membership-page h2,
.membership-page h3,
.membership-page p {
  word-break: keep-all;
}
@media (max-width: 640px) {
  .mx-proof {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ===== 가입 페이지 보강 (2026-11-16): 히어로 양옆 공간 카드 · 휴대폰 화면 · 멤버 후기 · 가입 창 ===== */
.mx-stage {
  width: min(1200px, 100%);
}
.mx-screen {
  width: 62%;
}
.mx-areas {
  position: absolute;
  z-index: 2;
  top: 0;
  display: grid;
  gap: 12px;
  width: 270px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.mx-areas.is-left {
  left: 0;
}
.mx-areas.is-right {
  right: 0;
}
.mx-areas.is-left .mx-area:nth-child(odd) {
  transform: translateX(34px);
}
.mx-areas.is-right .mx-area:nth-child(odd) {
  transform: translateX(-34px);
}
.mx-area {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border: 1px solid #eceef1 !important;
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 34px rgba(13, 14, 16, .12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.mx-area .cm-ico {
  flex-shrink: 0;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 50%;
  background: #0d0e10;
  color: #fff;
}
.mx-area span {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.mx-area strong {
  font-size: 15px;
  font-weight: 700;
}
.mx-area small {
  word-break: keep-all;
  color: #717680;
  font-size: 12.5px;
  line-height: 1.4;
}
/* 멤버 전용 글 미리보기는 화면 아래 가운데에 */
.mx-stage .mx-peek {
  left: 50%;
  bottom: 4%;
  width: 360px;
  transform: translateX(-50%);
}
.mx-stage::after {
  height: 22%;
}

/* 멤버가 되면 — 가운데 휴대폰 화면 */
.mx-ben-visual {
  display: grid;
  place-items: center;
  padding: 36px 0;
}

/* 멤버 후기 (벤토) */
.mx-sub {
  max-width: 520px;
  margin: 14px auto 0;
  color: #5b616e;
  font-size: 16px;
  line-height: 1.6;
}
.mx-bento {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  grid-template-rows: minmax(250px, auto) minmax(250px, auto);
  gap: 16px;
  max-width: 1120px;
  margin: 52px auto 0;
  text-align: left;
}
.mx-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  padding: 26px;
  border: 1px solid #eceef1 !important;
  border-radius: 20px;
  background: #fff;
}
.mx-quote.is-tall {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}
.mx-quote.is-wide {
  grid-column: 3 / 5;
}
.mx-quote h3 {
  margin: 28px 0 14px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
}
.mx-quote p {
  margin: 0 0 24px;
  color: #5b616e;
  font-size: 16px;
  line-height: 1.75;
}
.mx-quote .mx-stars {
  margin-top: auto;
}
.mx-quote-mark {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  fill: #eceef1;
}
.mx-quote.is-dark {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-color: #000 !important;
  background: #000;
  color: #fff;
}
.mx-quote.is-dark h3 {
  margin: 4px 0 28px;
  font-size: 22px;
  line-height: 1.45;
}
.mx-quote-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mx-quote.is-dark .mx-quote-mark {
  position: static;
  fill: #2a2b2f;
}
.mx-quote.is-dark .mx-who small {
  color: #a3a8b3;
}
.mx-who {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mx-who span {
  display: grid;
  gap: 1px;
}
.mx-who strong {
  font-size: 15px;
  font-weight: 600;
}
.mx-who small {
  color: #717680;
  font-size: 12px;
}
.mx-stars {
  display: inline-flex;
  gap: 4px;
}
.mx-stars i {
  width: 18px;
  height: 18px;
  background: #e2e4e8;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.2 1.3-6.6L2.5 9.3l6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.2 1.3-6.6L2.5 9.3l6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mx-stars i.is-on {
  background: #e8763b;
}
.mx-photo {
  padding: 0;
}
.mx-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}
.mx-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 40px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .65));
  color: #fff;
}
.mx-photo figcaption small {
  color: rgba(255, 255, 255, .8);
}
.mx-stat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}
.mx-stat .cm-ico {
  position: absolute;
  top: 26px;
  left: 26px;
  width: 30px;
  height: 30px;
  color: #0d0e10;
}
.mx-stat strong {
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}
.mx-stat > span {
  color: #5b616e;
  font-size: 15px;
}
.mx-stat.is-glow {
  border-color: #d9d2ff !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 45%, #fff 75%), linear-gradient(160deg, #ffb07a 0%, #7a5cff 40%, #b8a6ff 70%);
}
.mx-stat.is-glow .mx-stars {
  margin-top: 10px;
}

/* 가입 창 — 회원가입 화면처럼 왼쪽 작품 이미지 + 오른쪽 흰 폼 */
.mx-join {
  width: min(980px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: hidden;
  border: 0 !important;
  border-radius: 24px;
  background: #fff;
  color: #0d0e10;
  font-family: "Inter", "Noto Sans KR", sans-serif;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .35);
}
.mx-join::backdrop {
  background: rgba(13, 14, 16, .55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.mx-join-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-height: calc(100vh - 40px);
}
.mx-join-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0d0e10;
}
.mx-join-art .is-bg {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  filter: blur(30px) brightness(.55);
}
.mx-join-art .is-fg {
  position: relative;
  width: 88%;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
}
.mx-join-form {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 40px 40px 28px;
  overflow-y: auto;
}
.mx-join-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #0d0e10;
  cursor: pointer;
}
.mx-join-close:hover {
  background: #f2f3f5;
}
.mx-join-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.mx-join-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.mx-join-badge {
  justify-self: center;
  margin: 8px 0 0;
  padding: 3px 10px;
  border: 1px solid #e4e7eb !important;
  border-radius: 99px;
  color: #4b5160;
  font-size: 12px;
}
.mx-join-form h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
}
.mx-join-lead {
  margin: -6px 0 8px;
  color: #717680;
  font-size: 14px;
  text-align: center;
  overflow-wrap: anywhere;
}
.mx-join-field {
  display: grid;
  gap: 6px;
}
.mx-join-field span,
.mx-join-roles legend {
  padding: 0;
  font-size: 13px;
  font-weight: 600;
}
.mx-join-field input {
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid #e4e7eb !important;
  border-radius: 12px;
  background: #f5f6f8;
  color: #0d0e10;
  color-scheme: light;
  font: inherit;
  font-size: 15px;
}
.mx-join-field input:focus {
  border-color: #0d0e10 !important;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 14, 16, .08);
}
.mx-join-roles {
  margin: 0;
  padding: 0;
}
.mx-join-roles > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.mx-join-roles label {
  cursor: pointer;
}
.mx-join-roles input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.mx-join-roles span {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid #e4e7eb !important;
  border-radius: 99px;
  background: #fff;
  color: #3d424d;
  font-size: 13px;
}
.mx-join-roles input:checked + span {
  border-color: #0d0e10 !important;
  background: #0d0e10;
  color: #fff;
}
.mx-join-roles input:focus-visible + span {
  outline: 2px solid #0d0e10;
  outline-offset: 2px;
}
.mx-join-rules {
  padding: 14px 16px;
  border-radius: 12px;
  background: #f6f7f9;
  font-size: 13px;
}
.mx-join-rules ol {
  margin: 6px 0 0;
  padding-left: 18px;
  color: #4b5160;
  line-height: 1.65;
}
.mx-join-agree {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}
.mx-join-agree input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #0d0e10;
  color-scheme: light;
}
.mx-join-error {
  margin: 0;
  color: #d92d20;
  font-size: 13px;
}
.mx-join-submit {
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: #0d0e10;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.mx-join-submit:hover {
  background: #2b2c30;
}
.mx-join-submit:focus-visible,
.mx-join-close:focus-visible {
  outline: 2px solid #0d0e10;
  outline-offset: 3px;
}
.mx-join-terms {
  margin: 0;
  color: #8a909c;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 1180px) {
  .mx-areas {
    width: 240px;
  }
  .mx-areas.is-left .mx-area:nth-child(odd),
  .mx-areas.is-right .mx-area:nth-child(odd) {
    transform: none;
  }
}
@media (max-width: 1024px) {
  .mx-stage {
    display: grid;
    gap: 12px;
  }
  .mx-screen {
    width: 100%;
  }
  .mx-areas {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto;
  }
  .mx-stage .mx-peek {
    position: static;
    width: auto;
    max-width: 420px;
    margin: 0 auto;
    transform: none;
    grid-row: 2;
  }
  .mx-stage::after {
    display: none;
  }
  .mx-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
  .mx-quote.is-tall {
    grid-row: auto;
  }
  .mx-quote.is-wide {
    grid-column: 1 / -1;
  }
  .mx-join-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .mx-join-art {
    display: none;
  }
}
@media (max-width: 640px) {
  .mx-areas {
    gap: 8px;
  }
  .mx-area {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    box-shadow: 0 6px 18px rgba(13, 14, 16, .08);
  }
  .mx-area .cm-ico {
    width: 32px;
    height: 32px;
    padding: 8px;
  }
  .mx-area strong {
    font-size: 14px;
  }
  .mx-area small {
    font-size: 12px;
  }
  .mx-stage .mx-peek {
    margin: 0;
  }
  .mx-bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .mx-join-form {
    padding: 32px 20px 22px;
  }
}

/* 멤버가 되면 — 그라데이션 없이 휴대폰 목업 이미지만 (2026-11-16 k) */
.mx-ben-visual.is-mockup {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  background: none;
}
.mx-ben-visual.is-mockup img {
  position: static;
  display: block;
  width: min(280px, 100%);
  height: auto;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
  filter: drop-shadow(0 24px 40px rgba(13, 14, 16, .16));
}
/* 후기 숫자 카드 — 아이콘이 숫자와 겹치지 않게 위쪽 칸으로 */
.mx-stat .cm-ico {
  position: static;
  margin-bottom: auto;
}
@media (max-width: 1024px) {
  .mx-stat {
    min-height: 190px;
  }
  .mx-stat strong {
    margin-top: 24px;
  }
}
@media (max-width: 640px) {
  .mx-ben-visual.is-mockup img {
    width: min(240px, 70vw);
  }
  .mx-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .mx-bento .mx-quote,
  .mx-bento .mx-photo {
    grid-column: 1 / -1;
  }
  .mx-photo img {
    min-height: 220px;
    max-height: 300px;
  }
  .mx-card {
    padding: 20px;
  }
  .mx-card.mx-photo {
    padding: 0;
  }
  .mx-stat {
    min-height: 160px;
  }
  .mx-stat .cm-ico {
    width: 26px;
    height: 26px;
  }
  .mx-stat strong {
    font-size: 36px;
  }
  .mx-stat > span {
    font-size: 13px;
    word-break: keep-all;
  }
  .mx-bento > .mx-stat:nth-child(5) {
    grid-column: 1 / -1;
  }
  .mx-quote h3,
  .mx-quote.is-dark h3 {
    font-size: 19px;
  }
  .mx-quote p {
    font-size: 15px;
  }
}

/* 커뮤니티 왼쪽 탭 설명 카드 (마우스 올리면, PC만) */
.cm-hint {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  width: 280px;
  padding: 16px 16px 12px;
  border: 1px solid #eceef1 !important;
  border-radius: 14px;
  background: #fff;
  color: #0d0e10;
  font-family: "Inter", "Noto Sans KR", sans-serif;
  box-shadow: 0 18px 44px rgba(13, 14, 16, .14), 0 2px 6px rgba(13, 14, 16, .06);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
  pointer-events: none;
}
.cm-hint.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .16s ease, transform .16s ease;
  pointer-events: auto;
}
.cm-hint-arrow {
  position: absolute;
  left: -6px;
  width: 11px;
  height: 11px;
  border-bottom: 1px solid #eceef1 !important;
  border-left: 1px solid #eceef1 !important;
  background: #fff;
  transform: rotate(45deg);
}
.cm-hint-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cm-hint-ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0d0e10;
  color: #fff;
}
.cm-hint-ico .cm-ico {
  width: 15px;
  height: 15px;
}
.cm-hint-head strong {
  font-size: 15px;
  font-weight: 700;
}
.cm-hint p {
  margin: 10px 0 8px;
  color: #4b5160;
  font-size: 13px;
  line-height: 1.55;
  word-break: keep-all;
}
.cm-hint ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cm-hint li {
  position: relative;
  padding-left: 14px;
  color: #3d424d;
  font-size: 12.5px;
  line-height: 1.5;
}
.cm-hint li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b3b8c2;
}
.cm-hint-off {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f0f1f3 !important;
  color: #717680;
  font-size: 12px;
  cursor: pointer;
}
.cm-hint-off input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #0d0e10;
  color-scheme: light;
  cursor: pointer;
}
.cm-hint-off:hover {
  color: #0d0e10;
}

/* 상단 프로필: 사진이 없으면 이름 첫 글자 (커뮤니티 글쓰기 칸·댓글 아바타와 같은 모양) */
.header-account-avatar.is-initial,
.header-account-avatar.is-signed-in.is-initial {
  background: #2a2a2a;
  color: #eee;
}
.header-account-initial {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
body.cm-light .header-account-avatar.is-initial,
body.cm-light .header-account-avatar.is-signed-in.is-initial {
  background: #e7eaee;
  color: var(--cm-ink);
}
body.cm-light .header-account-initial {
  font-size: 12px;
}

/* 사이트 소개 버튼 — 흰 채움 대신 1px 외곽선만 (2026-11-16) */
a.about-link,
button.about-link {
  border: 1px solid rgba(255, 255, 255, .85) !important;
  background: transparent;
  color: #fff;
  box-shadow: none;
}
a.about-link:hover,
button.about-link:hover,
a.about-link:focus-visible,
button.about-link:focus-visible {
  border-color: #fff !important;
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

/* ===== 하단 푸터 — 약관·정책 링크 + 운영자 정보 (2026-11-16) ===== */
footer.site-footer {
  display: block;
  padding: 40px 4% 36px;
  border-top: 1px solid rgba(255, 255, 255, .08) !important;
  background: #050505;
  color: #8c8f96;
  font-size: 13px;
}
.sf-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 48px;
}
.sf-brand .logo img {
  display: block;
  width: 150px;
  height: auto;
}
.sf-brand p {
  margin: 10px 0 0;
  font-size: 11px;
}
.sf-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.sf-links a {
  color: #c4c7cc;
  font-size: 13px;
  text-decoration: none;
}
.sf-links a.is-strong {
  color: #fff;
  font-weight: 700;
}
.sf-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sf-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .06) !important;
}
.sf-biz {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}
.sf-biz span + span::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 10px;
  margin-right: 14px;
  background: currentColor;
  opacity: .35;
  vertical-align: -1px;
}
.sf-copy {
  margin: 0 0 0 auto;
  font-size: 12px;
}
/* 커뮤니티(흰 화면)에서도 푸터를 보여 줌 — 왼쪽 고정 메뉴 폭만큼 비움 */
body.cm-light > footer.site-footer {
  display: block;
  border-top: 1px solid var(--cm-line) !important;
  background: #fff;
  color: var(--cm-muted);
}
body.cm-light:has(main.cm-app) > footer.site-footer {
  margin-left: 280px;
  padding: 28px 24px 28px;
}
body.cm-light > footer.site-footer .sf-brand .logo img {
  width: 120px;
  filter: invert(1);
}
body.cm-light > footer.site-footer .sf-links a {
  color: #4b5160;
}
body.cm-light > footer.site-footer .sf-links a.is-strong,
body.cm-light > footer.site-footer .sf-links a:hover {
  color: var(--cm-ink);
}
body.cm-light > footer.site-footer .sf-bottom {
  border-top-color: #f0f1f3 !important;
}
@media (max-width: 1360px) {
  body.cm-light:has(main.cm-app) > footer.site-footer {
    margin-left: 232px;
  }
}
@media (max-width: 1024px) {
  body.cm-light:has(main.cm-app) > footer.site-footer {
    margin-left: 0;
    padding-bottom: 96px;
  }
}
@media (max-width: 640px) {
  footer.site-footer {
    padding: 32px 20px 28px;
  }
  .sf-links {
    gap: 10px 18px;
  }
  .sf-copy {
    margin-left: 0;
  }
}

/* ===== 약관·정책 문서 페이지 (terms / privacy / policy) ===== */
.lg-page {
  padding: 0 4%;
}
.lg-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 0 96px;
}
.lg-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.lg-tabs a {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 999px;
  color: #c4c7cc;
  font-size: 14px;
  text-decoration: none;
}
.lg-tabs a:hover {
  border-color: rgba(255, 255, 255, .4) !important;
  color: #fff;
}
.lg-tabs a.is-active {
  border-color: #fff !important;
  background: #fff;
  color: #0b0b0c;
  font-weight: 600;
}
.lg-head h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.lg-meta {
  margin: 12px 0 0;
  color: #8c8f96;
  font-size: 14px;
}
.lg-en-note {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  color: #c4c7cc;
  font-size: 14px;
  line-height: 1.6;
}
.lg-body {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 56px;
  margin-top: 40px;
}
.lg-article {
  max-width: 760px;
  color: #c9ccd1;
  font-size: 15px;
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.lg-lead {
  margin: 0 0 24px;
  color: #e4e6ea;
  font-size: 16px;
}
.lg-pilot {
  margin: 0 0 40px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 12px;
  font-size: 14px;
}
.lg-pilot strong {
  color: #fff;
}
.lg-pilot p {
  margin: 4px 0 0;
  color: #a9adb4;
  line-height: 1.7;
}
.lg-article section {
  padding-top: 8px;
  scroll-margin-top: 90px;
}
.lg-article section + section {
  margin-top: 36px;
}
.lg-article h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.lg-article p {
  margin: 0 0 12px;
}
.lg-article ol,
.lg-article ul {
  margin: 0 0 12px;
  padding-left: 22px;
}
.lg-article li + li {
  margin-top: 6px;
}
.lg-article li ul {
  margin-top: 6px;
}
.lg-article a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lg-article strong {
  color: #fff;
}
.lg-article table {
  width: 100%;
  margin: 8px 0 14px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.65;
}
.lg-article th,
.lg-article td {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .1) !important;
  text-align: left;
  vertical-align: top;
}
.lg-article th {
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.lg-article td small {
  color: #8c8f96;
}
.lg-todo {
  padding: 0 4px;
  border-radius: 4px;
  background: rgba(255, 196, 0, .18);
  color: #ffd56b;
}
.lg-operator {
  margin-top: 48px !important;
  padding-top: 24px !important;
  border-top: 1px solid rgba(255, 255, 255, .1) !important;
}
@media (max-width: 900px) {
  .lg-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .lg-article table {
    display: block;
    overflow-x: auto;
  }
  .lg-article th {
    white-space: normal;
  }
}
@media (max-width: 640px) {
  .lg-page {
    padding: 0 20px;
  }
  .lg-wrap {
    padding-top: 28px;
  }
}

/* 가입·문의·작품 공개 화면의 약관 링크와 만 14세 확인 */
.auth-terms a,
.mx-join-terms a,
.ct-consent-link,
.wr-consent small a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-terms a:hover {
  color: #fff;
}
.auth-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 4px;
  color: #cfd2d6;
  font-size: 13px;
  cursor: pointer;
}
.auth-check input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #fff;
  cursor: pointer;
}
.mx-join-more {
  display: inline-block;
  margin-top: 8px;
  color: #0d0e10;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
}
.mx-join-more:hover {
  text-decoration: underline;
}
.ct-consent-note {
  margin: -4px 0 0 28px;
  color: #8a909c;
  font-size: 12.5px;
}
body.cm-light:has(main.cm-app) > footer.site-footer .sf-bottom {
  padding-right: 84px;
}

/* ===== 신고 (글·댓글·채팅·DM) ===== */
.cm-report-btn .cm-ico {
  width: 15px;
  height: 15px;
}
.cm-card-actions .cm-report-btn {
  margin-left: auto;
  color: var(--cm-muted);
}
.cm-card-actions .cm-report-btn:hover {
  color: #d92d20;
}
body.cm-light .comment .frame-actions .cm-report-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--cm-muted);
}
body.cm-light .comment .frame-actions .cm-report-btn:hover {
  color: #d92d20;
}
.cm-msg-report:hover {
  color: #d92d20;
}
.cm-report .cm-report-body {
  display: grid;
  gap: 14px;
  padding: 22px 24px 20px;
}
.cm-report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cm-report-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.cm-report-x {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--cm-ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.cm-report-x:hover {
  background: var(--cm-hover);
}
.cm-report-target {
  padding: 12px 14px;
  border-radius: 10px;
  background: #f5f6f8;
}
.cm-report-target small {
  color: var(--cm-muted);
  font-size: 12px;
}
.cm-report-target p {
  display: -webkit-box;
  margin: 4px 0 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
}
.cm-report-reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
}
.cm-report-reasons legend {
  margin-bottom: 8px;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
}
.cm-report-reasons label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--cm-line) !important;
  border-radius: 10px;
  font-size: 13.5px;
  cursor: pointer;
}
.cm-report-reasons label:has(input:checked) {
  border-color: var(--cm-ink) !important;
  background: #f5f6f8;
}
.cm-report-reasons input {
  margin: 0;
  accent-color: #0d0e10;
  color-scheme: light;
}
.cm-report-detail {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.cm-report-detail textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--cm-line) !important;
  border-radius: 10px;
  background: #fff;
  color: var(--cm-ink);
  color-scheme: light;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  resize: vertical;
}
.cm-report-detail textarea:focus {
  border-color: var(--cm-ink) !important;
  outline: none;
}
.cm-report-help,
.cm-report-note,
.cm-report-msg {
  margin: 0;
  color: var(--cm-muted);
  font-size: 12.5px;
  line-height: 1.6;
}
.cm-report-msg {
  color: var(--cm-ink);
  font-size: 14px;
}
.cm-report-help a,
.cm-report-note a {
  color: inherit;
  text-decoration: underline;
}
.cm-report-error {
  margin: 0;
  color: #d92d20;
  font-size: 13px;
}
.cm-report-error:empty {
  display: none;
}
.cm-report-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.cm-btn.is-dark {
  border-color: #0d0e10 !important;
  background: #0d0e10;
  color: #fff;
}
.cm-btn.is-dark:hover {
  background: #2b2c30;
}
.cm-report-done {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 12px 0 4px;
  text-align: center;
}
.cm-report-done span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0d0e10;
  color: #fff;
}
.cm-report-done span .cm-ico {
  width: 22px;
  height: 22px;
}
.cm-report-done strong {
  font-size: 16px;
}
.cm-report-done p {
  margin: 0;
  color: var(--cm-muted);
  font-size: 13.5px;
}
@media (max-width: 480px) {
  .cm-report-reasons {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===== 회원 탈퇴 (내 공간 > 프로필 편집) ===== */
.my-modal-actions .my-grow {
  flex: 1;
}
.my-leave-link {
  padding: 0;
  border: 0;
  background: none;
  color: #8a8f98;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.my-leave-link:hover {
  color: #ff6b5e;
}
.my-leave-lead {
  margin: 0;
  color: #eee;
  font-size: 15px;
}
.my-leave-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 14px 16px 14px 34px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  color: #c9ccd1;
  font-size: 14px;
  line-height: 1.5;
}
.my-leave-note {
  margin: 0;
  color: #8a8f98;
  font-size: 12.5px;
  line-height: 1.6;
}
.my-leave-note a {
  color: inherit;
  text-decoration: underline;
}
.my-leave-check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ddd;
  font-size: 14px;
  cursor: pointer;
}
.my-leave-check input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #ff5a4e;
}
.solid.is-danger {
  border-color: #e5483c !important;
  background: #e5483c;
  color: #fff;
}
.solid.is-danger:hover {
  background: #c93a2f;
}

/* 탈퇴 후 안내 */
.st-toast {
  position: fixed;
  z-index: 200;
  bottom: 28px;
  left: 50%;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 12px;
  background: #fff;
  color: #0d0e10;
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
  transform: translateX(-50%);
  transition: opacity .4s ease, transform .4s ease;
}
.st-toast.is-out {
  opacity: 0;
  transform: translate(-50%, 8px);
}
/* 약관 문서: 목차 없이 본문만 (2026-11-16) */
.lg-body {
  display: block;
  max-width: 800px;
}
.lg-wrap {
  max-width: 800px;
}
/* 글 상세: 저장하기는 댓글 바로 옆 (2026-11-16) */
.cm-card-actions .cm-save.is-labelled {
  margin-left: 0;
}
.cm-card-actions .cm-act,
.cm-card-actions .cm-save.is-labelled {
  white-space: nowrap;
}
@media (max-width: 640px) {
  .cm-card-actions .cm-act,
  .cm-card-actions .cm-save.is-labelled {
    padding: 0 10px;
  }
  .cm-card-actions .cm-report-btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

/* 글 상세 아래 버튼: 아이콘만 (좋아요 · 댓글 · 저장) */
.cm-card-actions.is-icons {
  gap: 4px;
}
.cm-card-actions .cm-act.is-icon,
.cm-card-actions.is-icons .cm-save {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 36px;
  padding: 0;
}
.cm-card-actions.is-icons .cm-ico {
  width: 20px;
  height: 20px;
}

/* 더보기(세로 점 3개) → 신고하기 */
.cm-more-wrap {
  position: relative;
  flex-shrink: 0;
}
.comment-head .cm-more-wrap {
  margin-left: auto;
}
.cm-kebab {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0 !important;
  border-radius: 8px;
  background: none;
  color: var(--cm-muted);
  cursor: pointer;
}
.cm-kebab:hover,
.cm-kebab[aria-expanded="true"] {
  background: var(--cm-hover);
  color: var(--cm-ink);
}
.cm-kebab .cm-ico {
  width: 18px;
  height: 18px;
}
.cm-kebab .cm-ico circle {
  fill: currentColor;
}
.comment-head .cm-kebab {
  width: 28px;
  height: 28px;
}
.cm-more-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  right: 0;
  min-width: 140px;
  padding: 4px;
  border: 1px solid var(--cm-line) !important;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(13, 14, 16, .12);
}
.cm-more-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: 0 !important;
  border-radius: 7px;
  background: none;
  color: #d92d20;
  font: inherit;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}
.cm-more-item:hover,
.cm-more-item:focus-visible {
  background: #fef3f2;
  outline: none;
}
.cm-more-item .cm-ico {
  width: 16px;
  height: 16px;
}

/* ===== 작품 평점 — 일시정지하면 흐린 화면 위에 평점 카드 (운영진만 봄) ===== */
.rate-stars {
  display: inline-flex;
  gap: 2px;
  vertical-align: -2px;
}
.rate-stars i,
.st-rate-pick button,
.rate-star-ico {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, .28);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.2 1.3-6.6L2.5 9.3l6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.2 1.3-6.6L2.5 9.3l6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.rate-stars i.is-on,
.rate-star-ico {
  background: #ffc83d;
}
.player-stage {
  position: relative;
}
.player-nav .player-rate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.player-nav .player-rate.is-done {
  background: rgba(255, 200, 61, .14);
}
.st-player.is-rating .st-poster {
  opacity: 1;
  filter: blur(18px) brightness(.42);
  transform: scale(1.08);
}
.st-player.is-rating .st-big {
  opacity: 0;
  visibility: hidden;
}
.st-rate {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 20px 20px 78px;
  overflow-y: auto;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, .25);
  color: #fff;
  font-family: "Inter", "Noto Sans KR", sans-serif;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
.st-rate.is-free {
  z-index: 5;
  padding: 20px;
  background: rgba(0, 0, 0, .55);
}
.st-rate.is-open {
  opacity: 1;
  visibility: visible;
}
.st-rate-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 22px 22px 18px;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 18px;
  background: rgba(18, 18, 20, .72);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}
.st-rate-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.st-rate-card p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.6;
  word-break: keep-all;
}
.st-rate-pick {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.st-rate-pick button {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.st-rate-pick button.is-on {
  background: #ffc83d;
}
.st-rate-pick button:hover {
  transform: scale(1.12);
}
.st-rate-pick:has(button:nth-child(1):hover) button:nth-child(-n+1),
.st-rate-pick:has(button:nth-child(2):hover) button:nth-child(-n+2),
.st-rate-pick:has(button:nth-child(3):hover) button:nth-child(-n+3),
.st-rate-pick:has(button:nth-child(4):hover) button:nth-child(-n+4),
.st-rate-pick:has(button:nth-child(5):hover) button:nth-child(-n+5) {
  background: #ffd76e;
}
.st-rate-pick button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 4px;
}
.st-rate-word {
  min-height: 20px;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600;
}
.st-rate-card textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font: inherit;
  font-size: 14px;
  resize: none;
}
.st-rate-card textarea:focus {
  border-color: rgba(255, 255, 255, .5) !important;
  outline: none;
}
.st-rate-x {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
}
.st-rate-x svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
/* 작품 상세 위쪽: 내가 남긴 평점 */
@media (max-width: 640px) {
  .st-rate {
    padding: 12px 12px 64px;
  }
  .st-rate-card {
    gap: 8px;
    padding: 14px 14px 12px;
  }
  .st-rate-card h3 {
    font-size: 15px;
  }
  .st-rate-pick button {
    width: 30px;
    height: 30px;
  }
  .player-nav .player-rate > span:last-child {
    display: none;
  }
}

/* 평점 카드 단순화 (2026-11-17): 제목 + 별 + 한마디, 별을 누르면 바로 저장. 별 꼭지점은 살짝 둥글게 */
.rate-stars i,
.st-rate-pick button,
.rate-star-ico {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3.6 2.55 5.3 5.8.75-4.25 4 1.06 5.75L12 16.6l-5.16 2.8 1.06-5.75-4.25-4 5.8-.75z' fill='%23000' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3.6 2.55 5.3 5.8.75-4.25 4 1.06 5.75L12 16.6l-5.16 2.8 1.06-5.75-4.25-4 5.8-.75z' fill='%23000' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.st-rate {
  padding: 20px 20px 72px;
}
.st-rate-card {
  width: min(380px, 100%);
  gap: 12px;
  padding: 24px 24px 20px;
}
.st-rate-pick {
  gap: 8px;
  margin-top: 2px;
}
.st-rate-pick button {
  width: 40px;
  height: 40px;
}
.st-rate-word {
  min-height: 20px;
}
@media (max-width: 640px) {
  .st-rate-card {
    padding: 18px 16px 14px;
  }
  .st-rate-pick button {
    width: 34px;
    height: 34px;
  }
}
/* 프로필 사진은 [프로필 편집]에서만 바꿈 — 사진 자체는 누르는 버튼이 아님 (2026-11-17) */
.my-face {
  cursor: default;
}
.my-face:hover .my-avatar {
  opacity: 1;
}

/* ===== 크리에이터 카드 — 가로 넘기기, 누르면 옆으로 펼침 (teamfolio 참고, 2026-11-17) ===== */
.cr-wrap {
  --cr-w: clamp(210px, 21vw, 290px);
  --cr-h: calc(var(--cr-w) * 1.25);
  --cr-panel: calc(var(--cr-w) * 1.08);
  display: block;
  margin-top: 8px;
}
.cr-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 18px;
}
.cr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cr-chips button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, .78);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.cr-chips button span {
  color: rgba(255, 255, 255, .45);
  font-size: 11px;
}
.cr-chips button:hover {
  border-color: rgba(255, 255, 255, .4) !important;
  color: #fff;
}
.cr-chips button[aria-selected="true"] {
  border-color: #fff !important;
  background: #fff;
  color: #0b0b0c;
  font-weight: 600;
}
.cr-chips button[aria-selected="true"] span {
  color: rgba(11, 11, 12, .55);
}
.cr-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  outline: none;
}
.cr-track::-webkit-scrollbar {
  display: none;
}
.cr-card {
  flex: none;
  display: grid;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  scroll-snap-align: start;
  transition: opacity .35s ease;
}
.cr-track.has-open .cr-card:not(.is-open) {
  opacity: .38;
}
.cr-track.has-open .cr-card:not(.is-open):hover {
  opacity: .7;
}
.cr-frame {
  display: flex;
  height: var(--cr-h);
  overflow: hidden;
  border-radius: 14px;
  background: #18181b;
}
.cr-media {
  position: relative;
  flex: 0 0 var(--cr-w);
  overflow: hidden;
}
.cr-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.cr-card:hover .cr-media img {
  transform: scale(1.04);
}
.cr-x {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #0b0b0c;
  font-size: 18px;
  line-height: 1;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.cr-card.is-open .cr-x {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  cursor: pointer;
}
.cr-panel {
  flex: 0 0 0;
  overflow: hidden;
  background: #1c1c1f;
  transition: flex-basis .5s cubic-bezier(.65, 0, .25, 1);
}
.cr-card.is-open .cr-panel {
  flex-basis: var(--cr-panel);
}
.cr-panel-in {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-sizing: border-box;
  width: var(--cr-panel);
  height: 100%;
  padding: 20px 20px 18px;
  opacity: 0;
  transition: opacity .25s ease;
}
.cr-card.is-open .cr-panel-in {
  opacity: 1;
  transition-delay: .22s;
}
.cr-panel-top {
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
}
.cr-bio {
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
  line-height: 1.6;
  word-break: keep-all;
}
.cr-go {
  color: rgba(255, 255, 255, .6);
  font-size: 12.5px;
}
.cr-go b {
  display: inline-block;
  color: #fff;
  transition: transform .25s ease;
}
.cr-card.is-open:hover .cr-go {
  color: #fff;
}
.cr-card.is-open:hover .cr-go b {
  transform: translateX(4px);
}
.cr-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  width: var(--cr-w);
}
.cr-meta strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cr-meta em {
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
.cr-meta small {
  grid-column: 1 / -1;
  overflow: hidden;
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cr-card:focus-visible {
  outline: none;
}
.cr-card:focus-visible .cr-frame {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.cr-empty {
  color: rgba(255, 255, 255, .6);
}
@media (max-width: 640px) {
  .cr-wrap {
    --cr-w: 50vw;
    --cr-panel: calc(100vw - 50vw - 40px);
  }
  .cr-track {
    gap: 12px;
  }
  .cr-bio {
    font-size: 13.5px;
  }
  .cr-panel-in {
    padding: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cr-panel,
  .cr-panel-in,
  .cr-media img {
    transition: none;
  }
}
/* 크리에이터 카드 수정 (2026-11-17 f): 다른 카드 흐리게 안 함, 좌우 버튼은 다른 가로 줄과 같은 버튼, 전체 크리에이터 페이지는 그리드 */
.cr-track.has-open .cr-card:not(.is-open),
.cr-track.has-open .cr-card:not(.is-open):hover {
  opacity: 1;
}
.cr-wrap .cr-track.creator-rail {
  gap: 16px;
  padding: 0 2px 8px;
  scroll-snap-type: x proximity;
}
.cr-wrap .rail-shell.creator-shell > .rail-toolbar .rail-button {
  top: 0;
  height: var(--cr-h);
}
.cr-wrap.is-grid .cr-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(200px, 19vw, 260px), 1fr));
  gap: 32px 18px;
  overflow: visible;
}
.cr-wrap.is-grid .cr-card {
  min-width: 0;
}
.cr-wrap.is-grid .cr-frame {
  height: auto;
  aspect-ratio: 4 / 5;
}
.cr-wrap.is-grid .cr-media {
  flex: 1 1 auto;
  min-width: 0;
}
.cr-wrap.is-grid .cr-card.is-open {
  grid-column: span 2;
}
.cr-wrap.is-grid .cr-card.is-open .cr-frame {
  aspect-ratio: 8 / 5;
}
.cr-wrap.is-grid .cr-card.is-open .cr-media {
  flex: 0 0 calc(50% - 9px);
}
.cr-wrap.is-grid .cr-card.is-open .cr-panel {
  flex: 1 1 auto;
}
.cr-wrap.is-grid .cr-panel-in {
  width: auto;
  min-width: 200px;
}
.cr-wrap.is-grid .cr-meta {
  width: 100%;
}
.cr-wrap.is-grid .cr-card.is-open .cr-meta {
  width: calc(50% - 9px);
}
@media (max-width: 640px) {
  .cr-wrap.is-grid .cr-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }
  .cr-wrap.is-grid .cr-card.is-open .cr-frame {
    aspect-ratio: 5 / 4;
  }
  .cr-wrap.is-grid .cr-panel-in {
    min-width: 0;
  }
}
/* 그리드에서 펼칠 때는 너비 전환 대신 JS(FLIP)로 부드럽게 — 패널 글자만 살짝 늦게 */
.cr-wrap.is-grid .cr-panel {
  transition: none;
}
.cr-wrap.is-grid .cr-card {
  will-change: transform;
}
.cr-wrap.is-grid .cr-card.is-open .cr-panel-in {
  transition-delay: .18s;
}
/* 크리에이터 카드 — iOS Safari에서 펼친 패널 글자·닫기 버튼이 안 그려지던 문제 방지 */
.cr-frame {
  position: relative;
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  transform: translateZ(0);
}
.cr-media {
  z-index: 0;
}
.cr-x {
  z-index: 2;
}
.cr-panel {
  position: relative;
  z-index: 1;
}
@media (hover: none) {
  .cr-card:hover .cr-media img {
    transform: none;
  }
}
/* 모바일에서 카드를 펼치면 화면을 꽉 채우므로 넘기기 버튼은 잠시 숨김 (닫으면 다시 보임) */
@media (max-width: 640px) {
  .cr-wrap.has-open .rail-shell > .rail-toolbar {
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }
}
/* 가로 줄(홈·발견하기) 카드 너비를 직접 지정 — 사파리는 접힌 패널(너비 0)의 글 너비까지 카드 너비에 넣어서
   펼치지 않아도 오른쪽에 빈 칸이 붙던 문제 */
.cr-wrap:not(.is-grid) .cr-frame {
  width: var(--cr-w);
  transition: width .5s cubic-bezier(.65, 0, .25, 1);
}
.cr-wrap:not(.is-grid) .cr-card.is-open .cr-frame {
  width: calc(var(--cr-w) + var(--cr-panel));
}
.cr-wrap:not(.is-grid) .cr-panel {
  flex: 1 1 auto;
  min-width: 0;
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .cr-wrap:not(.is-grid) .cr-frame {
    transition: none;
  }
}
/* ═════ 이벤트·공모전 — 목록(진행 중/종료) + 상세 (2026-11-18) ═════ */
.cm-main.cm-events {
  justify-self: stretch;
  width: 100%;
  max-width: 1080px !important;
  margin-inline: auto;
}
.ct-board {
  padding: 28px clamp(20px, 4vw, 56px) 40px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(17, 17, 26, .04), 0 10px 30px rgba(17, 17, 26, .05);
}
.ct-board-top {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.ct-seg {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 14px;
  background: #f2f3f5;
}
.ct-seg button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 104px;
  height: 40px;
  justify-content: center;
  padding: 0 18px;
  border-radius: 10px;
  background: transparent;
  color: var(--cm-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.ct-seg button span {
  min-width: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(17, 17, 26, .08);
  font-size: 11.5px;
  line-height: 18px;
}
.ct-seg button[aria-selected="true"] {
  background: #fff;
  color: var(--cm-ink);
  box-shadow: 0 1px 2px rgba(17, 17, 26, .08), 0 4px 12px rgba(17, 17, 26, .08);
}
.ct-seg button[aria-selected="true"] span {
  background: var(--cm-ink);
  color: #fff;
}
.ct-propose {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  padding: 8px 4px;
  background: none;
  color: var(--cm-muted);
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.ct-propose:hover {
  color: var(--cm-ink);
}
.ct-list {
  display: grid;
}
.ct-row {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: 36px 0;
}
.ct-row + .ct-row {
  border-top: 1px solid #f0f1f3 !important;
}
.ct-row-text {
  display: grid;
  justify-items: start;
  min-width: 0;
}
.ct-cat {
  color: var(--cm-muted);
  font-size: 13px;
  font-weight: 500;
}
.ct-cat b {
  color: var(--cm-accent);
  font-weight: 600;
}
.ct-row h2 {
  margin: 12px 0 0;
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.02em;
}
.ct-row h2 a {
  display: -webkit-box;
  overflow: hidden;
  color: var(--cm-ink);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.ct-row h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ct-desc {
  max-width: 100%;
  margin: 8px 0 0;
  overflow: hidden;
  color: var(--cm-muted);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ct-key {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 20px 0 0;
  font-size: 19px;
}
.ct-key span {
  color: var(--cm-sub);
  font-weight: 600;
}
.ct-key strong {
  color: var(--cm-accent);
  font-weight: 700;
}
.ct-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  margin-top: 24px;
  padding: 0 14px 0 16px;
  border-radius: 8px;
  background: #f2f3f5;
  color: var(--cm-ink);
  font-size: 14px;
  font-weight: 600;
  transition: background .2s ease;
}
.ct-more:hover {
  background: #e6e8eb;
}
.ct-row-media {
  display: block;
  min-width: 0;
}
.ct-cover {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: var(--tone);
}
.ct-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.ct-cover .cm-ev-thumb-ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
}
.ct-cover.is-row {
  aspect-ratio: 16 / 9;
}
.ct-row-media:hover .ct-cover img {
  transform: scale(1.03);
}
.ct-row.is-past .ct-cover img {
  filter: grayscale(.7);
  opacity: .8;
}
.ct-empty {
  padding: 72px 0 40px;
  color: var(--cm-muted);
  text-align: center;
}

/* 상세 */
.ct-detail {
  display: grid;
  gap: 28px;
  padding-bottom: 40px;
}
.ct-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: start;
  color: var(--cm-sub);
  font-size: 14px;
}
.ct-back:hover {
  color: var(--cm-ink);
}
.ct-back .cm-ico {
  width: 18px;
  height: 18px;
}
.ct-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(17, 17, 26, .04), 0 10px 30px rgba(17, 17, 26, .05);
}
.ct-hero-bg {
  position: absolute;
  inset: 0;
}
.ct-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
  filter: blur(36px) saturate(1.15);
  transform: scale(1.2);
}
.ct-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .92) 70%, #fff);
}
.ct-hero-in {
  position: relative;
  display: grid;
  justify-items: center;
  padding: clamp(32px, 5vw, 56px) 24px clamp(36px, 5vw, 56px);
  text-align: center;
}
.ct-cover.is-poster {
  width: min(420px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(17, 17, 26, .18);
}
.ct-date {
  margin: 22px 0 0;
  color: var(--cm-sub);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.ct-hero h1 {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--cm-ink);
  font-size: clamp(25px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.025em;
}
.ct-sub {
  max-width: 640px;
  margin: 12px 0 0;
  color: var(--cm-sub);
  font-size: 15.5px;
  line-height: 1.6;
}
.ct-apply {
  min-width: 200px;
  height: 52px;
  margin-top: 28px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--cm-ink);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.ct-apply:hover:not(:disabled) {
  background: #000;
  transform: translateY(-1px);
}
.ct-apply:disabled,
.ct-bar.is-apply:disabled {
  background: #e4e7eb;
  color: var(--cm-muted);
  cursor: default;
}
.ct-panel {
  display: grid;
  gap: 24px;
  padding: 28px clamp(20px, 4vw, 40px);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(17, 17, 26, .04), 0 10px 30px rgba(17, 17, 26, .05);
}
.ct-count {
  display: grid;
  justify-items: center;
  gap: 12px;
}
.ct-count p {
  margin: 0;
  color: var(--cm-muted);
  font-size: 13px;
}
.ct-count-boxes {
  display: flex;
  gap: 8px;
}
.ct-count-boxes span {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 64px;
  padding: 10px 6px 8px;
  border-radius: 12px;
  background: #f4f5f7;
}
.ct-count-boxes b {
  color: var(--cm-ink);
  font-size: 26px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.ct-count-boxes small {
  color: var(--cm-muted);
  font-size: 11px;
}
.ct-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ct-facts div {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px 12px;
  border: 1px solid #eceef1 !important;
  border-radius: 16px;
  text-align: center;
}
.ct-facts span {
  color: var(--cm-muted);
  font-size: 13px;
}
.ct-facts strong {
  color: var(--cm-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}
.ct-facts strong.is-accent {
  color: var(--cm-accent);
}
.ct-anchors {
  position: sticky;
  top: 124px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 4px;
  justify-self: center;
  padding: 5px;
  border-radius: 14px;
  background: rgba(242, 243, 245, .92);
  backdrop-filter: blur(8px);
}
.ct-anchors a {
  padding: 8px 16px;
  border-radius: 10px;
  color: var(--cm-sub);
  font-size: 14px;
  font-weight: 600;
}
.ct-anchors a:hover {
  background: #fff;
  color: var(--cm-ink);
}
.ct-guide,
.ct-notes {
  scroll-margin-top: 190px;
}
.ct-guide {
  padding: clamp(28px, 4vw, 48px);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(17, 17, 26, .04), 0 10px 30px rgba(17, 17, 26, .05);
}
.ct-guide > h2,
.ct-notes > h2,
.ct-others > h2 {
  margin: 0;
  color: var(--cm-ink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.ct-guide > h2::before,
.ct-notes > h2::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 12px;
  border-radius: 2px;
  background: var(--cm-accent);
}
.ct-guide-body {
  margin-top: 8px;
  color: var(--cm-text);
  font-size: 15px;
  line-height: 1.75;
}
.ct-guide-body h3 {
  margin: 28px 0 8px;
  color: var(--cm-ink);
  font-size: 16.5px;
  font-weight: 700;
}
.ct-guide-body h3::before {
  content: "◦ ";
  color: var(--cm-accent);
}
.ct-guide-body p {
  margin: 0 0 6px;
  color: var(--cm-text);
}
.ct-guide-body ul,
.ct-notes ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 20px;
}
.ct-guide-body li::marker,
.ct-notes li::marker {
  color: #b5b9c0;
}
.ct-notes {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  padding: 8px clamp(4px, 2vw, 16px);
}
.ct-notes ul {
  color: var(--cm-sub);
  font-size: 14.5px;
  line-height: 1.7;
}
.ct-bars {
  display: grid;
  gap: 12px;
}
.ct-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 64px;
  padding: 0 24px;
  border-radius: 12px;
  font: inherit;
  font-size: 15.5px;
  text-align: left;
}
.ct-bar.is-file {
  border: 1px solid #e4e7eb !important;
  background: #fff;
  color: var(--cm-ink);
  font-weight: 500;
  transition: border-color .2s ease, background .2s ease;
}
.ct-bar.is-file:hover {
  border-color: #c9ced6 !important;
  background: #fafbfc;
}
.ct-bar.is-apply {
  justify-content: center;
  background: var(--cm-ink);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease;
}
.ct-bar.is-apply:hover:not(:disabled) {
  background: #000;
}
.ct-others {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
.ct-others-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ct-other {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 8px 8px 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(17, 17, 26, .04), 0 8px 24px rgba(17, 17, 26, .06);
  color: var(--cm-ink);
  transition: transform .25s ease;
}
.ct-other:hover {
  transform: translateY(-2px);
}
.ct-other .ct-cover {
  aspect-ratio: 16 / 9;
  margin-bottom: 8px;
  border-radius: 12px;
}
.ct-other .ct-cat,
.ct-other strong,
.ct-other small {
  padding: 0 8px;
}
.ct-other strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.ct-other small {
  color: var(--cm-muted);
  font-size: 13px;
}
.ct-other small b {
  color: var(--cm-accent);
}
@media (max-width: 760px) {
  .ct-board {
    padding: 20px 16px 24px;
    border-radius: 20px;
  }
  .ct-board-top {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .ct-propose {
    position: static;
    transform: none;
  }
  .ct-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 24px 0;
  }
  .ct-row-media {
    order: -1;
  }
  .ct-key {
    margin-top: 14px;
    font-size: 17px;
  }
  .ct-more {
    margin-top: 16px;
  }
  .ct-hero,
  .ct-panel,
  .ct-guide {
    border-radius: 20px;
  }
  .ct-count-boxes span {
    min-width: 56px;
  }
  .ct-facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .ct-facts div {
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
    text-align: left;
  }
  .ct-facts strong {
    justify-self: end;
    font-size: 16px;
  }
  .ct-anchors {
    top: 112px;
  }
  .ct-notes {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .ct-others-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ct-cover img,
  .ct-apply,
  .ct-other {
    transition: none;
  }
}
/* 이벤트·공모전 — 종류 필터(전체/이벤트/공모전) 밑줄 탭 */
.ct-kinds {
  display: flex;
  gap: 22px;
  margin: 0 0 20px;
  border-bottom: 1px solid #eef0f2 !important;
}
.ct-kinds button {
  position: relative;
  padding: 6px 2px 12px;
  background: none;
  color: #a0a4ab;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: color .2s ease;
}
.ct-kinds button:hover {
  color: var(--cm-sub);
}
.ct-kinds button[aria-selected="true"] {
  color: var(--cm-ink);
}
.ct-kinds button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--cm-ink);
}
/* 이벤트·공모전 글자 크기 조정 (2026-11-18 e) */
.ct-kinds {
  justify-content: center;
  gap: 18px;
}
.ct-kinds button {
  padding: 6px 2px 10px;
  font-size: 14.5px;
}
.ct-row h2 {
  font-size: 24px;
}
.ct-desc {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.6;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.ct-key {
  font-size: 16px;
}
@media (max-width: 760px) {
  .ct-row h2 {
    font-size: 21px;
  }
  .ct-key {
    font-size: 15px;
  }
}
/* 커뮤니티 왼쪽 메뉴 맨 아래 [탭 설명 보기] 스위치 — '다시 보지 않기'로 끈 설명 카드를 다시 켬 */
.cm-nav-foot {
  display: none;
}
@media (min-width: 1025px) {
  .cm-nav {
    display: flex;
    flex-direction: column;
  }
  .cm-nav-foot {
    display: block;
    margin-top: auto;
    padding-top: 20px;
  }
}
.cm-hint-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: none;
  color: var(--cm-muted);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.cm-hint-toggle:hover {
  background: var(--cm-hover);
  color: var(--cm-ink);
}
.cm-hint-toggle .cm-ico {
  flex: none;
  width: 18px;
  height: 18px;
}
.cm-hint-toggle .cm-nav-text {
  flex: 1;
}
.cm-hint-toggle i {
  position: relative;
  flex: none;
  width: 30px;
  height: 18px;
  border-radius: 999px;
  background: #d5d9df;
  transition: background .2s ease;
}
.cm-hint-toggle i::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
  transition: transform .2s ease;
}
.cm-hint-toggle[aria-pressed="true"] i {
  background: var(--cm-ink);
}
.cm-hint-toggle[aria-pressed="true"] i::after {
  transform: translateX(12px);
}
/* ═════ 쇼케이스 — 넓은 화면 3열 그리드 (2026-11-18 g) ═════ */
.cm-app.is-gallery .cm-stage {
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  padding: 0 clamp(16px, 2.6vw, 40px) 64px;
}
.cm-app.is-gallery .cm-main {
  justify-self: stretch;
  max-width: none;
}
.cm-app.is-gallery .cm-composer {
  max-width: 680px;
}
.cm-feed.is-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}
.cm-feed.is-tiles {
  gap: 28px 20px;
}
.cm-feed.is-grid .cm-card {
  min-width: 0;
}
.sc-tile {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.sc-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #e9ebee;
}
.sc-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.sc-tile:hover .sc-thumb img {
  transform: scale(1.03);
}
.sc-thumb-ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #a0a4ab;
}
.sc-play {
  position: absolute;
  top: 10px;
  left: 10px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
}
.sc-play .cm-ico {
  width: 15px;
  height: 15px;
}
.sc-meta {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.sc-face {
  flex: none;
  padding-top: 1px;
}
.sc-text {
  display: grid;
  flex: 1;
  gap: 2px;
  min-width: 0;
}
.sc-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--cm-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.sc-title:hover {
  text-decoration: underline;
}
.sc-author {
  overflow: hidden;
  color: var(--cm-sub);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sc-author:hover {
  color: var(--cm-ink);
}
.sc-text small {
  color: var(--cm-muted);
  font-size: 12px;
}
.sc-meta .cm-save {
  flex: none;
}
@media (max-width: 1100px) {
  .cm-feed.is-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .cm-feed.is-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* 커뮤니티 — 글이 적어도 푸터가 화면 맨 아래에 붙도록 (헤더 64px 제외한 높이 채움) */
body.cm-light main.cm-app {
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
}
/* ═════ 기간 선택 달력 (협업·잡스 글쓰기, 2026-11-18 i) ═════ */
.rp-field {
  position: relative;
}
.rp-field > label {
  display: block;
  margin-bottom: 12px;
  color: var(--cm-ink, #191b1f);
  font-size: 14px;
  font-weight: 600;
}
.rp-input {
  cursor: pointer;
  caret-color: transparent;
}
.rp-pop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  width: 300px;
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  padding: 16px 16px 12px;
  border: 1px solid #eceef1 !important;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(17, 17, 26, .05), 0 18px 40px rgba(17, 17, 26, .12);
  opacity: 0;
  transform: translateY(-6px) scale(.98);
  transform-origin: top left;
  transition: opacity .18s ease, transform .22s cubic-bezier(.2, .8, .2, 1);
}
.rp-pop.is-open {
  opacity: 1;
  transform: none;
}
.rp-pop span {
  margin: 0;
  font-size: inherit;
}
.rp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.rp-head strong {
  color: #111;
  font-size: 15px;
  font-weight: 700;
}
.rp-nav {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #eceef1 !important;
  border-radius: 50%;
  background: #fff;
  color: #111;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.rp-nav:hover:not(:disabled) {
  background: #f4f5f7;
}
.rp-nav:active:not(:disabled) {
  transform: scale(.92);
}
.rp-nav:disabled {
  opacity: .3;
  cursor: default;
}
.rp-week,
.rp-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.rp-week span {
  display: block;
  padding-bottom: 6px;
  color: #a1a5ad;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}
.rp-grid {
  row-gap: 2px;
}
.rp-grid.is-next {
  animation: rp-in-next .28s cubic-bezier(.2, .8, .2, 1);
}
.rp-grid.is-prev {
  animation: rp-in-prev .28s cubic-bezier(.2, .8, .2, 1);
}
@keyframes rp-in-next {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes rp-in-prev {
  from { opacity: 0; transform: translateX(-18px); }
  to { opacity: 1; transform: none; }
}
.rp-day {
  position: relative;
  display: grid;
  place-items: center;
  height: 36px;
  padding: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}
.rp-day span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #111;
  font-size: 13.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.rp-day:hover:not(:disabled) span {
  background: #f1f2f4;
}
.rp-day:active:not(:disabled) span {
  transform: scale(.9);
}
.rp-day.is-today span {
  box-shadow: inset 0 0 0 1.5px #111;
}
.rp-day.is-past {
  cursor: default;
}
.rp-day.is-past span {
  color: #cfd2d7;
}
/* 기간 띠 */
.rp-day.is-in::before,
.rp-day.has-band::before {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 0;
  right: 0;
  background: #f1f2f4;
}
.rp-day.is-start.has-band::before {
  left: 50%;
}
.rp-day.is-end.has-band::before {
  right: 50%;
}
.rp-day.is-in span {
  background: transparent;
}
.rp-day.is-start span,
.rp-day.is-end span {
  background: #111 !important;
  color: #fff;
}
.rp-day.is-preview.is-end span {
  background: #3a3c42 !important;
}
.rp-day:focus-visible {
  outline: none;
}
.rp-day:focus-visible span {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #506cf0;
}
.rp-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f0f1f3 !important;
}
.rp-hint {
  color: #8a8f98;
  font-size: 12px;
}
.rp-clear {
  padding: 4px 8px;
  border-radius: 6px;
  background: none;
  color: #111;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.rp-clear:hover:not(:disabled) {
  background: #f4f5f7;
}
.rp-clear:disabled {
  color: #c4c7cc;
  cursor: default;
}
@media (prefers-reduced-motion: reduce) {
  .rp-pop,
  .rp-grid.is-next,
  .rp-grid.is-prev {
    transition: none;
    animation: none;
  }
}
.rp-clear {
  flex: none;
  white-space: nowrap;
}
/* 쇼케이스 '작품 공개' 글쓰기 — 본문엔 글만, 영상은 위 '작품 영상 링크' 칸 (2026-11-18 j) */
.cm-form.is-showcase .wr-tools,
.cm-form.is-showcase .wr-media-note,
.cm-form.is-showcase .wr-video-input,
.cm-form.is-showcase .wr-block {
  display: none !important;
}
.wr-film > label {
  display: block;
  margin-bottom: 12px;
  color: var(--cm-ink);
  font-size: 14px;
  font-weight: 600;
}
.wr-film .field.is-invalid {
  border-color: #e5484d !important;
}
.wr-film-preview:empty {
  display: none;
}
.wr-film-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 6px 12px 6px 6px;
  border-radius: 10px;
  background: #f4f5f7;
  color: var(--cm-sub);
  font-size: 13px;
}
.wr-film-chip img {
  width: 64px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
}
.wr-film-chip strong {
  color: var(--cm-ink);
}
.cm-form button[type="submit"]:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.wr-cover-field[hidden] {
  display: none !important;
}
.wr-film[hidden] {
  display: none !important;
}
.cm-form .write-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
/* 글쓰기 — '내용' 제목도 다른 칸 제목과 같은 크기·굵기, 빈 필수 칸은 빨간 테두리 (2026-11-18 n) */
body.cm-light .wr-label-row > span {
  margin-bottom: 12px;
  color: var(--cm-ink);
  font-size: 14px;
  font-weight: 600;
}
.cm-form .field.is-invalid,
.cm-form .wr-box.is-invalid {
  border-color: #e5484d !important;
}
.cm-form .field.is-invalid:focus,
.cm-form .wr-box.is-invalid:focus-within {
  box-shadow: 0 0 0 3px rgba(229, 72, 77, .12);
}
.cm-form .write-roles.is-invalid label span {
  box-shadow: inset 0 0 0 1px #e5484d;
}
.cm-portfolio-link {
  color: var(--cm-accent);
  word-break: break-all;
}
.cm-portfolio-link:hover {
  text-decoration: underline;
}
/* 이벤트·공모전 상세 히어로 — 대표 이미지를 어둡게 블러 처리한 배경 (라우드 상세 참고, 2026-11-18 o) */
.ct-hero {
  background: #111;
}
.ct-hero-bg img {
  opacity: 1;
  filter: blur(28px) saturate(1.1) brightness(.75);
  transform: scale(1.15);
}
.ct-hero-bg::after {
  background: linear-gradient(180deg, rgba(10, 10, 12, .55), rgba(10, 10, 12, .62) 60%, rgba(10, 10, 12, .72));
}
.ct-hero .ct-date {
  color: rgba(255, 255, 255, .62);
}
.ct-hero h1 {
  color: #fff;
}
.ct-hero .ct-sub {
  color: rgba(255, 255, 255, .72);
}
.ct-hero .ct-cover.is-poster {
  box-shadow: 0 20px 48px rgba(0, 0, 0, .45);
}
.ct-hero .ct-apply {
  background: #fff;
  color: #111;
}
.ct-hero .ct-apply:hover:not(:disabled) {
  background: #f1f2f4;
}
.ct-hero .ct-apply:disabled {
  background: rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .55);
}
.ct-hero-bg img {
  filter: blur(22px) saturate(1.15) brightness(.85);
  transform: scale(1.12);
}
.ct-hero-bg::after {
  background: linear-gradient(180deg, rgba(10, 10, 12, .42), rgba(10, 10, 12, .5) 60%, rgba(10, 10, 12, .62));
}
/* 커뮤니티 모바일 — 위쪽 칩 줄 대신 햄버거 메뉴 안에 커뮤니티 공간 메뉴 (2026-11-18 p) */
@media (max-width: 1024px) {
  body.cm-light .cm-app > .cm-nav {
    display: none !important;
  }
}
.mobile-menu.is-community .mm-cm {
  display: grid;
  gap: 22px;
  margin-top: 28px;
  overflow-y: auto;
}
.mm-cm-group {
  display: grid;
  gap: 2px;
}
.mm-cm-label {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, .42);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.mm-cm-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.mm-cm-link .cm-ico {
  flex: none;
  width: 20px;
  height: 20px;
  opacity: .75;
}
.mm-cm-link .cm-nav-text {
  flex: 1;
}
.mm-cm-link:hover,
.mm-cm-link:focus-visible {
  background: rgba(255, 255, 255, .06);
  color: #fff;
}
.mm-cm-link.is-active {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-weight: 700;
}
.mm-cm-link.is-active .cm-ico {
  opacity: 1;
}
.mm-cm-link .cm-nav-count {
  min-width: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}
.mm-cm .mm-cm-contact {
  margin-top: 4px;
}
.mm-cm .mm-cm-contact {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 8px;
  background: #fff;
  color: #080808;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.mobile-menu.is-community .mobile-menu-signature {
  display: none;
}
.mobile-menu.is-community .mm-cm {
  gap: 16px;
  max-height: calc(100dvh - 110px);
  margin-top: 20px;
  padding-bottom: 24px;
  overscroll-behavior: contain;
}
.mm-cm-link {
  min-height: 42px;
  font-size: 16px;
}
/* 쇼케이스 장르 (2026-11-18 q) */
.write-genres legend small {
  margin-left: 6px;
  color: var(--cm-muted);
  font-size: 12px;
  font-weight: 400;
}
.cm-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0;
}
.cm-genres span {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--cm-accent-bg);
  color: var(--cm-accent);
  font-size: 12.5px;
  font-weight: 600;
}
.sc-genres {
  overflow: hidden;
  color: var(--cm-accent);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 오리지널 페이지 — 프로덕션 라인업 레이아웃 (2026-11-18 · 좌우 폭은 레퍼런스(Utopai)처럼 화면의 61%, 모든 구역 같은 폭) */
main.og-page { --og-w: min(calc(100% - 40px), max(61vw, 900px)); padding: 0 0 40px; }
.og-page h1, .og-page h2, .og-page h3 { letter-spacing: -0.02em; }
.og-eyebrow { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: #bdbdbd; text-transform: uppercase; margin-bottom: 16px; }
.og-more { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: #e8e8e8; text-decoration: none; }
.og-more::after { content: "→"; transition: transform .2s ease; }
.og-more:hover { color: #fff; }
.og-more:hover::after { transform: translateX(3px); }
.og-hero { position: relative; height: min(calc(100svh - 96px), 960px); min-height: 460px; overflow: hidden; display: grid; place-items: center; }
.og-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.og-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,.28), rgba(0,0,0,.55) 70%), linear-gradient(180deg, transparent 55%, #050505); }
.og-hero h1 { position: relative; z-index: 1; margin: 0; padding: 0 20px; text-align: center; font-size: clamp(50px, 7vw, 112px); font-weight: 700; color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.og-intro { width: min(calc(100% - 40px), max(32vw, 600px)); margin: 0 auto; padding: 140px 0 130px; }
.og-intro h2 { font-size: clamp(36px, 3.6vw, 58px); font-weight: 700; line-height: 1.2; margin: 0 0 40px; word-break: keep-all; }
.og-intro p { font-size: 18px; line-height: 1.85; color: #b9b9b9; margin: 0 0 26px; word-break: keep-all; }
.og-glance { width: var(--og-w); margin: 0 auto; text-align: center; padding: 40px 0 130px; }
.og-glance h2 { font-size: clamp(36px, 3.2vw, 52px); font-weight: 400; margin: 0 0 76px; }
.og-stats { display: grid; grid-template-columns: repeat(var(--og-cols, 4), minmax(0, 1fr)); gap: 28px; }
.og-stats strong { display: block; font-size: clamp(56px, 5.6vw, 92px); font-weight: 700; line-height: 1; color: #fff; }
.og-stats span { display: block; margin-top: 16px; font-size: 15px; letter-spacing: .06em; color: #a3a3a3; }
.og-lineup { width: var(--og-w); margin: 0 auto; padding: 0 0 80px; display: grid; gap: 150px; }
.og-item { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.og-item-media { display: block; aspect-ratio: 2.4 / 1; overflow: hidden; background: #111; }
.og-item-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.og-item:hover .og-item-media img { transform: scale(1.03); }
.og-item-info h3 { font-size: 28px; font-weight: 600; margin: 0 0 12px; line-height: 1.25; }
.og-item-info h3 a { color: #fff; text-decoration: none; }
.og-item-status, .og-item-kind { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 8px; }
.og-item-status { font-size: 14px; color: #8f8f8f; }
.og-item-kind { font-size: 16px; color: #e6e6e6; }
.og-item-status span + span::before, .og-item-kind span + span::before { content: "·"; margin: 0 8px; color: #6d6d6d; }
.og-status:not([data-status="공개 중"]) { color: #fff; }
.og-item-info dl { margin: 30px 0 0; }
.og-item-info dt { font-size: 13px; color: #8a8a8a; margin-bottom: 6px; }
.og-item-info dd { margin: 0; font-size: 17px; color: #f1f1f1; }
.og-item-info .og-more { margin-top: 40px; }
.og-partner { width: var(--og-w); margin: 0 auto; padding: 150px 0 160px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 44px; align-items: start; }
.og-partner h2 { font-size: clamp(34px, 3vw, 50px); font-weight: 400; line-height: 1.18; margin: 0 0 30px; word-break: keep-all; }
.og-partner em { font-style: italic; font-weight: 300; }
.og-partner img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.og-criteria { width: var(--og-w); margin: 0 auto; padding: 60px 0 140px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 44px; align-items: start; }
.og-criteria h2 { font-size: clamp(32px, 2.9vw, 50px); font-weight: 400; line-height: 1.2; margin: 0 0 32px; word-break: keep-all; }
.og-criteria p { font-size: 17px; line-height: 1.9; color: #b9b9b9; margin: 0 0 28px; word-break: keep-all; }
.og-criteria-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.og-criteria-grid a { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.og-criteria-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.og-criteria-grid a:hover img { transform: scale(1.04); }
@media (max-width: 1200px) {
  .og-item { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 32px; }
  .og-item-info h3 { font-size: 24px; }
  .og-criteria { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .og-hero { height: 62svh; min-height: 340px; }
  .og-intro { padding: 80px 0 70px; }
  .og-intro p, .og-criteria p { font-size: 16px; }
  .og-glance { padding: 20px 0 80px; }
  .og-glance h2 { margin-bottom: 48px; }
  .og-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .og-stats span { font-size: 14px; }
  .og-lineup { gap: 64px; padding-bottom: 40px; }
  .og-item, .og-partner, .og-criteria { grid-template-columns: 1fr; }
  .og-item { gap: 20px; }
  .og-item-media { aspect-ratio: 16 / 9; }
  .og-item-info h3 { font-size: 22px; }
  .og-item-kind { font-size: 15px; }
  .og-item-info dd { font-size: 16px; }
  .og-item-info dl { margin-top: 18px; }
  .og-item-info .og-more { margin-top: 24px; font-size: 15px; }
  .og-partner { padding: 80px 0 90px; gap: 28px; }
  .og-criteria { padding: 40px 0 80px; gap: 36px; }
  .og-criteria-grid { gap: 10px; }
}

/* 커뮤니티 상단 '새 글' 버튼 — 글자 오른쪽 + 아이콘, 조금 크게 (2026-11-18) */
.cm-newpost.cm-head-new { height: 38px; padding: 0 14px 0 16px; gap: 6px; font-size: 15px; }
.cm-newpost.cm-head-new .cm-ico { width: 16px; height: 16px; stroke-width: 2.2; }

/* 커뮤니티 왼쪽 탭 — 새 글 숫자 (2026-11-18) */
.cm-nav-count.is-new { border-color: var(--cm-dark) !important; background: var(--cm-dark); color: #fff; font-weight: 600; }

/* 크리에이터 프로필 버튼 — 모바일에서 [후원하기][연락하기] / [관심 크리에이터] 2단, 높이 고정 (2026-11-18) */
@media (max-width: 768px) {
  .creator-profile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .creator-profile-actions:has(.creator-support) #follow-creator { grid-column: 1 / -1; }
  .creator-profile-actions > * { display: flex; align-items: center; justify-content: center; height: 48px; min-height: 0; padding: 0 14px; white-space: nowrap; line-height: 1; font-size: 14px; }
}

/* 커뮤니티 모바일 메뉴 — 아이콘 없이, 오른쪽 순서 번호, 숫자 배지는 글자 오른쪽 위에 작게 (2026-11-18) */
.mm-cm-link { gap: 12px; }
.mm-cm-link .cm-nav-text { flex: 1; display: inline-flex; align-items: flex-start; gap: 3px; overflow: visible !important; }
.mm-cm-link .cm-nav-text .cm-nav-count {
  position: relative; top: -6px; flex: none; min-width: 15px; height: 15px; margin: 0; padding: 0 4px;
  border: 0 !important; border-radius: 999px; background: rgba(255, 255, 255, .22); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 15px; text-align: center;
}
.mm-cm-link .cm-nav-text .cm-nav-count.is-new { background: #fff; color: #080808; }
.mm-cm-link .mobile-menu-number { flex: none; width: auto; font-size: 14px; color: #8a8a8a; }
.mm-cm-link.is-active .mobile-menu-number { color: #fff; }

/* 커뮤니티 모바일 메뉴 글꼴 — OTT 햄버거 메뉴와 똑같이 (2026-11-18) */
.mobile-menu.is-community .mm-cm-link {
  min-height: 54px; padding: 0; border-radius: 0; background: none !important;
  font-family: "Noto Sans KR", sans-serif; font-size: 18px; font-weight: 400; letter-spacing: 0; color: #b8b8b8;
}
.mobile-menu.is-community .mm-cm-link:hover,
.mobile-menu.is-community .mm-cm-link:focus-visible,
.mobile-menu.is-community .mm-cm-link.is-active { color: #fff; font-weight: 400; }
.mobile-menu.is-community .mm-cm-link .mobile-menu-number { flex: 0 0 var(--menu-control-size); text-align: center; font-family: monospace; font-size: 16px; font-weight: 400; color: #999; }
.mobile-menu.is-community .mm-cm-link.is-active .mobile-menu-number { color: #fff; }
.mobile-menu.is-community .mm-cm-group { gap: 0; }
.mobile-menu.is-community .mm-cm .mm-cm-contact { font-family: "Noto Sans KR", sans-serif; font-size: 16px; font-weight: 700; }
html[lang="en"] .mobile-menu.is-community .mm-cm-link { font-family: "Michroma", "Inter", sans-serif; letter-spacing: 0.02em; }
html[lang="en"] .mobile-menu.is-community .mm-cm .mm-cm-contact { font-family: "Inter", "Noto Sans KR", sans-serif; }

/* 가입 마지막 단계: 닉네임 + 약관 동의 (login.js stepProfile) — 테두리는 전역 border:0 규칙 때문에 box-shadow로 */
.auth.is-solo .auth-setup {
  max-width: 380px;
  margin: 24px auto 0;
  gap: 8px;
}
.auth-label {
  margin: 0 2px 2px;
  color: #cfd2d6;
  font-size: 13px;
  font-weight: 600;
}
.auth-label b {
  color: #ff6b3d;
}
.auth-setup .auth-name-note {
  margin: 0 2px 14px;
}
.auth-agree {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}
.auth-agree-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 46px;
  padding: 0 6px 0 16px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px #3a3a3e;
}
.auth-agree-row > label,
.auth-agree-all {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: #e9eaec;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}
.auth-agree-row input,
.auth-agree-all input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #fff;
  cursor: pointer;
}
.auth-agree-more {
  background: transparent;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  color: #cfd2d6;
}
.auth-agree-more:hover {
  background: #26262a;
}
.auth-agree-more svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.2s ease;
}
.auth-agree-more.is-open svg {
  transform: rotate(90deg);
}
.auth-agree-text {
  grid-column: 1 / -1;
  margin: 0 10px 12px 30px;
  color: #9a9ca1;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.6;
}
.auth-agree-all {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 6px;
  background: #26262a;
}
.auth-setup .auth-button:disabled {
  cursor: not-allowed;
}

/* 닉네임 규칙 안내 (마이페이지·멤버 프로필 편집) */
.form-field .form-hint,
.mp-field .mp-hint {
  display: block;
  margin-top: 6px;
  color: #8a8d93;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}
