:root {
  color-scheme: light;
  --bg: #f5f0e7;
  --ink: #171a1f;
  --muted: #68717c;
  --panel: #fffaf1;
  --panel-2: #ffffff;
  --line: #ded3c3;
  --brand: #00bfa6;
  --brand-ink: #003f38;
  --coral: #ff5a45;
  --gold: #f5b84b;
  --blue: #2f6fed;
  --shadow: 0 18px 44px rgba(23, 26, 31, 0.12);
}

.episode-list-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.episode-list-thumbnail {
  width: 140px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  background: var(--surface-soft);
}

.episode-list-body {
  display: grid;
  gap: 8px;
}

@media (max-width: 600px) {
  .episode-list-item {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .episode-list-thumbnail {
    width: 96px;
  }
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111418;
  --ink: #f2f5f7;
  --muted: #aab3bc;
  --panel: #191f24;
  --panel-2: #222a31;
  --line: #313b44;
  --brand: #28e0c7;
  --brand-ink: #062724;
  --coral: #ff7665;
  --gold: #ffd166;
  --blue: #74a0ff;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--brand) 7%, transparent), transparent 280px),
    var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", "Malgun Gothic", system-ui, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

textarea { min-height: 110px; resize: vertical; padding: 12px 13px; font: inherit; }
.management-hero { display:flex; align-items:end; justify-content:space-between; gap:20px; }
.management-title { font-size:clamp(42px,7vw,72px); }
.management-grid { display:grid; grid-template-columns:minmax(280px,.75fr) minmax(0,1.25fr); gap:18px; align-items:start; }
.form-panel h3 { margin-bottom:18px; }
.table-wrap { overflow-x:auto; }
table { width:100%; border-collapse:collapse; }
.role-editor { display:inline-flex; align-items:center; gap:6px; margin:3px 8px 3px 0; }
.role-editor select { min-width:110px; }
.role-editor button { min-height:34px; padding:0 10px; }
.role-label { display:inline-block; margin-right:8px; }
.account-filter-bar { display:grid; grid-template-columns:minmax(220px,1fr) minmax(150px,220px); gap:12px; margin:14px 0; }
.account-grant-panel { max-width:760px; }
.account-lookup-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:12px; }
.account-verified-card { display:grid; gap:4px; margin-top:14px; padding:14px; border:1px solid var(--line); border-radius:10px; background:var(--panel-2); }
.account-verified-card span { color:var(--muted); }
.account-grant-actions { display:grid; grid-template-columns:minmax(220px,1fr) auto; align-items:end; gap:12px; margin-top:14px; }
@media (max-width:640px) { .account-filter-bar { grid-template-columns:1fr; } }
@media (max-width:640px) { .account-lookup-row,.account-grant-actions { grid-template-columns:1fr; } }
.day-options { display:flex; flex-wrap:wrap; gap:10px; padding:14px; border:1px solid var(--line); border-radius:10px; }
.day-options legend { font-weight:850; }
.day-options label { display:inline-flex; flex-direction:row; align-items:center; gap:5px; }
.thumbnail-preview { display:block; width:min(100%,420px); max-height:420px; object-fit:contain; border:1px solid var(--line); border-radius:12px; background:var(--panel-2); }
.author-lookup { display:grid; align-content:start; gap:10px; padding:14px; border:1px solid var(--line); border-radius:12px; background:var(--panel-2); }
.manuscript-work-list { margin-top:24px; }
.manuscript-work-table { width:100%; }
.manuscript-work-table td { vertical-align:middle; }
.manuscript-work-table td:last-child { text-align:right; }
.manuscript-back { margin-bottom:20px; }
.episode-thumbnail-editor { display:grid; gap:10px; margin:10px 0; padding:12px; border:1px solid var(--line); border-radius:10px; background:var(--panel-2); }
.episode-thumbnail-editor canvas { width:320px; max-width:100%; aspect-ratio:16/9; border-radius:8px; background:#111; }
.review-toolbar { position:sticky; top:10px; z-index:3; display:flex; flex-wrap:wrap; gap:8px; margin:18px 0; padding:12px; border:1px solid var(--line); border-radius:12px; background:var(--panel); }
.review-stage { position:relative; width:min(100%,900px); margin:auto; }
.review-pages { display:grid; gap:0; width:min(100%,900px); margin:auto; }
.review-stage img { display:block; width:100%; height:auto; }
.review-stage canvas { position:absolute; inset:0; width:100%; height:100%; touch-action:none; cursor:crosshair; }
.review-feedback-summary,.review-feedback-form { display:grid; gap:10px; margin:18px 0; padding:16px; border:1px solid var(--line); border-radius:12px; background:var(--panel); }
.review-feedback-summary p,.review-feedback-form textarea { white-space:pre-wrap; }
.review-feedback-form .reject-button { justify-self:end; border-color:#c51d2b; background:#c51d2b; color:#fff; }
.thumbnail-result { display:grid; gap:10px; margin:12px 0; }
.thumbnail-result canvas { width:320px; max-width:100%; border-radius:8px; }
.thumbnail-crop-dialog { width:min(720px,calc(100% - 24px)); padding:0; border:1px solid var(--line); border-radius:16px; background:var(--panel); color:var(--ink); }
.thumbnail-crop-dialog::backdrop { background:rgba(15,18,25,.7); }
.crop-shell { display:grid; gap:14px; padding:22px; }
.crop-shell canvas { width:100%; aspect-ratio:16/9; background:#111; border-radius:10px; touch-action:none; cursor:grab; }
.table-actions { display:flex; gap:6px; }
.admin-global-status { min-height:24px; margin-top:16px; }
.admin-toolbar { display:flex; align-items:end; gap:14px; margin-top:18px; padding:16px; border:1px solid var(--line); border-radius:14px; background:var(--panel); }
.admin-toolbar label { min-width:180px; }
.admin-toolbar p { margin-left:auto; color:var(--muted); font-weight:850; }
.admin-work-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,520px),1fr)); gap:20px; }
.work-admin-table td { vertical-align:middle; }
.work-admin-table td:first-child { min-width:180px; }
.work-admin-table td:nth-child(4) { min-width:220px; }
.work-edit-dialog { width:min(760px,calc(100% - 28px)); max-height:90vh; padding:0; overflow:auto; border:1px solid var(--line); border-radius:18px; background:var(--panel); color:var(--ink); box-shadow:0 24px 70px rgba(0,0,0,.3); }
.work-edit-dialog::backdrop { background:rgba(15,18,25,.62); }
.work-dialog-shell { padding:24px; }
.work-dialog-shell > header { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:18px; }
.dialog-close { width:40px; min-height:40px; padding:0; font-size:26px; }
.requested-account-toggle { display:flex!important; flex-direction:row!important; align-items:center; gap:8px; width:100%; margin-top:10px; color:var(--muted); font-size:13px; font-weight:700; }
.requested-account-toggle input[type="checkbox"] { flex:0 0 18px; width:18px; min-height:18px; height:18px; margin:0; accent-color:var(--brand); }
.requested-account-toggle span { min-width:0; line-height:1.35; }
.final-publish-days { display:flex; flex-wrap:wrap; gap:8px; }
.final-publish-days label { display:inline-flex!important; grid-template-columns:auto auto; align-items:center; gap:5px; padding:7px 9px; border:1px solid var(--line); border-radius:8px; background:var(--panel); color:var(--ink); }
.final-publish-days input[type="checkbox"] { width:17px; min-height:17px; height:17px; margin:0; accent-color:var(--brand); }
.requested-days-info { display:flex; justify-content:space-between; gap:12px; padding:9px 10px; border-radius:8px; background:color-mix(in srgb,var(--brand) 12%,var(--panel)); color:var(--ink); }
.requested-days-info span { text-align:right; font-weight:800; }
.use-requested-days { display:flex!important; grid-template-columns:auto 1fr; align-items:center; gap:7px; color:var(--muted); font-size:13px; }
.use-requested-days input[type="checkbox"] { width:17px; min-height:17px; height:17px; margin:0; accent-color:var(--brand); }
.admin-work-card { min-width:0; padding:22px; border:1px solid var(--line); border-radius:16px; background:var(--panel); box-shadow:var(--shadow); }
.admin-work-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.admin-work-card-head h2 { overflow-wrap:anywhere; }
.work-created-at { display:block; margin-top:5px; color:var(--muted); font-size:13px; }
.submission-badge { flex:none; padding:6px 10px; border-radius:999px; background:var(--panel-2); color:var(--muted); font-size:13px; font-weight:850; }
.submission-badge.is-assigned { background:color-mix(in srgb,#20a464 18%,var(--panel)); color:#16804d; }
.submission-badge.is-rejected { background:color-mix(in srgb,#e32636 15%,var(--panel)); color:#c51d2b; }
.work-request-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:18px 0; }
.work-request-summary > div { min-width:0; padding:10px; border-radius:10px; background:var(--panel-2); }
.work-request-summary dt { color:var(--muted); font-size:12px; font-weight:800; }
.work-request-summary dd { margin:4px 0 0; overflow-wrap:anywhere; font-weight:800; }
.work-assignment-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.work-assignment-grid label { min-width:0; }
.work-assignment-grid select { width:100%; min-width:0; }
.work-edit-dialog .work-assignment-grid > label:first-child { grid-column:1 / -1; }
.work-edit-dialog .work-assignment-grid > label { align-content:start; padding:12px; border:1px solid var(--line); border-radius:10px; background:var(--panel-2); }
.admin-work-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px; margin-top:18px; padding-top:16px; border-top:1px solid var(--line); }
.work-edit-dialog .admin-work-actions button { flex:0 0 auto; white-space:nowrap; }
.reject-button { color:#c51d2b; }
.delete-button { margin-right:auto; border-color:#c51d2b; background:#c51d2b; color:#fff; }
.work-preference-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.work-preference-actions button.is-active { border-color:var(--ink); background:color-mix(in srgb,var(--brand) 25%,var(--panel)); color:var(--ink); }
@media (max-width:760px) { .admin-toolbar { align-items:stretch; flex-direction:column; } .admin-toolbar label { min-width:0; } .admin-toolbar p { margin-left:0; } .work-request-summary,.work-assignment-grid { grid-template-columns:1fr; } .admin-work-actions { flex-direction:column-reverse; } .admin-work-actions button { width:100%; } .delete-button { margin-right:0; } }
th,td { border-bottom:1px solid var(--line); padding:12px 10px; text-align:left; vertical-align:middle; }
th { color:var(--muted); font-size:13px; }
.work-list { display:grid; gap:10px; }
.work-item { width:100%; min-height:74px; justify-content:space-between; text-align:left; }
.work-item[aria-current="true"] { border-color:var(--ink); background:color-mix(in srgb,var(--brand) 15%,var(--panel)); box-shadow:3px 3px 0 var(--ink); }
.work-item small { color:var(--muted); }
.role-chip,.state-chip { display:inline-flex; border-radius:999px; background:color-mix(in srgb,var(--brand) 18%,var(--panel)); padding:4px 8px; font-size:12px; font-weight:850; }
.episode-panel { margin-top:18px; }
.episode-content { display:grid; gap:24px; margin-top:24px; }
.manuscript-image { display:block; width:100%; height:auto; margin:0 auto; }
.manuscript-preview { display:grid; gap:0; }
.author-note { padding:20px; border:1px solid var(--line); border-radius:12px; background:var(--panel-2); }
.author-note p { margin-top:8px; white-space:pre-wrap; }
.register-panel { max-width:720px; }
.register-panel .inline-check { display:inline-flex; flex-direction:row; align-items:center; justify-self:start; gap:8px; width:auto; min-height:38px; margin:2px 0; padding:8px 12px; border:1px solid var(--line); border-radius:8px; background:var(--panel-2); color:var(--ink); cursor:pointer; }
.register-panel .inline-check input[type="checkbox"] { flex:0 0 18px; width:18px; min-height:18px; height:18px; margin:0; padding:0; accent-color:var(--brand); }
[data-assignment-panel] { display:none !important; }
.notification-button { min-height:38px; padding:0 12px; }
.notification-button { position:relative; }
.notification-button.has-unread::after { content:""; position:absolute; top:5px; right:5px; width:9px; height:9px; border-radius:50%; background:#e32636; box-shadow:0 0 0 2px var(--panel); }
.notification-panel { position:fixed; z-index:50; top:72px; right:20px; width:min(390px,calc(100vw - 28px)); max-height:70vh; overflow:auto; border:1px solid var(--line); border-radius:8px; background:var(--panel); box-shadow:var(--shadow); padding:10px; }
.notification-item { display:block; width:100%; height:auto; min-height:52px; margin-bottom:7px; text-align:left; line-height:1.4; }
.notification-item[data-read="true"] { opacity:.58; }
.community-list { display:grid; gap:12px; margin-top:16px; }
.community-item { border:1px solid var(--line); border-radius:8px; background:var(--panel-2); padding:16px; }
.community-item p { margin-top:8px; white-space:pre-wrap; line-height:1.6; }
.comment-report-button { min-height:32px; height:auto; margin-top:10px; padding:5px 10px; color:var(--muted); font-size:12px; }
.episode-content, .episode-content img { -webkit-user-select:none; user-select:none; -webkit-user-drag:none; -webkit-touch-callout:none; }
.stars { display:flex; gap:7px; margin:12px 0; }
.stars button { width:44px; padding:0; font-size:22px; }
@media(max-width:900px){.management-grid{grid-template-columns:1fr}.management-hero{align-items:start;flex-direction:column}}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 12px 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-size: 22px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 950;
}

.nav-link {
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  padding: 9px 12px;
}

.nav-link[aria-current="page"],
.nav-link:hover {
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: var(--ink);
}

.nav-link.is-disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.nav-link.is-disabled:hover {
  background: transparent;
  color: var(--muted);
}

.theme-toggle,
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.theme-toggle {
  width: 42px;
  padding: 0;
}

.button,
button {
  gap: 8px;
  padding: 0 16px;
}

.primary {
  border-color: var(--ink);
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.ghost {
  background: transparent;
}

.page {
  max-width: 1220px;
  margin: 0 auto;
  padding: 30px 22px 64px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  font-size: 26px;
  line-height: 1.2;
}

h3 {
  font-size: 18px;
}

.eyebrow {
  color: var(--coral);
  font-size: 14px;
  font-weight: 950;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 132px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 96%, transparent) 0 36%, color-mix(in srgb, var(--bg) 62%, transparent) 58%, transparent),
    linear-gradient(180deg, transparent 65%, var(--bg)),
    url("/assets/hero-webtoon.png") center right / cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  width: min(58%, 700px);
  min-height: inherit;
  padding: 56px;
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
}

.strip-item {
  display: flex;
  min-height: 74px;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 82%, transparent);
  padding: 13px;
  backdrop-filter: blur(16px);
}

.strip-item strong {
  display: block;
}

.strip-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.section {
  padding-top: 44px;
}

.home-title { font-size: clamp(40px, 6vw, 68px); }

.event-grid { position: relative; display: grid; gap: 14px; }
.event-viewport { min-width: 0; }
.event-banner { position: relative; display: flex; min-height: 340px; overflow: hidden; align-items: end; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(135deg, var(--blue), var(--coral)); background-position: center; background-size: cover; box-shadow: var(--shadow); color: #fff; padding: 26px; }
.event-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 15%, rgba(0,0,0,.75)); }
.event-banner-fallback { grid-column: 1 / -1; min-height: 340px; background-position: center 38%; }
.event-banner-fallback::before { background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.26) 72%, rgba(0,0,0,.55)); }
.event-banner-fallback .event-content { max-width: 620px; }
.event-banner-fallback h2 { font-size: clamp(30px, 5vw, 54px); }
.event-content { position: relative; z-index: 1; display: grid; gap: 8px; }
.event-content p { color: rgba(255,255,255,.84); }
.event-controls { display: flex; align-items: center; justify-content: center; gap: 14px; }
.event-arrow { width: 38px; min-height: 38px; border-radius: 50%; padding: 0; font-size: 28px; line-height: 1; }
.event-dots { display: flex; align-items: center; gap: 8px; }
.event-dot { width: 10px; min-height: 10px; border: 0; border-radius: 50%; background: var(--line); padding: 0; }
.event-dot[aria-current="true"] { width: 12px; min-height: 12px; background: var(--brand); box-shadow: 0 0 0 2px var(--ink); }
.weekday-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.weekday-tab[aria-selected="true"] { border-color: var(--ink); background: var(--brand); color: var(--brand-ink); box-shadow: 3px 3px 0 var(--ink); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-head p {
  color: var(--muted);
}

.toon-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 16px;
}

