@import url('/css/mobile.css');

html:not(.i18n-ready) [data-i18n] {
  visibility: hidden;
}

html:not(.i18n-ready) [data-i18n-placeholder]::placeholder {
  color: transparent !important;
}

html:not(.legal-ready) .legal-page {
  visibility: hidden;
}

body {
  background: #0f1115;
  color: #fff;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.page-box {
  width: min(420px, 92%);
  margin: 80px auto;
  background: #181b22;
  border-radius: 16px;
  padding: 24px;
}

.page-box input,
.page-box select,
.page-box button {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  margin-top: 10px;
  font-size: 15px;
}

.page-box button {
  border: none;
  border-radius: 10px;
  background: #2d6bff;
  color: #fff;
  cursor: pointer;
}

.page-box button:hover {
  background: #1f56cf;
}

.page-box .form-hint {
  font-size: 13px;
  line-height: 1.45;
  color: #9ca3af;
  margin: 8px 0 0;
}

.page-box .form-message {
  font-size: 14px;
  line-height: 1.45;
  color: #93c5fd;
  margin: 12px 0 0;
  min-height: 1.2em;
}

.page-box .google-login-btn {
  background: #fff;
  color: #1f2937;
  border: 1px solid #d1d5db;
  font-weight: 800;
}

.page-box .google-login-btn:hover {
  background: #f3f4f6;
}

.page-box .x-login-btn {
  background: #0f1419;
  color: #fff;
  border: 1px solid #2f3336;
  font-weight: 800;
}

.page-box .x-login-btn:hover {
  background: #272c30;
}

.page-box a {
  color: #8bb7ff;
}

.auth-back-login-row {
  margin: 18px 0 10px;
}

.page-box .auth-back-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid rgba(45, 107, 255, 0.72);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: #123a8c;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.page-box .auth-back-login-btn:hover,
.page-box .auth-back-login-btn:focus-visible {
  background: #ffffff;
  color: #0f2f75;
  border-color: rgba(31, 86, 207, 0.9);
}

.page-box .auth-back-login-btn:active {
  background: rgba(219, 234, 254, 0.96);
  color: #0b255f;
}

.compliance-notice {
  color: #000000;
  background: #e5e7eb;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
}

.auth-page.register-auth-page .register-legal-black,
.auth-page.register-auth-page .register-legal-black a {
  color: #000 !important;
}

.business-info {
  color: #cbd5e1;
  background: #111827;
  border: 1px solid #2d3545;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
}

.check-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  color: #d7dde8;
  font-size: 13px;
  line-height: 1.45;
}

.check-line input {
  width: auto;
  margin: 2px 0 0;
}

.check-line--notice {
  display: block;
}

/* 로그인: 만 19세·약관 동의 문구는 밝은 박스 + 검정 글씨로 가독성 확보 */
.page-box .check-line--age-confirm {
  color: #000000;
  background: #e5e7eb;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  align-items: flex-start;
}

.page-box .check-line--age-confirm span {
  color: #000000;
}

.cotton-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.58);
}

.cotton-confirm-panel {
  width: min(420px, 100%);
  border: 1px solid #ffc4da;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.3);
  padding: 22px;
}

.cotton-confirm-panel h2 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #151a34;
}

.cotton-confirm-panel p {
  margin: 0;
  white-space: pre-wrap;
  font-size: 15px;
  line-height: 1.6;
}

.cotton-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.cotton-confirm-actions button {
  min-width: 86px;
  min-height: 42px;
  border: 1px solid #f9a8d4;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.cotton-confirm-no {
  background: #ffffff;
  color: #334155;
}

.cotton-confirm-yes {
  background: linear-gradient(135deg, #ff5ba8, #45b8ff);
  color: #ffffff;
  border-color: transparent !important;
}

.cotton-confirm-yes:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.cotton-channel-type-panel {
  width: min(520px, 100%);
}

.cotton-channel-type-options {
  display: grid;
  gap: 8px;
}

.cotton-channel-type-options label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.cotton-channel-type-options label:has(input:checked) {
  border-color: #f472b6;
  background: #fff7fb;
}

.cotton-channel-type-options input {
  margin: 3px 0 0;
}

.cotton-channel-type-options span,
.cotton-channel-type-options strong,
.cotton-channel-type-options small {
  display: block;
}

.cotton-channel-type-options small {
  margin-top: 4px;
  color: #64748b;
  line-height: 1.45;
}

.cotton-channel-type-change-hint {
  margin: 14px 0 0;
  color: #dc2626;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.cotton-point-cost-panel {
  display: grid;
  gap: 14px;
}

.cotton-point-cost-field {
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.cotton-point-cost-field strong {
  color: #151a34;
  font-size: 18px;
}

.cotton-point-cost-field input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #f9a8d4;
  border-radius: 8px;
  padding: 11px 12px;
  color: #111827;
  font-size: 16px;
  font-weight: 800;
}

.cotton-post-description-panel textarea {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  border: 1px solid #f9a8d4;
  border-radius: 8px;
  padding: 11px 12px;
  color: #111827;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
}

.policy-links,
.shop-policy-links,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  font-size: 12px;
}

.business-info {
  margin-top: 12px;
}

.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.auth-page .page-box {
  flex: 1 0 auto;
}

.site-footer-global {
  flex-shrink: 0;
  text-align: center;
  padding: 20px 16px 28px;
  font-size: 12px;
  color: #94a3b8;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.site-footer-global .policy-links {
  justify-content: center;
  margin-top: 0;
}

.site-footer-global .business-info {
  margin-top: 12px;
  white-space: pre-line;
  line-height: 1.5;
}

.auth-links-row {
  text-align: center;
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 14px;
}

.auth-links-sep {
  margin: 0 10px;
  color: #64748b;
}

.auth-email-spam-hint {
  font-size: 12px;
  line-height: 1.45;
  color: #94a3b8;
  margin: 6px 0 10px;
}

.container {
  width: min(1100px, 92%);
  margin: 40px auto 60px;
}

h1 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 42px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #181b22;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 20px;
}

.top-bar button {
  border: none;
  border-radius: 10px;
  background: #2d6bff;
  color: #fff;
  cursor: pointer;
  padding: 10px 14px;
}

.top-link {
  color: #fff;
  background: #239b56;
  border-radius: 10px;
  padding: 10px 14px;
  text-decoration: none;
  white-space: nowrap;
}

.top-link:hover {
  background: #1d8348;
}

.report-link {
  background: #7c2d12;
}

.report-link:hover {
  background: #9a3412;
}

.compliance-banner {
  background: #20151a;
  border: 1px solid #5b2635;
  color: #ffd6df;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.player-section {
  background: #181b22;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  margin-bottom: 28px;
}

.player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.player-report-btn {
  position: absolute;
  right: 10px;
  bottom: 56px;
  z-index: 25;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  color: #fecaca;
  cursor: pointer;
}

.player-report-btn:hover {
  background: rgba(124, 45, 18, 0.85);
  color: #fff;
}

.shop-nav button.shop-nav-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  text-align: left;
  padding: 11px 14px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #111;
  cursor: pointer;
}

.shop-nav button.shop-nav-btn:hover {
  color: #7b3ff2;
  font-weight: 800;
  background: #f5f0ff;
}

body.viewer-page .shop-main {
  background: #0f1115;
  color: #e5e7eb;
  justify-content: flex-start;
  align-items: stretch;
  width: calc(100% - 288px);
  box-sizing: border-box;
}

body.viewer-page .viewer-content {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

body.viewer-page .viewer-content h1 {
  color: #fff;
}

body.viewer-page .site-footer {
  color: #aeb7c7;
}

body.viewer-page .site-footer a {
  color: #8bb7ff;
}

.player-wrap:fullscreen,
.post-media-lightbox-video-wrap:fullscreen {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.player-wrap:fullscreen video,
.post-media-lightbox-video-wrap:fullscreen video {
  width: 100%;
  height: 100%;
}

.player-wrap:-webkit-full-screen,
.post-media-lightbox-video-wrap:-webkit-full-screen {
  width: 100%;
  height: 100%;
  background: #000;
}

.player-wrap:fullscreen .domain-watermark-layer,
.post-media-lightbox-video-wrap:fullscreen .domain-watermark-layer,
.player-wrap:-webkit-full-screen .domain-watermark-layer,
.post-media-lightbox-video-wrap:-webkit-full-screen .domain-watermark-layer {
  display: block;
  z-index: 2147483646;
}

video {
  width: 100%;
  height: 100%;
  display: none;
  background: #000;
  object-fit: contain;
}

/* 네이티브 재생 컨트롤(하단 바·남은 시간) 표시 — 전역으로 숨기지 않음 */

.player-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 18px;
  text-align: center;
  padding: 20px;
  z-index: 1;
}

.watermark-box {
  position: absolute;
  z-index: 10;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  display: none;
  max-width: 90%;
  text-align: left;
  text-shadow:
    0 0 8px rgba(0, 0, 0, 0.75),
    0 1px 2px rgba(0, 0, 0, 0.9);
  transition: left 0.35s ease, top 0.35s ease;
}

.domain-watermark-layer {
  position: absolute;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  user-select: none;
}

.domain-watermark-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 92%;
  text-align: center;
  font-size: clamp(22px, 4.8vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.42);
  text-shadow:
    0 0 18px rgba(0, 0, 0, 0.85),
    0 2px 8px rgba(0, 0, 0, 0.95);
  white-space: nowrap;
}

.domain-watermark-corner {
  position: absolute;
  font-size: clamp(12px, 2vw, 22px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.34);
  text-shadow:
    0 0 10px rgba(0, 0, 0, 0.8),
    0 1px 3px rgba(0, 0, 0, 0.9);
}

.domain-watermark-corner--tl { left: 16px; top: 16px; }
.domain-watermark-corner--tr { right: 16px; top: 16px; }
.domain-watermark-corner--bl { left: 16px; bottom: 16px; }
.domain-watermark-corner--br { right: 16px; bottom: 16px; }

.center-watermark {
  display: none !important;
}

.post-media-lightbox-video-wrap .domain-watermark-layer,
.post-media-lightbox-video-wrap .playback-watermark-box,
.player-wrap .domain-watermark-layer,
.player-wrap .playback-watermark-box {
  z-index: 12;
}

.post-media-lightbox-video-wrap .playback-watermark-box,
.player-wrap .playback-watermark-box {
  display: block;
}

.playback-toggle-btn,
.fullscreen-btn {
  margin-top: 12px;
  width: 100%;
  padding: 11px 14px;
  font-size: 15px;
  cursor: pointer;
  border: none;
  border-radius: 10px;
  background: #343a46;
  color: #fff;
}

.playback-toggle-btn {
  background: #2d6bff;
}

.playback-toggle-btn:disabled {
  background: #555d6b;
  cursor: not-allowed;
  opacity: 0.72;
}

.playback-toggle-btn:not(:disabled):hover {
  background: #1f56cf;
}

.fullscreen-btn:hover {
  background: #454c59;
}

.status {
  margin-top: 14px;
  color: #bfc6d1;
  font-size: 14px;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: #181b22;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
}

.thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}

.card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.title {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.45;
  color: #fff;
  min-height: 46px;
  word-break: keep-all;
}

.meta {
  font-size: 13px;
  color: #aaa;
}

.play-btn {
  width: 100%;
  padding: 11px 14px;
  font-size: 15px;
  cursor: pointer;
  border: none;
  border-radius: 10px;
  background: #2d6bff;
  color: #fff;
}

.play-btn:hover {
  background: #1f56cf;
}

.play-btn:disabled {
  background: #555d6b;
  cursor: not-allowed;
  opacity: 0.7;
}

.devtools-block {
  position: fixed;
  inset: 0;
  background: #fff;
  color: #111;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#creatorNotFoundBlock {
  display: none !important;
}

#creatorNotFoundBlock.is-visible {
  display: flex !important;
}

#creatorNotFoundBlock[hidden]:not(.is-visible) {
  display: none !important;
}

#creatorMainContent[hidden] {
  display: none !important;
}

.devtools-box {
  text-align: center;
}

.shop-body {
  min-height: 100vh;
  background: #f1f1f1;
  color: #111;
  display: flex;
}

.shop-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 288px;
  background: #fff;
  border-right: 1px solid #e1e1e1;
  padding: 26px 16px;
  box-sizing: border-box;
  overflow-y: auto;
}

.shop-logo {
  color: #7b3ff2;
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
}

.shop-locale {
  position: absolute;
  top: 32px;
  right: 20px;
  font-weight: 800;
}

.shop-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 46px;
}

.shop-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #bde9ff;
  color: #7b3ff2;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 900;
}

.shop-profile strong,
.shop-profile span {
  display: block;
}

.shop-profile span {
  color: #8a8a8a;
  font-size: 13px;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-balance {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  margin-top: 18px;
  border: 1px solid #d8d8d8;
  border-radius: 7px;
  overflow: hidden;
}

.shop-balance span,
.shop-balance strong {
  padding: 9px 10px;
  text-align: center;
}

.shop-balance span {
  background: #7b3ff2;
  color: #fff;
  font-weight: 800;
}

.shop-balance strong {
  background: #fff;
  font-weight: 900;
}

.shop-nav {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-top: 20px;
  padding: 22px 0;
  display: grid;
  gap: 8px;
}

.shop-nav a {
  color: #111;
  text-decoration: none;
  padding: 11px 14px;
  border-radius: 8px;
}

.shop-nav a.active,
.shop-nav a:hover {
  color: #7b3ff2;
  font-weight: 800;
  background: #f5f0ff;
}

.shop-main {
  flex: 1;
  margin-left: 288px;
  padding: 24px;
  display: flex;
  justify-content: center;
}

.shop-panel {
  width: min(640px, 100%);
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 8px;
  padding: 42px 20px 22px;
  box-sizing: border-box;
}

.shop-panel h1 {
  font-size: 18px;
  margin: 0 0 34px;
  text-align: center;
}

.shop-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 2px solid #ddd;
  margin-bottom: 16px;
}

.shop-tabs button {
  border: 0;
  background: transparent;
  padding: 12px;
  color: #8a8a8a;
  font-size: 15px;
  cursor: default;
}

.shop-tabs button.active {
  color: #7b3ff2;
  border-bottom: 2px solid #7b3ff2;
  margin-bottom: -2px;
}

.coin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.coin-card {
  min-height: 130px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 7px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  cursor: pointer;
  color: #111;
}

.coin-card.selected {
  border-color: #7b3ff2;
  box-shadow: 0 0 0 2px rgba(123, 63, 242, 0.16);
}

.coin-card strong,
.coin-card b {
  display: block;
}

.coin-card .coin-card-fx-wrap {
  text-align: center;
  line-height: 1.25;
}

.coin-card .coin-card-fx-local {
  font-size: 17px;
  font-weight: 800;
}

.coin-card .coin-card-fx-usd {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.payment-fx-note {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
}

.checkout-line.total .checkout-usd-ref {
  font-size: 0.92em;
  font-weight: 600;
  color: #64748b;
}

.coin-mascot {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #fff4fb;
}

.coin-mascot img {
  width: 48px;
  height: 48px;
  display: block;
}

.checkout-box {
  margin-top: 28px;
  background: #eef2ff;
  padding: 18px 20px;
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 17px;
  padding: 4px 0;
}

.checkout-line.total {
  border-top: 1px solid #bfc4d2;
  margin-top: 8px;
  padding-top: 10px;
  font-weight: 900;
}

.checkout-line small {
  display: block;
  font-size: 12px;
  font-weight: 400;
}

.checkout-line.total strong {
  color: #7b3ff2;
  font-size: 22px;
}

.pay-method {
  width: 100%;
  margin-top: 10px;
  padding: 13px 16px;
  border: 1px solid #d3d7e5;
  border-radius: 7px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  color: #111;
  cursor: pointer;
}

.pay-method strong,
.pay-method small {
  display: block;
}

.pay-method small {
  color: #687087;
  margin-top: 2px;
}

.pay-method:hover {
  border-color: #7b3ff2;
}

.pay-badges {
  color: #1f2937;
  font-weight: 800;
  font-size: 13px;
}

.pay-method.paypal {
  background: #a8b0bf;
  color: #fff;
}

.pay-method.paypal small {
  color: #eef2ff;
}

.paypal-logo {
  color: #005ea6;
  font-size: 24px;
  font-weight: 900;
}

.pay-method.bank {
  background: #f8fafc;
}

.pay-method.crypto {
  background: #fff7ed;
  border-color: #fed7aa;
}

.payout-submit-btn {
  width: 100%;
  margin-top: 16px;
  padding: 14px 22px;
  min-height: 56px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(135deg, #6d28d9 0%, #db2777 52%, #ea580c 100%);
  color: #fff;
  box-shadow: 0 6px 22px rgba(109, 40, 217, 0.38), 0 2px 8px rgba(219, 39, 119, 0.22);
  font-family: inherit;
  text-align: left;
  min-width: 0;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}

.payout-submit-btn:hover {
  box-shadow: 0 8px 28px rgba(109, 40, 217, 0.48);
  transform: translateY(-1px);
}

.payout-submit-btn:active {
  transform: translateY(0);
}

.payout-submit-btn:focus-visible {
  outline: 3px solid rgba(219, 39, 119, 0.45);
  outline-offset: 2px;
}

.payout-submit-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  align-self: stretch;
  gap: 2px;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.payout-submit-btn__text strong {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
}

.payout-submit-btn__text small {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.25;
}

.payout-submit-btn__badge {
  flex-shrink: 0;
  min-width: 0;
  min-height: 46px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.2;
  text-align: center;
}

.shop-result {
  min-height: 20px;
  margin-top: 12px;
  color: #256b35;
  font-size: 13px;
  line-height: 1.45;
  word-break: keep-all;
}

.shop-result.error {
  color: #b91c1c;
}

.shop-rules {
  margin: 12px 0 0;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.55;
}

.payment-disclosure {
  margin-top: 12px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #d3d7e5;
  border-radius: 7px;
  color: #374151;
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-line;
}

.payout-disclosure {
  white-space: pre-line;
}

.payout-disclosure p {
  margin: 0 0 10px;
}

.payout-disclosure p:last-child {
  margin-bottom: 0;
}

.payout-disclosure__note {
  color: #4b5563;
  font-size: 12px;
  line-height: 1.45;
}

#payoutKrBankOnly {
  white-space: pre-line;
}

#payoutSplitBox {
  border-color: #22c55e;
  background: #ccff00;
  color: #064e3b;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
}

#payoutSplitBox .shop-muted {
  color: #14532d;
  font-weight: 800;
}

.payout-krw-input-guide {
  display: inline-flex;
  width: fit-content;
  margin-top: 7px;
  margin-bottom: 2px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
  color: #111827;
  font-size: 13px;
  font-weight: 950;
}

.payout-field-hint {
  display: block;
  color: #166534;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.payout-crypto-recommend {
  margin: -2px 0 14px;
  padding: 12px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff7f7;
}

.payout-crypto-recommend[hidden] {
  display: none !important;
}

.payout-crypto-warning {
  margin: -2px 0 14px;
  padding: 12px 13px;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: keep-all;
  box-shadow: inset 3px 0 0 #ef4444;
}

.payout-crypto-warning:empty {
  display: none;
}

.payout-crypto-recommend__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payout-crypto-recommend__chips span,
.payout-crypto-recommend__chips button {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 2px solid #ef4444;
  border-radius: 4px;
  background: #fff;
  color: #991b1b;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.payout-estimate-krw {
  color: var(--cc-text-muted);
  font-size: 0.95em;
  font-weight: 700;
}

#payoutEstimatedReceiveKr,
#payoutEstimatedReceiveUsd {
  display: block;
  margin: 3px 0 0;
  line-height: 1.3;
}

#payoutEstimateBoxKr,
#payoutEstimateBoxUsd {
  white-space: normal;
}

#payoutEstimateNoteKr,
#payoutEstimateNoteUsd {
  display: block;
  margin: 2px 0 0;
  line-height: 1.35;
  white-space: pre-line;
}

.crypto-deposit-card {
  margin-top: 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid #d3d7e5;
  border-radius: 7px;
}

.crypto-deposit-layout {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  align-items: start;
}

.crypto-qr {
  width: 150px;
  height: 150px;
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  background: #fff;
}

.crypto-deposit-info strong {
  display: block;
  margin-bottom: 8px;
}

.crypto-deposit-info dl {
  margin: 0 0 10px;
  display: grid;
  gap: 5px;
  font-size: 13px;
}

.crypto-deposit-info dl div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 8px;
}

.crypto-deposit-info dt {
  color: #687087;
}

.crypto-deposit-info dd {
  margin: 0;
  font-weight: 700;
}

.crypto-address-label {
  display: block;
  margin-bottom: 5px;
  color: #374151;
  font-size: 13px;
  font-weight: 700;
}

.crypto-address-row {
  display: grid;
  grid-template-columns: 1fr 64px;
  gap: 8px;
}

.crypto-address-row input {
  min-width: 0;
  padding: 10px;
  border: 1px solid #d3d7e5;
  border-radius: 7px;
  font-size: 13px;
}

.crypto-address-row button {
  border: 0;
  border-radius: 7px;
  background: #111827;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.crypto-copy-status {
  min-height: 18px;
  margin: 6px 0 0;
  color: #38bdf8;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

.crypto-copy-status.error {
  color: #fb7185;
}

.crypto-modal .crypto-address-label {
  margin-top: 18px;
  text-align: left;
  color: #8ea0c8;
}

.crypto-modal .crypto-address-row input {
  background: #15171d;
  color: #edf2ff;
  border-color: #2b3447;
}

.crypto-modal .crypto-address-row button {
  background: #2298ef;
}

.crypto-deposit-info p {
  margin: 8px 0 0;
  color: #b45309;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .crypto-deposit-layout {
    grid-template-columns: 1fr;
  }

  .crypto-qr {
    width: 180px;
    height: 180px;
  }
}

