/* Authenticated dashboard controls V4. */
:root {
  --dashboard-ink: #080807;
  --dashboard-panel: #0e0e0d;
  --dashboard-panel-raised: #151310;
  --dashboard-control: #11110f;
  --dashboard-control-hover: #181511;
  --dashboard-line: rgba(238, 218, 204, 0.12);
  --dashboard-line-strong: rgba(205, 139, 98, 0.54);
  --dashboard-copper: #bd7048;
  --dashboard-copper-bright: #d99a76;
  --dashboard-cream: #f2e5dc;
  --dashboard-text: #f5f1ed;
  --dashboard-muted: #9b938d;
  --dashboard-dim: #716a65;
  --dashboard-success: #91c7a7;
  --dashboard-danger: #e39587;
}

.account-shell-dashboard {
  --account-line: rgba(238, 218, 204, 0.12);
  --account-line-strong: rgba(205, 139, 98, 0.54);
  --account-accent: #bd7048;
  --account-accent-bright: #d99a76;
  --account-accent-soft: #ecd5c6;
  --account-text: #f5f1ed;
  --account-muted: #9b938d;
}

.account-shell-dashboard .account-shell-frame {
  width: min(1240px, calc(100% - 40px));
  padding-top: 22px;
}

.account-dashboard-header {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px 12px 12px;
  border: 1px solid var(--account-line);
  border-radius: 22px;
  background: rgba(10, 9, 8, 0.84);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.account-dashboard-brand,
.account-dashboard-actions,
.account-dashboard-user,
.account-dashboard-home {
  display: flex;
  align-items: center;
}

.account-dashboard-brand {
  gap: 12px;
}

.account-dashboard-monogram {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 143, 92, 0.28);
  border-radius: 15px;
  background:
    linear-gradient(145deg, rgba(255, 157, 115, 0.18), rgba(239, 69, 14, 0.05)),
    #120e0c;
  color: var(--account-accent-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
}

.account-dashboard-kicker {
  color: var(--account-accent-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.account-dashboard-title {
  margin-top: 3px;
  color: var(--account-text);
  font-size: 18px;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.account-dashboard-actions {
  gap: 10px;
}

.account-dashboard-home,
.account-dashboard-logout {
  min-height: 38px;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid var(--account-line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--account-muted);
  font-size: 12px;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.account-dashboard-home:hover,
.account-dashboard-home:focus-visible,
.account-dashboard-logout:hover,
.account-dashboard-logout:focus-visible {
  border-color: var(--account-line-strong);
  background: rgba(255, 117, 66, 0.08);
  color: var(--account-accent-soft);
  outline: none;
}

.account-dashboard-logout {
  cursor: pointer;
}

.account-dashboard-user {
  min-width: 138px;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 0 14px;
  border-left: 1px solid var(--account-line);
}

.account-dashboard-user span {
  color: var(--account-muted);
  font-size: 10px;
}

.account-dashboard-user strong {
  max-width: 180px;
  overflow: hidden;
  color: var(--account-text);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-dashboard-main {
  margin-top: 22px;
}

.account-hub-v3,
.account-hub-v3 * {
  box-sizing: border-box;
}

.account-hub-v3 {
  display: grid;
  gap: 18px;
  animation: account-hub-enter 420ms ease both;
}

.account-hub-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  min-height: 250px;
  overflow: hidden;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--account-line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 78% 26%, rgba(255, 126, 72, 0.17), transparent 25rem),
    linear-gradient(120deg, rgba(27, 17, 12, 0.98), rgba(9, 9, 8, 0.99) 58%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.25);
}

.account-hub-hero::after {
  position: absolute;
  right: -80px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 164, 121, 0.12);
  border-radius: 50%;
  content: "";
}

.account-hub-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.account-hub-eyebrow,
.account-hub-module-heading span,
.account-hub-security-copy > span,
.account-hub-status-card > span,
.account-hub-profile-value > span,
.account-hub-key-value > span,
.account-hub-owner > span,
.account-hub-identity-mark span {
  color: var(--account-accent-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.account-hub-hero h2 {
  margin: 13px 0 0;
  color: var(--account-text);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 740;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.account-hub-hero-copy > p {
  max-width: 640px;
  margin: 16px 0 0;
  color: #bcb1aa;
  font-size: 15px;
  line-height: 1.8;
}

.account-hub-hero-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 117, 66, 0.24);
  border-radius: 10px;
  background: rgba(255, 117, 66, 0.08);
  color: var(--account-accent-soft);
  font-size: 12px;
  font-weight: 650;
}

.account-hub-identity-mark {
  position: relative;
  z-index: 1;
  display: flex;
  width: 270px;
  align-items: center;
  gap: 15px;
  padding: 18px;
  border: 1px solid rgba(255, 213, 190, 0.16);
  border-radius: 22px;
  background: rgba(6, 6, 5, 0.58);
  backdrop-filter: blur(14px);
}

.account-hub-identity-mark img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 16px 26px rgba(239, 69, 14, 0.2));
}

.account-hub-identity-mark > div {
  min-width: 0;
}

.account-hub-identity-mark strong {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: var(--account-text);
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-hub-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--account-line);
  border-radius: 22px;
  background: rgba(13, 12, 11, 0.84);
}

.account-hub-status-card {
  position: relative;
  min-width: 0;
  padding: 18px 20px;
}

.account-hub-status-card + .account-hub-status-card {
  border-left: 1px solid var(--account-line);
}

.account-hub-status-card strong,
.account-hub-status-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-hub-status-card strong {
  margin-top: 9px;
  color: var(--account-text);
  font-size: 15px;
}

.account-hub-status-card small {
  margin-top: 7px;
  color: var(--account-muted);
  font-size: 11px;
}

.account-hub-status-card.is-ready::before,
.account-hub-status-card.is-pending::before {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
}

.account-hub-status-card.is-ready::before {
  background: #7fc7a0;
  box-shadow: 0 0 16px rgba(127, 199, 160, 0.48);
}

.account-hub-status-card.is-pending::before {
  background: #ffb36f;
  box-shadow: 0 0 16px rgba(255, 179, 111, 0.48);
}

.account-hub-management-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
}

