:root {
  color-scheme: light;
  --bg: #fff;
  --panel: #fff;
  --brand-navy: #223a72;
  --brand-navy-hover: #2f4b8a;
  --text: #191817;
  --muted: #6f6760;
  --line: #ded5c8;
  --accent: #d64022;
  --accent-strong: #9f2718;
  --ink: #111111;
  --road: #223a72;
  --mypage-form-width: 860px;
  --shadow: none;
}

:root.dark {
  color-scheme: dark;
  --bg: #141312;
  --panel: #201d1a;
  --brand-navy: #223a72;
  --brand-navy-hover: #2f4b8a;
  --text: #f7efe5;
  --muted: #b6aa9b;
  --line: #3a342e;
  --accent: #ff6944;
  --accent-strong: #ff8a65;
  --ink: #f6efe4;
  --road: #223a72;
  --mypage-form-width: 860px;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.6;
}

.app-footer {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(1180px, calc(100% - 32px));
  margin: 56px auto 0;
  padding: 22px 0 28px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  text-align: center;
}

.app-footer strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.app-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.app-footer a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.app-footer a:hover,
.app-footer a:focus-visible {
  color: var(--accent-strong);
}

.app-footer small {
  font-size: 11px;
  font-weight: 800;
}

.static-page {
  display: grid;
  gap: 18px;
  width: min(860px, calc(100% - 32px));
  margin: 32px auto 64px;
}

.static-page section {
  display: grid;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.static-page h1,
.static-page h2,
.static-page p {
  margin: 0;
}

.static-page h1 {
  color: var(--text);
  font-size: 24px;
  line-height: 1.3;
  text-align: center;
}

.static-page h2 {
  color: var(--text);
  font-size: 16px;
}

.static-page p,
.static-page li {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
}

.static-page ul,
.static-page ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2em;
}