.shop-policy-links a {
  color: #4f46e5;
}

.language-switcher {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 2000;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  background: rgba(15, 23, 42, 0.88);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 7px;
  font-size: 12px;
  backdrop-filter: blur(12px);
}

.language-switcher select {
  border: 0;
  background: transparent;
  color: #fff;
  font-weight: 700;
}

.language-switcher option {
  color: #111;
}

.crypto-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
}

html.payment-modal-open,
body.payment-modal-open {
  overflow: hidden !important;
  max-width: 100%;
  overscroll-behavior: none;
}

body.payment-modal-open {
  position: fixed;
  width: 100%;
  max-width: 100vw;
  left: 0;
  right: 0;
  overflow-x: hidden !important;
}

body.payment-modal-open .shop-main--scroll {
  overflow: hidden !important;
  overflow-x: hidden !important;
  max-width: 100%;
  overscroll-behavior: none;
  touch-action: none;
}

@media (max-width: 820px) {
  .payment-modal-layer:not([hidden]) {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: 100% !important;
    max-height: 100dvh !important;
    z-index: 9999 !important;
    box-sizing: border-box;
    padding:
      calc(var(--mobile-header-h, 52px) + env(safe-area-inset-top, 0px) + 8px)
      12px
      calc(env(safe-area-inset-bottom, 0px) + 12px);
    overflow: hidden !important;
  }

  .payment-modal-layer.crypto-modal-backdrop:not([hidden]) {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
  }

  .payment-modal-layer.crypto-modal-backdrop .crypto-modal {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    max-height: 100%;
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .payment-modal-layer .payment-modal-scroll {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    max-height: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .payment-modal-layer.creator-modal:not([hidden]) {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
  }

  .payment-modal-layer.creator-modal .creator-modal-backdrop {
    position: fixed;
    inset: 0;
  }

  .payment-modal-layer.creator-modal .cultureland-modal-panel {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    box-sizing: border-box;
    overflow-x: hidden;
  }
}

.crypto-modal-backdrop[hidden] {
  display: none;
}

.crypto-modal {
  width: min(480px, 100%);
  max-width: 100%;
  max-height: min(calc(100dvh - 48px), 720px);
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #181a20;
  color: #edf2ff;
  border: 1px solid #252a34;
  border-radius: 7px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.crypto-modal h2 {
  margin: 0;
  padding: 18px 20px 12px;
  font-size: 16px;
}

.crypto-modal-close {
  position: absolute;
  top: 13px;
  right: 16px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #dbeafe;
  font-size: 30px;
  line-height: 24px;
  cursor: pointer;
}

.crypto-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #272b35;
  margin: 0 -18px 12px;
}

.crypto-tabs button {
  height: 43px;
  border: 0;
  background: transparent;
  color: #7280a0;
  font-weight: 800;
  cursor: pointer;
}

.crypto-tabs button[aria-selected='true'] {
  color: #2ea7ff;
  border-bottom: 2px solid #2ea7ff;
}

.crypto-tabs button.active {
  color: #2ea7ff;
  border-bottom: 2px solid #2ea7ff;
}

.crypto-tab-count {
  display: inline-grid;
  min-width: 18px;
  height: 18px;
  margin-left: 5px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  background: #2298ef;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
}

.crypto-tab-count[hidden],
.crypto-tab-panel[hidden] {
  display: none !important;
}

.crypto-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 18px 20px;
  max-height: none;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.crypto-modal input,
.crypto-modal button {
  box-sizing: border-box;
  max-width: 100%;
}

.crypto-help {
  margin: 12px 0 10px;
  color: #8ea0c8;
  font-size: 14px;
}

.crypto-low-fee-help,
.payout-crypto-recommend p {
  margin: 8px 0 10px;
  color: #991b1b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.crypto-deposit-loading,
.crypto-deposit-empty {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 34px 12px;
  color: #8ea0c8;
  text-align: center;
}

.crypto-deposit-empty strong {
  color: #f8fbff;
  font-size: 16px;
}

.crypto-deposit-empty span {
  max-width: 300px;
  font-size: 13px;
  line-height: 1.45;
}

.crypto-deposit-empty--error strong {
  color: #ff8d98;
}

.crypto-deposit-list {
  display: grid;
  gap: 8px;
}

.crypto-deposit-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  padding: 12px 14px;
  border: 1px solid #272b35;
  border-radius: 7px;
  background: #171a22;
}

.crypto-deposit-item__main,
.crypto-deposit-item__meta {
  min-width: 0;
}

.crypto-deposit-item__main strong {
  display: block;
  color: #f8fbff;
  font-size: 15px;
}

.crypto-deposit-item__main span {
  display: block;
  margin-top: 3px;
  color: #8ea0c8;
  font-size: 14px;
}

.crypto-deposit-item__main small,
.crypto-deposit-item__meta small {
  display: block;
  margin-top: 3px;
  color: #68799c;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.crypto-deposit-item__meta {
  display: grid;
  justify-items: end;
  align-content: start;
}

.crypto-deposit-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(46, 167, 255, 0.14);
  color: #4ab7ff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.crypto-deposit-status--confirming {
  background: rgba(250, 204, 21, 0.14);
  color: #facc15;
}

.crypto-deposit-status--completed {
  background: rgba(34, 197, 94, 0.14);
  color: #4ade80;
}

.crypto-deposit-status--expired {
  background: rgba(148, 163, 184, 0.14);
  color: #94a3b8;
}

.crypto-deposit-item dl {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid #272b35;
}

.crypto-deposit-item dl > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}

.crypto-deposit-item dt,
.crypto-deposit-item dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.crypto-deposit-item dt {
  color: #7182a6;
  font-weight: 800;
}

.crypto-deposit-item dd {
  color: #dbeafe;
  overflow-wrap: anywhere;
}

.crypto-deposit-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 8px;
  min-width: 0;
}

.crypto-modal .crypto-deposit-copy-text {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 10px;
  border: 1px solid #2b3447;
  border-radius: 7px;
  background: #15171d;
  color: #edf2ff;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: normal;
}

.crypto-modal .crypto-deposit-copy-btn {
  border: 0;
  border-radius: 7px;
  background: #2298ef;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.crypto-deposit-copy-status {
  grid-column: 1 / -1;
  min-height: 18px;
  margin: -2px 0 0;
  color: #60a5fa;
  font-size: 12px;
  font-weight: 800;
}

.crypto-deposit-copy-status.error {
  color: #fca5a5;
}

.crypto-deposit-remaining {
  color: #38bdf8 !important;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.crypto-deposit-remaining.is-expired {
  color: #94a3b8 !important;
}

.crypto-deposit-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
  color: #8ea0c8;
  font-size: 13px;
  font-weight: 800;
}

.crypto-deposit-page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 11px;
  border: 1px solid #2b3447;
  border-radius: 999px;
  background: linear-gradient(180deg, #242936 0%, #1b1f2a 100%);
  color: #dbeafe;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.crypto-deposit-page-btn:hover:not(:disabled):not(.is-active) {
  border-color: rgba(46, 167, 255, 0.55);
  background: #273044;
  color: #f8fbff;
  transform: translateY(-1px);
}

.crypto-deposit-page-btn.is-active {
  border-color: #2ea7ff;
  background: #2298ef;
  color: #fff;
  box-shadow: 0 8px 20px rgba(34, 152, 239, 0.28);
}

.crypto-deposit-page-btn--arrow {
  min-width: 34px;
  padding: 0;
  font-size: 22px;
}

.crypto-deposit-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 520px) {
  .crypto-deposit-item {
    grid-template-columns: 1fr;
  }

  .crypto-deposit-item__meta {
    justify-items: start;
  }

  .crypto-deposit-item dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .crypto-deposit-pager {
    justify-content: center;
    gap: 6px;
  }
}

.crypto-asset-list {
  display: grid;
  gap: 3px;
}

.crypto-asset-row {
  min-height: 60px;
  display: grid;
  grid-template-columns: 36px 1fr 20px;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #eff6ff;
  text-align: left;
  cursor: pointer;
}

.crypto-asset-row.low-fee-recommended {
  border: 2px solid #ef4444;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.28);
}

.crypto-asset-row:hover {
  background: #20242e;
}

.crypto-asset-row.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.crypto-asset-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}

.crypto-asset-row strong,
.crypto-selected-asset strong {
  display: block;
  font-size: 15px;
  unicode-bidi: isolate;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.crypto-asset-row small,
.crypto-selected-asset small {
  display: block;
  margin-top: 2px;
  color: #7586ad;
  font-size: 14px;
  unicode-bidi: isolate;
  word-break: keep-all;
  overflow-wrap: normal;
}

.crypto-asset-row em {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  padding: 3px 7px;
  border-radius: 4px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.crypto-asset-row b {
  color: #7890be;
  font-size: 30px;
  font-weight: 300;
  white-space: nowrap;
}

.pay-method,
.pay-method strong,
.admin-actions button,
.admin-table button {
  word-break: keep-all;
  overflow-wrap: normal;
}

.admin-actions button,
.admin-table button {
  min-width: max-content;
}

.crypto-back-btn {
  margin: 12px 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2ea7ff;
  font-weight: 800;
  cursor: pointer;
}

.crypto-selected-asset {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.crypto-amount-field {
  display: grid;
  gap: 5px;
}

.crypto-amount-field span {
  color: #62b7ff;
  font-size: 13px;
}

.crypto-amount-field input {
  width: 100%;
  height: 40px;
  border: 1px solid #2b3447;
  border-radius: 7px;
  background: #15171d;
  color: #edf2ff;
  padding: 0 14px;
  font-size: 15px;
}

.crypto-estimate-box {
  margin-top: 10px;
  padding: 12px 16px;
  border: 1px solid #2b3447;
  border-radius: 7px;
  color: #8ea0c8;
}

.crypto-estimate-box div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 5px 0;
  min-width: 0;
}

.crypto-estimate-box div > span,
.crypto-estimate-box div > strong {
  min-width: 0;
}

.crypto-estimate-box strong {
  color: #edf2ff;
  text-align: right;
  overflow-wrap: anywhere;
}

.crypto-continue-btn {
  display: block;
  min-width: 132px;
  height: 34px;
  margin: 12px auto 0;
  border: 0;
  border-radius: 7px;
  background: #2298ef;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.crypto-minmax {
  margin-top: 12px;
  text-align: center;
  color: #8ea0c8;
  font-size: 13px;
}

.crypto-waiting-view {
  text-align: center;
  padding-top: 8px;
}

.crypto-countdown {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0;
}

.crypto-waiting-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #2ea7ff;
  font-size: 13px;
  font-weight: 800;
}

.crypto-waiting-status span {
  width: 14px;
  height: 14px;
  border: 2px solid #2ea7ff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.crypto-qr-wrap {
  position: relative;
  width: 216px;
  height: 216px;
  margin: 24px auto 10px;
  padding: 14px;
  background: #fff;
  border-radius: 7px;
}

.crypto-qr-large {
  width: 100%;
  height: 100%;
  display: block;
}

.crypto-qr-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 42px;
  height: 42px;
  padding: 0 7px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eb0029;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.crypto-send-amount {
  color: #f8fbff;
  font-size: 18px;
  font-weight: 900;
}

.crypto-send-amount-box {
  display: grid;
  gap: 5px;
  margin: 12px auto 8px;
  padding: 12px 14px;
  max-width: 320px;
  border: 1px solid rgba(78, 190, 255, 0.42);
  border-radius: 8px;
  background: rgba(46, 167, 255, 0.11);
  text-align: center;
}

.crypto-send-amount-box span {
  color: #9cccff;
  font-size: 12px;
  font-weight: 800;
}

.crypto-send-amount-box strong {
  color: #f8fbff;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.15;
  word-break: break-word;
}

.crypto-send-amount-box small {
  color: #d7ecff;
  font-size: 12px;
  font-weight: 700;
}

.crypto-send-fiat {
  color: #8ea0c8;
  font-size: 13px;
}

.crypto-address-label--with-help {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.crypto-memo-help-btn {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(46, 167, 255, 0.55);
  border-radius: 50%;
  background: rgba(46, 167, 255, 0.14);
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.crypto-info-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3, 7, 18, 0.72);
}

.crypto-info-modal {
  width: min(420px, 100%);
  padding: 20px;
  border: 1px solid #2b3447;
  border-radius: 8px;
  background: #15171d;
  color: #dbeafe;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

.crypto-info-modal h3 {
  margin: 0 0 14px;
  color: #f8fbff;
  font-size: 18px;
}

.crypto-info-modal section {
  margin-top: 14px;
}

.crypto-info-modal strong {
  display: block;
  margin-bottom: 7px;
  color: #7dd3fc;
  font-size: 13px;
}

.crypto-info-modal ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.crypto-info-modal li {
  color: #c7d2fe;
  font-size: 13px;
  line-height: 1.45;
}

.crypto-info-modal button {
  display: block;
  min-width: 96px;
  height: 36px;
  margin: 18px auto 0;
  border: 0;
  border-radius: 7px;
  background: #2298ef;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.crypto-warning {
  margin: 8px 0 0;
  color: #8ea0c8;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

.crypto-cancel-btn {
  min-width: 170px;
  height: 34px;
  margin-top: 14px;
  border: 1px solid #ff6b78;
  border-radius: 7px;
  background: transparent;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.crypto-error-view {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 14px 0 4px;
  text-align: center;
}

.crypto-error-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 107, 120, 0.55);
  border-radius: 50%;
  background: rgba(255, 107, 120, 0.14);
  color: #ff8d98;
  font-size: 24px;
  font-weight: 950;
}

.crypto-error-view h3 {
  margin: 0;
  color: #f8fbff;
  font-size: 18px;
  line-height: 1.35;
}

.crypto-error-view p {
  max-width: 340px;
  margin: 0;
  color: #b9c6e6;
  font-size: 13px;
  line-height: 1.55;
}

.crypto-error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 2px;
}

.crypto-error-actions .crypto-continue-btn,
.crypto-error-actions .crypto-cancel-btn {
  min-width: 142px;
  margin-top: 0;
}

.payout-summary-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.payout-summary-grid > div {
  min-height: 92px;
  padding: 16px;
  background: #fff;
  border: 1px solid #d3d7e5;
  border-radius: 7px;
}

.payout-summary-grid span {
  display: block;
  color: #687087;
  font-size: 13px;
}

.payout-summary-grid .payout-summary-label {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}

.payout-summary-grid .payout-summary-label > span {
  display: inline;
}

.payout-help-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 0;
  border: 1px solid #94a3b8;
  border-radius: 50%;
  background: #fff;
  color: #334155;
  font-size: 7px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.payout-help-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 15;
  width: 220px;
  max-width: min(220px, calc(100vw - 48px));
  padding: 8px 10px;
  border-radius: 6px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  white-space: normal;
  text-align: left;
  transform: translateX(-18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.14s ease;
}

.payout-help-btn:hover::after,
.payout-help-btn:focus-visible::after {
  opacity: 1;
}

@media (hover: none), (pointer: coarse) {
  .payout-help-btn::after {
    content: none;
    display: none !important;
  }

  .payout-help-btn:hover::after,
  .payout-help-btn:focus-visible::after {
    opacity: 0 !important;
  }
}

.payout-help-modal[hidden] {
  display: none !important;
}

.payout-help-modal {
  position: fixed;
  inset: 0;
  z-index: 4300;
  display: grid;
  place-items: center;
  padding: 18px;
}

.payout-help-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.55);
}

.payout-help-modal__panel {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  padding: 22px 20px 18px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.payout-help-modal__panel h2 {
  margin: 0 40px 10px 0;
  font-size: 18px;
  color: #111827;
}

.payout-help-modal__panel p {
  margin: 0;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  white-space: pre-line;
}

.payout-help-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #111827;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.payout-summary-grid strong {
  display: block;
  margin-top: 8px;
  color: #111827;
  font-size: 24px;
}

.payout-summary-grid .primary {
  background: #111827;
  border-color: #111827;
}

.payout-summary-grid .primary span,
.payout-summary-grid .primary strong {
  color: #fff;
}

.payout-summary-grid .primary .payout-help-btn {
  border-color: rgba(255, 255, 255, 0.72);
}

.payout-field {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  color: #374151;
  font-weight: 800;
  font-size: 13px;
}

.payout-field input,
.payout-field select,
.payout-field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d3d7e5;
  border-radius: 7px;
  font-size: 14px;
  box-sizing: border-box;
}

.payout-field textarea {
  min-height: 92px;
  resize: vertical;
}

.payout-request-tabs {
  display: flex;
  gap: 8px;
  margin: 18px 0 12px;
}

.payout-tab {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d3d7e5;
  background: #f8fafc;
  color: #374151;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.payout-tab:hover {
  border-color: #9ca3af;
}

.payout-tab--active {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.payout-request-panel {
  margin-bottom: 14px;
}

.payout-history-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.payout-history-link {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #db2777, #38bdf8);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 10px 26px rgba(219, 39, 119, 0.24);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.payout-history-link:hover {
  filter: brightness(1.04);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.25);
  transform: translateY(-1px);
}

.payout-history-link:active {
  transform: translateY(0);
}

.payout-history-link:focus-visible {
  outline: 3px solid rgba(219, 39, 119, 0.35);
  outline-offset: 3px;
}

.payout-history-modal[hidden] {
  display: none !important;
}

.payout-history-modal {
  position: fixed;
  inset: 0;
  z-index: 4200;
  display: grid;
  place-items: center;
  padding: 18px;
}

.payout-history-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.56);
  cursor: pointer;
}

.payout-history-modal__panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(76vh, 720px);
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.28);
  overflow: hidden;
}

.payout-history-modal__panel h2 {
  margin: 0;
  padding: 18px 48px 14px 20px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 20px;
  color: #111827;
}

.payout-history-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: #111827;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.payout-history-modal__body {
  min-height: 180px;
  padding: 14px 18px 18px;
  overflow: auto;
}

.payout-statement-modal__panel {
  width: min(980px, 100%);
}

.payout-statement-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 18px 0;
}

.payout-statement-pdf-btn {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.payout-statement-summary {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  color: #111827;
}

.payout-statement-summary span {
  color: #687087;
  font-size: 12px;
}

.payout-statement-tabs {
  display: inline-flex;
  gap: 4px;
  margin: 4px 0 14px;
  padding: 4px;
  border: 1px solid #d3d7e5;
  border-radius: 8px;
  background: #f8fafc;
}

.payout-statement-tabs button {
  min-height: 34px;
  padding: 7px 13px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #4b5563;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.payout-statement-tabs button.active {
  background: #111827;
  color: #fff;
}

.payout-statement-panel[hidden] {
  display: none !important;
}

.payout-statement-balance-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}

.payout-statement-balance-summary div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #d3d7e5;
  border-radius: 8px;
  background: #f8fafc;
}

.payout-statement-balance-summary span {
  color: #687087;
  font-size: 12px;
  font-weight: 800;
}

.payout-statement-balance-summary strong {
  color: #111827;
  font-size: 15px;
}

.payout-statement-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.payout-statement-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  color: #111827;
  font-size: 13px;
}

.payout-statement-table th,
.payout-statement-table td {
  padding: 12px 10px;
  border: 1px solid #d3d7e5;
  text-align: left;
  vertical-align: top;
}

.payout-statement-table th {
  background: #f8fafc;
  font-weight: 900;
}

.payout-statement-table small,
.payout-statement-note {
  display: block;
  margin-top: 5px;
  color: #687087;
  font-size: 12px;
  line-height: 1.35;
}

.payout-history-modal__content[hidden] {
  display: none !important;
}

body.payout-history-modal-open {
  overflow: hidden;
}

.payout-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #d3d7e5;
  color: #374151;
  font-size: 13px;
}

.payout-row-amt {
  font-weight: 800;
  white-space: nowrap;
  color: #111827;
}

.payout-row-meta {
  font-size: 12px;
  color: #687087;
  text-align: right;
  max-width: 140px;
  word-break: break-all;
}

.payout-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
}

.payout-badge--pending {
  background: #fef3c7;
  color: #92400e;
}

.payout-badge--approved {
  background: #dbeafe;
  color: #1e40af;
}

.payout-badge--paid {
  background: #d1fae5;
  color: #065f46;
}

.payout-badge--rejected {
  background: #fee2e2;
  color: #991b1b;
}

.payout-row strong {
  color: #111827;
}

.empty-list {
  padding: 12px 0;
  color: #687087;
  font-size: 13px;
}

.creator-upload-form {
  display: grid;
  gap: 14px;
}

.creator-upload-form label {
  display: grid;
  gap: 6px;
  color: #374151;
  font-size: 13px;
  font-weight: 800;
}

.creator-upload-form input,
.creator-upload-form select,
.creator-upload-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d3d7e5;
  border-radius: 7px;
  box-sizing: border-box;
  font-size: 14px;
}

.upload-compliance-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #ffd2e3;
  border-radius: 8px;
  background: #fff7fb;
  color: #111827;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.upload-compliance-check input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 3px;
  padding: 0;
  accent-color: #e6337a;
}

.upload-compliance-check span {
  flex: 1;
}

.studio-compliance-check {
  margin: 2px 0 4px;
}