.toon-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.toon-card.large {
  min-height: 390px;
}

.cover {
  display: flex;
  height: 100%;
  min-height: inherit;
  flex-direction: column;
  justify-content: end;
  gap: 8px;
  padding: 22px;
  background:
    linear-gradient(180deg, transparent 10%, rgba(0, 0, 0, 0.76)),
    radial-gradient(circle at 25% 20%, color-mix(in srgb, var(--gold) 75%, transparent), transparent 22%),
    linear-gradient(135deg, var(--blue), var(--coral) 56%, var(--brand));
  color: #fff;
}

.cover.alt {
  background:
    linear-gradient(180deg, transparent 10%, rgba(0, 0, 0, 0.72)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.18) 0 8px, transparent 8px 18px),
    linear-gradient(135deg, #20242a, var(--brand));
}

.cover.soft {
  background:
    linear-gradient(180deg, transparent 10%, rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 80% 20%, var(--brand), transparent 24%),
    linear-gradient(135deg, #8447ff, var(--coral));
}

.cover-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 950;
  line-height: 1;
}

.cover-meta {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.layout-two {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: 26px;
  align-items: start;
}

.auth-shell,
.summary-panel,
.form-panel,
.notice-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.auth-shell {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  overflow: hidden;
  min-height: 570px;
}

.auth-visual {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 14px;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72)),
    url("/assets/hero-webtoon.png") center / cover no-repeat;
  color: #fff;
  padding: 28px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 36px;
}