.static-page a {
  color: var(--brand-navy);
  font-weight: 900;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.media-kit-guide-page {
  width: min(980px, calc(100% - 32px));
  gap: 24px;
}

.media-kit-guide-page h1 {
  max-width: 760px;
  margin-inline: auto;
  font-size: 24px;
  line-height: 1.45;
}

.media-kit-guide-body {
  background: linear-gradient(180deg, #f5fbfd 0%, #fff 360px);
}

.media-kit-guide-page section {
  border-bottom: 0;
}

.media-kit-guide-hero {
  align-items: center;
  padding: 34px clamp(20px, 4vw, 44px);
  background: #fff;
  border: 1px solid #dbe7ef;
  border-radius: 8px;
  text-align: center;
}

.media-kit-guide-hero .kicker {
  color: var(--accent-strong);
}

.media-kit-guide-lead {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-inline: auto;
  text-align: left;
}

.media-kit-guide-hero-actions {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-top: 34px;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;
}

.media-kit-guide-hero-actions span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.media-kit-guide-section {
  padding: 28px clamp(18px, 3vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.media-kit-guide-section > h2,
.media-kit-guide-final > h2 {
  position: relative;
  padding-bottom: 10px;
  font-size: 19px;
  text-align: center;
}

.media-kit-guide-section > h2::after,
.media-kit-guide-final > h2::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 132px;
  height: 3px;
  content: "";
  background: var(--brand-navy);
  border-radius: 999px;
  transform: translateX(-50%);
}

.media-kit-guide-section > p {
  max-width: 760px;
  margin-inline: auto;
  text-align: left;
}

.media-kit-guide-item-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.media-kit-guide-block {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 100%;
  padding: 16px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.media-kit-guide-block h3 {
  margin: 0;
  color: var(--brand-navy);
  font-size: 15px;
  line-height: 1.5;
}

.media-kit-guide-block ul,
.media-kit-guide-step-list,
.media-kit-guide-template-grid {
  padding-left: 0;
  list-style: none;
}

.media-kit-guide-block li {
  position: relative;
  padding-left: 14px;
}

.media-kit-guide-block li::before {
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: #d6ad4f;
  border-radius: 999px;
}

.media-kit-guide-block strong {
  color: var(--text);
}

.media-kit-guide-step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  counter-reset: guide-step;
  margin-top: 8px;
}

.media-kit-guide-step-list > div {
  position: relative;
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 46px 14px 14px;
  color: var(--muted);
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
}

.media-kit-guide-step-list > div::before {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  counter-increment: guide-step;
  content: counter(guide-step);
  color: #fff;
  background: var(--brand-navy);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.media-kit-guide-template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.media-kit-guide-template-grid li {
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 150px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.media-kit-guide-template-grid strong {
  display: block;
  color: var(--brand-navy);
  font-size: 15px;
}

.media-kit-guide-final {
  justify-items: center;
  padding: 34px clamp(20px, 4vw, 44px);
  color: #fff;
  background: var(--brand-navy);
  border-radius: 8px;
  text-align: center;
}

.media-kit-guide-final h2,
.media-kit-guide-final p {
  max-width: 760px;
  color: #fff;
}

.media-kit-guide-final p {
  width: 100%;
  text-align: left;
}

.media-kit-guide-final .media-kit-guide-final-action {
  width: auto;
  text-align: center;
}

.media-kit-guide-final > h2::after {
  background: #d6ad4f;
}

.media-kit-guide-final .primary-link {
  background: #fff;
  border-color: #fff;
  color: var(--brand-navy);
}

.media-kit-guide-final .primary-link:hover,
.media-kit-guide-final .primary-link:focus-visible {
  background: #f5fbfd;
  border-color: #f5fbfd;
  color: var(--brand-navy);
}

.static-page .primary-link {
  width: fit-content;
  min-width: 240px;
  color: #fff;
  text-decoration: none;
}

.static-page .primary-link:hover,
.static-page .primary-link:focus-visible {
  color: #fff;
}

.media-kit-guide-final .primary-link,
.media-kit-guide-final .primary-link:hover,
.media-kit-guide-final .primary-link:focus-visible {
  color: var(--brand-navy);
}

@media (max-width: 760px) {
  .media-kit-guide-page {
    width: min(100% - 20px, 980px);
    margin-top: 18px;
  }

  .media-kit-guide-page h1 {
    font-size: 20px;
    text-align: left;
  }

  .media-kit-guide-hero {
    align-items: start;
    padding: 24px 18px;
    text-align: left;
  }

  .media-kit-guide-lead,
  .media-kit-guide-hero-actions {
    justify-items: start;
  }

  .media-kit-guide-section,
  .media-kit-guide-final {
    padding: 24px 16px;
  }

  .media-kit-guide-section > h2,
  .media-kit-guide-final > h2 {
    font-size: 17px;
    text-align: left;
  }

  .media-kit-guide-section > h2::after,
  .media-kit-guide-final > h2::after {
    left: 0;
    transform: none;
  }

  .media-kit-guide-section > p,
  .media-kit-guide-final {
    text-align: left;
  }

  .media-kit-guide-item-grid,
  .media-kit-guide-step-list,
  .media-kit-guide-template-grid {
    grid-template-columns: 1fr;
  }

  .media-kit-guide-template-grid li {
    min-height: auto;
  }

  .static-page .primary-link {
    width: 100%;
    min-width: 0;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .creator-public-data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-kit-sample-pages {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .creator-public-data-grid {
    grid-template-columns: 1fr;
  }
}

body.top-page {
  background: linear-gradient(180deg, #f5fbfd 0%, #eef8fb 100%);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: #fff;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 132px;
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: #fff;
  color: #e60f37;
  border-radius: 6px;
  font-size: 13px;
  letter-spacing: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  object-fit: contain;
}

.mobile-bottom-nav {
  display: none;
}

.notification-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.notification-bell-button {
  position: relative;
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  appearance: none;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: none;
}

.notification-bell-button:hover,
.notification-bell-button:focus-visible,
.notification-bell-button[aria-expanded="true"] {
  border-color: #d6ad4f;
  background: #fff9e8;
  outline: none;
}

.notification-bell-icon {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.notification-bell-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  color: #fff;
  background: #b3261e;
  border: 2px solid #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 13px;
  text-align: center;
}

.notification-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  width: min(340px, calc(100vw - 24px));
  padding: 12px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: none;
}

.notification-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.notification-popover-head strong {
  font-size: 15px;
  white-space: nowrap;
}

.notification-popover-head .mini-button {
  width: auto;
  min-width: 72px;
  min-height: 34px;
  flex: 0 0 auto;
  padding-inline: 12px;
}

.notification-list {
  display: grid;
  gap: 8px;
  max-height: 340px;
  padding-top: 10px;
  overflow: auto;
}

.notification-item {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 10px;
  color: var(--text);
  text-align: left;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.notification-item.unread {
  background: #fff9e8;
  border-color: #e2be66;
}

.notification-item-title {
  font-size: 13px;
  font-weight: 900;
}

.notification-item-body,
.notification-item time,
.notification-empty {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.notification-empty {
  margin: 0;
  padding: 14px 6px;
  text-align: center;
}

body.is-logged-in .guest-action {
  display: none !important;
}

body:not(.is-logged-in) .member-action {
  display: none !important;
}

.icon-button,
.ghost-button,
.primary-link,
.submit-button,
.post-actions button,
.preview button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--text);
}

.icon-button {
  width: 40px;
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}

.primary-link,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: var(--road);
  border-color: var(--road);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.primary-link:hover,
.primary-link:focus-visible,
.submit-button:hover:not(:disabled),
.submit-button:focus-visible:not(:disabled),
.nav-button.primary-link:hover,
.nav-button.primary-link:focus-visible {
  background: var(--brand-navy-hover) !important;
  border-color: var(--brand-navy-hover) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.nav-button {
  min-height: 40px;
  appearance: none;
}

.nav-link {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.nav-link.active {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.app-header .ghost-button,
.app-header .icon-button {
  min-height: auto;
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text);
  font-weight: 900;
}

.app-header .primary-link,
.app-header .nav-button.primary-link {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text);
  font-weight: 900;
}

.app-header .nav-link.active {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.account-avatar-link {
  --account-avatar-size: 34px;
}

.account-avatar-image {
  display: none;
}

.app-header .nav-actions .account-avatar-link[data-account-initial] {
  position: relative;
  display: inline-grid;
  width: var(--account-avatar-size);
  height: var(--account-avatar-size);
  min-height: var(--account-avatar-size);
  place-items: center;
  padding: 0;
  color: transparent !important;
  background: var(--road);
  border: 1px solid color-mix(in srgb, var(--road) 22%, var(--line));
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(34, 58, 114, 0.16);
  font-size: 0 !important;
  line-height: 1;
  text-decoration: none;
  overflow: hidden;
}

.app-header .nav-actions .account-avatar-link[data-account-initial]::after {
  content: attr(data-account-initial);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.app-header .nav-actions .account-avatar-link.has-account-icon[data-account-initial]::after {
  content: none;
}

.app-header .nav-actions .account-avatar-link .account-avatar-text {
  display: none;
}

.app-header .nav-actions .account-avatar-link .account-avatar-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(34, 58, 114, 0.18);
}

.app-header .nav-actions #logoutButton {
  position: relative;
  display: inline-grid;
  width: 34px;
  height: 34px;
  min-height: 34px;
  place-items: center;
  padding: 0;
  color: transparent !important;
  background: transparent;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  font-size: 0 !important;
  line-height: 1;
  overflow: hidden;
}

.app-header .nav-actions #logoutButton[hidden] {
  display: none !important;
}

.app-header .nav-actions #logoutButton::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 25px;
  height: 25px;
  background: url("assets/logout-icon.png") center / contain no-repeat;
  transform: translate(-50%, -50%);
}

.member-status {
  max-width: 220px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-copy {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #1d1d1d;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.7)), linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 45%);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 clamp(32px, 7vh, 76px);
  color: #fff;
}

.kicker {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
}

.hero .kicker {
  color: #ffb199;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(40px, 6vw, 82px);
  line-height: 1.05;
}

.hero-copy {
  max-width: 620px;
  margin: 18px 0 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 2vw, 19px);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-stats span {
  min-width: 128px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.26);
}

.hero-stats strong {
  margin-right: 4px;
  font-size: 22px;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 28px;
  width: min(1240px, calc(100% - 32px));
  margin: 28px auto 56px;
  align-items: start;
}

.workspace.feed-only {
  grid-template-columns: 1fr;
}

.post-page {
  width: min(760px, calc(100% - 32px));
  margin: 36px auto 64px;
}

.post-page-heading {
  margin-bottom: 18px;
}

.post-page-heading h1 {
  color: var(--text);
  font-size: clamp(34px, 5vw, 64px);
}

.post-page-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.post-page-form {
  position: static;
}

.auth-form {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.composer-panel,
.feed-panel {
  min-width: 0;
}

.composer-panel {
  position: sticky;
  top: 76px;
}

.post-form {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.post-form > * {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.section-heading h2 {
  margin: 0;
  font-size: 22px;
}

.member-note,
.form-message {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.form-message {
  justify-self: center;
  width: fit-content;
  max-width: min(560px, 100%);
  padding: 10px 16px;
  color: var(--accent-strong);
  text-align: left;
  background: color-mix(in srgb, var(--accent) 6%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 8px;
}

.form-message[hidden] {
  display: none;
}

.member-note.error {
  color: var(--accent-strong);
}

.form-message.error {
  color: #b91c1c;
  background: #fff1f2;
  border-color: #fecaca;
}

.channel-submission-message {
  width: min(560px, 100%);
  box-sizing: border-box;
  justify-self: center;
}

.admin-local-login-url a {
  color: var(--accent-strong);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.location-panel {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: color-mix(in srgb, var(--accent) 7%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 8px;
}

.category-fields {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 14px;
  background: color-mix(in srgb, var(--road) 4%, var(--panel));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.post-type-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.post-type-picker legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.post-type-picker label {
  position: relative;
  display: grid;
  min-height: 46px;
  place-items: center;
  padding: 0 10px;
  color: var(--muted);
  background: color-mix(in srgb, var(--panel) 84%, var(--bg));
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.post-type-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.post-type-picker span {
  font-weight: 900;
}

.post-type-picker label:has(input:checked) {
  color: #fff;
  background: var(--road);
  border-color: var(--road);
}

.form-grid {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quick-presets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  background: color-mix(in srgb, var(--accent) 7%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 8px;
}

label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.signup-youtube-block {
  display: grid;
  gap: 10px;
}

.signup-youtube-question {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.signup-youtube-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.signup-youtube-choice label {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 74px;
  padding: 12px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.signup-youtube-choice label > span {
  display: grid;
  gap: 4px;
  text-align: left;
}

.signup-youtube-choice strong {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.signup-youtube-choice small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.55;
}

.signup-youtube-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.signup-youtube-choice label:has(input:checked) {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.signup-youtube-choice label:has(input:checked) small {
  color: rgba(255, 255, 255, 0.82);
}

.signup-youtube-register .signup-youtube-choice label {
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: color-mix(in srgb, var(--panel) 82%, var(--bg));
  color: var(--text);
  padding: 11px 12px;
}

.password-field {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
}

.password-field input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle:hover,
.password-toggle:focus-visible {
  background: color-mix(in srgb, var(--road) 7%, transparent);
  color: var(--text);
}

.password-toggle span {
  position: relative;
  display: block;
  width: 21px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.password-toggle span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.password-toggle span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(-38deg);
  opacity: 0;
}

.password-toggle:not(.is-visible) span::after {
  opacity: 1;
}

textarea {
  resize: vertical;
}

.image-drop {
  min-height: 132px;
  place-items: center;
  border: 1px dashed color-mix(in srgb, var(--accent) 55%, var(--line));
  border-radius: 8px;
  color: var(--text);
  text-align: center;
}

.image-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.drop-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--road);
  color: #fff;
  font-size: 24px;
}

.image-drop small {
  color: var(--muted);
  font-weight: 600;
}

.preview {
  display: grid;
  gap: 8px;
}

.preview img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.preview-grid img {
  aspect-ratio: 1;
}

.post-confirm-panel {
  width: min(680px, 100%);
  max-width: 100%;
}

.post-confirm-images {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.post-confirm-images img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.post-confirm-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.post-confirm-list div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.post-confirm-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.post-confirm-list dd {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.post-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.submit-button {
  width: 100%;
}

.submit-button:disabled,
.like-button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.feed-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px;
  margin-bottom: 16px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.search-field input {
  border: 0;
  background: transparent;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(5, minmax(48px, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.segmented button {
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  padding: 0 12px;
  min-height: 44px;
}

.segmented button:first-child {
  border-left: 0;
}

.segmented .active {
  background: var(--ink);
  color: var(--bg);
}

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

.post-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(20, 17, 14, 0.08);
}

.post-media {
  min-height: 210px;
  background: var(--road);
  background-size: cover;
  background-position: center;
}

.post-media.generated {
  position: relative;
  background: linear-gradient(135deg, #202020 0%, #4d4b48 58%, #d64022 59%, #f2b15f 100%);
}

.post-media.generated::before,
.post-media.generated::after {
  content: "";
  position: absolute;
  bottom: 36px;
  width: 62px;
  height: 62px;
  border: 9px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
}

.post-media.generated::before {
  left: 48px;
}

.post-media.generated::after {
  right: 54px;
}

.post-content {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.post-meta,
.post-actions,
.tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.post-meta {
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.category,
.tags span {
  padding: 4px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 13%, var(--panel));
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
}

.post-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.maker-name,
.bike-name,
.post-author,
.post-body {
  margin: 0;
}

.maker-name {
  color: var(--text);
  font-weight: 900;
}

.bike-name {
  color: var(--accent-strong);
  font-weight: 800;
}

.post-body {
  color: var(--muted);
}

.post-author {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.post-actions {
  padding-top: 4px;
}

.post-actions button {
  padding: 0 10px;
}

.like-button.liked {
  background: var(--road);
  color: #fff;
  border-color: var(--road);
}

.delete-button {
  margin-left: auto;
  width: 40px;
  color: var(--muted);
}

.empty-state {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.gallery-page {
  width: min(1400px, calc(100% - 32px));
  margin: 36px auto 64px;
}

.top-gallery-page {
  margin-top: 22px;
}

.creator-page {
  width: min(1400px, calc(100% - 32px));
  margin: 28px auto 72px;
}

.creator-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
  min-height: 520px;
  padding: clamp(28px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(230, 15, 55, 0.92), rgba(18, 18, 22, 0.94)),
    url("assets/ogp-main.png") center / cover;
  border-radius: 8px;
  color: #fff;
  overflow: hidden;
}

.creator-hero .kicker,
.creator-section .kicker {
  color: #ffd3dc;
}

.creator-hero-copy h1 {
  max-width: 900px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.08;
}

.creator-hero-copy p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 700;
}

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

.creator-hero-actions .primary-link {
  min-height: 48px;
  background: #fff;
  border-color: #fff;
  color: #e60f37;
}

.creator-hero-actions .ghost-button {
  min-height: 48px;
  padding-inline: 18px;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  font-weight: 900;
}

.creator-hero-panel {
  display: grid;
  gap: 12px;
}

.spotlight-card {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  backdrop-filter: blur(16px);
}

.spotlight-card.is-premium {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.44);
}

.spotlight-card span,
.spotlight-card small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 900;
}

.spotlight-card strong {
  font-size: clamp(18px, 2vw, 24px);
}

.creator-stats,
.featured-creators,
.genre-grid {
  display: grid;
  gap: 14px;
}

.creator-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0 42px;
}

.creator-stats div,
.featured-creators article,
.genre-grid a {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(20, 17, 14, 0.06);
}

.creator-stats div {
  padding: 18px;
}

.creator-stats span,
.rank-badge {
  display: inline-flex;
  width: fit-content;
  padding: 3px 8px;
  background: color-mix(in srgb, var(--accent) 13%, var(--panel));
  color: var(--accent-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.creator-stats strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
}

.creator-stats p,
.creator-section-heading p,
.featured-creators p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.creator-section {
  margin-top: 42px;
}

.creator-section-heading {
  margin-bottom: 16px;
}

.creator-section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.2;
}

.genre-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.genre-grid a {
  display: grid;
  gap: 8px;
  min-height: 112px;
  align-content: space-between;
  padding: 16px;
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
}

.genre-grid span {
  color: var(--accent-strong);
  font-size: 13px;
}

.featured-creators {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.featured-creators article {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.featured-creators strong {
  font-size: 22px;
  line-height: 1.25;
}

.featured-creators a {
  color: var(--accent-strong);
  font-weight: 900;
}

.creator-listing {
  padding-top: 8px;
}

.platform-page {
  display: grid;
  gap: 28px;
  margin-top: 0;
}

.top-page .creator-page {
  width: min(1700px, calc(100% - 36px));
  margin-top: 18px;
}

.lp-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 24px;
  align-items: center;
  min-height: 360px;
  padding: clamp(28px, 5vw, 62px);
  overflow: hidden;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(34, 58, 114, 0.08), transparent 58%),
    repeating-linear-gradient(90deg, rgba(222, 213, 200, 0.18) 0 1px, transparent 1px 72px);
  opacity: 1;
}

.lp-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  max-width: 820px;
}

.lp-hero-copy h1,
.lp-hero-copy p,
.lp-final-cta h2 {
  margin: 0;
}

.lp-hero-copy h1 {
  color: var(--text);
  font-size: clamp(22px, 2.2vw, 24px);
  font-weight: 900;
  line-height: 1.45;
}

.lp-hero-copy > p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 800;
  line-height: 1.9;
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.lp-hero-actions .primary-link,
.lp-hero-actions .ghost-button {
  width: 300px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  justify-content: center;
  text-align: center;
}

.lp-hero-actions button.primary-link {
  border: 0;
  cursor: pointer;
}

.lp-primary-cta {
  background: var(--accent);
  color: #fff;
}

.lp-primary-cta:hover,
.lp-primary-cta:focus-visible {
  background: var(--accent-strong);
  color: #fff;
}

.lp-business-cta {
  color: var(--brand-navy);
  background: #eef4ff;
  border: 2px solid var(--brand-navy);
}

.lp-business-cta:hover,
.lp-business-cta:focus-visible {
  color: #fff;
  background: var(--brand-navy);
  border-color: var(--brand-navy);
}

.lp-hero-proof {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding-left: clamp(8px, 2vw, 28px);
  border-left: 2px solid rgba(34, 58, 114, 0.18);
}

.lp-hero-proof-title {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.lp-hero-proof ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-hero-proof li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(76px, auto) 1fr;
  gap: 14px;
  align-items: baseline;
  padding-left: 18px;
}

.lp-hero-proof li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-50%);
}

.lp-hero-proof strong {
  color: var(--brand-navy);
  font-size: 18px;
  font-weight: 900;
}

.lp-hero-proof li span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.lp-two-sided-section,
.lp-final-cta {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lp-two-sided-section > .gallery-heading {
  text-align: center;
}

.lp-section-lead {
  width: min(900px, 100%);
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.9;
  text-align: left;
}

.lp-audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lp-audience-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lp-audience-card > span {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.lp-audience-card.is-creator > span {
  color: #fff;
  background: var(--accent);
}

.lp-audience-card.is-business > span {
  color: #fff;
  background: var(--brand-navy);
}

.lp-audience-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
}

.lp-audience-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.2em;
}

.lp-audience-card li {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.8;
}

.lp-audience-card li strong {
  color: var(--text);
}

.lp-final-cta {
  justify-items: center;
  text-align: center;
}

.lp-final-cta h2 {
  color: var(--text);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.35;
}

.genre-page {
  width: min(1700px, calc(100% - 36px));
  margin: 18px auto 56px;
}

.top-discovery-dashboard {
  display: grid;
  gap: 14px;
}

.top-dashboard-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.top-dashboard-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 250px;
}

.top-dashboard-brand h1,
.top-dashboard-brand p {
  margin: 0;
}

.top-dashboard-brand h1 {
  color: #16181d;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
}

.top-dashboard-brand p {
  color: #6f7b8a;
  font-size: 13px;
  font-weight: 800;
}

.top-dashboard-tabs {
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.top-dashboard-tabs a {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  color: #36506d;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.top-dashboard-tabs a:hover,
.top-dashboard-tabs a:focus-visible,
.top-dashboard-tabs a.active {
  color: #fff;
  background: linear-gradient(135deg, #ff4152, #ff5864);
  box-shadow: none;
}

.top-dashboard-side {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-dashboard-side .creator-filter-form {
  width: min(100vw, 560px);
  margin: 0;
}

.top-dashboard-side .creator-search-box {
  flex: 1 1 440px;
  max-width: 440px;
  background: #fff;
  border-color: #dbe9ee;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(70, 105, 120, 0.06);
}

.top-dashboard-side .creator-filter-form .ghost-button {
  flex: 0 0 auto;
  min-width: 54px;
  padding-inline: 10px;
  font-size: 12px;
  white-space: nowrap;
}

.top-dashboard-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 8px;
  text-align: center;
}

.top-dashboard-refresh strong {
  color: #6d7e91;
  font-size: 11px;
  font-weight: 900;
}

.top-dashboard-refresh span {
  color: #6d7e91;
  font-size: 11px;
  font-weight: 800;
}

.site-intro {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 6px 0 2px;
}

.site-intro p {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 14px 16px;
  color: var(--text);
  background: color-mix(in srgb, var(--panel) 92%, var(--accent) 8%);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 800;
  line-height: 1.7;
  text-align: left;
}

.site-intro-close {
  position: absolute;
  top: 13px;
  right: max(8px, calc((100% - 960px) / 2 + 8px));
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.site-intro-close:hover,
.site-intro-close:focus-visible {
  color: var(--text);
  border-color: var(--accent);
  outline: none;
}

.creator-filter-bar {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding-top: 16px;
}

.creator-filter-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  width: min(100%, 680px);
  margin-inline: auto;
}

.creator-search-box {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.creator-search-field {
  display: grid;
  flex: 1 1 300px;
  min-width: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.creator-search-field input {
  width: 100%;
  min-height: 42px;
  border: 0;
  padding: 0 16px;
  background: transparent;
  color: var(--text);
  font: inherit;
  outline: 0;
}

.creator-recommend-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 134px;
  min-height: 42px;
  padding: 0 10px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.creator-search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  min-height: 42px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: color-mix(in srgb, var(--text) 4%, var(--panel));
  color: var(--text);
  font-weight: 900;
}

.creator-search-button:hover,
.creator-search-button:focus-visible {
  background: color-mix(in srgb, var(--text) 6%, var(--panel));
}

.creator-search-button span {
  position: relative;
  display: block;
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.creator-search-button span::after {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  content: "";
  transform: rotate(45deg);
}

.creator-recommend-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
}

.genre-link-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: min(100%, 820px);
  margin-inline: auto;
}

.genre-link-bar.is-page {
  justify-content: center;
  width: min(100%, 820px);
  margin-inline: auto;
}

.genre-link-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.genre-link-chip:hover,
.genre-link-chip:focus-visible,
.genre-link-chip.is-current {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}

.genre-link-chip.is-favorite {
  color: #fff;
  background: var(--road);
  border-color: var(--road);
}

.genre-page-heading {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}

.genre-page-heading h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(16px, 2.6vw, 25px);
  line-height: 1.14;
}

.genre-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.genre-summary-row strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
}

.genre-summary-row span {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
}

.genre-summary-row.is-count-only {
  justify-content: center;
}

.platform-row {
  display: grid;
  gap: 10px;
  scroll-margin-top: 78px;
}

.top-page .platform-row,
.top-page .watch-promotion-row,
.top-page .featured-recommendation-row,
.genre-page .platform-row,
.genre-page .subscriber-tab-section {
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #edf2f4;
  border-radius: 18px;
  box-shadow: 0 7px 22px rgba(70, 105, 120, 0.12);
}

.top-page .trend-row,
.top-page .hidden-gem-row,
.genre-page .trend-row,
.genre-page .hidden-gem-row {
  background: rgba(255, 255, 255, 0.96);
  border-color: #edf2f4;
}

.top-page .trend-row.near-row,
.genre-page .trend-row.near-row {
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #edf2f4;
  border-radius: 18px;
}

.top-page .platform-row-heading span,
.genre-page .platform-row-heading span {
  color: #ff3348;
}

.top-page .hidden-gem-row > .platform-row-heading,
.top-page .featured-recommendation-row > .platform-row-heading,
.top-page .trend-row:not(.near-row) > .platform-row-heading,
.genre-page .genre-section > .platform-row-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.top-page .hidden-gem-row > .platform-row-heading h2,
.top-page .featured-recommendation-row > .platform-row-heading h2,
.top-page .trend-row:not(.near-row) > .platform-row-heading h2,
.genre-page .genre-section > .platform-row-heading h2 {
  grid-column: 2;
  justify-content: center;
  text-align: center;
}

.top-page .hidden-gem-row > .platform-row-heading > span,
.top-page .hidden-gem-row > .platform-row-heading > a,
.top-page .featured-recommendation-row > .platform-row-heading > span,
.top-page .featured-recommendation-row > .platform-row-heading > a,
.top-page .trend-row:not(.near-row) > .platform-row-heading > span,
.top-page .trend-row:not(.near-row) > .platform-row-heading > a,
.genre-page .genre-section > .platform-row-heading > span,
.genre-page .genre-section > .platform-row-heading > a {
  grid-column: 3;
  justify-self: end;
}

.top-page .platform-show-more {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(70, 105, 120, 0.08);
}

.subscriber-tab-section {
  display: grid;
  gap: 12px;
}

.subscriber-tab-section .subscriber-tab-panel {
  box-shadow: none;
}

.subscriber-tabs-heading {
  display: grid;
  gap: 4px;
  text-align: center;
}

.subscriber-tabs-heading h2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.25;
}

.subscriber-tabs-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}

.subscriber-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  overflow-x: auto;
  padding: 2px 0 4px;
  scrollbar-width: thin;
}

.subscriber-tab {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  color: #333;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.subscriber-tab:hover,
.subscriber-tab:focus-visible,
.subscriber-tab.is-active {
  color: #fff;
  background: var(--brand-navy);
  border-color: var(--brand-navy);
}

.subscriber-mobile-select-label {
  display: none;
}

.subscriber-tab-panel .platform-thumbnail-grid:has(.is-channel-card) {
  justify-content: center;
}

.platform-row-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.platform-row h2,
.watch-promotion-row h2 {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.2;
}

.platform-row h2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rate-help-button {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  color: #555;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.rate-help-button:hover,
.rate-help-button:focus-visible,
.rate-help-button.is-open {
  color: #fff;
  background: #333;
  border-color: #333;
}

.rate-help-popover {
  width: min(620px, 100%);
  margin: -2px 0 4px;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid color-mix(in srgb, #facc15 36%, var(--line));
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.7;
}

.top-page .rate-help-popover {
  margin-inline: auto;
  text-align: left;
}

.platform-row-heading span {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
}

.platform-row-heading a {
  color: #8a2f25;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.platform-row-heading a:hover,
.platform-row-heading a:focus-visible {
  text-decoration: underline;
}

.watch-promotion-row {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: color-mix(in srgb, var(--accent) 8%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 8px;
}

.trend-row {
  padding: 16px;
  background: color-mix(in srgb, #2f8f83 8%, var(--panel));
  border: 1px solid color-mix(in srgb, #2f8f83 26%, var(--line));
  border-radius: 8px;
}

.genre-section.is-featured {
  padding: 16px;
  background: color-mix(in srgb, var(--accent) 10%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: 8px;
}

.hidden-gem-row,
.genre-section.is-gem {
  padding: 16px;
  background: color-mix(in srgb, #facc15 10%, var(--panel));
  border: 1px solid color-mix(in srgb, #facc15 30%, var(--line));
  border-radius: 8px;
}

.hidden-gem-archive-row .platform-thumbnail-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.hidden-gem-archive-row .platform-thumbnail {
  aspect-ratio: 16 / 9;
  min-height: 0;
  box-shadow: none;
}

.hidden-gem-archive-row .platform-thumbnail span {
  display: none;
}

.hidden-gem-row:not(.hidden-gem-archive-row) .platform-thumbnail-item {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hidden-gem-video-thumbnail {
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
}

.hidden-gem-video-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 0 2px 2px;
  text-align: left;
}

.hidden-gem-video-meta strong {
  overflow: hidden;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hidden-gem-video-meta small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hidden-gem-row:not(.hidden-gem-archive-row) .top-favorite-button {
  top: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
  font-size: 17px;
}

.hidden-gem-archive-row .top-favorite-button {
  width: 28px;
  height: 28px;
  font-size: 16px;
}

.archive-page .platform-row-heading {
  align-items: end;
}

.archive-page .platform-row-heading h1 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.archive-video-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trend-row.near-row {
  padding: 0 0 18px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.trend-row.near-row .platform-row-heading {
  padding-bottom: 0;
}

.watch-promotion-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.watch-promotion-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  min-width: 0;
  color: #fff;
  background: var(--road);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(20, 17, 14, 0.08);
  text-decoration: none;
}

.watch-promotion-item,
.featured-recommendation-video-item {
  position: relative;
  min-width: 0;
}

.watch-promotion-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.watch-promotion-card:hover img,
.watch-promotion-card:focus-visible img {
  transform: scale(1.04);
}

.watch-promotion-card strong,
.watch-promotion-card small,
.watch-promotion-card em {
  position: absolute;
  right: 8px;
  left: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.72);
  white-space: nowrap;
}

.watch-promotion-card strong {
  bottom: 28px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.watch-promotion-card small {
  bottom: 10px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 10px;
  font-weight: 800;
}

.watch-promotion-card em {
  top: 36px;
  left: 8px;
  right: auto;
  max-width: calc(100% - 16px);
  padding: 3px 8px;
  color: #fff;
  background: rgba(17, 24, 39, 0.76);
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.pr-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.4;
}

.promotion-remaining-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 8px;
  color: #fff;
  background: rgba(17, 24, 39, 0.82);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.4;
}

.platform-thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.platform-row .platform-thumbnail-grid:has(.is-channel-card) {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 168px), 180px));
  align-items: start;
  justify-content: start;
}

.platform-show-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  min-height: 42px;
  margin-top: 6px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
}

.platform-show-more:hover,
.platform-show-more:focus-visible {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}

.channel-list-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  justify-content: center;
  margin: 18px auto 0;
  width: min(100%, 760px);
}

.channel-list-summary {
  gap: 14px;
  margin-top: 18px;
}

.channel-list-row {
  margin-top: 16px;
}

.channel-list-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 22px auto 0;
}

.channel-list-pagination a,
.channel-list-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.channel-list-pagination a:hover,
.channel-list-pagination a:focus-visible {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.platform-thumbnail-item {
  position: relative;
  min-width: 0;
}

.platform-thumbnail-item.is-channel-card {
  min-height: 94px;
}

.platform-thumbnail {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--road);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(20, 17, 14, 0.08);
  text-decoration: none;
}

.platform-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.platform-thumbnail.is-channel {
  display: grid;
  place-items: center;
  padding: 18px;
  background: #f7f7f5;
}

.is-channel-card .platform-thumbnail.is-channel {
  display: grid;
  grid-template-rows: 20px 44px 1fr;
  align-content: start;
  justify-items: center;
  gap: 3px;
  min-height: 94px;
  aspect-ratio: 16 / 9;
  padding: 7px;
  background: #faf9f6;
  border: 1px solid #dbe9ee;
  border-radius: 8px;
  box-shadow: none;
}

.platform-thumbnail-item.has-milestone .platform-thumbnail.is-channel {
  border-color: #f3b233;
  box-shadow: none;
}

.platform-thumbnail-item.is-milestone-reached .platform-thumbnail.is-channel {
  border-color: #2fbf71;
  box-shadow: none;
}

.platform-thumbnail-item.is-milestone-urgent .platform-thumbnail.is-channel {
  border-color: #e84d4f;
  box-shadow: none;
}

.platform-thumbnail.is-channel img {
  width: clamp(68px, 42%, 112px);
  height: auto;
  aspect-ratio: 1;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  object-fit: cover;
}

.is-channel-card .platform-thumbnail.is-channel img {
  grid-row: 2;
  width: 44px;
  height: 44px;
  aspect-ratio: 1;
  padding: 0;
  background: transparent;
  border: 1px solid #e5ded2;
  border-radius: 50%;
  box-shadow: none;
}

.is-channel-card .platform-thumbnail:hover img,
.is-channel-card .platform-thumbnail:focus-visible img {
  transform: none;
}

.platform-thumbnail:hover img,
.platform-thumbnail:focus-visible img {
  transform: scale(1.04);
}

.platform-thumbnail:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, #fff);
  outline-offset: 3px;
}

.platform-thumbnail span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}

.is-channel-card .platform-thumbnail span {
  position: absolute;
  right: 7px;
  bottom: 7px;
  left: 7px;
  display: grid;
  gap: 2px;
  overflow: hidden;
  padding-right: 0;
  color: #16181d;
  line-height: 1.2;
  text-shadow: none;
  text-decoration: none;
}

.is-channel-card .platform-thumbnail span strong {
  display: block;
  overflow: hidden;
  min-width: 0;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-decoration: none;
  white-space: nowrap;
}

.platform-thumbnail span small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 11px;
  font-weight: 800;
}

.hidden-gem-rate-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: grid;
  gap: 0;
  min-width: 64px;
  padding: 5px 8px;
  color: #17130f;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(250, 204, 21, 0.78);
  border-radius: 6px;
  box-shadow: none;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.hidden-gem-rate-badge small {
  color: #8a2f25;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.2;
}

.rapid-growth-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  left: 7px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 8px;
  color: var(--brand-navy);
  background: #eef4ff;
  border: 1px solid color-mix(in srgb, var(--brand-navy) 22%, #dbeafe);
  border-radius: 4px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.rapid-growth-badge small {
  color: #8a2f25;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.2;
}

.is-rapid-growth-card .platform-thumbnail.is-channel {
  grid-template-rows: 32px 42px 1fr;
}

.is-rapid-growth-card .platform-thumbnail.is-channel img {
  width: 42px;
  height: 42px;
}

.is-channel-card .platform-thumbnail span small {
  display: block;
  overflow: hidden;
  color: #6f7b8a;
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.channel-verified-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  color: #fff;
  background: var(--accent);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.4;
}

.channel-recommended-badge {
  position: absolute;
  top: 34px;
  left: 8px;
  padding: 3px 8px;
  color: #fff;
  background: #2f8f83;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.4;
}

.channel-recommended-badge.is-media-kit-public {
  top: 7px;
  right: 7px;
  left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  color: #fff;
  background: #16a34a;
  border: 1px solid #15803d;
  box-shadow: 0 2px 0 rgba(21, 128, 61, 0.18);
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

.subscriber-class-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.subscriber-class-badge.is-gold {
  color: #604300;
  background: #fff0b8;
  border-color: #d8ad3f;
}

.subscriber-class-badge.is-silver {
  color: #41474f;
  background: #edf0f3;
  border-color: #bac2cc;
}

.subscriber-class-badge.is-bronze {
  color: #6b3f16;
  background: #f6ddc2;
  border-color: #c9894c;
}

.subscriber-class-badge.is-green {
  color: #245b3a;
  background: #e5f4ea;
  border-color: #9ccdab;
}

.subscriber-class-badge.is-plain {
  color: var(--muted);
  background: color-mix(in srgb, var(--road) 4%, var(--panel));
  border-color: var(--line);
}

.platform-thumbnail > .subscriber-class-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  max-width: calc(100% - 16px);
  background-clip: padding-box;
}

.is-channel-card .platform-thumbnail > .subscriber-class-badge {
  position: static;
  grid-row: 1;
  justify-self: end;
  min-height: 18px;
  max-width: 96px;
  padding: 0 6px;
  font-size: 10px;
}

.channel-milestone-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  z-index: 3;
  display: block;
  overflow: hidden;
  padding: 5px 7px;
  color: #2f2100;
  background: rgba(255, 209, 92, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.platform-thumbnail-item.has-milestone .platform-thumbnail span {
  bottom: 34px;
}

.platform-thumbnail-item.is-milestone-reached .channel-milestone-badge {
  color: #fff;
  background: rgba(47, 191, 113, 0.96);
}

.platform-thumbnail-item.is-milestone-urgent .channel-milestone-badge {
  color: #fff;
  background: rgba(232, 77, 79, 0.96);
}

.milestone-celebration {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

.milestone-confetti {
  position: absolute;
  top: -16px;
  width: 8px;
  height: 14px;
  background: var(--piece-color, #f3b233);
  border-radius: 2px;
  animation: milestone-confetti-fall 1.9s ease-out forwards;
}

@keyframes milestone-confetti-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -20px, 0) rotate(0deg);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift, 0), 108vh, 0) rotate(620deg);
  }
}

.top-favorite-button {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(124, 134, 148, 0.28);
  color: #7c8794;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(70, 105, 120, 0.16);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  text-shadow: none;
  transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.top-favorite-button:hover,
.top-favorite-button:focus-visible {
  transform: translateY(-1px);
}

.top-favorite-button.active {
  color: #f7bd00;
  border-color: rgba(247, 189, 0, 0.55);
  box-shadow: 0 4px 12px rgba(247, 189, 0, 0.24);
}

.top-favorite-button:disabled {
  cursor: default;
  opacity: 0.72;
}

.is-channel-card > .top-favorite-button {
  top: 9px;
  right: 9px;
  width: 22px;
  height: 22px;
  color: #87909b;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 17px;
}

.is-channel-card > .top-favorite-button.active {
  color: #f1b800;
  border-color: transparent;
  box-shadow: none;
}

.gallery-heading {
  margin-bottom: 22px;
}

.gallery-heading.compact {
  margin-bottom: 14px;
}

.gallery-heading .kicker {
  margin-bottom: 8px;
  line-height: 1.1;
}

.gallery-heading h2 {
  margin-top: 0;
}

.gallery-heading h1 {
  color: var(--text);
  font-size: clamp(34px, 5vw, 64px);
}

.heading-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-left: 8px;
  padding: 0 9px;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  vertical-align: middle;
}

.gallery-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.heading-with-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.comparison-help-popover {
  margin-inline: auto;
  text-align: left;
}

.comparison-help-popover ol {
  margin: 0;
  padding-left: 1.35em;
}

.comparison-help-popover p {
  margin: 6px 0 0;
}

.top-gallery-groups,
.gallery-date-group {
  display: grid;
  gap: 14px;
}

.prefecture-filter {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 18px;
}

.prefecture-filter label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.prefecture-filter select {
  min-width: 160px;
  padding: 9px 34px 9px 12px;
}

.top-gallery-groups {
  gap: 26px;
}

.gallery-date-heading {
  margin: 0;
  color: var(--text);
  font-size: clamp(10px, 1.5vw, 16px);
  line-height: 1;
}

.bike-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.gallery-tile {
  position: relative;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--road);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(20, 17, 14, 0.08);
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.gallery-tile:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, #fff);
  outline-offset: 3px;
}

.gallery-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.favorite-button {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.favorite-button.active {
  color: #ffd24a;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.favorite-button:disabled {
  cursor: progress;
  opacity: 0.7;
}

.gallery-tile:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 2px;
  padding: 30px 10px 10px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent);
}

.gallery-caption strong,
.gallery-caption span,
.gallery-caption small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-caption strong {
  font-size: 7px;
  line-height: 1.35;
}

.gallery-caption span,
.gallery-caption small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 700;
}

.gallery-loader {
  margin: 20px 0 0;
  padding: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.photo-page {
  width: min(1320px, calc(100% - 32px));
  margin: 24px auto 64px;
}

.admin-page {
  display: grid;
  gap: 22px;
  width: min(1380px, calc(100% - 32px));
  margin: 24px auto 64px;
}

.admin-login-card {
  display: grid;
  gap: 18px;
  width: min(440px, 100%);
  margin: 40px auto;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-login-card h1,
.admin-heading h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
  text-align: center;
}

.admin-heading {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.admin-heading > div {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.admin-menu-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--panel);
  border: 1px solid var(--road);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: none;
}

.admin-menu-panel a,
.admin-menu-item {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  min-height: 132px;
  padding: 18px 12px;
  color: var(--text);
  border-right: 1px solid var(--road);
  border-bottom: 1px solid var(--road);
  text-align: center;
  text-decoration: none;
}

.admin-menu-panel a:nth-child(4n),
.admin-menu-item:nth-child(4n) {
  border-right: 0;
}

.admin-menu-panel a:nth-last-child(-n + 4),
.admin-menu-item:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.admin-menu-panel strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

.admin-menu-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.admin-menu-panel a:hover,
.admin-menu-panel a:focus-visible {
  background: color-mix(in srgb, var(--accent) 5%, var(--panel));
  outline: none;
}

.admin-menu-panel a.is-primary-admin {
  background: color-mix(in srgb, #f5c542 13%, var(--panel));
}

.admin-menu-panel a.is-primary-admin strong {
  color: color-mix(in srgb, var(--text) 84%, #9f6f00);
}

.admin-menu-panel a.is-primary-admin span {
  color: color-mix(in srgb, var(--muted) 78%, #8a6400);
}

.admin-menu-panel a.is-primary-admin:hover,
.admin-menu-panel a.is-primary-admin:focus-visible {
  background: color-mix(in srgb, #f5c542 20%, var(--panel));
}

.admin-menu-panel a.admin-request-alert {
  position: relative;
}

.admin-menu-panel a.admin-request-alert.has-unread {
  background: color-mix(in srgb, #f04438 10%, var(--panel));
  border-color: color-mix(in srgb, #f04438 58%, var(--road));
}

.admin-menu-panel a.admin-request-alert.has-unread strong {
  color: #b42318;
}

.admin-menu-panel a.admin-request-alert.has-unread span {
  color: color-mix(in srgb, #b42318 62%, var(--muted));
}

.admin-menu-panel a.admin-request-alert em {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  color: #fff;
  background: #d92d20;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.admin-menu-panel a.is-admin-setting {
  background: color-mix(in srgb, var(--road) 6%, var(--panel));
}

.admin-menu-panel a.is-admin-setting strong {
  color: color-mix(in srgb, var(--text) 86%, var(--muted));
}

.admin-menu-panel a.is-admin-setting span {
  color: var(--muted);
}

.admin-menu-panel a.is-admin-setting:hover,
.admin-menu-panel a.is-admin-setting:focus-visible {
  background: color-mix(in srgb, var(--road) 10%, var(--panel));
}

.admin-menu-item.is-disabled {
  color: var(--muted);
  background: color-mix(in srgb, var(--road) 3%, var(--panel));
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  justify-self: center;
  width: min(900px, 100%);
}

.admin-user-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(680px, 100%);
}

.admin-stats article,
.admin-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-stats article {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 16px;
  text-align: center;
}

.admin-stats span,
.admin-panel-heading span,
.admin-table small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-stats strong {
  color: var(--text);
  font-size: 28px;
  line-height: 1;
}

.admin-current-notices-panel {
  display: grid;
  gap: 0;
  width: min(980px, 100%);
  margin: 8px auto;
}

.admin-current-notices-panel .admin-panel-heading {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-bottom: 30px;
  text-align: center;
}

.admin-current-notices-list {
  display: grid;
  gap: 14px;
  padding: 0 18px 22px;
}

.admin-current-notices-list article {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: color-mix(in srgb, #f5c542 9%, var(--panel));
  border: 1px solid color-mix(in srgb, #f5c542 28%, var(--line));
  border-radius: 8px;
  text-align: left;
}

.admin-current-notices-list article > div {
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid color-mix(in srgb, #f5c542 30%, var(--line));
}

.admin-current-notices-list strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
}

.admin-current-notices-list small,
.admin-current-notices-list p,
.admin-current-notices-list a,
.admin-empty-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.8;
}

.admin-current-notices-list p {
  margin: 0;
}

.admin-current-notices-list a {
  color: var(--accent-strong);
  overflow-wrap: anywhere;
}

.admin-single-panel {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.admin-single-panel .admin-panel-heading {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-bottom: 30px;
  text-align: center;
}

.admin-single-panel .admin-panel-heading h2,
.admin-single-panel .admin-panel-heading span {
  text-align: center;
}

.admin-single-panel .admin-help-box {
  margin: 0 auto 30px;
}

.admin-empty-table-cell {
  padding: 30px !important;
  color: var(--muted) !important;
  font-weight: 900;
  text-align: center !important;
}

.admin-operator-form {
  display: grid;
  gap: 18px;
  width: min(760px, 100%);
  margin: 0 auto 30px;
}

.admin-operator-form label,
.admin-operator-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.admin-operator-form .admin-input,
.admin-operator-card .admin-input {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.admin-operator-form .submit-button {
  justify-self: center;
  width: fit-content;
  min-width: 150px;
}

.admin-operator-list {
  display: grid;
  gap: 18px;
  width: min(900px, 100%);
  margin: 0 auto 30px;
}

.admin-operator-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-operator-card form:first-child {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-operator-card .admin-operator-active-check,
.admin-operator-card .admin-operator-meta,
.admin-operator-card .admin-operator-actions {
  grid-column: 1 / -1;
}

.admin-operator-active-check {
  justify-self: center;
  width: fit-content;
}

.admin-operator-meta {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.admin-operator-actions,
.admin-operator-card > form:last-child {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.admin-operator-history-panel {
  overflow: visible;
}

.admin-operator-history-panel summary {
  display: grid;
  justify-items: center;
  padding: 18px;
  color: var(--text);
  list-style: none;
  cursor: pointer;
  text-align: center;
}

.admin-operator-history-panel summary::-webkit-details-marker {
  display: none;
}

.admin-operator-history-panel summary > span {
  display: grid;
  gap: 4px;
}

.admin-operator-history-panel summary strong {
  font-size: 16px;
  font-weight: 900;
}

.admin-operator-history-panel summary small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-operator-history-panel summary::after {
  content: "開く";
  width: fit-content;
  margin-top: 12px;
  padding: 6px 14px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.admin-operator-history-panel[open] summary {
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}

.admin-operator-history-panel[open] summary::after {
  content: "閉じる";
}

.admin-soft-danger-button {
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 4%, var(--panel));
  border-color: color-mix(in srgb, var(--accent) 16%, var(--line));
}

.admin-empty-note {
  margin: 0 auto 22px;
  padding: 14px 18px;
  text-align: center;
}

.admin-panel {
  min-width: 0;
  overflow: hidden;
}

.admin-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.admin-panel-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
}

.admin-single-panel .admin-panel-heading {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-bottom: 30px;
  text-align: center;
}

.admin-single-panel .admin-panel-heading h2,
.admin-single-panel .admin-panel-heading span {
  text-align: center;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
}

.admin-users-table {
  min-width: 980px;
}

.admin-operator-event-table {
  min-width: 820px;
}

.login-history-table {
  min-width: 720px;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-table td > strong,
.admin-table td > small {
  display: block;
}

.admin-thumb,
.admin-empty-thumb {
  display: block;
  width: 70px;
  height: 52px;
  border-radius: 6px;
}

.admin-thumb {
  object-fit: cover;
}

.admin-empty-thumb {
  display: grid;
  place-items: center;
  background: var(--road);
  color: var(--muted);
}

.user-detail-panel {
  scroll-margin-top: 86px;
}

.user-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

.user-detail-grid article {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: color-mix(in srgb, var(--text) 4%, var(--panel));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.user-detail-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.user-detail-grid strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.3;
}

.admin-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.admin-actions .ghost-button,
.admin-actions .danger-button {
  display: inline-flex;
  align-items: center;
  width: 64px;
  min-width: 64px;
  justify-content: center;
  padding-inline: 0;
}

.admin-input {
  display: block;
  min-width: 220px;
  margin: 0 0 6px;
  padding: 8px 10px;
  font-size: 13px;
}

.admin-help-box {
  width: min(760px, 100%);
  margin: 0 0 16px;
  padding: 12px 14px;
  color: var(--muted);
  background: color-mix(in srgb, var(--road) 4%, #fff);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
  text-align: left;
}

.admin-notification-form {
  display: grid;
  gap: 12px;
  width: min(760px, 100%);
  margin: 0 auto 22px;
}

.admin-notification-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.admin-notification-form .admin-input {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.admin-notification-form .submit-button {
  justify-self: center;
  width: fit-content;
  min-width: 180px;
}

.admin-notification-confirm-panel {
  width: min(900px, 100%);
  margin-inline: auto;
}

.admin-notification-panel {
  width: min(900px, 100%);
  margin-inline: auto;
}

.admin-notification-panel .admin-panel-heading,
.admin-notification-confirm-panel .admin-panel-heading {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-bottom: 18px;
  text-align: center;
}

.admin-notification-panel .admin-panel-heading h2,
.admin-notification-confirm-panel .admin-panel-heading h2 {
  font-size: 18px;
}

.admin-notification-confirm-panel .admin-help-box,
.admin-notification-panel .admin-help-box {
  margin: 0 auto 18px;
}

.admin-centered-panel-heading {
  display: grid !important;
  grid-template-columns: 1fr !important;
  justify-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.admin-centered-panel-heading h2,
.admin-centered-panel-heading span {
  justify-self: center !important;
  width: 100%;
  text-align: center !important;
}

.admin-confirm-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0 18px 18px;
}

.admin-confirm-list div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.admin-confirm-list div:last-child {
  border-bottom: 0;
}

.admin-confirm-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.admin-confirm-list dd {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.admin-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0 18px 22px;
}

.admin-confirm-actions form {
  display: inline-flex;
}

.admin-confirm-actions .submit-button,
.admin-confirm-actions .ghost-button {
  width: fit-content;
  min-width: 150px;
}

.admin-note-input {
  min-height: 76px;
  resize: vertical;
}

.pricing-page {
  width: min(980px, calc(100% - 32px));
  gap: 26px;
}

.pricing-hero {
  display: grid;
  gap: 12px;
  text-align: center;
}

.pricing-hero h1,
.pricing-hero p {
  margin: 0;
}

.pricing-hero h1 {
  justify-self: center;
  max-width: 820px;
  color: var(--text);
  font-size: clamp(21px, 3vw, 31px);
  line-height: 1.3;
  text-align: center;
}

.pricing-hero > p {
  justify-self: center;
  max-width: 780px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.9;
  text-align: left;
}

.pricing-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.pricing-plan-card,
.pricing-section,
.pricing-note-panel {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
}

.pricing-plan-card > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.pricing-plan-card h2,
.pricing-plan-card p,
.pricing-note-panel p {
  margin: 0;
  overflow-wrap: anywhere;
}

.pricing-plan-card h2 {
  color: var(--text);
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
}

.pricing-price {
  color: var(--brand-navy);
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.pricing-plan-card p:not(.pricing-price),
.pricing-section-lead,
.pricing-note-panel p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.8;
}

.pricing-plan-card .primary-link {
  justify-self: stretch;
  width: 100%;
  max-width: 100%;
  margin-top: 4px;
  text-align: center;
  white-space: normal;
}

.pricing-checkout-form {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  margin-top: 4px;
}

.pricing-checkout-form .primary-link {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.pricing-section {
  gap: 16px;
}

.pricing-section-lead {
  margin: 0;
}

.pricing-table-wrap {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  color: var(--text);
  font-size: 13px;
}

.pricing-table th,
.pricing-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.pricing-table thead th {
  color: var(--brand-navy);
  background: #f8fafc;
  font-size: 12px;
  font-weight: 900;
}

.pricing-table tbody th {
  width: 42%;
  font-weight: 900;
}

.pricing-table tbody td {
  font-weight: 800;
}

.pricing-table tbody td:last-child {
  color: #166534;
  font-weight: 900;
}

.pricing-note-panel {
  justify-items: start;
}

.pricing-note-panel strong {
  color: var(--text);
  font-size: 18px;
}

.contact-page {
  width: min(760px, calc(100% - 32px));
  gap: 30px;
}

.contact-page > h1 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1.25;
  text-align: center;
}

.contact-form-section {
  display: grid;
  justify-items: center;
  gap: 30px !important;
}

.contact-help-box {
  width: min(560px, 100%);
  margin: 0;
  padding: 12px 14px;
  color: var(--muted);
  background: color-mix(in srgb, var(--panel) 88%, var(--accent) 12%);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
}

.contact-form {
  display: grid;
  gap: 18px;
  width: min(560px, 100%);
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  box-sizing: border-box;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .submit-button {
  justify-self: center;
  width: fit-content;
  min-width: 160px;
}

.contact-confirm-box {
  display: grid;
  gap: 22px;
  width: min(560px, 100%);
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-confirm-box h2,
.contact-confirm-box p {
  margin: 0;
  text-align: center;
}

.contact-confirm-box h2 {
  color: var(--text);
  font-size: 18px;
}

.contact-confirm-box p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.contact-confirm-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.contact-confirm-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-confirm-list div:last-child {
  border-bottom: 0;
}

.contact-confirm-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.contact-confirm-list dd {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.contact-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.contact-confirm-actions form {
  display: inline-flex;
}

.contact-confirm-actions .ghost-button,
.contact-confirm-actions .submit-button {
  width: fit-content;
  min-width: 140px;
}

.admin-contact-panel {
  width: min(980px, 100%);
}

.admin-contact-panel > .admin-panel-heading {
  display: grid !important;
  grid-template-columns: 1fr !important;
  justify-items: center !important;
  justify-content: center !important;
  gap: 4px;
  margin-bottom: 30px;
  text-align: center !important;
}

.admin-contact-panel > .admin-panel-heading h2,
.admin-contact-panel > .admin-panel-heading span {
  justify-self: center;
  width: 100%;
  text-align: center !important;
}

.admin-contact-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 30px;
}

.admin-contact-filter a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.admin-contact-filter a.is-active {
  color: color-mix(in srgb, var(--text) 84%, #9f6f00);
  background: color-mix(in srgb, #f5c542 16%, var(--panel));
  border-color: color-mix(in srgb, #f5c542 42%, var(--line));
}

.admin-contact-list {
  display: grid;
  gap: 30px;
  width: min(860px, 100%);
  margin: 0 auto;
}

.admin-contact-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-contact-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.admin-contact-card-head h3,
.admin-contact-card-head p {
  margin: 8px 0 0;
}

.admin-contact-card-head h3 {
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}

.admin-contact-card-head p,
.admin-contact-person a,
.admin-contact-technical p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.65;
}

.admin-contact-person {
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 4px;
  min-width: min(260px, 38%);
  text-align: right;
}

.admin-contact-person strong {
  color: var(--text);
  font-size: 14px;
}

.admin-contact-body {
  padding: 14px;
  color: var(--text);
  background: color-mix(in srgb, var(--bg) 55%, var(--panel));
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.9;
  text-align: left;
  overflow-wrap: anywhere;
}

.admin-dm-template {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.admin-dm-template textarea {
  width: 100%;
  min-height: 220px;
  resize: vertical;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.admin-dm-template .admin-muted-button {
  justify-self: start;
}

.admin-contact-reply-confirm {
  display: grid;
  gap: 18px;
  width: min(760px, 100%);
  margin: 0 auto 30px;
  padding: 18px;
  background: color-mix(in srgb, var(--panel) 90%, #f5c542 10%);
  border: 1px solid color-mix(in srgb, #f5c542 34%, var(--line));
  border-radius: 8px;
}

.admin-contact-reply-confirm h2,
.admin-contact-reply-confirm p {
  margin: 0;
  text-align: center;
}

.admin-contact-reply-confirm h2 {
  color: var(--text);
  font-size: 18px;
}

.admin-contact-reply-confirm p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-contact-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-contact-status.is-new,
.admin-contact-status.is-important {
  color: #8a5d00;
  background: #fff8e2;
  border-color: #e8c76c;
}

.admin-contact-status.is-working {
  color: #2e5b45;
  background: #eef9f1;
  border-color: #acd6bb;
}

.admin-contact-status.is-hold {
  color: #594f67;
  background: #f5f1fa;
  border-color: #d5c8e5;
}

.admin-contact-status.is-done {
  color: var(--muted);
  background: var(--bg);
}

.admin-contact-form {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.admin-contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}

.admin-contact-form select,
.admin-contact-form textarea {
  width: 100%;
  min-width: 0;
}

.admin-contact-form textarea {
  resize: vertical;
}

.admin-contact-reply,
.admin-contact-reply-history {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.admin-contact-reply summary,
.admin-contact-reply-history summary {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.admin-contact-reply-form {
  display: grid;
  gap: 14px;
  width: min(760px, 100%);
  margin: 16px auto 0;
}

.admin-contact-reply-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}

.admin-contact-reply-form input,
.admin-contact-reply-form textarea {
  width: 100%;
  min-width: 0;
}

.admin-contact-reply-form textarea {
  resize: vertical;
}

.admin-contact-reply-form .admin-muted-button {
  justify-self: center;
}

.admin-contact-reply-history article {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding: 12px 14px;
  background: color-mix(in srgb, var(--bg) 55%, var(--panel));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-contact-reply-history strong {
  color: var(--text);
  font-size: 13px;
}

.admin-contact-reply-history small,
.admin-contact-reply-history p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.8;
  text-align: left;
}

.admin-muted-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: fit-content;
  min-width: 120px;
  padding: 0 16px;
  color: var(--text);
  background: color-mix(in srgb, var(--road) 7%, var(--panel));
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.admin-muted-button:hover,
.admin-muted-button:focus-visible {
  background: color-mix(in srgb, var(--road) 12%, var(--panel));
  outline: none;
}

.admin-contact-technical {
  padding-top: 4px;
}

.admin-contact-technical summary {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.admin-contact-technical p {
  margin: 8px 0 0;
  overflow-wrap: anywhere;
  text-align: left;
}

.mypage {
  display: grid;
  gap: 22px;
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 64px;
}

.mypage,
.mypage * {
  box-shadow: none !important;
}

.is-guest .mypage > .verify-card {
  justify-self: center;
  margin-inline: auto;
}

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

.mypage-heading-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.mypage-user-icon-preview {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--brand-navy);
  border: 1px solid color-mix(in srgb, var(--brand-navy) 28%, var(--line));
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.mypage-user-icon-preview:hover,
.mypage-user-icon-preview:focus-visible {
  background: var(--brand-navy-hover);
  border-color: var(--brand-navy-hover);
  outline: none;
}

.mypage-user-icon-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mypage-user-icon-panel {
  display: grid;
  gap: 8px;
  width: min(340px, 100%);
  justify-items: end;
}

.mypage-user-icon-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  width: 100%;
  align-items: end;
}

.mypage-user-icon-form label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.mypage-user-icon-form input[type="file"] {
  width: 100%;
  min-height: 38px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--text);
  font-size: 12px;
}

.mypage-user-icon-form .submit-button,
.mypage-user-icon-delete-form .ghost-button {
  min-height: 38px;
  white-space: nowrap;
}

.mypage-user-icon-delete-form {
  display: flex;
  justify-content: flex-end;
}

.account-page {
  display: grid;
  gap: 30px;
  width: min(100% - 32px, 860px);
  margin: 34px auto 56px;
}

.account-heading {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.account-heading h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.3;
}

.account-heading p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
}

.account-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
}

.account-panel h2 {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  text-align: center;
}

.account-icon-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.account-icon-preview {
  display: grid;
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--brand-navy);
  border: 1px solid color-mix(in srgb, var(--brand-navy) 28%, var(--line));
  border-radius: 50%;
  font-size: 26px;
  font-weight: 900;
}

.account-icon-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-icon-block h2 {
  text-align: left;
}

.account-icon-block p,
.account-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.7;
}

.account-form {
  display: grid;
  gap: 14px;
  width: min(100%, 560px);
  margin-inline: auto;
}

.account-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.account-form input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.account-form input[type="file"] {
  min-height: auto;
  padding: 10px;
}

.account-form .submit-button {
  justify-self: center;
  min-width: 132px;
}

.account-delete-form {
  display: flex;
  justify-content: center;
}

.account-delete-form .ghost-button {
  min-height: 38px;
}

.mypage-heading h1 {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text);
  font-size: clamp(11px, 1.5vw, 19px);
}

.mypage-heading p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.paid-plan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 25px;
  padding: 0 10px;
  color: #6f4b00;
  background: linear-gradient(180deg, #fff7dc, #f1d081);
  border: 1px solid #d5aa48;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.paid-plan-badge span,
.paid-plan-crown {
  color: #9a6500;
}

.paid-plan-overview {
  display: grid;
  gap: 7px;
  width: min(var(--mypage-form-width), 100%);
  margin-inline: auto;
  padding: 14px 16px;
  color: #4d3a0a;
  background: linear-gradient(180deg, #fffaf0, #fff4d6);
  border: 1px solid #dec27a;
  border-radius: 8px;
}

.paid-plan-overview div {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 15px;
}

.paid-plan-overview p {
  margin: 0;
  color: #6f5a25;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
  text-align: center;
}

.paid-plan-period-list {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  color: #6f5a25;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.6;
  list-style: none;
  text-align: center;
}

.billing-portal-form {
  display: flex;
  justify-content: center;
  margin: 2px 0 0;
}

.billing-portal-form .mini-button {
  color: #fff;
  background: var(--brand-navy);
  border-color: var(--brand-navy);
}

.billing-portal-form .mini-button:hover,
.billing-portal-form .mini-button:focus-visible {
  color: #fff;
  background: var(--brand-navy-hover);
  border-color: var(--brand-navy-hover);
}

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

.mypage-stats article {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mypage-stats span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.mypage-stats strong {
  color: var(--text);
  font-size: 28px;
  line-height: 1;
}

.mypage-section {
  min-width: 0;
  scroll-margin-top: 92px;
}

.mypage-tabs {
  display: flex;
  justify-content: center;
  gap: 28px;
  width: min(var(--mypage-form-width), 100%);
  margin: 0 auto;
  padding: 0 0 8px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.mypage-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 34px;
  width: auto;
  padding: 0 4px 8px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
}

.mypage-tabs button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 3px;
  background: transparent;
  border-radius: 999px;
}

.mypage-tabs button:hover,
.mypage-tabs button:focus-visible,
.mypage-tabs button.is-active {
  color: var(--text);
}

.mypage-tabs button.is-active::after {
  background: var(--road);
}

.mypage-return-menu-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 38px;
  padding: 0 14px;
  color: #fff;
  background: var(--road);
  border: 1px solid var(--road);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(34, 58, 114, 0.18);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.mypage-return-menu-button:hover,
.mypage-return-menu-button:focus-visible {
  color: #fff;
  background: var(--brand-navy-hover);
  border-color: var(--brand-navy-hover);
  outline: none;
  transform: translateY(-1px);
}

.mypage-menu-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(var(--mypage-form-width), 100%);
  margin: 0 auto 18px;
  background: var(--panel);
  border: 1px solid color-mix(in srgb, var(--road) 62%, var(--line));
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
}

.mypage-menu-panel a {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  min-height: 104px;
  padding: 15px 12px;
  color: var(--text);
  border-right: 1px solid color-mix(in srgb, var(--road) 48%, var(--line));
  border-bottom: 1px solid color-mix(in srgb, var(--road) 48%, var(--line));
  text-align: center;
  text-decoration: none;
}

.mypage-menu-panel a:nth-child(4n) {
  border-right: 0;
}

.mypage-menu-panel a:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.mypage-menu-panel strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.mypage-menu-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.mypage-menu-panel a:hover,
.mypage-menu-panel a:focus-visible {
  background: color-mix(in srgb, var(--road) 7%, var(--panel));
  outline: none;
}

.mypage-menu-panel a.is-primary-mypage {
  background: color-mix(in srgb, var(--road) 8%, var(--panel));
}

.mypage-menu-panel a.is-primary-mypage strong {
  color: color-mix(in srgb, var(--text) 78%, var(--road));
}

.mypage-menu-panel a.is-primary-mypage:hover,
.mypage-menu-panel a.is-primary-mypage:focus-visible {
  background: color-mix(in srgb, var(--road) 13%, var(--panel));
}

.mypage-section-group-heading {
  display: grid;
  justify-items: center;
  gap: 3px;
  width: min(var(--mypage-form-width), 100%);
  margin: 8px auto -4px;
  padding: 10px 12px 8px;
  border-bottom: 1px solid color-mix(in srgb, var(--road) 24%, var(--line));
  text-align: center;
}

.mypage-section-group-heading span {
  color: var(--road);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.mypage-section-group-heading strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
}

.mypage-creator-group > .mypage-share-group-heading {
  order: 90;
}

.mypage-creator-group > .milestone-share-panel {
  order: 91;
}

.mypage-creator-group > .featured-youtube-section {
  order: 92;
}

.mypage-divider-heading {
  display: grid;
  justify-items: center;
  width: min(var(--mypage-form-width), 100%);
  margin-inline: auto;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.mypage-divider-heading .kicker {
  margin: 0;
}

.mypage-favorites-section {
  display: grid;
  gap: 26px;
}

.mypage-favorite-block {
  display: grid;
  gap: 14px;
}

.mypage-favorite-block h3 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.mypage-favorite-block > .heading-with-help {
  justify-content: center;
}

.mypage-favorite-block > .rate-help-popover {
  margin-inline: auto;
}

.mypage-favorite-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
  justify-content: center;
  width: 100%;
}

.mypage-favorite-video-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
  justify-content: center;
  width: 100%;
}

.channel-submission-card {
  display: grid;
  gap: 18px;
}

.channel-submission-card > .rate-help-popover {
  margin-inline: auto;
}

.channel-submission-card > .compare-plan-lock {
  justify-self: center;
  margin-inline: auto;
}

.channel-submission-note {
  width: min(var(--mypage-form-width), 100%);
  margin: 0 auto;
  padding: 12px 14px;
  color: var(--muted);
  background: color-mix(in srgb, var(--panel) 88%, var(--accent) 12%);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.8;
  text-align: left;
}

.submission-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  color: var(--road);
  background: color-mix(in srgb, var(--road) 9%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--road) 22%, var(--line));
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.submission-status-badge.is-pending {
  color: #7a5512;
  background: #fff8e7;
  border-color: #e5c879;
}

.submission-status-badge.is-verified {
  color: #0f6b4d;
  background: #e9fbf2;
  border-color: #9fd8bf;
}

.submission-tracking-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  color: var(--road);
  background: #f7f9fc;
  border: 1px solid color-mix(in srgb, var(--road) 16%, var(--line));
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.submission-tracking-badge.is-expiring {
  color: #7a5512;
  background: #fff8e7;
  border-color: #e5c879;
}

.submission-tracking-badge.is-expired,
.submission-tracking-badge.is-paused {
  color: #8a2d2d;
  background: #fff1f1;
  border-color: #e0a5a5;
}

.channel-submission-form {
  display: grid;
  gap: 14px;
  width: min(var(--mypage-form-width), 100%);
  margin-inline: auto;
  padding-top: 30px;
}

.channel-submission-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}

.channel-submission-form input {
  width: 100%;
  min-width: 0;
}

.channel-submission-form .submit-button {
  justify-self: center;
  width: fit-content;
  min-width: 180px;
  margin-top: 16px;
}

.submitted-channel-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.submitted-channel-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(20, 17, 14, 0.05);
}

.submitted-channel-card > .favorite-creator-card {
  height: auto;
  row-gap: 5px;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.submitted-channel-card > .favorite-creator-card img,
.submitted-channel-card > .favorite-creator-card .favorite-creator-avatar {
  grid-row: 1 / span 5;
}

.submitted-channel-card > .favorite-creator-card strong,
.submitted-channel-card > .favorite-creator-card small {
  grid-column: 2;
}

.submitted-channel-card .submission-status-badge,
.submitted-channel-card .submission-tracking-badge {
  max-width: 100%;
}

.submitted-channel-card > .favorite-creator-card strong {
  margin-bottom: 2px;
}

.submitted-channel-card > .favorite-creator-card small {
  min-height: 23px;
  line-height: 1.35;
}

.creator-invite-box {
  display: grid;
  gap: 10px;
  padding: 10px 0 0;
  color: var(--muted);
  background: transparent;
  border-top: 1px solid var(--line);
  border-radius: 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.7;
}

.creator-invite-box p {
  margin: 0;
  text-align: left;
}

.creator-invite-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.creator-invite-actions .mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  color: var(--road);
  background: var(--panel);
  border-color: color-mix(in srgb, var(--road) 26%, var(--line));
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.creator-invite-actions .mini-button:first-child {
  grid-column: auto;
}

.creator-invite-actions .mini-button:hover,
.creator-invite-actions .mini-button:focus-visible {
  color: #fff;
  background: var(--road);
  border-color: var(--road);
}

.submitted-channel-folder-form {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.submitted-channel-folder-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: left;
}

.submitted-channel-folder-form button {
  justify-self: center;
  width: fit-content;
  min-width: 130px;
}

.submitted-channel-folder-note {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.invite-page {
  display: grid;
  justify-items: center;
}

.invite-panel {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(720px, 100%);
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.invite-panel h1,
.invite-panel p {
  margin: 0;
}

.invite-panel h1 {
  color: var(--text);
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.35;
}

.invite-panel p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.9;
}

.invite-channel-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: min(420px, 100%);
  padding: 12px;
  color: var(--text);
  background: color-mix(in srgb, var(--road) 4%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--road) 16%, var(--line));
  border-radius: 8px;
  text-align: left;
  text-decoration: none;
}

.invite-channel-card img,
.invite-channel-card .favorite-creator-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.invite-channel-card span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.invite-channel-card strong,
.invite-channel-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invite-channel-card strong {
  font-size: 16px;
  font-weight: 900;
}

.invite-channel-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.invite-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.viewer-recommend-card {
  display: grid;
  gap: 18px;
}

.viewer-preferences-card {
  display: grid;
  gap: 16px;
}

.viewer-recommend-visibility-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(560px, 100%);
  margin-inline: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 92%, var(--road));
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.viewer-recommend-toggle {
  display: inline-flex;
  gap: 5px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}

.viewer-recommend-toggle button {
  min-width: 72px;
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.viewer-recommend-toggle button.is-active {
  background: var(--road);
  color: var(--panel);
}

.media-kit-public-filter {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2px 8px;
  min-height: 46px;
  padding: 7px 12px;
  color: var(--brand-navy);
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
}

.media-kit-public-filter input {
  grid-row: 1 / span 2;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #16a34a;
}

.media-kit-public-filter small {
  display: block;
  color: #166534;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.media-kit-public-filter:has(input:checked) {
  background: #dcfce7;
  border-color: #22c55e;
  box-shadow: inset 0 0 0 1px #22c55e;
}

.viewer-recommend-block {
  display: grid;
  gap: 10px;
}

.viewer-recommend-title {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.viewer-recommend-block h3 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.viewer-selected-genres {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.viewer-selected-genres span {
  min-height: 28px;
  padding: 5px 11px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 9%, #fff);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
}

.viewer-recommend-grid,
.viewer-recommend-video-grid {
  width: 100%;
}

.favorite-creator-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.favorite-creator-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(20, 17, 14, 0.06);
}

.favorite-creator-card img,
.favorite-creator-avatar {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.favorite-creator-avatar {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--road);
  font-weight: 900;
}

.favorite-creator-card strong,
.favorite-creator-card small {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-creator-card strong {
  font-size: 13px;
  font-weight: 900;
}

.favorite-creator-card small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.favorite-manage-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-sizing: border-box;
  transition: opacity 160ms ease, transform 160ms ease;
}

.favorite-manage-card .favorite-creator-card,
.favorite-manage-card .featured-youtube-card {
  height: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.favorite-manage-card .favorite-creator-card {
  min-height: auto;
  padding: 0 58px 0 0;
}

.favorite-manage-card .featured-youtube-card {
  min-height: 124px;
  padding: 0;
}

.favorite-manage-card.is-removing {
  opacity: 0;
  transform: translateY(-4px);
}

.favorite-delete-form {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.favorite-delete-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  box-shadow: none;
}

.favorite-delete-form button:hover,
.favorite-delete-form button:focus-visible {
  color: #fff;
  background: var(--road);
  border-color: var(--road);
}

.mypage-role-group {
  display: grid;
  gap: 22px;
}

.mypage-role-heading {
  display: grid;
  gap: 6px;
  justify-items: center;
  width: min(var(--mypage-form-width), 100%);
  margin: 8px auto 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.mypage-role-heading h2,
.mypage-role-heading p {
  margin: 0;
}

.mypage-role-heading h2 {
  color: var(--text);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 900;
}

.mypage-role-heading > p {
  max-width: 680px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
}

.favorite-genres-card {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.favorite-genres-card .mypage-divider-heading {
  width: 100%;
}

.favorite-genre-save-button {
  justify-self: center;
  width: fit-content;
  min-width: 180px;
  background: var(--road);
  border-color: var(--road);
}

.favorite-genre-save-button:hover,
.favorite-genre-save-button:focus-visible {
  background: color-mix(in srgb, var(--road) 84%, var(--panel));
  border-color: color-mix(in srgb, var(--road) 84%, var(--panel));
}

.rival-channels-form-card {
  display: grid;
  gap: 14px;
}

.rival-channels-form {
  width: min(var(--mypage-form-width), 100%);
}

.youtube-channel-form-card,
.collab-open-card,
.discovery-card,
.rival-channels-form-card,
.social-links-form-card,
.watch-promotion-form-card {
  justify-items: center;
  text-align: center;
}

.youtube-channel-form-card .gallery-heading,
.collab-open-card .gallery-heading,
.discovery-card .gallery-heading,
.rival-channels-form-card .gallery-heading,
.social-links-form-card .gallery-heading,
.watch-promotion-form-card .gallery-heading {
  width: 100%;
}

.youtube-channel-form-card .form-note,
.collab-open-card .form-note,
.discovery-card .form-note,
.rival-channels-form-card .form-note,
.social-links-form-card .form-note,
.watch-promotion-form-card .form-note {
  max-width: 720px;
  margin-inline: auto;
}

.youtube-channel-form-card .preset-form,
.collab-open-card .preset-form,
.rival-channels-form-card .preset-form,
.social-links-form-card .preset-form,
.watch-promotion-form-card .preset-form {
  justify-items: center;
  margin-inline: auto;
}

.rival-channels-form-card .preset-form {
  width: min(var(--mypage-form-width), 100%);
}

.rival-channels-form,
.collab-open-form,
.social-links-form,
.watch-promotion-form {
  padding: 24px 18px 18px;
}

.favorite-genres-card,
.youtube-channel-form-card,
.collab-open-card,
.rival-channels-form-card,
.social-links-form-card,
.watch-promotion-form-card {
  gap: 22px;
}

.preset-form.favorite-genres-form,
.preset-form.youtube-channel-form,
.preset-form.collab-open-form,
.preset-form.rival-channels-form,
.preset-form.social-links-form,
.preset-form.watch-promotion-form {
  padding: 30px 18px 18px;
}

.media-kit-design-card {
  --kit-design-primary: var(--road);
  --kit-design-secondary: var(--accent);
  align-content: start;
}

.media-kit-design-form {
  display: grid;
  gap: 16px;
}

.media-kit-content-panel {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 14px 0 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.media-kit-content-heading {
  display: grid;
  gap: 4px;
}

.media-kit-content-heading span {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.media-kit-content-heading small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}

.media-kit-design-layout {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.media-kit-photo-field,
.media-kit-design-controls {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.media-kit-photo-field > span,
.media-kit-profile-field > span,
.media-kit-field-title > span,
.media-kit-template-options > legend {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.media-kit-photo-preview,
.media-kit-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
}

.media-kit-photo-preview {
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--road) 14%, var(--line));
}

.media-kit-photo-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  background: color-mix(in srgb, var(--road) 4%, var(--panel));
  border: 1px dashed color-mix(in srgb, var(--road) 20%, var(--line));
  font-size: 13px;
  font-weight: 900;
}

.media-kit-photo-field small,
.media-kit-profile-field small,
.media-kit-template-option small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.media-kit-profile-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
}

.media-kit-field-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.media-kit-profile-field textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.8;
}

.media-kit-analytics-fields {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.media-kit-analytics-performance {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.media-kit-analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.media-kit-analytics-grid label,
.media-kit-analytics-performance {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.media-kit-analytics-grid input,
.media-kit-analytics-performance textarea {
  width: 100%;
  min-width: 0;
}

.media-kit-analytics-performance textarea {
  resize: vertical;
  line-height: 1.7;
}

.media-kit-pdf-length-note {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.6;
}

.media-kit-char-counter {
  justify-self: end;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.4;
}

.media-kit-char-counter.is-short {
  color: #8a6a22;
}

.media-kit-char-counter.is-good {
  color: #237a4b;
}

.media-kit-char-counter.is-long {
  color: var(--accent-strong);
}

.media-kit-pdca-fields {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.media-kit-pdca-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  align-items: stretch;
}

.media-kit-pdca-grid label {
  display: grid;
  grid-template-columns: 18px minmax(0, auto) auto;
  justify-content: start;
  gap: 8px;
  align-items: center;
  min-width: 0;
  min-height: 38px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.media-kit-pdca-grid > .rate-help-popover {
  grid-column: 1 / -1;
  margin: -2px 0 4px 26px;
}

.media-kit-pdca-grid input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  accent-color: var(--kit-design-primary);
}

.media-kit-sns-toggle {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
  margin-top: 4px;
  padding: 18px 0 6px;
  background: transparent;
  border-radius: 0;
}

.media-kit-sns-toggle::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--line);
}

.media-kit-sns-toggle input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--kit-design-primary);
}

.media-kit-sns-toggle span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.media-kit-sns-toggle strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.media-kit-sns-toggle small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.media-kit-social-links-fields,
.media-kit-social-followers-fields {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px 0 6px;
  background: transparent;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.media-kit-social-links-grid,
.media-kit-social-followers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.media-kit-social-links-grid label,
.media-kit-social-followers-grid label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.media-kit-social-links-grid input,
.media-kit-social-followers-grid input {
  width: 100%;
  min-width: 0;
}

.media-kit-social-links-grid label.is-locked {
  color: var(--muted);
}

.media-kit-appearance-panel {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 22px 0 0;
  background: transparent;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.media-kit-appearance-heading {
  display: grid;
  gap: 4px;
}

.media-kit-appearance-heading span {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.media-kit-appearance-heading small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}

.media-kit-photo-delete-button {
  width: 100%;
  margin-top: -6px;
}

.media-kit-template-options {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 0;
  border: 0;
}

.media-kit-background-options {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 0;
  border: 0;
}

.media-kit-custom-background-field {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.media-kit-custom-background-field > span {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.media-kit-background-preview,
.media-kit-background-placeholder {
  width: min(100%, 320px);
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}

.media-kit-background-preview {
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--kit-design-primary) 14%, var(--line));
}

.media-kit-background-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  background: color-mix(in srgb, var(--kit-design-primary) 4%, var(--panel));
  border: 1px dashed color-mix(in srgb, var(--kit-design-primary) 20%, var(--line));
  font-size: 13px;
  font-weight: 900;
}

.media-kit-custom-background-field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.media-kit-background-options > legend {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.media-kit-template-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 86px;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.media-kit-background-option {
  display: grid;
  grid-template-columns: auto 76px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 10px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.media-kit-template-option:has(input:checked) {
  border-color: color-mix(in srgb, var(--kit-design-primary) 70%, var(--line));
  background: color-mix(in srgb, var(--kit-design-primary) 7%, var(--panel));
}

.media-kit-background-option:has(input:checked) {
  border-color: color-mix(in srgb, var(--kit-design-secondary) 64%, var(--line));
  background: color-mix(in srgb, var(--kit-design-secondary) 7%, var(--panel));
}

.media-kit-template-option > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.media-kit-background-option > span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.media-kit-background-option small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.media-kit-template-sample {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-rows: 12px 12px 10px;
  gap: 4px;
  width: 86px;
  min-height: 54px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.media-kit-template-sample i,
.media-kit-template-sample b,
.media-kit-template-sample em {
  display: block;
  min-width: 0;
}

.media-kit-template-sample i {
  grid-row: 1 / 4;
  border-radius: 50%;
  background: color-mix(in srgb, var(--kit-design-primary) 18%, var(--line));
}

.media-kit-template-sample b,
.media-kit-template-sample em {
  border-radius: 999px;
}

.media-kit-template-sample b {
  background: var(--kit-design-primary);
}

.media-kit-template-sample em {
  width: 70%;
  background: color-mix(in srgb, var(--kit-design-secondary) 64%, var(--panel));
}

.media-kit-template-sample.is-minimal {
  gap: 6px;
  padding: 9px;
  background: #ffffff;
}

.media-kit-template-sample.is-minimal i {
  border-radius: 4px;
  background: color-mix(in srgb, var(--kit-design-primary) 10%, #ffffff);
}

.media-kit-template-sample.is-minimal b {
  background: color-mix(in srgb, var(--kit-design-primary) 54%, #ffffff);
}

.media-kit-template-sample.is-minimal em {
  width: 45%;
  background: color-mix(in srgb, var(--kit-design-primary) 22%, #ffffff);
}

.media-kit-template-sample.is-fixed {
  grid-template-columns: 34px minmax(0, 1fr);
  background:
    linear-gradient(90deg, var(--kit-design-primary) 0 44%, #ffffff 44%);
  border-color: color-mix(in srgb, var(--kit-design-primary) 26%, var(--line));
}

.media-kit-template-sample.is-fixed i {
  border-radius: 4px;
  background: #ffffff;
}

.media-kit-template-sample.is-fixed b {
  background: #111111;
}

.media-kit-template-sample.is-fixed em {
  width: 58%;
  background: color-mix(in srgb, var(--kit-design-primary) 36%, #ffffff);
}

.media-kit-template-sample.is-business {
  border-left: 5px solid var(--kit-design-primary);
  background: color-mix(in srgb, var(--kit-design-primary) 5%, #ffffff);
}

.media-kit-template-sample.is-business i {
  background: var(--kit-design-primary);
}

.media-kit-template-sample.is-trust,
.media-kit-template-sample.is-pro {
  border-left: 5px solid var(--kit-design-primary);
  border-top: 0;
  border-radius: 2px;
  background: #ffffff;
}

.media-kit-template-sample.is-trust i,
.media-kit-template-sample.is-pro i {
  border-radius: 2px;
  background: #ffffff;
}

.media-kit-template-sample.is-trust b,
.media-kit-template-sample.is-pro b {
  background: var(--kit-design-primary);
}

.media-kit-template-sample.is-trust em,
.media-kit-template-sample.is-pro em {
  width: 64%;
  background: color-mix(in srgb, var(--kit-design-primary) 20%, #ffffff);
}

.media-kit-template-sample.is-elegant {
  border-top: 4px solid var(--kit-design-primary);
  border-radius: 2px;
  background: #ffffff;
}

.media-kit-template-sample.is-elegant i {
  border-radius: 0;
  background: #ffffff;
  border-bottom: 1px solid color-mix(in srgb, var(--kit-design-primary) 32%, var(--line));
}

.media-kit-template-sample.is-elegant b {
  background: color-mix(in srgb, var(--kit-design-primary) 38%, #ffffff);
}

.media-kit-template-sample.is-elegant em {
  width: 72%;
  background: color-mix(in srgb, var(--kit-design-primary) 16%, #ffffff);
}

.media-kit-template-sample.is-dark {
  background: #111827;
  border-color: #334155;
}

.media-kit-template-sample.is-dark i {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
}

.media-kit-template-sample.is-dark b {
  background: color-mix(in srgb, var(--kit-design-primary) 36%, #ffffff);
}

.media-kit-template-sample.is-dark em {
  width: 74%;
  background: rgba(255, 255, 255, 0.28);
}

.media-kit-template-sample.is-pop {
  transform: rotate(-1deg);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--kit-design-secondary) 22%, #ffffff), #ffffff 58%),
    #ffffff;
  border-color: color-mix(in srgb, var(--kit-design-secondary) 44%, var(--line));
}

.media-kit-template-sample.is-pop i {
  border-radius: 999px;
  background: color-mix(in srgb, var(--kit-design-secondary) 58%, #ffd95a);
}

.media-kit-template-sample.is-pop b {
  background: var(--kit-design-secondary);
}

.media-kit-template-sample.is-pop em {
  width: 88%;
  background: #ffd45a;
}

.media-kit-background-sample {
  display: block;
  width: 76px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  background-size: cover;
  background-position: center;
}

.media-kit-background-sample.is-soft-grid {
  background-image: url("assets/media-kit-bg-soft-grid.svg");
}

.media-kit-background-sample.is-data-wave {
  background-image: url("assets/media-kit-bg-data-wave.svg");
}

.media-kit-background-sample.is-pop-light {
  background-image: url("assets/media-kit-bg-pop-light.svg");
}

.media-kit-color-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.media-kit-color-grid label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.media-kit-color-grid input[type='color'] {
  width: 48px;
  height: 34px;
  padding: 0;
}

.media-kit-design-actions {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.media-kit-content-actions {
  padding-top: 12px;
  margin-bottom: 60px;
}

.media-kit-design-actions > .submit-button {
  justify-self: center;
  width: min(33.333%, 240px);
  min-width: 180px;
}

.media-kit-design-actions > .media-kit-view-link {
  display: inline-flex;
  justify-content: center;
  width: min(33.333%, 240px);
  min-width: 180px;
  font-size: 14px;
  text-decoration: none;
}

.media-kit-design-actions > .media-kit-view-link:hover,
.media-kit-design-actions > .media-kit-view-link:focus-visible {
  text-decoration: none;
}

.media-kit-photo-delete-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

.media-kit-photo-delete-form > .mini-button {
  width: min(33.333%, 240px);
  min-width: 180px;
}

.preset-form input,
.preset-form select,
.preset-form textarea {
  width: 100%;
  max-width: 100%;
}

.preset-form > .submit-button {
  justify-self: center;
  width: fit-content;
  max-width: 100%;
  min-width: 180px;
  padding-inline: 18px;
}

.youtube-channel-form-card label,
.collab-open-card label,
.rival-channels-form-card label,
.social-links-form-card label,
.watch-promotion-form-card label {
  width: 100%;
  text-align: center;
}

.youtube-channel-form-card input,
.collab-open-card input,
.rival-channels-form-card input,
.social-links-form-card input,
.watch-promotion-form-card input {
  text-align: left;
}

.collab-open-card {
  display: grid;
  gap: 14px;
}

.collab-open-form {
  width: min(var(--mypage-form-width), 100%);
}

.collab-open-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.collab-open-choice {
  justify-self: center;
  width: fit-content;
  min-width: 130px;
  min-height: 42px;
  padding: 0 22px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.collab-open-choice.is-selected,
.collab-open-choice.is-active,
.collab-open-choice[aria-pressed="true"] {
  color: #fff;
  background: var(--road);
  border-color: var(--road);
}

.collab-open-choice:hover,
.collab-open-choice:focus-visible {
  border-color: var(--road);
  outline: none;
}

.collab-open-choice:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--road) 22%, #fff);
  outline-offset: 2px;
}

.collab-open-badge,
.collab-open-text {
  color: var(--accent-strong);
}

.collab-match-panel {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.collab-match-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(var(--mypage-form-width), 100%);
}

.collab-match-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.collab-match-main {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: var(--text);
  text-align: left;
  text-decoration: none;
}

.collab-match-main img,
.collab-match-main .favorite-creator-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.collab-match-main > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.collab-match-main strong {
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collab-match-main small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.collab-match-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.collab-match-badges span {
  padding: 4px 9px;
  color: var(--accent-strong);
  background: color-mix(in srgb, #f5c542 10%, var(--panel));
  border: 1px solid color-mix(in srgb, #f5c542 34%, var(--line));
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.collab-match-conditions {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 10px 12px;
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 4%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--line));
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.65;
  text-align: left;
}

.collab-match-conditions strong {
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 900;
}

.creator-channel-meta .collab-open-badge {
  background: color-mix(in srgb, #f5c542 13%, var(--panel));
  border-color: color-mix(in srgb, #f5c542 38%, var(--line));
}

.creator-collab-conditions,
.collab-card-conditions {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 10px 12px;
  color: var(--text);
  background: color-mix(in srgb, #f5c542 8%, var(--panel));
  border: 1px solid color-mix(in srgb, #f5c542 34%, var(--line));
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.7;
  text-align: left;
}

.creator-collab-conditions strong {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
}

.creator-collab-conditions p {
  margin: 0;
}

.rival-channel-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rival-channel-inputs {
  display: grid;
  gap: 10px;
  width: 100%;
}

.rival-channel-row-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  width: 100%;
  margin: 0;
}

.rival-channel-row-form:has(.rival-channel-saved-card) {
  grid-template-columns: 1fr;
}

.rival-channel-saved-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  width: 100%;
  padding: 10px;
  background: color-mix(in srgb, var(--road) 4%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--road) 14%, var(--line));
  border-radius: 8px;
}

.rival-compare-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.9fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  min-width: 0;
}

.rival-compare-side {
  display: grid;
  gap: 6px;
  justify-items: center;
  min-width: 0;
  padding: 12px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
}

.rival-compare-side p,
.rival-compare-side strong,
.rival-compare-side small,
.rival-compare-side em {
  margin: 0;
  max-width: 100%;
}

.rival-compare-side p {
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.rival-compare-side img,
.rival-compare-side .favorite-creator-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.rival-compare-side strong {
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rival-compare-side small,
.rival-compare-side em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.rival-compare-side-link:hover,
.rival-compare-side-link:focus-visible {
  border-color: var(--muted);
  background: color-mix(in srgb, var(--text) 3%, var(--panel));
}

.rival-sparkline {
  width: 100%;
  max-width: 180px;
  height: 52px;
  padding: 4px;
  background: color-mix(in srgb, var(--road) 3%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--road) 12%, var(--line));
  border-radius: 8px;
}

.rival-sparkline polyline {
  fill: none;
  stroke: var(--accent-strong);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.rival-compare-center {
  display: grid;
  gap: 10px;
  align-content: center;
  min-width: 0;
  padding: 12px;
  background: color-mix(in srgb, var(--text) 3%, var(--panel));
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.rival-compare-center > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.rival-compare-center > strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
}

.rival-subscriber-bars {
  display: grid;
  gap: 8px;
}

.rival-subscriber-bars div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.rival-subscriber-bars small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-align: right;
}

.rival-subscriber-bars span {
  display: block;
  height: 10px;
  overflow: hidden;
  background: color-mix(in srgb, var(--road) 8%, var(--bg));
  border-radius: 999px;
}

.rival-subscriber-bars i {
  display: block;
  height: 100%;
  background: var(--road);
  border-radius: inherit;
}

.rival-channel-compare-mini {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.rival-channel-compare-mini span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.rival-channel-saved-link {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: var(--text);
  text-align: left;
  text-decoration: none;
}

.rival-channel-saved-link img,
.rival-channel-saved-link .favorite-creator-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.rival-channel-saved-link span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.rival-channel-saved-link strong,
.rival-channel-saved-link small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rival-channel-saved-link strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.rival-channel-saved-link small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.rival-channel-row-actions {
  display: inline-flex;
  gap: 8px;
  justify-content: flex-end;
  min-width: 72px;
}

.rival-channel-row-form input[readonly] {
  color: var(--muted);
  background: color-mix(in srgb, var(--road) 3%, var(--panel));
}

.rival-channel-inline-error {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.rival-channel-inline-notice {
  width: min(var(--mypage-form-width), 100%);
  margin: 0 auto;
  padding: 9px 12px;
  color: var(--muted);
  background: color-mix(in srgb, var(--road) 4%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--road) 14%, var(--line));
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.rival-channel-inline-notice.error {
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 7%, var(--panel));
  border-color: color-mix(in srgb, var(--accent) 22%, var(--line));
}

.rival-row-save-button,
.rival-row-delete-button {
  min-width: 64px;
  color: var(--text);
  background: var(--panel);
  border-color: var(--line);
}

.rival-row-save-button:hover,
.rival-row-save-button:focus-visible,
.rival-row-delete-button:hover,
.rival-row-delete-button:focus-visible {
  color: #fff;
  background: var(--road);
  border-color: var(--road);
}

.compare-plan-lock {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  min-height: 38px;
  padding: 0 14px;
  color: var(--muted);
  background: color-mix(in srgb, var(--road) 4%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--road) 14%, var(--line));
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}

.compare-plan-lock strong {
  min-width: 0;
}

.compare-plan-lock .lock-icon {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--accent-strong);
  font-size: 13px;
  line-height: 1;
}

.compact-plan-lock {
  min-height: 30px;
  margin-top: 8px;
  padding: 0 10px;
  border-radius: 6px;
}

.compact-plan-lock .lock-icon {
  width: 16px;
  height: 16px;
  font-size: 11px;
}

.mylist-plan-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  justify-content: stretch;
  width: min(620px, 100%);
  min-height: auto;
  margin: 6px auto 4px;
  padding: 10px 12px;
  gap: 12px;
  text-align: left;
}

.mylist-plan-summary strong {
  display: grid;
  gap: 2px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.45;
}

.mylist-plan-summary strong span {
  overflow-wrap: anywhere;
}

.mylist-plan-summary .lock-icon {
  width: 18px;
  height: 18px;
  font-size: 12px;
}

.mylist-upgrade-button {
  white-space: nowrap;
}

.company-workspace-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.company-workspace-card > .form-note {
  text-align: center;
}

.company-workspace-form h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 16px;
}

.company-workspace-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px) auto auto;
  gap: 14px;
  align-items: end;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--road);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 86%, #fff);
}

.company-workspace-status strong,
.company-workspace-status small {
  display: block;
}

.company-workspace-status small {
  margin-top: 4px;
  color: var(--muted);
}

.company-workspace-status label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.company-workspace-status input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--road);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
}

.company-invite-refresh-form {
  margin: 0;
}

.company-workspace-notice {
  grid-column: 1 / -1;
  margin: 0;
  padding: 9px 11px;
  color: var(--brand-navy);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.6;
  text-align: center;
}

.company-workspace-notice.error {
  color: #9f1239;
  background: #fff1f2;
  border-color: #fecdd3;
}

.company-workspace-notice[hidden] {
  display: none;
}

.company-member-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.company-member-list h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  text-align: center;
}

.company-member-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.company-member-card {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.company-member-card strong,
.company-member-card span,
.company-member-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-member-card strong {
  color: var(--ink);
  font-size: 13px;
}

.company-member-card span,
.company-member-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.favorite-folder-locked-share-button {
  color: var(--road);
  background: color-mix(in srgb, var(--accent) 14%, var(--panel));
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
}

.favorite-folder-locked-share-button:hover,
.favorite-folder-locked-share-button:focus-visible {
  color: var(--road);
  background: color-mix(in srgb, var(--accent) 22%, var(--panel));
  border-color: color-mix(in srgb, var(--accent) 48%, var(--line));
}

.compare-plan-lock.is-paid-plan {
  color: #4d3a0a;
  background: linear-gradient(180deg, #fffaf0, #fff4d6);
  border-color: #dec27a;
}

.rival-guide-note {
  width: min(var(--mypage-form-width), 100%);
  margin-inline: auto;
  padding: 12px 14px;
  color: var(--text);
  background: color-mix(in srgb, var(--panel) 88%, var(--bg));
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
}

.posting-intent-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 8px;
  min-width: 0;
  margin: 0;
  padding: 16px 12px 12px;
  background: color-mix(in srgb, var(--road) 4%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--road) 14%, var(--line));
  border-radius: 8px;
}

.youtube-posting-details {
  display: grid;
  gap: 10px;
}

.youtube-posting-details[hidden] {
  display: none;
}

.youtube-posting-details .form-note {
  margin: 0;
}

.posting-intent-options[hidden] {
  display: none;
}

.posting-intent-options legend {
  float: left;
  grid-column: 1 / -1;
  width: 100%;
  margin: 0 0 10px;
  padding-inline: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.posting-intent-options label {
  position: relative;
  display: flex;
  min-height: 38px;
  cursor: pointer;
}

.posting-intent-options input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.posting-intent-options span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  padding: 0 13px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.posting-intent-options input:checked + span {
  color: #fff;
  background: var(--road);
  border-color: var(--road);
}

.posting-intent-options input:focus-visible + span {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, #fff);
  outline-offset: 2px;
}

.discovery-card {
  display: grid;
  gap: 14px;
}

.paid-discovery-guide {
  display: grid;
  gap: 8px;
  justify-items: center;
  width: min(var(--mypage-form-width), 100%);
  margin-inline: auto;
  padding: 14px 16px;
  color: #4d3a0a;
  background: linear-gradient(180deg, #fffaf0, #fff4d6);
  border: 1px solid #dec27a;
  border-radius: 8px;
  text-align: center;
}

.paid-discovery-guide strong,
.paid-discovery-guide p {
  margin: 0;
}

.paid-discovery-guide strong {
  font-size: 14px;
  font-weight: 900;
}

.paid-discovery-guide p {
  color: #6f5a25;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.7;
}

.is-locked-preview {
  opacity: 0.9;
}

.feature-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-preview-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 8%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.creator-alert-panel,
.genre-rank-panel {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.creator-alert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.creator-alert-card {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 13px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.creator-alert-card strong,
.creator-alert-card p {
  margin: 0;
}

.creator-alert-card strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.creator-alert-card p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.65;
}

.creator-alert-card.is-good {
  background: color-mix(in srgb, #f5c542 10%, var(--panel));
  border-color: color-mix(in srgb, #f5c542 34%, var(--line));
}

.creator-alert-card.is-hot {
  background: color-mix(in srgb, var(--accent) 9%, var(--panel));
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
}

.creator-alert-card.is-locked {
  background: color-mix(in srgb, var(--road) 4%, var(--panel));
  border-style: dashed;
}

.creator-alert-sparkline {
  display: grid;
  gap: 6px;
  margin-top: 2px;
  padding-top: 9px;
  border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  color: var(--muted);
}

.creator-alert-sparkline svg {
  width: 100%;
  height: 42px;
  overflow: visible;
}

.creator-alert-sparkline polyline {
  fill: none;
  stroke: currentColor;
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.creator-alert-sparkline span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
}

.creator-alert-card.is-good .creator-alert-sparkline {
  color: #b7791f;
}

.creator-alert-card.is-hot .creator-alert-sparkline {
  color: var(--accent);
}

.creator-alert-meter {
  width: 100%;
  height: 8px;
  margin-top: 6px;
  overflow: hidden;
  background: color-mix(in srgb, var(--line) 58%, transparent);
  border-radius: 999px;
}

.creator-alert-meter span {
  display: block;
  height: 100%;
  background: #b7791f;
  border-radius: inherit;
}

.creator-alert-meter.is-rank span {
  background: var(--accent);
}

.creator-alert-mini-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
}

.creator-alert-compare {
  display: grid;
  gap: 7px;
  margin-top: 4px;
  padding-top: 9px;
  border-top: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
}

.creator-alert-compare span {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.creator-alert-compare em {
  font-style: normal;
  text-align: right;
}

.creator-alert-compare b {
  display: block;
  height: 7px;
  background: color-mix(in srgb, var(--accent) 72%, #ffffff);
  border-radius: 999px;
}

.creator-alert-compare strong {
  color: var(--text);
  font-size: 11px;
  text-align: left;
}

.genre-rank-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.genre-rank-stats span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.genre-rank-stats small,
.genre-rank-stats strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.genre-rank-stats small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.genre-rank-stats strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
}

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

.discovery-section {
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
  align-items: start;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(20, 17, 14, 0.06);
}

.discovery-section h3,
.discovery-section-note {
  margin: 0;
}

.discovery-section h3 {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
}

.discovery-section-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.discovery-channel-list {
  display: grid;
  align-content: start;
  align-items: start;
  gap: 8px;
}

.discovery-empty-note {
  display: grid;
  min-height: 78px;
  place-items: center;
  padding: 12px;
  color: var(--muted);
  background: color-mix(in srgb, var(--road) 3%, var(--panel));
  border: 1px dashed color-mix(in srgb, var(--road) 18%, var(--line));
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
}

.discovery-channel-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 5%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--accent) 15%, var(--line));
  border-radius: 8px;
  text-decoration: none;
}

.discovery-channel-card img,
.discovery-channel-card .favorite-creator-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.discovery-channel-card > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.discovery-channel-card strong {
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discovery-channel-card small,
.discovery-channel-card em {
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.discovery-channel-card em {
  color: var(--accent-strong);
}

.preset-form.favorite-genres-form {
  justify-items: center;
  width: min(var(--mypage-form-width), 100%);
  gap: 18px;
  padding: 30px 18px 18px;
}

.favorite-genre-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 8px;
  padding-top: 0;
}

.favorite-genre-options label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  cursor: pointer;
}

.favorite-genre-options input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.favorite-genre-options span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.favorite-genre-options input:checked + span {
  color: #fff;
  background: var(--road);
  border-color: var(--road);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 18%, transparent);
}

.favorite-genre-options input:focus-visible + span {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, #fff);
  outline-offset: 2px;
}

.favorite-folders-card {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.favorite-folder-create-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: min(var(--mypage-form-width), 100%);
  justify-items: center;
}

.mylist-create-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  max-width: 100%;
  padding: 4px;
  background: #f1f5f9;
  border-radius: 8px;
}

.mylist-create-tabs button {
  width: 100%;
  min-height: 40px;
  padding: 0 8px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
}

.mylist-create-tabs button.is-active {
  color: #fff;
  background: var(--road);
}

.preset-form.favorite-folder-create-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  width: 100%;
  min-width: 0;
  padding: 22px 18px 18px;
  background: color-mix(in srgb, var(--panel) 92%, var(--road));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.preset-form.favorite-folder-create-channel-form {
  background: color-mix(in srgb, var(--panel) 92%, var(--accent));
}

.preset-form.favorite-folder-create-form .manual-video-heading {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.favorite-folder-create-form input,
.favorite-folder-create-form select {
  width: 100%;
}

.favorite-folder-create-button {
  width: fit-content;
  min-width: 88px;
  background: var(--road);
  border-color: var(--road);
}

.favorite-folder-create-channel-form .favorite-folder-create-button {
  color: var(--road);
  background: color-mix(in srgb, var(--accent) 16%, var(--panel));
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
}

.manual-video-card {
  display: grid;
  gap: 12px;
  justify-items: center;
  width: min(var(--mypage-form-width), 100%);
  padding: 14px;
  background: color-mix(in srgb, var(--panel) 88%, var(--road));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.manual-channel-card {
  background: color-mix(in srgb, var(--panel) 92%, var(--accent));
}

.manual-video-heading {
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
}

.manual-video-heading h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
}

.manual-video-form {
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 0.45fr) auto;
  align-items: end;
  width: min(var(--mypage-form-width), 100%);
  margin-inline: auto;
}

.manual-video-form input,
.manual-video-form select {
  width: 100%;
}

.folder-select-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.folder-select-label img {
  width: 18px;
  height: 16px;
  flex: 0 0 auto;
  object-fit: contain;
}

.manual-video-submit {
  width: fit-content;
  min-width: 96px;
  background: var(--road);
  border-color: var(--road);
}

.favorite-folder-grid {
  display: grid;
  gap: 12px;
  width: min(var(--mypage-form-width), 100%);
}

.mylist-type-group {
  display: grid;
  gap: 10px;
  width: min(var(--mypage-form-width), 100%);
}

.mylist-tabs {
  display: inline-flex;
  gap: 6px;
  max-width: 100%;
  padding: 5px;
  background: color-mix(in srgb, var(--road) 5%, var(--panel));
  border: 1px solid var(--line);
  border-radius: 999px;
}

.mylist-tabs button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 15px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.mylist-tabs button.is-active {
  color: var(--panel);
  background: var(--road);
}

.mylist-tabs button[data-mylist-tab="channel"] {
  color: color-mix(in srgb, var(--accent) 70%, var(--road));
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.mylist-tabs button[data-mylist-tab="channel"].is-active {
  color: var(--road);
  background: color-mix(in srgb, var(--accent) 20%, var(--panel));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 42%, var(--line));
}

.mylist-create-tabs button[data-mylist-create-tab="channel"].is-active {
  color: #fff;
  background: color-mix(in srgb, var(--accent) 74%, var(--road));
  box-shadow: none;
}

.mylist-tabs.mylist-create-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  border: 0;
  border-radius: 8px;
}

.mylist-tabs.mylist-create-tabs button {
  width: 100%;
  min-height: 40px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.3;
}

.mylist-tabs span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  color: inherit;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 11px;
}

.featured-recommendation-row {
  display: grid;
  gap: 12px;
}

.featured-recommendation-lead {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
  text-align: center;
}

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

.featured-recommendation-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mypage-featured-recommendation-row {
  width: 100%;
}

.mypage-featured-recommendation-row .platform-row-heading {
  justify-content: center;
  text-align: center;
}

.mypage-featured-recommendation-row .featured-recommendation-grid {
  width: 100%;
}

.featured-recommendation-creator {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.featured-recommendation-creator img {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.featured-recommendation-creator span,
.featured-recommendation-videos span {
  min-width: 0;
}

.featured-recommendation-creator strong,
.featured-recommendation-creator small,
.featured-recommendation-videos span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-recommendation-creator strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.featured-recommendation-creator .subscriber-class-badge {
  margin-top: 5px;
}

.featured-subscriber-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 22px;
  margin-top: 5px;
  padding: 0 8px;
  color: #6b4b00;
  background: #fff4cf;
  border: 1px solid #e2bf65;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.featured-recommendation-creator small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.featured-recommendation-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.featured-recommendation-videos a {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
}

.featured-recommendation-video-item .top-favorite-button,
.watch-promotion-item .top-favorite-button {
  top: 6px;
  right: 6px;
}

.featured-recommendation-videos img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--road);
  border-radius: 8px;
}

.mylist-type-group + .mylist-type-group {
  margin-top: 8px;
}

.mylist-type-group h3 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}

.favorite-folder-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
}

.favorite-folder-head {
  display: grid;
  gap: 10px;
  align-items: stretch;
  justify-content: stretch;
  min-width: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.favorite-folder-main {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.favorite-folder-title {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.favorite-folder-actions {
  display: grid;
  flex: 1 1 360px;
  gap: 6px;
  align-items: center;
  justify-items: end;
  min-width: 0;
  margin-left: auto;
}

.favorite-folder-share-url {
  width: min(100%, 360px);
  min-width: 0;
  text-align: right;
}

.favorite-folder-share-url a {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-folder-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
}

.favorite-folder-action-buttons > form {
  display: inline-flex;
}

.favorite-folder-action-buttons .mini-button {
  width: auto;
  min-width: 0;
  min-height: 30px;
  padding-inline: 10px;
  white-space: nowrap;
}

.favorite-folder-action-buttons .mini-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.favorite-folder-move-button {
  display: inline-grid;
  place-items: center;
  width: 32px;
  min-width: 32px;
  padding-inline: 0;
  color: var(--brand-navy);
  background: color-mix(in srgb, var(--panel) 86%, var(--road));
  border-color: color-mix(in srgb, var(--road) 24%, var(--line));
  font-size: 16px;
  line-height: 1;
}

.favorite-folder-edit-button {
  flex: 0 0 auto;
  min-height: 30px;
  padding-inline: 10px;
  white-space: nowrap;
}

.favorite-folder-rename-form {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto auto;
  align-items: center;
  gap: 6px;
  flex: 1 1 100%;
  min-width: 0;
}

.favorite-folder-rename-form input {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.favorite-folder-rename-form .mini-button {
  min-height: 34px;
  padding-inline: 10px;
  white-space: nowrap;
}

.favorite-folder-head strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 900;
}

.favorite-folder-name {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.favorite-folder-name img {
  width: 24px;
  height: 22px;
  flex: 0 0 auto;
  object-fit: contain;
}

.favorite-folder-head small,
.favorite-folder-share a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.favorite-folder-share {
  display: inline-flex;
  flex: 1 1 280px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.favorite-folder-share a {
  flex: 0 1 220px;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
}

.favorite-folder-share .mini-button {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  max-width: none;
  padding-inline: 9px;
  white-space: nowrap;
}

.favorite-folder-copy-button {
  max-width: 64px;
}

.favorite-folder-items {
  display: grid;
  gap: 8px;
}

.favorite-folder-group {
  display: grid;
  gap: 8px;
}

.favorite-folder-group + .favorite-folder-group {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.favorite-folder-group h4 {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.favorite-folder-items-accordion {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.favorite-folder-items-accordion summary {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 0 12px;
  color: var(--brand-navy);
  background: color-mix(in srgb, var(--panel) 92%, var(--road));
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.favorite-folder-items-accordion summary::-webkit-details-marker {
  display: none;
}

.favorite-folder-items-accordion summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--brand-navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
}

.favorite-folder-items-accordion[open] summary::after {
  content: "-";
}

.favorite-folder-items-accordion summary small {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.favorite-folder-item,
.favorite-folder-item a {
  min-width: 0;
}

.favorite-folder-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  padding: 8px 0;
}

.favorite-folder-item a {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: var(--text);
  text-align: left;
  text-decoration: none;
}

.favorite-folder-item img {
  width: 72px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.favorite-folder-item span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.favorite-folder-item strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-folder-item small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.candidate-crm-details {
  grid-column: 1 / -1;
  grid-row: 2;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.candidate-crm-details summary {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  padding: 0;
  color: var(--brand-navy);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.candidate-crm-details summary::-webkit-details-marker {
  display: none;
}

.candidate-crm-details summary::after {
  content: "∨";
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 0;
  color: var(--brand-navy);
  font-size: 12px;
  line-height: 1;
}

.candidate-crm-details[open] summary {
  margin-bottom: 8px;
  border-bottom: 0;
}

.candidate-crm-details[open] summary::after {
  content: "∧";
}

.candidate-crm-summary-status {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.candidate-crm-form {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.favorite-folder-item > form:not(.candidate-crm-form) {
  grid-column: 2;
  grid-row: 1;
}

.candidate-crm-form label {
  display: grid;
  gap: 4px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.candidate-crm-form select,
.candidate-crm-form textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-size: 12px;
}

.candidate-crm-form select {
  min-height: 34px;
  padding: 0 9px;
}

.candidate-crm-form textarea {
  min-height: 58px;
  padding: 8px 9px;
  resize: vertical;
}

.candidate-crm-form .mini-button {
  color: #fff;
  background: var(--brand-navy);
  border-color: var(--brand-navy);
}

.candidate-crm-form .mini-button:hover,
.candidate-crm-form .mini-button:focus-visible {
  color: #fff;
  background: var(--brand-navy-hover);
  border-color: var(--brand-navy-hover);
}

.candidate-crm-notice {
  margin: 0 10px 10px;
  padding: 8px 10px;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  background: #eff6ff;
  color: var(--brand-navy);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}

.candidate-crm-notice[hidden] {
  display: none;
}

.candidate-crm-lock {
  display: grid;
  gap: 7px;
  max-width: 620px;
  padding: 10px;
  color: #4d3a0a;
  background: #fffaf0;
  border: 1px solid #ead8ad;
  border-radius: 6px;
}

.candidate-crm-lock strong,
.candidate-crm-lock p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.candidate-crm-lock p {
  color: #6f5a25;
  font-weight: 800;
}

.candidate-crm-lock .paid-lock-inline-button {
  justify-self: start;
}

.candidate-crm-notice.error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.candidate-status-line {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.candidate-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.candidate-status-badge.is-progress {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.candidate-status-badge.is-attention {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #c2410c;
}

.candidate-status-badge.is-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
}

.candidate-status-badge.is-done {
  border-color: #e5e7eb;
  background: #f9fafb;
  color: #6b7280;
}

.candidate-followup-alert {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 10px;
  font-weight: 900;
}

.candidate-status-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding-bottom: 4px;
}

.candidate-status-filter button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.candidate-status-filter button.is-active {
  border-color: var(--road);
  background: var(--road);
  color: #fff;
}

.candidate-status-filter button:hover,
.candidate-status-filter button:focus {
  border-color: var(--brand-navy);
  background: #eef3ff;
  color: var(--brand-navy);
}

.candidate-status-filter button.is-active:hover,
.candidate-status-filter button.is-active:focus {
  border-color: var(--brand-navy-hover);
  background: var(--brand-navy-hover);
  color: #fff;
}

.favorite-folder-add-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  width: 100%;
}

.favorite-folder-add-form select,
.favorite-folder-add-form button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.favorite-folder-add-form select {
  min-width: 0;
  padding: 0 8px;
  color: var(--text);
  background: #fff;
}

.favorite-folder-add-form button {
  padding: 0 14px;
  color: var(--text);
  background: var(--panel);
  cursor: pointer;
  white-space: nowrap;
}

.playlist-page {
  display: grid;
  gap: 18px;
  width: min(100% - 32px, 1040px);
  margin: 28px auto 48px;
}

.playlist-page > .verify-card {
  justify-self: center;
  margin-inline: auto;
}

.playlist-hero {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 26px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.playlist-hero h1,
.playlist-hero p {
  margin: 0;
}

.playlist-hero h1 {
  color: var(--text);
  font-size: 20px;
  line-height: 1.2;
}

.playlist-hero p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.playlist-items-section {
  margin: 0;
}

.collab-page {
  display: grid;
  gap: 18px;
  width: min(100% - 32px, 1120px);
  margin: 28px auto 52px;
}

.collab-hero,
.collab-join-card {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 10px 0 24px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.collab-hero h1,
.collab-hero p,
.collab-join-card h2,
.collab-join-card p {
  margin: 0;
}

.collab-hero h1 {
  color: var(--text);
  font-size: clamp(26px, 5vw, 42px);
  line-height: 1.2;
}

.collab-hero p,
.collab-join-card p {
  max-width: 720px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.8;
}

.collab-filter-card,
.collab-list-section {
  display: grid;
  gap: 16px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}

.collab-list-section {
  padding-top: 12px;
}

.collab-filter-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 240px)) auto auto;
  gap: 10px;
  align-items: end;
  justify-content: center;
  width: min(100%, 760px);
  margin-inline: auto;
}

.collab-list-section > .platform-row-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  text-align: center;
}

.collab-list-section > .platform-row-heading h2 {
  grid-column: 2;
  margin: 0;
}

.collab-list-section > .platform-row-heading span {
  grid-column: 3;
  justify-self: start;
}

.collab-hero-note,
.collab-join-note {
  width: min(720px, 100%);
  padding: 12px 14px;
  color: var(--text);
  background: color-mix(in srgb, var(--panel) 88%, var(--bg));
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
}

.collab-list-section .empty-state {
  display: grid;
  justify-items: center;
  text-align: center;
}

.collab-list-section .empty-state h2,
.collab-list-section .empty-state p {
  margin-inline: auto;
}

.collab-filter-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.collab-filter-form select {
  min-height: 40px;
  min-width: 0;
  padding: 0 12px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.collab-filter-form .submit-button,
.collab-filter-form .ghost-button {
  min-height: 40px;
  width: fit-content;
  min-width: 110px;
}

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

.collab-channel-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.collab-channel-card > a {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.collab-channel-card img,
.collab-channel-card .favorite-creator-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.collab-channel-card > a > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.collab-channel-card strong {
  overflow: hidden;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collab-channel-card em,
.collab-channel-card small {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.collab-card-tags,
.collab-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
}

.collab-card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 7%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.collab-card-actions .creator-channel-link {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.x-share-link {
  color: #fff;
  background: var(--road);
  border-color: var(--road);
}

.x-share-link:hover,
.x-share-link:focus-visible {
  color: #fff;
  background: color-mix(in srgb, var(--road) 88%, var(--panel));
  border-color: color-mix(in srgb, var(--road) 88%, var(--panel));
}

.featured-youtube-section {
  display: grid;
  gap: 14px;
}

.featured-youtube-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.featured-youtube-item {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.featured-youtube-item.is-hidden-video .featured-youtube-card {
  opacity: 0.45;
}

.featured-youtube-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  color: #fff;
  background: var(--road);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.featured-youtube-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.featured-youtube-card:hover img,
.featured-youtube-card:focus-visible img {
  transform: scale(1.03);
}

.featured-youtube-card span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 34px 12px 12px;
  overflow: hidden;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent);
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-youtube-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.featured-youtube-controls form {
  margin: 0;
}

.mini-button {
  width: 100%;
  min-height: 34px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.mini-button:hover:not(:disabled),
.mini-button:focus-visible:not(:disabled) {
  border-color: color-mix(in srgb, var(--road) 34%, var(--line));
  color: var(--road);
}

.creator-invite-actions .mini-button:hover:not(:disabled),
.creator-invite-actions .mini-button:focus-visible:not(:disabled) {
  color: #fff;
  background: var(--road);
  border-color: var(--road);
}

.candidate-crm-form .mini-button:hover:not(:disabled),
.candidate-crm-form .mini-button:focus-visible:not(:disabled) {
  color: #fff;
  background: var(--brand-navy-hover);
  border-color: var(--brand-navy-hover);
}

.mini-button:disabled {
  color: var(--muted);
  background: color-mix(in srgb, var(--panel) 84%, var(--bg));
  cursor: default;
}

.mini-button.danger {
  color: #b91c1c;
}

.featured-youtube-form {
  width: min(var(--mypage-form-width), 100%);
  margin-inline: auto;
  padding: 30px 18px 18px;
}

.featured-youtube-inline-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.featured-youtube-form .featured-youtube-inputs {
  min-width: 0;
}

.featured-youtube-form .submit-button {
  align-self: end;
  justify-self: start;
  width: auto;
  min-width: 86px;
  padding-inline: 18px;
}

.featured-youtube-form .form-note {
  width: 100%;
  margin: 0;
  text-align: center;
}

.pr-youtube-section {
  justify-items: center;
  text-align: center;
}

.pr-youtube-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 520px);
  margin-inline: auto;
}

.pr-youtube-form {
  width: min(var(--mypage-form-width), 100%);
}

.pr-youtube-rows {
  display: grid;
  width: min(var(--mypage-form-width), 100%);
  gap: 18px;
  margin: 10px auto 0;
}

.pr-youtube-remaining-note {
  width: min(var(--mypage-form-width), 100%);
  margin: 12px auto 0;
  text-align: center;
}

.pr-youtube-row-form {
  display: grid;
  gap: 10px;
}

.pr-youtube-row-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.pr-youtube-detail-inputs {
  display: grid;
  grid-template-columns: 150px minmax(140px, 180px) minmax(0, 1fr);
  gap: 10px;
}

.pr-youtube-detail-inputs label {
  min-width: 0;
}

.pr-youtube-detail-inputs select,
.pr-youtube-detail-inputs input {
  width: 100%;
}

.pr-youtube-register-button,
.pr-youtube-delete-button {
  min-width: 86px;
  min-height: 42px;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.pr-youtube-register-button:hover,
.pr-youtube-register-button:focus-visible,
.pr-youtube-delete-button:hover,
.pr-youtube-delete-button:focus-visible {
  color: #fff;
  background: var(--brand-navy-hover);
  border-color: var(--brand-navy-hover);
  box-shadow: none;
}

.pr-youtube-saved-row {
  display: grid;
  grid-template-columns: auto minmax(180px, 260px) minmax(180px, 1fr) auto;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.pr-youtube-row-number {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.pr-youtube-saved-row .featured-youtube-card {
  width: 100%;
}

.pr-youtube-saved-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: var(--text);
  text-align: left;
}

.pr-youtube-saved-meta strong {
  font-size: 13px;
  font-weight: 900;
}

.pr-youtube-saved-meta small,
.pr-youtube-saved-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}

.pr-youtube-section > .inline-section-notice {
  width: min(var(--mypage-form-width), 100%);
  margin: 12px auto 0;
}

.pr-youtube-section > .compare-plan-lock + .inline-section-notice {
  margin-top: 12px;
}

.featured-youtube-inputs {
  display: grid;
  gap: 12px;
}

.media-pr-work-card {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.media-pr-work-meta {
  display: grid;
  gap: 4px;
  color: var(--text);
  text-align: left;
}

.media-pr-work-meta strong {
  font-size: 13px;
  font-weight: 900;
}

.media-pr-work-meta small,
.media-pr-work-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}

.youtube-verification-card {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 12px;
  width: min(100%, 760px);
  margin: 16px auto 0;
  padding: 16px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}

.youtube-verification-card h2,
.youtube-verification-card p {
  margin: 0;
}

.youtube-verification-card h2 {
  color: var(--text);
  font-size: 16px;
}

.youtube-verification-card p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.youtube-verification-card strong {
  padding: 10px 12px;
  color: var(--accent-strong);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: clamp(16px, 2.5vw, 22px);
  line-height: 1.1;
  white-space: nowrap;
}

.youtube-verification-actions {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  gap: 12px;
}

.youtube-verification-code-row {
  display: grid;
  grid-template-columns: max-content auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
}

.youtube-verification-copy-button {
  width: auto;
  min-width: 72px;
  white-space: nowrap;
}

.youtube-verification-actions form {
  margin: 0;
}

.youtube-verification-actions .submit-button {
  min-width: 150px;
}

.youtube-channel-form-card {
  display: grid;
  gap: 14px;
}

.youtube-channel-form {
  width: min(var(--mypage-form-width), 100%);
  margin-inline: auto;
  gap: 16px;
  padding: 18px;
}

.youtube-channel-form > .posting-intent-options,
.youtube-channel-form > .youtube-posting-details,
.youtube-channel-form > .youtube-channel-current {
  width: 100%;
}

.youtube-channel-form > .posting-intent-options {
  margin-top: 10px;
}

.youtube-channel-form > .youtube-posting-details {
  gap: 12px;
  justify-items: stretch;
}

.youtube-channel-save-button {
  justify-self: center;
  width: fit-content;
  min-width: 190px;
  background: var(--road);
  border-color: var(--road);
}

.youtube-channel-save-button:hover,
.youtube-channel-save-button:focus-visible {
  background: color-mix(in srgb, var(--road) 84%, var(--panel));
  border-color: color-mix(in srgb, var(--road) 84%, var(--panel));
}

.youtube-channel-current {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.youtube-channel-current-panel {
  display: grid;
  gap: 16px;
  justify-items: center;
  width: min(var(--mypage-form-width), 100%);
  margin-inline: auto;
  padding: 22px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
}

.youtube-channel-current-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 0;
}

.youtube-channel-current-avatar {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border: 3px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 50%;
  object-fit: cover;
}

.youtube-channel-current-avatar.fallback {
  display: grid;
  place-items: center;
  background: var(--road);
  color: #fff;
  font-size: 32px;
  font-weight: 900;
}

.youtube-channel-current-panel h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(16px, 2.5vw, 27px);
  line-height: 1.2;
}

.mypage-youtube-channel-panel {
  width: min(var(--mypage-form-width), 100%);
  margin-inline: auto;
  box-shadow: none;
}

.mypage-creator-panel {
  width: min(var(--mypage-form-width), 100%);
  margin-inline: auto;
  box-shadow: none;
}

.mypage-creator-panel .gallery-heading {
  width: 100%;
}

.mypage-creator-panel .form-note {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.mypage .form-note.plan-limit-note {
  width: min(var(--mypage-form-width), 100%);
  max-width: 100%;
  margin: 8px auto 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
}

.mypage-creator-panel .form-note.rival-guide-note,
.favorite-folders-card .form-note.rival-guide-note {
  width: min(var(--mypage-form-width), 100%);
  max-width: 100%;
  text-align: left;
}

.mypage .mypage-youtube-channel-panel,
.mypage .mypage-creator-panel {
  width: min(var(--mypage-form-width), 100%);
  margin-inline: auto;
  box-shadow: none;
}

.mypage .mypage-youtube-channel-panel.creator-channel-panel {
  padding: 12px 0 24px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.mypage .mypage-youtube-channel-panel .creator-channel-actions {
  margin-top: 4px;
}

.mypage-creator-group > .mypage-section {
  padding: 22px 0 26px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.mypage-creator-group > .mypage-menu-panel {
  order: 1;
}

.mypage-creator-group > .creator-order-profile-heading {
  order: 10;
}

.mypage-creator-group > #youtube-channel-settings {
  order: 11;
}

.mypage-creator-group > #media-kit-design {
  order: 20;
}

.mypage-creator-group > #pr-youtube {
  order: 35;
}

.mypage-creator-group > .creator-order-report-heading {
  order: 40;
}

.mypage-creator-group > #creator-growth {
  order: 41;
}

.mypage-creator-group > .creator-growth-panel {
  order: 42;
}

.mypage-creator-group > .creator-order-compare-heading {
  order: 43;
}

.mypage-creator-group > #rival-channels {
  order: 44;
}

.mypage-creator-group > .creator-comparison-panel {
  order: 46;
}

.mypage-creator-group > .channel-history-panel {
  order: 47;
}

.mypage-creator-group > .creator-order-collab-heading {
  order: 70;
}

.mypage-creator-group > #collab-open {
  order: 71;
}

.mypage-creator-group > .collab-match-panel {
  order: 72;
}

.mypage-creator-group > .discovery-card {
  order: 80;
}

.mypage-creator-group > .creator-order-promotion-heading {
  order: 110;
}

.mypage-creator-group > .watch-promotion-active-card {
  order: 111;
}

.mypage-creator-group > #watch-promotion {
  order: 112;
}

.mypage-creator-group > .mypage-section::after {
  content: "";
  display: block;
  width: min(var(--mypage-form-width), 100%);
  height: 1px;
  margin: 26px auto 0;
  background: var(--line);
}

.mypage-creator-group > .mypage-section:last-child::after,
.mypage-creator-group > .collab-open-card::after {
  display: none;
}

.mypage-creator-group .gallery-heading {
  justify-items: center;
  text-align: center;
}

.mypage-creator-group .gallery-heading.compact h2 {
  text-align: center;
}

.mypage-creator-group .collab-open-form .posting-intent-options {
  width: min(var(--mypage-form-width), 100%);
  padding: 0 0 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.mypage-creator-group .collab-open-form .posting-intent-options::after {
  content: "";
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 6px;
  background: var(--line);
}

.mypage-creator-group .rival-channels-form,
.mypage-creator-group .social-links-form,
.mypage-creator-group .pr-youtube-form {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.milestone-share-panel {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.milestone-share-card {
  display: grid;
  gap: 16px;
  justify-items: center;
  width: min(var(--mypage-form-width), 100%);
  margin-inline: auto;
}

.milestone-share-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  width: min(620px, 100%);
}

.milestone-share-controls label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.milestone-share-controls select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-weight: 900;
}

.milestone-share-controls .submit-button {
  min-width: 130px;
  white-space: nowrap;
}

.milestone-share-buttons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.milestone-share-buttons .ghost-button,
.milestone-share-buttons .submit-button {
  min-width: 120px;
}

.milestone-share-canvas {
  display: block;
  width: min(420px, 100%);
  height: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.youtube-channel-current-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: min(520px, 100%);
  margin-inline: auto;
  padding: 12px;
  color: var(--text);
  text-align: left;
  text-decoration: none;
  background: color-mix(in srgb, var(--road) 3%, var(--panel));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.youtube-channel-current-card:hover,
.youtube-channel-current-card:focus-visible {
  border-color: color-mix(in srgb, var(--road) 34%, var(--line));
  background: color-mix(in srgb, var(--road) 6%, var(--panel));
}

.youtube-channel-current-card img,
.youtube-channel-current-card .favorite-creator-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.youtube-channel-current-card > span:last-child {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.youtube-channel-current-card strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.youtube-channel-current-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .youtube-channel-current-panel {
    padding: 18px 14px;
  }

  .youtube-channel-current-main {
    flex-direction: column;
  }
}

.watch-promotion-form-card {
  display: grid;
  gap: 14px;
}

.watch-promotion-active-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: color-mix(in srgb, var(--accent) 8%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 8px;
}

.watch-promotion-form {
  width: min(var(--mypage-form-width), 100%);
  margin-inline: auto;
}

.social-links-form {
  width: min(var(--mypage-form-width), 100%);
  margin-inline: auto;
}

.social-links-sample {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: min(var(--mypage-form-width), 100%);
  margin: 0 auto;
  padding: 12px 14px;
  background: color-mix(in srgb, var(--road) 3%, var(--panel));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.social-links-sample small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.social-links-sample div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.social-links-sample span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 14px;
  color: var(--text);
  background: color-mix(in srgb, var(--text) 5%, var(--panel));
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.social-links-sample img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  object-fit: cover;
}

.youtube-channel-social-sample {
  margin-top: 4px;
}

.social-links-sample .social-site-sample::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background:
    linear-gradient(#333, #333) 4px 8px / 10px 2px no-repeat,
    linear-gradient(#333, #333) 8px 4px / 2px 10px no-repeat,
    color-mix(in srgb, var(--accent) 12%, var(--panel));
  border: 1px solid var(--line);
  border-radius: 50%;
}

.social-links-input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.social-link-row-form {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 0;
}

.social-link-row-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 160px) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.social-link-edit-fields .social-link-row-controls {
  grid-template-columns: minmax(0, 1fr) minmax(120px, 160px) auto auto;
}

.social-followers-input {
  min-width: 0;
}

.social-link-registered {
  display: grid;
  grid-template-columns: minmax(120px, auto) minmax(0, 1fr) minmax(190px, 240px) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 9px 10px;
  background: color-mix(in srgb, var(--road) 3%, var(--panel));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.social-link-registered > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.social-link-registered strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.social-link-registered small {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  color: #604300;
  background: #fff3ca;
  border: 1px solid #e0bb5e;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.social-link-registered a {
  overflow: hidden;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-link-registered-actions {
  display: inline-flex;
  gap: 6px;
}

.social-link-followers-quick {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  min-width: 0;
}

.social-row-edit-button,
.social-row-cancel-button {
  min-width: 58px;
}

.social-link-row-form input[readonly] {
  color: var(--muted);
  background: color-mix(in srgb, var(--road) 3%, var(--panel));
}

.social-link-row-form.is-locked {
  opacity: 0.82;
}

.social-link-row-form.is-locked input {
  color: var(--muted);
  background: color-mix(in srgb, var(--road) 5%, var(--panel));
}

.social-link-inline-error {
  margin: -2px 0 0;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.social-link-inline-notice {
  width: min(var(--mypage-form-width), 100%);
  margin: 0 auto;
  padding: 9px 12px;
  color: var(--muted);
  background: color-mix(in srgb, var(--road) 4%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--road) 14%, var(--line));
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.social-link-inline-notice.error {
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 7%, var(--panel));
  border-color: color-mix(in srgb, var(--accent) 22%, var(--line));
}

.inline-section-notice {
  width: min(var(--mypage-form-width), 100%);
  margin: 0 auto;
  padding: 9px 12px;
  color: var(--muted);
  background: color-mix(in srgb, var(--road) 4%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--road) 14%, var(--line));
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.inline-section-notice.error {
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 7%, var(--panel));
  border-color: color-mix(in srgb, var(--accent) 22%, var(--line));
}

.inline-section-notice.channel-verify-success {
  width: min(620px, 100%);
  margin: 16px auto 0;
  padding: 16px 18px;
  color: #8a4b00;
  background: #fff7ed;
  border: 2px solid #f5b866;
  border-radius: 10px;
  font-size: clamp(18px, 2.8vw, 24px);
  line-height: 1.35;
}

.social-row-save-button,
.social-row-delete-button {
  min-width: 64px;
  color: var(--text);
  background: var(--panel);
  border-color: var(--line);
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.social-row-save-button:hover,
.social-row-save-button:focus-visible,
.social-row-delete-button:hover,
.social-row-delete-button:focus-visible {
  color: #fff;
  background: var(--brand-navy-hover);
  border-color: var(--brand-navy-hover);
  box-shadow: none;
}

.watch-promotion-history-title {
  margin: 4px 0 -4px;
  color: var(--text);
  font-size: 16px;
}

.watch-promotion-history {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.watch-promotion-history article {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.watch-promotion-history img {
  width: 112px;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  object-fit: cover;
}

.watch-promotion-history strong,
.watch-promotion-history span {
  display: block;
}

.watch-promotion-history strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
}

.watch-promotion-history span {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
}

.watch-promotion-history small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.creator-detail-page {
  display: grid;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 72px;
}

.creator-channel-panel {
  display: grid;
  gap: 16px;
}

.creator-picks-section,
.creator-channel-videos-section {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.creator-detail-page .creator-picks-section .gallery-heading,
.creator-detail-page .creator-channel-videos-section .gallery-heading {
  width: 100%;
  text-align: center;
}

.creator-detail-page .creator-picks-section .gallery-heading h2,
.creator-detail-page .creator-channel-videos-section .gallery-heading h2 {
  font-size: 24px;
  line-height: 1.22;
  text-align: center;
}

.creator-picks-section .featured-youtube-grid,
.creator-channel-videos-section .featured-youtube-grid {
  width: 100%;
}

.creator-unregistered {
  display: grid;
  width: 100%;
  min-height: 120px;
  place-items: center;
  color: var(--muted);
  background: color-mix(in srgb, var(--road) 3%, var(--panel));
  border: 1px dashed var(--line);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 900;
  box-shadow: none;
}

.creator-channel-videos-empty {
  min-height: 86px;
  font-size: 15px;
}

.creator-channel-panel {
  position: relative;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  text-align: center;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.creator-channel-favorite-button {
  top: 12px;
  right: 12px;
}

.creator-channel-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 0;
}

.creator-channel-avatar {
  flex: 0 0 auto;
  width: 108px;
  height: 108px;
  border: 3px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 50%;
  object-fit: cover;
}

.creator-channel-avatar.fallback {
  display: grid;
  place-items: center;
  background: var(--road);
  color: #fff;
  font-size: 36px;
  font-weight: 900;
}

.creator-channel-main h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(14px, 2.5vw, 27px);
  line-height: 1.2;
}

.creator-channel-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.creator-channel-meta span,
.creator-channel-meta b {
  display: inline-flex;
  align-items: center;
}

.creator-channel-meta .creator-meta-chip {
  min-height: 30px;
  padding: 0 10px;
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 10%, var(--panel));
  border: 0;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
}

.creator-channel-meta .creator-status-badge {
  min-height: 24px;
  padding: 0 9px;
  color: var(--muted);
  background: color-mix(in srgb, var(--muted) 8%, #fff);
  border: 0;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.creator-channel-meta .creator-status-badge.is-verified {
  color: #1d6b44;
  background: #e9f7ef;
}

.creator-channel-meta .creator-status-badge.is-unverified {
  color: #8a5a13;
  background: #fff4dd;
}

.creator-channel-meta .creator-status-badge.is-collab-open {
  color: #8a4f00;
  background: #fff0d6;
}

.creator-channel-link {
  min-height: 38px;
  width: fit-content;
  max-width: 100%;
  padding: 0 14px;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
}

.media-kit-request-status {
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  pointer-events: none;
}

.media-kit-sample-accordion {
  justify-self: stretch;
  width: 100%;
  text-align: left;
}

.media-kit-sample-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding: 0 12px;
  color: var(--accent-strong);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.media-kit-sample-accordion summary::-webkit-details-marker {
  display: none;
}

.media-kit-sample-accordion summary::after {
  content: "+";
  font-size: 16px;
  font-weight: 900;
}

.media-kit-sample-accordion[open] summary::after {
  content: "-";
}

.media-kit-sample-preview {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 12px;
  background: color-mix(in srgb, var(--road) 4%, #fff);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.media-kit-sample-pages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.media-kit-sample-pages a {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--line));
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(21, 36, 64, 0.1);
  text-decoration: none;
}

.media-kit-sample-pages img {
  display: block;
  width: 100%;
  aspect-ratio: 210 / 297;
  border-radius: 3px;
  object-fit: cover;
  object-position: top center;
}

.media-kit-sample-pages span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  min-width: 34px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  line-height: 22px;
  text-align: center;
}

.media-kit-sample-open-link {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.creator-channel-meta .subscriber-class-badge {
  min-height: 28px;
  padding-inline: 10px;
  font-size: 12px;
}

.creator-support-meter {
  display: grid;
  gap: 9px;
  width: min(620px, 100%);
  padding: 14px 16px;
  background: #fffaf0;
  border: 1px solid #e2c778;
  border-radius: 10px;
}

.creator-support-meter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.creator-support-meter-head strong {
  color: #4d3500;
  font-size: clamp(16px, 2.4vw, 22px);
  line-height: 1.35;
}

.creator-support-meter-head span {
  flex: 0 0 auto;
  min-width: 64px;
  color: #fff;
  background: #b88712;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  line-height: 32px;
}

.creator-support-meter-bar {
  overflow: hidden;
  height: 14px;
  background: rgba(96, 67, 0, 0.12);
  border-radius: 999px;
}

.creator-support-meter-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #c88712, #f3bd42);
  border-radius: inherit;
}

.creator-support-meter p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
  text-align: left;
}

.creator-support-meter.is-near {
  background: #fff7d8;
  border-color: #efbc42;
}

.creator-support-meter.is-urgent {
  background: #fff0ed;
  border-color: #e07a63;
}

.creator-support-meter.is-urgent .creator-support-meter-head strong {
  color: #8c2718;
}

.creator-support-meter.is-urgent .creator-support-meter-head span,
.creator-support-meter.is-urgent .creator-support-meter-bar span {
  background: linear-gradient(90deg, #bd3a22, #f08a39);
}

.creator-channel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.creator-public-data-panel {
  display: grid;
  gap: 12px;
  width: min(620px, 100%);
  margin-inline: auto;
  padding: 14px;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.creator-public-data-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.creator-public-data-heading span {
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 900;
}

.creator-public-data-heading strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
}

.creator-public-data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px;
}

.creator-public-data-grid span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  background: color-mix(in srgb, var(--road) 3%, #fff);
  border: 1px solid color-mix(in srgb, var(--line) 80%, #fff);
  border-radius: 6px;
}

.creator-public-data-grid small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.creator-public-data-grid strong {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.creator-public-data-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
}

.creator-short-form-list {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.creator-short-form-list > strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.creator-short-form-list > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px;
}

.creator-short-form-list a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 7px;
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 4%, #fff);
  border: 1px solid color-mix(in srgb, var(--line) 78%, #fff);
  border-radius: 6px;
  text-decoration: none;
}

.creator-short-form-list a img {
  grid-row: span 2;
  width: 44px;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  object-fit: cover;
}

.creator-short-form-list a span {
  overflow: hidden;
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-short-form-list a small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.featured-youtube-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.featured-youtube-meta b {
  font-weight: 700;
}

.creator-registration-request {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.creator-claim-panel {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(620px, 100%);
  margin-inline: auto;
  padding: 14px;
  color: var(--muted);
  background: color-mix(in srgb, var(--road) 5%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--road) 18%, var(--line));
  border-radius: 8px;
  text-align: center;
}

.creator-claim-panel strong {
  color: var(--road);
  font-size: 14px;
}

.creator-claim-panel p {
  margin: 0;
}

.creator-claim-panel p,
.creator-claim-panel .form-note {
  justify-self: stretch;
  text-align: left;
}

.creator-comparison-panel {
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.creator-detail-page .creator-comparison-panel .gallery-heading,
.creator-detail-page .creator-growth-panel .gallery-heading {
  width: 100%;
  justify-items: center;
  text-align: center;
}

.creator-comparison-panel.is-locked-preview,
.creator-growth-panel.is-locked-preview,
.related-channel-panel {
  justify-items: center;
  text-align: center;
}

.creator-comparison-panel.is-locked-preview .gallery-heading,
.creator-growth-panel.is-locked-preview .gallery-heading,
.related-channel-panel .gallery-heading {
  width: 100%;
}

.creator-comparison-panel.is-locked-preview .form-note,
.creator-growth-panel.is-locked-preview .form-note {
  max-width: 720px;
  margin-inline: auto;
}

.creator-comparison-note {
  text-align: center;
}

.creator-comparison-panel.is-locked-preview .feature-preview-list,
.creator-growth-panel.is-locked-preview .feature-preview-list {
  justify-content: center;
}

.creator-comparison-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  text-align: center;
}

.creator-comparison-stats span {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  background: color-mix(in srgb, var(--accent) 7%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 8px;
}

.creator-comparison-stats small,
.creator-rival-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.creator-comparison-stats strong {
  overflow: hidden;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-rival-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  width: 100%;
}

.creator-rival-card {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 8px;
  min-height: 138px;
  min-width: 0;
  padding: 12px;
  color: var(--text);
  text-decoration: none;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  transition: border-color 160ms ease, transform 160ms ease;
}

.creator-rival-card:hover,
.creator-rival-card:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  transform: translateY(-1px);
}

.creator-rival-card img,
.creator-rival-avatar {
  width: 54px;
  height: 54px;
  border: 2px solid color-mix(in srgb, var(--accent) 20%, var(--line));
  border-radius: 50%;
  object-fit: cover;
}

.creator-rival-avatar {
  display: grid;
  place-items: center;
  background: var(--road);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.creator-rival-card > span {
  min-width: 0;
}

.creator-rival-card strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
}

.creator-rival-card small {
  display: block;
  overflow: visible;
  margin-top: 3px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: keep-all;
}

.related-channel-panel .gallery-heading h2 {
  font-size: clamp(18px, 2vw, 26px);
}

.related-channel-grid {
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.related-channel-card {
  min-height: 132px;
}

.creator-growth-panel {
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.creator-growth-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  text-align: center;
}

.creator-growth-stats span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  background: color-mix(in srgb, var(--accent) 7%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line));
  border-radius: 8px;
}

.creator-growth-stats small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-growth-stats strong {
  overflow: hidden;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-growth-chart {
  position: relative;
  display: grid;
  gap: 8px;
  min-width: 0;
  width: 100%;
  padding: 12px 0 0;
  text-align: center;
}

.creator-growth-chart svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 180px;
  overflow: visible;
}

.creator-growth-chart line {
  stroke: var(--line);
  stroke-width: 1;
}

.creator-growth-axis-label {
  fill: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.creator-growth-chart polyline {
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.creator-growth-chart-period {
  position: relative;
  width: 100%;
  min-height: 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.creator-growth-chart-period span {
  position: absolute;
  top: 0;
  max-width: 86px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateX(-50%);
}

.creator-growth-chart-period span.is-start {
  text-align: left;
  transform: translateX(0);
}

.creator-growth-chart-period span.is-end {
  text-align: right;
  transform: translateX(-100%);
}

.creator-growth-chart-note {
  display: grid;
  gap: 4px;
  justify-items: center;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.55;
  text-align: center;
}

.creator-growth-chart-note span {
  color: var(--text);
  font-size: 13px;
}

.growth-chart-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.chart-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.chart-label.top {
  justify-self: start;
}

.chart-label.bottom {
  justify-self: start;
  margin-top: -14px;
}

.chart-dates {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.channel-history-panel {
  justify-items: center;
  text-align: center;
}

.channel-history-list {
  display: grid;
  gap: 10px;
  width: min(100%, 760px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.channel-history-panel .compare-plan-lock {
  margin-top: 10px;
}

.channel-history-more-button {
  width: auto;
  min-width: 140px;
  margin-inline: auto;
  padding-inline: 18px;
}

.channel-history-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px 16px;
  align-items: start;
  min-width: 0;
  padding: 14px;
  background: color-mix(in srgb, var(--road) 3%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--road) 13%, var(--line));
  border-left: 4px solid var(--line);
  border-radius: 8px;
  text-align: left;
}

.channel-history-item.is-milestone {
  border-left-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, var(--panel));
}

.channel-history-item.is-growth {
  border-left-color: #f5c542;
  background: color-mix(in srgb, #f5c542 9%, var(--panel));
}

.channel-history-item.is-pick,
.channel-history-item.is-watch,
.channel-history-item.is-fame {
  border-left-color: var(--road);
}

.channel-history-item time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.5;
  white-space: nowrap;
}

.channel-history-item span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.channel-history-item strong,
.channel-history-item p {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.channel-history-item strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
}

.channel-history-item p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.65;
}

.creator-social-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  text-align: center;
}

.creator-social-panel .gallery-heading {
  align-items: center;
  text-align: center;
}

.creator-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.creator-channel-social-links {
  margin-top: 2px;
}

.creator-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  color: var(--text);
  background: color-mix(in srgb, var(--text) 5%, var(--panel));
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.creator-social-links img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  object-fit: cover;
}

.creator-social-links .social-site-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background:
    linear-gradient(#333, #333) 4px 8px / 10px 2px no-repeat,
    linear-gradient(#333, #333) 8px 4px / 2px 10px no-repeat,
    color-mix(in srgb, var(--accent) 12%, var(--panel));
  border: 1px solid var(--line);
  border-radius: 50%;
}

.creator-social-links a:hover,
.creator-social-links a:focus-visible {
  border-color: var(--muted);
  background: color-mix(in srgb, var(--text) 8%, var(--panel));
}

.media-kit-header {
  position: static;
}

.media-kit-lock {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--muted);
  background: color-mix(in srgb, var(--road) 4%, var(--panel));
  border: 1px dashed color-mix(in srgb, var(--road) 20%, var(--line));
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.media-kit-page {
  --media-kit-primary: var(--road);
  --media-kit-secondary: var(--accent);
  --media-kit-title-color: var(--media-kit-primary);
  display: grid;
  gap: 18px;
  width: min(100% - 32px, 1040px);
  margin: 28px auto 48px;
  background: #ffffff;
}

.media-kit-page .kicker {
  color: var(--media-kit-title-color);
}

.media-kit-page .gallery-heading {
  margin-bottom: 14px;
}

.media-kit-page .gallery-heading .kicker {
  margin-bottom: 8px;
  line-height: 1.1;
}

.media-kit-page .gallery-heading h2 {
  margin-top: 0;
  line-height: 1.2;
}

.media-kit-page .creator-growth-chart svg polyline {
  stroke: var(--media-kit-secondary) !important;
  filter: drop-shadow(0px 6px 8px color-mix(in srgb, var(--media-kit-secondary) 24%, transparent)) !important;
}

.media-kit-page .creator-growth-chart svg line {
  stroke: color-mix(in srgb, var(--media-kit-primary) 22%, var(--line)) !important;
}

.media-kit-page .creator-channel-link,
.media-kit-page .primary-link,
.media-kit-page .submit-button {
  background: var(--media-kit-primary);
  border-color: var(--media-kit-primary);
}

.media-kit-page .creator-channel-link:hover,
.media-kit-page .creator-channel-link:focus-visible,
.media-kit-page .primary-link:hover,
.media-kit-page .primary-link:focus-visible,
.media-kit-page .submit-button:hover:not(:disabled),
.media-kit-page .submit-button:focus-visible:not(:disabled) {
  color: var(--media-kit-primary);
  background: color-mix(in srgb, var(--media-kit-primary) 8%, var(--panel));
  border-color: color-mix(in srgb, var(--media-kit-primary) 42%, var(--line));
}

.media-kit-hero,
.media-kit-section {
  background: var(--panel);
  border: 1px solid color-mix(in srgb, var(--media-kit-primary) 14%, var(--line));
  border-radius: 8px;
  box-shadow: none;
}

.media-kit-hero {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 24px;
}

.media-kit-hero > img:not(.media-kit-channel-avatar),
.media-kit-hero > .creator-channel-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
}

.media-kit-hero.has-profile-photo {
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
}

.media-kit-hero.has-profile-photo > img:not(.media-kit-channel-avatar) {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--media-kit-primary) 18%, var(--line));
  box-shadow: 0 18px 34px color-mix(in srgb, var(--media-kit-primary) 14%, transparent);
}

.media-kit-hero h1,
.media-kit-hero p {
  margin: 0;
}

.media-kit-hero h1 {
  color: var(--media-kit-primary);
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
}

.media-kit-channel-avatar-row {
  display: flex;
  justify-content: center;
  width: min(184px, 100%);
  margin: 4px 0 2px;
  justify-self: center;
}

.media-kit-channel-avatar {
  width: min(184px, 100%);
  height: auto;
  aspect-ratio: 1;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--media-kit-primary) 20%, #d8d8d8),
    0 8px 20px color-mix(in srgb, var(--media-kit-primary) 18%, transparent);
}

.media-kit-channel-avatar.fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--media-kit-primary);
  font-size: 64px;
  font-weight: 900;
}

.media-kit-hero > div,
.media-kit-hero-copy {
  display: grid;
  gap: 10px;
}

.media-kit-hero-copy {
  justify-items: center;
  align-content: center;
  text-align: center;
}

.media-kit-platform-label {
  order: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 2px;
  color: var(--media-kit-primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.media-kit-platform-label span {
  position: relative;
  display: inline-grid;
  width: 22px;
  height: 16px;
  place-items: center;
  background: #ff0033;
  border-radius: 5px;
}

.media-kit-platform-label span::after {
  width: 0;
  height: 0;
  margin-left: 2px;
  content: "";
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid #ffffff;
}

.media-kit-hero-copy .kicker {
  order: 1;
}

.media-kit-hero-copy h1 {
  order: 2;
  color: var(--text);
}

.media-kit-cover-catch {
  order: 3;
  max-width: 560px;
  color: color-mix(in srgb, var(--media-kit-primary) 52%, var(--text));
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 400;
  line-height: 1.6;
}

.media-kit-owner-badge {
  order: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0;
  padding: 5px 10px;
  color: var(--media-kit-primary);
  background: color-mix(in srgb, var(--media-kit-primary) 8%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--media-kit-primary) 26%, var(--line));
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.media-kit-channel-avatar-row {
  order: 5;
}

.media-kit-cover-metrics {
  order: 6;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(560px, 100%);
  margin-top: 4px;
}

.media-kit-cover-metrics span {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px 16px;
  text-align: center;
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--media-kit-primary) 16%, var(--line));
  border-radius: 8px;
}

.media-kit-cover-metrics small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.media-kit-cover-metrics strong {
  color: var(--text);
  font-size: clamp(18px, 2.6vw, 25px);
  font-weight: 600;
  line-height: 1.15;
}

.media-kit-cover-metrics span:nth-child(2) strong {
  font-size: clamp(16px, 2.2vw, 22px);
}

.media-kit-cover-average {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25em;
  align-items: baseline;
}

.media-kit-cover-average em,
.media-kit-cover-average b {
  font: inherit;
  font-style: normal;
}

.media-kit-cover-average em {
  font-size: 0.92em;
}

.media-kit-hero-copy .creator-channel-meta {
  order: 7;
}

.media-kit-hero-social-links {
  order: 8;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: min(100%, 420px);
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--media-kit-primary) 12%, var(--line));
}

.media-kit-hero-social-links > strong,
.media-kit-hero-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.media-kit-hero-social-links > strong {
  width: 100%;
  min-height: auto;
  padding: 0;
  color: var(--media-kit-primary);
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.media-kit-hero-social-links a {
  flex-direction: column;
  gap: 6px;
  width: auto;
  min-height: 0;
  padding: 2px 6px;
  color: var(--text);
  background: transparent;
  border: 0;
}

.media-kit-hero-social-links img,
.media-kit-contact .creator-social-links img {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

.media-kit-social-fallback {
  display: inline-grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: var(--media-kit-primary);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.media-kit-social-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
  text-align: center;
}

.media-kit-social-copy b,
.media-kit-social-copy small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.media-kit-social-copy b {
  color: var(--text);
  font-size: 10.5px;
  line-height: 1.2;
}

.media-kit-social-copy small {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.3;
}

.media-kit-hero-social-links .media-kit-social-copy b {
  font-size: 12px;
}

.media-kit-hero-social-links .media-kit-social-copy small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.media-kit-hero-social-links a:hover,
.media-kit-hero-social-links a:focus-visible {
  color: var(--media-kit-primary);
  background: transparent;
}

.media-kit-cover-foot {
  order: 9;
  margin: 10px 0 0;
  color: color-mix(in srgb, var(--media-kit-primary) 74%, var(--muted));
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.media-kit-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.media-kit-template-minimal {
  gap: 24px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
}

.media-kit-template-minimal .media-kit-hero,
.media-kit-template-minimal .media-kit-section {
  border-color: color-mix(in srgb, var(--media-kit-primary) 8%, var(--line));
  background: #ffffff;
}

.media-kit-template-minimal .media-kit-hero {
  padding: 42px 38px;
  box-shadow: none;
}

.media-kit-template-minimal .media-kit-section {
  padding: 32px;
}

.media-kit-template-minimal .media-kit-hero h1 {
  font-weight: 700;
  letter-spacing: 0;
}

.media-kit-template-minimal .creator-channel-meta > span,
.media-kit-template-minimal .creator-channel-meta > b.subscriber-class-badge,
.media-kit-template-minimal .media-kit-stats span {
  background: transparent;
  border-color: color-mix(in srgb, var(--media-kit-primary) 12%, var(--line));
}

.media-kit-template-fixed {
  gap: 26px;
}

.media-kit-template-fixed .media-kit-hero {
  position: relative;
  grid-template-columns: minmax(240px, 48%) minmax(0, 1fr);
  min-height: 720px;
  gap: 34px;
  padding: 64px 56px;
  overflow: hidden;
  background:
    linear-gradient(90deg, var(--media-kit-primary) 0 48%, #ffffff 48%);
  border: 0;
  border-radius: 0;
}

.media-kit-template-fixed .media-kit-hero > img:not(.media-kit-channel-avatar),
.media-kit-template-fixed .media-kit-hero > .creator-channel-avatar {
  width: min(100%, 360px);
  height: auto;
  aspect-ratio: 4 / 5;
  justify-self: center;
  border: 8px solid #ffffff;
  border-radius: 0;
  box-shadow: none;
}

.media-kit-template-fixed .media-kit-hero-copy {
  justify-items: start;
  text-align: left;
}

.media-kit-template-fixed .media-kit-hero-copy .kicker {
  color: var(--media-kit-title-color);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.media-kit-template-fixed.media-kit-page .media-kit-hero-copy h1 {
  font-size: clamp(24px, 3.1vw, 38px);
  font-weight: 900;
  line-height: 1.18;
  text-align: left;
}

.media-kit-template-fixed .media-kit-channel-avatar-row {
  width: 92px;
  justify-self: start;
  margin: 2px 0;
}

.media-kit-template-fixed .media-kit-channel-avatar {
  width: 92px;
  border: 3px solid color-mix(in srgb, var(--media-kit-primary) 20%, #ffffff);
  box-shadow: none;
}

.media-kit-template-fixed .media-kit-hero-copy .creator-channel-meta {
  justify-content: flex-start;
}

.media-kit-template-fixed .media-kit-hero-social-links {
  justify-content: flex-start;
  width: min(100%, 320px);
  border-top-color: color-mix(in srgb, var(--media-kit-primary) 22%, var(--line));
}

.media-kit-template-fixed .media-kit-hero-social-links > strong {
  text-align: left;
}

.media-kit-template-fixed .media-kit-cover-foot {
  color: var(--media-kit-primary);
}

.media-kit-template-fixed .media-kit-section {
  border-top: 1px solid var(--line);
}

.media-kit-template-fixed .media-kit-stats span {
  border-left: 0;
  border-top: 1px solid var(--line);
}

.media-kit-template-trust,
.media-kit-template-pro {
  --media-kit-pro-line: color-mix(in srgb, var(--media-kit-primary) 26%, var(--line));
  gap: 22px;
}

.media-kit-template-trust .media-kit-hero,
.media-kit-template-trust .media-kit-section,
.media-kit-template-pro .media-kit-hero,
.media-kit-template-pro .media-kit-section {
  background: #ffffff;
  border: 0;
  border-radius: 2px;
  box-shadow: none;
}

.media-kit-template-trust .media-kit-hero,
.media-kit-template-pro .media-kit-hero {
  border-left: 8px solid var(--media-kit-primary);
}

.media-kit-template-trust .media-kit-section,
.media-kit-template-pro .media-kit-section {
  padding-left: 28px;
}

.media-kit-template-trust .media-kit-section .gallery-heading h2,
.media-kit-template-pro .media-kit-section .gallery-heading h2 {
  border-left: 6px solid var(--media-kit-primary);
  padding-left: 12px;
  color: #333333;
  text-align: left;
}

.media-kit-template-trust .media-kit-section .gallery-heading .kicker,
.media-kit-template-pro .media-kit-section .gallery-heading .kicker {
  padding-left: 18px;
  text-align: left;
}

.media-kit-template-trust .gallery-heading .kicker,
.media-kit-template-trust .media-kit-hero-copy .kicker,
.media-kit-template-trust .media-kit-platform-label,
.media-kit-template-trust .media-kit-cover-foot,
.media-kit-template-pro .gallery-heading .kicker,
.media-kit-template-pro .media-kit-hero-copy .kicker,
.media-kit-template-pro .media-kit-platform-label,
.media-kit-template-pro .media-kit-cover-foot {
  color: var(--media-kit-primary);
}

.media-kit-template-trust .creator-channel-meta > span,
.media-kit-template-trust .creator-channel-meta > b.subscriber-class-badge,
.media-kit-template-trust .media-kit-cover-metrics span,
.media-kit-template-trust .media-kit-stats span,
.media-kit-template-trust .media-kit-growth-summary span,
.media-kit-template-trust .media-kit-owner-analytics-grid span,
.media-kit-template-pro .creator-channel-meta > span,
.media-kit-template-pro .creator-channel-meta > b.subscriber-class-badge,
.media-kit-template-pro .media-kit-cover-metrics span,
.media-kit-template-pro .media-kit-stats span,
.media-kit-template-pro .media-kit-growth-summary span,
.media-kit-template-pro .media-kit-owner-analytics-grid span {
  background: #ffffff;
  border-color: var(--media-kit-pro-line);
  border-radius: 2px;
}

.media-kit-template-trust .media-kit-collab-menu-body,
.media-kit-template-trust .media-kit-profile-body,
.media-kit-template-pro .media-kit-collab-menu-body,
.media-kit-template-pro .media-kit-profile-body {
  border-color: var(--media-kit-pro-line);
  border-radius: 2px;
}

.media-kit-template-dark {
  --media-kit-dark-bg: #111827;
  --media-kit-dark-panel: rgba(17, 24, 39, 0.92);
  --media-kit-dark-soft: rgba(255, 255, 255, 0.08);
  --media-kit-dark-line: rgba(255, 255, 255, 0.22);
  --media-kit-dark-text: #f8fafc;
  --media-kit-dark-muted: #cbd5e1;
  color: var(--media-kit-dark-text);
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--media-kit-primary) 36%, transparent), transparent 34%),
    linear-gradient(135deg, #0f172a, var(--media-kit-dark-bg));
}

.media-kit-template-dark .media-kit-hero,
.media-kit-template-dark .media-kit-section {
  color: var(--media-kit-dark-text);
  background: var(--media-kit-dark-panel);
  border-color: var(--media-kit-dark-line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.media-kit-template-dark .media-kit-hero h1,
.media-kit-template-dark .media-kit-section h2,
.media-kit-template-dark .media-kit-stats strong,
.media-kit-template-dark .media-kit-growth-summary strong,
.media-kit-template-dark .media-kit-owner-analytics-grid strong,
.media-kit-template-dark .media-kit-social-copy b {
  color: var(--media-kit-dark-text);
}

.media-kit-template-dark .gallery-heading .kicker,
.media-kit-template-dark .media-kit-hero-copy .kicker,
.media-kit-template-dark .media-kit-platform-label,
.media-kit-template-dark .media-kit-cover-foot,
.media-kit-template-dark .media-kit-cover-catch {
  color: color-mix(in srgb, var(--media-kit-primary) 40%, #ffffff);
}

.media-kit-template-dark .media-kit-cover-metrics span,
.media-kit-template-dark .creator-channel-meta > span,
.media-kit-template-dark .creator-channel-meta > b.subscriber-class-badge,
.media-kit-template-dark .media-kit-stats span,
.media-kit-template-dark .media-kit-growth-summary span,
.media-kit-template-dark .media-kit-owner-analytics-grid span,
.media-kit-template-dark .media-kit-profile-body,
.media-kit-template-dark .media-kit-collab-menu-body,
.media-kit-template-dark .media-kit-pdca-badges span,
.media-kit-template-dark .media-kit-contact .creator-social-links a {
  color: var(--media-kit-dark-text);
  background: var(--media-kit-dark-soft);
  border-color: var(--media-kit-dark-line);
}

.media-kit-template-dark .media-kit-cover-metrics small,
.media-kit-template-dark .media-kit-stats small,
.media-kit-template-dark .media-kit-growth-summary small,
.media-kit-template-dark .media-kit-owner-analytics-grid small,
.media-kit-template-dark .media-kit-social-copy small,
.media-kit-template-dark .media-kit-verified-note {
  color: var(--media-kit-dark-muted);
}

.media-kit-template-business .media-kit-hero {
  border-left: 8px solid var(--media-kit-primary);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--media-kit-primary) 13%, transparent), transparent 54%),
    var(--panel);
}

.media-kit-template-business .media-kit-section {
  border-top: 1px solid var(--line);
}

.media-kit-template-business .media-kit-stats {
  grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr));
}

.media-kit-template-business .media-kit-stats span {
  border-left: 1px solid var(--line);
  text-align: center;
}

.media-kit-template-business .media-kit-stats span:first-child {
  background: var(--panel);
}

.media-kit-template-business .media-kit-stats strong,
.media-kit-template-business .creator-growth-summary strong,
.media-kit-template-business .creator-growth-axis-label {
  color: var(--media-kit-primary);
}

.media-kit-template-business .media-kit-section .gallery-heading h2 {
  color: var(--media-kit-primary);
}

.media-kit-template-business .media-kit-cover-metrics span,
.media-kit-template-business .media-kit-owner-analytics-grid span,
.media-kit-template-business .media-kit-growth-summary span {
  border-radius: 2px;
}

.media-kit-template-pop .media-kit-section {
  background: #f8f9fa;
  border-color: transparent;
  border-radius: 14px;
  box-shadow: none;
}

.media-kit-template-pop .media-kit-section .gallery-heading {
  text-align: center;
}

.media-kit-template-pop .media-kit-section .gallery-heading .kicker {
  color: var(--media-kit-secondary);
}

.media-kit-template-pop .media-kit-section .gallery-heading h2 {
  display: inline-block;
  width: auto;
  padding: 7px 16px;
  color: #ffffff;
  background: var(--media-kit-primary);
  border-radius: 8px;
  line-height: 1.15;
}

.media-kit-template-pop .media-kit-hero {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--media-kit-secondary) 16%, transparent), transparent 46%),
    var(--panel);
  border-color: color-mix(in srgb, var(--media-kit-secondary) 42%, var(--line));
  box-shadow: 0 18px 34px color-mix(in srgb, var(--media-kit-secondary) 12%, transparent);
}

.media-kit-template-pop .media-kit-hero {
  transform: rotate(-0.25deg);
}

.media-kit-template-pop .media-kit-stats span,
.media-kit-template-pop .creator-channel-meta > span {
  background: var(--panel);
  border-color: var(--line);
}

.media-kit-template-pop .media-kit-hero h1 {
  color: color-mix(in srgb, var(--media-kit-primary) 72%, var(--media-kit-secondary));
}

.media-kit-template-elegant {
  gap: 26px;
  background: #ffffff;
}

.media-kit-template-elegant .media-kit-hero,
.media-kit-template-elegant .media-kit-section {
  background: #ffffff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.media-kit-template-elegant .media-kit-hero {
  border-top: 1px solid color-mix(in srgb, var(--media-kit-primary) 42%, #d7dce5);
  border-bottom: 1px solid color-mix(in srgb, var(--media-kit-primary) 26%, #e5e7eb);
}

.media-kit-template-elegant .media-kit-section {
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--media-kit-primary) 18%, #e5e7eb);
}

.media-kit-template-elegant .media-kit-section .gallery-heading {
  text-align: center;
}

.media-kit-template-elegant .media-kit-section .gallery-heading .kicker {
  color: color-mix(in srgb, var(--media-kit-primary) 72%, #555555);
}

.media-kit-template-elegant .media-kit-section .gallery-heading h2 {
  display: inline-block;
  padding: 0 28px 10px;
  color: #555555;
  border-bottom: 1px solid color-mix(in srgb, var(--media-kit-primary) 38%, #cccccc);
}

.media-kit-template-elegant .media-kit-cover-metrics span,
.media-kit-template-elegant .creator-channel-meta > span,
.media-kit-template-elegant .media-kit-stats span,
.media-kit-template-elegant .media-kit-growth-summary span,
.media-kit-template-elegant .media-kit-owner-analytics-grid span {
  background: #ffffff;
  border-color: color-mix(in srgb, var(--media-kit-primary) 18%, #e5e7eb);
  border-radius: 0;
}

.media-kit-template-elegant .media-kit-profile-body,
.media-kit-template-elegant .media-kit-collab-menu-body {
  border-color: color-mix(in srgb, var(--media-kit-primary) 18%, #e5e7eb);
  border-radius: 0;
}

.media-kit-profile-section {
  align-content: start;
}

.media-kit-profile-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 22px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 2;
  text-align: left;
}

.media-kit-collab-menu-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 18px 22px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 2;
  text-align: left;
  white-space: normal;
}

.media-kit-pdca-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.media-kit-pdca-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  color: var(--media-kit-primary);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.media-kit-pdca-inline {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.media-kit-pdca-inline > strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.media-kit-page .media-kit-hero-copy h1 {
  max-width: 100%;
  color: var(--text) !important;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.media-kit-template-pop .media-kit-section .gallery-heading h2::after {
  content: none;
  display: none;
}

.media-kit-bg-soft-grid {
  background:
    url("assets/media-kit-bg-soft-grid.svg") center / cover no-repeat,
    #ffffff;
}

.media-kit-bg-data-wave {
  background:
    url("assets/media-kit-bg-data-wave.svg") center / cover no-repeat,
    #ffffff;
}

.media-kit-bg-pop-light {
  background:
    url("assets/media-kit-bg-pop-light.svg") center / cover no-repeat,
    #ffffff;
}

.media-kit-bg-custom {
  background:
    var(--media-kit-background-image) center / cover no-repeat,
    #ffffff;
}

.media-kit-section {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.media-kit-section .gallery-heading {
  justify-items: center;
  text-align: center;
}

.media-kit-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.media-kit-stats span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.media-kit-stats small,
.media-kit-stats strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.media-kit-stats small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.media-kit-stats strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
}

.media-kit-growth-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.media-kit-growth-summary span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.media-kit-growth-summary small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.media-kit-growth-summary strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.media-kit-chart {
  width: 100%;
  text-align: center;
}

.media-kit-chart .form-note {
  text-align: center;
}

.media-kit-growth-points {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.media-kit-growth-points > strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.media-kit-verified-note {
  width: min(760px, 100%);
  margin: 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.7;
  text-align: center;
}

.media-kit-owner-analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.media-kit-owner-analytics-grid span {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.media-kit-owner-analytics-grid span.is-video_performance {
  grid-column: 1 / -1;
}

.media-kit-owner-analytics-grid small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.media-kit-owner-analytics-grid strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

.media-kit-section > .compare-plan-lock {
  justify-self: center;
}

.media-kit-contact {
  justify-items: center;
  text-align: center;
}

.media-kit-contact-action {
  display: grid;
  gap: 10px;
  justify-items: center;
  width: min(100%, 620px);
  padding: 16px;
  background: color-mix(in srgb, var(--road) 3%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--road) 12%, var(--line));
  border-radius: 8px;
}

.media-kit-contact-action p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
}

.media-kit-contact .creator-social-links {
  justify-content: center;
  width: min(100%, 760px);
}

.media-kit-contact .creator-social-links a {
  align-items: center;
  justify-content: flex-start;
  width: min(100%, 360px);
  min-height: 56px;
  padding: 10px 14px;
  border-radius: 8px;
}

.media-kit-contact .media-kit-social-copy {
  text-align: left;
}

.media-kit-contact .media-kit-social-copy b {
  font-size: 13px;
}

.mypage-table {
  min-width: 760px;
}

.mypage-admin-note {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: color-mix(in srgb, var(--accent) 8%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line));
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mypage-admin-note h2,
.mypage-admin-note p {
  margin: 0;
}

.mypage-admin-note h2 {
  color: var(--text);
  font-size: 18px;
}

.mypage-admin-note p:last-child {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.mypage-presets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.preset-form {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 0 16px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
}

.mypage .favorite-genres-card,
.mypage .youtube-channel-form-card,
.mypage .collab-open-card,
.mypage .rival-channels-form-card,
.mypage .social-links-form-card,
.mypage .watch-promotion-form-card {
  gap: 22px;
}

.mypage .preset-form.favorite-genres-form,
.mypage .preset-form.youtube-channel-form,
.mypage .preset-form.collab-open-form,
.mypage .preset-form.rival-channels-form,
.mypage .preset-form.social-links-form,
.mypage .preset-form.watch-promotion-form,
.mypage .preset-form.channel-submission-form {
  padding: 30px 18px 18px;
}

.preset-form .admin-panel-heading {
  margin: 0 -16px;
}

.preset-list {
  display: grid;
  gap: 12px;
}

.preset-add-button {
  justify-self: center;
  width: fit-content;
  min-width: 112px;
  color: var(--text);
  background: var(--panel);
  border-color: var(--line);
}

.preset-add-button:hover,
.preset-add-button:focus-visible {
  background: color-mix(in srgb, var(--road) 6%, var(--panel));
  border-color: color-mix(in srgb, var(--road) 28%, var(--line));
}

.preset-place-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(120px, 0.85fr) minmax(120px, 0.8fr);
  gap: 10px;
}

.admin-input:last-child {
  margin-bottom: 0;
}

.admin-youtube-status {
  display: block;
  margin: 6px 0;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
}

.admin-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.admin-check input {
  width: auto;
}

.admin-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 16px;
}

.admin-pagination a,
.admin-pagination span {
  display: inline-grid;
  min-width: 38px;
  height: 38px;
  place-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: color-mix(in srgb, var(--panel) 82%, var(--bg));
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.admin-pagination .active {
  color: #fff;
  background: var(--road);
  border-color: var(--road);
}

.admin-pagination .disabled {
  color: var(--muted);
  opacity: 0.45;
}

.inline-form,
.admin-actions form {
  margin: 0;
}

.admin-actions form {
  display: inline-flex;
}

.danger-button {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--accent-strong) 70%, var(--line));
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent-strong) 10%, var(--panel));
  color: var(--accent-strong);
  font-weight: 900;
}

.photo-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
  align-items: start;
}

.photo-detail-main {
  min-width: 0;
  background: #111;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.photo-detail-main img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 130px);
  object-fit: contain;
}

.photo-detail-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  background: color-mix(in srgb, #111 86%, var(--panel));
}

.photo-detail-thumbs a {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.photo-detail-thumbs a.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 34%, transparent);
}

.photo-detail-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  max-height: none;
  object-fit: cover;
}

.photo-detail-side {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.photo-detail-side h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(14px, 2.1vw, 26px);
  line-height: 1.08;
}

.photo-body {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  line-height: 1.75;
}

.photo-detail-side dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.photo-detail-side dl div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.photo-detail-side dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.photo-detail-side dd {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.map-icon-link {
  display: inline-grid;
  width: 26px;
  height: 26px;
  margin-left: 8px;
  place-items: center;
  vertical-align: middle;
  color: #e53935;
  text-decoration: none;
}

.map-pin-icon {
  display: block;
  width: 20px;
  height: 20px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.3 7 13 7 13s7-7.7 7-13c0-3.9-3.1-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5z'/%3E%3Cpath d='M7 21c0 1.1 2.2 2 5 2s5-.9 5-2c0-.5-.5-1-1.4-1.3l-1.1 1.2c.3.1.5.1.7.2-.7.3-1.8.5-3.2.5s-2.5-.2-3.2-.5c.2-.1.4-.1.7-.2l-1.1-1.2C7.5 20 7 20.5 7 21z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.photo-tags {
  margin-top: 0;
}

.photo-related {
  margin-top: 34px;
}

.photo-related h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(12px, 1.8vw, 21px);
}

.photo-detail-side .kicker,
.photo-dialog-detail .kicker,
.photo-related .kicker {
  font-size: 6px;
}

.compact-empty {
  margin: 0;
  padding: 18px;
}

.related-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.related-tile {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.related-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(20, 17, 14, 0.08);
}

.related-tile span,
.related-tile small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-tile span {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.related-tile small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.touring-page {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  gap: 18px;
  width: min(1500px, calc(100% - 32px));
  min-height: calc(100vh - 86px);
  margin: 18px auto 40px;
  align-items: start;
}

.touring-sidebar,
.touring-map-panel {
  min-width: 0;
}

.touring-sidebar {
  display: grid;
  gap: 14px;
}

.touring-heading {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.touring-heading h1 {
  color: var(--text);
  font-size: clamp(28px, 4vw, 44px);
}

.touring-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.touring-list {
  display: grid;
  gap: 10px;
  max-height: calc(100vh - 230px);
  overflow: auto;
  padding-right: 4px;
}

.touring-post {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  min-height: 102px;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  text-align: left;
}

.touring-post.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 20%, transparent);
}

.touring-post img {
  width: 96px;
  height: 82px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--road);
}

.touring-post-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.touring-post-body strong,
.touring-post-body span,
.touring-post-body small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.touring-post-body strong {
  font-size: 14px;
  line-height: 1.35;
}

.touring-post-body span {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 900;
}

.touring-post-body small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.touring-map-panel {
  position: sticky;
  top: 82px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.map-toolbar h2 {
  margin: 0;
  font-size: 22px;
}

.touring-map-panel iframe {
  display: block;
  width: 100%;
  height: calc(100vh - 168px);
  min-height: 560px;
  border: 0;
  background: var(--road);
}

.dialog-open {
  overflow: hidden;
}

.auth-dialog {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
}

.auth-dialog[hidden] {
  display: none;
}

.photo-dialog {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
}

.photo-dialog[hidden] {
  display: none;
}

.dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(6px);
}

.dialog-panel {
  position: relative;
  width: min(440px, 100%);
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.paid-upgrade-panel {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.paid-upgrade-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--brand-navy);
  background: color-mix(in srgb, var(--road) 8%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--road) 18%, var(--line));
  border-radius: 6px;
  font-size: 18px;
}

.paid-upgrade-panel h2,
.paid-upgrade-panel p {
  margin: 0;
}

.paid-upgrade-panel h2 {
  color: var(--text);
  font-size: 20px;
  line-height: 1.35;
}

.paid-upgrade-panel p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.paid-upgrade-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.paid-lock-button,
.paid-lock-inline-button {
  cursor: pointer;
}

.paid-lock-inline-button {
  min-height: 28px;
  padding: 0 10px;
  color: #fff !important;
  background: var(--brand-navy) !important;
  border: 1px solid var(--brand-navy) !important;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(31, 57, 119, 0.16);
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.paid-lock-inline-button:hover,
.paid-lock-inline-button:focus-visible {
  color: #fff !important;
  background: var(--brand-navy-hover) !important;
  border-color: var(--brand-navy-hover) !important;
  box-shadow: 0 8px 20px rgba(31, 57, 119, 0.22);
  transform: translateY(-1px);
}

.paid-upgrade-actions .primary-link:hover,
.paid-upgrade-actions .primary-link:focus-visible {
  color: #fff !important;
  background: var(--brand-navy-hover) !important;
  border-color: var(--brand-navy-hover) !important;
  box-shadow: 0 8px 20px rgba(31, 57, 119, 0.22) !important;
}

.photo-dialog-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 0;
  width: min(1080px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.photo-dialog-image {
  min-width: 0;
  background: #111;
}

.photo-dialog-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: min(760px, calc(100vh - 36px));
  object-fit: contain;
}

.photo-dialog-detail {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
  padding: 28px;
}

.photo-dialog-detail h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(12px, 2vw, 21px);
  line-height: 1.08;
}

.photo-dialog-detail dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.photo-dialog-detail dl div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.photo-dialog-detail dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.photo-dialog-detail dd {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.photo-map-link {
  justify-self: start;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: color-mix(in srgb, var(--panel) 84%, var(--bg));
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
}

.verify-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.verify-card {
  display: grid;
  justify-items: center;
  width: min(560px, 100%);
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  text-align: center;
}

.verify-logo-link {
  display: inline-flex;
  justify-self: center;
  margin-bottom: 18px;
}

.verify-logo {
  display: block;
  width: min(190px, 62vw);
  height: auto;
}

.verify-card h1 {
  margin: 6px 0 10px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.25;
}

.verify-card p:not(.kicker) {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}

.verify-card .primary-link {
  justify-self: center;
}

.form-message,
.location-panel,
.category-fields,
.rival-channel-inline-notice,
.social-link-inline-notice,
.inline-section-notice,
.compare-plan-lock,
.compare-plan-lock.is-paid-plan,
.rival-guide-note,
.channel-history-item,
.channel-history-item.is-milestone,
.channel-history-item.is-growth,
.channel-history-item.is-pick,
.channel-history-item.is-watch,
.channel-history-item.is-fame,
.mypage-admin-note,
.admin-help-box,
.admin-current-notices-list article,
.admin-empty-note,
.channel-submission-note,
.invite-channel-card,
.creator-alert-card,
.creator-alert-card.is-good,
.creator-alert-card.is-hot,
.creator-alert-card.is-locked,
.discovery-section-note,
.discovery-empty-note,
.creator-comparison-note,
.paid-upgrade-panel,
.paid-upgrade-icon,
.media-kit-contact-action {
  background: var(--panel) !important;
  border-color: var(--line) !important;
}

.channel-history-item,
.channel-history-item.is-milestone,
.channel-history-item.is-growth,
.channel-history-item.is-pick,
.channel-history-item.is-watch,
.channel-history-item.is-fame {
  border-left: 1px solid var(--line) !important;
}

.form-message.error,
.rival-channel-inline-notice.error,
.social-link-inline-notice.error,
.inline-section-notice.error,
.inline-section-notice.channel-verify-success {
  background: var(--panel) !important;
  border-color: var(--line) !important;
}

@media (max-width: 900px) {
  .admin-menu-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-menu-panel a,
  .admin-menu-item,
  .admin-menu-panel a:nth-child(4n),
  .admin-menu-item:nth-child(4n),
  .admin-menu-panel a:nth-last-child(-n + 4),
  .admin-menu-item:nth-last-child(-n + 4) {
    border-right: 1px solid var(--road);
    border-bottom: 1px solid var(--road);
  }

  .admin-menu-panel a:nth-child(2n),
  .admin-menu-item:nth-child(2n) {
    border-right: 0;
  }

  .admin-menu-panel a:nth-last-child(-n + 2),
  .admin-menu-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .collab-match-grid {
    grid-template-columns: 1fr;
  }

  .workspace,
  .touring-page,
  .feed-toolbar {
    grid-template-columns: 1fr;
  }

  .composer-panel {
    position: static;
  }

  .touring-map-panel {
    position: static;
  }

  .touring-heading h1 {
    font-size: clamp(14px, 2vw, 22px);
  }

  .touring-heading .desktop-copy {
    display: none;
  }

  .touring-heading .mobile-copy {
    display: block;
  }

  .touring-list {
    max-height: none;
  }

  .touring-map-panel iframe {
    height: 520px;
    min-height: 520px;
  }

  .photo-detail-layout {
    grid-template-columns: 1fr;
  }

  .photo-detail-main img {
    max-height: 68vh;
  }

  .photo-detail-thumbs img {
    max-height: none;
  }

  .photo-dialog-panel {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .photo-dialog-image img {
    height: auto;
    max-height: 58vh;
  }
}

@media (max-width: 1100px) {
  .app-header {
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .nav-actions {
    flex: 1;
    justify-content: flex-end;
  }

  .creator-hero {
    grid-template-columns: 1fr;
  }

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

  .platform-thumbnail-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .watch-promotion-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .featured-recommendation-grid {
    grid-template-columns: 1fr;
  }

  .favorite-creator-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .discovery-section-grid {
    grid-template-columns: 1fr;
  }

  .bike-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .related-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .top-dashboard-main {
    grid-template-columns: 1fr;
  }

  .top-dashboard-brand {
    min-width: 0;
  }

  .top-dashboard-side {
    justify-content: space-between;
  }
}

@media (max-width: 900px) {
  .lp-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .lp-hero-copy {
    max-width: none;
  }

  .lp-hero-copy > p {
    max-width: none;
  }

  .lp-hero-actions {
    width: 100%;
  }

  .lp-hero-actions .primary-link,
  .lp-hero-actions .ghost-button {
    width: min(100%, 360px);
  }
}

@media (max-width: 760px) {
  .media-kit-design-layout,
  .media-kit-color-grid,
  .media-kit-analytics-grid,
  .media-kit-social-links-grid,
  .media-kit-social-followers-grid,
  .media-kit-pdca-grid {
    grid-template-columns: 1fr;
  }

  .media-kit-photo-field {
    justify-items: center;
    text-align: center;
  }

  .media-kit-photo-preview,
  .media-kit-photo-placeholder {
    max-width: 220px;
  }

  .media-kit-photo-delete-form {
    justify-content: center;
  }

  .media-kit-photo-delete-form > .mini-button {
    width: min(100%, 240px);
  }

  .media-kit-design-actions > .media-kit-view-link {
    width: min(100%, 240px);
  }

  .media-kit-design-actions > .submit-button {
    width: min(100%, 240px);
  }

  .media-kit-template-option {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .media-kit-template-sample {
    grid-column: 2;
    width: min(100%, 150px);
  }

  .media-kit-background-option {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .media-kit-background-sample {
    grid-column: 2;
    width: min(100%, 180px);
  }

  .account-page {
    width: min(100% - 20px, 860px);
    margin-top: 18px;
  }

  .account-panel {
    padding: 18px 14px;
  }

  .account-icon-block {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .account-icon-block h2 {
    text-align: center;
  }

  .mypage-heading {
    display: grid;
    gap: 14px;
    align-items: stretch;
  }

  .mypage-heading-main {
    justify-content: center;
    text-align: left;
  }

  .mypage-menu-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 14px;
  }

  .mypage-menu-panel a,
  .mypage-menu-panel a:nth-child(4n),
  .mypage-menu-panel a:nth-last-child(-n + 4) {
    min-height: 94px;
    border-right: 1px solid color-mix(in srgb, var(--road) 48%, var(--line));
    border-bottom: 1px solid color-mix(in srgb, var(--road) 48%, var(--line));
  }

  .mypage-menu-panel a:nth-child(2n) {
    border-right: 0;
  }

  .mypage-menu-panel a:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .mypage-menu-panel strong {
    font-size: 14px;
  }

  .mypage-return-menu-button {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    min-width: 84px;
    min-height: 36px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .mypage-section-group-heading {
    margin: 6px auto -5px;
    padding: 9px 10px 7px;
  }

  .mypage-section-group-heading span {
    font-size: 10px;
  }

  .mypage-section-group-heading strong {
    font-size: 15px;
  }

  .mypage-user-icon-panel {
    width: 100%;
    justify-items: stretch;
  }

  .mypage-user-icon-form {
    grid-template-columns: 1fr auto;
  }

  .mypage-user-icon-delete-form {
    justify-content: center;
  }

  .genre-link-bar,
  .genre-link-bar.is-page {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 7px;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding: 0 4px 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .lp-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 24px 18px;
  }

  .lp-hero-copy h1 {
    font-size: 22px;
  }

  .lp-hero-actions,
  .lp-final-cta .lp-hero-actions {
    width: 100%;
  }

  .lp-hero-actions .primary-link,
  .lp-hero-actions .ghost-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .lp-audience-grid {
    grid-template-columns: 1fr;
  }

  .lp-two-sided-section,
  .lp-final-cta {
    padding: 18px;
  }

  .genre-link-chip {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0 11px;
    font-size: 12px;
    scroll-snap-align: start;
  }

  .media-kit-page {
    width: min(100% - 20px, 1040px);
    margin-top: 18px;
  }

  .media-kit-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .media-kit-hero.has-profile-photo {
    grid-template-columns: 1fr;
  }

  .media-kit-hero.has-profile-photo > img:not(.media-kit-channel-avatar) {
    max-width: 280px;
  }

  .media-kit-hero-actions {
    justify-content: center;
  }

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

  .media-kit-growth-summary {
    grid-template-columns: 1fr;
  }

  .media-kit-owner-analytics-grid {
    grid-template-columns: 1fr;
  }

  .creator-detail-page {
    width: min(100% - 20px, 1180px);
    margin-top: 18px;
  }

  .creator-channel-panel {
    grid-template-columns: 1fr;
  }

  .creator-channel-link {
    width: fit-content;
    min-height: 36px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .creator-support-meter-head {
    display: grid;
    justify-items: center;
  }

  .creator-support-meter p {
    text-align: center;
  }

  .creator-growth-stats {
    grid-template-columns: 1fr;
  }

  .channel-history-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .channel-history-item time {
    white-space: normal;
  }

  .creator-alert-grid,
  .genre-rank-stats {
    grid-template-columns: 1fr;
  }

  .creator-comparison-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creator-rival-grid {
    grid-template-columns: 1fr;
  }

  .creator-rival-card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    min-height: auto;
  }

  .rival-channel-row-form {
    grid-template-columns: 1fr;
  }

  .rival-channel-row-actions {
    justify-content: center;
    width: 100%;
  }

  .rival-channel-saved-card {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .rival-compare-layout {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .rival-channel-saved-link {
    width: 100%;
  }

  .pr-youtube-row-controls,
  .pr-youtube-saved-row,
  .pr-youtube-detail-inputs {
    grid-template-columns: 1fr;
  }

  .pr-youtube-row-number {
    justify-self: center;
  }

  .pr-youtube-register-button,
  .pr-youtube-delete-button {
    justify-self: center;
    min-width: 120px;
  }

  .milestone-share-controls {
    grid-template-columns: 1fr;
  }

  .milestone-share-controls .submit-button {
    justify-self: center;
  }

  .milestone-share-buttons {
    justify-self: center;
    flex-wrap: wrap;
  }

  .social-link-registered,
  .social-link-row-controls,
  .social-link-edit-fields .social-link-row-controls {
    grid-template-columns: 1fr;
  }

  .social-link-registered > span,
  .social-link-followers-quick,
  .social-link-registered-actions {
    justify-content: center;
  }

  .social-link-registered a {
    text-align: center;
  }

  .youtube-verification-card {
    grid-template-columns: 1fr;
  }

  .youtube-verification-card strong {
    max-width: 100%;
    font-size: 16px;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .youtube-verification-code-row {
    grid-template-columns: minmax(0, max-content) auto;
  }

  .creator-page {
    width: min(100% - 20px, 1400px);
    margin-top: 16px;
  }

  .creator-hero {
    min-height: auto;
    padding: 24px;
  }

  .creator-hero-copy h1 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .creator-stats,
  .featured-creators {
    grid-template-columns: 1fr;
  }

  .featured-youtube-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .favorite-folder-add-form {
    grid-template-columns: 1fr;
  }

  .favorite-folder-add-form button {
    width: 100%;
  }

  .hidden-gem-archive-row .platform-thumbnail-grid,
  .archive-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hidden-gem-rate-badge {
    min-width: 58px;
    padding: 5px 7px;
    font-size: 14px;
  }

  .rapid-growth-badge {
    min-width: 68px;
    padding: 5px 7px;
    font-size: 14px;
  }

  .pr-youtube-grid {
    width: 100%;
  }

  .favorite-folder-create-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .favorite-folder-create-form,
  .manual-video-form,
  .favorite-folder-item {
    grid-template-columns: 1fr;
  }

  .mylist-tabs {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    border-radius: 8px;
  }

  .mylist-tabs button {
    flex: 1 1 170px;
  }

  .favorite-folder-create-button,
  .manual-video-submit,
  .favorite-folder-rename-form,
  .candidate-crm-details,
  .candidate-crm-form,
  .favorite-folder-item form,
  .favorite-folder-item button {
    width: 100%;
  }

  .candidate-crm-form {
    grid-template-columns: 1fr;
  }

  .favorite-folder-item > form:not(.candidate-crm-form) {
    grid-column: 1;
    grid-row: auto;
  }

  .favorite-folder-main {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .favorite-folder-actions {
    width: 100%;
    flex: none;
    justify-items: start;
    margin-left: 0;
  }

  .favorite-folder-share-url {
    width: 100%;
    text-align: left;
  }

  .favorite-folder-action-buttons {
    justify-content: flex-start;
  }

  .favorite-folder-share {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .favorite-folder-rename-form {
    grid-template-columns: minmax(0, 1fr) auto auto;
    width: 100%;
  }

  .favorite-folder-rename-form .mini-button {
    width: auto;
  }

  .favorite-folder-edit-button {
    width: auto;
  }

  .favorite-folder-share form,
  .favorite-folder-share button {
    width: auto;
  }

  .favorite-folder-actions > form,
  .favorite-folder-actions > button {
    width: auto;
  }

  .favorite-folder-action-buttons .mini-button {
    width: auto;
  }

  .playlist-page {
    width: min(100% - 20px, 1040px);
    margin-top: 18px;
  }

  .collab-page {
    width: min(100% - 20px, 1120px);
    margin-top: 18px;
  }

  .collab-filter-form {
    grid-template-columns: 1fr;
  }

  .collab-filter-form .submit-button,
  .collab-filter-form .ghost-button {
    justify-self: center;
  }

  .collab-channel-grid {
    grid-template-columns: 1fr;
  }

  .featured-youtube-form {
    width: 100%;
  }

  .featured-youtube-inline-row {
    grid-template-columns: 1fr;
  }

  .featured-youtube-form .submit-button {
    justify-self: center;
  }

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

  .platform-page {
    gap: 22px;
  }

  .top-page .creator-page {
    width: min(100% - 20px, 1700px);
  }

  .top-dashboard-side {
    align-items: stretch;
    flex-direction: column;
  }

  .top-dashboard-side .creator-filter-form {
    width: 100%;
  }

  .top-dashboard-refresh {
    min-width: 0;
    text-align: center;
  }

  .top-dashboard-tabs a {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .creator-filter-form {
    align-items: center;
    flex-direction: row;
    gap: 6px;
    width: 100%;
  }

  .channel-list-filter {
    grid-template-columns: 1fr;
  }

  .channel-list-filter .media-kit-public-filter {
    width: 100%;
    box-sizing: border-box;
  }

  .creator-search-box {
    max-width: none;
    flex-direction: row;
    align-items: center;
    min-height: 36px;
    border-radius: 999px;
  }

  .creator-search-field {
    flex: 1 1 42%;
    min-width: 0;
  }

  .creator-search-field input {
    min-height: 36px;
    padding: 0 8px;
    font-size: 12px;
  }

  .creator-recommend-toggle {
    flex: 0 0 132px;
    justify-content: center;
    gap: 5px;
    min-height: 36px;
    padding: 0 7px;
    border-top: 0;
    border-left: 1px solid var(--line);
    font-size: 10px;
  }

  .creator-recommend-toggle input {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
  }

  .creator-recommend-toggle span {
    min-width: 0;
    overflow: hidden;
    text-overflow: clip;
  }

  .creator-search-button {
    flex: 0 0 38px;
    width: 38px;
    min-height: 36px;
  }

  .creator-search-button span {
    width: 15px;
    height: 15px;
  }

  .creator-filter-form .ghost-button {
    justify-content: center;
    width: auto;
    min-height: 36px;
    padding-inline: 10px;
  }

  .social-links-input-grid {
    grid-template-columns: 1fr;
  }

  .user-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-thumbnail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .platform-row .platform-thumbnail-grid:has(.is-channel-card) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subscriber-tab-panel .platform-thumbnail-grid:has(.is-channel-card) {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 180px));
    justify-content: center;
  }

  .watch-promotion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-recommendation-grid {
    grid-template-columns: 1fr;
  }

  .favorite-creator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .watch-promotion-history {
    grid-template-columns: 1fr;
  }

  .app-header {
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
  }

  .nav-actions {
    flex: 1;
    flex-wrap: wrap;
    gap: 6px 12px;
    justify-content: flex-end;
  }

  .nav-actions .guest-action {
    order: 20;
  }

  .nav-actions #openLoginButton {
    margin-left: auto;
  }

  .nav-actions .ghost-button,
  .nav-actions .primary-link,
  .nav-actions .nav-button,
  .nav-actions .icon-button {
    font-size: 13px;
    font-weight: 900;
    line-height: 1.6;
  }

  .nav-actions [data-mobile-label] {
    color: transparent;
    font-size: 0;
  }

  .nav-actions [data-mobile-label]::after {
    content: attr(data-mobile-label);
    color: var(--text);
    font-size: 13px;
  }

  .nav-actions .account-avatar-link[data-account-initial] {
    position: relative;
    display: inline-grid;
    width: var(--account-avatar-size);
    height: var(--account-avatar-size);
    min-height: var(--account-avatar-size);
    place-items: center;
    padding: 0;
    color: transparent;
    background: var(--road);
    border: 1px solid color-mix(in srgb, var(--road) 22%, var(--line));
    border-radius: 50%;
    box-shadow: 0 6px 14px rgba(34, 58, 114, 0.16);
    font-size: 0;
    text-decoration: none;
    overflow: hidden;
  }

  .nav-actions .account-avatar-link[data-account-initial]::after {
    content: attr(data-account-initial);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
  }

  .nav-actions .primary-link[data-mobile-label]::after,
  .nav-actions .nav-button.primary-link[data-mobile-label]::after,
  .nav-actions .nav-link.active[data-mobile-label]::after {
    color: var(--accent-strong);
  }

  .brand {
    flex: 0 0 auto;
  }

  .brand span:last-child {
    display: none;
  }

  .bike-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-gallery-page .bike-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .top-gallery-page .gallery-tile {
    aspect-ratio: 1;
    border-radius: 6px;
  }

  .top-gallery-page .gallery-caption {
    display: none;
  }

  .related-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .post-confirm-list div,
  .post-confirm-actions {
    grid-template-columns: 1fr;
  }

  .post-confirm-panel {
    max-height: min(760px, calc(100dvh - 28px));
    overflow: auto;
    padding: 16px;
  }
}

@media (max-width: 620px) {
  .creator-growth-chart {
    gap: 6px;
    padding-top: 6px;
  }

  .creator-growth-chart svg {
    min-height: 148px;
  }

  .creator-growth-axis-label {
    font-size: 10px;
  }

  .creator-growth-chart-period {
    font-size: 10px;
    min-height: 16px;
  }

  .creator-growth-chart-period span {
    max-width: 64px;
  }

  .creator-growth-chart-note {
    font-size: 11px;
  }

  .creator-growth-chart-note span {
    font-size: 12px;
  }

  .collab-open-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .collab-open-choice {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
  }

  .admin-operator-card form:first-child {
    grid-template-columns: 1fr;
  }

  .admin-confirm-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .admin-confirm-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-confirm-actions form,
  .admin-confirm-actions .submit-button,
  .admin-confirm-actions .ghost-button {
    width: 100%;
  }

  .contact-confirm-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-confirm-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-confirm-actions form,
  .contact-confirm-actions .ghost-button,
  .contact-confirm-actions .submit-button {
    width: 100%;
  }

  .pricing-plan-grid {
    grid-template-columns: 1fr;
  }

  .pricing-plan-card .primary-link {
    justify-self: stretch;
  }

  .pricing-table {
    min-width: 560px;
  }

  .admin-menu-panel {
    grid-template-columns: 1fr;
  }

  .admin-menu-panel a,
  .admin-menu-item,
  .admin-menu-panel a:nth-child(2n),
  .admin-menu-item:nth-child(2n),
  .admin-menu-panel a:nth-last-child(-n + 2),
  .admin-menu-item:nth-last-child(-n + 2) {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid var(--road);
  }

  .admin-menu-panel a:last-child,
  .admin-menu-item:last-child {
    border-bottom: 0;
  }

  .admin-contact-card-head {
    display: grid;
  }

  .admin-contact-form {
    grid-template-columns: 1fr;
  }

  .admin-contact-person {
    justify-items: start;
    min-width: 0;
    text-align: left;
  }

  .admin-contact-form .admin-muted-button {
    justify-self: center;
  }

  .top-page .hidden-gem-row > .platform-row-heading,
  .top-page .trend-row:not(.near-row) > .platform-row-heading,
  .genre-page .genre-section > .platform-row-heading {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .top-page .hidden-gem-row > .platform-row-heading h2,
  .top-page .hidden-gem-row > .platform-row-heading > span,
  .top-page .hidden-gem-row > .platform-row-heading > a,
  .top-page .trend-row:not(.near-row) > .platform-row-heading h2,
  .top-page .trend-row:not(.near-row) > .platform-row-heading > span,
  .top-page .trend-row:not(.near-row) > .platform-row-heading > a,
  .genre-page .genre-section > .platform-row-heading h2,
  .genre-page .genre-section > .platform-row-heading > span,
  .genre-page .genre-section > .platform-row-heading > a {
    grid-column: 1;
    justify-self: center;
  }

  .user-detail-grid {
    grid-template-columns: 1fr;
  }

  .creator-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .creator-hero-actions .primary-link,
  .creator-hero-actions .ghost-button {
    width: 100%;
  }

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

  .platform-thumbnail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .watch-promotion-grid {
    grid-template-columns: 1fr;
  }

  .favorite-creator-grid {
    grid-template-columns: 1fr;
  }

  .rival-channel-preview-grid {
    grid-template-columns: 1fr;
  }

  .discovery-section-grid {
    grid-template-columns: 1fr;
  }

  .featured-youtube-grid {
    grid-template-columns: 1fr;
  }

  .hidden-gem-archive-row .platform-thumbnail-grid,
  .archive-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-header {
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
  }

  .nav-actions {
    flex: 1;
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  .nav-actions .guest-action {
    order: 20;
  }

  .nav-actions #openLoginButton {
    margin-left: auto;
  }

  .nav-actions .ghost-button,
  .nav-actions .primary-link,
  .nav-actions .nav-button,
  .nav-actions .icon-button {
    min-height: auto;
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--text);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.6;
  }

  .nav-actions .primary-link,
  .nav-actions .nav-button.primary-link {
    color: var(--text);
  }

  .nav-actions .nav-link.active {
    color: var(--accent-strong);
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .nav-actions [data-mobile-label] {
    color: transparent;
    font-size: 0;
  }

  .nav-actions [data-mobile-label]::after {
    content: attr(data-mobile-label);
    color: var(--text);
    font-size: 13px;
  }

  .nav-actions .account-avatar-link[data-account-initial] {
    position: relative;
    display: inline-grid;
    width: var(--account-avatar-size);
    height: var(--account-avatar-size);
    min-height: var(--account-avatar-size);
    place-items: center;
    padding: 0;
    color: transparent;
    background: var(--road);
    border: 1px solid color-mix(in srgb, var(--road) 22%, var(--line));
    border-radius: 50%;
    box-shadow: 0 6px 14px rgba(34, 58, 114, 0.16);
    font-size: 0;
    text-decoration: none;
    overflow: hidden;
  }

  .nav-actions .account-avatar-link[data-account-initial]::after {
    content: attr(data-account-initial);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
  }

  .nav-actions .primary-link[data-mobile-label]::after,
  .nav-actions .nav-button.primary-link[data-mobile-label]::after,
  .nav-actions .nav-link.active[data-mobile-label]::after {
    color: var(--accent-strong);
  }

  .brand {
    flex: 0 0 auto;
  }

  .brand span:last-child {
    display: none;
  }

  .primary-link {
    padding-inline: 12px;
  }

  .member-status {
    max-width: none;
  }

  .prefecture-filter,
  .prefecture-filter label,
  .prefecture-filter select {
    width: 100%;
  }

  .hero {
    min-height: 560px;
  }

  .segmented {
    grid-template-columns: repeat(5, 1fr);
  }

  .segmented button {
    padding: 0 6px;
    font-size: 13px;
  }

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

  .quick-presets,
  .mypage-presets,
  .preset-place-row {
    grid-template-columns: 1fr;
  }

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

  .post-confirm-list div,
  .post-confirm-actions {
    grid-template-columns: 1fr;
  }

  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .post-body-page {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .post-body-page .post-page {
    width: min(100% - 20px, 760px);
    margin-top: 14px;
  }

  .post-body-page .post-page-form {
    padding-bottom: 108px;
  }

  .post-body-page #postSubmitButton {
    position: fixed;
    right: 10px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 10px;
    z-index: 30;
    width: auto;
    min-height: 54px;
    box-shadow: 0 12px 30px rgba(27, 23, 18, 0.24);
  }

  .post-confirm-panel {
    max-height: min(760px, calc(100dvh - 28px));
    overflow: auto;
    padding: 16px;
  }

  .bike-gallery {
    grid-template-columns: 1fr;
  }

  .top-gallery-page .top-gallery-groups {
    gap: 14px;
  }

  .top-gallery-page .gallery-date-group {
    gap: 8px;
  }

  .top-gallery-page .bike-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .top-gallery-page .gallery-tile {
    aspect-ratio: 1;
    border-radius: 6px;
  }

  .top-gallery-page .gallery-caption {
    display: none;
  }

  .touring-post {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .touring-post img {
    width: 84px;
  }

  .map-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .photo-page {
    width: min(100% - 20px, 1320px);
    margin-top: 14px;
  }

  .mypage {
    width: min(100% - 20px, 1180px);
    margin-top: 14px;
  }

  .mypage-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .mypage-stats {
    grid-template-columns: 1fr;
  }

  .photo-detail-side {
    padding: 18px;
  }

  .photo-detail-side dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .photo-dialog {
    padding: 10px;
  }

  .photo-dialog-detail {
    padding: 18px;
  }

  .photo-dialog-detail dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 390px) {
  .creator-recommend-toggle {
    padding-inline: 7px;
    font-size: 10px;
  }
}

.mypage-favorites-section .mypage-favorite-grid,
.mypage-favorites-section .mypage-favorite-video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  width: 100%;
}

.mypage-favorites-section .mypage-favorite-grid > .favorite-manage-card {
  flex: 0 1 300px;
}

.mypage-favorites-section .mypage-favorite-video-grid > .favorite-manage-card {
  flex: 0 1 240px;
}

.mypage .creator-channel-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 480px;
  margin: 16px auto 0 !important;
}

.mypage .creator-channel-actions .creator-channel-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

.mypage .creator-channel-actions > :nth-child(1),
.mypage .creator-channel-actions > :nth-child(2) {
  grid-column: 1 / -1 !important;
  min-height: 48px !important;
  font-size: 14px !important;
}

.mypage .creator-channel-actions > :nth-child(1) {
  background: var(--brand-navy) !important;
  border-color: var(--brand-navy) !important;
  color: #fff !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.mypage .creator-channel-actions > :nth-child(1):hover,
.mypage .creator-channel-actions > :nth-child(1):focus-visible {
  background: var(--brand-navy-hover) !important;
  border-color: var(--brand-navy-hover) !important;
  color: #fff !important;
}

.mypage .creator-channel-actions > :nth-child(3),
.mypage .creator-channel-actions > :nth-child(4) {
  grid-column: span 1 !important;
  min-height: 40px !important;
  font-size: 12px !important;
}

.mypage .creator-channel-actions > :last-child:nth-child(3) {
  grid-column: 1 / -1 !important;
  width: min(240px, 100%) !important;
  justify-self: center;
}

.mypage .creator-channel-actions > :nth-child(2),
.mypage .creator-channel-actions > :nth-child(3),
.mypage .creator-channel-actions > :nth-child(4) {
  background: #fff !important;
  color: var(--text) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
}

.mypage .creator-channel-actions > :nth-child(2):hover,
.mypage .creator-channel-actions > :nth-child(3):hover,
.mypage .creator-channel-actions > :nth-child(4):hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
}

.mypage .creator-channel-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-top: 12px !important;
}

.mypage .creator-channel-meta > span,
.mypage .creator-channel-meta > b.subscriber-class-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 26px !important;
  padding: 0 10px !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

.mypage .creator-channel-meta > b.subscriber-class-badge.is-plain {
  background: #f1f5f9 !important;
  color: #475569 !important;
}

.media-kit-page .creator-channel-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-top: 12px !important;
}

.media-kit-page .creator-channel-meta > span,
.media-kit-page .creator-channel-meta > b.subscriber-class-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 26px !important;
  padding: 0 10px !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
}

.creator-detail-page .creator-channel-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-top: 12px !important;
}

.creator-detail-page .creator-channel-meta > span,
.creator-detail-page .creator-channel-meta > b.subscriber-class-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 26px !important;
  padding: 0 10px !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
}

@media (max-width: 760px) {
  .media-kit-page .featured-youtube-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 12px !important;
    padding-bottom: 8px !important;
    scrollbar-width: none;
  }

  .media-kit-page .featured-youtube-grid::-webkit-scrollbar {
    display: none;
  }

  .media-kit-channel-videos-section .featured-youtube-card:nth-child(n + 4) {
    display: none !important;
  }

  .media-kit-page .featured-youtube-card {
    flex: 0 0 85% !important;
    scroll-snap-align: center !important;
  }

  .creator-detail-page .creator-picks-section .featured-youtube-grid,
  .creator-detail-page .creator-channel-videos-section .featured-youtube-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 12px !important;
    padding-bottom: 8px !important;
    scrollbar-width: none;
  }

  .creator-detail-page .creator-picks-section .featured-youtube-grid::-webkit-scrollbar,
  .creator-detail-page .creator-channel-videos-section .featured-youtube-grid::-webkit-scrollbar {
    display: none;
  }

  .creator-detail-page .creator-picks-section .featured-youtube-card,
  .creator-detail-page .creator-channel-videos-section .featured-youtube-card {
    flex: 0 0 85% !important;
    scroll-snap-align: center !important;
  }
}

.creator-growth-chart svg line {
  stroke: #cbd5e1 !important;
  stroke-width: 1.5 !important;
  stroke-dasharray: 4 4 !important;
}

.creator-growth-chart svg polyline {
  stroke: var(--accent) !important;
  stroke-width: 4 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  filter: drop-shadow(0 6px 8px rgba(214, 64, 34, 0.25)) !important;
}

.creator-growth-axis-label {
  fill: #64748b !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.creator-growth-chart svg {
  min-height: auto !important;
}

.creator-growth-chart-period {
  margin-top: -10px !important;
  color: #64748b !important;
  position: relative !important;
  z-index: 1 !important;
}

.top-page .hidden-gem-archive-row .platform-thumbnail-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.top-page .hidden-gem-archive-row .platform-thumbnail-item {
  flex: 0 0 176px;
  scroll-snap-align: start;
}

.top-page .subscriber-tab-section .subscriber-tabs {
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  overflow-x: visible;
  scrollbar-width: none;
}

.top-page .subscriber-tab-section .subscriber-channel-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 180px));
  justify-content: center;
  justify-items: center;
}

.top-page .subscriber-tab-section .subscriber-channel-grid > .platform-thumbnail-item {
  justify-self: center;
}

.top-page .subscriber-tab-panel > .platform-row-heading {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  justify-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  text-align: center !important;
}

.top-page .subscriber-tab-panel > .platform-row-heading h2 {
  grid-column: 2 !important;
  justify-self: center !important;
  text-align: center !important;
}

.top-page .subscriber-tab-panel > .platform-row-heading span,
.top-page .subscriber-tab-panel > .platform-row-heading a {
  grid-column: 3 !important;
  justify-self: end !important;
  text-align: right !important;
}

@media (max-width: 760px) {
  .top-page .hidden-gem-archive-row .platform-thumbnail-grid {
    gap: 12px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .top-page .hidden-gem-archive-row .platform-thumbnail-grid::-webkit-scrollbar {
    display: none;
  }

  .top-page .hidden-gem-archive-row .platform-thumbnail-item {
    flex-basis: min(68%, 260px);
    scroll-snap-align: start;
  }

  .top-page .subscriber-tab-section .subscriber-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding-inline: 0;
    overflow-x: visible;
  }

  .top-page .near-tab-section > .subscriber-tabs,
  .top-page .subscriber-count-section > .subscriber-tabs {
    display: none;
  }

  .top-page .near-tab-section > .subscriber-mobile-select-label,
  .top-page .subscriber-count-section > .subscriber-mobile-select-label {
    display: grid;
    width: min(100%, 300px);
    margin: 0 auto;
  }

  .top-page .near-tab-section .subscriber-mobile-select,
  .top-page .subscriber-count-section .subscriber-mobile-select {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
  }

  .top-page .subscriber-tab-section .subscriber-channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 180px));
    justify-content: center;
    justify-items: center;
  }

  .top-page .subscriber-count-section .subscriber-channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: stretch;
  }

  .top-page .subscriber-count-section .subscriber-channel-grid > .platform-thumbnail-item,
  .top-page .subscriber-count-section .subscriber-channel-grid .platform-thumbnail {
    width: 100%;
    min-width: 0;
  }

  .top-page .subscriber-count-section .is-channel-card .platform-thumbnail.is-channel {
    min-height: 86px;
    padding: 6px;
  }

  .top-page .subscriber-count-section .is-channel-card .platform-thumbnail.is-channel img {
    width: 38px;
    height: 38px;
  }

  .top-page .subscriber-count-section .is-channel-card .platform-thumbnail span strong {
    font-size: 10px;
  }

  .top-page .subscriber-count-section .is-channel-card .platform-thumbnail span small {
    font-size: 9px;
  }

  .top-page .platform-thumbnail-item.is-channel-card .platform-thumbnail.is-channel {
    display: grid;
    grid-template-rows: auto auto auto;
    align-content: start;
    justify-items: center;
    gap: 6px;
    min-height: 126px;
    aspect-ratio: auto;
    padding: 8px;
  }

  .top-page .platform-thumbnail-item.is-channel-card .platform-thumbnail.is-channel > img {
    grid-row: 2;
    width: 42px;
    height: 42px;
    margin: 0;
    align-self: center;
    justify-self: center;
  }

  .top-page .platform-thumbnail-item.is-channel-card .platform-thumbnail.is-channel > span {
    position: static;
    grid-row: 3;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    text-align: center;
    text-decoration: none;
  }

  .top-page .platform-thumbnail-item.is-channel-card .platform-thumbnail.is-channel > span strong,
  .top-page .platform-thumbnail-item.is-channel-card .platform-thumbnail.is-channel > span small {
    text-align: center;
  }

  .top-page .platform-thumbnail-item.is-channel-card .platform-thumbnail.is-channel > .subscriber-class-badge {
    grid-row: 1;
    justify-self: end;
  }

  .top-page .platform-thumbnail-item.is-rapid-growth-card .platform-thumbnail.is-channel {
    min-height: 134px;
    padding-top: 38px;
  }

  .top-page .platform-thumbnail-item.is-rapid-growth-card .rapid-growth-badge {
    right: 34px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .top-page .platform-thumbnail-item.is-rapid-growth-card > .top-favorite-button {
    top: 10px;
    right: 10px;
    z-index: 5;
  }

  .top-page .platform-thumbnail-item.has-milestone .platform-thumbnail.is-channel {
    min-height: 138px;
    padding-bottom: 38px;
  }

  .top-page .platform-thumbnail-item.has-milestone .platform-thumbnail span {
    bottom: auto;
  }

  .top-page .app-header {
    justify-content: space-between;
    min-height: 54px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .top-page .app-header .nav-actions {
    display: flex;
    flex: 0 1 auto;
    flex-wrap: nowrap;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
  }

  .top-page .app-header .nav-actions #logoutButton {
    display: inline-grid;
  }

  .top-page .app-header .nav-actions .nav-link:not(.account-avatar-link) {
    display: none;
  }

  .top-page .app-header .nav-actions .beginner-guide-link {
    position: relative;
    display: inline-grid !important;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    min-height: 34px;
    place-items: center;
    padding: 0;
    color: transparent !important;
    font-size: 0 !important;
    overflow: hidden;
  }

  .top-page .app-header .nav-actions #logoutButton {
    position: relative;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    min-height: 34px;
    align-self: center;
  }

  .top-page .app-header .nav-actions .beginner-guide-link::after {
    content: none;
  }

  .top-page .app-header .nav-actions .beginner-guide-link .nav-link-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 25px;
    height: 25px;
    object-fit: contain;
    transform: translate(-50%, -50%);
  }

  .top-page .app-header .nav-actions .ghost-button,
  .top-page .app-header .nav-actions .nav-link {
    font-size: 12px;
    line-height: 1.2;
  }

  .top-page .app-header .nav-actions .account-avatar-link[data-account-initial] {
    position: relative;
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    min-height: 34px;
    place-items: center;
    align-self: center;
    color: transparent !important;
    font-size: 0 !important;
    overflow: hidden;
  }

  .top-page .app-header .nav-actions .account-avatar-link[data-account-initial]::after {
    content: attr(data-account-initial);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    transform: none;
  }

  .top-page .app-header .nav-actions .account-avatar-link.has-account-icon[data-account-initial]::after {
    content: none;
  }

  .top-page .app-header .nav-actions .account-avatar-link .account-avatar-text {
    display: none;
  }

  .top-page .app-header .nav-actions .account-avatar-link .account-avatar-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(34, 58, 114, 0.18);
  }

  .nav-actions .account-avatar-link.has-account-icon[data-account-initial]::after {
    content: none;
  }

  .nav-actions .account-avatar-link .account-avatar-text {
    display: none;
  }

  .nav-actions .account-avatar-link .account-avatar-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(34, 58, 114, 0.18);
  }

  .top-page .brand-logo {
    width: 96px;
    max-height: 34px;
  }

  .top-page .mobile-bottom-nav {
    display: none;
  }
}

@media (max-width: 520px) {
  .company-workspace-grid,
  .company-workspace-status,
  .company-member-grid {
    grid-template-columns: 1fr;
  }

  .company-workspace-status .mini-button,
  .company-invite-refresh-form {
    width: 100%;
  }

  .mylist-plan-summary {
    grid-template-columns: auto minmax(0, 1fr);
    width: 100%;
    padding: 10px;
    gap: 8px 10px;
  }

  .mylist-upgrade-button {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
  }

  .paid-upgrade-actions {
    grid-template-columns: 1fr;
  }
}

.media-kit-print-page-numbers {
  display: none;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 8mm;
  }

  @page media-kit-cover {
    @bottom-right {
      content: "1 / 3";
      color: #667085;
      font-size: 8pt;
      font-weight: 700;
    }
  }

  @page media-kit-data {
    @bottom-right {
      content: "2 / 3";
      color: #667085;
      font-size: 8pt;
      font-weight: 700;
    }
  }

  @page media-kit-contact {
    @bottom-right {
      content: "3 / 3";
      color: #667085;
      font-size: 8pt;
      font-weight: 700;
    }
  }

  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body {
    background: #fff;
    color: #111;
  }

  .media-kit-header,
  .app-footer,
  .media-kit-lock,
  .compare-plan-lock,
  .media-kit-page .channel-history-panel {
    display: none !important;
  }

  .media-kit-page {
    width: 100%;
    margin: 0;
    gap: 4mm;
  }

  .media-kit-hero,
  .media-kit-section {
    break-inside: avoid;
    page-break-inside: avoid;
    border-color: #d8d8d8;
    background: #ffffff !important;
  }

  .media-kit-profile-section,
  .media-kit-owner-analytics-section {
    break-inside: auto;
    page-break-inside: auto;
  }

  .media-kit-hero {
    page: media-kit-cover;
    min-height: 258mm;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 96mm minmax(0, 1fr);
    gap: 5mm;
    align-items: center;
    justify-items: center;
    padding: 7mm 12mm;
    border-left-width: 1px !important;
    break-after: page;
    page-break-after: always;
  }

  .media-kit-hero.has-profile-photo {
    grid-template-columns: 1fr;
  }

  .media-kit-hero > img:not(.media-kit-channel-avatar),
  .media-kit-hero.has-profile-photo > img:not(.media-kit-channel-avatar) {
    width: 100%;
    max-width: 140mm;
    height: 96mm;
    max-height: 96mm;
    justify-self: center;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: none !important;
  }

  .media-kit-hero-copy {
    width: min(150mm, 100%);
    gap: 2mm;
    justify-items: center;
    align-content: start;
    text-align: center;
  }

  .media-kit-page .media-kit-hero-copy h1 {
    max-width: 130mm;
    font-size: 20pt;
    line-height: 1.25;
  }

  .media-kit-cover-catch {
    max-width: 132mm;
    font-size: 8pt;
    font-weight: 400;
    line-height: 1.5;
  }

  .media-kit-cover-metrics {
    width: min(118mm, 100%);
    gap: 3mm;
  }

  .media-kit-cover-metrics span {
    padding: 3mm 4mm;
  }

  .media-kit-cover-metrics small {
    font-size: 7pt;
  }

  .media-kit-cover-metrics strong {
    font-size: 13pt;
    font-weight: 600;
  }

  .media-kit-cover-metrics span:nth-child(2) strong {
    font-size: 11.5pt;
  }

  .media-kit-cover-average em {
    font-size: 10.5pt;
  }

  .media-kit-channel-avatar-row {
    width: 14mm;
    margin: 0 auto;
  }

  .media-kit-channel-avatar {
    width: 14mm;
    border: 2px solid #ffffff;
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--media-kit-primary) 20%, #d8d8d8),
      0 6px 14px color-mix(in srgb, var(--media-kit-primary) 14%, transparent) !important;
  }

  .media-kit-template-fixed .media-kit-hero {
    grid-template-columns: 78mm minmax(0, 1fr);
    gap: 10mm;
    padding: 12mm;
    border: 0 !important;
    border-radius: 0 !important;
    background:
      linear-gradient(90deg, var(--media-kit-primary) 0 45%, #ffffff 45%) !important;
  }

  .media-kit-template-fixed .media-kit-hero > img:not(.media-kit-channel-avatar),
  .media-kit-template-fixed .media-kit-hero.has-profile-photo > img:not(.media-kit-channel-avatar) {
    width: 68mm;
    max-width: 68mm;
    border: 4mm solid #ffffff;
    border-radius: 0;
  }

  .media-kit-template-fixed .media-kit-hero-copy {
    justify-items: start;
    text-align: left;
  }

  .media-kit-template-fixed .media-kit-page .media-kit-hero-copy h1,
  .media-kit-template-fixed.media-kit-page .media-kit-hero-copy h1 {
    font-size: 22pt;
    text-align: left;
  }

  .media-kit-template-fixed .media-kit-channel-avatar-row {
    width: 24mm;
    justify-self: start;
  }

  .media-kit-template-fixed .media-kit-channel-avatar {
    width: 24mm;
  }

  .media-kit-template-fixed .media-kit-hero-copy .creator-channel-meta,
  .media-kit-template-fixed .media-kit-hero-social-links {
    justify-content: flex-start;
  }

  .media-kit-hero-copy .creator-channel-meta {
    justify-content: center;
    gap: 3mm;
  }

  .media-kit-page .creator-channel-meta > span,
  .media-kit-page .creator-channel-meta > b.subscriber-class-badge {
    padding: 2mm 3mm;
    font-size: 8pt;
  }

  .media-kit-hero-social-links {
    gap: 1.2mm;
    width: 64mm;
    margin-top: 0;
    padding-top: 2mm;
  }

  .media-kit-hero-social-links > strong {
    width: 100%;
    padding: 0;
    font-size: 7pt;
  }

  .media-kit-hero-social-links a {
    width: auto;
    min-height: 0;
    padding: 0.5mm 1mm;
  }

  .media-kit-hero-social-links img,
  .media-kit-social-fallback {
    width: 5mm;
    height: 5mm;
  }

  .media-kit-contact .creator-social-links img {
    width: 7mm;
    height: 7mm;
  }

  .media-kit-social-copy b {
    font-size: 6.5pt;
  }

  .media-kit-social-copy small {
    font-size: 6.5pt;
  }

  .media-kit-cover-foot {
    margin-top: 1mm;
    font-size: 7pt;
  }

  .media-kit-template-pop .media-kit-hero {
    transform: none !important;
  }

  .media-kit-template-business .media-kit-hero {
    border-left: 7px solid var(--media-kit-primary) !important;
    background: #ffffff !important;
  }

  .media-kit-template-business .media-kit-section {
    border-top: 1px solid color-mix(in srgb, var(--media-kit-primary) 28%, #d8d8d8) !important;
    border-radius: 2px;
    background: #ffffff !important;
  }

  .media-kit-template-business .media-kit-section .gallery-heading h2 {
    color: var(--media-kit-primary) !important;
  }

  .media-kit-template-business .media-kit-cover-metrics span,
  .media-kit-template-business .media-kit-owner-analytics-grid span,
  .media-kit-template-business .media-kit-growth-summary span,
  .media-kit-template-business .media-kit-profile-body,
  .media-kit-template-business .media-kit-collab-menu-body {
    border-radius: 2px;
  }

  .media-kit-section {
    gap: 2.5mm;
    padding: 4.5mm;
    border-radius: 6px;
  }

  .media-kit-profile-section {
    page: media-kit-data;
  }

  .media-kit-channel-videos-section,
  .media-kit-summary-section,
  .media-kit-owner-analytics-section {
    page: media-kit-data;
  }

  .media-kit-collab-menu-section {
    page: media-kit-data;
  }

  .media-kit-growth-section,
  .media-kit-contact {
    page: media-kit-contact;
  }

  .media-kit-channel-videos-section,
  .media-kit-summary-section {
    display: none !important;
  }

  .media-kit-section .gallery-heading {
    margin-bottom: 2mm;
  }

  .media-kit-section .gallery-heading .kicker {
    margin-bottom: 1.5mm;
    font-size: 7pt;
  }

  .media-kit-section .gallery-heading h2 {
    font-size: 15pt;
    line-height: 1.25;
  }

  .media-kit-profile-body,
  .media-kit-collab-menu-body {
    max-width: 160mm;
    padding: 4mm 5mm;
    font-size: 8.5pt;
    line-height: 1.65;
    overflow-wrap: anywhere;
    word-break: break-word;
    break-inside: auto;
    page-break-inside: auto;
  }

  .media-kit-collab-menu-section {
    gap: 5mm;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .media-kit-collab-menu-body {
    width: min(145mm, 100%);
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .media-kit-pdca-inline {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .media-kit-page .featured-youtube-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 3.5mm !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
    scroll-snap-type: none !important;
  }

  .media-kit-page .featured-youtube-card {
    display: grid !important;
    gap: 2mm !important;
    width: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    padding: 2mm !important;
    color: #111 !important;
    background: #ffffff !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    scroll-snap-align: unset !important;
  }

  .media-kit-page .featured-youtube-card img {
    width: 100% !important;
    height: 16mm !important;
    max-height: 16mm !important;
    object-fit: cover !important;
    border-radius: 5px !important;
  }

  .media-kit-page .featured-youtube-card span {
    position: static !important;
    min-height: auto !important;
    padding: 0 !important;
    color: #111 !important;
    background: transparent !important;
    font-size: 7.5pt !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    overflow: hidden !important;
    white-space: normal !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  .media-kit-stats,
  .media-kit-growth-summary {
    gap: 3mm !important;
  }

  .media-kit-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .media-kit-growth-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .media-kit-stats span,
  .media-kit-growth-summary span {
    padding: 2.8mm;
  }

  .media-kit-stats small,
  .media-kit-growth-summary small {
    font-size: 7pt;
  }

  .media-kit-stats strong,
  .media-kit-growth-summary strong {
    font-size: 13pt;
  }

  .media-kit-owner-analytics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 2mm;
  }

  .media-kit-owner-analytics-grid span {
    gap: 1mm;
    padding: 2.5mm;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .media-kit-owner-analytics-grid span.is-video_performance {
    grid-column: span 2 !important;
  }

  .media-kit-owner-analytics-grid small {
    color: #667085;
    font-size: 6.8pt;
    font-weight: 800;
  }

  .media-kit-owner-analytics-grid strong {
    color: #111111;
    font-size: 8.6pt;
    font-weight: 900;
    line-height: 1.35;
  }

  .media-kit-verified-note {
    font-size: 7pt;
    line-height: 1.4;
  }

  .media-kit-pdca-badges {
    gap: 2.5mm;
  }

  .media-kit-pdca-badges span {
    min-height: 8mm;
    padding: 1.8mm 4mm;
    font-size: 8pt;
  }

  .media-kit-growth-points {
    gap: 2.5mm;
    padding-top: 3mm;
  }

  .media-kit-growth-section {
    grid-template-columns: 50mm minmax(0, 1fr);
    align-items: start;
    column-gap: 6mm;
  }

  .media-kit-growth-section .gallery-heading {
    grid-column: 1 / -1;
  }

  .media-kit-growth-section .media-kit-growth-summary {
    grid-template-columns: 1fr !important;
    gap: 1.5mm !important;
  }

  .media-kit-growth-section .media-kit-growth-summary span {
    padding: 2mm;
  }

  .media-kit-growth-section .media-kit-growth-summary strong {
    font-size: 11pt;
  }

  .media-kit-growth-section .media-kit-chart svg {
    height: 36mm;
    max-height: 36mm;
  }

  .media-kit-growth-section .creator-growth-chart-period,
  .media-kit-growth-section .creator-growth-chart-note {
    font-size: 7.5pt;
  }

  .media-kit-growth-section .media-kit-growth-points {
    display: none !important;
  }

  .media-kit-growth-points .creator-alert-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 3mm !important;
  }

  .media-kit-growth-points .creator-alert-card {
    gap: 1.5mm;
    padding: 3mm;
  }

  .media-kit-growth-points .creator-alert-card strong {
    font-size: 9pt;
  }

  .media-kit-growth-points .creator-alert-card p,
  .media-kit-growth-points .creator-alert-mini-label {
    font-size: 7.5pt;
    line-height: 1.35;
  }

  .media-kit-contact {
    gap: 1.5mm;
    justify-items: stretch;
    text-align: left;
  }

  .media-kit-contact .gallery-heading {
    display: none;
  }

  .media-kit-contact-action {
    display: none;
  }

  .media-kit-contact-action p {
    font-size: 8pt;
    line-height: 1.5;
    text-align: center;
  }

  .media-kit-contact .creator-social-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5mm 3mm;
    width: 100%;
  }

  .media-kit-contact .creator-social-links a {
    display: grid;
    grid-template-columns: 6mm minmax(0, 1fr);
    gap: 1.5mm;
    align-items: center;
    min-height: 0;
    padding: 1.5mm 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
  }

  .media-kit-contact .creator-social-links img,
  .media-kit-contact .media-kit-social-fallback {
    width: 5.5mm;
    height: 5.5mm;
  }

  .media-kit-contact .media-kit-social-copy b {
    font-size: 8pt;
  }

  .media-kit-contact .media-kit-social-copy small {
    font-size: 6.5pt;
    line-height: 1.35;
  }

  .featured-youtube-card,
  .creator-social-links a {
    break-inside: avoid;
  }

  .media-kit-template-trust .media-kit-hero,
  .media-kit-template-trust .media-kit-section,
  .media-kit-template-pro .media-kit-hero,
  .media-kit-template-pro .media-kit-section {
    border: 0 !important;
    border-radius: 2px;
    background: #ffffff !important;
  }

  .media-kit-template-trust .media-kit-hero,
  .media-kit-template-pro .media-kit-hero {
    border-left: 7px solid var(--media-kit-primary) !important;
  }

  .media-kit-template-trust .media-kit-section,
  .media-kit-template-pro .media-kit-section {
    padding-left: 18mm;
  }

  .media-kit-template-trust .media-kit-section .gallery-heading h2,
  .media-kit-template-pro .media-kit-section .gallery-heading h2 {
    border-left: 5px solid var(--media-kit-primary);
    padding-left: 9px;
    color: #333333 !important;
    text-align: left;
  }

  .media-kit-template-trust .media-kit-section .gallery-heading .kicker,
  .media-kit-template-pro .media-kit-section .gallery-heading .kicker {
    padding-left: 14px;
    text-align: left;
  }

  .media-kit-template-trust .media-kit-cover-metrics span,
  .media-kit-template-trust .media-kit-owner-analytics-grid span,
  .media-kit-template-trust .media-kit-growth-summary span,
  .media-kit-template-trust .media-kit-profile-body,
  .media-kit-template-trust .media-kit-collab-menu-body,
  .media-kit-template-pro .media-kit-cover-metrics span,
  .media-kit-template-pro .media-kit-owner-analytics-grid span,
  .media-kit-template-pro .media-kit-growth-summary span,
  .media-kit-template-pro .media-kit-profile-body,
  .media-kit-template-pro .media-kit-collab-menu-body {
    border-radius: 2px;
  }

  .media-kit-template-dark {
    background: #0f172a !important;
  }

  .media-kit-template-dark .media-kit-hero,
  .media-kit-template-dark .media-kit-section {
    color: #f8fafc;
    background: #111827 !important;
    border-color: rgba(255, 255, 255, 0.26);
  }

  .media-kit-template-dark .media-kit-hero h1,
  .media-kit-template-dark .media-kit-section h2,
  .media-kit-template-dark .media-kit-cover-metrics strong,
  .media-kit-template-dark .media-kit-growth-summary strong,
  .media-kit-template-dark .media-kit-owner-analytics-grid strong,
  .media-kit-template-dark .media-kit-social-copy b {
    color: #f8fafc !important;
  }

  .media-kit-template-dark .media-kit-cover-catch,
  .media-kit-template-dark .media-kit-platform-label,
  .media-kit-template-dark .media-kit-hero-copy .kicker,
  .media-kit-template-dark .gallery-heading .kicker,
  .media-kit-template-dark .media-kit-cover-foot {
    color: color-mix(in srgb, var(--media-kit-primary) 36%, #ffffff) !important;
  }

  .media-kit-template-dark .media-kit-cover-metrics span,
  .media-kit-template-dark .media-kit-owner-analytics-grid span,
  .media-kit-template-dark .media-kit-growth-summary span,
  .media-kit-template-dark .media-kit-profile-body,
  .media-kit-template-dark .media-kit-collab-menu-body,
  .media-kit-template-dark .media-kit-pdca-badges span {
    color: #f8fafc !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
  }

  .media-kit-template-dark .media-kit-cover-metrics small,
  .media-kit-template-dark .media-kit-owner-analytics-grid small,
  .media-kit-template-dark .media-kit-growth-summary small,
  .media-kit-template-dark .media-kit-social-copy small,
  .media-kit-template-dark .media-kit-verified-note {
    color: #cbd5e1 !important;
  }

  .media-kit-template-dark .media-kit-contact .creator-social-links a {
    border-bottom-color: rgba(255, 255, 255, 0.25);
  }

  .media-kit-template-pop .media-kit-section {
    background: #f8f9fa !important;
    border-color: transparent !important;
    border-radius: 10px;
  }

  .media-kit-template-pop .media-kit-section .gallery-heading {
    text-align: center;
  }

  .media-kit-template-pop .media-kit-section .gallery-heading h2 {
    display: inline-block;
    width: auto;
    padding: 5px 12px;
    color: #ffffff !important;
    background: var(--media-kit-primary) !important;
    border-radius: 7px;
  }

  .media-kit-template-pop .media-kit-section .gallery-heading .kicker {
    color: var(--media-kit-secondary) !important;
  }

  .media-kit-template-elegant {
    background: #ffffff !important;
  }

  .media-kit-template-elegant .media-kit-hero,
  .media-kit-template-elegant .media-kit-section {
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0;
  }

  .media-kit-template-elegant .media-kit-hero {
    border-top: 1px solid color-mix(in srgb, var(--media-kit-primary) 42%, #d7dce5) !important;
    border-bottom: 1px solid color-mix(in srgb, var(--media-kit-primary) 26%, #e5e7eb) !important;
  }

  .media-kit-template-elegant .media-kit-section {
    border-top: 1px solid color-mix(in srgb, var(--media-kit-primary) 18%, #e5e7eb) !important;
  }

  .media-kit-template-elegant .media-kit-section .gallery-heading {
    text-align: center;
  }

  .media-kit-template-elegant .media-kit-section .gallery-heading h2 {
    display: inline-block;
    padding: 0 22px 8px;
    color: #555555 !important;
    border-bottom: 1px solid color-mix(in srgb, var(--media-kit-primary) 38%, #cccccc);
  }

  .media-kit-template-elegant .media-kit-cover-metrics span,
  .media-kit-template-elegant .media-kit-owner-analytics-grid span,
  .media-kit-template-elegant .media-kit-growth-summary span,
  .media-kit-template-elegant .media-kit-profile-body,
  .media-kit-template-elegant .media-kit-collab-menu-body {
    border-radius: 0;
    border-color: color-mix(in srgb, var(--media-kit-primary) 18%, #e5e7eb) !important;
    background: #ffffff !important;
  }
}