.studio-monetization-summary,
.studio-subscription-note {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border: 1px solid #f9a8d4;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff1f7 0%, #eef7ff 100%);
  color: #1f2554;
  font-size: 13px;
  font-weight: 800;
}

.studio-monetization-summary__label {
  color: #64748b;
}

.studio-monetization-summary a {
  margin-left: auto;
  color: #db2777;
  text-decoration: none;
}

.studio-subscription-note strong {
  color: #db2777;
}

.studio-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.studio-price-grid label {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--cc-text, #0f172a);
}

.studio-price-grid input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font: inherit;
}

.studio-price-help,
.studio-price-convert {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

.studio-price-help {
  color: #64748b;
}

.studio-price-convert {
  font-weight: 800;
  color: #db2777;
}

.creator-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.creator-upload-span-2 {
  grid-column: 1 / -1;
}

.creator-price-section.is-hidden {
  display: none !important;
}

.studio-upload-submit {
  width: 100%;
  margin-top: 16px;
  padding: 16px 18px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  font: inherit;
  text-align: left;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.studio-upload-submit:hover {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

.studio-upload-submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

.studio-upload-submit__text strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
}

.studio-upload-submit__text small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.studio-upload-submit__badge {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 900;
}

.creator-page-shell {
  width: min(960px, 92%);
  margin: 28px auto 60px;
}

.creator-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.creator-header a,
.creator-actions a,
.creator-actions button,
.creator-post-body button:not(.post-more-btn):not([data-copy-post-link]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  background: #2d6bff;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.creator-profile-hero {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px;
  background: #181b22;
  border-radius: 12px;
}

.creator-profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #2d6bff;
  color: #fff;
  font-size: 38px;
  font-weight: 900;
}

.creator-profile-hero h1 {
  margin: 0;
  text-align: left;
  font-size: 32px;
}

.creator-profile-hero p {
  margin: 6px 0;
  color: #cbd5e1;
}

.creator-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.creator-feed {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.creator-post-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 18px;
  padding: 16px;
  background: #181b22;
  border-radius: 12px;
}

.creator-post-head {
  grid-column: 1 / -1;
  min-width: 0;
  padding: 0 54px 0 0;
  overflow: hidden;
}

.creator-post-head .home-post-user {
  min-width: 0;
}

.creator-post-head .home-post-user-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-with-sidebar .creator-post-head {
  padding: 10px 54px 10px 12px;
  background: var(--cc-surface);
  border-bottom: 1px solid var(--cc-border);
}

.creator-post-card--pinned {
  box-shadow: 0 0 0 2px rgba(219, 39, 119, 0.45);
}

.creator-post-pin-badge {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffe4ec;
  color: #be185d;
  font-size: 12px;
  font-weight: 900;
}

.creator-pin-btn {
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 7px 12px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.creator-actions a,
.creator-actions button {
  background: linear-gradient(135deg, #ff74b8 0%, #7c6cff 50%, #38bdf8 100%);
  box-shadow: 0 10px 22px rgba(124, 108, 255, 0.22);
}

.creator-actions a:hover,
.creator-actions button:hover:not(:disabled) {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.creator-actions button:disabled {
  opacity: 0.66;
  cursor: default;
  transform: none;
}

.creator-pin-btn:hover {
  background: #dbeafe;
}

.creator-post-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #06070a;
  border-radius: 8px;
  overflow: hidden;
}

.creator-preview-hint {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  max-width: min(92%, 260px);
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.82);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.creator-preview-hint[hidden] {
  display: none !important;
}

.creator-pay-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  background: rgba(6, 7, 10, 0.75);
  color: #fff;
  cursor: pointer;
}

.creator-pay-overlay[hidden] {
  display: none !important;
}

.creator-pay-overlay-inner {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.creator-pay-overlay--points .creator-pay-overlay-inner {
  color: #fde68a;
}

.creator-preview {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.creator-locked-preview {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #e5e7eb;
  background: linear-gradient(135deg, #111827, #1f2937);
}

.creator-locked-preview div {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0f172a;
  border: 1px solid #334155;
  font-weight: 900;
}

.creator-post-body h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.creator-post-body p {
  color: #cbd5e1;
}

@media (max-width: 720px) {
  .payout-summary-grid {
    grid-template-columns: 1fr;
  }

  .payout-row {
    flex-direction: column;
    align-items: stretch;
  }

  .payout-row-meta {
    text-align: left;
    max-width: none;
  }

  .creator-upload-grid,
  .creator-profile-hero,
  .creator-post-card {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  margin-top: 36px;
  padding: 18px 0 0;
  border-top: 1px solid #2d3545;
  color: #aeb7c7;
  font-size: 12px;
  line-height: 1.6;
}

.site-footer a {
  color: #8bb7ff;
}

.legal-page {
  width: min(820px, 92%);
  margin: 48px auto;
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px;
  box-sizing: border-box;
  line-height: 1.7;
}

.legal-page-header {
  display: flex;
  align-items: center;
  margin: 0 0 28px;
}

.legal-page h1 {
  text-align: left;
  font-size: 32px;
  margin: 0 0 24px;
  color: #0f172a;
}

.legal-page h2 {
  font-size: 18px;
  margin: 22px 0 8px;
  color: #0f172a;
}

.legal-page h3 {
  font-size: 16px;
  margin: 16px 0 6px;
  color: #0f172a;
}

.legal-page ul,
.legal-page ol {
  margin: 0 0 12px;
  padding-left: 22px;
  color: #334155;
}

.legal-page li + li {
  margin-top: 4px;
}

.legal-page .legal-meta {
  margin: 0 0 20px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  color: #475569;
}

.legal-nav {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
  font-size: 14px;
  line-height: 1.8;
}

.legal-nav a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.legal-nav a:hover {
  text-decoration: underline;
}

.legal-page p {
  color: #334155;
  margin: 0 0 10px;
}

.legal-page a {
  color: #2563eb;
  font-weight: 600;
}

.legal-page a:hover {
  text-decoration: underline;
  color: #1d4ed8;
}

.legal-page section {
  color: #334155;
}

.support-page-of .shop-main.support-main,
.refund-request-page .shop-main.support-main {
  margin-left: 288px;
  flex: 1;
  width: calc(100% - 288px);
  min-width: 0;
  min-height: 100vh;
  padding: 0;
  max-width: none;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  background: #f5f8fa;
}

.support-page-of .shop-main.support-main > *,
.refund-request-page .shop-main.support-main > * {
  width: 100%;
  box-sizing: border-box;
}

.support-topbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.support-topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.support-topbar__back {
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
}

.support-topbar__back:hover {
  background: #f8fafc;
}

.support-hero {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  min-height: 240px;
  background: #fce7f3 url('../img/support-banner.png') center/cover no-repeat;
  display: flex;
  align-items: center;
}

.support-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.28) 55%, rgba(255, 255, 255, 0.08) 100%);
}

.support-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  padding: 48px 32px;
  box-sizing: border-box;
}

.support-hero__greeting {
  margin: 0;
  max-width: 720px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.25;
  color: #831843;
  word-break: keep-all;
}

.support-content {
  flex: 1;
  width: 100%;
  padding: 28px 24px 48px;
  box-sizing: border-box;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.support-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.support-card h2 {
  margin: 0 0 14px;
  font-size: 18px;
  color: #0f172a;
}

.support-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.support-card--policy .support-policy-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
}

.support-card li + li {
  margin-top: 2px;
}

.support-card a {
  display: block;
  padding: 8px 0;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.support-card a:hover {
  text-decoration: underline;
}

.support-card-note {
  display: block;
  padding: 8px 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.support-chat-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.support-chat-modal[hidden] {
  display: none;
}

.support-chat-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.support-chat-panel {
  position: relative;
  width: min(880px, 96vw);
  height: min(840px, calc(100vh - 32px));
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
}

.support-chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
  color: #fff;
}

.support-chat-head__text strong {
  display: block;
  font-size: 20px;
  line-height: 1.35;
}

.support-chat-head__text p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.support-chat-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.support-chat-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.support-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 22px 20px;
  background: #f8fafc;
}

.support-chat-bubble {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  max-width: 88%;
}

.support-chat-bubble--user {
  margin-left: auto;
  flex-direction: row-reverse;
}

.support-chat-bubble--admin,
.support-chat-bubble--bot {
  margin-right: auto;
}

.support-chat-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-chat-bubble__inner {
  min-width: 0;
}

.support-chat-bubble__body {
  padding: 13px 16px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.55;
  word-break: break-word;
  white-space: pre-wrap;
}

.support-chat-bubble--user .support-chat-bubble__body {
  background: #2563eb;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.support-chat-bubble--admin .support-chat-bubble__body,
.support-chat-bubble--bot .support-chat-bubble__body {
  background: #fff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 4px;
}

.support-chat-bubble__time {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #94a3b8;
}

.support-chat-bubble__category {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
}

.support-chat-bubble--user .support-chat-bubble__time {
  text-align: right;
}

.support-chat-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px 44px;
}

.support-chat-choice {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.support-chat-choice:hover {
  border-color: #2563eb;
  color: #1d4ed8;
  background: #eff6ff;
}

.support-chat-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 14px 16px 18px;
  background: #fff;
  border-top: 1px solid #e2e8f0;
}

.support-chat-form input,
.support-chat-form textarea {
  flex: 1;
  min-width: 0;
  padding: 15px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  background: #f8fafc;
}

.support-chat-form textarea {
  min-height: 52px;
  max-height: 140px;
  border-radius: 18px;
  resize: vertical;
  line-height: 1.5;
}

.support-chat-form input:focus,
.support-chat-form textarea:focus {
  outline: 2px solid rgba(37, 99, 235, 0.35);
  border-color: #2563eb;
  background: #fff;
}

.support-chat-send {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: #334155;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-chat-send:hover:not(:disabled) {
  background: #1e293b;
}

.support-chat-send:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

body.support-chat-open,
html.support-chat-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.support-chat-modal {
  overscroll-behavior: contain;
}

@media (max-width: 720px) {
  .support-chat-panel {
    width: 100%;
    height: calc(100vh - 24px);
    border-radius: 16px;
  }
}

@media (max-width: 820px) {
  .support-hero__inner {
    padding: 36px 20px;
  }

  .support-topbar {
    padding: 12px 16px;
  }

  .support-content {
    padding: 20px 16px 36px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-card--policy .support-policy-links {
    grid-template-columns: 1fr;
  }

  .support-page-of .shop-main.support-main,
  .refund-request-page .shop-main.support-main {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 820px) {
  .shop-body {
    display: block;
  }

  .shop-sidebar:not(.home-sidebar-cc) {
    position: static;
    width: 100%;
  }

  .shop-main {
    margin-left: 0;
    padding: 12px;
  }

  body.viewer-page .shop-main {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .coin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== 스트리머 OF 스타일 페이지 ===== */
.creator-of-page {
  margin: 0;
  background: #0b0d12;
  color: #e8ecf1;
  min-height: 100vh;
}

.creator-top-nav {
  display: flex;
  gap: 14px;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid #222;
  font-size: 14px;
}

.creator-top-nav a {
  color: #9db7ff;
  text-decoration: none;
}

.creator-top-nav a:hover {
  text-decoration: underline;
}

.creator-of-wrap {
  max-width: 720px;
  margin: 0 auto 60px;
}

.creator-of-banner {
  height: 200px;
  background: linear-gradient(120deg, #2d3a55, #1a1f2e);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.creator-of-banner.has-image {
  background-color: #111;
}

.creator-of-inner {
  padding: 0 18px 40px;
  position: relative;
}

.creator-of-avatar-wrap {
  margin-top: -56px;
  margin-bottom: 10px;
}

.creator-of-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 4px solid #0b0d12;
  background: #2d6bff center/cover no-repeat;
  display: grid;
  place-items: center;
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  box-sizing: border-box;
}

.creator-of-avatar.has-image {
  font-size: 0;
}

.creator-of-avatar.is-clickable {
  cursor: pointer;
}

.creator-of-avatar.is-clickable:hover {
  filter: brightness(1.06);
}

.creator-of-avatar.is-clickable:focus-visible {
  outline: 2px solid #6ea8ff;
  outline-offset: 3px;
}

.creator-of-actions-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.creator-of-stats {
  font-size: 14px;
  color: #aeb7c7;
}

.creator-of-stats strong {
  color: #fff;
}

.creator-of-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.creator-of-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

.support-chat-compose-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.support-chat-file-input {
  display: none;
}

.support-chat-attach {
  flex: 0 0 auto;
  padding: 11px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.support-chat-evidence-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.support-chat-evidence-list[hidden] {
  display: none;
}

.support-chat-evidence-item,
.support-chat-bubble__evidence span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 10px;
  background: #eef2ff;
  color: #334155;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.support-chat-evidence-item button {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 18px;
  cursor: pointer;
}

.support-chat-evidence-hint {
  margin: 0;
  color: #64748b;
  font-size: 12px;
}

.support-chat-bubble__evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.creator-of-btn--ghost {
  background: transparent;
  border-color: #3d4658;
  color: #e8ecf1;
}

.creator-of-btn--primary {
  background: linear-gradient(135deg, #ff74b8 0%, #7c6cff 52%, #38bdf8 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(124, 108, 255, 0.24);
}

.creator-of-btn--accent {
  background: linear-gradient(135deg, #fb7185 0%, #f59e0b 45%, #22c55e 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(251, 113, 133, 0.22);
}

.creator-of-btn--primary:hover,
.creator-of-btn--accent:hover:not(:disabled) {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.creator-of-name {
  margin: 10px 0 4px;
  font-size: 22px;
  text-align: left;
}

.creator-channel-type-badge {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 26px;
  margin: 0;
  padding: 3px 8px;
  border: 1px solid #94a3b8;
  border-radius: 6px;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.creator-channel-type-badge--general {
  border-color: #86efac;
  background: #f0fdf4;
  color: #166534;
}

.creator-channel-type-badge--adult {
  border-color: #fda4af;
  background: #fff1f2;
  color: #9f1239;
}

.creator-channel-type-badge--mixed {
  border-color: #fcd34d;
  background: #fffbeb;
  color: #92400e;
}

.creator-of-handle {
  margin: 0 0 10px;
  color: #8b98ad;
  font-size: 14px;
  text-align: left;
}

.creator-of-bio {
  margin: 0 0 12px;
  line-height: 1.55;
  font-size: 14px;
  color: #cfd6e6;
  text-align: left;
}

.creator-owner-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 16px;
}

.creator-owner-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: #8b98ad;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.creator-owner-stat:hover {
  text-decoration: underline;
  color: #64748b;
}

.creator-owner-stat strong {
  color: #0f172a;
  font-weight: 800;
}

.creator-owner-stat-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: none;
}

.creator-owner-stats-note {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
  position: relative;
  top: 3px;
}

.creator-media-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  border-bottom: 1px solid #222;
}

.creator-media-tabs button {
  flex: 1;
  padding: 10px 8px;
  border: none;
  background: transparent;
  color: #8b98ad;
  font-weight: 800;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.creator-media-tabs button.active {
  color: #fff;
  border-bottom-color: #7b3ff2;
}

.creator-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  justify-content: center;
}

.creator-chip-row--under {
  padding: 0 10px 8px;
  justify-content: flex-start;
}

.creator-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.creator-chip--photo {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}

.creator-chip--vid {
  background: rgba(45, 107, 255, 0.25);
  color: #93c5fd;
}

.creator-of-page .creator-feed {
  display: grid;
  gap: 16px;
}

.creator-feed-empty-rec {
  margin-top: 4px;
  padding: 16px 16px 14px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.1);
  box-sizing: border-box;
}

.creator-feed-empty-rec-title {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.creator-feed-empty-rec .home-rec-row {
  background: #fff;
  border: 1px solid #e2e8f0;
}

.creator-feed-empty-rec .home-rec-cover {
  background-color: rgba(255, 182, 214, 0.25);
}

.creator-feed-empty-rec .home-rec-name {
  color: #0f172a;
}

.creator-feed-empty-rec .home-rec-sub {
  color: #475569;
}

.creator-feed-empty-rec .home-rec-av-ph {
  color: #0f172a;
}

.creator-of-page .creator-post-card {
  display: block;
  padding: 0;
  background: var(--cc-surface);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--cc-border);
}

.creator-modal[hidden] {
  display: none !important;
}

.creator-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
}

.creator-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.creator-modal-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 92vw);
  background: #12151c;
  border: 1px solid #2a3142;
  border-radius: 14px;
  padding: 18px;
  color: #e8ecf1;
}

.creator-modal-panel textarea {
  width: 100%;
  margin-top: 10px;
  box-sizing: border-box;
  border-radius: 8px;
  border: 1px solid #333;
  background: #0b0d12;
  color: #fff;
  padding: 10px;
}

.creator-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.creator-modal-note {
  font-size: 12px;
  color: #8b98ad;
  margin: 10px 0 0;
}

.profile-edit-panel {
  max-width: 560px;
}

.profile-edit-lead {
  color: #555;
  font-size: 14px;
  margin: -18px 0 20px;
}

.profile-file-label input {
  margin-top: 6px;
}

/* ===== 홈 피드 ===== */
.home-page .shop-main {
  background: #0f1115;
}

.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
  box-sizing: border-box;
}

.home-feed-column {
  min-width: 0;
}

.home-composer {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: #181b22;
  border-radius: 14px;
  border: 1px solid #2a3142;
  margin-bottom: 18px;
}

.home-composer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff url('/img/cotton-candy-icon.png') center / 78% no-repeat;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  flex-shrink: 0;
}

.home-composer-avatar.has-photo {
  background: #fff;
}

.home-composer-hint {
  margin: 0 0 8px;
  color: #aeb7c7;
  font-size: 13px;
}

.home-composer-btn {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 8px;
  background: #2d6bff;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  font-size: 14px;
}

.home-feed {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.home-post-card {
  background: #181b22;
  border-radius: 14px;
  border: 1px solid #2a3142;
  overflow: hidden;
}

.home-post-head {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding: 10px 54px 10px 12px;
}

.home-post-user {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
}

.home-post-user-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-sizing: border-box;
}

.home-post-time {
  font-size: 12px;
  color: #8b98ad;
  flex: 0 0 auto;
  margin-left: 0;
  white-space: nowrap;
}

.home-post-media {
  position: relative;
  background: #000;
}

.home-post-media img,
.home-post-media video {
  width: 100%;
  display: block;
  max-height: 520px;
  object-fit: cover;
  background: #000;
}

.home-post-media-ph {
  height: 200px;
  background: #111;
}

.post-locked-thumb {
  min-height: 320px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(135deg, #f3f4f6, #e5e7eb);
  color: rgba(15, 23, 42, 0.26);
  font-size: 58px;
  font-weight: 900;
}

.post-media-grid {
  display: grid;
  gap: 3px;
  overflow: hidden;
  background: #000;
  border-radius: 14px 14px 0 0;
}

.post-media-grid--1 {
  grid-template-columns: 1fr;
}

.post-media-grid--2,
.post-media-grid--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-media-grid--3 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-media-grid--3 .post-media-tile:first-child {
  grid-row: span 2;
}

.post-media-tile {
  position: relative;
  display: block;
  width: 100%;
  min-height: 190px;
  padding: 0;
  border: 0;
  background: #020617;
  overflow: hidden;
  cursor: pointer;
}

.post-media-grid--1 .post-media-tile {
  min-height: 360px;
}

.post-media-tile img,
.post-media-tile video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
}

.post-media-grid > .creator-inline-player {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 360px;
  display: block;
  background: #000;
}

.post-media-grid > .post-media-preview-inline-wrap {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 360px;
  background: #000;
}

.post-media-preview-inline-wrap video {
  width: 100%;
  min-height: 360px;
  display: block;
  background: #000;
}

.post-media-preview-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  max-width: calc(100% - 28px);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.cc-upload-field-notice {
  margin-top: 9px;
  padding: 9px 11px;
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-radius: 8px;
  background: rgba(254, 226, 226, 0.72);
  color: #b91c1c;
  font-weight: 900;
}

.studio-file-clear {
  margin-top: 8px;
  width: fit-content;
  border: 1px solid rgba(236, 72, 153, 0.32);
  border-radius: 999px;
  background: #fff;
  color: #db2777;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 12px;
}

.studio-file-clear[hidden] {
  display: none !important;
}

.post-media-lock {
  display: flex;
  flex-direction: column;
  min-height: inherit;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
}

.post-media-lock span:first-child {
  font-size: 34px;
  line-height: 1;
}

.post-media-lock--photo {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(15, 23, 42, 0.2));
}

.post-media-lock--video {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.14), rgba(15, 23, 42, 0.22));
}

.post-media-lock--price-missing,
.post-locked-thumb--price-missing {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(239, 68, 68, 0.92), rgba(127, 29, 29, 0.9));
  color: #fff;
}

.post-media-lock--price-missing span:first-child,
.post-locked-thumb--price-missing span:first-child {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #dc2626;
  font-size: 44px;
  font-weight: 1000;
  line-height: 1;
  box-shadow: 0 12px 30px rgba(127, 29, 29, 0.28);
}

.post-locked-thumb--price-missing {
  gap: 12px;
  font-size: 15px;
}

.post-locked-thumb--price-missing strong {
  display: block;
  color: #fff;
  font-size: 16px;
}

.post-media-video-placeholder {
  display: flex;
  flex-direction: column;
  min-height: inherit;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.22), rgba(15, 23, 42, 0.38));
}

.post-media-video-placeholder span:first-child {
  font-size: 38px;
  line-height: 1;
}