.summary-panel,
.form-panel,
.notice-panel {
  padding: 24px;
}

form {
  display: grid;
  gap: 15px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 850;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--ink);
  padding: 0 13px;
}

.product-options {
  display: grid;
  gap: 10px;
  margin: 0;
  border: 0;
  padding: 0;
}

.product-options legend {
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 850;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  padding: 12px 14px;
  color: var(--ink);
  cursor: pointer;
}

.radio-option input[type="radio"] {
  width: 20px;
  min-height: 20px;
  margin: 0;
  accent-color: var(--brand);
}

.radio-option span {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.radio-option small {
  color: var(--muted);
  font-size: 14px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
}

.status,
.helper,
.meta {
  color: var(--muted);
  line-height: 1.6;
}

.profile-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.avatar {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--gold);
  box-shadow: 4px 4px 0 var(--ink);
  color: #241600;
  font-size: 28px;
  font-weight: 950;
}

.data-list {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}

.list-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 13px;
}

.list-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.list-row span {
  color: var(--muted);
}

.price {
  color: var(--brand);
  font-size: 38px;
  font-weight: 950;
}

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

.plan {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
}

.plan strong {
  display: block;
  margin-bottom: 8px;
}

.notice {
  border-left: 5px solid var(--coral);
  background: color-mix(in srgb, var(--coral) 10%, transparent);
  padding: 15px 16px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
  }

  .brand {
    width: calc(100% - 58px);
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--bg) 84%, transparent), color-mix(in srgb, var(--bg) 98%, transparent) 58%, var(--bg)),
      url("/assets/hero-webtoon.png") center top / cover no-repeat;
  }

  .hero-inner {
    width: 100%;
    min-height: 620px;
    justify-content: end;
    padding: 260px 22px 150px;
  }

  .hero-strip,
  .event-grid,
  .toon-grid,
  .layout-two,
  .auth-shell,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    position: static;
    padding: 0 18px 18px;
  }
}

@media (max-width: 560px) {
  .page {
    padding: 20px 14px 48px;
  }

  .nav {
    padding: 12px 14px;
  }

  .hero-inner,
  .auth-form,
  .summary-panel,
  .form-panel,
  .notice-panel {
    padding-right: 18px;
    padding-left: 18px;
  }

  h1 {
    font-size: 44px;
  }
}
