:root {
  --ink: #080a14;
  --panel: rgba(15, 18, 35, .88);
  --panel-strong: #111425;
  --line: rgba(255, 255, 255, .1);
  --gold: #f2c75c;
  --gold-soft: #ffe7a1;
  --cyan: #77e7ff;
  --text: #f8f6ef;
  --muted: #a9aec2;
  --success: #6ee7b7;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(ellipse at 12% 5%, rgba(242, 199, 92, .14), transparent 34rem),
    radial-gradient(ellipse at 88% 18%, rgba(77, 182, 255, .14), transparent 38rem),
    radial-gradient(ellipse at 50% 82%, rgba(75, 50, 148, .12), transparent 42rem),
    linear-gradient(145deg, #070813 0%, #0b0e1d 48%, #070910 100%);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.5;
}
body.dialog-open { overflow: hidden; }
button, input { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.client-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 28%, rgba(255, 220, 119, .07), transparent 17rem),
    radial-gradient(circle at 82% 66%, rgba(113, 226, 255, .06), transparent 22rem);
}
.client-ambient::before {
  content: "";
  position: absolute;
  top: 14%;
  right: -160px;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  opacity: .035;
  background: url("diamond-spin.webp") center / contain no-repeat;
  filter: grayscale(1) brightness(1.7);
  transform: rotate(-8deg);
}
.client-ambient::after {
  content: "";
  position: absolute;
  left: -20%;
  bottom: -34%;
  width: 70vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 199, 92, .08), transparent 67%);
  filter: blur(28px);
}

.client-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 clamp(20px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 20, .78);
  backdrop-filter: blur(22px);
}
.client-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.client-brand img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}
.client-brand span { display: grid; line-height: 1; }
.client-brand strong {
  font-family: Cinzel, serif;
  font-size: 18px;
  letter-spacing: .08em;
}
.client-brand small {
  margin-top: 6px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .32em;
}
.client-header nav { display: flex; align-items: center; gap: 30px; }
.client-header nav a {
  color: #d8d9e3;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: color .2s ease;
}
.client-header nav a:hover { color: var(--gold-soft); }
.client-header .employee-link {
  padding: 11px 16px;
  border: 1px solid rgba(242, 199, 92, .38);
  border-radius: 12px;
  color: var(--gold-soft);
  background: rgba(242, 199, 92, .08);
}
.mobile-nav-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  color: white;
  background: var(--panel);
  font-weight: 800;
}

.client-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: 80px clamp(20px, 7vw, 110px) 110px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.client-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,10,20,.98) 8%, rgba(8,10,20,.84) 50%, rgba(8,10,20,.32)),
    linear-gradient(0deg, var(--ink), transparent 28%),
    url("baner.png") center / cover no-repeat;
  opacity: .58;
}
.hero-copy { max-width: 780px; }
.client-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.client-kicker span {
  width: 30px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}
