:root {
  --bg: #121212;
  --surface: #ffffff;
  --surface-strong: #fff7f1;
  --ink: #111111;
  --muted: #666666;
  --line: #ececec;
  --brand: #ff6f0f;
  --brand-dark: #d25400;
  --accent: #1d5fa7;
  --success: #1c6b47;
  --danger: #8f2f25;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: #f5f5f5;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

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

main {
  min-height: 80vh;
}

.container {
  width: min(1160px, calc(100vw - 2rem));
  margin: 0 auto;
}

.narrow-container {
  width: min(520px, calc(100vw - 2rem));
}

.site-header,
.site-footer {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 16, 16, 0.82);
  backdrop-filter: blur(18px);
  color: white;
  position: relative;
  z-index: 20;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  margin-top: 3rem;
}

.header-shell,
.footer-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.brand-mark {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav,
.footer-links,
.admin-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.section,
.admin-section {
  padding: 3.5rem 0;
}

.section-tight {
  padding-top: 2rem;
}

.hero-grid,
.detail-grid,
.admin-grid,
.editor-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-grid,
.detail-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

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

.stack,
.stack-lg {
  display: flex;
  flex-direction: column;
}

.stack {
  gap: 0.85rem;
}

.stack-lg {
  gap: 1.25rem;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 111, 15, 0.12);
  color: var(--brand);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  background: var(--brand);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  font-family: "Rubik", "Avenir Next Condensed", "Arial Narrow", sans-serif;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
}

.lead,
.prose p,
.site-footer p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.lead-inverse {
  color: rgba(255, 255, 255, 0.82);
}

.button-row,
.detail-meta,
.feature-list,
.panel-header,
.inline-form,
.import-form,
.action-row,
.two-col,
.three-col {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  align-items: center;
}

.button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  padding: 0.9rem 1.3rem;
  font-weight: 700;
  cursor: pointer;
}

.button-secondary {
  background: rgba(0, 0, 0, 0.06);
  color: var(--ink);
}

.button-ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.button-link {
  padding: 0;
  background: transparent;
  color: var(--accent);
}

.button-full {
  width: 100%;
}

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

.text-link {
  color: var(--accent);
  font-weight: 700;
}

.showcase-shell,
.sale-stage {
  background: #09090b;
}

.showcase-grid,
.sale-stage-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: calc(100vh - 74px);
}

.showcase-hero,
.sale-stage-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 4rem;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.sale-stage-hero-platform {
  background:
    radial-gradient(circle at top left, rgba(255, 153, 55, 0.2), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 177, 101, 0.12), transparent 34%),
    linear-gradient(135deg, #0c0c10 0%, #111114 45%, #17171d 100%);
}

.sale-stage-hero-hosted {
  background-image: url("/images/domain-hero.jpg");
}

.sale-stage-hero-image {
  background-position: center;
  background-size: cover;
}

.showcase-overlay,
.sale-stage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 8, 0.36) 0%, rgba(6, 6, 8, 0.76) 100%);
}

.showcase-copy,
.sale-stage-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  color: white;
}

.sale-stage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.sale-meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(248, 244, 238, 0.88);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sale-stage-copy h1 {
  max-width: 10ch;
}

.showcase-panel,
.sale-stage-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  gap: 1.4rem;
  padding: 3rem 2.6rem;
  background: #fcfbf8;
  color: var(--ink);
}

.sale-stage-panel h2,
.sale-stage-panel h3,
.sale-stage-panel strong,
.sale-stage-panel label {
  color: var(--ink);
}

.sale-stage-prose {
  max-width: 44rem;
}

.listing-summary-card {
  padding: 1.35rem 1.4rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 248, 238, 0.96) 0%, rgba(255, 243, 228, 0.9) 100%);
  border: 1px solid rgba(31, 26, 23, 0.08);
}

.listing-summary-card h2 {
  margin-top: 0.9rem;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
}