.post-media-play {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 14px;
  pointer-events: none;
}

.post-media-duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  pointer-events: none;
}

.post-media-more {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 900;
  pointer-events: none;
}

.post-media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 34px;
  background: rgba(0, 0, 0, 0.88);
}

.post-media-lightbox[hidden] {
  display: none !important;
}

html.post-media-lightbox-scroll-locked,
body.post-media-lightbox-scroll-locked {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none;
}

.post-media-lightbox-close {
  position: fixed;
  left: 22px;
  top: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

.post-media-lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 1;
  width: 52px;
  height: 72px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.post-media-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.post-media-lightbox-nav[hidden] {
  display: none !important;
}

.post-media-lightbox-prev {
  left: 24px;
}

.post-media-lightbox-next {
  right: 24px;
}

.post-media-lightbox-body {
  width: min(980px, 94vw);
  max-height: 92vh;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 12px;
}

.post-media-lightbox-image,
.post-media-lightbox-video-wrap,
.post-media-lightbox-video {
  width: auto;
  max-width: 100%;
  max-height: 92vh;
  object-fit: contain;
  background: #000;
}

.post-media-lightbox-video-wrap {
  width: min(980px, 94vw);
  height: min(72vh, 720px);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.48);
  overflow: hidden;
  position: relative;
}

.post-media-lightbox-fs-btn {
  position: absolute;
  right: 6px;
  bottom: 54px;
  z-index: 25;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.48) !important;
  background-color: rgba(0, 0, 0, 0.48) !important;
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.38) !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -webkit-tap-highlight-color: transparent !important;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  display: grid;
  place-items: center;
  opacity: 0.92;
  transition: opacity 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}

.post-media-lightbox-fs-btn:hover,
.post-media-lightbox-fs-btn:focus,
.post-media-lightbox-fs-btn:active,
.post-media-lightbox-fs-btn:focus-visible {
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  background: rgba(0, 0, 0, 0.62) !important;
  background-color: rgba(0, 0, 0, 0.62) !important;
  color: #fff !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.46) !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -webkit-tap-highlight-color: transparent !important;
  transform: scale(1.05);
}

.post-media-lightbox-fs-btn.is-active {
  opacity: 1;
  background: rgba(0, 0, 0, 0.62) !important;
  background-color: rgba(0, 0, 0, 0.62) !important;
  color: #fff !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.46) !important;
  outline: none !important;
}

.post-media-lightbox-fs-btn__icon {
  display: block;
  line-height: 1;
  color: #fff !important;
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.post-media-lightbox-fs-btn.post-media-lightbox-fs-btn--auto-hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
}

.post-media-lightbox-fs-btn.post-media-lightbox-fs-btn--auto-hide.is-visible,
.post-media-lightbox-fs-btn.post-media-lightbox-fs-btn--auto-hide:hover,
.post-media-lightbox-fs-btn.post-media-lightbox-fs-btn--auto-hide:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.post-media-lightbox-play-toggle {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 28;
  width: 92px;
  height: 92px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.36);
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

.post-media-lightbox-play-toggle.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.post-media-lightbox-play-toggle__icon {
  display: block;
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  transform: translateX(2px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.post-media-lightbox-play-toggle[aria-pressed='true'] .post-media-lightbox-play-toggle__icon {
  transform: translateX(0);
}

.post-media-lightbox-video-wrap:fullscreen .post-media-lightbox-fs-btn,
.player-wrap:fullscreen .post-media-lightbox-fs-btn {
  right: max(8px, env(safe-area-inset-right, 0px));
  bottom: max(54px, calc(env(safe-area-inset-bottom, 0px) + 54px));
  z-index: 2147483645;
}

.post-media-lightbox-video-wrap:-webkit-full-screen .post-media-lightbox-fs-btn,
.player-wrap:-webkit-full-screen .post-media-lightbox-fs-btn {
  right: max(8px, env(safe-area-inset-right, 0px));
  bottom: max(54px, calc(env(safe-area-inset-bottom, 0px) + 54px));
  z-index: 2147483645;
}

@media (orientation: portrait) {
  .post-media-lightbox-video-wrap .post-media-lightbox-fs-btn,
  .player-wrap .post-media-lightbox-fs-btn {
    right: 8px;
    bottom: 58px;
  }

  .post-media-lightbox-video-wrap .domain-watermark-corner--br,
  .player-wrap .domain-watermark-corner--br {
    right: 16px;
    bottom: 16px;
  }

  .post-media-lightbox-video-wrap:fullscreen .post-media-lightbox-fs-btn,
  .player-wrap:fullscreen .post-media-lightbox-fs-btn,
  .post-media-lightbox-video-wrap:-webkit-full-screen .post-media-lightbox-fs-btn,
  .player-wrap:-webkit-full-screen .post-media-lightbox-fs-btn {
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(118px, calc(env(safe-area-inset-bottom, 0px) + 118px));
  }

  .post-media-lightbox-video-wrap:fullscreen .domain-watermark-corner--br,
  .player-wrap:fullscreen .domain-watermark-corner--br,
  .post-media-lightbox-video-wrap:-webkit-full-screen .domain-watermark-corner--br,
  .player-wrap:-webkit-full-screen .domain-watermark-corner--br {
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(22px, calc(env(safe-area-inset-bottom, 0px) + 22px));
  }
}

@media (orientation: landscape) {
  .post-media-lightbox-video-wrap .post-media-lightbox-fs-btn,
  .player-wrap .post-media-lightbox-fs-btn {
    right: 18px;
    bottom: 78px;
  }

  .post-media-lightbox-video-wrap .domain-watermark-corner--br,
  .player-wrap .domain-watermark-corner--br {
    right: 16px;
    bottom: 14px;
  }

  .post-media-lightbox-video-wrap:fullscreen .post-media-lightbox-fs-btn,
  .player-wrap:fullscreen .post-media-lightbox-fs-btn,
  .post-media-lightbox-video-wrap:-webkit-full-screen .post-media-lightbox-fs-btn,
  .player-wrap:-webkit-full-screen .post-media-lightbox-fs-btn {
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(64px, calc(env(safe-area-inset-bottom, 0px) + 64px));
  }

  .post-media-lightbox-video-wrap:fullscreen .domain-watermark-corner--br,
  .player-wrap:fullscreen .domain-watermark-corner--br,
  .post-media-lightbox-video-wrap:-webkit-full-screen .domain-watermark-corner--br,
  .player-wrap:-webkit-full-screen .domain-watermark-corner--br {
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 16px));
  }
}

.post-media-lightbox-video {
  width: 100% !important;
  height: 100% !important;
  min-height: 360px;
  display: block !important;
  object-fit: contain;
}

/* 네이티브 전체화면·PIP·캐스트 버튼 숨김 (커스텀 ⛶ 사용) */
.cc-secure-video::-webkit-media-controls-fullscreen-button,
.cc-hide-native-fullscreen::-webkit-media-controls-fullscreen-button,
.post-media-lightbox-video::-webkit-media-controls-fullscreen-button,
.creator-inline-player::-webkit-media-controls-fullscreen-button,
.home-post-preview::-webkit-media-controls-fullscreen-button,
.player-wrap video::-webkit-media-controls-fullscreen-button {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.cc-secure-video::-webkit-media-controls-picture-in-picture-button,
.cc-secure-video::-webkit-media-controls-pip-button,
.cc-hide-native-fullscreen::-webkit-media-controls-picture-in-picture-button,
.cc-hide-native-fullscreen::-webkit-media-controls-pip-button,
.post-media-lightbox-video::-webkit-media-controls-picture-in-picture-button,
.post-media-lightbox-video::-webkit-media-controls-pip-button,
.creator-inline-player::-webkit-media-controls-picture-in-picture-button,
.creator-inline-player::-webkit-media-controls-pip-button,
.home-post-preview::-webkit-media-controls-picture-in-picture-button,
.home-post-preview::-webkit-media-controls-pip-button,
.player-wrap video::-webkit-media-controls-picture-in-picture-button,
.player-wrap video::-webkit-media-controls-pip-button {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.cc-secure-video::-webkit-media-controls-remote-playback-button,
.cc-secure-video::-webkit-media-controls-wireless-playback-picker-button,
.cc-secure-video::-webkit-media-controls-overflow-button,
.cc-secure-video::-webkit-media-controls-toggle-closed-captions-button,
.cc-hide-native-fullscreen::-webkit-media-controls-remote-playback-button,
.cc-hide-native-fullscreen::-webkit-media-controls-wireless-playback-picker-button,
.cc-hide-native-fullscreen::-webkit-media-controls-overflow-button,
.cc-hide-native-fullscreen::-webkit-media-controls-toggle-closed-captions-button,
.post-media-lightbox-video::-webkit-media-controls-remote-playback-button,
.post-media-lightbox-video::-webkit-media-controls-wireless-playback-picker-button,
.post-media-lightbox-video::-webkit-media-controls-overflow-button,
.post-media-lightbox-video::-webkit-media-controls-toggle-closed-captions-button,
.creator-inline-player::-webkit-media-controls-remote-playback-button,
.creator-inline-player::-webkit-media-controls-wireless-playback-picker-button,
.creator-inline-player::-webkit-media-controls-overflow-button,
.creator-inline-player::-webkit-media-controls-toggle-closed-captions-button,
.home-post-preview::-webkit-media-controls-remote-playback-button,
.home-post-preview::-webkit-media-controls-wireless-playback-picker-button,
.home-post-preview::-webkit-media-controls-overflow-button,
.home-post-preview::-webkit-media-controls-toggle-closed-captions-button {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 820px) {
  .post-media-lightbox-video::-webkit-media-controls-overlay-enclosure,
  .post-media-lightbox-video::-webkit-media-controls-overlay-play-button,
  .creator-inline-player::-webkit-media-controls-overlay-enclosure,
  .creator-inline-player::-webkit-media-controls-overlay-play-button,
  .home-post-preview::-webkit-media-controls-overlay-enclosure,
  .home-post-preview::-webkit-media-controls-overlay-play-button,
  .cc-hide-native-fullscreen::-webkit-media-controls-overlay-enclosure,
  .cc-hide-native-fullscreen::-webkit-media-controls-overlay-play-button {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}


.post-media-badge-row {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  pointer-events: none;
}

.post-media-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.74);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.post-media-badge span[aria-hidden="true"] {
  font-size: 12px;
}

.post-preview-watermark {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 4;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  pointer-events: none;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
}

.post-media-meta-row {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  padding: 8px 12px 0;
  pointer-events: auto;
}

.post-info-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 8px 12px;
}

.creator-post-body .post-info-row {
  margin-left: 0;
  margin-right: 0;
}

.post-info-row .post-media-meta-row {
  flex: 0 0 auto;
  min-width: 0;
  padding: 0;
  margin: 0;
}

.post-info-row .post-price-line {
  flex-shrink: 0;
  margin: 0;
}

.creator-post-body .post-media-meta-row {
  padding: 0;
  margin: 8px 0 12px;
}

.creator-post-body .post-info-row .post-media-meta-row {
  margin: 0;
}

.post-description {
  margin: 8px 12px 12px;
  color: var(--cc-text, #0f172a);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  white-space: pre-wrap;
}

.creator-post-body .post-description {
  margin: 10px 0 8px;
}

.post-price-line {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 12px;
  color: var(--cc-text, #0f172a);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.creator-post-body .post-price-line {
  margin: 8px 0;
}

.post-candy-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  vertical-align: middle;
}

.post-candy-icon--inline {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.post-price-market,
.post-price-or {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cc-subscriber-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: middle;
}

.cc-subscriber-candy-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: hue-rotate(272deg) saturate(3.4) brightness(0.92) contrast(1.08)
    drop-shadow(0 0 3px rgba(124, 58, 237, 0.35));
}

.following-manage-row__name,
.msg-dm-peer-name,
.msg-dm-chat-handle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.msg-dm-peer-name-row {
  align-items: center;
}

.post-price-muted {
  color: var(--cc-text-muted, #64748b);
  font-weight: 700;
  font-size: 14px;
}

.post-action-button {
  display: flex;
  width: fit-content;
  margin: 8px 12px 10px auto;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7ab6 0%, #9b7cff 48%, #58c8ff 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(123, 124, 255, 0.28);
}

.post-action-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(236, 72, 153, 0.28);
}

.post-action-area {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin: 0 12px 12px;
}

.creator-post-body .post-action-area {
  margin-left: 0;
  margin-right: 0;
}

.post-card-topbar {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 8;
}

.home-post-card {
  position: relative;
}

.home-post-card .post-card-topbar {
  top: 8px;
  right: 8px;
}

.post-action-toolbar {
  display: flex;
  justify-content: flex-end;
}

.post-more-wrap {
  position: relative;
}

.creator-post-body .post-more-btn,
.home-post-card .post-more-btn,
.post-card-topbar .post-more-btn {
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7ab6 0%, #9b7cff 48%, #58c8ff 100%);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(123, 124, 255, 0.24);
}

.creator-post-body .post-more-btn:hover,
.home-post-card .post-more-btn:hover,
.post-card-topbar .post-more-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(236, 72, 153, 0.28);
}

.post-more-btn {
  width: 34px;
  height: 34px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.post-more-btn:hover {
  background: #f8fafc;
}

.post-more-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 140px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  z-index: 30;
}

.creator-post-body .post-more-menu button,
.home-post-card .post-more-menu button,
.post-card-topbar .post-more-menu button,
.post-more-menu button {
  display: block;
  width: 100%;
  padding: 11px 14px;
  border: none;
  background: #fff;
  color: #111;
  text-align: left;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.post-more-menu button:hover {
  background: #f8fafc;
}

.post-more-menu .creator-pin-btn {
  margin-bottom: 0;
  border-radius: 0;
}

.post-link-context-menu {
  position: fixed;
  z-index: 1400;
  min-width: 168px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.post-link-context-menu__btn {
  display: block;
  width: 100%;
  padding: 11px 14px;
  border: none;
  background: #fff;
  color: #111;
  text-align: left;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.post-link-context-menu__btn:hover {
  background: #f1f5f9;
}

.report-evidence-hint,
.report-evidence-notice {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--cc-text-muted);
}

.report-evidence-notice {
  color: #dc2626;
}

.post-action-label {
  color: var(--cc-text-muted, #64748b);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.post-part-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
}

.creator-post-body .post-part-actions {
  margin-left: 0;
  margin-right: 0;
}

.post-part-actions .post-action-button {
  margin: 0;
}

.creator-post-body .post-action-button {
  margin-right: 0;
  background: linear-gradient(135deg, #ff7ab6 0%, #9b7cff 48%, #58c8ff 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(123, 124, 255, 0.28);
}

.creator-post-body .home-post-open.post-action-button {
  background: linear-gradient(135deg, #ff7ab6 0%, #9b7cff 48%, #58c8ff 100%);
  color: #fff;
  border: 0;
  box-shadow: 0 10px 22px rgba(123, 124, 255, 0.28);
}

.settings-post-prices {
  margin-top: 16px;
}

.settings-post-prices[hidden] {
  display: none !important;
}

.settings-post-prices__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
}

.settings-post-prices__summary::-webkit-details-marker {
  display: none;
}

.settings-post-prices__summary strong,
.settings-post-prices__summary small {
  display: block;
}

.settings-post-prices__summary small,
.settings-post-prices__hint,
.settings-post-price-row__meta {
  color: var(--cc-text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.settings-post-prices__body {
  display: grid;
  gap: 12px;
  padding-top: 14px;
}

.settings-post-prices__search {
  margin: 0;
  position: relative;
}

.settings-post-prices__search::before {
  content: '';
  position: absolute;
  left: 16px;
  bottom: 14px;
  width: 15px;
  height: 15px;
  border: 2px solid #9ca3af;
  border-radius: 999px;
  pointer-events: none;
}

.settings-post-prices__search::after {
  content: '';
  position: absolute;
  left: 29px;
  bottom: 12px;
  width: 8px;
  height: 2px;
  background: #9ca3af;
  border-radius: 999px;
  transform: rotate(45deg);
  pointer-events: none;
}

.settings-post-prices__search input {
  width: 100%;
  min-height: 46px;
  padding: 0 16px 0 44px;
  border: 1px solid rgba(244, 114, 182, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff, #fff7fb);
  color: var(--cc-text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  outline: none;
}

.settings-post-prices__search input:focus {
  border-color: #f472b6;
  box-shadow: 0 0 0 4px rgba(244, 114, 182, 0.16);
}

.settings-post-prices__list {
  display: grid;
  gap: 10px;
}

.settings-post-prices__count {
  padding: 10px 12px;
  border: 1px solid rgba(34, 197, 94, 0.24);
  border-radius: 10px;
  background: #f0fdf4;
  color: #166534;
  font-size: 13px;
  font-weight: 900;
}

.settings-post-prices__count.is-warning {
  border-color: rgba(239, 68, 68, 0.26);
  background: #fff1f2;
  color: #be123c;
}

.settings-post-prices__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.settings-post-prices__tabs button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--cc-border);
  border-radius: 999px;
  background: #fff;
  color: var(--cc-text);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.settings-post-prices__tabs button.is-active {
  border-color: rgba(244, 114, 182, 0.58);
  background: var(--cc-btn);
  color: #fff;
  box-shadow: 0 10px 20px rgba(123, 124, 255, 0.22);
}

.settings-post-prices__pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.settings-post-prices__pager button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(244, 114, 182, 0.38);
  border-radius: 999px;
  background: #fff;
  color: var(--cc-text);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.settings-post-prices__pager button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.settings-post-prices__page-status {
  min-width: 68px;
  text-align: center;
  color: var(--cc-text);
  font-size: 13px;
  font-weight: 900;
}

.settings-post-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--cc-border);
  border-radius: 8px;
  background: #fff;
}

.settings-post-price-row--missing {
  border-color: rgba(239, 68, 68, 0.36);
  background: linear-gradient(135deg, #fff, #fff5f5);
}

.settings-post-price-row__title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cc-text);
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-post-price-row__warn {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 13px;
  font-weight: 1000;
}

.settings-post-price-row input {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--cc-border);
  border-radius: 8px;
  font: inherit;
}

.settings-post-prices__bulk-actions {
  display: flex;
  justify-content: flex-end;
}

.settings-post-prices__save-all {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--cc-btn);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.settings-post-prices__save-all:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.settings-price-missing-modal[hidden] {
  display: none !important;
}

.settings-price-missing-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.settings-price-missing-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(6px);
}

.settings-price-missing-modal__panel {
  position: relative;
  width: min(460px, calc(100vw - 32px));
  padding: 28px;
  border: 1px solid rgba(244, 114, 182, 0.42);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
  text-align: center;
}

.settings-price-missing-modal__close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}

.settings-price-missing-modal__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #fb7185);
  color: #fff;
  font-size: 30px;
  font-weight: 1000;
}

.settings-price-missing-modal__panel h3 {
  margin: 0 0 10px;
  color: var(--cc-text);
  font-size: 21px;
}

.settings-price-missing-modal__panel p {
  margin: 0;
  color: var(--cc-text-muted);
  line-height: 1.6;
}

.settings-price-missing-modal__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.settings-price-missing-modal__ghost,
.settings-price-missing-modal__primary {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.settings-price-missing-modal__ghost {
  border: 1px solid var(--cc-border);
  background: #fff;
  color: var(--cc-text);
}

.settings-price-missing-modal__primary {
  border: 0;
  background: var(--cc-btn);
  color: #fff;
  box-shadow: 0 12px 24px rgba(123, 124, 255, 0.24);
}

.settings-post-price-save-modal.is-error .settings-price-missing-modal__icon {
  background: linear-gradient(135deg, #ef4444, #fb7185);
}

.settings-post-price-save-modal:not(.is-error) .settings-price-missing-modal__icon {
  background: linear-gradient(135deg, #22c55e, #60a5fa);
}

.creator-page-loading #creatorMainContent {
  position: relative;
}

.creator-page-loading .creator-of-wrap {
  position: relative;
  min-height: 520px;
}

.creator-page-loading .creator-of-inner > * {
  visibility: hidden;
}

.creator-page-loading .creator-of-wrap::after {
  content: '';
  position: absolute;
  left: 32px;
  top: 170px;
  width: min(640px, calc(100% - 64px));
  height: 230px;
  border-radius: 18px;
  border: 1px solid rgba(244, 114, 182, 0.18);
  background:
    linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.54), rgba(255,255,255,0)) -220px 0 / 220px 100% no-repeat,
    radial-gradient(circle at 52px 58px, rgba(236, 72, 153, 0.24) 0 36px, transparent 37px),
    linear-gradient(90deg, rgba(244, 114, 182, 0.20), rgba(96, 165, 250, 0.16)) 110px 36px / 240px 20px no-repeat,
    linear-gradient(90deg, rgba(148, 163, 184, 0.16), rgba(148, 163, 184, 0.08)) 110px 72px / 170px 16px no-repeat,
    linear-gradient(90deg, rgba(244, 114, 182, 0.16), rgba(96, 165, 250, 0.12)) 0 132px / 100% 42px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.25)) 0 194px / 100% 36px no-repeat;
  background-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 18px 42px rgba(148, 163, 184, 0.14);
  animation: ccSkeletonSweep 1.15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ccSkeletonSweep {
  0% { background-position: -220px 0, 0 0, 110px 36px, 110px 72px, 0 132px, 0 194px; }
  100% { background-position: calc(100% + 220px) 0, 0 0, 110px 36px, 110px 72px, 0 132px, 0 194px; }
}

@media (max-width: 720px) {
  .settings-post-price-row {
    grid-template-columns: 1fr;
  }
}

.creator-post-media.preview-ended::before,
.home-post-media.preview-ended::before {
  content: '🔒';
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  color: rgba(15, 23, 42, 0.28);
  font-size: 58px;
  pointer-events: none;
}

.creator-post-media.preview-ended video[data-preview-clip],
.home-post-media.preview-ended video[data-preview-clip] {
  visibility: hidden;
}

.studio-file-list {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.studio-file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--cc-border, #e5e7eb);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--cc-text, #0f172a);
  font-size: 13px;
}

.studio-file-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-file-row button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 5px 9px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

input[type="file"]:not(.settings-file-input) {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(236, 72, 153, 0.22);
  border-radius: 14px;
  padding: 7px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(236, 72, 153, 0.38), rgba(96, 165, 250, 0.38)) border-box;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  cursor: pointer;
}

