:root {
  --bg: #080b0f;
  --bg-2: #0d1219;
  --panel: #121822;
  --panel-2: #171f2b;
  --line: rgba(158, 181, 204, 0.18);
  --line-strong: rgba(187, 209, 232, 0.32);
  --text: #edf4fb;
  --soft: #9daebe;
  --muted: #6f8090;
  --cyan: #31d7d1;
  --blue: #4d8fff;
  --amber: #ffb84d;
  --rose: #ef6f73;
  --green: #92ec86;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(135deg, rgba(49, 215, 209, 0.08), transparent 28%),
    linear-gradient(315deg, rgba(239, 111, 115, 0.08), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

.buyer-page {
  background:
    linear-gradient(92deg, rgba(49, 215, 209, 0.13), transparent 28%),
    linear-gradient(276deg, rgba(255, 184, 77, 0.1), transparent 30%),
    var(--bg);
}

.buyer-main {
  min-height: 100vh;
}

.headline-hero {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-bottom: 1px solid var(--line);
  padding: 22px 36px 30px;
  background:
    linear-gradient(90deg, rgba(8, 11, 15, 0.98), rgba(10, 30, 31, 0.72), rgba(25, 20, 15, 0.74)),
    var(--bg);
}

.headline-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(49, 215, 209, 0.72), transparent);
}

.hero-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px 7px 7px;
  background: rgba(18, 24, 34, 0.68);
  color: #edf4fb;
  font-size: 13px;
  font-weight: 900;
}

.hero-brand img {
  width: 28px;
  height: 28px;
  border-radius: 999px;
}

.headline-hero h1 {
  position: relative;
  max-width: 1160px;
  margin: 0;
  color: #edf4fb;
  font-size: 78px;
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: 0;
}

.card-showcase {
  padding: 28px 36px 42px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 18px;
}

.asset-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 24, 34, 0.86);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.asset-card:hover,
.asset-card:focus-visible {
  border-color: rgba(49, 215, 209, 0.5);
  background: rgba(23, 32, 45, 0.94);
  outline: 0;
  transform: translateY(-2px);
}

.asset-preview {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(49, 215, 209, 0.12), rgba(255, 184, 77, 0.08)),
    #101722;
}

.asset-preview.is-empty,
.detail-preview {
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, rgba(49, 215, 209, 0.15), transparent 34%),
    #101722;
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.asset-preview.is-empty span,
.detail-preview span {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(8, 11, 15, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.asset-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.asset-body {
  display: grid;
  gap: 12px;
  padding: 15px;
}

.asset-body p {
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.asset-body h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.15;
}

.asset-body > span {
  color: var(--soft);
  font-size: 13px;
}

.asset-meta,
.asset-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.asset-meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.asset-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.asset-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 850;
}

.asset-action strong {
  font-size: 22px;
}

.view-link {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 950;
}

.empty-card {
  grid-column: 1 / -1;
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
}

.seo-content {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 36px 56px;
}

.seo-intro,
.faq-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 24, 34, 0.72);
}

.seo-intro {
  margin-bottom: 14px;
  padding: 18px;
}

.seo-intro.compact p:last-child {
  max-width: 1040px;
  margin-bottom: 0;
}

.usage-notice {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 184, 77, 0.34);
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(255, 184, 77, 0.08);
}

.usage-notice strong {
  color: #ffcf77;
  font-size: 13px;
}

.usage-notice p {
  margin: 0;
  color: #d9c8a7;
  font-size: 13px;
}

.policy-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 14px;
}

.policy-detail {
  position: relative;
}

.policy-detail > summary {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(18, 24, 34, 0.62);
  color: #ffcf77;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  list-style: none;
}

.policy-detail > summary::-webkit-details-marker {
  display: none;
}

.policy-detail[open] > summary {
  border-color: rgba(255, 184, 77, 0.58);
  color: #ffe0a3;
}