.inquiry-form {
  gap: 1rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

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

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

.field-span-full {
  grid-column: 1 / -1;
}

.field-help {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

body.modal-open {
  overflow: hidden;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-shell[hidden] {
  display: none !important;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 10, 0.72);
  backdrop-filter: blur(10px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: 1.4rem;
  border-radius: 24px;
  background: #fcfbf8;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
  color: var(--ink);
}

.modal-dialog-wide {
  width: min(820px, 100%);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modal-close {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.bid-intro-card {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(31, 26, 23, 0.08);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.72);
}

.bid-intro-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
}

.bid-intro-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.bid-warning {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 111, 15, 0.12);
  color: var(--brand);
  font-size: 0.95rem;
  line-height: 1.55;
}

.bid-room-shell {
  max-width: 960px;
  margin: 0 auto;
}

body:not(.admin-body):not(.direct-host-body) .bid-room-shell .table-card {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.16);
}

body:not(.admin-body):not(.direct-host-body) .bid-room-shell h1,
body:not(.admin-body):not(.direct-host-body) .bid-room-shell h2,
body:not(.admin-body):not(.direct-host-body) .bid-room-shell h3,
body:not(.admin-body):not(.direct-host-body) .bid-room-shell strong,
body:not(.admin-body):not(.direct-host-body) .bid-room-shell label,
body:not(.admin-body):not(.direct-host-body) .bid-room-shell .text-link {
  color: var(--ink);
}

body:not(.admin-body):not(.direct-host-body) .bid-room-shell .muted,
body:not(.admin-body):not(.direct-host-body) .bid-room-shell .field-help,
body:not(.admin-body):not(.direct-host-body) .bid-room-shell .bid-intro-card p,
body:not(.admin-body):not(.direct-host-body) .bid-room-shell .detail-list span {
  color: var(--muted);
}

body:not(.admin-body):not(.direct-host-body) .bid-room-shell .text-link {
  color: var(--brand);
}

body:not(.admin-body):not(.direct-host-body) .bid-room-shell .input,
body:not(.admin-body):not(.direct-host-body) .bid-room-shell .textarea {
  color: var(--ink);
  background: #fff;
  border-color: rgba(17, 17, 17, 0.12);
}

body:not(.admin-body):not(.direct-host-body) .bid-room-shell .input::placeholder,
body:not(.admin-body):not(.direct-host-body) .bid-room-shell .textarea::placeholder {
  color: #8d8d8d;
}

body:not(.admin-body):not(.direct-host-body) .bid-room-shell .section-header {
  align-items: start;
}

body:not(.admin-body):not(.direct-host-body) .bid-room-shell .section-header h1 {
  margin-top: 0.45rem;
}

body:not(.admin-body):not(.direct-host-body) .bid-room-shell .detail-list strong {
  display: block;
  margin-top: 0.15rem;
}

.sale-stage-price,
.listing-price {
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
}

.listing-price {
  margin-top: 0.7rem;
  color: #171717;
}

.sale-stage-text,
.listing-lead,
.listing-note {
  color: var(--muted);
  line-height: 1.7;
}

.listing-actions {
  margin-top: 0.15rem;
}

.listing-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(17, 17, 17, 0.06);
}

.listing-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.listing-item strong {
  color: var(--ink);
  text-align: right;
}

.listing-links {
  display: grid;
  gap: 0.85rem;
}

