/* Desktop create-page action: high-contrast on its light background. */
.creator-page .page-top .subtle-button {
  background: #ffffff;
  color: #161823;
  border: 1px solid #ffffff;
}

.creator-page .page-top .subtle-button:hover,
.creator-page .page-top .subtle-button:focus-visible {
  background: #25f4ee;
  border-color: #25f4ee;
  color: #161823;
}

.modal-copy { color: #aeb2c0; font-size: 13px; line-height: 1.55; }
.modal-actions, .modal-stack { display: grid; gap: 8px; margin-top: 18px; }
.modal-actions { grid-template-columns: 1fr 1fr; }
.modal-actions .subtle-button { justify-content: center; background: #272a3a; color: #f5f5f7; border: 1px solid #3b3e52; }
.modal-actions .subtle-button:hover, .modal-actions .subtle-button:focus-visible { background: #25f4ee; border-color: #25f4ee; color: #161823; }
.modal-stack button { background: #101116; border: 1px solid #292b3a; border-radius: 8px; color: #f5f5f7; padding: 11px; text-align: left; font-size: 12px; font-weight: 700; }
.player-preview { height: 205px; margin: -23px -23px 19px; border-radius: 14px 14px 0 0; background-position: center; background-size: cover; display: grid; place-items: center; }
.player-preview span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: rgba(11,11,16,.7); color: white; font-size: 18px; }
.settings-row { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid #292b3a; }
.settings-row span { display: grid; gap: 4px; font-size: 12px; }
.settings-row small, .report-grid small { color: #9da1b0; font-size: 10px; }
.modal-full { width: 100%; margin-top: 18px; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.report-grid div { display: grid; gap: 5px; background: #101116; padding: 10px; border-radius: 8px; }
.report-grid div:last-child { grid-column: 1 / -1; }
.report-grid b { font-size: 12px; }
.upload-preview video, .media video { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.video-media { background: #000 !important; }
.player-video { width: calc(100% + 46px); max-height: 290px; display: block; margin: -23px -23px 19px; background: #000; border-radius: 14px 14px 0 0; }
.ai-apply { margin-top: 9px; padding: 6px 8px; border-radius: 6px; background: rgba(37,244,238,.16); color: #25f4ee; font-size: 10px; font-weight: 800; }
.caption-options { display: grid; gap: 9px; width: 100%; margin-top: 12px; }
.caption-choice-intro { margin: 0 !important; color: #c8cad4 !important; font-size: 11px !important; }
.caption-choice { border: 1px solid #323548; border-radius: 9px; background: #12131d; padding: 10px; transition: border-color .16s ease, background .16s ease; }
.caption-choice.selected { border-color: #25f4ee; background: rgba(37,244,238,.09); }
.caption-choice-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #f5f5f7; font-size: 11px; }
.caption-choice-heading span { color: #25f4ee; font-size: 10px; font-weight: 800; }
.caption-choice p { margin: 7px 0 9px !important; color: #d8dae3 !important; font-size: 12px !important; line-height: 1.55 !important; }
.caption-choice button { border: 1px solid #3a3d50; border-radius: 6px; background: transparent; color: #c9ccda; padding: 6px 8px; font-size: 10px; font-weight: 800; }
.caption-choice button:hover, .caption-choice button:focus-visible, .caption-choice.selected button { border-color: #25f4ee; color: #25f4ee; }
.caption-choice-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.caption-choice-actions button:last-child { border-color: rgba(37,244,238,.42); background: rgba(37,244,238,.11); color: #25f4ee; }
.caption-options .ai-apply { justify-self: start; }
.caption-options .ai-apply:disabled { cursor: not-allowed; opacity: .38; }
.language-picker { display: flex; align-items: center; gap: 3px; color: #9da1b0; font-size: 13px; }
.language-picker select { appearance: none; max-width: 58px; border: 1px solid #292b3a; border-radius: 6px; background: #161823; color: #f5f5f7; padding: 5px 18px 5px 7px; font-size: 10px; font-weight: 800; cursor: pointer; }
.language-picker select:focus-visible { outline: 2px solid #25f4ee; outline-offset: 2px; }
.auth-button { border: 1px solid #3a3d50; border-radius: 6px; background: #101116; color: #d9dbe4; padding: 6px 8px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.auth-button:hover, .auth-button:focus-visible { border-color: #25f4ee; color: #25f4ee; }
.auth-form { display: grid; gap: 11px; margin-top: 16px; }
.auth-form label { display: grid; gap: 6px; color: #d9dbe4; font-size: 11px; font-weight: 800; }
.auth-form input { width: 100%; border: 1px solid #34374a; border-radius: 8px; background: #101116; color: #f5f5f7; padding: 10px; outline: 0; }
.auth-form input:focus { border-color: #25f4ee; }
.auth-form small { color: #9da1b0; font-size: 10px; }
.auth-form .primary-button { width: 100%; margin-top: 4px; }
.auth-switch { width: 100%; margin-top: 12px; background: transparent; color: #25f4ee; font-size: 11px; font-weight: 800; }
.user-menu { flex-wrap: wrap; }
.user-menu > div { min-width: 118px; flex: 1 1 118px; }
.user-menu small { white-space: nowrap; }
.brand-text { display: inline-flex; align-items: flex-start; gap: 1px; white-space: nowrap; }
.registered-mark { position: relative; top: -0.35em; font-size: .38em; line-height: 1; font-weight: 800; letter-spacing: 0; }
.brand { font-size: 20px; letter-spacing: -.8px; }
.brand-note { width: 26px; height: 26px; font-size: 18px; }
.profile-cover::after { background: none !important; opacity: 0 !important; }
.profile-empty { display: block !important; padding: 22px 24px !important; color: #9da1b0; font-size: 12px; }
.profile-empty p { margin: 0; }
.empty-rail p { color: #9da1b0; font-size: 12px; line-height: 1.5; }
.mini-gallery:not(:has(.gallery-item)) { display: none; }
.chat-input textarea, .modal textarea { min-width: 0; flex: 1; max-height: 120px; resize: none; overflow-y: auto; background: #101116; border: 1px solid #292b3a; border-radius: 8px; padding: 10px; color: #f5f5f7; outline: 0; font: inherit; line-height: 1.4; }
.chat-input textarea { min-height: 40px; max-height: none; overflow-y: hidden; }
.modal textarea { min-height: 42px; }
.compliance-footer { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; padding-top: 16px; border-top: 1px solid #292b3a; color: #9da1b0; font-size: 11px; }
.compliance-footer a, .compliance-footer button { color: #9da1b0; background: transparent; padding: 0; font-size: inherit; }
.compliance-footer a:hover, .compliance-footer button:hover { color: #25f4ee; }
.legal-page { max-width: 760px; border: 1px solid #292b3a; border-radius: 14px; background: #161823; padding: 26px; }
.legal-page h1 { margin: 5px 0 24px; font-size: 30px; letter-spacing: -1px; }
.legal-page section { padding: 17px 0; border-top: 1px solid #292b3a; }
.legal-page h2 { margin: 0 0 8px; font-size: 16px; }
.legal-page p { margin: 0; color: #b4b8c7; font-size: 13px; line-height: 1.65; }
.legal-page .legal-detail { margin-top: 10px; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.legal-actions .subtle-button { border: 1px solid #3a3d50; background: #101116; color: #d9dbe4; padding: 10px 12px; font-size: 12px; }
.danger-button { border: 1px solid rgba(254,44,85,.5); border-radius: 8px; background: rgba(254,44,85,.11); color: #ff7691; padding: 10px 12px; font-size: 12px; font-weight: 800; }
.ad-slot { margin: 18px 0; min-height: 104px; overflow: hidden; border: 1px solid #292b3a; border-radius: 12px; background: #11121a; padding: 10px; }
.ad-slot > p { margin: 0 0 6px; color: #777c8e; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* Standalone copy is treated as a first-class post, with editorial styling instead of a blank media frame. */
.text-media {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 360px;
  height: auto;
  padding: 64px clamp(42px, 9vw, 96px);
  background:
    radial-gradient(circle at 14% 18%, rgba(37,244,238,.30), transparent 34%),
    radial-gradient(circle at 84% 82%, rgba(254,44,85,.30), transparent 38%),
    linear-gradient(135deg, #192a38, #191a2d 52%, #351a31);
}
.featured-post .text-media {
  height: auto;
  min-height: 430px;
}
.text-media::after { display: none; }
.text-post-copy {
  max-width: 34ch;
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.035em;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: anywhere;
  text-shadow: 0 4px 24px rgba(0,0,0,.30);
}
.text-grid-post, .text-gallery-item, .text-discover-tile, .text-player-preview {
  background:
    radial-gradient(circle at 15% 20%, rgba(37,244,238,.27), transparent 36%),
    linear-gradient(135deg, #172634, #281a32);
}
.text-grid-post {
  display: grid;
  place-items: center;
  height: auto;
  min-height: 220px;
  padding: 22px 18px 42px;
}
.text-grid-post b, .text-gallery-item b, .discover-text-copy {
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  overflow-wrap: anywhere;
}
.text-grid-post b { max-height: none; overflow: visible; }
.text-gallery-item { display: grid; place-items: center; height: auto; min-height: 112px; padding: 16px 14px 32px; }
.text-gallery-item b { max-height: none; overflow: visible; }
.text-discover-tile { display: flex; flex-direction: column; align-items: stretch; min-height: 210px; height: auto; padding: 20px; gap: 16px; }
.text-discover-tile div { padding: 0 0 28px; }
.discover-text-copy { position: relative; z-index: 1; margin: 0; opacity: .72; font-size: 16px; }
.text-discover-tile::after { background: linear-gradient(90deg, rgba(11,11,16,.82), rgba(11,11,16,.28)); }
.text-player-preview { height: auto; min-height: 230px; padding: 38px; }
.text-player-preview p { max-width: 20ch; margin: 0; color: #fff; font-size: 22px; font-weight: 800; line-height: 1.4; text-align: center; overflow-wrap: anywhere; }

/* Published comments stay with the work and are always newest first. */
.post-comments { display: grid; gap: 12px; margin-top: 15px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.post-comment { display: flex; align-items: flex-start; gap: 9px; }
.comment-avatar { flex: 0 0 auto; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #25f4ee, #fe2c55); color: #101116; font-size: 10px; font-weight: 800; }
.post-comment > div { min-width: 0; flex: 1; }
.post-comment header { display: flex; align-items: baseline; justify-content: flex-start; gap: 8px; height: auto; padding: 0; }
.post-comment strong { color: #f5f5f7; font-size: 11px; }
.post-comment time { color: #8f94a5; font-size: 10px; }
.post-comment p { margin: 3px 0 0; color: #c8cad4; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.mouse-tooltip { position: fixed; z-index: 100; pointer-events: none; max-width: 210px; padding: 7px 9px; border: 1px solid rgba(37,244,238,.48); border-radius: 7px; background: rgba(12,13,20,.96); box-shadow: 0 10px 28px rgba(0,0,0,.30); color: #f5f5f7; font-size: 11px; font-weight: 700; line-height: 1.35; }

/* Administrator-only control center. */
.admin-page { max-width: 980px; }
.admin-action-button { min-height: 40px; padding: 10px 15px; border: 1px solid #25f4ee; border-radius: 9px; background: #25f4ee; color: #101116; font-size: 12px; font-weight: 800; line-height: 1; }
.admin-action-button:hover { background: #8bfffb; border-color: #8bfffb; }
.admin-action-button:focus-visible { outline: 3px solid rgba(37,244,238,.42); outline-offset: 3px; }
.admin-loading, .admin-denied { max-width: 680px; padding: 38px; border: 1px solid #292b3a; border-radius: 14px; background: #161823; }
.admin-loading h1, .admin-denied h1 { margin: 7px 0 0; font-size: 27px; }
.admin-tabs { display: flex; gap: 7px; margin-bottom: 16px; border-bottom: 1px solid #292b3a; }
.admin-tabs button { padding: 10px 13px; border-bottom: 2px solid transparent; background: transparent; color: #9da1b0; font-size: 12px; font-weight: 800; }
.admin-tabs button.active { color: #25f4ee; border-color: #25f4ee; }
.admin-search { height: 43px; display: flex; align-items: center; gap: 9px; margin-bottom: 16px; padding: 0 12px; border: 1px solid #34374a; border-radius: 9px; background: #101116; color: #25f4ee; }
.admin-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: #f5f5f7; font-size: 12px; }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.admin-stats article, .admin-section { border: 1px solid #292b3a; border-radius: 13px; background: #161823; }
.admin-stats article { display: grid; gap: 4px; padding: 18px; }
.admin-stats span, .admin-stats small { color: #9da1b0; font-size: 11px; }
.admin-stats strong { color: #f5f5f7; font-size: 28px; letter-spacing: -.8px; }
.admin-section { padding: 18px; }
.admin-section > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.admin-section h2 { margin: 4px 0 0; font-size: 18px; }
.admin-table { overflow-x: auto; }
.admin-table > div, .admin-table article { min-width: 720px; display: grid; grid-template-columns: minmax(180px, 1.7fr) 1.1fr 56px 96px 74px; align-items: center; gap: 12px; }
.admin-table-head { padding: 0 0 9px; color: #85899a; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.admin-table article { padding: 11px 0; border-top: 1px solid rgba(255,255,255,.07); }
.admin-table article > div { display: grid; gap: 3px; min-width: 0; }
.admin-table strong { color: #f5f5f7; font-size: 12px; overflow-wrap: anywhere; }
.admin-table small, .admin-table time { color: #9da1b0; font-size: 10px; overflow-wrap: anywhere; }
.admin-table b { color: #d6d8e2; font-size: 12px; }
.admin-status { justify-self: start; padding: 4px 7px; border-radius: 99px; background: rgba(52,211,153,.13); color: #6ee7b7; font-size: 10px; font-weight: 800; white-space: nowrap; }
.admin-status.disabled { background: rgba(254,44,85,.13); color: #ff8ba3; }
.admin-post-list { display: grid; gap: 10px; }
.admin-post-list > article { display: grid; grid-template-columns: minmax(0,1fr) auto 60px; align-items: center; gap: 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.07); }
.admin-post-summary { display: flex; min-width: 0; gap: 10px; align-items: flex-start; }
.admin-post-summary img, .admin-text-media { width: 58px; height: 58px; flex: 0 0 auto; border-radius: 7px; object-fit: cover; background: linear-gradient(135deg,#25f4ee,#fe2c55); }
.admin-text-media { display: grid; place-items: center; color: #101116; font-size: 10px; font-weight: 800; }
.admin-post-summary > div { min-width: 0; }
.admin-post-summary strong, .admin-post-summary small { display: block; overflow-wrap: anywhere; }
.admin-post-summary strong { color: #f5f5f7; font-size: 12px; }
.admin-post-summary small { margin-top: 3px; color: #9da1b0; font-size: 10px; }
.admin-post-summary p { max-height: 3.2em; margin: 5px 0 0; overflow: hidden; color: #d4d6df; font-size: 11px; line-height: 1.45; }
.admin-activity { display: grid; }
.admin-activity article { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.07); }
.admin-activity time, .admin-activity p { margin: 0; color: #9297a7; font-size: 10px; }
.admin-activity strong { color: #f5f5f7; font-size: 12px; }
.admin-activity p { margin-top: 4px; overflow-wrap: anywhere; }
.admin-checkbox { display: flex !important; align-items: center; gap: 8px; color: #d9dbe4 !important; }
.admin-checkbox input { width: auto !important; }
.admin-delete-button { width: 100%; margin-top: 14px; }
.admin-modal-comments { display: grid; gap: 9px; max-height: 240px; margin-top: 17px; overflow: auto; }
.admin-modal-comments > article { display: flex; justify-content: space-between; gap: 10px; padding-top: 9px; border-top: 1px solid #292b3a; }
.admin-modal-comments strong { color: #f5f5f7; font-size: 11px; }
.admin-modal-comments p { margin: 4px 0 0; color: #c5c8d3; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
@media (max-width: 900px) { .admin-stats { grid-template-columns: 1fr; } .admin-post-list > article { grid-template-columns: 1fr; } .admin-post-list .admin-status { justify-self: start; } .admin-activity article { grid-template-columns: 1fr; gap: 4px; } }