.account-hub-module,
.account-hub-security {
  border: 1px solid var(--account-line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 40%),
    rgba(12, 11, 10, 0.94);
}

.account-hub-module {
  min-width: 0;
  padding: 24px;
}

.account-hub-module-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.account-hub-module-heading h3,
.account-hub-security h3 {
  margin: 7px 0 0;
  color: var(--account-text);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.account-hub-module-description,
.account-hub-security p {
  margin: 12px 0 0;
  color: var(--account-muted);
  font-size: 13px;
  line-height: 1.75;
}

.account-hub-profile-value,
.account-hub-key-value {
  margin-top: 21px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
}

.account-hub-profile-value strong,
.account-hub-profile-value small {
  display: block;
}

.account-hub-profile-value strong {
  margin-top: 9px;
  color: var(--account-text);
  font-size: 22px;
}

.account-hub-profile-value small {
  margin-top: 7px;
  color: var(--account-muted);
  font-size: 11px;
  word-break: break-all;
}

.account-hub-key-state {
  padding: 7px 10px;
  border: 1px solid rgba(127, 199, 160, 0.22);
  border-radius: 9px;
  color: #9edab7;
  font-size: 10px;
  white-space: nowrap;
}

.account-hub-key-value code {
  display: block;
  min-height: 23px;
  margin-top: 10px;
  overflow-wrap: anywhere;
  color: var(--account-cream, #ffe2d4);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
}

.account-hub-owner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--account-line);
}

.account-hub-owner strong {
  min-width: 0;
  overflow: hidden;
  color: var(--account-text);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-hub-edit-form {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.account-hub-edit-form > label {
  color: var(--account-accent-bright);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.account-hub-input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--account-line);
  border-radius: 13px;
  background: #0b0a09;
  color: var(--account-text);
  font: inherit;
  outline: none;
}

.account-hub-input:focus {
  border-color: var(--account-line-strong);
  box-shadow: 0 0 0 3px rgba(255, 117, 66, 0.08);
}

.account-hub-field-note {
  color: var(--account-muted);
  font-size: 11px;
}

.account-hub-field-note.is-warning {
  color: var(--account-danger);
}

.account-hub-button-row,
.account-hub-security-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.account-hub-button-row {
  margin-top: 18px;
}

.account-hub-action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--account-line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--account-text);
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.account-hub-action:hover:not(:disabled),
.account-hub-action:focus-visible:not(:disabled) {
  transform: translateY(-1px);
  border-color: var(--account-line-strong);
  outline: none;
}

.account-hub-action.is-primary {
  border-color: rgba(255, 196, 168, 0.48);
  background: linear-gradient(135deg, #ffece2, #ffb08d);
  color: #21100a;
}

.account-hub-action.is-secondary {
  border-color: rgba(255, 117, 66, 0.28);
  background: rgba(255, 117, 66, 0.08);
  color: var(--account-accent-soft);
}

.account-hub-action.is-quiet {
  color: var(--account-muted);
}

.account-hub-action.is-danger {
  border-color: rgba(255, 135, 120, 0.28);
  background: rgba(160, 44, 30, 0.08);
  color: #ffb0a5;
}

.account-hub-action:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.account-hub-inline-feedback,
.account-hub-global-feedback {
  margin-top: 14px;
}

.account-hub-security {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px 34px;
  padding: 24px;
}

.account-hub-security-copy {
  max-width: 720px;
}

.account-hub-security-status {
  grid-column: 1 / -1;
  padding: 13px 15px;
  border: 1px solid rgba(127, 199, 160, 0.16);
  border-radius: 12px;
  background: rgba(127, 199, 160, 0.045);
  color: #a9cdb9;
  font-size: 11px;
}

.account-hub-security-status.is-pending {
  border-color: rgba(255, 179, 111, 0.2);
  background: rgba(255, 179, 111, 0.05);
  color: #edbd91;
}

/* Admin workspace */
.admin-v3-shell,
.admin-v3-shell * {
  box-sizing: border-box;
}

.admin-v3-shell {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 5% 0%, rgba(164, 55, 21, 0.22), transparent 31rem),
    radial-gradient(circle at 94% 24%, rgba(96, 44, 25, 0.13), transparent 34rem),
    var(--dashboard-ink);
  color: var(--dashboard-text);
  font-family: "Avenir Next", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.admin-v3-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.admin-v3-frame {
  position: relative;
  width: min(1540px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 72px;
}

.admin-v3-header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px 12px 12px;
  border: 1px solid var(--dashboard-line);
  border-radius: 22px;
  background: rgba(10, 9, 8, 0.86);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.admin-v3-brand,
.admin-v3-session,
.admin-v3-nav-item {
  display: flex;
  align-items: center;
}

.admin-v3-brand {
  gap: 12px;
}

.admin-v3-monogram {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 143, 92, 0.28);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 157, 115, 0.18), rgba(239, 69, 14, 0.05));
  color: var(--dashboard-cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
}

