:root {
  color-scheme:dark;
  --bg:#090b0f;
  --bg-soft:#0e1117;
  --panel:#12161d;
  --panel-raised:#181d26;
  --panel-hover:#202630;
  --line:#292f3a;
  --line-soft:#202630;
  --text:#f5f4f1;
  --muted:#a1a8b4;
  --dim:#717987;
  --gold:#ffbd45;
  --gold-strong:#f5a623;
  --gold-wash:rgba(255,189,69,.12);
  --green:#81d6ae;
  --red:#ff8379;
  --blue:#9fc6ff;
  --radius:20px;
  --radius-small:13px;
  --shadow:0 24px 70px rgba(0,0,0,.28);
  font-family:'DM Sans',Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-synthesis:none;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased
}
* {
  box-sizing:border-box
}
html {
  min-width:320px;
  scroll-behavior:smooth;
  scroll-padding-top:92px
}
body {
  margin:0;
  min-width:320px;
  min-height:100vh;
  background:radial-gradient(ellipse at 50% -20%,rgba(255,189,69,.075),transparent 38%),var(--bg);
  color:var(--text);
  font-size:15px;
  line-height:1.55
}
button,input,select,textarea {
  font:inherit
}
button,a,input,select,textarea,summary {
  -webkit-tap-highlight-color:transparent
}
button,a {
  touch-action:manipulation
}
a {
  color:inherit;
  text-decoration:none
}
button {
  color:inherit
}
img {
  max-width:100%
}
h1,h2,h3,h4,p {
  margin-top:0
}
h1,h2,h3 {
  font-family:'Space Grotesk',Inter,system-ui,sans-serif;
  line-height:1.12;
  letter-spacing:-.035em
}
h1 {
  font-size:clamp(2.5rem,7vw,5.5rem)
}
h2 {
  font-size:clamp(1.75rem,3vw,2.5rem)
}
h3 {
  font-size:1.25rem
}
::selection {
  background:var(--gold);
  color:#17120a
}
:focus-visible {
  outline:3px solid var(--gold);
  outline-offset:3px
}
.hidden {
  display:none!important
}
.wrap {
  width:min(1320px,calc(100% - 56px));
  margin-inline:auto
}
.sr-only {
  position:absolute!important;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.site-header {
  position:sticky;
  z-index:20;
  top:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:76px;
  padding:12px max(28px,calc((100vw - 1320px)/2));
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(8,10,13,.88);
  backdrop-filter:blur(20px)
}
.brand {
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-width:0
}
.brand-mark {
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  flex:0 0 46px;
  overflow:hidden;
  border:1px solid rgba(255,189,69,.55);
  border-radius:14px;
  background:#0c0d10;
  box-shadow:0 0 0 3px rgba(255,189,69,.06),0 8px 24px rgba(0,0,0,.35)
}
.brand-mark img {
  width:100%;
  height:100%;
  object-fit:cover
}
.brand-wordmark {
  display:grid;
  line-height:1.05
}
.brand-wordmark strong {
  font-family:'Space Grotesk',sans-serif;
  font-size:15px;
  font-weight:700;
  letter-spacing:.015em
}
.brand-wordmark strong span {
  color:var(--gold)
}
.brand-wordmark small {
  margin-top:5px;
  color:var(--dim);
  font-size:8px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase
}
.brand-divider {
  width:1px;
  height:30px;
  margin-inline:5px;
  background:var(--line)
}
.brand-product {
  color:#e2e0dc;
  font-size:14px;
  font-weight:600
}
.header-actions {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px
}
.header-link,.public-return {
  color:var(--muted);
  font-size:13px;
  font-weight:600
}
.header-link:hover,.public-return:hover {
  color:var(--gold)
}
.admin-pill {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 11px;
  border:1px solid var(--line);
  border-radius:999px;
  color:#d8d5cf;
  font-size:10px;
  font-weight:700;
  letter-spacing:.1em
}
.status-dot,.live-dot,.eyebrow-dot {
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 12px rgba(255,189,69,.65)
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:44px;
  padding:10px 16px;
  border:1px solid transparent;
  border-radius:12px;
  background:var(--panel-raised);
  color:var(--text);
  font-size:13px;
  font-weight:700;
  line-height:1.2;
  cursor:pointer;
  transition:transform .16s ease,border-color .16s ease,background .16s ease,color .16s ease
}
.button:hover {
  transform:translateY(-1px);
  border-color:rgba(255,189,69,.4)
}
.button:active {
  transform:translateY(0)
}
.button-primary {
  background:linear-gradient(135deg,#ffc85e,#f5a623);
  color:#16120a;
  box-shadow:0 8px 25px rgba(245,166,35,.16)
}
.button-primary:hover {
  background:linear-gradient(135deg,#ffd47a,#ffb32d)
}
.button-secondary {
  border-color:#3a3429;
  background:rgba(255,189,69,.08);
  color:var(--gold)
}
.button-quiet {
  border-color:var(--line);
  background:transparent;
  color:var(--muted)
}
.button-outline {
  border-color:var(--line);
  background:transparent
}
.button-small {
  min-height:38px;
  padding:8px 12px;
  font-size:12px
}
.full-width {
  width:100%
}
.button[aria-disabled=true] {
  opacity:.45;
  pointer-events:none
}
.eyebrow {
  display:flex;
  align-items:center;
  gap:9px;
  margin:0 0 13px;
  color:var(--gold);
  font-size:10px;
  font-weight:700;
  letter-spacing:.16em;
  line-height:1.4
}
.muted,.section-hint {
  color:var(--muted)
}
.section-hint {
  font-size:12px
}
.text-button {
  min-height:40px;
  padding:8px 10px;
  border:0;
  background:transparent;
  color:var(--gold);
  font-size:12px;
  font-weight:700;
  cursor:pointer
}
.field-label {
  display:block;
  margin-bottom:8px;
  color:#d7d3cb;
  font-size:13px;
  font-weight:600
}
input:not([type=checkbox]):not([type=radio]),select,textarea {
  width:100%;
  min-height:46px;
  padding:11px 13px;
  border:1px solid #343b46;
  border-radius:11px;
  background:#0c0f14;
  color:var(--text);
  outline:none;
  transition:border-color .15s,box-shadow .15s
}
input::placeholder,textarea::placeholder {
  color:#68717f
}
input:focus,select:focus,textarea:focus {
  border-color:var(--gold)!important;
  box-shadow:0 0 0 3px rgba(255,189,69,.1)
}
input[type=checkbox] {
  width:18px;
  height:18px;
  accent-color:var(--gold)
}
select {
  cursor:pointer
}
textarea {
  resize:vertical
}
label {
  color:#d8d7d3
}
kbd {
  padding:4px 7px;
  border:1px solid var(--line);
  border-radius:6px;
  color:var(--dim);
  font-size:9px;
  white-space:nowrap
}
.landing {
  padding-top:36px
}
.hero-panel {
  position:relative;
  display:flex;
  align-items:center;
  min-height:370px;
  overflow:hidden;
  padding:clamp(28px,6vw,76px);
  border:1px solid rgba(255,189,69,.19);
  border-radius:28px;
  background:#10141b;
  isolation:isolate
}
.hero-panel:before {
  position:absolute;
  z-index:-1;
  inset:0;
  background:linear-gradient(90deg,#10141b 3%,rgba(16,20,27,.97) 38%,rgba(16,20,27,.43) 100%);
  content:''
}
.hero-media {
  position:absolute;
  z-index:-2;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 54%;
  opacity:.74
}
.hero-content {
  position:relative;
  z-index:1;
  max-width:620px
}
.hero-content h1 {
  max-width:650px;
  margin:0 0 17px;
  font-size:clamp(2.7rem,6.8vw,5.4rem);
  line-height:.98
}
.hero-content h1 span,.login-intro h1 span,.sidebar-heading h1 span,.welcome-panel h2 span {
  color:var(--gold)
}
.hero-copy {
  max-width:520px;
  margin-bottom:23px;
  color:#c0c4cb;
  font-size:clamp(14px,1.3vw,17px)
}
.hero-actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:15px
}
.hero-note {
  display:flex;
  align-items:center;
  gap:8px;
  color:#c0c4cb;
  font-size:11px
}
.hero-note .status-dot {
  width:6px;
  height:6px
}
.hero-brand-mark {
  position:absolute;
  right:10%;
  top:50%;
  display:grid;
  place-items:center;
  width:128px;
  height:128px;
  overflow:hidden;
  border:1px solid rgba(255,189,69,.48);
  border-radius:28px;
  background:#10141c;
  box-shadow:0 0 0 10px rgba(255,189,69,.05),0 20px 60px rgba(0,0,0,.4);
  transform:translateY(-50%) rotate(7deg)
}
.hero-brand-mark img {
  width:100%;
  height:100%;
  object-fit:cover
}
.hero-index {
  position:absolute;
  right:25px;
  bottom:20px;
  color:rgba(255,255,255,.48);
  font-family:'Space Grotesk',sans-serif;
  font-size:10px;
  font-weight:700;
  letter-spacing:.18em
}
.section-block {
  padding:62px 0 88px
}
.section-heading,.catalog-section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:20px
}
.section-heading h2,.catalog-section-heading h2 {
  margin:0;
  font-size:clamp(1.6rem,3.2vw,2.2rem)
}
.event-count {
  flex:none;
  color:var(--muted);
  font-size:12px
}
.event-list {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px
}
.event-tile {
  position:relative;
  display:flex;
  min-height:220px;
  flex-direction:column;
  overflow:hidden;
  padding:22px;
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(145deg,#171c24,#10141a);
  transition:transform .18s,border-color .18s,background .18s
}
.event-tile:before {
  position:absolute;
  top:-75px;
  right:-60px;
  width:190px;
  height:190px;
  border:1px solid rgba(255,189,69,.15);
  border-radius:50%;
  box-shadow:0 0 0 23px rgba(255,189,69,.025),0 0 0 47px rgba(255,189,69,.02);
  content:''
}
.event-tile:hover {
  transform:translateY(-3px);
  border-color:rgba(255,189,69,.42);
  background:linear-gradient(145deg,#1d232c,#12171e)
}
.event-date {
  position:relative;
  margin-bottom:20px;
  color:var(--gold);
  font-size:10px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase
}
.event-tile h3 {
  position:relative;
  margin-bottom:8px;
  font-size:21px
}
.event-tile p {
  position:relative;
  max-width:44ch;
  margin-bottom:20px;
  color:var(--muted);
  font-size:13px
}
.event-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:auto;
  color:#c5c9d0;
  font-size:11px
}
.event-arrow {
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border:1px solid var(--line);
  border-radius:50%;
  color:var(--gold);
  font-size:18px
}
.empty-state {
  display:flex;
  min-height:112px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:24px;
  border:1px dashed #383f49;
  border-radius:16px;
  background:rgba(255,255,255,.015);
  color:var(--muted);
  text-align:center
}
.empty-mark {
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  margin-bottom:4px;
  border:1px solid rgba(255,189,69,.24);
  border-radius:14px;
  color:var(--gold);
  font-weight:700
}
.empty-state b {
  color:#eee
}
.empty-state p {
  margin:0;
  font-size:13px
}
.loading-state {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:100px;
  color:var(--muted)
}
.loading-mark {
  width:20px;
  height:20px;
  border:2px solid #424956;
  border-top-color:var(--gold);
  border-radius:50%;
  animation:spin .8s linear infinite
}
@keyframes spin {
  to {
    transform:rotate(360deg)
  }
}
.site-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:23px max(28px,calc((100vw - 1320px)/2));
  border-top:1px solid var(--line-soft);
  color:var(--dim);
  font-size:11px
}
.footer-brand {
  display:flex;
  align-items:center;
  gap:9px
}
.footer-brand img {
  width:30px;
  height:30px;
  border-radius:9px
}
.footer-brand span {
  display:grid;
  line-height:1.15
}
.footer-brand strong {
  color:#ddd;
  font-size:10px;
  letter-spacing:.06em
}
.footer-brand small {
  margin-top:3px;
  color:var(--dim);
  font-size:10px
}
.event-main {
  padding-top:25px;
  padding-bottom:70px
}
.back-link {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  margin:0 0 15px;
  color:var(--muted);
  font-size:12px;
  font-weight:600
}
.back-link:hover {
  color:var(--gold)
}
.event-banner {
  position:relative;
  overflow:hidden;
  padding:clamp(24px,4.4vw,52px);
  border:1px solid rgba(255,189,69,.21);
  border-radius:23px;
  background:radial-gradient(circle at 88% 10%,rgba(255,189,69,.12),transparent 35%),linear-gradient(135deg,#171d26,#10141a)
}
.event-banner:after {
  position:absolute;
  top:-95px;
  right:-36px;
  width:270px;
  height:270px;
  border:1px solid rgba(255,189,69,.16);
  border-radius:50%;
  box-shadow:0 0 0 32px rgba(255,189,69,.025),0 0 0 67px rgba(255,189,69,.02);
  content:''
}
.event-banner h1 {
  position:relative;
  z-index:1;
  max-width:790px;
  margin:0 0 12px;
  font-size:clamp(2.1rem,5vw,4.1rem)
}
.event-banner>p:not(.eyebrow) {
  position:relative;
  z-index:1;
  max-width:680px;
  margin-bottom:17px;
  color:#c2c6ce
}
.event-metadata {
  position:relative;
  z-index:1;
  display:flex;
  flex-wrap:wrap;
  gap:9px
}
.event-metadata span {
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:999px;
  background:rgba(5,7,10,.25);
  color:#d4d5d7;
  font-size:11px
}
.catalog-section {
  padding-top:40px
}
.catalog-section-heading {
  align-items:center;
  margin-bottom:18px
}
.catalog-tools {
  display:grid;
  grid-template-columns:minmax(240px,1fr) auto auto;
  align-items:center;
  gap:12px;
  margin-bottom:22px
}
.search-box {
  display:flex;
  align-items:center;
  gap:10px;
  min-height:50px;
  padding:0 13px;
  border:1px solid #323943;
  border-radius:12px;
  background:#0d1015
}
.search-icon {
  color:var(--gold);
  font-size:20px
}
.search-box input {
  min-width:0;
  min-height:45px;
  padding:8px 0;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important
}
.filter-drawer {
  position:relative
}
.filter-drawer summary {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:50px;
  padding:0 14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#11151b;
  color:#dedbd4;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
  list-style:none
}
.filter-drawer summary::-webkit-details-marker {
  display:none
}
.filter-summary-icon {
  color:var(--gold);
  font-size:19px
}
.filter-chevron {
  color:var(--muted)
}
.filter-drawer[open] summary {
  border-color:rgba(255,189,69,.5)
}
.filter-row {
  position:absolute;
  z-index:15;
  top:calc(100% + 8px);
  right:0;
  display:grid;
  grid-template-columns:repeat(3,minmax(150px,1fr));
  gap:12px;
  width:min(620px,calc(100vw - 36px));
  padding:16px;
  border:1px solid #343b46;
  border-radius:15px;
  background:#151a22;
  box-shadow:var(--shadow)
}
.filter-row label {
  display:grid;
  gap:6px;
  color:var(--muted);
  font-size:11px
}
.filter-row select,.filter-row input {
  min-height:42px;
  font-size:12px
}
.price-filter {
  position:relative
}
.price-filter input {
  padding-right:33px
}
.price-filter b {
  position:absolute;
  top:50%;
  right:12px;
  color:var(--dim);
  font-size:12px;
  transform:translateY(-50%)
}
.results-meta {
  display:flex;
  justify-content:flex-end;
  gap:14px;
  color:var(--dim);
  font-size:10px
}
.card-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:17px
}
.trade-card {
  min-width:0;
  overflow:hidden;
  border:1px solid #2b313b;
  border-radius:17px;
  background:#13171e;
  cursor:pointer;
  transition:transform .18s,border-color .18s,box-shadow .18s
}
.trade-card:hover {
  transform:translateY(-3px);
  border-color:rgba(255,189,69,.45);
  box-shadow:0 14px 34px rgba(0,0,0,.23)
}
.trade-photo {
  position:relative;
  display:grid;
  place-items:center;
  aspect-ratio:4/3;
  overflow:hidden;
  background:radial-gradient(circle at 50% 40%,#303744,#171b22 72%)
}
.trade-photo img {
  width:100%;
  height:100%;
  object-fit:contain;
  padding:12px;
  transition:transform .25s
}
.trade-card:hover .trade-photo img {
  transform:scale(1.03)
}
.photo-placeholder {
  display:grid;
  place-items:center;
  width:92px;
  height:128px;
  border:2px solid rgba(255,204,119,.72);
  border-radius:10px;
  background:linear-gradient(145deg,#e7c585,#f6dba7);
  box-shadow:0 12px 32px rgba(0,0,0,.35);
  color:#28251e;
  font-family:'Space Grotesk';
  font-size:28px;
  font-weight:700;
  transform:rotate(4deg)
}
.trade-photo .photo-placeholder {
  width:78px;
  height:108px
}
.status-chip,.status-label {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:5px 9px;
  border:1px solid transparent;
  border-radius:999px;
  font-size:9px;
  font-weight:700;
  letter-spacing:.035em
}
.status-chip {
  position:absolute;
  right:10px;
  bottom:10px;
  backdrop-filter:blur(10px)
}
.available {
  background:rgba(67,151,111,.16);
  border-color:rgba(129,214,174,.25);
  color:var(--green)
}
.reserved {
  background:rgba(230,169,69,.14);
  border-color:rgba(255,189,69,.25);
  color:var(--gold)
}
.sold {
  background:rgba(255,131,121,.12);
  border-color:rgba(255,131,121,.22);
  color:var(--red)
}
.trade-info {
  padding:14px
}
.trade-info h3 {
  overflow:hidden;
  margin:0 0 5px;
  font-size:16px;
  text-overflow:ellipsis;
  white-space:nowrap
}
.set-name {
  overflow:hidden;
  margin:0 0 16px;
  color:var(--muted);
  font-size:11px;
  text-overflow:ellipsis;
  white-space:nowrap
}
.trade-bottom {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:8px
}
.trade-price {
  color:var(--gold);
  font-family:'Space Grotesk',sans-serif;
  font-size:19px
}
.trade-meta {
  color:var(--dim);
  font-size:10px;
  text-align:right
}
.card-dialog,.create-dialog {
  position:fixed;
  max-width:min(760px,calc(100vw - 28px));
  max-height:min(90dvh,900px);
  overflow:auto;
  padding:30px;
  border:1px solid #3a414c;
  border-radius:22px;
  background:#151a22;
  color:var(--text);
  box-shadow:0 28px 100px rgba(0,0,0,.62)
}
dialog::backdrop {
  background:rgba(3,5,8,.78);
  backdrop-filter:blur(5px)
}
.card-dialog {
  width:min(760px,calc(100vw - 28px))
}
.dialog-close {
  position:absolute;
  z-index:2;
  top:12px;
  right:12px;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border:1px solid var(--line);
  border-radius:50%;
  background:#1b2029;
  color:var(--text);
  font-size:23px;
  cursor:pointer
}
.detail-layout {
  display:grid;
  grid-template-columns:minmax(180px,.85fr) minmax(0,1.15fr);
  align-items:center;
  gap:28px;
  padding-top:12px
}
.detail-photo {
  display:flex;
  min-height:280px;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:#0c0f14
}
.detail-photo img {
  max-height:460px;
  object-fit:contain
}
.detail-layout h2 {
  margin-bottom:12px;
  font-size:clamp(1.65rem,5vw,2.5rem)
}
.detail-price {
  margin:16px 0;
  color:var(--gold);
  font-family:'Space Grotesk';
  font-size:30px;
  font-weight:700
}
.detail-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px
}
.detail-grid>div {
  display:grid;
  gap:3px;
  padding:11px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#10141a
}
.detail-grid b {
  color:var(--dim);
  font-size:9px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase
}
.detail-grid span {
  color:#e7e5e0;
  font-size:12px
}
.detail-photos {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px
}
.detail-photos img {
  width:100%;
  max-height:260px;
  object-fit:contain;
  border:1px solid var(--line);
  border-radius:10px;
  background:#090b0f
}
.admin-login-page {
  background:radial-gradient(ellipse at 17% 42%,rgba(255,189,69,.09),transparent 33%),var(--bg)
}
.login-header {
  position:relative
}
.login-wrap {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(350px,470px);
  align-items:center;
  gap:8vw;
  width:min(1120px,calc(100% - 56px));
  min-height:calc(100vh - 76px);
  margin:auto;
  padding:60px 0
}
.login-intro h1 {
  margin:0 0 20px;
  font-size:clamp(3.1rem,7vw,6rem);
  line-height:.98
}
.login-intro>p {
  max-width:450px;
  color:var(--muted);
  font-size:16px
}
.login-card {
  padding:30px;
  border:1px solid #303640;
  border-radius:22px;
  background:linear-gradient(145deg,#171c24,#11151b);
  box-shadow:var(--shadow)
}
.login-card-heading {
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:25px
}
.login-card-heading .eyebrow {
  margin-bottom:6px
}
.login-card-heading h2 {
  margin:0;
  font-size:28px
}
.login-lock {
  display:grid;
  place-items:center;
  width:54px;
  height:54px;
  overflow:hidden;
  border:1px solid rgba(255,189,69,.42);
  border-radius:16px;
  background:#0b0e13
}
.login-lock img {
  width:100%;
  height:100%;
  object-fit:cover
}
.login-card form {
  display:grid;
  gap:12px
}
.login-card form .button {
  margin-top:7px
}
.form-error {
  min-height:1em;
  margin:0;
  color:var(--red);
  font-size:12px
}
.login-foot {
  margin:20px 0 0;
  padding-top:17px;
  border-top:1px solid var(--line);
  color:var(--dim);
  font-size:11px
}
.admin-layout {
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  align-items:start;
  gap:26px;
  padding-top:30px;
  padding-bottom:70px
}
.admin-sidebar {
  position:sticky;
  top:96px;
  display:flex;
  flex-direction:column;
  gap:18px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(160deg,#141920,#101318)
}
.sidebar-heading h1 {
  margin:0;
  font-size:33px
}
.sidebar-note {
  padding:12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#0c1015
}
.sidebar-note-label {
  color:var(--gold);
  font-size:9px;
  font-weight:700;
  letter-spacing:.14em
}
.sidebar-note p {
  margin:5px 0 0;
  color:var(--muted);
  font-size:11px
}
.sidebar-divider {
  height:1px;
  background:var(--line)
}
.sidebar-nav-heading {
  display:flex;
  align-items:center;
  justify-content:space-between
}
.sidebar-nav-heading .eyebrow {
  margin:0
}
.event-nav {
  display:grid;
  gap:6px;
  max-height:34vh;
  overflow:auto
}
.event-nav button {
  min-height:42px;
  padding:9px 11px;
  border:1px solid transparent;
  border-radius:9px;
  background:transparent;
  color:#c6c9cf;
  text-align:left;
  font-size:12px;
  cursor:pointer
}
.event-nav button:hover,.event-nav button.active {
  border-color:rgba(255,189,69,.28);
  background:rgba(255,189,69,.08);
  color:var(--gold)
}
.sidebar-footnote {
  margin:0;
  color:var(--dim);
  font-size:10px
}
.admin-content {
  min-width:0
}
.welcome-panel {
  position:relative;
  min-height:330px;
  overflow:hidden;
  padding:clamp(25px,5vw,55px);
  border:1px solid rgba(255,189,69,.19);
  border-radius:21px;
  background:radial-gradient(circle at 95% 40%,rgba(255,189,69,.12),transparent 32%),linear-gradient(135deg,#191f28,#11151b)
}
.welcome-panel h2 {
  max-width:530px;
  margin-bottom:13px;
  font-size:clamp(2.25rem,5vw,4rem)
}
.welcome-panel>p:not(.eyebrow) {
  max-width:520px;
  color:var(--muted)
}
.welcome-mark {
  position:absolute;
  top:50%;
  right:9%;
  display:grid;
  place-items:center;
  width:120px;
  height:120px;
  overflow:hidden;
  border:1px solid rgba(255,189,69,.4);
  border-radius:25px;
  background:#10141a;
  opacity:.82;
  transform:translateY(-50%) rotate(8deg)
}
.welcome-mark img {
  width:100%;
  height:100%;
  object-fit:cover
}
.event-panel {
  display:grid;
  gap:18px
}
.admin-event-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:22px 24px;
  border:1px solid rgba(255,189,69,.23);
  border-radius:17px;
  background:linear-gradient(120deg,#191f28,#11151b)
}
.event-title-group h2 {
  margin:0 0 5px;
  font-size:clamp(1.7rem,3.3vw,2.6rem)
}
.event-title-group .eyebrow {
  margin-bottom:7px
}
.event-title-group p:last-child {
  margin-bottom:0;
  font-size:12px
}
.event-share-tools {
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px
}
.admin-section,.dashboard-section {
  min-width:0;
  padding:20px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#11151b
}
.section-heading {
  align-items:center;
  margin-bottom:16px
}
.section-heading .eyebrow {
  margin-bottom:6px
}
.section-heading h3 {
  margin:0;
  font-size:20px
}
.section-heading .section-hint {
  margin:6px 0 0
}
.event-form-grid,.form-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px
}
.event-form-grid>label,.form-grid>label,.create-dialog form>label {
  display:grid;
  align-content:start;
  gap:6px;
  color:#d2d3d5;
  font-size:11px;
  font-weight:600
}
.span-two {
  grid-column:span 2
}
.checkbox-line {
  display:flex!important;
  align-items:center;
  gap:9px!important;
  min-height:44px
}
.checkbox-line input {
  flex:none
}
.checkbox-line span {
  font-size:12px
}
.event-form-grid>.button {
  align-self:end
}
.event-form-grid textarea {
  min-height:72px
}
.catalog-add-section .section-heading {
  align-items:flex-end
}
.admin-search {
  margin-bottom:12px
}
.catalog-results {
  display:grid;
  gap:7px;
  margin-bottom:10px
}
.catalog-results:empty {
  margin:0
}
.catalog-result {
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  min-height:58px;
  padding:9px 12px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#0d1116;
  color:var(--text);
  text-align:left;
  cursor:pointer
}
.catalog-result:hover {
  border-color:rgba(255,189,69,.45)
}
.catalog-result>span:last-child {
  display:grid;
  gap:3px
}
.catalog-result small {
  color:var(--muted);
  font-size:10px
}
.catalog-result-icon {
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:10px;
  background:var(--gold-wash);
  color:var(--gold)
}
.item-create-form {
  margin-top:14px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:13px;
  background:#0d1116
}
.selected-card {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px
}
.selected-card>div {
  display:grid;
  gap:3px;
  min-width:0
}
.selected-card small {
  color:var(--muted);
  font-size:10px
}
.selected-card-icon {
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid rgba(255,189,69,.25);
  border-radius:10px;
  color:var(--gold)
}
.selected-card .text-button {
  margin-left:auto
}
.form-grid em,.create-dialog em {
  color:var(--dim);
  font-size:9px;
  font-style:normal
}
.form-actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  margin-top:14px
}
.manual-entry {
  margin-top:12px;
  border-top:1px solid var(--line);
  color:#d7d5cf
}
.manual-entry summary {
  padding:13px 0;
  color:var(--gold);
  font-size:12px;
  font-weight:700;
  cursor:pointer
}
.stats-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px
}
.stat-card {
  display:grid;
  gap:10px;
  min-height:92px;
  padding:15px;
  border:1px solid var(--line);
  border-radius:12px;
  background:linear-gradient(140deg,#171c24,#11151b)
}
.stat-card span {
  color:var(--muted);
  font-size:10px
}
.stat-card strong {
  font-family:'Space Grotesk';
  font-size:27px;
  line-height:1
}
.inventory-heading {
  align-items:flex-start
}
.inventory-view-tools {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:7px;
  max-width:800px
}
.small-search {
  display:flex;
  align-items:center;
  gap:6px;
  min-width:150px;
  min-height:40px;
  padding:0 10px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#0d1116;
  color:var(--gold)
}
.small-search input {
  min-width:0;
  min-height:36px;
  padding:6px 0;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:11px
}
.inventory-view-tools select,.inventory-view-tools>label input {
  width:auto;
  min-width:130px;
  min-height:40px;
  padding:7px 9px;
  font-size:10px
}
.language-filter,.max-price-filter {
  display:flex;
  align-items:center;
  gap:5px;
  color:var(--muted);
  font-size:9px
}
.language-filter input {
  width:72px!important
}
.max-price-filter input {
  width:105px!important
}
.bulk-toolbar {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin:12px 0;
  padding:10px;
  border:1px solid var(--line-soft);
  border-radius:11px;
  background:#0d1116
}
.bulk-toolbar>select,.bulk-toolbar>input {
  width:auto;
  min-width:130px;
  min-height:38px;
  padding:7px 9px;
  font-size:10px
}
.bulk-select,.label-size {
  display:flex;
  align-items:center;
  gap:6px;
  color:var(--muted);
  font-size:10px
}
.label-size select {
  width:auto;
  min-height:36px;
  padding:5px 7px;
  font-size:10px
}
.table-wrap {
  overflow:auto;
  border:1px solid var(--line);
  border-radius:12px
}
.inventory-table {
  width:100%;
  border-collapse:collapse;
  font-size:11px
}
.inventory-table th {
  padding:11px 9px;
  background:#181d25;
  color:var(--dim);
  font-size:8px;
  letter-spacing:.09em;
  text-align:left;
  white-space:nowrap
}
.inventory-table td {
  padding:10px 9px;
  border-top:1px solid var(--line-soft);
  color:#d5d6d8;
  vertical-align:middle
}
.inventory-table tbody tr:hover {
  background:rgba(255,255,255,.018)
}
.inventory-table td small {
  display:block;
  margin-top:3px;
  color:var(--dim);
  font-size:9px
}
.item-title {
  max-width:160px;
  overflow:hidden;
  color:#f1efea;
  font-weight:700;
  text-overflow:ellipsis;
  white-space:nowrap
}
.cost-cell {
  color:var(--muted)!important
}
.sale-cell {
  color:var(--gold)!important;
  font-weight:700
}
.table-actions {
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-top:6px
}
.table-actions button {
  min-height:32px;
  padding:5px 8px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#151a21;
  color:#ddd;
  font-size:9px;
  cursor:pointer
}
.table-actions button:hover {
  border-color:rgba(255,189,69,.4);
  color:var(--gold)
}
.photo-upload {
  position:relative;
  display:inline-grid;
  place-items:center;
  width:35px;
  height:35px;
  overflow:hidden;
  border:1px dashed #555d69;
  border-radius:8px;
  background:#0b0e13;
  color:var(--gold);
  font-size:9px;
  cursor:pointer
}
.photo-upload img {
  width:100%;
  height:100%;
  object-fit:cover
}
.photo-upload input {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer
}
.inventory-empty {
  margin-top:12px
}
.sales-summary {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px
}
.sale-stat {
  display:grid;
  gap:8px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#0d1116
}
.sale-stat span {
  color:var(--muted);
  font-size:10px
}
.sale-stat b {
  color:var(--gold);
  font-family:'Space Grotesk';
  font-size:19px
}
.create-dialog {
  width:min(530px,calc(100vw - 28px));
  padding:28px
}
.create-dialog h2 {
  max-width:390px;
  margin:0 40px 20px 0;
  font-size:31px
}
.create-dialog form {
  display:grid;
  gap:12px
}
.create-dialog form input:not([type=checkbox]),.create-dialog form select,.create-dialog form textarea {
  font-size:13px
}
.create-dialog .checkbox-line {
  margin-top:3px
}
.label-dialog {
  text-align:left
}
.label-dialog>img {
  display:block;
  width:100%;
  max-height:55vh;
  object-fit:contain;
  margin:10px 0 15px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#0b0e13
}
.label-dialog>p.muted {
  color:var(--muted);
  font-size:12px
}
.toast {
  position:fixed;
  z-index:50;
  right:20px;
  bottom:20px;
  max-width:min(420px,calc(100vw - 32px));
  padding:13px 17px;
  border:1px solid rgba(255,189,69,.35);
  border-radius:12px;
  background:#1a2029;
  color:#f5f2eb;
  box-shadow:var(--shadow);
  font-size:12px;
  opacity:0;
  pointer-events:none;
  transform:translateY(10px);
  transition:opacity .18s,transform .18s
}
.toast.visible {
  opacity:1;
  transform:translateY(0)
}
@media(max-width:1050px) {
  .card-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
  .catalog-tools {
    grid-template-columns:minmax(200px,1fr) auto
  }
  .results-meta {
    grid-column:1/-1
  }
  .admin-layout {
    grid-template-columns:220px minmax(0,1fr);
    gap:16px
  }
  .admin-sidebar {
    padding:15px
  }
  .inventory-heading {
    display:block
  }
  .inventory-view-tools {
    justify-content:flex-start;
    margin-top:12px
  }
  .inventory-view-tools>* {
    flex:1 1 135px
  }
  .inventory-view-tools .small-search {
    flex-basis:200px
  }
  .bulk-toolbar>* {
    flex:0 1 auto
  }
}
@media(max-width:760px) {
  html {
    scroll-padding-top:78px
  }
  .wrap {
    width:min(100% - 32px,600px)
  }
  .site-header {
    min-height:64px;
    padding:9px 16px
  }
  .brand {
    gap:8px
  }
  .brand-mark {
    width:40px;
    height:40px;
    flex-basis:40px;
    border-radius:12px
  }
  .brand-wordmark strong {
    font-size:12px
  }
  .brand-wordmark small {
    font-size:7px
  }
  .brand-divider {
    height:24px;
    margin-inline:1px
  }
  .brand-product {
    font-size:12px
  }
  .header-actions {
    gap:6px
  }
  .header-link {
    display:none
  }
  .admin-pill {
    padding:7px 8px;
    font-size:8px
  }
  .admin-header .button {
    min-height:38px;
    padding:8px 10px;
    font-size:10px
  }
  .landing {
    padding-top:16px
  }
  .hero-panel {
    min-height:410px;
    align-items:flex-end;
    padding:28px 22px 26px;
    border-radius:21px
  }
  .hero-panel:before {
    background:linear-gradient(0deg,rgba(11,14,19,.99) 0%,rgba(11,14,19,.88) 42%,rgba(11,14,19,.25) 100%)
  }
  .hero-media {
    object-position:57% center
  }
  .hero-content {
    padding-top:105px
  }
  .hero-content h1 {
    max-width:520px;
    font-size:clamp(2.55rem,10vw,4.4rem)
  }
  .hero-copy {
    max-width:490px;
    font-size:14px
  }
  .hero-brand-mark {
    top:29px;
    right:25px;
    width:76px;
    height:76px;
    border-radius:18px;
    transform:rotate(7deg)
  }
  .hero-index {
    right:14px;
    bottom:13px;
    font-size:8px
  }
  .hero-note {
    font-size:10px
  }
  .section-block {
    padding:46px 0 56px
  }
  .section-heading {
    align-items:flex-end
  }
  .section-heading h2 {
    font-size:25px
  }
  .event-list {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px
  }
  .event-tile {
    min-height:190px;
    padding:16px;
    border-radius:14px
  }
  .event-tile h3 {
    font-size:17px
  }
  .event-tile p {
    font-size:11px
  }
  .event-date {
    margin-bottom:15px;
    font-size:9px
  }
  .event-count {
    font-size:10px
  }
  .site-footer {
    padding:18px 16px;
    font-size:9px
  }
  .event-main {
    padding-top:16px;
    padding-bottom:50px
  }
  .back-link {
    margin-bottom:8px
  }
  .event-banner {
    padding:25px 20px;
    border-radius:17px
  }
  .event-banner:after {
    right:-155px;
    width:240px;
    height:240px
  }
  .event-banner h1 {
    font-size:clamp(2rem,8vw,3.2rem)
  }
  .event-banner>p:not(.eyebrow) {
    font-size:13px
  }
  .event-metadata span {
    font-size:9px
  }
  .catalog-section {
    padding-top:29px
  }
  .catalog-section-heading h2 {
    font-size:21px
  }
  .catalog-tools {
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px
  }
  .search-box {
    min-height:46px;
    padding:0 10px
  }
  .search-box input {
    font-size:12px
  }
  .search-box kbd {
    display:none
  }
  .filter-drawer summary {
    min-height:46px;
    padding:0 11px;
    font-size:0
  }
  .filter-drawer summary>span {
    font-size:0
  }
  .filter-drawer summary .filter-summary-icon {
    font-size:20px
  }
  .filter-drawer summary .filter-chevron {
    font-size:14px
  }
  .filter-row {
    grid-template-columns:1fr;
    width:min(310px,calc(100vw - 32px));
    padding:13px
  }
  .results-meta {
    grid-column:1/-1;
    justify-content:space-between
  }
  .card-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px
  }
  .trade-card {
    border-radius:13px
  }
  .trade-photo {
    aspect-ratio:1/1
  }
  .trade-info {
    padding:10px
  }
  .trade-info h3 {
    font-size:13px
  }
  .set-name {
    margin-bottom:11px;
    font-size:9px
  }
  .trade-price {
    font-size:16px
  }
  .trade-meta {
    max-width:95px;
    font-size:8px
  }
  .status-chip {
    right:6px;
    bottom:6px;
    padding:4px 7px;
    font-size:8px
  }
  .photo-placeholder {
    width:64px;
    height:92px;
    font-size:23px
  }
  .trade-photo .photo-placeholder {
    width:62px;
    height:88px
  }
  .card-dialog {
    width:calc(100vw - 20px);
    max-height:92dvh;
    padding:22px 15px 17px;
    border-radius:18px
  }
  .dialog-close {
    top:8px;
    right:8px;
    width:38px;
    height:38px
  }
  .detail-layout {
    grid-template-columns:1fr;
    gap:16px;
    padding-top:30px
  }
  .detail-photo {
    min-height:190px;
    max-height:36vh
  }
  .detail-photo img {
    max-height:34vh
  }
  .detail-layout h2 {
    font-size:25px
  }
  .detail-price {
    margin:10px 0;
    font-size:25px
  }
  .detail-grid {
    gap:7px
  }
  .detail-grid>div {
    padding:9px
  }
  .login-header {
    position:relative
  }
  .login-wrap {
    grid-template-columns:1fr;
    gap:25px;
    width:min(100% - 32px,500px);
    min-height:auto;
    padding:48px 0
  }
  .login-intro h1 {
    font-size:clamp(2.9rem,13vw,4.2rem)
  }
  .login-intro>p {
    font-size:13px
  }
  .login-intro .eyebrow {
    font-size:9px
  }
  .login-card {
    padding:21px;
    border-radius:17px
  }
  .login-card-heading h2 {
    font-size:24px
  }
  .admin-layout {
    display:block;
    width:calc(100% - 24px);
    padding-top:12px
  }
  .admin-sidebar {
    position:static;
    gap:10px;
    margin-bottom:12px;
    padding:12px;
    border-radius:14px
  }
  .sidebar-heading,.sidebar-note,.sidebar-divider,.sidebar-footnote,.sidebar-nav-heading {
    display:none
  }
  .admin-sidebar>.button {
    width:auto;
    align-self:flex-start;
    min-height:38px
  }
  .event-nav {
    display:flex;
    max-height:none;
    overflow:auto;
    gap:7px;
    order:2
  }
  .event-nav button {
    flex:0 0 auto;
    min-width:120px;
    max-width:190px;
    overflow:hidden;
    border-color:var(--line);
    text-overflow:ellipsis;
    white-space:nowrap
  }
  .admin-content {
    min-width:0
  }
  .welcome-panel {
    min-height:290px;
    padding:27px 22px;
    border-radius:16px
  }
  .welcome-panel h2 {
    font-size:35px
  }
  .welcome-mark {
    top:31px;
    right:18px;
    width:60px;
    height:60px;
    border-radius:15px;
    opacity:.65;
    transform:rotate(7deg)
  }
  .welcome-panel>p:not(.eyebrow) {
    max-width:410px;
    font-size:13px
  }
  .admin-event-top {
    align-items:flex-start;
    flex-direction:column;
    padding:17px
  }
  .event-share-tools {
    justify-content:flex-start
  }
  .admin-section,.dashboard-section {
    padding:14px;
    border-radius:13px
  }
  .section-heading {
    align-items:flex-start
  }
  .section-heading h3 {
    font-size:18px
  }
  .section-heading>.button {
    flex:none
  }
  .section-hint {
    font-size:10px
  }
  .event-form-grid,.form-grid {
    grid-template-columns:1fr
  }
  .span-two {
    grid-column:auto
  }
  .event-form-grid>.button {
    width:100%
  }
  .stats-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px
  }
  .stat-card {
    min-height:78px;
    padding:11px
  }
  .stat-card strong {
    font-size:24px
  }
  .inventory-view-tools>* {
    flex:1 1 calc(50% - 7px)
  }
  .inventory-view-tools .small-search {
    flex-basis:100%
  }
  .inventory-view-tools select,.inventory-view-tools>label input {
    min-width:0
  }
  .language-filter,.max-price-filter {
    justify-content:space-between;
    padding:0 5px
  }
  .language-filter input {
    width:84px!important
  }
  .max-price-filter input {
    width:112px!important
  }
  .bulk-toolbar {
    gap:6px;
    padding:8px
  }
  .bulk-toolbar>* {
    flex:1 1 calc(50% - 6px);
    min-width:0!important
  }
  .bulk-select {
    flex-basis:100%
  }
  .label-size {
    justify-content:space-between
  }
  .bulk-toolbar>.button,.bulk-toolbar>a {
    flex-basis:100%
  }
  .table-wrap {
    overflow:visible;
    border:0
  }
  .inventory-table,.inventory-table tbody {
    display:block;
    width:100%
  }
  .inventory-table thead {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0,0,0,0)
  }
  .inventory-table tbody {
    display:grid;
    gap:10px
  }
  .inventory-table tr {
    position:relative;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    padding:12px;
    border:1px solid var(--line);
    border-radius:12px;
    background:#0d1116
  }
  .inventory-table td {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    min-width:0;
    padding:0;
    border:0;
    font-size:11px
  }
  .inventory-table td:before {
    content:attr(data-label);
    flex:0 0 auto;
    color:var(--dim);
    font-size:8px;
    font-weight:700;
    letter-spacing:.06em
  }
  .inventory-table td:first-child {
    position:absolute;
    top:10px;
    right:10px
  }
  .inventory-table td:first-child:before {
    content:none
  }
  .inventory-table td:nth-child(2) {
    grid-column:1/-1;
    padding-right:32px
  }
  .inventory-table td:nth-child(2):before {
    content:none
  }
  .inventory-table td:nth-child(3),.inventory-table td:nth-child(4),.inventory-table td:nth-child(5) {
    display:grid;
    justify-items:end;
    text-align:right
  }
  .inventory-table td:nth-child(8) {
    grid-column:1/-1;
    display:block;
    padding-top:8px;
    border-top:1px solid var(--line-soft)
  }
  .inventory-table td:nth-child(8):before {
    display:block;
    margin-bottom:6px
  }
  .inventory-table td:nth-child(8) .table-actions {
    display:flex
  }
  .inventory-table td:nth-child(8) .table-actions button {
    min-height:38px;
    flex:1 1 auto
  }
  .inventory-table td:nth-child(8) .photo-upload {
    width:39px;
    height:39px
  }
  .inventory-table td:nth-child(2) .item-title {
    max-width:100%;
    font-size:13px
  }
  .inventory-table td[colspan] {
    display:block!important;
    grid-column:1/-1;
    padding:15px!important
  }
  .inventory-table td[colspan]:before {
    content:none
  }
  .sales-summary {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px
  }
  .sale-stat {
    padding:11px
  }
  .sale-stat b {
    font-size:16px
  }
  .create-dialog {
    width:calc(100vw - 20px);
    max-height:92dvh;
    padding:23px 17px 18px;
    border-radius:17px
  }
  .create-dialog h2 {
    font-size:26px
  }
  .create-dialog form {
    gap:10px
  }
  .selected-card {
    flex-wrap:wrap
  }
  .selected-card .text-button {
    margin-left:0
  }
  .toast {
    right:12px;
    bottom:12px
  }
  .public-return {
    font-size:11px
  }
}
@media(max-width:390px) {
  .wrap {
    width:calc(100% - 24px)
  }
  .brand-wordmark small {
    display:none
  }
  .brand-divider {
    display:none
  }
  .site-header {
    padding-inline:12px
  }
  .hero-panel {
    min-height:390px;
    padding:24px 17px
  }
  .hero-content h1 {
    font-size:41px
  }
  .hero-copy {
    font-size:12px
  }
  .hero-actions .button {
    width:100%
  }
  .hero-note {
    font-size:9px
  }
  .event-list {
    grid-template-columns:1fr
  }
  .event-tile {
    min-height:165px
  }
  .section-block {
    padding-top:38px
  }
  .section-heading h2 {
    font-size:22px
  }
  .event-count {
    font-size:9px
  }
  .catalog-section-heading h2 {
    font-size:18px
  }
  .event-banner {
    padding-inline:16px
  }
  .event-banner h1 {
    font-size:32px
  }
  .event-metadata span {
    font-size:8px
  }
  .card-grid {
    gap:7px
  }
  .trade-info {
    padding:8px
  }
  .trade-info h3 {
    font-size:12px
  }
  .trade-meta {
    max-width:75px;
    font-size:7px
  }
  .status-chip {
    font-size:7px
  }
  .stats-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .admin-pill {
    display:none
  }
  .admin-header .button {
    padding:7px 8px;
    font-size:9px
  }
  .site-footer {
    gap:8px
  }
  .site-footer>span {
    text-align:right;
    font-size:8px
  }
}
@media(min-width:761px) and (max-width:1024px) {
  .admin-layout {
    grid-template-columns:190px minmax(0,1fr)
  }
  .admin-sidebar {
    padding:12px
  }
  .sidebar-heading h1 {
    font-size:27px
  }
  .admin-section,.dashboard-section {
    padding:15px
  }
  .stats-grid,.sales-summary {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .event-share-tools .button {
    padding-inline:11px;
    font-size:11px
  }
  .card-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
}
@media(min-width:1500px) {
  .hero-panel {
    min-height:420px
  }
  .section-block {
    padding-top:72px
  }
  .event-list {
    gap:20px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important
  }
}
body {
  padding-bottom:env(safe-area-inset-bottom)
}
.site-header {
  padding-left:max(16px,env(safe-area-inset-left),calc((100vw - 1320px)/2));
  padding-right:max(16px,env(safe-area-inset-right),calc((100vw - 1320px)/2))
}
.empty-mark img {
  width:100%;
  height:100%;
  border-radius:inherit;
  object-fit:cover
}
.photo-placeholder {
  padding:4px
}
.photo-placeholder img {
  width:100%;
  height:100%;
  border-radius:inherit;
  object-fit:cover
}
.stats-grid {
  grid-template-columns:repeat(5,minmax(0,1fr))
}
.event-cta {
  margin-left:auto;
  color:var(--gold);
  font-size:10px;
  font-weight:700
}
.detail-photo>img {
  width:100%;
  height:100%;
  max-height:460px;
  object-fit:contain
}
.detail-photos {
  width:100%;
  align-items:center
}
.detail-photos.single-photo {
  grid-template-columns:minmax(0,250px);
  justify-content:center
}
@media(max-width:760px) {
  .site-header {
    padding-top:max(9px,env(safe-area-inset-top));
    padding-left:max(12px,env(safe-area-inset-left));
    padding-right:max(12px,env(safe-area-inset-right))
  }
  .stats-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .event-cta {
    font-size:9px
  }
  input:not([type=checkbox]):not([type=radio]),select,textarea {
    font-size:16px!important
  }
  .toast {
    bottom:max(12px,env(safe-area-inset-bottom))
  }
}
@media(min-width:761px) and (max-width:1050px) {
  .stats-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
}
.event-tile {
  min-height:320px;
  padding:0 22px 18px
}
.event-tile:before {
  inset:0 0 auto;
  height:150px;
  background:linear-gradient(0deg,#151a22 0%,rgba(21,26,34,.22) 75%,transparent)
}
.event-tile:after {
  z-index:1
}
.event-cover {
  position:relative;
  inset:auto;
  width:calc(100% + 44px);
  height:150px;
  max-width:none;
  margin:0 -22px 17px;
  object-fit:cover;
  opacity:.93
}
.event-card-cover {
  padding:10px;
  object-fit:contain;
  background:#0b0e13
}
@media(max-width:760px) {
  .event-tile {
    min-height:270px;
    padding:0 16px 16px
  }
  .event-tile:before {
    height:126px
  }
  .event-cover {
    width:calc(100% + 32px);
    height:126px;
    margin:0 -16px 14px
  }
}
.event-list>.empty-state,.card-grid>.empty-state {
  grid-column:1/-1
}