.client-hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: Cinzel, serif;
  font-size: clamp(42px, 6.3vw, 92px);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
  text-shadow: 0 12px 50px rgba(0,0,0,.6);
}
.hero-copy > p:not(.client-kicker) {
  max-width: 650px;
  margin: 28px 0 0;
  color: #c6cad9;
  font-size: clamp(16px, 1.5vw, 21px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.client-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.client-button:hover { transform: translateY(-2px); }
.client-button.primary {
  color: #15100a;
  background: linear-gradient(135deg, #fff0ae, #d39b29);
  box-shadow: 0 14px 38px rgba(213, 161, 43, .2);
}
.client-button.secondary {
  border-color: rgba(255,255,255,.16);
  color: white;
  background: rgba(255,255,255,.06);
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 48px;
}
.hero-stats span {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.hero-stats strong { color: white; font-size: 26px; }
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}
.hero-glow {
  position: absolute;
  width: min(38vw, 500px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111,216,255,.32), rgba(242,199,92,.08) 45%, transparent 70%);
  filter: blur(15px);
}
.hero-diamond {
  position: relative;
  width: min(31vw, 390px);
  filter: drop-shadow(0 35px 50px rgba(0,0,0,.65)) drop-shadow(0 0 30px rgba(107,213,255,.25));
}
.hero-seal {
  position: absolute;
  right: 3%;
  bottom: 7%;
  display: grid;
  min-width: 160px;
  padding: 16px 20px;
  border: 1px solid rgba(242,199,92,.4);
  border-radius: 16px;
  background: rgba(9,11,23,.76);
  backdrop-filter: blur(15px);
}
.hero-seal span, .hero-seal small { color: var(--gold); font-size: 9px; letter-spacing: .2em; }
.hero-seal strong { margin: 3px 0; font-family: Cinzel, serif; font-size: 18px; }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: clamp(20px, 7vw, 110px);
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
}
.hero-scroll span { color: var(--gold); }

.client-section {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  padding: 110px clamp(20px, 5vw, 76px);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}
.section-heading .client-kicker { margin-bottom: 11px; }
.section-heading h2, .contact-card h2 {
  margin: 0;
  font-family: Cinzel, serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
}
.section-heading > p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
}
.sets-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.set-card, .event-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(25,29,51,.95), rgba(12,14,28,.94));
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
  transition: transform .25s ease, border-color .25s ease;
}
.set-card:hover, .event-card:hover {
  transform: translateY(-5px);
  border-color: rgba(242,199,92,.35);
}
.set-card.featured { border-color: rgba(242,199,92,.34); }
.set-media, .event-media, .market-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0a0c16;
}
.set-media::after, .event-media::after, .market-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(transparent, rgba(9,11,22,.88));
  pointer-events: none;
}
.set-media > img, .event-media > img, .market-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.set-card:hover .set-media > img, .event-card:hover .event-media > img, .market-card:hover .market-media > img { transform: scale(1.045); }
.media-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background:
    radial-gradient(circle at 70% 30%, rgba(78,155,255,.22), transparent 42%),
    linear-gradient(140deg, #171a31, #090b16);
}
.media-placeholder img { width: 34%; height: auto; opacity: .58; filter: saturate(.8); }
.card-badge, .event-date {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 8px 11px;
  border: 1px solid rgba(242,199,92,.45);
  border-radius: 10px;
  color: #211606;
  background: linear-gradient(135deg, #fff0ae, #dca334);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.set-body, .event-body { padding: 25px; }
.set-number {
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
}
.set-body h3, .event-body h3 {
  margin: 9px 0 10px;
  font-family: Cinzel, serif;
  font-size: 24px;
}
.set-subtitle {
  display: block;
  margin: -3px 0 12px;
  color: #e4e7f2;
  font-size: 13px;
  line-height: 1.45;
}
.set-body p, .event-body p {
  min-height: 72px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.set-second-image {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 14px;
  width: 92px;
  height: 68px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.82);
  border-radius: 12px;
  background: #0a0c16;
  box-shadow: 0 12px 28px rgba(0,0,0,.48);
}
.set-second-image img { width: 100%; height: 100%; object-fit: cover; }
.set-second-image b {
  position: absolute;
  inset: auto 5px 5px;
  padding: 4px 5px;
  border-radius: 5px;
  color: white;
  background: rgba(7,9,18,.76);
  font-size: 8px;
  text-align: center;
}
.set-availability {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  padding: 7px 9px;
  border: 1px solid rgba(110,231,183,.22);
  border-radius: 9px;
  color: #9af1cf;
  background: rgba(110,231,183,.055);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.set-availability::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #6ee7b7; box-shadow: 0 0 10px #6ee7b7; }
.set-body footer, .event-body footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}
.set-body footer > span { display: grid; gap: 3px; }
.set-body footer small, .event-body footer span { color: #7f849a; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.set-body footer del { color: #7f849a; font-size: 11px; font-weight: 700; }
.set-body footer strong { color: var(--gold-soft); font-size: 19px; }
.event-body footer strong { max-width: 65%; text-align: right; font-size: 13px; }
.set-details-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  margin-top: 14px;
  border: 1px solid rgba(242,199,92,.24);
  border-radius: 11px;
  padding: 0 13px;
  color: var(--gold-soft);
  background: rgba(242,199,92,.055);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}
.set-details-button span { font-size: 16px; transition: transform .2s ease; }
.set-details-button:hover span { transform: translateX(3px); }
.portal-empty {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 160px;
  padding: 28px;
  border: 1px dashed rgba(242,199,92,.28);
  border-radius: var(--radius);
  background: rgba(255,255,255,.025);
}
.portal-empty img { width: 86px; }
.portal-empty div { display: grid; gap: 6px; }
.portal-empty strong { font-size: 20px; }
.portal-empty span { color: var(--muted); }
.portal-empty.compact { min-height: 120px; }

.events-section { max-width: none; background: rgba(255,255,255,.018); border-block: 1px solid rgba(255,255,255,.05); }
.events-section > * { max-width: 1348px; margin-inline: auto; }
.events-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.event-card { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); }
.event-media { aspect-ratio: auto; min-height: 310px; }
.event-date { color: var(--gold-soft); background: rgba(10,12,23,.82); backdrop-filter: blur(12px); }
.text-badge { color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }

.market-heading { align-items: center; }
.market-search {
  display: grid;
  min-width: min(100%, 360px);
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.market-search input {
  width: 100%;
  min-height: 49px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  padding: 0 15px;
  color: white;
  background: rgba(255,255,255,.045);
}
.market-search input:focus { border-color: rgba(119,231,255,.55); box-shadow: 0 0 0 3px rgba(119,231,255,.08); }
.market-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.market-filter-row button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  color: var(--muted);
  background: rgba(255,255,255,.035);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}
.market-filter-row button.active { border-color: rgba(242,199,92,.42); color: #211706; background: var(--gold); }
.market-filter-row span { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 800; }
.market-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.market-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 0;
  color: white;
  background: var(--panel);
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease;
}
.market-card:hover { transform: translateY(-4px); border-color: rgba(119,231,255,.38); }
.market-media { aspect-ratio: 4 / 3; }
.market-media i, .market-media b {
  position: absolute;
  z-index: 2;
  top: 12px;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 9px;
  font-style: normal;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.market-media i { left: 12px; color: #18200c; background: var(--gold); }
.market-media b { right: 12px; color: white; background: rgba(10,12,23,.8); backdrop-filter: blur(8px); }
.market-card-body { display: grid; padding: 18px; }
.market-card-body small { color: var(--cyan); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.market-card-body strong { overflow: hidden; margin: 7px 0 4px; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.market-card-body > span { color: var(--gold-soft); font-size: 17px; font-weight: 900; }
.market-card-body em { margin-top: 15px; color: var(--muted); font-size: 10px; font-style: normal; font-weight: 800; }
.market-no-results { padding: 35px; border: 1px dashed var(--line); border-radius: 18px; color: var(--muted); text-align: center; }

.contact-section { padding-top: 40px; }
.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid rgba(242,199,92,.3);
  border-radius: 30px;
  background:
    radial-gradient(circle at 10% 50%, rgba(89,188,255,.18), transparent 28%),
    linear-gradient(120deg, #171a31, #0d0f1d);
}
.contact-card::after {
  content: "";
  position: absolute;
  top: -80%;
  right: -10%;
  width: 430px;
  aspect-ratio: 1;
  border: 1px solid rgba(242,199,92,.16);
  border-radius: 50%;
}
.contact-card > img { width: clamp(90px, 10vw, 145px); filter: drop-shadow(0 15px 28px rgba(0,0,0,.5)); }
.contact-card h2 { font-size: clamp(28px, 3vw, 43px); }
.contact-card .client-kicker { margin-bottom: 12px; }
.contact-card div > p:not(.client-kicker) { max-width: 640px; margin: 14px 0 0; color: var(--muted); }
.contact-card div > small { display: block; margin-top: 12px; color: var(--gold-soft); }
.contact-actions { position: relative; z-index: 2; display: grid; gap: 9px; min-width: 210px; }
.contact-soon { color: var(--muted); font-size: 12px; text-align: center; }

.client-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(20px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.client-footer .client-brand img { width: 34px; height: 34px; }
.client-footer .client-brand strong { font-size: 14px; }
.client-footer > a:last-child { color: var(--gold-soft); font-weight: 800; }

.market-dialog {
  width: min(1080px, calc(100% - 30px));
  max-height: calc(100vh - 30px);
  overflow: hidden;
  border: 1px solid rgba(242,199,92,.36);
  border-radius: 26px;
  padding: 0;
  color: white;
  background: #0d0f1d;
  box-shadow: 0 40px 140px rgba(0,0,0,.8);
}
.market-dialog::backdrop { background: rgba(2,3,8,.84); backdrop-filter: blur(10px); }
.market-dialog[open] { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr); }
.dialog-close {
  position: absolute;
  z-index: 4;
  top: 15px;
  right: 15px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  color: white;
  background: rgba(8,10,20,.72);
  font-size: 24px;
  cursor: pointer;
}
.dialog-gallery {
  display: grid;
  min-height: 590px;
  background: #070812;
}
.dialog-gallery.multiple { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.dialog-gallery.multiple img:first-child { grid-row: 1 / 3; }
.dialog-gallery img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.dialog-placeholder { display: grid; place-items: center; color: rgba(255,255,255,.2); font-family: Cinzel, serif; font-size: 46px; }
.dialog-content { overflow-y: auto; padding: 50px 36px 36px; }
.dialog-topline { display: flex; justify-content: space-between; gap: 10px; }
.dialog-topline span, .dialog-topline strong {
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .09em;
}
.dialog-topline span { color: #211706; background: var(--gold); }
.dialog-topline strong { color: var(--muted); background: rgba(255,255,255,.06); }
.dialog-content h2 { margin: 27px 0 10px; font-family: Cinzel, serif; font-size: 35px; line-height: 1.05; }
.dialog-content > p { color: var(--muted); white-space: pre-line; }
.dialog-price { display: grid; gap: 3px; margin: 30px 0; padding: 21px 0; border-block: 1px solid var(--line); }
.dialog-price span, .dialog-details small { color: var(--gold); font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.dialog-price strong { font-size: 33px; }
.dialog-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dialog-details > span { display: grid; gap: 5px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }
.dialog-details > span:last-child { grid-column: 1 / -1; }
.dialog-details strong { overflow-wrap: anywhere; font-size: 13px; }
.dialog-contact { margin-top: 24px !important; font-size: 11px; }

.set-dialog {
  width: min(1120px, calc(100% - 30px));
  max-height: calc(100vh - 30px);
  overflow: hidden;
  border: 1px solid rgba(242,199,92,.4);
  border-radius: 26px;
  padding: 0;
  color: white;
  background: #0d0f1d;
  box-shadow: 0 40px 140px rgba(0,0,0,.82);
}
.set-dialog::backdrop { background: rgba(2,3,8,.86); backdrop-filter: blur(10px); }
.set-dialog[open] { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); }
.set-dialog-gallery {
  display: grid;
  min-height: 650px;
  background: #070812;
}
.set-dialog-gallery.multiple { grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 3px; }
.set-dialog-gallery img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.set-dialog-content { overflow-y: auto; padding: 55px 38px 38px; }
.set-dialog-content h2 {
  margin: 28px 0 10px;
  font-family: Cinzel, serif;
  font-size: 36px;
  line-height: 1.05;
}
.set-dialog-subtitle { display: block; color: var(--gold-soft); font-size: 14px; line-height: 1.5; }
.set-dialog-content > p { color: var(--muted); white-space: pre-line; }
.set-dialog-contents {
  margin-top: 24px;
  padding: 19px;
  border: 1px solid rgba(119,231,255,.14);
  border-radius: 14px;
  background: rgba(119,231,255,.035);
}
.set-dialog-contents > span {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.set-dialog-contents p { margin: 9px 0 0; color: #d8dbe8; font-size: 13px; white-space: pre-line; }
.set-dialog-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.set-dialog-bottom > span { display: grid; gap: 5px; }
.set-dialog-bottom small { color: #858a9f; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.set-dialog-bottom strong { font-size: 13px; }
.set-dialog-price { text-align: right; }
.set-dialog-price del { color: #858a9f; font-size: 11px; }
.set-dialog-price strong { color: var(--gold-soft); font-size: 28px; }

@media (max-width: 1100px) {
  .market-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sets-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .events-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .client-header { min-height: 68px; padding-inline: 18px; }
  .client-header nav {
    position: absolute;
    top: 68px;
    right: 14px;
    left: 14px;
    display: none;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(10,12,24,.97);
    box-shadow: 0 22px 70px rgba(0,0,0,.55);
  }
  .client-header nav.open { display: grid; }
  .client-header nav a { padding: 12px; }
  .mobile-nav-button { display: inline-block; }
  .client-hero { grid-template-columns: 1fr; min-height: 780px; padding-top: 70px; }
  .hero-visual { position: absolute; right: -80px; bottom: 30px; z-index: -1; opacity: .36; }
  .hero-diamond { width: 390px; }
  .hero-seal { display: none; }
  .hero-stats { gap: 18px; }
  .section-heading, .market-heading { align-items: stretch; flex-direction: column; }
  .market-search { width: 100%; }
  .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card { grid-template-columns: auto 1fr; }
  .contact-actions { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); }
  .market-dialog[open] { display: block; overflow-y: auto; }
  .set-dialog[open] { display: block; overflow-y: auto; }
  .dialog-gallery { min-height: 340px; max-height: 52vh; }
  .set-dialog-gallery { min-height: 360px; max-height: 56vh; }
  .set-dialog-gallery.multiple { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .set-dialog-gallery.multiple img { flex: 0 0 88%; min-height: 360px; scroll-snap-align: start; }
  .dialog-content { overflow: visible; }
  .set-dialog-content { overflow: visible; }
}

@media (max-width: 560px) {
  .client-brand img { width: 38px; height: 38px; }
  .client-brand strong { font-size: 15px; }
  .client-hero { min-height: 730px; padding-inline: 20px; }
  .client-hero h1 { font-size: clamp(39px, 13vw, 58px); }
  .hero-actions .client-button { flex: 1; }
  .client-section { padding: 78px 16px; }
  .sets-grid, .market-grid { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 1fr; }
  .event-media { min-height: 230px; }
  .portal-empty img { display: none; }
  .contact-card { grid-template-columns: 1fr; padding: 28px 22px; }
  .contact-card > img { width: 80px; }
  .contact-actions { grid-column: auto; grid-template-columns: 1fr; }
  .client-footer { align-items: flex-start; flex-direction: column; }
  .dialog-gallery { min-height: 270px; }
  .dialog-gallery.multiple { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .dialog-gallery.multiple img { flex: 0 0 90%; min-height: 270px; scroll-snap-align: start; }
  .dialog-content { padding: 35px 22px 28px; }
  .set-dialog-gallery { min-height: 280px; }
  .set-dialog-gallery.multiple img { min-height: 280px; }
  .set-dialog-content { padding: 38px 22px 28px; }
  .set-dialog-content h2 { font-size: 29px; }
  .set-dialog-bottom { grid-template-columns: 1fr; }
  .set-dialog-price { text-align: left; }
}

.portal-admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(65, 145, 255, .16), transparent 28rem),
    radial-gradient(circle at 100% 20%, rgba(242, 199, 92, .12), transparent 30rem),
    var(--ink);
}
.portal-admin-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(18px, 5vw, 70px);
  border-bottom: 1px solid var(--line);
  background: rgba(8,10,20,.88);
  backdrop-filter: blur(18px);
}
.portal-admin-header > div { display: flex; gap: 8px; }
.portal-admin-header > div a {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #dcddea;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}
.portal-admin-main { width: min(1240px, calc(100% - 32px)); margin: 0 auto; padding: 54px 0 100px; }
.portal-admin-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}
.portal-admin-intro .client-kicker { margin-bottom: 12px; }
.portal-admin-intro h1 {
  margin: 0;
  font-family: Cinzel, serif;
  font-size: clamp(35px, 5vw, 61px);
}
.portal-admin-intro p:not(.client-kicker) { max-width: 680px; margin: 10px 0 0; color: var(--muted); }
.portal-admin-notice {
  margin: 0 0 18px;
  padding: 14px 17px;
  border: 1px solid;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
}
.portal-admin-notice.success { border-color: rgba(110,231,183,.35); color: #a8f3d5; background: rgba(16,100,73,.18); }
.portal-admin-notice.error { border-color: rgba(251,113,133,.4); color: #fecdd3; background: rgba(159,18,57,.16); }
.portal-admin-section {
  margin-top: 20px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(16,19,35,.86);
  box-shadow: 0 25px 80px rgba(0,0,0,.18);
}
.portal-admin-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.portal-admin-title > span {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(242,199,92,.36);
  border-radius: 12px;
  color: var(--gold);
  background: rgba(242,199,92,.07);
  font-size: 11px;
  font-weight: 900;
}
.portal-admin-title div { flex: 1; }
.portal-admin-title h2 { margin: 0; font-size: 22px; }
.portal-admin-title p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.portal-admin-title > b { color: var(--gold-soft); font-size: 24px; }
.portal-create-box, .portal-edit-card {
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.022);
}
.portal-create-box > summary, .portal-edit-card > summary {
  padding: 17px 19px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}
.portal-create-box > summary::-webkit-details-marker, .portal-edit-card > summary::-webkit-details-marker { display: none; }
.portal-create-box[open] > summary, .portal-edit-card[open] > summary { border-bottom: 1px solid var(--line); }
.portal-admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  padding: 20px;
}
.portal-admin-form label {
  display: grid;
  align-content: start;
  gap: 7px;
}
.portal-admin-form label > span {
  color: #b7bbcd;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.portal-admin-form label.wide, .portal-admin-form .portal-save-button { grid-column: 1 / -1; }
.portal-admin-form > .wide { grid-column: 1 / -1; }
.portal-admin-form input, .portal-admin-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: 0;
  padding: 12px 13px;
  color: white;
  background: rgba(4,6,14,.48);
}
.portal-admin-form input { min-height: 45px; }
.portal-admin-form textarea { resize: vertical; }
.portal-admin-form input:focus, .portal-admin-form textarea:focus { border-color: rgba(119,231,255,.48); box-shadow: 0 0 0 3px rgba(119,231,255,.06); }
.portal-admin-form input[type=file] { padding: 9px; color: var(--muted); }
.portal-admin-form .portal-checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
}
.portal-admin-form .portal-checkbox input { width: 18px; min-height: 18px; accent-color: var(--gold); }
.portal-admin-form .portal-checkbox span { color: #d9dbe6; text-transform: none; }
.portal-form-divider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 6px;
  padding: 13px 15px;
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(242,199,92,.095), rgba(242,199,92,.015));
}
.portal-form-divider > span {
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.portal-form-divider small { color: var(--muted); font-size: 10px; text-align: right; }
.portal-file-field {
  padding: 14px;
  border: 1px dashed rgba(119,231,255,.22);
  border-radius: 12px;
  background: rgba(119,231,255,.025);
}
.portal-file-field small { color: #7f849a; font-size: 9px; }
.portal-link-fields {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.018);
}
.portal-link-fields > summary {
  padding: 13px 15px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}
.portal-link-fields > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 14px 14px;
}
.portal-checkbox.danger-check span { color: #fecdd3; }
.portal-save-button {
  min-height: 47px;
  border: 0;
  border-radius: 12px;
  color: #181107;
  background: linear-gradient(135deg, #ffeaa1, #d49c2d);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.portal-admin-list { display: grid; gap: 10px; margin-top: 18px; }
.portal-admin-empty { margin: 0; padding: 25px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); text-align: center; }
.portal-edit-card > summary {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  color: white;
}
.portal-edit-card > summary > img, .portal-admin-thumb {
  width: 58px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
}
.portal-admin-thumb { display: grid; place-items: center; color: var(--cyan); background: rgba(119,231,255,.07); }
.portal-edit-card > summary > span { display: grid; gap: 3px; }
.portal-edit-card > summary strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-edit-card > summary small { color: var(--muted); font-size: 10px; }
.portal-edit-card > summary > b { color: var(--gold); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.portal-delete-form { padding: 0 20px 20px; }
.portal-delete-form button {
  border: 1px solid rgba(251,113,133,.3);
  border-radius: 10px;
  padding: 9px 13px;
  color: #fecdd3;
  background: rgba(159,18,57,.13);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 680px) {
  .portal-admin-header .client-brand small { display: none; }
  .portal-admin-header > div a:first-child { display: none; }
  .portal-admin-intro { align-items: stretch; flex-direction: column; }
  .portal-admin-intro > .client-button { width: 100%; }
  .portal-admin-form { grid-template-columns: 1fr; padding: 15px; }
  .portal-admin-form label.wide, .portal-admin-form .portal-save-button, .portal-admin-form > .wide { grid-column: auto; }
  .portal-link-fields.wide { grid-column: auto; }
  .portal-link-fields > div { grid-template-columns: 1fr; }
  .portal-form-divider { align-items: flex-start; flex-direction: column; gap: 4px; }
  .portal-form-divider small { text-align: left; }
  .portal-edit-card > summary { grid-template-columns: 50px minmax(0, 1fr); }
  .portal-edit-card > summary > img, .portal-admin-thumb { width: 50px; height: 44px; }
  .portal-edit-card > summary > b { display: none; }
}