.admin-v3-brand span,
.admin-v3-session span,
.admin-v3-session small,
.admin-v3-panel-kicker,
.admin-applications-list header span,
.admin-application-detail header span,
.admin-application-facts span,
.admin-application-copy-block > span,
.admin-v3-field > label {
  color: var(--dashboard-copper-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.admin-v3-brand strong {
  display: block;
  margin-top: 3px;
  color: var(--dashboard-text);
  font-size: 18px;
  letter-spacing: -0.02em;
}

.admin-v3-session {
  gap: 14px;
}

.admin-v3-session > div {
  display: grid;
  min-width: 132px;
  gap: 2px;
  padding-left: 14px;
  border-left: 1px solid var(--dashboard-line);
}

.admin-v3-session strong {
  overflow: hidden;
  color: var(--dashboard-text);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-v3-session small {
  color: var(--dashboard-muted);
  font-size: 8px;
}

.admin-v3-session button,
.admin-v3-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--dashboard-line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--dashboard-muted);
  font: inherit;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}

.admin-v3-session button:hover,
.admin-v3-session button:focus-visible,
.admin-v3-button:hover:not(:disabled),
.admin-v3-button:focus-visible:not(:disabled) {
  border-color: var(--dashboard-line-strong);
  background: rgba(255, 117, 66, 0.08);
  color: var(--dashboard-cream);
  outline: none;
}

.admin-v3-nav {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: flex;
  gap: 4px;
  margin-top: 12px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid var(--dashboard-line);
  border-radius: 17px;
  background: rgba(8, 8, 7, 0.9);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
  scrollbar-width: none;
  backdrop-filter: blur(16px);
}

.admin-v3-nav::-webkit-scrollbar {
  display: none;
}

.admin-v3-nav-item {
  flex: 1 0 auto;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--dashboard-muted);
  font-size: 11px;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.admin-v3-nav-item span {
  display: grid;
  color: #98715f;
}

.admin-v3-nav-item:hover,
.admin-v3-nav-item:focus-visible {
  border-color: rgba(255, 117, 66, 0.18);
  color: var(--dashboard-cream);
  outline: none;
}

.admin-v3-nav-item.is-active {
  border-color: rgba(255, 143, 92, 0.25);
  background: linear-gradient(135deg, rgba(239, 69, 14, 0.15), rgba(255, 138, 92, 0.04));
  color: var(--dashboard-text);
}

.admin-v3-nav-item.is-active span {
  color: var(--dashboard-copper-bright);
}

.admin-v3-main {
  margin-top: 22px;
  animation: admin-v3-enter 380ms ease both;
}

.admin-v3-panel,
.admin-applications-list,
.admin-application-detail {
  overflow: hidden;
  border: 1px solid var(--dashboard-line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 34%),
    rgba(13, 12, 11, 0.95);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.19);
}

.admin-v3-panel-header,
.admin-applications-list > header,
.admin-application-detail > header {
  padding: 20px 22px;
  border-bottom: 1px solid var(--dashboard-line);
}

.admin-v3-panel-header h2,
.admin-applications-list h2,
.admin-application-detail h2 {
  margin: 6px 0 0;
  color: var(--dashboard-text);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.admin-v3-panel-header p {
  margin: 7px 0 0;
  color: var(--dashboard-muted);
  font-size: 12px;
  line-height: 1.65;
}

.admin-v3-panel-body {
  padding: 22px;
}

.admin-v3-field {
  min-width: 0;
}

.admin-v3-field > label {
  display: block;
  margin-bottom: 8px;
}

.admin-v3-field input,
.admin-v3-field select,
.admin-v3-field textarea,
.admin-v3-shell input:not([type="checkbox"]):not([type="radio"]),
.admin-v3-shell select,
.admin-v3-shell textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--dashboard-line);
  border-radius: 12px;
  background: #0b0a09;
  color: var(--dashboard-text);
  font: inherit;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.admin-v3-field textarea,
.admin-v3-shell textarea {
  min-height: 132px;
  padding-top: 12px;
  padding-bottom: 12px;
  resize: vertical;
  line-height: 1.65;
}

.admin-v3-field input:focus,
.admin-v3-field select:focus,
.admin-v3-field textarea:focus,
.admin-v3-shell input:focus,
.admin-v3-shell select:focus,
.admin-v3-shell textarea:focus {
  border-color: var(--dashboard-line-strong);
  box-shadow: 0 0 0 3px rgba(255, 117, 66, 0.07);
}