input[type="file"]:not(.settings-file-input)::file-selector-button {
  margin-right: 12px;
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: linear-gradient(135deg, #ec4899, #60a5fa);
  color: #fff;
  font: inherit;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(96, 165, 250, 0.22);
  cursor: pointer;
}

input[type="file"]:not(.settings-file-input)::-webkit-file-upload-button {
  margin-right: 12px;
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: linear-gradient(135deg, #ec4899, #60a5fa);
  color: #fff;
  font: inherit;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(96, 165, 250, 0.22);
  cursor: pointer;
}

input[type="file"]:not(.settings-file-input):hover::file-selector-button,
input[type="file"]:not(.settings-file-input):hover::-webkit-file-upload-button {
  filter: brightness(1.04);
}

.cc-upload-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  padding: 20px;
}

.cc-upload-modal[hidden] {
  display: none !important;
}

body.cc-upload-modal-open {
  overflow: hidden;
}

.cc-upload-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(3px);
}

.cc-upload-panel {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  margin: 0 auto;
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--cc-border, #e5e7eb);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.25);
}

.cc-upload-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--cc-border, #e5e7eb);
  backdrop-filter: blur(10px);
}

.cc-upload-head h2 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  color: var(--cc-text, #0f172a);
}

.cc-upload-close,
.cc-upload-submit {
  border: 0;
  cursor: pointer;
  font-weight: 900;
}

.cc-upload-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 24px;
  line-height: 1;
}

.cc-upload-submit {
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7ab6, #6ec8ff);
  color: #fff;
  box-shadow: 0 8px 18px rgba(110, 200, 255, 0.28);
}

.cc-upload-form {
  display: grid;
  gap: 14px;
  padding: 16px;
  overflow-x: hidden;
}

.cc-upload-form textarea {
  width: 100%;
  min-height: 120px;
  box-sizing: border-box;
  resize: vertical;
  border: 0;
  border-bottom: 1px solid var(--cc-border, #e5e7eb);
  padding: 10px 2px 14px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--cc-text, #0f172a);
  outline: none;
  overflow-x: hidden;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  word-break: break-all;
}

.cc-upload-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cc-upload-tools button {
  border: 1px solid var(--cc-border, #e5e7eb);
  border-radius: 999px;
  padding: 8px 12px;
  background: #f8fafc;
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.cc-upload-fields {
  display: grid;
  gap: 12px;
  padding-top: 6px;
}

.cc-upload-fields label {
  display: grid;
  gap: 6px;
  color: var(--cc-text, #0f172a);
  font-size: 13px;
  font-weight: 800;
}

.cc-upload-field-help,
.creator-upload-field-help {
  margin: -2px 0 2px;
  color: var(--cc-text-muted, #64748b);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.cc-upload-price-block {
  display: grid;
  gap: 0;
}

.cc-upload-fields input,
.cc-upload-fields select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--cc-border, #e5e7eb);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  color: var(--cc-text, #0f172a);
}

.post-media-badge--adult {
  background: #fff1f2;
  color: #be123c;
  border-color: #fecdd3;
}

.post-adult-media-wrap {
  position: relative;
  overflow: hidden;
  border-radius: inherit;
}

.post-adult-media-wrap > .post-media-grid,
.post-adult-media-wrap > .home-post-media,
.post-adult-media-wrap > .creator-post-media {
  filter: blur(12px);
  transform: scale(1.02);
  pointer-events: none;
  user-select: none;
}

.post-adult-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: 6px;
  padding: 16px;
  text-align: center;
  color: #fff;
  background: rgba(15, 23, 42, 0.34);
  pointer-events: auto;
}

.post-adult-overlay strong {
  font-size: 16px;
  line-height: 1.25;
}

.post-adult-overlay span {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.cc-upload-file-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid var(--cc-border, #e5e7eb);
  border-radius: 12px;
  padding: 8px;
  background: #fff;
}

.cc-upload-file-picker button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: linear-gradient(135deg, #e85ca8, #58aef5);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.cc-upload-file-picker em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--cc-text-muted, #64748b);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.cc-upload-form .upload-compliance-check {
  margin-top: 4px;
}

@media (max-width: 720px) {
  body.cc-upload-modal-open {
    position: fixed;
    width: 100%;
    inset: 0;
    overflow: hidden;
  }

  #payoutCryptoModal.crypto-modal-backdrop:not([hidden]) {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    box-sizing: border-box;
    padding:
      calc(var(--mobile-header-h, 52px) + env(safe-area-inset-top, 0px) + 8px)
      12px
      calc(var(--mobile-bottom-nav-h, 72px) + env(safe-area-inset-bottom, 0px) + 12px);
    overflow: hidden !important;
  }

  #payoutCryptoModal.crypto-modal-backdrop .crypto-modal {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
  }

  #payoutCryptoModal.crypto-modal-backdrop .crypto-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .cc-upload-modal {
    align-items: start;
    place-items: start center;
    padding: max(6px, env(safe-area-inset-top, 0px)) 6px max(6px, env(safe-area-inset-bottom, 0px));
    overflow: hidden;
  }

  .cc-upload-panel {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 12px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    border-radius: 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .cc-upload-head {
    grid-template-columns: 34px 1fr auto;
    gap: 6px;
    padding: 8px 10px;
  }

  .cc-upload-head h2 {
    font-size: 15px;
  }

  .cc-upload-close {
    width: 32px;
    height: 32px;
  }

  .cc-upload-submit {
    padding: 7px 11px;
  }

  .cc-upload-form {
    gap: 8px;
    padding: 10px;
  }

  .cc-upload-form textarea {
    min-height: 76px;
  }

  .cc-upload-tools,
  .cc-upload-fields {
    gap: 8px;
  }

  .cc-upload-fields {
    padding-top: 0;
  }

  .cc-upload-fields .studio-price-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .cc-upload-fields .studio-price-help,
  .cc-upload-fields .studio-price-convert {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.35;
  }

  .cc-upload-file-picker {
    padding: 6px;
  }
}

@media (max-width: 520px) {
  .payout-submit-btn {
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
  }

  .payout-submit-btn__text {
    flex: 1 1 auto;
    align-self: auto;
  }

  .payout-submit-btn__badge {
    flex: 0 1 42%;
    padding: 8px 10px;
    min-height: 42px;
  }
}

@media (max-width: 430px) {
  .cc-upload-fields .studio-price-grid {
    grid-template-columns: 1fr;
  }

  .cc-upload-tools {
    flex-wrap: wrap;
  }
}

.home-post-title {
  padding: 10px 12px 0;
  font-size: 15px;
  color: #e5e7eb;
}

.home-post-open {
  margin: 10px 12px 12px;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  background: #2d6bff;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.home-side-column {
  position: sticky;
  top: 16px;
  padding: 0;
}

.home-side-user {
  font-weight: 900;
  font-size: 16px;
  color: #fff;
  margin-bottom: 10px;
}

.home-search-wrap {
  position: relative;
  margin-bottom: 16px;
  z-index: 30;
}

.home-search {
  display: flex;
  gap: 6px;
}

.home-search input {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #0f1115;
  color: #fff;
}

.home-search button {
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: #374151;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.home-search-suggest {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 420px;
  overflow-y: auto;
  border-radius: 12px;
  border: 1px solid #2a3142;
  background: #12151c;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.home-search-suggest-go {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-bottom: 1px solid #2a3142;
  background: transparent;
  color: #6ec8ff;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.home-search-suggest-go:hover {
  background: rgba(255, 255, 255, 0.04);
}

.home-search-suggest-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.home-search-suggest-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.home-search-suggest-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: #fff;
}

.home-search-suggest-text {
  min-width: 0;
}

.home-search-suggest-name {
  display: block;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-search-suggest-handle {
  display: block;
  margin-top: 1px;
  font-size: 13px;
  color: #8b98ad;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-search-chrome {
  border-bottom: 1px solid #2a3142;
  margin-bottom: 0;
}

.home-search-tabs {
  display: flex;
  gap: 0;
}

.home-search-tab {
  flex: 1;
  padding: 14px 8px;
  border: none;
  background: transparent;
  color: #8b98ad;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.home-search-tab:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #e7ecf3;
}

.home-search-tab.active {
  color: #fff;
  border-bottom-color: #6ec8ff;
}

.home-search-empty {
  padding: 48px 24px 64px;
  text-align: center;
}

.home-search-empty-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.35;
  color: #fff;
}

.home-search-users {
  display: flex;
  flex-direction: column;
}

.home-search-user-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 16px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #2a3142;
  transition: background 0.15s;
}

.home-search-user-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.home-search-user-av {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: #fff;
}

.home-search-user-text {
  min-width: 0;
  flex: 1;
}

.home-search-user-name {
  display: block;
  font-weight: 900;
  font-size: 15px;
  color: #fff;
}

.home-search-user-handle {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: #8b98ad;
}

.home-search-user-bio {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: #b8c0d0;
}

.home-side-heading {
  margin: 0 0 10px;
  font-size: 13px;
  color: #8b98ad;
}

.home-recommend-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-rec-row {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #2a3142;
  background: #12151c;
}

.home-rec-cover {
  height: 72px;
  background: #222 center/cover no-repeat;
}

.home-rec-meta {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  align-items: center;
}

.home-rec-av,
.home-rec-av-ph {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.home-rec-av {
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-sizing: border-box;
}

.home-rec-av-ph {
  background: #fff url('/img/cotton-candy-icon.png') center / 72% no-repeat;
  display: block;
}

.home-rec-name {
  font-weight: 800;
  font-size: 14px;
  color: #fff;
}

.home-rec-sub {
  font-size: 12px;
  color: #8b98ad;
}

.home-notice-card {
  background: var(--cc-card, #fff);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.home-notice-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.home-notice-brand-av {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.home-notice-body {
  padding: 0 16px 14px;
  color: var(--cc-text, #0f172a);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.home-notice-body a {
  color: #2563eb;
  text-decoration: none;
}

.home-notice-body a:hover {
  text-decoration: underline;
}

.home-notice-media {
  width: 100%;
  background: #000;
}

.home-notice-media img {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
}

.home-notice-rec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.home-notice-rec-card {
  position: relative;
  display: block;
  min-height: 112px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #111827;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.home-notice-rec-card--default {
  background: linear-gradient(135deg, var(--cc-pink-soft, #ffd6ea) 0%, var(--cc-blue-soft, #d4efff) 52%, #fff 100%);
  border: 1px solid rgba(255, 126, 179, 0.24);
  box-shadow: 0 4px 14px rgba(255, 126, 179, 0.12);
}

.home-notice-rec-card--default .home-notice-rec-name {
  color: var(--cc-text, #1e1b4b);
}

.home-notice-rec-card--default .home-notice-rec-sub {
  color: var(--cc-text-muted, #64748b);
}

.home-notice-rec-card--default .home-notice-rec-av {
  box-shadow: 0 0 0 2px #fff, 0 2px 10px rgba(255, 126, 179, 0.28);
  background: #fff;
  object-fit: contain;
  padding: 5px;
}

.home-notice-rec-card:last-child:nth-child(odd):not(:only-child) {
  grid-column: 1 / -1;
  min-height: 128px;
}

.home-notice-rec-cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.72);
}

.home-notice-rec-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.72) 100%);
}

.home-notice-rec-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  min-height: 112px;
}

.home-notice-rec-card:last-child:nth-child(odd):not(:only-child) .home-notice-rec-meta {
  min-height: 128px;
}

.home-notice-rec-av,
.home-notice-rec-av-ph {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  flex: 0 0 auto;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.92);
}

.home-notice-rec-av-ph {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 800;
}