.policy-detail > p,
.policy-faq {
  position: absolute;
  left: 0;
  z-index: 7;
  width: min(440px, calc(100vw - 36px));
  margin: 0;
  border: 1px solid rgba(255, 184, 77, 0.28);
  border-radius: 8px;
  padding: 12px;
  background: #101722;
  box-shadow: var(--shadow);
  color: #d9c8a7;
  font-size: 13px;
}

.policy-detail a {
  color: #31d7d1;
  font-weight: 900;
}

.policy-faq {
  display: grid;
  gap: 8px;
}

.policy-faq details {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.policy-faq details:first-child {
  border-top: 0;
  padding-top: 0;
}

.policy-faq summary {
  color: #edf4fb;
  cursor: pointer;
  font-weight: 900;
  list-style: revert;
}

.policy-faq p {
  margin: 7px 0 0;
  color: #b9c8d7;
}

.seo-intro h2 {
  max-width: 900px;
  margin-bottom: 8px;
  color: #edf4fb;
  font-size: 24px;
  line-height: 1.12;
}

.seo-intro p:last-child,
.seo-link-panels p,
.faq-section p {
  color: #b9c8d7;
}

.seo-link-panels {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 14px;
}

.faq-section {
  padding: 14px;
}

.faq-section h3 {
  margin: 0 0 7px;
  color: #edf4fb;
  font-size: 15px;
}

.seo-link-panels details {
  position: relative;
}

.seo-link-panels summary {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(18, 24, 34, 0.62);
  color: #b9c8d7;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  list-style: none;
}

.seo-link-panels summary::-webkit-details-marker {
  display: none;
}

.seo-link-panels details[open] summary {
  border-color: rgba(49, 215, 209, 0.55);
  color: #edf4fb;
}

.seo-link-panels p {
  position: absolute;
  left: 0;
  z-index: 5;
  width: min(360px, calc(100vw - 36px));
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #101722;
  box-shadow: var(--shadow);
  color: #b9c8d7;
  font-size: 13px;
}

.faq-section details {
  border-top: 1px solid var(--line);
  padding: 10px 0;
}

.faq-section details:first-of-type {
  border-top: 0;
}

.faq-section summary {
  color: #edf4fb;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.faq-section p {
  margin: 8px 0 0;
  font-size: 14px;
}

.detail-modal {
  width: min(1420px, calc(100% - 28px));
  border: 0;
  padding: 0;
  border-radius: 8px;
  background: transparent;
}

.detail-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.detail-panel {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 24px;
  background: #0d1219;
  color: var(--text);
  box-shadow: var(--shadow);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(560px, 1.45fr) minmax(360px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.detail-preview {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.carousel-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.carousel-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #080b0f;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(8, 11, 15, 0.72);
  color: var(--text);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
}

.carousel-button.previous {
  left: 14px;
}

.carousel-button.next {
  right: 14px;
}

.carousel-button:disabled {
  cursor: default;
  opacity: 0.28;
}

.carousel-count {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(8, 11, 15, 0.72);
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
}

.detail-copy {
  display: grid;
  gap: 14px;
  color: var(--text);
}

.detail-kicker {
  margin: 0;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.detail-copy h2 {
  margin: 0;
  color: #edf4fb;
  font-size: 32px;
  line-height: 1.05;
}

.detail-copy > p {
  margin: 0;
  color: #b9c8d7;
}

.detail-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.detail-price strong {
  color: #f2f8ff;
  font-size: 30px;
}

.detail-price span {
  color: #b9c8d7;
  font-size: 13px;
  font-weight: 850;
  text-align: right;
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.detail-specs div {
  border: 1px solid rgba(187, 209, 232, 0.22);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.055);
}

.detail-specs dt {
  color: #8ea1b3;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.detail-specs dd {
  margin: 3px 0 0;
  color: #edf4fb;
  font-size: 13px;
  font-weight: 850;
}

.detail-includes h3 {
  margin: 0 0 8px;
  color: #edf4fb;
  font-size: 15px;
}

.detail-includes ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: #b9c8d7;
  font-size: 13px;
}

.detail-copy .button {
  width: max-content;
}

.detail-copy .button.accent {
  color: #061017;
}

.detail-panel .close-button {
  color: #b9c8d7;
  font-size: 22px;
}

.detail-panel .close-button:hover {
  color: #edf4fb;
}

.detail-copy .button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.7);
  opacity: 0.55;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(210px, auto) minmax(260px, 620px) auto auto;
  gap: 18px;
  align-items: center;
  padding: 14px 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 15, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(49, 215, 209, 0.45);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(49, 215, 209, 0.22), rgba(77, 143, 255, 0.14)),
    #0f161f;
  color: var(--cyan);
  font-weight: 900;
}