.admin-v3-shell select option {
  background: #0b0a09;
  color: var(--dashboard-text);
}

.admin-v3-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid rgba(255, 143, 92, 0.2);
  border-radius: 8px;
  background: rgba(255, 117, 66, 0.06);
  color: var(--dashboard-cream);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.admin-v3-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-v3-button.is-primary {
  border-color: rgba(255, 196, 168, 0.45);
  background: linear-gradient(135deg, #ffece2, #ffb08d);
  color: #21100a;
}

.admin-v3-button.is-secondary {
  color: var(--dashboard-muted);
}

.admin-v3-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.admin-applications-v3 {
  display: grid;
  gap: 18px;
}

.admin-applications-filter {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 210px auto;
  align-items: end;
  gap: 14px;
}

.admin-applications-filter-actions,
.admin-application-actions {
  display: flex;
  gap: 8px;
}

.admin-applications-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--dashboard-line);
}

.admin-application-stat {
  display: flex;
  min-height: 32px;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.018);
  color: var(--dashboard-muted);
  font-size: 10px;
}

.admin-application-stat strong {
  color: var(--dashboard-text);
  font-size: 12px;
}

.admin-application-stat.is-total {
  border-color: rgba(255, 143, 92, 0.2);
  background: rgba(255, 117, 66, 0.05);
}

.admin-applications-loading {
  align-self: center;
  margin-left: auto;
  color: var(--dashboard-muted);
  font-size: 10px;
}

.admin-v3-error {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 124, 111, 0.22);
  border-radius: 10px;
  background: rgba(150, 35, 24, 0.08);
  color: #ffaba2;
  font-size: 11px;
}

.admin-applications-workspace {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(540px, 1.22fr);
  align-items: start;
  gap: 18px;
}

.admin-applications-list > header,
.admin-application-detail > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-applications-list > header > strong {
  color: var(--dashboard-muted);
  font-size: 11px;
}

.admin-application-records {
  max-height: 760px;
  overflow-y: auto;
  padding: 8px;
  scrollbar-color: rgba(255, 143, 92, 0.24) transparent;
  scrollbar-width: thin;
}

.admin-application-row {
  display: block;
  width: 100%;
  padding: 15px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.admin-application-row + .admin-application-row {
  margin-top: 4px;
}

.admin-application-row:hover,
.admin-application-row:focus-visible {
  border-color: rgba(255, 143, 92, 0.16);
  background: rgba(255, 255, 255, 0.025);
  outline: none;
}

.admin-application-row.is-active {
  border-color: rgba(255, 143, 92, 0.28);
  background:
    linear-gradient(135deg, rgba(239, 69, 14, 0.11), rgba(255, 138, 92, 0.025)),
    #0d0b0a;
  transform: translateX(2px);
}

.admin-application-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-application-row-head > strong {
  overflow: hidden;
  color: var(--dashboard-text);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-application-row > p {
  display: -webkit-box;
  margin: 9px 0 0;
  overflow: hidden;
  color: #b2a7a0;
  font-size: 11px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.admin-application-row-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 5px 10px;
  margin-top: 11px;
  color: var(--dashboard-muted);
  font-size: 9px;
}

.admin-application-row-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-application-row-meta time {
  grid-column: 1 / -1;
  color: #756d68;
}

.admin-applications-empty,
.admin-application-detail-empty {
  display: grid;
  min-height: 220px;
  place-items: center;
  padding: 28px;
  color: var(--dashboard-muted);
  font-size: 12px;
  text-align: center;
}

.admin-application-detail {
  position: sticky;
  top: 80px;
}

.admin-application-detail > header code {
  max-width: 48%;
  overflow: hidden;
  color: #766c66;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-application-detail-body {
  display: grid;
  gap: 17px;
  padding: 22px;
}

.admin-application-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-application-facts > div {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.018);
}

.admin-application-facts > div.is-wide {
  grid-column: 1 / -1;
}

.admin-application-facts strong {
  display: block;
  margin-top: 7px;
  overflow-wrap: anywhere;
  color: var(--dashboard-text);
  font-size: 12px;
  line-height: 1.55;
}

.admin-application-copy-block {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.18);
}

.admin-application-copy-block p {
  margin: 9px 0 0;
  color: #d6cbc4;
  font-size: 12px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.admin-application-review {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.admin-application-updated {
  color: var(--dashboard-muted);
  font-size: 10px;
}

/* Premium control system shared by every authenticated surface. */
.account-shell-dashboard,
.admin-v3-shell {
  color-scheme: dark;
}

.account-shell-dashboard .account-dashboard-header,
.account-shell-dashboard .account-hub-module,
.account-shell-dashboard .account-hub-security,
.admin-v3-header,
.admin-v3-panel,
.admin-applications-list,
.admin-application-detail {
  border-color: rgba(238, 218, 204, 0.115);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.022), transparent 38%),
    rgba(12, 12, 11, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 24px 72px rgba(0, 0, 0, 0.22);
}

.account-hub-profile-value,
.account-hub-key-value,
.admin-application-facts > div,
.admin-application-copy-block {
  border-color: rgba(238, 218, 204, 0.095);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.022), transparent 58%),
    rgba(7, 8, 8, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018);
}