.home-notice-rec-name {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.home-notice-rec-sub {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

@media (max-width: 900px) {
  .home-layout {
    grid-template-columns: 1fr;
  }

  .home-side-column {
    position: static;
  }
}

/* ========== 솜사탕(Cotton Candy) 테마 + X 스타일 사이드바 ========== */
:root {
  --cc-pink: #ff7eb3;
  --cc-pink-soft: #ffd6ea;
  --cc-blue: #7ecbff;
  --cc-blue-soft: #d4efff;
  --cc-lilac: #c4b5fd;
  --cc-text: #1e1b4b;
  --cc-text-muted: #5b5678;
  --cc-surface: rgba(255, 255, 255, 0.88);
  --cc-surface-2: rgba(255, 250, 252, 0.95);
  --cc-border: rgba(255, 126, 179, 0.35);
  --cc-accent: linear-gradient(120deg, #ff9ec5 0%, #8ed4ff 55%, #c4b5fd 100%);
  --cc-btn: linear-gradient(135deg, #ff6ba8 0%, #5eb8ff 100%);
}

body {
  background: linear-gradient(165deg, var(--cc-pink-soft) 0%, #fff 38%, var(--cc-blue-soft) 100%);
  color: var(--cc-text);
}

.page-box {
  background: var(--cc-surface);
  border: 1px solid var(--cc-border);
  box-shadow: 0 12px 40px rgba(126, 200, 255, 0.18);
}

.page-box button {
  background: linear-gradient(135deg, #ff6ba8, #4a9fff);
}

.page-box button:hover {
  filter: brightness(1.05);
}

.page-box a {
  color: #2563eb;
}

.shop-body {
  background: linear-gradient(165deg, var(--cc-pink-soft) 0%, #fff 42%, var(--cc-blue-soft) 100%);
  color: var(--cc-text);
}

.shop-sidebar.home-sidebar-cc {
  background: var(--cc-surface-2);
  border-right: 1px solid var(--cc-border);
  display: flex;
  flex-direction: column;
  padding: 20px 14px 24px;
  position: fixed;
}

.home-cc-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 12px;
  max-width: 100%;
}

.home-cc-brand:hover {
  background: rgba(255, 126, 179, 0.12);
}

.home-cc-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.home-cc-brand-text {
  font-size: 20px;
  font-weight: 900;
  color: #db2777;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.home-cc-brand .home-cc-logo-img {
  mix-blend-mode: multiply;
}

.home-cc-logo {
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
  color: var(--cc-text);
  letter-spacing: -0.02em;
  padding: 6px 10px;
  border-radius: 12px;
  white-space: normal;
  line-height: 1.15;
  max-width: 100%;
}

.home-cc-logo:hover {
  background: rgba(255, 126, 179, 0.12);
}

.home-cc-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 18px;
  flex: 1;
}

.home-cc-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--cc-text);
  font-weight: 700;
  font-size: 15px;
  transition: background 0.15s, color 0.15s;
}

.home-cc-nav-item[href="/p/n5b8w4"],
.home-cc-nav-item[href$="/p/n5b8w4"] {
  gap: 4px;
}

.home-cc-nav-label {
  flex: 0 1 auto;
  min-width: 0;
}

.home-cc-nav-label--notifications {
  position: relative;
  display: inline-block;
  padding-right: 6px;
}

.home-cc-nav-badge {
  margin-left: 0;
  min-width: 0;
  height: auto;
  padding: 2px 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffe4ec;
  color: #e11d48;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  box-shadow: inset 0 0 0 1px rgba(248, 113, 150, 0.35);
}

.home-cc-nav-item {
  position: relative;
}

.home-cc-nav-dot {
  position: absolute;
  top: -3px;
  right: -7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95);
  pointer-events: none;
}

.home-cc-nav-item:hover {
  background: rgba(126, 200, 255, 0.25);
  color: #1d4ed8;
}

.home-cc-nav-item.active {
  font-weight: 800;
  color: #db2777;
  background: linear-gradient(90deg, rgba(255, 126, 179, 0.22), rgba(126, 200, 255, 0.22));
}

.home-cc-post {
  display: block;
  text-align: center;
  padding: 14px 18px;
  margin: 10px 0 16px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 15px;
  text-decoration: none;
  color: #fff;
  background: var(--cc-btn);
  box-shadow: 0 6px 20px rgba(255, 107, 168, 0.35);
}

.home-cc-post:hover {
  filter: brightness(1.06);
}

.home-cc-userrow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  margin-top: auto;
  border-radius: 16px;
  border: 1px solid var(--cc-border);
  background: rgba(255, 255, 255, 0.72);
}

.home-cc-user-av {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff url('/img/cotton-candy-icon.png') center / 72% no-repeat;
  color: var(--cc-text);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 22px;
  flex-shrink: 0;
  overflow: hidden;
}

.home-cc-user-av.has-photo {
  background: #fff;
  border: 2px solid rgba(255, 126, 179, 0.45);
}

.home-cc-user-av .home-cc-user-av-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-composer-avatar.has-photo {
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.home-composer-avatar .home-cc-user-av-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-cc-user-text {
  flex: 1;
  min-width: 0;
}

.home-cc-user-text strong {
  display: block;
  font-size: 17px;
  color: var(--cc-text);
}

.home-cc-handle {
  display: block;
  font-size: 14px;
  color: var(--cc-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-cc-points-line {
  display: grid;
  justify-items: start;
  align-items: start;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #db2777;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

.home-cc-points-row {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  text-align: left;
  white-space: nowrap;
}

.home-cc-points-row + .home-cc-points-row {
  margin-top: 2px;
}

.home-cc-points-icon {
  width: 31px;
  height: 31px;
  object-fit: contain;
  flex: 0 0 auto;
}

.home-cc-payout-line {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #1e40af;
  line-height: 1.4;
  word-break: keep-all;
}

.home-cc-more {
  border: none;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--cc-text-muted);
  padding: 4px 8px;
  border-radius: 8px;
}

.home-cc-more:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--cc-text);
}

.home-cc-dropdown {
  position: absolute;
  right: 8px;
  bottom: 100%;
  margin-bottom: 6px;
  min-width: 140px;
  background: #fff;
  border: 1px solid var(--cc-border);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(30, 27, 75, 0.12);
  padding: 6px;
  z-index: 50;
}

.home-cc-dropdown button {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
  color: #b91c1c;
  font-weight: 700;
}

.home-cc-dropdown button:hover {
  background: #fef2f2;
}

body.viewer-page .shop-main {
  background: transparent;
  color: var(--cc-text);
}

.home-page .shop-main {
  background: transparent;
}

.thumb-wrap {
  position: relative;
}

.card-report-btn {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 6;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(30, 27, 75, 0.78);
  color: #fecdd3;
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-decoration: none;
}

.card-report-btn:hover {
  background: #be123c;
  color: #fff;
}

.card {
  background: var(--cc-surface);
  border: 1px solid var(--cc-border);
  box-shadow: 0 8px 28px rgba(126, 200, 255, 0.12);
}

.title {
  color: var(--cc-text);
}

.meta {
  color: var(--cc-text-muted);
}

.play-btn,
.playback-toggle-btn {
  background: linear-gradient(135deg, #ff6ba8, #4a9fff);
}

.play-btn:hover,
.playback-toggle-btn:not(:disabled):hover {
  filter: brightness(1.06);
}

.player-section {
  background: var(--cc-surface);
  border: 1px solid var(--cc-border);
}

.compliance-banner {
  background: rgba(255, 214, 234, 0.55);
  border-color: var(--cc-border);
  color: var(--cc-text);
}

body.viewer-page .viewer-content h1 {
  color: var(--cc-text);
}

body.viewer-page .site-footer {
  color: var(--cc-text-muted);
}

body.viewer-page .site-footer a {
  color: #2563eb;
}

.player-report-btn {
  display: none;
}

.report-page-inner,
.messages-page-inner,
.following-page-inner,
.settings-page-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 28px 20px 48px;
}

body.report-sub-page .shop-main {
  flex-direction: column;
  width: calc(100% - 288px);
}

.report-page-inner {
  max-width: 920px;
  width: 100%;
}

.report-back a {
  color: #2563eb;
  font-weight: 700;
}

.report-page-title,
.messages-page-inner h1,
.following-page-inner h1,
.settings-page-inner h1 {
  margin: 12px 0 8px;
  color: var(--cc-text);
}

.following-tab-panel {
  margin-top: 4px;
}

.following-box {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.following-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.following-creator-meta {
  font-size: 12px;
  color: var(--cc-text-muted);
  margin-top: 2px;
}

.following-page-inner .following-creator-row {
  border-color: #e2e8f0;
  background: #fff;
}

.following-manage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eff3f6;
}

.following-manage-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.following-manage-row:first-child {
  padding-top: 0;
}

.following-list--compact {
  gap: 0;
}

.following-manage-row__profile {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.following-manage-row__av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.following-manage-row__av-ph {
  display: grid;
  place-items: center;
  background: #e0e7ff;
  color: #4338ca;
  font-weight: 800;
  font-size: 16px;
}

.following-manage-row__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.following-manage-row__name {
  font-weight: 800;
  font-size: 15px;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.following-manage-row__handle {
  font-size: 14px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.following-manage-row__meta {
  flex-shrink: 0;
  font-size: 13px;
  color: #64748b;
  white-space: nowrap;
}

.subscribers-tabs {
  justify-content: center;
  margin-top: 18px;
}

.subscribers-purchase-row {
  align-items: flex-start;
}

.subscribers-purchase-meta {
  display: flex;
  flex: 1.2;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  font-size: 13px;
  color: #64748b;
}

.subscribers-purchase-meta strong {
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subscribers-post-link {
  align-self: flex-start;
  margin-top: 2px;
  font-weight: 800;
  color: #3b82f6;
  text-decoration: none;
}

.subscribers-post-link:hover {
  text-decoration: underline;
}

.following-unfollow-btn {
  flex-shrink: 0;
  min-width: 92px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.following-unfollow-btn__label--hover {
  display: none;
}

.following-unfollow-btn:hover:not(:disabled) {
  border-color: #fecaca;
  background: #fef2f2;
  color: #dc2626;
}

.following-unfollow-btn:hover:not(:disabled) .following-unfollow-btn__label--default {
  display: none;
}

.following-unfollow-btn:hover:not(:disabled) .following-unfollow-btn__label--hover {
  display: inline;
}

.following-unfollow-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.following-page-inner .following-creator-cover {
  height: 48px;
  background: linear-gradient(125deg, #e0e7ff 0%, #fce7f3 55%, #e0f2fe 100%);
}

.following-page-inner .following-video-cover {
  height: 96px;
  background: linear-gradient(135deg, #111827 0%, #374151 100%);
  background-size: cover;
  background-position: center;
}

.following-page-inner .following-video-row .home-rec-meta {
  align-items: flex-start;
}

.following-page-inner .home-rec-name {
  color: #0f172a;
}

.following-page-inner .home-rec-sub,
.following-page-inner .home-rec-av-ph {
  color: #475569;
}

.report-lead,
.messages-lead {
  color: var(--cc-text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.report-form {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.report-label span {
  display: block;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--cc-text);
}

.report-label input[type="text"],
.report-label select,
.report-label textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--cc-border);
  background: #fff;
  font: inherit;
  color: var(--cc-text);
}

.report-native-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.report-file-picker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.report-file-picker-btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  color: #fff;
  background: linear-gradient(135deg, #e85ca8, #58aef5);
  box-shadow: 0 10px 22px rgba(232, 92, 168, 0.22);
  font-weight: 900;
  cursor: pointer;
}

.report-file-picker-btn:hover {
  filter: brightness(1.03);
}

.report-file-picker-status {
  min-width: 0;
  color: var(--cc-text-muted);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.report-evidence-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.report-evidence-item {
  position: relative;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.report-evidence-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.report-evidence-name {
  display: block;
  padding: 6px 8px;
  font-size: 11px;
  color: var(--cc-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.report-evidence-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.report-evidence-remove:hover {
  background: #dc2626;
}

.creator-post-card--highlight {
  outline: 3px solid rgba(37, 99, 235, 0.45);
  outline-offset: 4px;
  border-radius: 18px;
}

.report-submit {
  padding: 12px 22px;
  border: none;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  color: #fff;
  background: var(--cc-btn);
}

.report-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.report-status {
  margin-left: 12px;
  font-size: 14px;
  color: var(--cc-text-muted);
}

.msg-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg-row {
  background: var(--cc-surface);
  border: 1px solid var(--cc-border);
  border-radius: 14px;
  padding: 14px;
}

.msg-row-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
}

.msg-row-head time {
  color: var(--cc-text-muted);
  font-size: 12px;
}

.msg-row-body {
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.msg-block-btn {
  flex-shrink: 0;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  border: 1px solid var(--cc-border, #e5e7eb);
  background: #fff;
  color: #b91c1c;
  cursor: pointer;
}

.msg-block-btn:hover {
  background: #fef2f2;
}

/* ===== DM ===== */
@media (min-width: 961px) {
  body.msg-dm-page {
    overflow: hidden;
  }
}

body.msg-dm-page .shop-main.msg-dm-main {
  margin-left: 288px;
  flex: 1;
  padding: 0;
  height: 100vh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: stretch;
  background: linear-gradient(135deg, #fff5fb 0%, #f3fbff 100%);
  color: var(--cc-text);
  box-sizing: border-box;
}

body.msg-dm-page .msg-dm-shell {
  display: flex;
  flex: 1;
  min-height: 0;
  height: 100%;
  width: 100%;
  border-left: 1px solid var(--cc-border);
  background: rgba(255, 255, 255, 0.7);
}

body.msg-dm-page .msg-dm-rail {
  width: min(380px, 38vw);
  min-width: 260px;
  border-right: 1px solid var(--cc-border);
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.82);
  min-height: 0;
}

.msg-dm-rail-head {
  padding: 16px 16px 8px;
}

.msg-dm-rail-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--cc-text);
}

.msg-dm-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 12px 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--cc-border);
}

.msg-dm-search-icon {
  color: #71767b;
  font-size: 14px;
  line-height: 1;
}

.msg-dm-search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--cc-text);
  font: inherit;
  font-size: 15px;
  outline: none;
}

.msg-dm-peer-list {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.msg-dm-peer-empty {
  padding: 24px 16px;
  text-align: center;
  color: var(--cc-text-muted);
  font-size: 14px;
}

.msg-dm-peer-item {
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: none;
  border-bottom: 1px solid #eef2f7;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
}

.msg-dm-peer-item:hover {
  background: rgba(126, 200, 255, 0.14);
}

.msg-dm-peer-item.is-active {
  background: linear-gradient(90deg, rgba(255, 126, 179, 0.16), rgba(126, 200, 255, 0.18));
}

.msg-dm-peer-av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7ec8ff, #ff9ac6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

.msg-dm-peer-meta {
  flex: 1;
  min-width: 0;
}

.msg-dm-peer-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.msg-dm-peer-name-row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 0 1 auto;
}

.msg-dm-peer-name {
  font-weight: 800;
  color: var(--cc-text);
  flex-shrink: 0;
}

.msg-dm-peer-unread-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  min-width: 0;
  padding: 2px 6px;
  border-radius: 999px;
  background: #ffe4ec;
  color: #e11d48;
  box-shadow: inset 0 0 0 1px rgba(248, 113, 150, 0.35);
}

.msg-dm-peer-time {
  font-size: 12px;
  color: var(--cc-text-muted);
  flex-shrink: 0;
}

.msg-dm-peer-preview {
  margin-top: 4px;
  font-size: 14px;
  color: var(--cc-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.msg-dm-page .msg-dm-pane {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.88);
  position: relative;
}

.msg-dm-pane-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cc-text-muted);
  font-size: 16px;
}

.msg-dm-pane-empty[hidden],
.msg-dm-pane-active[hidden] {
  display: none !important;
}

.msg-dm-pane-active {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.msg-dm-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--cc-border);
  background: rgba(255, 255, 255, 0.76);
}

.msg-dm-back-btn {
  display: none;
}

.msg-dm-chat-peer {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.msg-dm-chat-peer:hover .msg-dm-chat-name {
  text-decoration: underline;
}

.msg-dm-chat-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7ec8ff, #ff9ac6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  overflow: hidden;
}

.msg-dm-chat-av.has-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.msg-dm-chat-name {
  font-weight: 800;
  color: var(--cc-text);
}

.msg-dm-chat-handle {
  font-size: 13px;
  color: var(--cc-text-muted);
}

.msg-dm-chat-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

body.msg-dm-page .msg-dm-chat-actions {
  position: fixed;
  top: 14px;
  right: 170px;
  z-index: 2001;
}

.msg-dm-call-btn,
.msg-dm-attach-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #dbeafe;
  background: #fff;
  color: #2563eb;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.msg-dm-gift-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #fecdd3;
  background: #fff7fb;
  cursor: pointer;
}

.msg-dm-gift-btn img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  pointer-events: none;
}

.msg-dm-gift-btn:hover {
  background: #ffe4ec;
}

.msg-dm-call-btn:hover,
.msg-dm-attach-btn:hover {
  background: #eff6ff;
}

.msg-dm-call-btn:disabled,
.msg-dm-attach-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.msg-dm-call-btn img {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.msg-dm-icon-btn {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #fecdd3;
  background: transparent;
  color: #f4212e;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.msg-dm-icon-btn:hover {
  background: rgba(244, 33, 46, 0.08);
}

.msg-dm-stream {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  min-height: 0;
}

.msg-dm-day {
  text-align: center;
  margin: 16px 0;
}

.msg-dm-day span {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--cc-text-muted);
  font-size: 12px;
  font-weight: 600;
}

.msg-dm-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 4px;
}

.msg-dm-row--in {
  justify-content: flex-start;
}

.msg-dm-row--out {
  justify-content: flex-end;
}

.msg-dm-row-avatar {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7ec8ff, #ff9ac6);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  flex: 0 0 auto;
}

.msg-dm-bubble {
  max-width: min(520px, 88%);
  border-radius: 22px;
  padding: 10px 14px;
  line-height: 1.45;
  word-break: break-word;
}

.msg-dm-bubble--in {
  background: #f1f5f9;
  color: var(--cc-text);
}

.msg-dm-bubble--out {
  background: linear-gradient(135deg, #ff7eb3, #7ec8ff);
  color: #fff;
}

.msg-dm-bubble-text {
  font-size: 15px;
  white-space: pre-wrap;
}

.msg-dm-attachment {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 8px;
  background: rgba(15, 23, 42, 0.08);
}

.msg-dm-attachment img,
.msg-dm-attachment video {
  display: block;
  width: min(360px, 72vw);
  max-height: 360px;
  object-fit: contain;
  background: #0f172a;
}

.msg-dm-row--out .msg-dm-attachment {
  background: rgba(255, 255, 255, 0.22);
}

.msg-dm-fullscreen-btn {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(15, 23, 42, 0.68);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.msg-dm-attachment--video:fullscreen {
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100vh;
  background: #000;
}

.msg-dm-attachment--video:fullscreen video {
  width: 100vw;
  height: 100vh;
  max-height: none;
}

.msg-dm-gift-bubble {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
  width: min(210px, 64vw);
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.26);
  font-weight: 900;
}

.msg-dm-row--in .msg-dm-gift-bubble {
  background: #fff;
  color: var(--cc-text);
}

.msg-dm-gift-card-img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: contain;
}

.msg-dm-gift-custom-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.78;
  overflow: hidden;
  border-radius: 12px;
}

.msg-dm-gift-custom-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.msg-dm-gift-custom-card strong {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  min-width: 78px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #111827;
  text-align: center;
  font-size: 24px;
  font-weight: 950;
  text-shadow: 0 1px 0 #fff;
}

.msg-dm-gift-copy {
  color: inherit;
  font-size: 13px;
  line-height: 1.25;
}

.msg-dm-gift-status {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.msg-dm-gift-claim {
  align-self: flex-start;
  border: none;
  border-radius: 999px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #ec4899, #60a5fa);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(236, 72, 153, 0.22);
}

.msg-dm-call-log {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: min(240px, 64vw);
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.28);
  color: inherit;
}

.msg-dm-row--in .msg-dm-call-log {
  background: #fff;
  color: var(--cc-text);
}

.msg-dm-call-log-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7eb3, #7ec8ff);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  flex: 0 0 auto;
}

.msg-dm-call-log strong,
.msg-dm-call-log em {
  display: block;
  font-style: normal;
  line-height: 1.25;
}

.msg-dm-call-log strong {
  font-size: 14px;
  font-weight: 900;
}

.msg-dm-call-log em {
  margin-top: 2px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.msg-dm-reactions {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.msg-dm-row--out .msg-dm-reactions {
  justify-content: flex-end;
}

.msg-dm-reaction-chip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-width: 24px;
  height: 24px;
  padding: 2px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #475569;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
  font-size: 11px;
  font-weight: 900;
}

.msg-dm-reaction-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: contain;
}

.msg-dm-reaction-picker {
  position: fixed;
  z-index: 2600;
  display: flex;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid #fbcfe8;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.msg-dm-reaction-picker button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.msg-dm-reaction-picker button:hover {
  background: #fdf2f8;
}

.msg-dm-reaction-icon--picker {
  width: 36px;
  height: 36px;
}

.msg-gift-modal {
  position: fixed;
  inset: 0;
  z-index: 2700;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.32);
}

.msg-gift-modal[hidden] {
  display: none !important;
}

.msg-gift-panel {
  width: min(500px, 94vw);
  border: 1px solid #fbcfe8;
  border-radius: 8px;
  background: #f7fbff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}

.msg-gift-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #dbeafe;
  background: #fff;
}

.msg-gift-head h2 {
  margin: 0;
  color: var(--cc-text);
  font-size: 16px;
  font-weight: 900;
}

.msg-gift-close {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: #e5e7eb;
  color: #64748b;
  font-size: 20px;
  cursor: pointer;
}

.msg-gift-body {
  padding: 18px 24px 10px;
}

.msg-gift-recipient {
  margin-bottom: 14px;
  color: #334155;
  font-size: 15px;
  font-weight: 800;
}

.msg-gift-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.msg-gift-presets button {
  min-height: 118px;
  padding: 4px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}

.msg-gift-presets button.is-active {
  border-color: #f472b6;
  background: linear-gradient(135deg, #fff7fb, #eff6ff);
  color: #db2777;
  box-shadow: inset 0 0 0 2px rgba(244, 114, 182, 0.26);
}

.msg-gift-presets img {
  display: block;
  width: 100%;
  height: 108px;
  object-fit: contain;
  pointer-events: none;
}

.msg-gift-custom {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.msg-gift-custom input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--cc-text);
  font: inherit;
  outline: none;
}

.msg-gift-custom input:focus {
  border-color: #f472b6;
  box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.18);
}

.msg-gift-summary {
  border: 1px solid #cbd5e1;
  background: #fff;
}

.msg-gift-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
}

.msg-gift-summary > div + div {
  border-top: 1px solid #e2e8f0;
}

.msg-gift-summary span {
  color: #334155;
  font-weight: 800;
}

.msg-gift-summary strong {
  color: #2563eb;
  font-size: 22px;
  font-weight: 950;
}

.msg-gift-warning {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #ef4444;
  font-size: 13px;
  font-weight: 900;
}

.msg-gift-warning[hidden] {
  display: none !important;
}

.msg-gift-warning span {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #ef4444;
  font-size: 11px;
}

.msg-gift-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 18px 24px 24px;
}

.msg-gift-submit,
.msg-gift-cancel {
  min-width: 132px;
  min-height: 44px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.msg-gift-submit {
  border: none;
  background: #3b82f6;
  color: #fff;
}

.msg-gift-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.msg-gift-cancel {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
}

.msg-dm-bubble-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 11px;
  margin-top: 6px;
}

.msg-dm-bubble-time {
  opacity: 0.82;
}

.msg-dm-row--out .msg-dm-bubble-time {
  color: rgba(255, 255, 255, 0.92);
}

.msg-dm-row--in .msg-dm-bubble-time {
  color: #64748b;
}

.msg-dm-receipt {
  font-size: 11px;
  font-weight: 900;
  color: #111827 !important;
  min-width: 8px;
  user-select: none;
}

.msg-dm-row--out .msg-dm-receipt {
  color: #111827 !important;
}

.msg-dm-row--in .msg-dm-receipt {
  color: #111827 !important;
}

.msg-dm-row--out .msg-dm-bubble-meta {
  text-align: right;
}

.msg-dm-footer {
  padding: 10px 16px 18px;
  border-top: 1px solid var(--cc-border);
  background: rgba(255, 255, 255, 0.82);
}

.msg-dm-composer-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.msg-dm-side-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding-bottom: 4px;
}

.msg-dm-composer-inner {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--cc-border);
  border-radius: 999px;
  padding: 8px 12px;
}

.msg-dm-attach-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #f8fbff;
  color: var(--cc-text);
  font-size: 13px;
  font-weight: 700;
}

.msg-dm-attach-preview[hidden] {
  display: none !important;
}

.msg-dm-attach-preview button {
  border: none;
  background: transparent;
  color: #ef4444;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.msg-dm-attach-preview__media {
  width: 72px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  background: #0f172a;
  flex: 0 0 auto;
}

.msg-dm-attach-preview__media img,
.msg-dm-attach-preview__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.msg-dm-composer-inner textarea {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--cc-text);
  resize: none;
  max-height: 200px;
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  outline: none;
}

.msg-dm-send {
  flex-shrink: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7eb3, #7ec8ff);
  color: #fff;
  border: none;
  padding: 8px 16px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

.msg-dm-send:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.msg-dm-readonly {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--cc-border);
  border-radius: 999px;
  color: var(--cc-text-muted);
  font-size: 15px;
  font-weight: 500;
}

.msg-dm-readonly[hidden] {
  display: none !important;
}

.msg-dm-readonly-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--cc-text-muted);
  position: relative;
  flex-shrink: 0;
  box-sizing: border-box;
}

.msg-dm-readonly-icon::after {
  content: '';
  position: absolute;
  left: 2px;
  right: 2px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: var(--cc-text-muted);
  transform: rotate(-42deg);
  border-radius: 1px;
}

.msg-call-modal {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.55);
}

.msg-call-modal[hidden] {
  display: none !important;
}

.msg-call-panel {
  width: min(760px, 96vw);
  border-radius: 18px;
  background: #0f172a;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.35);
}

.msg-call-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
}

.msg-call-head h2,
.msg-call-head p {
  margin: 0;
}

.msg-call-head p {
  margin-top: 4px;
  color: #cbd5e1;
  font-size: 14px;
}

.msg-call-end {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.msg-call-video-grid {
  display: grid;
  grid-template-columns: 1fr minmax(120px, 24%);
  gap: 10px;
  padding: 0 16px 16px;
}

.msg-call-video-grid video {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: #020617;
  object-fit: cover;
}

.msg-call-video-grid.is-audio-only video {
  display: none;
}

.msg-call-video-grid.is-waiting-local {
  grid-template-columns: 1fr;
}

.msg-call-video-grid.is-waiting-local #msgCallRemoteVideo {
  display: none;
}

.msg-call-video-grid.is-waiting-local #msgCallLocalVideo {
  width: min(520px, 100%);
  margin: 0 auto;
}

.msg-call-video-grid.has-local-preview #msgCallLocalVideo {
  display: block;
  min-height: 180px;
  transform: scaleX(-1);
}

.msg-call-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0 16px 18px;
}

.msg-call-actions[hidden] {
  display: none !important;
}

.msg-call-accept,
.msg-call-decline {
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.msg-call-accept {
  background: #22c55e;
}

.msg-call-decline {
  background: #ef4444;
}

@media (max-width: 960px) {
  body.msg-dm-page .msg-dm-chat-actions {
    position: static;
  }

  body.msg-dm-page .msg-dm-shell {
    flex-direction: column;
  }

  body.msg-dm-page .msg-dm-rail {
    width: 100%;
    max-width: none;
    min-width: 0;
    max-height: 42vh;
    border-right: none;
    border-bottom: 1px solid var(--cc-border);
  }
}

.settings-links {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.settings-links li {
  margin-bottom: 10px;
}

.settings-links a {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--cc-surface);
  border: 1px solid var(--cc-border);
  text-decoration: none;
  color: var(--cc-text);
  font-weight: 700;
}

.settings-links a:hover {
  background: rgba(126, 200, 255, 0.2);
}

/* ----- 설정 (OnlyFans식 중앙 2열: 메뉴 + 상세) ----- */
.settings-page-of .settings-main {
  padding: 20px 16px 48px;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
}

.settings-shell {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  min-height: calc(100vh - 120px);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(30, 27, 75, 0.08);
}

.profile-edit-page .profile-edit-shell.settings-shell {
  grid-template-columns: 1fr;
  max-width: 640px;
}

.profile-edit-toolbar {
  margin-bottom: 18px;
}

.profile-edit-toolbar .settings-profile-panel-title {
  margin: 0;
}

.settings-nav-column {
  border-right: 1px solid #e5e7eb;
  padding: 0 0 20px;
  background: #fafafa;
}

.settings-nav-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 14px 10px;
  border-bottom: 1px solid #e5e7eb;
}

.settings-back-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  text-decoration: none;
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.settings-back-btn:hover {
  background: #e2e8f0;
}

.settings-nav-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.settings-nav-handle {
  margin: 0;
  padding: 12px 16px 8px;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.settings-nav-list {
  display: flex;
  flex-direction: column;
}

.settings-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-bottom: 1px solid #ececec;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
}

.settings-nav-item::after {
  content: '›';
  font-size: 18px;
  color: #94a3b8;
  font-weight: 400;
}

.settings-nav-item:hover {
  background: #f1f5f9;
}

.settings-nav-item.active {
  background: #eff6ff;
  border-right: 3px solid #3b82f6;
  padding-right: 13px;
}

.settings-detail-column {
  padding: 24px 28px 40px;
  min-width: 0;
  background: #fff;
}

.settings-panel[hidden] {
  display: none !important;
}

.settings-panel.is-active {
  display: block;
}

.settings-detail-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

.settings-detail-lead {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
}

.settings-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: #3b82f6;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  font-size: 15px;
}

.settings-primary-link:hover {
  filter: brightness(1.05);
}

.settings-detail-section {
  margin-top: 8px;
}

.settings-detail-section-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.settings-info-row {
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
}