.listing-link {
  display: block;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.listing-link:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.portfolio-section {
  padding: 5rem 1.2rem;
  background: #f5f5f5;
}

.portfolio-shell {
  max-width: 1280px;
  margin: 0 auto;
}

.portfolio-header {
  max-width: 760px;
  margin-bottom: 2rem;
}

.portfolio-header h2 {
  margin: 0.7rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.metric-panel,
.admin-metrics,
.card-grid {
  display: grid;
  gap: 1rem;
}

.metric-panel,
.admin-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-metrics-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.metric-card,
.domain-card,
.inquiry-card,
.table-card,
.auth-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.domain-card {
  display: block;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.domain-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: 0 20px 40px rgba(255, 111, 15, 0.12);
}

.domain-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.domain-card-price {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #fff1e7;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.domain-card-meta {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.metric-card span,
.detail-list span,
.table-subtext,
.muted {
  color: var(--muted);
}

.metric-card strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 2rem;
}

.metric-detail {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.dashboard-card {
  display: grid;
  gap: 1rem;
}

.dashboard-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.dashboard-inline-stat {
  border-radius: 18px;
  background: #f8f5f1;
  padding: 1rem;
}

.dashboard-inline-stat span,
.dashboard-rank-copy span,
.dashboard-list-item span,
.dashboard-activity-day span {
  color: var(--muted);
}

.dashboard-inline-stat strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.35rem;
}

.dashboard-breakdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.dashboard-breakdown-tight {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-breakdown-item {
  border: 1px solid rgba(31, 26, 23, 0.08);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  background: #fff;
}

.dashboard-breakdown-item span {
  color: var(--muted);
  font-size: 0.85rem;
}

.dashboard-breakdown-item strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.3rem;
}

.dashboard-meta-list {
  display: grid;
  gap: 0.65rem;
}

.dashboard-meta-list div,
.dashboard-list-item,
.dashboard-rank-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

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

.dashboard-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-split h3 {
  margin-bottom: 0.7rem;
}

.dashboard-activity-chart {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 0.7rem;
  align-items: end;
}

.dashboard-activity-day {
  display: grid;
  gap: 0.45rem;
}

.dashboard-activity-day strong {
  font-size: 0.84rem;
}

.dashboard-activity-bars {
  height: 130px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 0.3rem;
}

.dashboard-bar {
  display: block;
  border-radius: 999px 999px 10px 10px;
  min-height: 6px;
}

.dashboard-bar-leads {
  background: #1f1a17;
}

.dashboard-bar-bids {
  background: linear-gradient(180deg, #ff9448 0%, #ff6f0f 100%);
}

.dashboard-rank-list,
.dashboard-list,
.dashboard-conversion-list {
  display: grid;
  gap: 0.8rem;
}

.dashboard-rank-copy,
.dashboard-list-item > div:first-child {
  display: grid;
  gap: 0.2rem;
}

.dashboard-rank-copy a {
  color: inherit;
  font-weight: 700;
}

.dashboard-rank-bar {
  flex: 0 0 36%;
  min-width: 140px;
  height: 10px;
  border-radius: 999px;
  background: #f1ebe5;
  overflow: hidden;
}

.dashboard-rank-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffb166 0%, #ff6f0f 100%);
}

.dashboard-list-item {
  border-top: 1px solid rgba(31, 26, 23, 0.08);
  padding-top: 0.8rem;
}

.dashboard-list-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.dashboard-conversion-item {
  border-top: 1px solid rgba(31, 26, 23, 0.08);
  padding-top: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.dashboard-conversion-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.dashboard-conversion-main,
.dashboard-conversion-metrics {
  display: grid;
  gap: 0.25rem;
}

.dashboard-conversion-main a {
  color: inherit;
  font-weight: 700;
}

.dashboard-conversion-main span,
.dashboard-conversion-metrics span {
  color: var(--muted);
}

.dashboard-conversion-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 240px;
}

.dashboard-conversion-metrics strong {
  display: block;
  margin-top: 0.2rem;
}

.dashboard-list-meta {
  display: grid;
  gap: 0.2rem;
  justify-items: end;
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #fff1e7;
  color: var(--brand);
  font-size: 0.85rem;
}

.filter-panel {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 2fr repeat(3, minmax(0, 1fr)) auto;
  margin: 1.5rem 0;
}

.input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 0.9rem 1rem;
  color: var(--ink);
  font: inherit;
}

.textarea {
  resize: vertical;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid rgba(31, 26, 23, 0.08);
  text-align: left;
  vertical-align: top;
}

.table th {
  color: var(--muted);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.table tr:last-child td {
  border-bottom: 0;
}

.detail-meta div,
.detail-list div {
  min-width: 140px;
}

.detail-meta span,
.detail-list span {
  display: block;
  margin-bottom: 0.25rem;
}

.feature-list span {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(31, 26, 23, 0.05);
  color: var(--muted);
}

.direct-hero {
  padding-top: 5rem;
}

.direct-host-body {
  background: #101010;
}

.notice {
  padding: 1rem 1.2rem;
  border-radius: 18px;
  margin-bottom: 1rem;
}

.notice-spaced {
  margin-top: 1.5rem;
}

.notice-success {
  background: rgba(28, 107, 71, 0.12);
  color: var(--success);
}

.notice-error {
  background: rgba(143, 47, 37, 0.12);
  color: var(--danger);
}

.field-error {
  color: var(--danger);
  font-size: 0.9rem;
}

.admin-body {
  background: #f1eadf;
}

.admin-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 1.25rem;
  background: #fffaf2;
  border-right: 1px solid rgba(31, 26, 23, 0.08);
}

.admin-nav {
  flex-direction: column;
  align-items: stretch;
}

.admin-nav a {
  padding: 0.9rem 1rem;
  border-radius: 18px;
}

.admin-nav a:hover {
  background: rgba(165, 71, 31, 0.08);
}

.admin-main {
  padding: 2rem;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.activity-item {
  padding: 1rem;
  border-radius: 18px;
  background: var(--surface-strong);
}

.activity-item p {
  margin: 0.45rem 0;
  color: var(--muted);
}

.checkbox-row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.checkbox-card {
  min-height: 58px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.help-box {
  border: 1px solid rgba(31, 26, 23, 0.08);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.72);
  padding: 0.9rem 1rem;
}

.help-box summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.help-box-content {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.55rem;
}

.help-box-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.advanced-panel[open] {
  display: flex;
}

.advanced-summary {
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  list-style: none;
}

.advanced-summary::-webkit-details-marker {
  display: none;
}

.advanced-panel:not([open]) {
  padding: 1.1rem 1.4rem;
}

.editor-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.align-end {
  align-items: end;
}

.info-tile {
  min-height: 58px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(31, 26, 23, 0.08);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.72);
}

.info-tile strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.35rem;
}