.account-hub-edit-form > label,
.admin-v3-field > label,
.admin-v3-main label[class*="font-mono"] {
  color: #c99576;
  font-family: "Avenir Next", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: none;
}

.account-hub-input {
  min-height: 52px;
  padding: 0 16px;
  border-color: rgba(238, 218, 204, 0.13);
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(21, 21, 19, 0.98), rgba(13, 14, 13, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22);
  color: #f8f3ef;
  caret-color: #d99a76;
  font-size: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.account-hub-input::placeholder {
  color: #706a65;
  opacity: 1;
}

.account-hub-input:hover:not(:disabled) {
  border-color: rgba(238, 218, 204, 0.22);
  background: linear-gradient(180deg, rgba(25, 24, 21, 0.98), rgba(14, 15, 14, 0.98));
}

.account-hub-input:focus {
  border-color: rgba(205, 139, 98, 0.64);
  box-shadow:
    0 0 0 3px rgba(189, 112, 72, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.account-hub-input:-webkit-autofill {
  -webkit-text-fill-color: #f8f3ef;
  box-shadow: 0 0 0 1000px #11110f inset;
}

.account-hub-action,
.account-dashboard-home,
.account-dashboard-logout {
  min-height: 43px;
  border-color: rgba(238, 218, 204, 0.13);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.012)),
    #10100f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 8px 20px rgba(0, 0, 0, 0.13);
  color: #d6cec8;
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.015em;
}

.account-hub-action:hover:not(:disabled),
.account-hub-action:focus-visible:not(:disabled),
.account-dashboard-home:hover,
.account-dashboard-home:focus-visible,
.account-dashboard-logout:hover,
.account-dashboard-logout:focus-visible {
  border-color: rgba(205, 139, 98, 0.55);
  background:
    linear-gradient(180deg, rgba(189, 112, 72, 0.11), rgba(189, 112, 72, 0.045)),
    #12110f;
  color: #f2e5dc;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 10px 24px rgba(0, 0, 0, 0.18);
}

.account-hub-action:focus-visible,
.account-dashboard-home:focus-visible,
.account-dashboard-logout:focus-visible {
  outline: 2px solid rgba(217, 154, 118, 0.34);
  outline-offset: 3px;
}

.account-hub-action.is-primary {
  border-color: rgba(224, 163, 126, 0.54);
  background: linear-gradient(135deg, #b8663f, #8f472c);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 12px 26px rgba(112, 49, 25, 0.2);
  color: #fff9f5;
}

.account-hub-action.is-primary:hover:not(:disabled),
.account-hub-action.is-primary:focus-visible:not(:disabled) {
  border-color: rgba(239, 185, 151, 0.72);
  background: linear-gradient(135deg, #c9794f, #9c5133);
  color: #fff;
}

.account-hub-action.is-secondary {
  border-color: rgba(205, 139, 98, 0.28);
  background:
    linear-gradient(180deg, rgba(189, 112, 72, 0.1), rgba(189, 112, 72, 0.035)),
    #11100f;
  color: #e4c9b8;
}

.account-hub-action.is-quiet {
  color: #aba39d;
}

.account-hub-action.is-danger {
  border-color: rgba(202, 113, 98, 0.28);
  background:
    linear-gradient(180deg, rgba(157, 63, 48, 0.09), rgba(157, 63, 48, 0.025)),
    #110f0e;
  color: #dca095;
}

.account-hub-field-note,
.account-hub-inline-feedback,
.account-hub-global-feedback {
  color: #968e88;
  font-size: 11px;
  line-height: 1.6;
}

.account-hub-key-state,
.account-hub-security-status {
  border-color: rgba(145, 199, 167, 0.2);
  background:
    linear-gradient(180deg, rgba(145, 199, 167, 0.065), rgba(145, 199, 167, 0.025)),
    #0e110f;
  color: #a9d4bb;
}

.admin-v3-panel-header,
.admin-applications-list > header,
.admin-application-detail > header {
  background: linear-gradient(90deg, rgba(189, 112, 72, 0.045), transparent 44%);
}

.admin-v3-panel-header h2,
.admin-applications-list h2,
.admin-application-detail h2 {
  font-size: 21px;
  font-weight: 680;
}

.admin-v3-panel-header p,
.admin-application-row > p,
.admin-application-copy-block p {
  color: #aaa29c;
}

.admin-v3-shell input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.admin-v3-shell select,
.admin-v3-shell textarea {
  min-height: 50px;
  padding-right: 15px;
  padding-left: 15px;
  border-color: rgba(238, 218, 204, 0.13);
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(21, 21, 19, 0.98), rgba(13, 14, 13, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  color: #f8f3ef;
  caret-color: var(--dashboard-copper-bright);
  font-family: "Avenir Next", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.admin-v3-shell select {
  padding-right: 42px;
  appearance: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.25 5 5 5-5' fill='none' stroke='%23d99a76' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(21, 21, 19, 0.98), rgba(13, 14, 13, 0.98));
  background-position: right 15px center, 0 0;
  background-repeat: no-repeat;
}

.admin-v3-shell textarea {
  min-height: 144px;
  padding-top: 14px;
  padding-bottom: 14px;
  line-height: 1.7;
}

.admin-v3-shell input::placeholder,
.admin-v3-shell textarea::placeholder {
  color: #716a65;
  opacity: 1;
}

.admin-v3-shell input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):hover:not(:disabled),
.admin-v3-shell select:hover:not(:disabled),
.admin-v3-shell textarea:hover:not(:disabled) {
  border-color: rgba(238, 218, 204, 0.22);
}

.admin-v3-shell input:focus,
.admin-v3-shell select:focus,
.admin-v3-shell textarea:focus {
  border-color: rgba(205, 139, 98, 0.64);
  background-color: #151411;
  box-shadow:
    0 0 0 3px rgba(189, 112, 72, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  outline: none;
}

.admin-v3-shell input:-webkit-autofill {
  -webkit-text-fill-color: #f8f3ef;
  box-shadow: 0 0 0 1000px #11110f inset;
}

.admin-v3-shell input[type="checkbox"],
.admin-v3-shell input[type="radio"] {
  accent-color: var(--dashboard-copper);
}

.admin-v3-session button,
.admin-v3-button,
.admin-v3-shell button[class*="rounded-full"],
.admin-v3-shell label[class*="rounded-full"] {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 15px;
  border: 1px solid rgba(238, 218, 204, 0.13);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.012)),
    #10100f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 8px 20px rgba(0, 0, 0, 0.13);
  color: #d6cec8;
  font-family: "Avenir Next", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.015em;
  text-transform: none;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.admin-v3-session button:hover,
.admin-v3-session button:focus-visible,
.admin-v3-button:hover:not(:disabled),
.admin-v3-button:focus-visible:not(:disabled),
.admin-v3-shell button[class*="rounded-full"]:hover:not(:disabled),
.admin-v3-shell button[class*="rounded-full"]:focus-visible:not(:disabled),
.admin-v3-shell label[class*="rounded-full"]:hover {
  transform: translateY(-1px);
  border-color: rgba(205, 139, 98, 0.55);
  background:
    linear-gradient(180deg, rgba(189, 112, 72, 0.11), rgba(189, 112, 72, 0.045)),
    #12110f;
  color: #f2e5dc;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 10px 24px rgba(0, 0, 0, 0.18);
  outline: none;
}

.admin-v3-button.is-primary,
.admin-v3-shell button[class*="bg-[#EF450E]"],
.admin-v3-shell label[class*="bg-[#EF450E]"],
.admin-v3-shell button[class*="bg-[linear-gradient"] {
  border-color: rgba(224, 163, 126, 0.54);
  background: linear-gradient(135deg, #b8663f, #8f472c);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 12px 26px rgba(112, 49, 25, 0.2);
  color: #fff9f5;
}

.admin-v3-button.is-primary:hover:not(:disabled),
.admin-v3-button.is-primary:focus-visible:not(:disabled),
.admin-v3-shell button[class*="bg-[#EF450E]"]:hover:not(:disabled),
.admin-v3-shell label[class*="bg-[#EF450E]"]:hover,
.admin-v3-shell button[class*="bg-[linear-gradient"]:hover:not(:disabled) {
  border-color: rgba(239, 185, 151, 0.72);
  background: linear-gradient(135deg, #c9794f, #9c5133);
  color: #fff;
}

.admin-v3-shell button[class*="border-red"],
.admin-v3-shell button[class*="text-red"] {
  border-color: rgba(202, 113, 98, 0.3);
  background:
    linear-gradient(180deg, rgba(157, 63, 48, 0.09), rgba(157, 63, 48, 0.025)),
    #110f0e;
  color: #dca095;
}

.admin-v3-shell button:focus-visible,
.admin-v3-shell label[class*="rounded-full"]:focus-within {
  outline: 2px solid rgba(217, 154, 118, 0.34);
  outline-offset: 3px;
}

.admin-v3-shell button:active:not(:disabled) {
  transform: translateY(0);
}

.admin-v3-shell button:disabled,
.admin-v3-shell input:disabled,
.admin-v3-shell select:disabled,
.admin-v3-shell textarea:disabled {
  cursor: not-allowed;
  opacity: 0.44;
}

.admin-v3-badge,
.admin-application-stat {
  border-color: rgba(205, 139, 98, 0.18);
  background:
    linear-gradient(180deg, rgba(189, 112, 72, 0.07), rgba(189, 112, 72, 0.025)),
    #100f0e;
  color: #d9c5b8;
}

.admin-application-stat.is-total {
  border-color: rgba(205, 139, 98, 0.32);
  background:
    linear-gradient(180deg, rgba(189, 112, 72, 0.13), rgba(189, 112, 72, 0.045)),
    #100f0e;
}

.admin-v3-main button[class*="w-full"][class*="text-left"],
.admin-application-row {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.015);
}

.admin-v3-main button[class*="w-full"][class*="text-left"]:hover,
.admin-application-row:hover,
.admin-application-row:focus-visible {
  border-color: rgba(205, 139, 98, 0.24);
  background:
    linear-gradient(135deg, rgba(189, 112, 72, 0.075), rgba(255, 255, 255, 0.012)),
    #0f0f0e;
}

.admin-application-row.is-active {
  border-color: rgba(205, 139, 98, 0.38);
  background:
    linear-gradient(135deg, rgba(189, 112, 72, 0.13), rgba(189, 112, 72, 0.025)),
    #11100f;
  transform: none;
}

.admin-v3-main section[class*="rounded-"] {
  border-color: rgba(238, 218, 204, 0.1);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.022), transparent 48%),
    #0e0e0d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 18px 48px rgba(0, 0, 0, 0.15);
}

.admin-v3-main table {
  border-collapse: separate;
  border-spacing: 0;
  color: #d9d2cc;
}

.admin-v3-main thead {
  color: #8f8781;
}

.admin-v3-main th {
  font-size: 10px;
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: none;
}

.admin-v3-main tbody tr {
  transition: background 150ms ease;
}

.admin-v3-main tbody tr:hover {
  background: rgba(189, 112, 72, 0.035);
}

.admin-v3-main td {
  color: #c9c1bb;
  line-height: 1.55;
}

.admin-v3-shell .fixed.inset-0 {
  background: rgba(2, 2, 2, 0.78);
  backdrop-filter: blur(12px);
}

.admin-v3-shell .fixed.inset-0 > div {
  border-color: rgba(238, 218, 204, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 0%, rgba(189, 112, 72, 0.13), transparent 18rem),
    linear-gradient(180deg, #121210, #090a09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 34px 100px rgba(0, 0, 0, 0.56);
}

.admin-application-records,
.admin-v3-main [class*="overflow-auto"] {
  scrollbar-color: rgba(205, 139, 98, 0.28) transparent;
  scrollbar-width: thin;
}

@keyframes account-hub-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes admin-v3-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .account-hub-management-grid,
  .admin-applications-workspace {
    grid-template-columns: 1fr;
  }

  .admin-application-detail {
    position: static;
  }

  .admin-application-records {
    max-height: 520px;
  }
}

@media (max-width: 820px) {
  .account-dashboard-header,
  .admin-v3-header {
    align-items: stretch;
    flex-direction: column;
  }

  .account-dashboard-actions,
  .admin-v3-session {
    justify-content: space-between;
  }

  .account-hub-hero {
    grid-template-columns: 1fr;
  }

  .account-hub-identity-mark {
    width: 100%;
  }

  .account-hub-status-grid {
    grid-template-columns: 1fr;
  }

  .account-hub-status-card + .account-hub-status-card {
    border-top: 1px solid var(--account-line);
    border-left: 0;
  }

  .account-hub-security {
    grid-template-columns: 1fr;
  }

  .account-hub-security-status {
    grid-column: auto;
  }

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

  .admin-applications-filter .admin-v3-field:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .account-shell-dashboard .account-shell-frame,
  .admin-v3-frame {
    width: min(100% - 24px, 1540px);
    padding-top: 12px;
  }

  .account-dashboard-header,
  .admin-v3-header {
    border-radius: 17px;
  }

  .account-dashboard-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .account-dashboard-user {
    grid-column: 1 / -1;
    grid-row: 1;
    padding: 9px 0 10px;
    border-bottom: 1px solid var(--account-line);
    border-left: 0;
  }

  .account-hub-hero {
    min-height: 0;
    padding: 24px;
    border-radius: 22px;
  }

  .account-hub-hero h2 {
    font-size: 36px;
  }

  .account-hub-module,
  .account-hub-security {
    padding: 19px;
    border-radius: 19px;
  }

  .account-hub-module-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .account-hub-button-row,
  .account-hub-security-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .account-hub-action {
    width: 100%;
  }

  .admin-v3-session {
    align-items: stretch;
  }

  .admin-v3-session > div {
    min-width: 0;
    padding-left: 0;
    border-left: 0;
  }

  .admin-v3-nav {
    margin-right: -12px;
    margin-left: -12px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .admin-v3-main {
    margin-top: 14px;
  }

  .admin-v3-panel,
  .admin-applications-list,
  .admin-application-detail {
    border-radius: 17px;
  }

  .admin-v3-panel-header,
  .admin-v3-panel-body,
  .admin-applications-list > header,
  .admin-application-detail > header,
  .admin-application-detail-body {
    padding: 17px;
  }

  .admin-applications-filter,
  .admin-application-facts,
  .admin-application-review {
    grid-template-columns: 1fr;
  }

  .admin-applications-filter .admin-v3-field:first-child,
  .admin-application-facts > div.is-wide {
    grid-column: auto;
  }

  .admin-applications-filter-actions,
  .admin-application-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-hub-v3,
  .admin-v3-main {
    animation: none;
  }

  .account-hub-action,
  .admin-application-row {
    transition: none;
  }
}

.download-downloader-v5 {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(7.5rem, 11vw, 10.5rem) 1.5rem clamp(5rem, 8vw, 8rem);
  background:
    radial-gradient(circle at 78% 14%, rgba(239, 69, 14, 0.17), transparent 27rem),
    radial-gradient(circle at 12% 88%, rgba(255, 138, 92, 0.08), transparent 30rem),
    linear-gradient(145deg, #050505 0%, #0a0807 52%, #050505 100%);
  color: #fff;
}

.download-downloader-v5::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 86%);
  content: "";
  pointer-events: none;
}

.download-downloader-shell {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 1180px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.76fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.download-downloader-copy {
  max-width: 690px;
}

.download-downloader-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #c5ccd4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.download-downloader-kicker span,
.download-downloader-trust > span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #ef450e;
  box-shadow: 0 0 18px rgba(239, 69, 14, 0.75);
}

.download-downloader-version {
  margin: clamp(2.5rem, 6vw, 5rem) 0 1rem;
  color: #ffb497;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.download-downloader-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.25rem, 7.5vw, 7rem);
  font-weight: 760;
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.download-downloader-copy h2 span {
  display: block;
  margin-bottom: 0.18em;
  color: #f4eee9;
  font-size: 0.48em;
  letter-spacing: -0.035em;
  line-height: 1;
}

.download-downloader-lead {
  max-width: 620px;
  margin: 2rem 0 0;
  color: #c7cdd4;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  font-weight: 350;
  line-height: 1.9;
}

.download-downloader-compat {
  display: grid;
  margin-top: 2.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.035);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  backdrop-filter: blur(16px);
}

.download-downloader-compat > div {
  min-width: 0;
  padding: 1rem 1.05rem;
}

.download-downloader-compat > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.download-downloader-compat span,
.download-downloader-panel-head span {
  display: block;
  color: #777f89;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.63rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.download-downloader-compat strong {
  display: block;
  margin-top: 0.38rem;
  overflow: hidden;
  color: #e9edf1;
  font-size: 0.78rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-downloader-cta {
  display: inline-flex;
  min-height: 3.6rem;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 0 1.35rem;
  border: 1px solid rgba(255, 222, 207, 0.4);
  border-radius: 1rem;
  background: linear-gradient(135deg, #fff1e9 0%, #ffc8b1 48%, #ff9e7b 100%);
  box-shadow: 0 18px 50px rgba(239, 69, 14, 0.18);
  color: #1c0d08;
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.download-downloader-cta i {
  margin-left: 0.2rem;
  font-size: 1.05rem;
  font-style: normal;
}

.download-downloader-cta:hover {
  box-shadow: 0 22px 64px rgba(239, 69, 14, 0.28);
  filter: saturate(1.08);
  transform: translateY(-2px);
}

.download-downloader-cta:focus-visible {
  outline: 3px solid rgba(255, 167, 128, 0.76);
  outline-offset: 4px;
}

.download-downloader-note {
  max-width: 590px;
  margin: 1rem 0 0;
  color: #858d97;
  font-size: 0.76rem;
  line-height: 1.75;
}

.download-downloader-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.45rem, 3vw, 2.2rem);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 90% 6%, rgba(255, 122, 61, 0.15), transparent 13rem),
    linear-gradient(155deg, rgba(24, 19, 17, 0.97), rgba(8, 8, 8, 0.98));
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.4);
}

.download-downloader-panel::after {
  position: absolute;
  right: -5rem;
  bottom: -5rem;
  width: 14rem;
  height: 14rem;
  border: 1px solid rgba(255, 138, 92, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(255, 255, 255, 0.012);
  content: "";
}

.download-downloader-panel-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.download-downloader-panel-head strong {
  display: block;
  margin-top: 0.35rem;
  color: #ece8e5;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.download-downloader-panel-head em {
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 138, 92, 0.25);
  border-radius: 999px;
  background: rgba(239, 69, 14, 0.09);
  color: #ffc4ac;
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.download-downloader-number {
  position: relative;
  z-index: 1;
  margin: 2.6rem 0 2.3rem;
  color: #f8f4f1;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 260;
  letter-spacing: -0.08em;
  line-height: 0.82;
}

.download-downloader-number span {
  color: #ef450e;
}

.download-downloader-steps {
  position: relative;
  z-index: 1;
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.download-downloader-steps > div {
  display: grid;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  grid-template-columns: 2.3rem minmax(0, 1fr);
  gap: 0.85rem;
}

.download-downloader-steps b {
  color: #ef7045;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
}

.download-downloader-steps p {
  display: grid;
  gap: 0.25rem;
  margin: 0;
}

.download-downloader-steps strong {
  color: #edf0f3;
  font-size: 0.87rem;
}

.download-downloader-steps p span {
  color: #858e98;
  font-size: 0.74rem;
  line-height: 1.65;
}

.download-downloader-trust {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.download-downloader-trust p {
  margin: 0;
  color: #959da6;
  font-size: 0.68rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .download-downloader-shell {
    grid-template-columns: 1fr;
  }

  .download-downloader-panel {
    width: min(100%, 620px);
  }
}

@media (max-width: 600px) {
  .download-downloader-v5 {
    padding: 7rem 1rem 4rem;
  }

  .download-downloader-copy h2 {
    font-size: clamp(3.1rem, 17vw, 4.8rem);
  }

  .download-downloader-compat {
    grid-template-columns: 1fr;
  }

  .download-downloader-compat > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 0;
  }

  .download-downloader-cta {
    width: 100%;
    justify-content: center;
  }

  .download-downloader-panel {
    border-radius: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-downloader-cta {
    transition: none;
  }
}