.brand-mark img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  line-height: 1.15;
}

.brand-copy small {
  color: var(--soft);
  font-size: 12px;
}

.header-search,
.hero-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(18, 24, 34, 0.86);
  color: var(--soft);
}

.header-search {
  padding: 0 14px;
}

.hero-search {
  flex: 1;
  min-width: 260px;
  padding: 0 16px;
}

.header-search input,
.hero-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.header-search input::placeholder,
.hero-search input::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 800;
}

.header-nav a {
  border-bottom: 2px solid transparent;
  padding: 8px 0;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  border-color: var(--cyan);
  color: var(--text);
}

.button,
.icon-button,
.plain-button,
.category-button,
.quick-chip {
  border: 0;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease;
}

.button:hover,
.icon-button:hover,
.category-button:hover,
.quick-chip:hover {
  transform: translateY(-1px);
}

.button.accent {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #061017;
  box-shadow: 0 16px 36px rgba(49, 215, 209, 0.22);
}

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

.button.compact {
  min-height: 40px;
  padding-inline: 14px;
}

.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(8, 11, 15, 0.2), rgba(8, 11, 15, 0.92)),
    var(--bg-2);
}

.hero-shell::before,
.hero-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-shell::before {
  inset: -120px -20% auto;
  height: 420px;
  background:
    linear-gradient(105deg, transparent 0 30%, rgba(49, 215, 209, 0.22) 45%, transparent 62%),
    linear-gradient(72deg, transparent 0 42%, rgba(255, 184, 77, 0.17) 55%, transparent 72%);
  filter: blur(18px);
  opacity: 0.82;
  transform: skewY(-4deg);
}

.hero-shell::after {
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(49, 215, 209, 0.7), transparent);
}

.lighting-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 80%);
}

.hero-content {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 34px 58px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: 58px;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 28px;
  line-height: 1.14;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--soft);
  font-size: 18px;
}

.hero-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 960px;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.quick-chip {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.quick-chip.active {
  border-color: rgba(49, 215, 209, 0.6);
  background: rgba(49, 215, 209, 0.14);
  color: var(--text);
}

.market-frame {
  display: grid;
  grid-template-columns: 274px minmax(0, 1fr);
  gap: 18px;
  max-width: 1460px;
  margin: 0 auto;
  padding: 28px 34px;
}

.anchor-target {
  position: relative;
  top: -86px;
  display: block;
  height: 0;
}

.sidebar,
.work-browser {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 24, 34, 0.72);
  box-shadow: var(--shadow);
}

.sidebar {
  position: sticky;
  top: 86px;
  align-self: start;
  padding: 18px;
}

.side-section + .side-section {
  margin-top: 26px;
}

.side-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 950;
}

.plain-button {
  background: transparent;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.category-stack {
  display: grid;
  gap: 7px;
}

.category-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  border-radius: 8px;
  padding: 0 11px;
  background: transparent;
  color: var(--soft);
  text-align: left;
  font-size: 14px;
  font-weight: 800;
}

.category-button.active {
  background: rgba(49, 215, 209, 0.14);
  color: var(--text);
}

.category-button span:last-child {
  color: var(--muted);
  font-size: 12px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--cyan);
}

.check-line {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 760;
}

.check-line input {
  accent-color: var(--cyan);
}

.work-browser {
  min-width: 0;
  padding: 18px;
}

.browser-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

#resultText {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

select,
input,
textarea {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(7, 10, 14, 0.72);
  color: var(--text);
}