.status-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.status-neutral {
  background: rgba(31, 26, 23, 0.08);
  color: var(--ink);
}

.status-active {
  background: rgba(255, 111, 15, 0.14);
  color: var(--brand);
}

.status-pending {
  background: rgba(172, 117, 37, 0.14);
  color: #8f5d12;
}

.status-success {
  background: rgba(28, 107, 71, 0.14);
  color: var(--success);
}

.status-danger {
  background: rgba(143, 47, 37, 0.14);
  color: var(--danger);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: white;
  text-decoration: none;
  transform: translateX(-50%);
}

.scroll-cue-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.88;
}

.scroll-cue-mouse {
  position: relative;
  width: 30px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.scroll-cue-wheel {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: #fff;
  transform: translateX(-50%);
  animation: scroll-wheel 1.6s ease-in-out infinite;
}

.scroll-cue-arrow {
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(255, 255, 255, 0.84);
  border-bottom: 2px solid rgba(255, 255, 255, 0.84);
  transform: rotate(45deg);
  animation: scroll-arrow 1.6s ease-in-out infinite;
}

.back-link {
  color: white;
  font-weight: 700;
}

.section-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

@keyframes scroll-wheel {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  25% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
}

@keyframes scroll-arrow {
  0%,
  100% {
    opacity: 0.45;
    transform: rotate(45deg) translateY(0);
  }

  50% {
    opacity: 1;
    transform: rotate(45deg) translateY(4px);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .detail-grid,
  .admin-grid,
  .dashboard-grid,
  .editor-grid,
  .admin-shell,
  .filter-panel,
  .showcase-grid,
  .sale-stage-grid,
  .domain-grid {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    min-height: auto;
  }

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

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

  .admin-metrics-wide,
  .dashboard-stat-grid,
  .dashboard-breakdown,
  .dashboard-breakdown-tight,
  .dashboard-split {
    grid-template-columns: 1fr;
  }

  .dashboard-activity-chart {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .dashboard-rank-item,
  .dashboard-list-item,
  .dashboard-conversion-item,
  .dashboard-meta-list div {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-list-meta {
    justify-items: start;
  }

  .dashboard-rank-bar {
    width: 100%;
    min-width: 0;
  }

  .dashboard-conversion-metrics {
    grid-template-columns: 1fr;
    min-width: 0;
    width: 100%;
  }

  .header-shell,
  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .showcase-hero,
  .sale-stage-hero,
  .showcase-panel,
  .sale-stage-panel {
    min-height: auto;
    padding: 3rem 1.4rem;
  }

  .sale-stage-copy h1 {
    max-width: none;
  }

  .modal-shell {
    align-items: flex-end;
    padding: 0;
  }

  .modal-dialog,
  .modal-dialog-wide {
    width: 100%;
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
    padding: 1.15rem 1rem 1.2rem;
  }

  .modal-actions {
    flex-direction: column-reverse;
  }

  .admin-main {
    padding: 1rem;
  }
}

body:not(.admin-body):not(.direct-host-body) {
  background:
    radial-gradient(circle at top left, rgba(255, 155, 78, 0.12), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(255, 123, 0, 0.08), transparent 22%),
    linear-gradient(180deg, #0b0b0d 0%, #0f1013 100%);
  color: #f3f2ef;
}

body.bid-room-body {
  background:
    radial-gradient(circle at top left, rgba(255, 155, 78, 0.1), transparent 24%),
    linear-gradient(180deg, #121214 0%, #0f1013 100%);
  color: var(--ink);
}

body:not(.admin-body):not(.direct-host-body) main {
  overflow: clip;
}

body:not(.admin-body):not(.direct-host-body) .site-header {
  position: sticky;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(22px);
}

body:not(.admin-body):not(.direct-host-body) .site-footer {
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #09090b;
}

body:not(.admin-body):not(.direct-host-body) .header-shell,
body:not(.admin-body):not(.direct-host-body) .footer-shell {
  padding: 1.1rem 0;
}

body:not(.admin-body):not(.direct-host-body) .header-shell {
  justify-content: center;
}

body:not(.admin-body):not(.direct-host-body) .brand-mark {
  letter-spacing: 0.18em;
  font-size: 0.92rem;
  color: #f8f5ef;
}

body:not(.admin-body):not(.direct-host-body) .site-nav {
  gap: 1.5rem;
}

body:not(.admin-body):not(.direct-host-body) .site-nav a,
body:not(.admin-body):not(.direct-host-body) .footer-links a,
body:not(.admin-body):not(.direct-host-body) .footer-links span,
body:not(.admin-body):not(.direct-host-body) .admin-link {
  color: rgba(245, 242, 236, 0.72);
  font-size: 0.95rem;
}

body:not(.admin-body):not(.direct-host-body) .site-nav a:hover,
body:not(.admin-body):not(.direct-host-body) .footer-links a:hover,
body:not(.admin-body):not(.direct-host-body) .admin-link:hover {
  color: #fff3e8;
}

body:not(.admin-body):not(.direct-host-body) .admin-link {
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

body:not(.admin-body):not(.direct-host-body) .button {
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9937 0%, #ff7416 100%);
  box-shadow: 0 10px 30px rgba(255, 119, 29, 0.2);
}

body:not(.admin-body):not(.direct-host-body) .button:hover {
  transform: translateY(-1px);
}

body:not(.admin-body):not(.direct-host-body) .button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: #f7f3ec;
  box-shadow: none;
}

body:not(.admin-body):not(.direct-host-body) .text-link {
  color: #ffb165;
}

body:not(.admin-body):not(.direct-host-body) .footer-brand p {
  max-width: 26rem;
}

body:not(.admin-body):not(.direct-host-body) .footer-columns {
  display: flex;
  gap: 3.5rem;
}

body:not(.admin-body):not(.direct-host-body) .footer-links {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

body:not(.admin-body):not(.direct-host-body) .footer-links span {
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.home-hero,
.home-section {
  position: relative;
}

.home-hero {
  padding: 5.5rem 0 3.25rem;
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(80px);
}

.home-hero::before {
  width: 320px;
  height: 320px;
  top: 20px;
  right: -60px;
  background: rgba(255, 133, 40, 0.12);
}

.home-hero::after {
  width: 260px;
  height: 260px;
  left: -40px;
  bottom: 30px;
  background: rgba(255, 173, 102, 0.08);
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 2.4rem;
  align-items: center;
}

.home-hero-copy {
  max-width: 38rem;
}

.home-label,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.82rem;
  border: 1px solid rgba(255, 177, 101, 0.16);
  border-radius: 999px;
  background: rgba(255, 177, 101, 0.06);
  color: #ffb165;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-hero-copy h1 {
  max-width: 9ch;
  margin-top: 1.2rem;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #f7f3ec;
}

.home-lead {
  max-width: 31rem;
  margin: 1.35rem 0 0;
  font-size: 1.08rem;
  line-height: 1.72;
  color: rgba(245, 242, 236, 0.86);
}

.home-support {
  max-width: 29rem;
  margin: 1rem 0 0;
  color: rgba(245, 242, 236, 0.58);
  line-height: 1.7;
}

.hero-fact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.hero-fact {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-fact span {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.hero-fact strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.45rem;
  color: #f7f3ec;
}

.home-cta-row {
  margin-top: 2rem;
}

.market-panel,
.market-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(24, 24, 28, 0.94) 0%, rgba(18, 18, 22, 0.98) 100%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
}

.market-card {
  padding: 1.5rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.market-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 177, 101, 0.2);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.portfolio-preview {
  padding: 1.3rem;
}

.portfolio-topline,
.portfolio-list-header,
.spotlight-footer,
.market-domain-card-top,
.market-domain-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.portfolio-topline span,
.portfolio-list-header span,
.spotlight-kicker,
.metric-tile span,
.step-index {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.portfolio-topline strong,
.portfolio-list-header strong {
  color: #f3efe9;
  font-size: 0.88rem;
}

.spotlight-card {
  margin-top: 1rem;
  padding: 1.25rem;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(255, 146, 41, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.spotlight-card h2 {
  margin-top: 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  color: #fbf7f1;
}

.spotlight-card p {
  margin: 0.85rem 0 1.35rem;
  color: rgba(245, 242, 236, 0.64);
  line-height: 1.7;
}

.spotlight-footer strong {
  color: #ffb165;
  font-size: 1.05rem;
}

.portfolio-list {
  margin-top: 1rem;
  padding: 1.1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.portfolio-name-stack {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.portfolio-name-item,
.portfolio-name-placeholder {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.portfolio-name-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 177, 101, 0.18);
  transform: translateY(-2px);
}

.portfolio-name-title {
  color: #f8f4ee;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.portfolio-name-meta,
.portfolio-name-placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.home-section {
  padding: 2.5rem 0 4.5rem;
}

.home-catalog-section {
  padding-top: 1rem;
  padding-bottom: 5.25rem;
}

.section-shell {
  display: grid;
  gap: 1.8rem;
}

.section-intro {
  display: grid;
  gap: 0.9rem;
  max-width: 44rem;
}

.section-intro.narrow {
  max-width: 40rem;
}

.section-intro h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #f8f4ee;
}

.section-intro p {
  color: rgba(245, 242, 236, 0.58);
  font-size: 1.03rem;
  line-height: 1.7;
}

.featured-grid,
.overview-grid {
  display: grid;
  gap: 1.1rem;
}

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

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.catalog-search {
  display: grid;
  gap: 0.5rem;
}

.catalog-search span,
.catalog-summary {
  color: rgba(245, 242, 236, 0.66);
  font-size: 0.9rem;
}

.catalog-summary {
  padding-bottom: 0.85rem;
  white-space: nowrap;
}

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

.market-domain-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
}

.market-domain-card-media {
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.04);
}

.market-domain-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.market-domain-card-top h3,
.overview-card h3 {
  color: #faf7f1;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.market-price-tag {
  display: inline-flex;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 177, 101, 0.12);
  color: #ffb165;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.market-domain-card p,
.overview-card p {
  margin: 0;
  color: rgba(245, 242, 236, 0.62);
  line-height: 1.72;
}

.market-domain-card-meta {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.market-card-cta {
  width: fit-content;
  margin-top: 0.25rem;
}

.category-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(247, 243, 236, 0.82);
  font-size: 0.9rem;
}

.help-inline {
  border: 1px solid rgba(31, 26, 23, 0.08);
  border-radius: 18px;
  background: #f8f5f1;
  padding: 1rem;
}

.help-inline strong {
  display: block;
  margin-bottom: 0.3rem;
}

.section-cta.left {
  justify-content: flex-start;
}

body:not(.admin-body):not(.direct-host-body) .site-footer .footer-admin-link {
  color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 1100px) {
  .home-hero-grid,
  .featured-grid,
  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-hero-copy h1 {
    max-width: 10ch;
  }
}

@media (max-width: 760px) {
  body:not(.admin-body):not(.direct-host-body) .header-shell,
  body:not(.admin-body):not(.direct-host-body) .footer-shell,
  body:not(.admin-body):not(.direct-host-body) .footer-columns {
    flex-direction: column;
    align-items: flex-start;
  }

  body:not(.admin-body):not(.direct-host-body) .site-nav {
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
  }

  .home-hero {
    padding-top: 4.4rem;
  }

  .home-hero-grid,
  .featured-grid,
  .overview-grid,
  .hero-fact-row {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .home-hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(2.9rem, 16vw, 4.8rem);
  }

  .portfolio-preview,
  .market-card {
    padding: 1.2rem;
    border-radius: 22px;
  }

  .section-intro h2 {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
  }
}