.settings-info-row--with-action {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.settings-info-row--with-action > div,
.settings-info-row--with-action .settings-account-email-text {
  flex: 1;
  min-width: 0;
}

.settings-gradient-pill {
  flex: 0 0 auto;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(135deg, #6d28d9 0%, #db2777 52%, #ea580c 100%);
  box-shadow: 0 6px 18px rgba(109, 40, 217, 0.35);
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}

.settings-gradient-pill:hover {
  box-shadow: 0 8px 24px rgba(109, 40, 217, 0.45);
  transform: translateY(-1px);
}

.settings-gradient-pill:focus-visible {
  outline: 3px solid rgba(219, 39, 119, 0.45);
  outline-offset: 2px;
}

.settings-account-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px 14px;
  margin-bottom: 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.settings-account-card .settings-detail-section-title {
  margin-top: 4px;
}

.settings-account-card .settings-detail-section {
  margin-top: 0;
}

.settings-account-card .settings-info-row:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.settings-info-row--standalone {
  padding: 0;
  border-bottom: none;
}

.settings-info-row--standalone .settings-detail-section-title {
  margin-bottom: 6px;
}

.settings-info-row--standalone .settings-detail-lead {
  margin: 0;
}

.settings-account-local .settings-detail-section {
  padding-bottom: 8px;
}

.settings-monetization-options {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.settings-monetization-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  background: #f8fbff;
  cursor: pointer;
}

.settings-monetization-option input {
  margin-top: 3px;
}

.settings-monetization-option strong,
.settings-monetization-option small {
  display: block;
}

.settings-monetization-option small {
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
}

.settings-creator-sub-cost {
  margin-top: 14px;
  max-width: 100%;
}

.settings-creator-sub-cost.is-hidden {
  display: none;
}

.settings-info-row--email {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 16px;
}

.settings-info-value--email {
  word-break: break-all;
  overflow-wrap: anywhere;
}

.settings-local-email-action {
  margin-top: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.settings-local-password-open {
  margin-top: 14px;
}

.settings-info-row.settings-info-row--password-heading {
  border-bottom: none;
  padding-top: 16px;
  padding-bottom: 0;
}

.following-tabs {
  display: flex;
  gap: 8px;
  margin: 18px 0 14px;
}

.following-tabs button {
  flex: 1;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font: inherit;
  font-weight: 800;
  font-size: 14px;
  color: #475569;
  cursor: pointer;
}

.following-tabs button[aria-selected='true'] {
  border-color: transparent;
  color: #fff;
  background: var(--cc-btn);
  box-shadow: 0 4px 14px rgba(255, 107, 168, 0.35);
}

.following-tab-panel[hidden] {
  display: none !important;
}

.cultureland-modal-panel .cultureland-notices {
  background: #0f172a;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 14px;
}

.cultureland-modal-panel .cultureland-notices p {
  font-size: 13px;
  line-height: 1.55;
  color: #fff;
  margin: 0 0 10px;
}

.cultureland-modal-panel .cultureland-notices p:last-child {
  margin-bottom: 0;
}

.cultureland-modal-panel .cultureland-pin-mount {
  margin: 0 0 4px;
}

.cultureland-modal-panel .cultureland-pin-card {
  margin-top: 4px;
  padding: 14px 12px 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.cultureland-modal-panel .cultureland-pin-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cultureland-modal-panel .cultureland-pin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 8px;
}

.cultureland-modal-panel .cultureland-pin-cell {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 11px 4px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  color: #0f172a;
}

.cultureland-modal-panel .cultureland-pin-cell::placeholder {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: -0.02em;
}

.cultureland-modal-panel .cultureland-pin-cell:focus {
  outline: none;
  border-color: #94a3b8;
  box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.35);
}

.cultureland-modal-panel .cultureland-pin-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.cultureland-modal-panel .cultureland-add-rows-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cultureland-modal-panel .cultureland-add-rows-btn:hover:not(:disabled) {
  background: #e2e8f0;
}

.cultureland-modal-panel .cultureland-add-rows-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.cultureland-modal-panel .cultureland-submit-wrap {
  margin-top: 24px;
}

.cultureland-submit-gradient {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  font-weight: 900;
  font-size: 15px;
  color: #fff;
  background: var(--cc-btn, linear-gradient(90deg, #ff6ba8, #6bc4ff));
  box-shadow: 0 6px 20px rgba(255, 107, 168, 0.35);
  cursor: pointer;
  font-family: inherit;
}

.cultureland-submit-gradient:hover {
  filter: brightness(1.06);
}

.cultureland-submit-gradient:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
}

.cultureland-modal-panel .cultureland-amount-box {
  margin: 12px 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  color: #0f172a;
}

.cultureland-modal-panel .cultureland-amount-box strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

.bank-transfer-modal-panel,
.charge-history-modal-panel {
  max-width: 560px;
}

.bank-transfer-modal-desc {
  margin: 0 0 16px;
  color: #e5edf8;
  line-height: 1.5;
}

.bank-transfer-modal-amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #e5edf8;
}

.bank-transfer-modal-amount strong {
  color: #fff;
  font-size: 18px;
  white-space: nowrap;
}

.payment-bank-depositor {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  color: #111827;
  font-weight: 800;
}

.payment-bank-depositor input {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #d3d7e5;
  border-radius: 7px;
  padding: 12px 13px;
  font: inherit;
}

.payment-bank-depositor input:focus {
  outline: none;
  border-color: #7b3ff2;
  box-shadow: 0 0 0 3px rgba(123, 63, 242, 0.13);
}

.bank-transfer-modal-actions {
  display: block;
  margin-top: 14px;
}

.bank-transfer-modal-secondary,
.charge-history-open {
  border: 1px solid #d3d7e5;
  border-radius: 7px;
  background: #fff;
  color: #1f2937;
  font-weight: 800;
  cursor: pointer;
}

.bank-transfer-modal-secondary {
  padding: 11px 16px;
}

.charge-history-open {
  width: 100%;
  margin-top: 10px;
  padding: 12px 16px;
}

.charge-history-body {
  margin-top: 12px;
}

.charge-history-table-wrap {
  overflow-x: auto;
}

.charge-history-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

.charge-history-table th,
.charge-history-table td {
  border-bottom: 1px solid #e5e7ef;
  padding: 10px 8px;
  text-align: left;
  font-size: 13px;
}

.charge-history-table th {
  color: #566074;
  font-weight: 900;
}

.charge-history-empty {
  padding: 16px 0;
  color: #566074;
}

.charge-history-status {
  font-weight: 900;
}

.cultureland-amount-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.cultureland-amount-sub {
  margin-top: 8px;
  color: #64748b;
  font-size: 13px;
}

.cultureland-amount-krw {
  min-width: 180px;
  text-align: right;
}

.cultureland-amount-krw small,
.cultureland-amount-krw em {
  display: block;
  color: #64748b;
  font-style: normal;
  font-size: 12px;
}

.cultureland-krw-exact {
  display: block;
  font-weight: 800;
  color: #0f172a;
}

.cultureland-simple-amount > span {
  display: block;
}

.cultureland-simple-amount strong span {
  font-size: 15px;
  font-weight: 800;
  color: #475569;
}

@media (max-width: 640px) {
  .cultureland-amount-layout {
    grid-template-columns: 1fr;
  }

  .cultureland-amount-krw {
    text-align: left;
  }
}

.pay-method.cultureland {
  border-color: #c4b5fd;
  background: linear-gradient(135deg, rgba(196, 181, 253, 0.35), rgba(254, 202, 202, 0.45));
}

.settings-account-local .settings-detail-section + .settings-detail-section {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}

.settings-account-danger.settings-account-card .settings-danger-block {
  margin-top: 16px;
  padding-top: 16px;
}

.settings-account-danger.settings-account-card .settings-danger-block:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.settings-avatar-upload-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 2;
  box-sizing: border-box;
}

.settings-avatar-upload-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  font-weight: 300;
  line-height: 0;
  width: 1.15em;
  height: 1.15em;
  margin: 0;
  padding: 0;
}

.settings-email-modal .creator-modal-panel {
  background: #fff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}

.settings-email-modal .settings-ac-field span {
  color: #0f172a;
}

.settings-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}

.settings-email-modal .creator-modal-panel h3 {
  margin: 0 36px 14px 0;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.settings-info-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 4px;
}

.settings-info-value {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.settings-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  max-width: 360px;
}

.settings-field-label {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.settings-lang-select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font: inherit;
  font-size: 15px;
  background: #fff;
  color: #0f172a;
}

/* 설정 > 프로필 (인라인 편집) */
.settings-panel--profile {
  max-width: 560px;
}

.settings-profile-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.settings-profile-panel-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

.settings-profile-save {
  padding: 8px 20px;
  border-radius: 999px;
  border: none;
  background: #3b82f6;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}

.settings-profile-save:hover {
  filter: brightness(1.06);
}

.settings-cc-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: var(--cc-btn);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 6px 20px rgba(255, 107, 168, 0.35);
  text-decoration: none;
  box-sizing: border-box;
}

.settings-cc-action-btn:hover {
  filter: brightness(1.06);
}

.settings-cc-action-btn--link {
  text-align: center;
}

.settings-profile-save.settings-cc-action-btn {
  background: var(--cc-btn);
}

.settings-profile-save-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 1.75rem;
  padding-bottom: 12px;
}

.settings-profile-save-wrap--dual {
  flex-wrap: wrap;
}

.settings-nav-item--link {
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

.settings-nav-item--link:hover {
  background: #f1f5f9;
}

.settings-account-danger {
  margin-top: 28px;
  padding-top: 8px;
}

.settings-danger-block {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}

.settings-account-danger .settings-danger-block:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 8px;
}

.settings-danger-subtitle {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.settings-danger-desc {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #64748b;
}

.settings-danger-block .settings-ac-btn.settings-ac-btn--warn,
.settings-danger-block .settings-ac-btn.settings-ac-btn--danger {
  margin-top: 18px;
}

.settings-ac-btn--warn {
  border-color: transparent !important;
  background: var(--cc-btn) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(255, 107, 168, 0.35);
}

.settings-ac-btn--danger {
  border-color: transparent !important;
  background: var(--cc-btn) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(255, 107, 168, 0.35);
}

.settings-ac-btn--warn:hover,
.settings-ac-btn--danger:hover {
  filter: brightness(1.06);
}

.settings-profile-hero {
  position: relative;
  margin-bottom: 52px;
}

.settings-profile-cover-hint {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
}

.settings-profile-cover {
  position: relative;
  display: block;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
}

.settings-profile-cover .settings-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
  font-size: 0;
  color: transparent;
}

.settings-file-input::-webkit-file-upload-button {
  display: none;
}

.settings-profile-cover-preview {
  position: relative;
  height: 150px;
  background: #f1f5f9 center/cover no-repeat;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-sizing: border-box;
}

.settings-profile-cover-preview .settings-media-plus {
  border-radius: 12px;
}

.settings-profile-cover-preview.is-empty {
  background: linear-gradient(125deg, #e0e7ff 0%, #fce7f3 55%, #e0f2fe 100%);
  border-style: dashed;
}

.settings-media-plus {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 200;
  line-height: 1;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(15, 23, 42, 0.4);
  pointer-events: none;
  z-index: 1;
}

.settings-profile-avatar {
  position: absolute;
  left: 20px;
  bottom: -40px;
  width: 92px;
  height: 92px;
  cursor: pointer;
  z-index: 4;
}

.settings-profile-avatar .settings-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
  font-size: 0;
  color: transparent;
}

.settings-profile-avatar-preview {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
  background: #60a5fa center/cover no-repeat;
  display: block;
  box-sizing: border-box;
  overflow: hidden;
}

.settings-profile-avatar-preview .settings-av-letter {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  z-index: 0;
  line-height: 1;
  pointer-events: none;
}

.settings-profile-avatar-preview .settings-avatar-upload-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.settings-profile-avatar-preview.is-letter {
  background: linear-gradient(135deg, #7c3aed, #db2777);
}

.settings-profile-form {
  margin-top: 8px;
}

.settings-of-field {
  margin-bottom: 20px;
}

.settings-of-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.settings-of-input,
.settings-of-textarea {
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font: inherit;
  font-size: 15px;
  color: #0f172a;
  background: #fff;
}

.settings-of-textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.5;
}

.settings-of-input--readonly {
  background: #f8fafc;
  color: #0f172a;
}

.settings-profile-url {
  font-size: 12px;
  color: #64748b;
  margin-top: 6px;
  max-width: 480px;
  word-break: break-all;
}

.settings-char-count {
  text-align: right;
  max-width: 480px;
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

#settingsProfileResult {
  max-width: 480px;
  margin-top: 8px;
}

.settings-account-oauth .settings-detail-lead {
  margin-top: 0;
}

.settings-account-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin-top: 8px;
}

.settings-ac-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.settings-ac-field input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font: inherit;
  font-size: 15px;
  color: #0f172a;
  background: #fff;
}

.settings-ac-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.settings-ac-row--password-submit {
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  width: 100%;
  margin-top: 4px;
}

.settings-ac-row--password-submit .settings-ac-submit {
  align-self: center;
  margin: 0;
}

.settings-password-forgot-btn {
  flex-shrink: 0;
}

.settings-ac-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  color: #0f172a;
  font-family: inherit;
}

.settings-ac-btn:hover {
  background: #e2e8f0;
}

.settings-ac-submit {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: #3b82f6;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  align-self: flex-start;
}

.settings-ac-submit:hover {
  filter: brightness(1.05);
}

.settings-row-link {
  display: inline-flex;
  margin-top: 8px;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
}

.settings-row-link:hover {
  text-decoration: underline;
}

.settings-channel-type-field {
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.settings-channel-type-field select {
  width: 100%;
  margin-bottom: 10px;
}

.settings-channel-type-notice {
  margin-top: 8px;
}

.settings-channel-type-field .settings-profile-save {
  margin-top: 12px;
}

#ccUploadPostType:disabled,
#postType:disabled {
  cursor: not-allowed;
  background: #f1f5f9;
  color: #475569;
  opacity: 1;
}

.settings-mobile-menu-back {
  display: none;
}

@media (max-width: 800px) {
  .settings-shell {
    grid-template-columns: 1fr;
    max-width: 560px;
    min-height: 0;
  }

  .settings-nav-column {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }

  .settings-nav-item.active {
    border-right: none;
    border-left: 3px solid #3b82f6;
    padding-right: 16px;
    padding-left: 13px;
  }

  .settings-page-of:not(.settings-mobile-detail-open) .settings-detail-column {
    display: none;
  }

  .settings-page-of.settings-mobile-detail-open .settings-nav-column {
    display: none;
  }

  .settings-mobile-menu-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 1px solid #ffd0e6;
    border-radius: 999px;
    background: #fff7fb;
    color: #11143f;
    font-weight: 800;
    cursor: pointer;
  }
}

.shop-body > .shop-sidebar:not(.home-sidebar-cc) {
  background: var(--cc-surface-2);
  border-right-color: var(--cc-border);
}

.shop-body > .shop-sidebar:not(.home-sidebar-cc) .shop-logo {
  color: #db2777;
}

.shop-body > .shop-sidebar:not(.home-sidebar-cc) .shop-nav a.active,
.shop-body > .shop-sidebar:not(.home-sidebar-cc) .shop-nav a:hover {
  color: #db2777;
  background: rgba(126, 200, 255, 0.2);
}

.home-composer {
  background: var(--cc-surface);
  border-color: var(--cc-border);
}

.home-composer-hint {
  color: var(--cc-text-muted);
}

.home-composer-btn {
  background: var(--cc-btn);
}

.creator-owner-composer {
  margin-bottom: 16px;
}

.home-post-card {
  background: var(--cc-surface);
  border-color: var(--cc-border);
}

.home-post-user {
  color: var(--cc-text);
}

.home-post-time {
  color: var(--cc-text-muted);
}

.home-post-title {
  color: var(--cc-text);
}

.home-post-open {
  background: var(--cc-btn);
}

.home-post-open.post-action-button,
.creator-post-body .post-action-button {
  display: flex;
  width: fit-content;
  margin: 8px 12px 10px auto;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7ab6 0%, #9b7cff 48%, #58c8ff 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(123, 124, 255, 0.28);
}

.creator-post-body .post-action-button {
  margin-right: 0;
}

.home-side-column {
  background: transparent;
  border-color: transparent;
}

.home-side-user,
.home-side-name {
  color: var(--cc-text);
}

.home-search input {
  background: #fff;
  border-color: var(--cc-border);
  color: var(--cc-text);
}

.home-search button {
  background: linear-gradient(135deg, #ff8abf, #6ec8ff);
  color: #fff;
}

.home-search-suggest {
  background: var(--cc-surface);
  border-color: var(--cc-border);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.home-search-suggest-go {
  border-bottom-color: var(--cc-border);
  color: #3b82f6;
}

.home-search-suggest-name {
  color: var(--cc-text);
}

.home-search-suggest-handle {
  color: var(--cc-text-muted);
}

.home-search-chrome {
  border-bottom-color: var(--cc-border);
}

.home-search-tab {
  color: var(--cc-text-muted);
}

.home-search-tab.active {
  color: var(--cc-text);
  border-bottom-color: #6ec8ff;
}

.home-search-empty-title {
  color: var(--cc-text);
}

.home-search-user-row {
  border-bottom-color: var(--cc-border);
}

.home-search-user-name {
  color: var(--cc-text);
}

.home-search-user-handle {
  color: var(--cc-text-muted);
}

.home-search-user-bio {
  color: var(--cc-text-muted);
}

.home-side-heading {
  color: var(--cc-text-muted);
}

.home-rec-row {
  background: var(--cc-surface-2);
  border-color: var(--cc-border);
}

.home-rec-name {
  color: var(--cc-text);
}

.home-rec-sub {
  color: var(--cc-text-muted);
}

.fullscreen-btn {
  background: rgba(91, 86, 120, 0.15);
  color: var(--cc-text);
}

.status {
  color: var(--cc-text-muted);
}

/* ----- 결제(상점) 스크롤 + 크리에이터 페이지 솜사탕 테마 ----- */
.shop-main--scroll {
  align-items: flex-start;
  min-height: 100vh;
  overflow-y: auto;
  padding-bottom: 72px;
  box-sizing: border-box;
}

.shop-panel--padded {
  padding-bottom: 48px;
}

.payment-page-shop .checkout-line {
  flex-wrap: wrap;
  gap: 6px 12px;
}

.payment-market-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 8px;
}

.payment-market-tabs[hidden],
.payment-market-tab[hidden] {
  display: none !important;
}

.payment-market-tab {
  flex: 1 1 140px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #d3d7e5;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.payment-market-tab.active {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
}

.payment-market-hint {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
}

.pay-method.is-maintenance,
.pay-method:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.pay-method.is-maintenance .pay-badges {
  font-size: 13px;
  font-weight: 800;
}

.pay-method.paypal.is-maintenance .pay-badges {
  color: #fff;
}

.pay-method.is-maintenance:hover,
.pay-method:disabled:hover {
  border-color: #d3d7e5;
}

.pay-method.is-hidden-market {
  display: none !important;
}

.payment-page-shop .checkout-line strong {
  white-space: nowrap;
}

.creator-shop-main {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 48px;
}

body.creator-of-page .shop-main.creator-shop-main {
  padding-left: 12px;
  padding-right: 12px;
  background: linear-gradient(165deg, var(--cc-pink-soft, #ffd6ea) 0%, #fff 42%, var(--cc-blue-soft, #d4efff) 100%);
}

.creator-with-sidebar.creator-of-page {
  background: transparent;
  color: var(--cc-text);
}

.creator-with-sidebar .creator-of-wrap {
  margin: 0 auto 24px;
  max-width: none;
  width: 100%;
}

.creator-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
  justify-content: center;
  box-sizing: border-box;
}

.creator-feed-column {
  min-width: 0;
  width: 100%;
}

.creator-rail-column {
  position: sticky;
  top: 16px;
  align-self: start;
  box-sizing: border-box;
}

.creator-rail-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.creator-rail-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--cc-surface-2);
  border: 1px solid var(--cc-border);
  box-sizing: border-box;
}

.creator-rail-heading {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  color: var(--cc-text);
}

.creator-rail-legal {
  padding: 0 2px 4px;
}

.creator-rail-legal-nav {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 12px;
  line-height: 1.75;
  color: var(--cc-text-muted);
}

.creator-rail-legal-nav a {
  display: inline;
  color: var(--cc-text-muted);
  text-decoration: none;
  font-weight: 500;
}

.creator-rail-legal-nav a:hover {
  text-decoration: underline;
  color: var(--cc-text);
}

.creator-rail-legal-sep {
  color: var(--cc-text-muted);
  user-select: none;
  font-weight: 400;
}

.creator-rail-tagline {
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--cc-text-muted);
}

.creator-rail-card .home-rec-row {
  background: var(--cc-surface);
  border-color: var(--cc-border);
}

.creator-rail-card .home-rec-cover {
  background-color: rgba(255, 182, 214, 0.25);
}

.creator-rail-card .home-rec-name {
  color: var(--cc-text);
}

.creator-rail-card .home-rec-sub {
  color: var(--cc-text-muted);
}

.creator-rail-card .home-rec-av-ph {
  color: #fff;
}

@media (max-width: 960px) {
  .creator-page-layout {
    grid-template-columns: 1fr;
    max-width: min(640px, 100%);
  }

  .creator-rail-column {
    position: static;
    order: 2;
  }

  .creator-feed-column {
    order: 1;
  }
}

