:root {
  --bg: #101115;
  --bg-soft: #17191f;
  --text: #f5f1e8;
  --muted: #b8b4aa;
  --line: rgba(245, 241, 232, 0.14);
  --glass: rgba(255, 255, 255, 0.075);
  --gold: #d8b46a;
  --coral: #e66f5c;
  --mint: #8ad7c1;
  --ink: #08090c;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 10%, rgba(216, 180, 106, 0.2), transparent 28rem),
    radial-gradient(circle at 82% 8%, rgba(138, 215, 193, 0.14), transparent 24rem),
    linear-gradient(180deg, #101115 0%, #15161b 48%, #0f1014 100%);
  color: var(--text);
  font-family: "Inter", "Noto Sans KR", sans-serif;
  line-height: 1.65;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  backdrop-filter: blur(18px);
  background: rgba(16, 17, 21, 0.78);
  border-bottom: 1px solid var(--line);
}

.brand,
.nav,
.hero-actions,
.genre-list,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.logo-brand img {
  display: block;
  width: 122px;
  height: auto;
  opacity: 0.92;
  filter: brightness(0) invert(1);
  transition: opacity 180ms ease, filter 180ms ease;
}

.logo-brand:hover img {
  opacity: 1;
  filter: brightness(0) invert(1);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(216, 180, 106, 0.55);
  color: var(--gold);
  background: rgba(216, 180, 106, 0.08);
}

.nav {
  gap: clamp(14px, 2.4vw, 30px);
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover {
  color: var(--text);
}

.nav .nav-cta:hover {
  color: var(--ink);
}

.nav a.is-active {
  color: var(--text);
}

.nav a.is-active:not(.nav-cta)::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 5px;
  background: var(--gold);
}

.nav-cta {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 0 0 rgba(216, 180, 106, 0);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.nav .nav-cta.is-active,
.nav .nav-cta.is-active:hover {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), #f5df9d 55%, var(--mint));
}

.nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-110%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transition: transform 420ms ease;
}

.nav .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(216, 180, 106, 0.28);
}

.nav .nav-cta:hover::before {
  transform: translateX(110%) skewX(-18deg);
}

.hero {
  position: relative;
  width: min(var(--content), calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
  gap: 36px;
  padding: 148px 0 64px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 0;
  width: 100vw;
  height: 180px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(15, 16, 20, 0.72) 70%, #0f1014);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 1040px;
  margin-bottom: 26px;
  font-size: 55px;
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 20px;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), #f5df9d 55%, var(--mint));
}

.button.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel,
.info-card,
.upload-form,
.rights,
.cta {
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.hero-panel {
  position: relative;
  z-index: 3;
  align-self: end;
  padding: 24px;
  border-radius: 8px;
}

.hero-panel p {
  color: var(--muted);
  margin-bottom: 0;
}

.panel-label {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.genre-list {
  flex-wrap: wrap;
  gap: 10px;
}

.genre-list span {
  border: 1px solid rgba(245, 241, 232, 0.18);
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  position: absolute;
  inset: 0;
  opacity: 0.76;
  pointer-events: none;
}

.wave {
  position: absolute;
  width: 62vw;
  height: 62vw;
  border: 1px solid rgba(245, 241, 232, 0.1);
  border-radius: 43% 57% 62% 38%;
  animation: drift 18s linear infinite;
}

.wave-a {
  right: -18vw;
  top: 10vh;
  background: radial-gradient(circle, rgba(230, 111, 92, 0.14), transparent 56%);
}

.wave-b {
  left: -22vw;
  bottom: -28vw;
  background: radial-gradient(circle, rgba(138, 215, 193, 0.13), transparent 58%);
  animation-duration: 24s;
  animation-direction: reverse;
}

.meter {
  position: absolute;
  right: clamp(22px, 6vw, 96px);
  bottom: clamp(310px, 36vh, 380px);
  display: flex;
  align-items: center;
  gap: 8px;
  height: 56px;
}

.meter span {
  width: 7px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--coral));
  animation: pulse 1.7s ease-in-out infinite;
}

.meter span:nth-child(2n) {
  animation-delay: 160ms;
}

.meter span:nth-child(3n) {
  animation-delay: 320ms;
}

.section {
  width: min(var(--content), calc(100% - 36px));
  margin-left: auto;
  margin-right: auto;
  padding: 96px 0;
}