select,
input {
  min-height: 42px;
  padding: 0 12px;
}

textarea {
  min-height: 96px;
  resize: vertical;
  padding: 10px 12px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 16px;
}

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 14, 20, 0.9);
}

.work-preview {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(49, 215, 209, 0.12), rgba(255, 184, 77, 0.08)),
    #101722;
}

.work-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.work-card:hover .work-preview img {
  transform: scale(1.035);
}

.work-type {
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(8, 11, 15, 0.82);
  color: var(--text);
  font-size: 11px;
  font-weight: 900;
}

.work-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.work-body h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.18;
}

.work-body p {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
}

.meta-row,
.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.meta-row {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.price-line strong {
  font-size: 21px;
}

.download-state {
  color: var(--green);
}

.empty-state {
  display: grid;
  min-height: 430px;
  place-items: center;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(49, 215, 209, 0.08), transparent 44%),
    linear-gradient(300deg, rgba(255, 184, 77, 0.08), transparent 48%);
  text-align: center;
}

.empty-inner {
  max-width: 520px;
  padding: 32px;
}

.empty-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  place-items: center;
  border: 1px solid rgba(49, 215, 209, 0.42);
  border-radius: 8px;
  background: rgba(49, 215, 209, 0.1);
  color: var(--cyan);
}

.empty-inner h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.empty-inner p {
  color: var(--soft);
}

.confidence-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1460px;
  margin: 0 auto 34px;
  padding: 0 34px;
}

.confidence-strip div {
  display: grid;
  gap: 8px;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(18, 24, 34, 0.7);
}

.confidence-strip svg {
  color: var(--amber);
}

.confidence-strip strong {
  font-size: 15px;
}

.confidence-strip span {
  color: var(--soft);
  font-size: 13px;
}

.admin-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 68px 34px 44px;
  background:
    linear-gradient(108deg, rgba(49, 215, 209, 0.16), transparent 44%),
    linear-gradient(292deg, rgba(255, 184, 77, 0.12), transparent 52%),
    var(--bg-2);
}

.auth-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 420px);
  gap: 24px;
  width: min(980px, calc(100% - 36px));
  margin: 54px auto;
  align-items: start;
}

.auth-panel h1 {
  max-width: 620px;
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.08;
}

.auth-panel p {
  margin: 0;
  color: var(--soft);
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form label {
  display: grid;
  gap: 6px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 850;
}

.auth-status {
  min-height: 20px;
  color: #b9c8d7;
  font-size: 13px;
}

.auth-status[data-tone="error"] {
  color: #ff9ca0;
}

.admin-hero h1,
.admin-hero p {
  max-width: 900px;
}

.admin-hero p:last-child {
  margin: 0;
  color: var(--soft);
  font-size: 17px;
}

.admin-layout {
  display: grid;
  gap: 20px;
  max-width: 1460px;
  margin: 0 auto;
  padding: 28px 34px 42px;
}

.admin-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(18, 24, 34, 0.78);
  box-shadow: var(--shadow);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-item {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(8, 11, 15, 0.46);
}

.admin-item img {
  width: 124px;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  background: #101722;
}

.admin-thumb-empty {
  display: grid;
  width: 124px;
  aspect-ratio: 4 / 3;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101722;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-item h3 {
  margin-bottom: 4px;
  font-size: 17px;
}

.admin-item p {
  margin-bottom: 4px;
  color: var(--soft);
  font-size: 13px;
}

.admin-empty {
  min-height: 260px;
}

.modal {
  width: min(900px, calc(100% - 28px));
  border: 0;
  padding: 0;
  border-radius: 8px;
  background: transparent;
}

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

.modal-panel {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 24px;
  background: #0d1219;
  box-shadow: var(--shadow);
}

.close-button {
  position: absolute;
  top: 14px;
  right: 14px;
}

.upload-layout,
.purchase-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(330px, 1fr);
  gap: 22px;
  align-items: start;
}

.preview-uploader {
  position: relative;
  display: grid;
  min-height: 360px;
  place-items: center;
  overflow: hidden;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(49, 215, 209, 0.12), transparent 52%),
    #101722;
  color: var(--soft);
  cursor: pointer;
}