.creator-with-sidebar .creator-of-banner {
  border-radius: 16px;
  background: linear-gradient(130deg, #ffd6ea 0%, #d4efff 55%, #e9e0ff 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.creator-with-sidebar .creator-of-banner.has-image {
  border-radius: 16px;
  background-color: #f8fafc;
}

.creator-with-sidebar .creator-of-inner {
  padding: 0 clamp(10px, 1.5vw, 24px) 32px;
  max-width: none;
}

.creator-with-sidebar .creator-of-avatar {
  border-color: #fff;
  box-shadow: 0 6px 20px rgba(30, 27, 75, 0.12);
}

.creator-with-sidebar .creator-of-stats,
.creator-with-sidebar .creator-of-handle {
  color: var(--cc-text-muted);
}

.creator-with-sidebar .creator-of-stats strong {
  color: var(--cc-text);
}

.creator-with-sidebar .creator-of-name {
  color: var(--cc-text);
  text-align: left;
}

.creator-with-sidebar .creator-of-handle,
.creator-with-sidebar .creator-of-bio {
  text-align: left;
}

.creator-with-sidebar .creator-of-bio {
  color: var(--cc-text);
}

.creator-with-sidebar .creator-owner-stat {
  color: var(--cc-text-muted);
}

.creator-with-sidebar .creator-owner-stat strong {
  color: var(--cc-text);
}

.creator-with-sidebar .creator-owner-stats-note {
  color: var(--cc-text-muted);
}

.creator-with-sidebar .creator-of-btn--ghost {
  border-color: var(--cc-border);
  color: var(--cc-text);
  background: rgba(255, 255, 255, 0.65);
}

.creator-with-sidebar .creator-media-tabs {
  border-bottom-color: var(--cc-border);
  justify-content: flex-start;
  gap: 4px 18px;
}

.creator-with-sidebar .creator-media-tabs button {
  color: var(--cc-text-muted);
  flex: 0 0 auto;
  padding: 10px 4px;
}

.creator-with-sidebar .creator-media-tabs button.active {
  color: #db2777;
  border-bottom-color: #db2777;
}

.creator-with-sidebar .creator-post-card {
  background: var(--cc-surface);
  border: 1px solid var(--cc-border);
  box-shadow: 0 8px 24px rgba(126, 200, 255, 0.12);
}

.creator-with-sidebar .creator-post-media {
  border-radius: 0;
  aspect-ratio: auto;
  background: #f1f5f9;
}

.creator-with-sidebar .creator-post-media img,
.creator-with-sidebar .creator-post-media video {
  width: 100%;
  display: block;
  max-height: 640px;
  height: auto;
  object-fit: contain;
  background: #000;
}

.creator-with-sidebar .creator-post-media .post-locked-thumb {
  min-height: 360px;
}

.creator-with-sidebar .creator-pay-overlay {
  background: rgba(15, 23, 42, 0.42);
}

.creator-with-sidebar .creator-post-body {
  padding: 12px 14px 14px;
}

.creator-with-sidebar .creator-post-body h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.creator-with-sidebar .creator-post-body h2,
.creator-with-sidebar .creator-post-body p {
  color: var(--cc-text);
}

.creator-with-sidebar .creator-modal-panel {
  background: var(--cc-surface);
  border: 1px solid var(--cc-border);
  color: var(--cc-text);
}

.creator-with-sidebar .creator-modal-panel textarea {
  background: #fff;
  border: 1px solid var(--cc-border);
  color: var(--cc-text);
}

.creator-with-sidebar .creator-modal-note {
  color: var(--cc-text-muted);
}

.creator-block-banner {
  margin: 12px 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #92400e;
  font-size: 14px;
  line-height: 1.45;
}

.creator-block-banner.is-muted {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: #374151;
}

.shop-sidebar .home-cc-brand {
  margin-bottom: 4px;
}

/* —— 알림 페이지 —— */
.notifications-main {
  padding: 0;
}

.notifications-shell {
  max-width: 600px;
  margin: 0 auto;
  padding: 16px 20px 32px;
}

.notifications-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cc-border, #e5e7eb);
}

.notifications-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
}

.notifications-read-all {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--cc-border, #e5e7eb);
  background: var(--cc-surface-2, #f8fafc);
  color: var(--cc-text, #111);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.notifications-list {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--cc-border, #e5e7eb);
  background: var(--cc-surface, #fff);
}

.notifications-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  padding: 14px 16px;
  text-decoration: none;
  text-align: left;
  color: inherit;
  border: none;
  border-bottom: 1px solid var(--cc-border, #e5e7eb);
  background: transparent;
  position: relative;
  cursor: pointer;
  font: inherit;
}

button.notifications-item:hover,
a.notifications-item:hover {
  background: rgba(126, 200, 255, 0.06);
}

.notifications-item:last-child {
  border-bottom: none;
}

.notifications-item.is-unread {
  background: rgba(126, 200, 255, 0.08);
}

.notifications-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: #fff;
}

.notifications-item-body {
  flex: 1;
  min-width: 0;
}

.notifications-item-text {
  display: block;
  font-weight: 800;
  font-size: 14px;
  color: var(--cc-text, #111);
}

.notifications-item-sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--cc-text-muted, #64748b);
  line-height: 1.4;
}

.notifications-item-time {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--cc-text-muted, #94a3b8);
}

.notifications-item-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  flex-shrink: 0;
  margin-top: 6px;
}

.settings-notify-toggles {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}

.settings-notify-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.settings-notify-toggle input {
  width: 18px;
  height: 18px;
  accent-color: #3b82f6;
}

.settings-login-history-list {
  max-height: 60vh;
  overflow-y: auto;
  margin-top: 12px;
}

.settings-login-history-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--cc-border, #e5e7eb);
}

.settings-login-history-row:last-child {
  border-bottom: none;
}

.settings-login-history-time {
  font-weight: 800;
  font-size: 14px;
}

.settings-login-history-meta {
  margin-top: 4px;
  font-size: 13px;
  color: var(--cc-text-muted, #64748b);
}

.settings-login-history-ua {
  margin-top: 4px;
  font-size: 12px;
  color: var(--cc-text-muted, #94a3b8);
  word-break: break-all;
}

.settings-login-history-modal.creator-modal {
  z-index: 5000;
}

.settings-login-history-modal .settings-login-activity-panel {
  width: min(440px, 92vw);
  max-height: min(88vh, 720px);
  overflow-y: auto;
  padding: 8px 16px 20px;
  border-radius: 16px;
  border: 1px solid var(--cc-border, #e5e7eb);
  background: var(--cc-surface, #fff);
  color: var(--cc-text, #111);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}

.home-notice-card--focus {
  outline: 3px solid rgba(59, 130, 246, 0.55);
  outline-offset: 4px;
  border-radius: 14px;
}

.settings-login-activity-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.settings-login-activity-nav-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--cc-text, #111);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.settings-login-activity-nav-btn:hover {
  background: rgba(126, 200, 255, 0.15);
}

.settings-login-activity-account {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--cc-text-muted, #64748b);
}

.settings-login-activity-title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--cc-text, #111);
}

.settings-login-activity-lead {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--cc-text-muted, #64748b);
}

.settings-login-activity-subtitle {
  margin: 18px 0 10px;
  font-size: 15px;
  font-weight: 900;
  color: var(--cc-text, #111);
}

.settings-login-activity-card {
  border-radius: 12px;
  border: 1px solid var(--cc-border, #e5e7eb);
  background: var(--cc-surface-2, #f8fafc);
  overflow: hidden;
}

.settings-login-activity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--cc-border, #e5e7eb);
  cursor: default;
}

.settings-login-activity-row:last-child {
  border-bottom: none;
}

.settings-login-activity-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #fff center / 55% no-repeat;
  border: 1px solid var(--cc-border, #e5e7eb);
}

.settings-login-activity-icon--desktop {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M4 5h16v10H4V5zm2 12h12v2H6v-2z'/%3E%3C/svg%3E");
}

.settings-login-activity-icon--mobile {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M7 3h10v18H7V3zm2 14h6v2H9v-2z'/%3E%3C/svg%3E");
}

.settings-login-activity-text {
  flex: 1;
  min-width: 0;
}

.settings-login-activity-device {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--cc-text, #111);
}

.settings-login-activity-sub {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--cc-text-muted, #64748b);
}

.settings-login-activity-status {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 800;
  color: #16a34a;
}

.settings-login-activity-time {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--cc-text-muted, #94a3b8);
}

.settings-login-activity-chevron {
  font-size: 20px;
  color: var(--cc-text-muted, #94a3b8);
  flex-shrink: 0;
}

.settings-login-activity-empty {
  padding: 14px;
  font-size: 14px;
  color: var(--cc-text-muted, #64748b);
  text-align: center;
}

body.settings-login-activity-open {
  overflow: hidden;
}

body.shop-body > .settings-login-history-modal.creator-modal:not([hidden]) {
  position: fixed;
  inset: 0;
  margin: 0;
  flex: none;
  width: auto;
  max-width: none;
}

/* —— 크리에이터 영상 통계 —— */
.creator-stats-main {
  padding: 0;
}

.creator-stats-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 20px 40px;
}

.creator-stats-head {
  margin-bottom: 20px;
}

.creator-stats-back {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #3b82f6;
  text-decoration: none;
}

.creator-stats-title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 900;
}

.creator-stats-lead {
  margin: 0;
  font-size: 14px;
  color: var(--cc-text-muted, #64748b);
  line-height: 1.5;
}

.creator-stats-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  margin-bottom: 18px;
  border: 1px solid var(--cc-border, #e5e7eb);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.creator-stats-tab {
  min-width: 96px;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--cc-text-muted, #64748b);
  font-weight: 900;
  cursor: pointer;
}

.creator-stats-tab.is-active {
  background: linear-gradient(135deg, #ff7ab8, #6ec8ff);
  color: #fff;
  box-shadow: 0 8px 18px rgba(236, 72, 153, 0.18);
}

.creator-stats-tab:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.35);
  outline-offset: 2px;
}

.creator-stats-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.creator-stats-summary-card {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--cc-border, #e5e7eb);
  background: var(--cc-surface, #fff);
}

.creator-stats-summary-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--cc-text-muted, #64748b);
}

.creator-stats-summary-value {
  display: block;
  margin-top: 6px;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--cc-text, #111);
}

.creator-stats-chart-card,
.creator-stats-table-card {
  margin-bottom: 20px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--cc-border, #e5e7eb);
  background: var(--cc-surface, #fff);
}

.creator-stats-section-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 900;
}

.creator-stats-chart-wrap {
  width: 100%;
  overflow-x: auto;
}

.creator-stats-chart {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 280px;
}

.creator-stats-table-wrap {
  overflow-x: auto;
}

.creator-stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.creator-stats-table th,
.creator-stats-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--cc-border, #e5e7eb);
}

.creator-stats-table th {
  font-size: 12px;
  font-weight: 800;
  color: var(--cc-text-muted, #64748b);
  white-space: nowrap;
}

.creator-stats-table th:nth-child(n + 2),
.creator-stats-table td:nth-child(n + 2) {
  text-align: center;
  white-space: nowrap;
}

.creator-stats-table td:nth-child(n + 2) {
  font-weight: 700;
}

.creator-stats-post-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}

.creator-stats-post-link:hover .creator-stats-post-title {
  color: #3b82f6;
}

.creator-stats-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f1f5f9;
}

.creator-stats-post-title {
  min-width: 0;
  line-height: 1.35;
}

.creator-stats-empty {
  margin: 0;
  font-size: 14px;
  color: var(--cc-text-muted, #64748b);
}

@media (max-width: 720px) {
  .creator-stats-main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .creator-stats-shell {
    width: 100%;
    max-width: 100%;
    padding: 16px 12px 32px;
    box-sizing: border-box;
  }

  .creator-stats-chart-card,
  .creator-stats-table-card {
    width: 100%;
    max-width: 100%;
    padding: 14px 10px;
    box-sizing: border-box;
  }

  .creator-stats-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .creator-stats-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    font-size: 12px;
  }

  .creator-stats-table th,
  .creator-stats-table td {
    padding: 9px 6px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: keep-all;
  }

  .creator-stats-table th:first-child,
  .creator-stats-table td:first-child {
    width: 43%;
  }

  .creator-stats-table th:nth-child(2),
  .creator-stats-table td:nth-child(2),
  .creator-stats-table th:nth-child(3),
  .creator-stats-table td:nth-child(3) {
    width: 16%;
  }

  .creator-stats-table th:nth-child(4),
  .creator-stats-table td:nth-child(4) {
    width: 25%;
  }

  .creator-stats-subscription-table {
    min-width: 620px;
  }

  .creator-stats-table th:nth-child(n + 2),
  .creator-stats-table td:nth-child(n + 2) {
    white-space: normal;
    word-break: keep-all;
  }

  .creator-stats-post-link {
    gap: 7px;
    min-width: 0;
  }

  .creator-stats-thumb {
    width: 34px;
    height: 34px;
    border-radius: 7px;
  }

  .creator-stats-post-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

.creator-owner-stat strong[aria-hidden="true"] {
  font-size: 1.1rem;
  line-height: 1;
}

.cc-login-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cc-login-modal[hidden] {
  display: none !important;
}

body.cc-login-modal-open {
  overflow: hidden;
}

.cc-login-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.cc-login-modal__panel {
  position: relative;
  width: min(100%, 400px);
  background: var(--surface, #fff);
  color: var(--text, #111);
  border-radius: 14px;
  padding: 24px 22px 20px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.cc-login-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: inherit;
}

.cc-login-modal__title {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.cc-login-modal__body {
  margin: 0 0 18px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted, #555);
}

.cc-login-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.cc-login-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.cc-login-modal__btn--ghost {
  background: transparent;
  border-color: var(--border, #ddd);
  color: inherit;
}

.cc-login-modal__btn--primary {
  background: #2563eb;
  color: #fff;
}

.home-cc-userrow--guest {
  cursor: pointer;
}

.home-cc-userrow--guest .home-cc-handle {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  line-height: 1.25;
}

.creator-of-banner.is-clickable {
  cursor: pointer;
}

.home-subscription-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 16px 12px;
}

.home-subscription-plan-btn {
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.home-subscription-plan-btn strong,
.home-subscription-plan-btn span {
  display: block;
  white-space: nowrap;
}

.home-subscription-plan-btn span {
  margin-top: 3px;
  color: #db2777;
  font-size: 13px;
}

.creator-subscription-composer .home-composer-body {
  width: 100%;
}

.creator-subscription-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.creator-subscription-plan-btn {
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.creator-subscription-plan-btn strong,
.creator-subscription-plan-btn span {
  display: block;
  white-space: nowrap;
}

.creator-subscription-plan-btn span {
  margin-top: 3px;
  color: #db2777;
  font-size: 13px;
}

.cc-modal-backdrop.subscription-plan-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.52);
}

.subscription-plan-card {
  width: min(420px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 22px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.24);
}

.subscription-plan-card h3 {
  margin: 0 0 16px;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.35;
}

.subscription-plan-card .creator-subscription-plans {
  margin-bottom: 16px;
}

.subscription-plan-card .modal-close-btn {
  width: 100%;
  min-height: 42px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #334155;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.refund-panel {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 182, 213, 0.65);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.refund-panel--standalone {
  width: min(760px, calc(100% - 48px));
  margin: 24px auto 48px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.refund-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.refund-panel--standalone .refund-panel__head {
  align-items: center;
}

.refund-panel__head h1,
.refund-panel__head h2 {
  margin: 0;
  font-size: 18px;
}

.refund-panel__head p {
  margin: 5px 0 0;
  color: #57627a;
  font-size: 13px;
  line-height: 1.45;
}

.refund-refresh-btn,
.refund-item__action button,
.refund-secondary-btn {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #ec5fa8, #69b8ff);
  cursor: pointer;
  white-space: nowrap;
}

.refund-refresh-btn:disabled,
.refund-item__action button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.refund-policy-notice {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 14px;
}

.refund-secondary-btn span {
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.refund-list h3 {
  margin: 14px 0 8px;
  font-size: 15px;
}

.refund-item,
.refund-history-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 182, 213, 0.6);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
}

.refund-item + .refund-item,
.refund-history-item + .refund-history-item {
  margin-top: 10px;
}

.refund-item__main,
.refund-history-item > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.refund-item__main span,
.refund-history-item span,
.refund-history-item small {
  color: #596277;
  font-size: 12px;
}

.refund-item__action {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.refund-item__action textarea {
  width: 100%;
  min-height: 68px;
  resize: vertical;
  border: 1px solid #f4b8d4;
  border-radius: 8px;
  padding: 10px;
  font: inherit;
}

.refund-method-select-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

.refund-method-select-wrap[hidden] {
  display: none !important;
}

.refund-method-select {
  width: 100%;
  border: 1px solid rgba(236, 95, 168, 0.32);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: #172554;
  font: inherit;
  font-weight: 800;
}

.refund-method-select:focus {
  outline: 3px solid rgba(105, 184, 255, 0.28);
  border-color: rgba(105, 184, 255, 0.65);
}

.refund-method-select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.refund-method-notice {
  margin: -4px 0 8px;
  color: #b45309;
  font-size: 12px;
  line-height: 1.45;
}

.refund-crypto-currency-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.refund-crypto-currency-options button {
  min-height: 56px;
  border: 1px solid rgba(232, 94, 164, 0.35);
  border-radius: 14px;
  background: #fff;
  color: #171735;
  font-weight: 800;
  cursor: pointer;
}

.refund-crypto-currency-options button:hover,
.refund-crypto-currency-options button:focus-visible {
  border-color: #dd5fac;
  box-shadow: 0 0 0 3px rgba(221, 95, 172, 0.14);
  outline: none;
}

.refund-method-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.refund-method-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.refund-method-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.refund-method-card__body {
  display: flex;
  min-height: 76px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  border: 1px solid rgba(236, 95, 168, 0.26);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #fff7fb);
  color: #334155;
  box-shadow: 0 8px 18px rgba(236, 95, 168, 0.08);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.refund-method-card__body strong {
  font-size: 12px;
}

.refund-method-card__body small {
  color: #64748b;
  font-size: 11px;
  line-height: 1.35;
}

.refund-method-card input:checked + .refund-method-card__body {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(236, 95, 168, 0.95), rgba(105, 184, 255, 0.95));
  color: #fff;
  box-shadow: 0 12px 24px rgba(105, 184, 255, 0.22);
  transform: translateY(-1px);
}

.refund-method-card input:checked + .refund-method-card__body small {
  color: rgba(255, 255, 255, 0.86);
}

.refund-method-card input:focus-visible + .refund-method-card__body {
  outline: 3px solid rgba(105, 184, 255, 0.35);
  outline-offset: 2px;
}

.refund-method-card input:disabled + .refund-method-card__body {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.refund-gift-view-btn {
  align-self: flex-start;
  border: 1px solid rgba(236, 95, 168, 0.35);
  border-radius: 999px;
  padding: 7px 11px;
  background: #fff7fb;
  color: #be2c7c;
  font-weight: 800;
  cursor: pointer;
}

.refund-gift-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.refund-gift-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.42);
}

.refund-gift-modal__panel {
  position: relative;
  width: min(460px, 100%);
  border-radius: 18px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.26);
}

.refund-gift-modal__panel h3 {
  margin: 0 0 8px;
}

.refund-gift-modal__panel p {
  margin: 0 0 14px;
  color: #64748b;
  line-height: 1.55;
}

.refund-gift-modal__code {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(236, 95, 168, 0.25);
  border-radius: 12px;
  background: #fff7fb;
  color: #1e293b;
  white-space: pre-wrap;
  word-break: break-word;
  font: inherit;
  font-weight: 800;
}

.refund-gift-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.refund-gift-modal__actions button {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: linear-gradient(135deg, #ec5fa8, #69b8ff);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.refund-modal {
  position: fixed;
  inset: 0;
  z-index: 4990;
  display: grid;
  place-items: center;
  padding: 20px;
}

.refund-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.42);
}

.refund-modal__panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  border-radius: 18px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.26);
}

.refund-modal__panel h3 {
  margin: 0 0 10px;
}

.refund-modal__panel p {
  margin: 0 0 12px;
  color: #64748b;
  line-height: 1.65;
}

.refund-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.refund-modal__header h3 {
  margin: 0;
}

.refund-modal__actions,
.refund-modal__header {
  flex-wrap: wrap;
}

.refund-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.refund-modal__actions button,
.refund-modal__header button {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: linear-gradient(135deg, #ec5fa8, #69b8ff);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.refund-requests-modal .refund-history-item {
  grid-template-columns: minmax(0, 1fr) auto;
}

.refund-status {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef3ff;
  color: #2741a0;
  font-weight: 800;
}

.refund-empty {
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: #5f6778;
}

.refund-empty--error {
  color: #b42318;
}

.refund-flash {
  margin: 10px 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f0fdf4;
  color: #166534;
  font-size: 13px;
  font-weight: 700;
}

.refund-flash.error {
  background: #fef2f2;
  color: #b42318;
}

.refund-flash:empty,
.refund-flash[hidden] {
  display: none;
}

.refund-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 12px 0 2px;
}

.refund-page-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(236, 95, 168, 0.28);
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.refund-page-btn.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #ec5fa8, #69b8ff);
  color: #fff;
}

.refund-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 720px) {
  .refund-panel--standalone {
    width: calc(100% - 20px);
    margin: 24px 10px 48px;
    padding: 16px;
  }

  .refund-panel__head,
  .refund-item,
  .refund-history-item {
    grid-template-columns: 1fr;
  }

  .refund-panel__head {
    display: grid;
  }

  .refund-method-cards {
    grid-template-columns: 1fr;
  }
}