.page-hero {
  width: min(var(--content), calc(100% - 36px));
  margin: 0 auto;
  padding: 148px 0 74px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.login-hero {
  padding-bottom: 34px;
}

.login-hero h1 {
  max-width: 800px;
}

.submit-upload-first {
  min-height: 100vh;
  align-items: start;
  padding-top: 148px;
  border-top: 0;
}

.submit-upload-first .upload-intro {
  position: sticky;
  top: 120px;
}

.submit-upload-first .upload-intro h1 {
  max-width: 560px;
}

.submit-upload-first.is-member-submit {
  grid-template-columns: minmax(320px, 760px);
  justify-content: center;
}

.form-title {
  display: grid;
  gap: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.form-title h2 {
  margin-bottom: 0;
}

.account-entry {
  padding-top: 36px;
}

.upload-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(320px, 0.92fr);
  gap: clamp(34px, 6vw, 76px);
  border-top: 1px solid var(--line);
  align-items: start;
  justify-content: center;
}

.upload-intro {
  position: sticky;
  top: 112px;
}

.upload-intro p {
  color: var(--muted);
  font-size: 18px;
}

.upload-form {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 8px;
  width: min(760px, 100%);
}

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

.field {
  display: grid;
  gap: 9px;
}

.field span,
fieldset legend {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.required-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  color: var(--ink) !important;
  background: var(--gold);
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  vertical-align: middle;
}

.upload-box .required-badge {
  color: var(--ink) !important;
  min-height: 20px;
  max-width: none;
  padding: 2px 7px;
  border: 0;
  background: var(--gold);
  box-shadow: none;
  overflow: visible;
  text-overflow: clip;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
textarea,
select {
  width: 100%;
  border: 1px solid rgba(245, 241, 232, 0.16);
  border-radius: 8px;
  background: rgba(8, 9, 12, 0.42);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: rgba(216, 180, 106, 0.72);
  background: rgba(8, 9, 12, 0.62);
  box-shadow: 0 0 0 4px rgba(216, 180, 106, 0.1);
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
select {
  min-height: 50px;
  padding: 0 15px;
}

textarea {
  min-height: 118px;
  padding: 13px 15px;
  resize: vertical;
}

::placeholder {
  color: rgba(184, 180, 170, 0.66);
}

.upload-box {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 180px;
  border: 1px dashed rgba(216, 180, 106, 0.58);
  border-radius: 8px;
  padding: 26px;
  text-align: center;
  background: rgba(216, 180, 106, 0.055);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.upload-box:hover {
  border-color: var(--mint);
  background: rgba(138, 215, 193, 0.07);
  transform: translateY(-2px);
}

.upload-box.is-dragging {
  border-color: var(--mint);
  background: rgba(138, 215, 193, 0.12);
  box-shadow: 0 0 0 4px rgba(138, 215, 193, 0.12), var(--shadow);
  transform: translateY(-2px);
}

.upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.upload-box strong {
  font-size: 20px;
}

.upload-box small,
.upload-box em,
.field-help,
.submit-note {
  color: var(--muted);
  font-style: normal;
}

.upload-box em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  max-width: min(420px, 100%);
  padding: 7px 12px;
  border: 1px solid rgba(245, 241, 232, 0.14);
  border-radius: 999px;
  background: rgba(8, 9, 12, 0.28);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-box em.has-file {
  color: var(--text);
  border-color: rgba(138, 215, 193, 0.48);
  background: rgba(138, 215, 193, 0.1);
  box-shadow: 0 0 0 4px rgba(138, 215, 193, 0.08);
}

.upload-box em.has-file::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(138, 215, 193, 0.8);
}

fieldset {
  display: grid;
  gap: 11px;
  margin: 0;
  border: 1px solid rgba(245, 241, 232, 0.12);
  border-radius: 8px;
  padding: 18px;
}

fieldset legend {
  padding: 0 8px;
}

fieldset label,
.agree {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 13px;
  align-items: start;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  cursor: pointer;
}

input[type="radio"],
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--gold);
}

.field-help {
  margin: -4px 0 2px;
  font-size: 14px;
}

.agreement-group {
  display: grid;
  gap: 12px;
}

.agree {
  padding: 16px;
  border: 1px solid rgba(216, 180, 106, 0.34);
  border-radius: 8px;
  background: rgba(216, 180, 106, 0.055);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.agree:hover {
  border-color: rgba(216, 180, 106, 0.68);
  background: rgba(216, 180, 106, 0.08);
  transform: translateY(-1px);
}

.agree strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.submit-button {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.submit-note {
  margin: -10px 0 0;
  text-align: center;
  font-size: 14px;
}

.form-error {
  color: var(--coral);
}

.dashboard-actions {
  margin-top: 24px;
}

.empty-state {
  max-width: 720px;
}

.empty-state p {
  color: var(--muted);
}

.settlement-preview {
  padding-top: 36px;
}

.settings-section {
  padding-top: 36px;
}

.settlement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.settlement-card,
.settlement-empty,
.settings-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.settlement-card {
  padding: 24px;
}

.settlement-card span {
  color: var(--gold);
  font-weight: 800;
}

.settlement-card p,
.settlement-empty p {
  color: var(--muted);
}

.settlement-empty {
  padding: 22px 24px;
}

.settlement-empty strong {
  display: block;
  margin-bottom: 6px;
}

.settings-card {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 38px);
}

.settings-message {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.settings-message.success {
  color: #0a241d;
  background: rgba(138, 215, 193, 0.8);
}

.settings-message.error {
  color: var(--text);
  background: rgba(230, 111, 92, 0.2);
  border: 1px solid rgba(230, 111, 92, 0.36);
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.admin-filter-panel {
  display: grid;
  grid-template-columns: minmax(280px, 2fr) repeat(4, minmax(140px, 1fr));
  gap: 14px;
  align-items: end;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.admin-filter-panel input[type="search"],
.admin-filter-panel input[type="date"] {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(245, 241, 232, 0.16);
  border-radius: 8px;
  padding: 0 15px;
  background: rgba(8, 9, 12, 0.42);
  color: var(--text);
  font: inherit;
  outline: none;
}

.admin-filter-panel input[type="date"] {
  color-scheme: dark;
  cursor: text;
}

.admin-filter-panel input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  display: none;
}

.date-input-wrap {
  position: relative;
  display: block;
}

.date-input-wrap input[type="date"] {
  padding-right: 52px;
}

.date-picker-button {
  position: absolute;
  top: 50%;
  right: 8px;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  color: var(--gold);
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.date-picker-button:hover {
  color: var(--ink);
  background: var(--gold);
  transform: translateY(-50%) scale(1.04);
}

.date-picker-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.admin-search-field {
  grid-column: span 2;
}

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

.admin-filter-actions .button {
  min-height: 50px;
  white-space: nowrap;
}

.admin-result-bar {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 14px;
  color: var(--muted);
}

.admin-result-bar strong {
  color: var(--gold);
  font-size: 24px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.page-link,
.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid rgba(245, 241, 232, 0.16);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  font-size: 14px;
  font-weight: 800;
}

.page-link {
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.page-link:hover {
  color: var(--ink);
  border-color: rgba(216, 180, 106, 0.6);
  background: linear-gradient(135deg, var(--gold), #f5df9d 55%, var(--mint));
  transform: translateY(-2px);
}

.page-link.is-active {
  color: var(--ink);
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold), #f5df9d 55%, var(--mint));
}

.page-link.is-disabled {
  pointer-events: none;
  opacity: 0.38;
}

.page-ellipsis {
  min-width: 30px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.admin-table {
  width: 100%;
  min-width: 1720px;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: fixed;
}

.admin-forms {
  display: none;
}

.admin-table .col-state {
  width: 56px;
}

.admin-table .col-date {
  width: 145px;
}

.admin-table .col-song {
  width: 160px;
}

.admin-table .col-name {
  width: 100px;
}

.admin-table .col-email {
  width: 180px;
}

.admin-table .col-file {
  width: 520px;
}

.admin-table .col-file-status {
  width: 82px;
}

.admin-table .col-review-status {
  width: 118px;
}

.admin-table .col-review-result {
  width: 104px;
}

.admin-table .col-result {
  width: 240px;
}

.admin-table .col-save {
  width: 72px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid rgba(245, 241, 232, 0.1);
  padding: 12px;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.admin-table td {
  color: var(--muted);
}

.admin-table tr.is-passed td {
  background: rgb(0 165 255 / 30%);
}

.admin-table strong,
.admin-table span {
  display: block;
  color: var(--text);
}

.admin-table small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.admin-table select,
.admin-table textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  font-size: 13px;
}

.admin-table select {
  min-height: 36px;
  padding: 0 8px;
}

.admin-table textarea {
  min-height: 72px;
}

.status-dot {
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.06);
}

.status-dot.red {
  background: rgb(255, 0, 0);
  box-shadow: 0 0 0 6px rgba(255, 0, 0, 0.18);
}

.status-dot.yellow {
  background: #ffe26d;
  box-shadow: 0 0 0 6px rgba(255, 226, 109, 0.18);
}

.status-dot.gray {
  background: #8c8f94;
  box-shadow: 0 0 0 6px rgba(140, 143, 148, 0.18);
}

.admin-inline-audio {
  display: block;
  width: 100%;
  height: 34px;
  margin-top: 10px;
}

.admin-save-button {
  min-height: 40px;
  padding: 8px 14px;
}

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

.member-prompt,
.account-card,
.status-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.member-prompt {
  margin-top: 26px;
  padding: 20px;
}

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

.member-prompt p {
  margin-bottom: 12px;
  font-size: 15px;
}

.text-link {
  color: var(--gold);
  font-weight: 800;
}

.member-prompt a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), #f5df9d 56%, var(--mint));
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(216, 180, 106, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.member-prompt a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(216, 180, 106, 0.32);
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding-bottom: 20px;
}

.account-tabs {
  width: min(520px, 100%);
  margin: 0 auto;
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 12px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.tab-button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.tab-button.is-active {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), #f5df9d 55%, var(--mint));
}

.tab-panel[hidden] {
  display: none;
}

.google-auth {
  display: grid;
  justify-content: center;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.form-divider::before,
.form-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.account-card {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 38px);
}

.status-preview {
  padding-top: 52px;
}

.dashboard-first {
  padding-top: 148px;
}

.admin-wide-section {
  width: min(1760px, calc(100% - 32px));
}

.status-wrap {
  width: 100%;
  margin: 0 auto;
}

.status-table {
  overflow: hidden;
}

.status-wrap .status-heading {
  max-width: 900px;
  margin-bottom: 28px;
}

.status-heading h2 {
}

.status-heading p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.status-row {
  display: grid;
  grid-template-columns: 1.2fr 0.72fr 0.82fr 0.82fr 1.2fr;
  gap: 16px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.status-row:first-child {
  border-top: 0;
}

.status-head {
  color: var(--text);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.05);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}

.badge.mint {
  color: #0a241d;
  background: var(--mint);
}

.badge.gold {
  color: var(--ink);
  background: var(--gold);
}

.badge.coral {
  color: var(--ink);
  background: var(--coral);
}

.badge.blue {
  color: #07141d;
  background: #8cc8ff;
}

.badge.violet {
  color: #15091f;
  background: #d3a8ff;
}

.badge.gray {
  color: var(--text);
  background: rgba(245, 241, 232, 0.18);
}

.result-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.result-card {
  width: min(720px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(28px, 6vw, 58px);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.result-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.upload-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 9, 12, 0.72);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.upload-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.upload-progress-card {
  width: min(560px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(28px, 5vw, 44px);
  text-align: center;
  background: rgba(23, 25, 31, 0.92);
  box-shadow: var(--shadow);
}

.upload-progress-card h2 {
  margin-bottom: 14px;
}

.upload-progress-card p:not(.eyebrow),
.upload-progress-card small {
  color: var(--muted);
}

.upload-spinner {
  display: inline-block;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border: 4px solid rgba(245, 241, 232, 0.16);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 900ms linear infinite;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(280px, 1fr);
  gap: clamp(34px, 8vw, 110px);
  border-top: 1px solid var(--line);
}

.copy-block {
  color: var(--muted);
  font-size: 19px;
}

.submission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 360px));
  justify-content: center;
  gap: 16px;
  padding-top: 0;
}

.main-paths {
  padding-top: 75px;
}

.info-card {
  min-height: 260px;
  padding: 28px;
  border-radius: 8px;
}

.about-submission-grid .info-card {
  min-height: 219px;
}

.info-card span {
  color: var(--gold);
  font-weight: 800;
}

.info-card p,
.process p,
.rights p {
  color: var(--muted);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.process {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1040px;
  border-top: 1px solid var(--line);
}

.process article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.process article:nth-child(odd) {
  padding-right: 28px;
  border-right: 1px solid var(--line);
}

.process article:nth-child(even) {
  padding-left: 28px;
}

.process strong {
  color: var(--coral);
  font-size: 15px;
}

.process p {
  margin-bottom: 0;
  font-size: 18px;
}

.rights {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(280px, 1fr);
  gap: clamp(30px, 6vw, 80px);
  margin-top: 48px;
  margin-bottom: 48px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 8px;
}

.rights-copy p {
  font-size: 18px;
}

.rights-list {
  display: grid;
  gap: 14px;
  padding-top: 51px;
}

.rights-list div {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 14px;
}

.rights-list span {
  width: 10px;
  height: 10px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(138, 215, 193, 0.12);
}

.cta {
  margin-top: 0;
  margin-bottom: 76px;
  padding: clamp(38px, 7vw, 76px);
  border-radius: 8px;
  text-align: center;
}

.cta h2 {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes pulse {
  0%, 100% {
    height: 14px;
    opacity: 0.55;
  }
  50% {
    height: 62px;
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .upload-section,
  .split,
  .submission-grid,
  .account-grid,
  .settlement-grid,
  .process,
  .rights {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero-panel {
    width: 100%;
  }

  .meter {
    right: 24px;
    bottom: 300px;
    transform: scale(0.82);
    transform-origin: right bottom;
  }

  .upload-intro {
    position: static;
  }

  .status-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .admin-filter-panel {
    grid-template-columns: 1fr;
  }

  .admin-search-field {
    grid-column: auto;
  }


  .process article,
  .process article:nth-child(odd),
  .process article:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }

  .rights,
  .cta {
    width: min(var(--content), calc(100% - 36px));
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .meter {
    display: none;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .page-hero {
    padding-top: 72px;
  }

  .logo-brand img {
    width: 116px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