.preview-uploader input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.preview-uploader img,
.purchase-layout img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  background: #101722;
}

.preview-uploader img {
  position: absolute;
  inset: 0;
  display: none;
  height: 100%;
}

.preview-uploader.has-preview img {
  display: block;
}

.preview-uploader.has-preview .upload-placeholder {
  opacity: 0;
}

.preview-stack {
  position: absolute;
  inset: 10px;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  pointer-events: none;
}

.preview-uploader.has-preview .preview-stack {
  display: grid;
}

.preview-stack figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101722;
}

.preview-stack img {
  position: static;
  inset: auto;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.preview-stack figcaption {
  position: absolute;
  right: 7px;
  bottom: 7px;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(8, 11, 15, 0.74);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  line-height: 22px;
  text-align: center;
}

.upload-placeholder {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.field-grid {
  display: grid;
  gap: 12px;
}

.field-grid label,
.pay-field {
  display: grid;
  gap: 6px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 850;
}

.modal-actions,
.price-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.price-row {
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.price-row strong {
  font-size: 27px;
}

#purchaseDetails {
  color: var(--soft);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  max-width: 380px;
  border: 1px solid rgba(49, 215, 209, 0.38);
  border-radius: 8px;
  padding: 13px 15px;
  background: #101722;
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(190px, auto) minmax(220px, 1fr) auto;
  }

  .header-nav {
    display: none;
  }

  .work-grid {
    grid-template-columns: repeat(3, minmax(190px, 1fr));
  }

  .showcase-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }

  .headline-hero h1 {
    font-size: 64px;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 12px 18px;
  }

  .header-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .hero-content {
    padding: 52px 18px 38px;
  }

  h1 {
    font-size: 42px;
  }

  .headline-hero {
    min-height: 220px;
    padding: 20px 18px 26px;
  }

  .headline-hero h1 {
    font-size: 48px;
  }

  .card-showcase {
    padding: 22px 18px 34px;
  }

  .seo-content {
    padding: 0 18px 40px;
  }

  .hero-search-row,
  .browser-toolbar,
  .toolbar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .market-frame,
  .upload-layout,
  .auth-panel,
  .purchase-layout,
  .detail-layout,
  .confidence-strip {
    grid-template-columns: 1fr;
  }

  .detail-preview {
    min-height: 420px;
  }

  .market-frame,
  .admin-layout,
  .confidence-strip {
    padding-inline: 18px;
  }

  .sidebar {
    position: static;
  }

  #resultText {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .brand-copy small {
    display: none;
  }

  .button.compact span {
    display: none;
  }

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

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

  .seo-link-panels {
    display: grid;
    grid-template-columns: 1fr;
  }

  .seo-link-panels p {
    position: static;
    width: 100%;
    margin-top: 8px;
  }

  .policy-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .policy-detail > p,
  .policy-faq {
    position: static;
    width: 100%;
    margin-top: 8px;
  }

  .quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-chip {
    width: 100%;
  }

  .admin-hero {
    padding: 46px 18px 32px;
  }

  .admin-item {
    grid-template-columns: 92px minmax(0, 1fr) auto;
  }

  .admin-item img {
    width: 92px;
  }

  .admin-thumb-empty {
    width: 92px;
  }

  .modal-actions,
  .price-row {
    align-items: stretch;
    flex-direction: column;
  }

  .toast {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
  }
}

@media (max-width: 420px) {
  .brand-copy {
    display: none;
  }

  h1 {
    font-size: 34px;
  }

  .headline-hero h1 {
    font-size: 40px;
  }

  .asset-action,
  .asset-meta,
  .detail-price {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-specs {
    grid-template-columns: 1fr;
  }

  .detail-preview {
    min-height: 280px;
  }

  .detail-copy .button {
    width: 100%;
  }

  .panel-heading,
  .admin-item {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .admin-item img {
    width: 100%;
  }

  .admin-thumb-empty {
    width: 100%;
  }
}
