:root {
  --bg: #07101f;
  --surface: #fbf2df;
  --surface-soft: #fff8eb;
  --panel: rgba(255, 248, 235, .96);
  --text: #24170c;
  --muted: #765f42;
  --border: rgba(178, 126, 42, .36);
  --border-strong: rgba(198, 145, 51, .68);
  --accent: #c89132;
  --accent-hover: #9b681e;
  --accent-soft: #f8e5ba;
  --ok: #dff2dc;
  --missing: #fff0d4;
  --warning: #9d5a0c;
  --selected: #fff1c7;
  --selected-border: #d9a241;
  --spark: #f0bd4f;
  --play: #d84b74;
  --navy: #07101f;
  --navy-soft: #0d1b33;
  --cream: #fff8eb;
  --paper: #fbf2df;
  --gold: #d9a241;
  --gold-dark: #8d5f1b;
  --teal: #1bc6ca;
  --magenta: #cf3d83;
  --shadow: 0 22px 55px rgba(0, 0, 0, .28);
  --z-dropdown: 190;
  --z-modal: 220;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--navy);
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  background:
    linear-gradient(180deg, rgba(3, 8, 17, .18), rgba(3, 8, 17, .66) 62%, #07101f 100%),
    url("/assets/images/ui/lorcachecker-bg-magic.webp") center top / cover no-repeat,
    #07101f;
}
/*
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 238, 190, .2), transparent 22rem),
    linear-gradient(90deg, rgba(3, 8, 17, .5), transparent 22%, transparent 78%, rgba(3, 8, 17, .48));
}

body::after {
  opacity: .62;
  background: url("/assets/images/ui/lorcachecker-ink-ribbon.webp") center 96px / min(1900px, 124vw) auto no-repeat;
  mix-blend-mode: screen;
}
*/
a {
  color: inherit;
}

p {
  margin: 0 0 10px;
  color: var(--muted);
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  color: #211407;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(34px, 4vw, 64px);
  font-weight: 800;
  line-height: 1.04;
}

h2 {
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 800;
  line-height: 1.12;
}

h3 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

img {
  max-width: 100%;
}

.d-none {
  display: none !important;
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1600px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 26px 30px 34px;
}

.public-page .page {
  max-width: 1480px;
}

.app-version {
  position: static;
  z-index: 20;
  align-self: flex-start;
  order: 999;
  margin: auto 0 8px 10px;
  color: rgba(255, 248, 235, .58);
  font-size: 11px;
  line-height: 1;
  text-decoration: none;
}

.app-version:hover,
.app-version:focus {
  color: var(--cream);
  text-decoration: none;
}

.top-help-btn {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 120;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(217, 162, 65, .55);
  border-radius: 999px;
  padding: 0;
  background: rgba(8, 18, 35, .82);
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

.top-help-btn:hover,
.top-help-btn:focus {
  background: var(--paper);
  color: var(--navy);
  outline: none;
}

.site-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 126px;
  margin: 0 0 8px;
  padding: 0 4px 18px;
}

.site-header::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: min(420px, 46vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(217, 162, 65, .85), transparent);
  transform: translateX(-50%);
}

.site-header::after {
  content: "✦";
  position: absolute;
  left: 50%;
  bottom: -8px;
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
  text-shadow: 0 0 18px rgba(217, 162, 65, .55);
  transform: translateX(-50%);
}

.brand-link {
  position: absolute;
  top: -12px;
  left: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-self: center;
  line-height: 0;
  text-decoration: none;
  filter: drop-shadow(0 13px 18px rgba(0, 0, 0, .35));
  transform: translateX(-50%);
}

.brand-logo {
  display: block;
  width: clamp(320px, 29vw, 430px);
  height: auto;
}

.header-nav {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  color: rgba(255, 248, 235, .9);
  font-size: 15px;
}

.header-nav-left {
  justify-self: start;
  justify-content: flex-start;
}

.header-nav-right {
  justify-self: end;
  justify-content: flex-end;
}

.header-nav a,
.header-nav button,
.support-btn,
.favorites-nav-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border: 0;
  border-radius: 0;
  padding: 5px 2px;
  background: transparent;
  color: rgba(255, 248, 235, .92);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

.header-nav a i,
.header-nav button i {
  color: var(--gold);
  font-size: 19px;
}

.header-nav a:hover,
.header-nav a:focus,
.header-nav button:hover,
.header-nav button:focus {
  color: var(--cream);
  text-decoration: none;
  outline: none;
}

.header-nav a[aria-current="page"]::after,
.header-nav a:hover::after,
.header-nav button:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), #f5c55b);
}

.favorites-nav-btn em {
  position: absolute;
  top: -8px;
  right: -12px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  padding: 0 5px;
  background: var(--magenta);
  color: #fff;
  font: 700 12px/1 system-ui, sans-serif;
}

.support-btn span {
  white-space: nowrap;
}

.header-nav .support-btn {
  border: 1px solid rgba(240, 189, 79, .7);
  border-radius: 999px;
  padding: 6px 13px;
  background:
    linear-gradient(180deg, rgba(255, 241, 202, .22), rgba(217, 162, 65, .14)),
    rgba(12, 28, 52, .68);
  color: #fff6df;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .42);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 235, .28),
    inset 0 -1px 0 rgba(217, 162, 65, .18),
    0 0 18px rgba(217, 162, 65, .16),
    0 10px 24px rgba(0, 0, 0, .2);
}

.header-nav .support-btn:hover,
.header-nav .support-btn:focus {
  border-color: rgba(255, 231, 173, .9);
  background:
    linear-gradient(180deg, rgba(255, 241, 202, .34), rgba(217, 162, 65, .22)),
    rgba(14, 34, 62, .78);
  color: #fff8eb;
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 235, .34),
    inset 0 -1px 0 rgba(217, 162, 65, .24),
    0 0 24px rgba(240, 189, 79, .26),
    0 12px 26px rgba(0, 0, 0, .22);
}

.header-nav .support-btn::after {
  display: none;
}

.support-btn i {
  color: #f8d983;
  text-shadow: 0 0 14px rgba(217, 162, 65, .45), 0 0 22px rgba(207, 61, 131, .24);
}

.header-nav .support-btn i {
  color: #f8d983;
  text-shadow: 0 0 12px rgba(217, 162, 65, .42);
}

.panel,
.shop-info-card,
.changelog-version,
.hub-notice-card,
.marketplace-listing-card,
.event-detail-panel,
.stats-card,
.watchdog-admin-panel,
.marketplace-card {
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .18)),
    var(--panel);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .26), inset 0 0 0 1px rgba(255, 255, 255, .46);
}

.muted {
  color: var(--muted) !important;
}

.section-title,
.stats-panel-header,
.marketplace-list-head,
.shop-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.section-info {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 1px solid rgba(168, 119, 41, .4);
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 251, 243, .78);
  color: var(--gold-dark);
  font: 800 12px/1 system-ui, sans-serif;
}

.btn,
.preset-btn,
.section-inline-action,
.report-type-btn,
.search-link-copy,
.footer-link-button {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
}

.btn {
  border-radius: 8px;
  font-weight: 600;
}

.btn i, .shop-directory-meta i {
  padding-right: 5px;
}

.reports-page {
  max-width: 1640px;
}

.reports-page .site-header {
  margin-bottom: 18px;
}

.reports-admin-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  border-color: rgba(240, 189, 79, .7);
  padding: 22px 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(27, 198, 202, .18), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(207, 61, 131, .15), transparent 34%),
    linear-gradient(145deg, rgba(5, 13, 28, .96), rgba(13, 29, 54, .94)),
    url("/assets/images/ui/lorcachecker-shop-tile-pattern.webp") center / 160% 160% no-repeat;
  color: var(--cream);
  box-shadow:
    0 30px 72px rgba(0, 0, 0, .38),
    inset 0 0 0 1px rgba(255, 248, 235, .1);
}

.reports-admin-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .4;
  pointer-events: none;
  background:
    url("/assets/images/ui/lorcachecker-ink-ribbon.webp") center / min(940px, 110%) auto no-repeat,
    linear-gradient(90deg, transparent, rgba(240, 189, 79, .3), transparent) center 64% / 60% 1px no-repeat;
  mix-blend-mode: screen;
}

.reports-admin-hero > * {
  position: relative;
  z-index: 1;
}

.reports-admin-hero h1 {
  color: var(--cream);
  font-size: clamp(34px, 4vw, 58px);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .36), 0 0 24px rgba(240, 189, 79, .25);
}

.reports-admin-hero .muted {
  max-width: 720px;
  color: rgba(255, 248, 235, .76) !important;
  font-size: 16px;
}

.reports-admin-actions,
.reports-page .actions,
.reports-page .header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.reports-page .btn {
  border-radius: 999px;
  font-weight: 800;
}

.reports-page .btn-primary,
.reports-page .btn-outline-primary:hover,
.reports-page .btn-outline-primary:focus {
  border-color: rgba(240, 189, 79, .82);
  background: linear-gradient(180deg, #10264b, #06162d);
  color: #ffe7ad;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 18px rgba(7, 22, 45, .18);
}

.reports-page .btn-outline-primary,
.reports-page .btn-outline-secondary {
  border-color: rgba(168, 119, 41, .44);
  background: rgba(255, 248, 235, .62);
  color: #3a250b;
}

.reports-page .btn-outline-secondary:hover,
.reports-page .btn-outline-secondary:focus {
  border-color: var(--gold);
  background: linear-gradient(180deg, #f8d983, #d49b3b);
  color: #211407;
}

.reports-page .btn-outline-danger {
  border-color: rgba(207, 61, 131, .42);
  background: rgba(255, 242, 246, .78);
  color: #8b2452;
}

.report-login {
  width: min(520px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.report-login form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.report-tabs {
  position: sticky;
  top: 8px;
  z-index: 90;
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  contain: inline-size;
  margin: 0 0 18px;
  max-width: 100%;
  min-width: 0;
  border: 1px solid rgba(240, 189, 79, .52);
  border-radius: 8px;
  padding: 9px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .95), rgba(251, 242, 223, .9)),
    url("/assets/images/ui/lorcachecker-shop-tile-pattern.webp") center / 180% 180% no-repeat;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .62);
  scrollbar-width: thin;
}

.report-tabs a {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 7px;
  align-items: center;
  min-height: 39px;
  border: 1px solid rgba(168, 119, 41, .26);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 248, 235, .68);
  color: #3a250b;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.report-tabs a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(168, 119, 41, .34);
  box-shadow: 0 0 0 rgba(217, 162, 65, 0);
}

.report-tabs a:hover,
.report-tabs a:focus {
  border-color: rgba(217, 162, 65, .7);
  background: rgba(255, 251, 243, .96);
  color: #211407;
  outline: none;
}

.report-tabs a.active {
  border-color: rgba(240, 189, 79, .86);
  background: linear-gradient(180deg, #10264b, #06162d);
  color: #ffe7ad;
  box-shadow: 0 9px 22px rgba(7, 22, 45, .2), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.report-tabs a.active::before {
  background: #35d49a;
  box-shadow: 0 0 12px rgba(53, 212, 154, .52);
}

.report-tabs span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border: 1px solid rgba(168, 119, 41, .22);
  border-radius: 999px;
  padding: 0 6px;
  background: rgba(255, 248, 235, .74);
  color: #4a3318;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 12px;
  font-weight: 850;
}

.report-tabs a.active span {
  border-color: rgba(255, 231, 173, .3);
  background: rgba(255, 248, 235, .12);
  color: #ffe7ad;
}

.reports-page .panel {
  position: relative;
  overflow: visible;
}

.reports-page .panel::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 10px;
  height: 46px;
  opacity: .2;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0 4%, rgba(27, 198, 202, .55) 12%, transparent 28%),
    linear-gradient(82deg, transparent 46%, rgba(207, 61, 131, .5) 62%, transparent 78%);
}

.reports-page .panel > * {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.reports-page .stats-panel-header,
.reports-page .section-head {
  margin-bottom: 14px;
}

.reports-page .stats-panel-header h2,
.reports-page .section-head h2 {
  color: #211407;
}

.stats-grid,
.summary-stats,
.funnel-grid,
.shop-overview-summary,
.maintenance-card-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 10px;
}

.stats-grid > span,
.summary-stats > span,
.summary-stats > button,
.funnel-grid > span,
.shop-overview-summary > span,
.maintenance-card-stats > span,
.marketplace-admin-stats > span,
.marketplace-admin-stats > div {
  display: grid;
  gap: 4px;
  min-height: 72px;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 8px;
  padding: 11px 12px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .86), rgba(250, 239, 216, .68)),
    rgba(255, 248, 235, .52);
  color: #5f4728;
  font-size: 13px;
  font-weight: 750;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .58);
}

.summary-stats > button {
  appearance: none;
  text-align: left;
}

.summary-stats > button.active,
.summary-stats > button:hover,
.summary-stats > button:focus {
  border-color: rgba(217, 162, 65, .74);
  background:
    linear-gradient(180deg, rgba(255, 245, 214, .94), rgba(239, 202, 126, .7)),
    rgba(255, 248, 235, .72);
  outline: none;
}

.stats-grid strong,
.summary-stats strong,
.funnel-grid strong,
.shop-overview-summary strong,
.maintenance-card-stats strong,
.marketplace-admin-stats strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #211407;
  font-size: 24px;
  line-height: 1.02;
}

.stats-split,
.stats-chart-row,
.events-admin-tools,
.watchdog-admin-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

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

.stats-split > div,
.stats-chart,
.shop-admin-subpanel,
.maintenance-cron,
.maintenance-card,
.api-health-callout,
.api-quickstart-box,
.partner-report-box {
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .82), rgba(250, 239, 216, .62)),
    rgba(255, 248, 235, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .58);
}

.stats-chart-wide {
  margin-top: 14px;
}

.report-pills,
.partner-click-pills,
.help-code {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.report-pills span,
.heatmap-summary span,
.shop-status-pill,
.watchdog-email-pills span,
.event-labels span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 248, 235, .72);
  color: #3a250b;
  font-size: 12px;
  font-weight: 850;
}

.reports-page .table-wrap,
.cron-run-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(168, 119, 41, .26);
  border-radius: 8px;
  background: rgba(255, 251, 243, .58);
}

.reports-page .table {
  min-width: 780px;
  margin: 0;
  color: #2a1a09;
  font-size: 13px;
}

.reports-page .table thead th {
  border-bottom-color: rgba(168, 119, 41, .28);
  background:
    linear-gradient(180deg, rgba(255, 245, 214, .92), rgba(237, 208, 145, .74));
  color: #3a250b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.reports-page .table td {
  border-color: rgba(168, 119, 41, .18);
  vertical-align: middle;
}

.reports-page .table tbody tr:hover {
  background: rgba(255, 241, 199, .42);
}

.reports-page label {
  display: grid;
  gap: 5px;
  color: #4a3318;
  font-size: 13px;
  font-weight: 850;
}

.reports-page .form-control,
.reports-page .form-select,
.reports-page textarea,
.reports-page input[type="date"],
.reports-page input[type="time"],
.reports-page input[type="search"],
.reports-page input[type="url"],
.reports-page input[type="email"],
.reports-page input[type="password"],
.reports-page input[type="text"],
.reports-page input[type="number"] {
  border-color: rgba(168, 119, 41, .34);
  border-radius: 8px;
  background-color: rgba(255, 251, 243, .84);
  color: #211407;
  font-weight: 700;
}

.reports-page .form-control:focus,
.reports-page .form-select:focus,
.reports-page textarea:focus,
.reports-page input:focus {
  border-color: rgba(217, 162, 65, .86);
  box-shadow: 0 0 0 3px rgba(217, 162, 65, .18);
}

.shop-admin-toolbar,
.events-admin-filterbar,
.marketplace-admin-filterbar,
.api-client-toolbar,
.watchdog-toolbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  align-items: end;
  margin: 14px 0;
  border: 1px solid rgba(168, 119, 41, .24);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 251, 243, .48);
}

.watchdog-toolbar {
  grid-template-columns: minmax(0, 1fr) minmax(220px, .35fr);
}

.shop-admin-grid,
.event-label-admin-grid,
.maintenance-grid,
.api-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.shop-admin-card,
.event-admin-card,
.watchdog-email-group,
.watchdog-item,
.favorite-offer-card {
  border: 1px solid rgba(168, 119, 41, .3);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .88), rgba(250, 239, 216, .72)),
    url("/assets/images/ui/lorcachecker-shop-tile-pattern.webp") center / 220% 220% no-repeat;
  color: var(--text);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .58);
}

.shop-admin-card,
.event-admin-card {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.event-admin-card {
  grid-template-columns: minmax(0, 1fr) auto;
}

.event-admin-card > details {
  grid-column: 1 / -1;
}

.partner-admin-main {
  display: grid;
  gap: 16px;
}

.partner-admin-moved-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  gap: 24px;
  align-items: center;
  border-color: rgba(168, 119, 41, .24);
  background:
    radial-gradient(circle at 14% 0, rgba(27, 198, 202, .12), transparent 34%),
    radial-gradient(circle at 86% 0, rgba(207, 61, 131, .1), transparent 32%),
    linear-gradient(135deg, rgba(255, 251, 243, .94), rgba(250, 239, 216, .88)),
    #fff8eb;
}

.partner-admin-moved-copy {
  display: grid;
  gap: 12px;
}

.partner-admin-moved-copy h1 {
  margin: 0;
  color: #2a1a09;
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.partner-admin-moved-copy p {
  max-width: 720px;
  margin: 0;
  color: #5c4b35;
  font-size: 15px;
  line-height: 1.55;
}

.partner-admin-moved-copy .actions {
  margin-top: 4px;
}

.partner-admin-moved-cta {
  border: 0;
  border-radius: 8px;
  padding: 11px 16px;
  background: linear-gradient(135deg, #c54671, #d9a241);
  color: #fff;
  box-shadow: 0 14px 26px rgba(197, 70, 113, .2);
  font-weight: 850;
}

.partner-admin-moved-cta:hover,
.partner-admin-moved-cta:focus {
  color: #fff;
  filter: brightness(.98);
}

.partner-admin-network {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(168, 119, 41, .2);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 251, 243, .82);
  box-shadow: 0 14px 30px rgba(42, 26, 9, .08);
}

.partner-admin-network-label {
  color: #7a6342;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.partner-admin-network-links {
  display: grid;
  gap: 10px;
}

.partner-admin-network-card {
  display: grid;
  place-items: center;
  min-height: 78px;
  border: 1px solid rgba(168, 119, 41, .18);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(42, 26, 9, .05);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.partner-admin-network-card:hover,
.partner-admin-network-card:focus {
  border-color: rgba(197, 70, 113, .3);
  box-shadow: 0 14px 26px rgba(42, 26, 9, .09);
  outline: none;
  transform: translateY(-1px);
}

.partner-admin-network-card img {
  display: block;
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
}

.partner-admin-network-card-poke img {
  max-height: 58px;
}

.partner-admin-network-card-lorca img {
  max-height: 46px;
}

.event-admin-actions,
.watchdog-admin-actions,
.shop-row-actions,
.maintenance-cron-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  justify-content: flex-end;
}

.maintenance-cron {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}

.maintenance-card {
  display: grid;
  gap: 11px;
  align-content: start;
}

.stats-bar-row {
  display: grid;
  grid-template-columns: minmax(96px, .34fr) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-top: 9px;
}

.stats-bar-label {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #4a3318;
  font-weight: 800;
}

.stats-bar-track {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: rgba(168, 119, 41, .18);
}

.stats-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1bc6ca, #f0bd4f, #cf3d83);
}

.stats-bar-fill-danger {
  background: linear-gradient(90deg, #f0bd4f, #cf3d83);
}

.stats-bar-fill-timing {
  background: linear-gradient(90deg, #1bc6ca, #7adfd5);
}

.stats-day-chart {
  display: grid;
  grid-template-columns: repeat(30, minmax(10px, 1fr));
  gap: 4px;
  align-items: end;
  min-height: 150px;
  margin-top: 12px;
}

.stats-day-chart span {
  display: grid;
  align-items: end;
  min-height: 130px;
  gap: 4px;
}

.stats-day-chart i {
  display: block;
  min-height: 4px;
  border-radius: 999px 999px 3px 3px;
  background: linear-gradient(180deg, #f0bd4f, #1bc6ca);
}

.stats-day-chart em {
  color: #765f42;
  font-style: normal;
  font-size: 10px;
  text-align: center;
}

.search-heatmap {
  display: grid;
  grid-template-columns: 32px repeat(24, minmax(24px, 1fr));
  gap: 3px;
  min-width: 760px;
  margin-top: 10px;
}

.search-heatmap-wrap {
  overflow-x: auto;
}

.heatmap-hour,
.heatmap-day,
.heatmap-cell {
  display: grid;
  place-items: center;
  min-height: 24px;
  border-radius: 5px;
  color: #3a250b;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 10px;
  font-weight: 800;
}

.heatmap-hour,
.heatmap-day {
  background: rgba(255, 248, 235, .72);
}

.heatmap-cell {
  background: rgba(168, 119, 41, .12);
}

.heatmap-level-1 { background: rgba(27, 198, 202, .18); }
.heatmap-level-2 { background: rgba(27, 198, 202, .32); }
.heatmap-level-3 { background: rgba(240, 189, 79, .42); }
.heatmap-level-4 { background: rgba(207, 61, 131, .38); }
.heatmap-level-5 { background: rgba(207, 61, 131, .58); color: #fff8eb; }

.report-resolved {
  opacity: .62;
}

.report-resolved-toggle {
  display: inline-flex;
  grid-template-columns: auto auto;
  gap: 6px;
  align-items: center;
}

.report-status {
  min-height: 32px;
  border: 1px solid rgba(168, 119, 41, .24);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 248, 235, .72);
  color: #4a3318;
  font-weight: 800;
}

.report-status:empty {
  display: none;
}

.report-status.success {
  border-color: rgba(38, 151, 82, .3);
  background: rgba(223, 242, 220, .84);
  color: #19582d;
}

.report-status.error {
  border-color: rgba(207, 61, 131, .34);
  background: rgba(255, 242, 246, .86);
  color: #8b2452;
}

.marketplace-search-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(168, 119, 41, .24);
  border-radius: 8px;
  background: rgba(255, 251, 243, .9);
}

.marketplace-search-hints-title {
  color: #5d4424;
  font-size: 12px;
  font-weight: 900;
}

.marketplace-search-hints a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(38, 151, 82, .26);
  border-radius: 8px;
  padding: 4px 8px;
  background: rgba(223, 242, 220, .76);
  color: #19582d;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.marketplace-search-hints a:hover,
.marketplace-search-hints a:focus-visible {
  border-color: rgba(38, 151, 82, .48);
  background: rgba(223, 242, 220, .96);
  color: #0f3f20;
}

.btn-primary,
#startBtn.btn,
#secondaryStartBtn.btn,
.event-action-btn.btn-primary,
.cookie-actions .btn-primary {
  border: 1px solid rgba(251, 216, 143, .72);
  background: linear-gradient(180deg, #17345d, #07162d);
  color: var(--cream);
  box-shadow: 0 4px 0 rgba(73, 45, 9, .24), 0 18px 26px rgba(0, 0, 0, .24);
}

.btn-primary:hover,
.btn-primary:focus,
#startBtn.btn:hover,
#secondaryStartBtn.btn:hover {
  border-color: #f4c86a;
  background: linear-gradient(180deg, #214979, #0a1b36);
  color: #fff;
}

.btn-outline-primary,
.btn-outline-secondary,
.share-link,
.footer-link-button {
  border: 1px solid rgba(194, 139, 49, .62);
  background: rgba(255, 248, 235, .72);
  color: #3a250b;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.share-link:hover,
.share-link:focus {
  border-color: var(--gold);
  background: #ffe5aa;
  color: #1b1207;
}

.form-control,
.form-select,
textarea.form-control,
#setFilter,
.marketplace-set-filter-input {
  border: 1px solid rgba(165, 115, 37, .38);
  border-radius: 8px;
  background: rgba(255, 251, 243, .94);
  color: #24170c;
  font: inherit;
}

input.form-control,
.form-select,
#setFilter,
.marketplace-set-filter-input {
  min-height: 40px;
  padding: 8px 12px;
}

.form-select {
  appearance: none;
  padding-right: 34px;
  background-color: rgba(255, 251, 243, .94);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23765323' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 18px 18px;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus,
#setFilter:focus,
.marketplace-set-filter-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 .2rem rgba(217, 162, 65, .18);
}

textarea.form-control {
  width: 100%;
  min-height: 160px;
  resize: vertical;
  padding: 12px 14px;
  line-height: 1.5;
}

.search-panel {
  overflow: visible;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.search-query-block {
  position: relative;
  z-index: 40;
  width: min(880px, 100%);
  margin: 0 auto 18px;
  border: 0;
  padding: 0;
  text-align: center;
}

.search-input-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  --search-progress: 0%;
  border: 3px solid rgba(221, 172, 83, .9);
  border-radius: 999px;
  padding: 6px 7px 6px 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .22)),
    #fff5df;
  box-shadow: 0 0 0 4px rgba(51, 28, 5, .28), 0 22px 40px rgba(0, 0, 0, .3);
}

.search-input-shell > * {
  position: relative;
  z-index: 1;
}

.search-input-shell::before {
  content: "";
  position: absolute;
  z-index: 0;
  display: block;
  left: 64px;
  bottom: -8px;
  width: min(var(--search-progress), calc(100% - 160px));
  height: 16px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(6, 120, 140, .72), rgba(33, 225, 216, .74) 30%, rgba(244, 188, 76, .7) 58%, rgba(206, 70, 144, .66) 82%, rgba(24, 190, 210, .7));
  filter: blur(9px) saturate(1.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(2px) scaleY(.72);
  transition: width .22s ease, opacity .18s ease;
}

.search-input-shell::after {
  content: "";
  position: absolute;
  z-index: 0;
  display: block;
  left: 64px;
  bottom: -3px;
  width: min(var(--search-progress), calc(100% - 160px));
  height: 7px;
  border-radius: 999px;
  background:
    linear-gradient(110deg, transparent 0 16%, rgba(255, 250, 209, .64) 21%, transparent 29%, transparent 58%, rgba(42, 238, 224, .38) 64%, transparent 73%),
    linear-gradient(180deg, rgba(255, 255, 255, .48), rgba(255, 255, 255, .12) 54%, rgba(255, 238, 177, .08) 100%),
    linear-gradient(90deg, #087f91 0%, #27ded6 28%, #f0c15a 56%, #d84c93 80%, #16aabc 100%),
    var(--teal);
  background-size: 210px 100%, 100% 100%, 170% 100%;
  box-shadow:
    0 0 14px rgba(27, 198, 202, .54),
    0 0 22px rgba(207, 61, 131, .22),
    0 0 10px rgba(240, 193, 90, .25);
  opacity: 0;
  pointer-events: none;
  transition: width .22s ease, opacity .18s ease;
}

body.search-running .search-input-shell::after {
  opacity: 1;
  animation:
    inlineProgressGlow 1.05s ease-in-out infinite alternate,
    inlineInkFlow 1.6s linear infinite;
}

body.search-running .search-input-shell::before {
  opacity: .82;
  animation: inlineProgressAura 1.05s ease-in-out infinite alternate;
}

@keyframes inlineProgressAura {
  from {
    filter: blur(8px) saturate(1.15);
    transform: translateY(2px) scaleY(.74);
  }
  to {
    filter: blur(12px) saturate(1.38) brightness(1.12);
    transform: translateY(2px) scaleY(.98);
  }
}

@keyframes inlineProgressGlow {
  from {
    filter: saturate(1) brightness(1);
    transform: translateY(0) scaleY(.96);
  }
  to {
    filter: saturate(1.18) brightness(1.08);
    transform: translateY(-1px) scaleY(1.12);
  }
}

@keyframes inlineInkFlow {
  to {
    background-position: 210px 0, 0 0, 170% 0;
  }
}

.search-input-icon {
  padding-left: 18px;
  color: var(--gold-dark);
  font-size: 28px;
}

body[data-search-mode="single"] #cardInput {
  height: 54px;
  min-height: 54px;
  max-height: 64px;
  border: 0;
  padding: 12px 20px;
  background: transparent;
  color: #5f4c36;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  resize: none;
  box-shadow: none;
}

body[data-search-mode="single"] #cardInput::placeholder {
  color: rgba(92, 76, 55, .68);
}

body[data-search-mode="multi"] #cardInput {
  min-height: 220px;
}

.primary-search-actions {
  min-width: 126px;
}

#startBtn.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 118px;
  height: 48px;
  min-height: 48px;
  border: 1px solid rgba(128, 82, 18, .38);
  border-radius: 999px;
  padding: 0 16px;
  background:
    linear-gradient(180deg, rgba(255, 250, 222, .72), rgba(255, 235, 174, .2) 42%, rgba(138, 85, 22, .26)),
    url("/assets/images/ui/lorcachecker-shop-tile-pattern.webp") 50% 46% / 320% 320% no-repeat,
    linear-gradient(180deg, #f4ca6f, #d79733 56%, #a7671b);
  color: #211407;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-transform: none;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 232, .82),
    inset 0 -3px 8px rgba(80, 45, 7, .18),
    0 2px 0 rgba(74, 45, 9, .18),
    0 11px 20px rgba(0, 0, 0, .18);
}

#startBtn.btn:hover,
#startBtn.btn:focus-visible {
  border-color: rgba(184, 122, 27, .56);
  background:
    linear-gradient(180deg, rgba(255, 253, 232, .8), rgba(255, 238, 184, .28) 42%, rgba(152, 94, 24, .24)),
    url("/assets/images/ui/lorcachecker-shop-tile-pattern.webp") 50% 46% / 320% 320% no-repeat,
    linear-gradient(180deg, #ffd87b, #dda13c 56%, #ad6f20);
  color: #170e04;
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 232, .88),
    inset 0 -3px 8px rgba(80, 45, 7, .16),
    0 3px 0 rgba(74, 45, 9, .16),
    0 12px 22px rgba(0, 0, 0, .18),
    0 0 20px rgba(217, 162, 65, .18);
}

#startBtn.btn::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(255, 245, 205, .34);
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, .22), transparent 46%, rgba(255, 255, 255, .12));
  pointer-events: none;
}

#startBtn.btn::after {
  content: "";
  position: absolute;
  inset: -16px;
  background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, .45), transparent 28%);
  opacity: 0;
  pointer-events: none;
}

#startBtn.btn.is-running::after {
  opacity: .78;
  animation: searchButtonSweep 1.15s linear infinite;
}

@keyframes searchButtonSweep {
  to {
    transform: rotate(1turn);
  }
}

#startBtn.btn i {
  position: relative;
  z-index: 2;
  font-size: 18px;
  line-height: 1;
}

#startBtn.btn .spinner-border {
  position: relative;
  z-index: 2;
  width: 18px;
  height: 18px;
}

#startBtn.btn .start-search-icon {
  position: relative;
  z-index: 2;
}

#startBtn.btn #startText {
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

#startBtn.btn.is-running .start-search-icon {
  display: none;
}

#startBtn.btn.is-running:hover .start-search-icon,
#startBtn.btn.is-running:focus-visible .start-search-icon {
  display: inline-block;
}

#startBtn.btn.is-running:hover .spinner-border,
#startBtn.btn.is-running:focus-visible .spinner-border {
  display: none;
}

.card-autocomplete-host {
  position: relative;
  overflow: visible;
}

.card-autocomplete-open {
  z-index: 80;
}

.card-autocomplete {
  position: absolute;
  z-index: var(--z-dropdown);
  top: calc(100% + 8px);
  left: 22px;
  right: 22px;
  display: grid;
  gap: 6px;
  max-height: min(360px, 52vh);
  overflow: auto;
  border: 1px solid rgba(168, 119, 41, .42);
  border-radius: 8px;
  padding: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .18)),
    var(--cream);
  box-shadow: 0 24px 46px rgba(20, 15, 8, .28);
  text-align: left;
}

.single-card-autocomplete {
  top: calc(100% + 4px);
  left: 0;
  right: 0;
}

.card-autocomplete-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 2px;
  column-gap: 9px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 7px 9px;
  background: transparent;
  color: #24170c;
  text-align: left;
}

.card-autocomplete-thumb {
  display: grid;
  place-items: center;
  width: 32px;
  height: 44px;
  overflow: hidden;
  border: 1px solid rgba(138, 91, 25, .28);
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(255, 249, 229, .72), rgba(225, 198, 134, .24)),
    rgba(255, 245, 221, .72);
  box-shadow: 0 5px 12px rgba(54, 32, 8, .16);
}

.card-autocomplete-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-autocomplete-thumb.is-empty {
  background:
    radial-gradient(circle at 50% 42%, rgba(29, 206, 205, .26), transparent 46%),
    linear-gradient(180deg, rgba(255, 249, 229, .72), rgba(225, 198, 134, .24));
}

.card-autocomplete-body {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.card-autocomplete-item strong {
  overflow: hidden;
  color: #211407;
  font-size: 15px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-autocomplete-item small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.card-autocomplete-item:hover,
.card-autocomplete-item:focus,
.card-autocomplete-item.is-active {
  border-color: rgba(168, 119, 41, .38);
  background: #fff1ca;
  outline: none;
}

.search-history {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  margin-top: 14px;
  overflow: hidden;
}

.search-history-label {
  flex: 0 0 auto;
  color: rgba(255, 248, 235, .74);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.search-history-chip {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 220px;
  overflow: hidden;
  border: 1px solid rgba(217, 162, 65, .42);
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(255, 248, 235, .9);
  color: #3a250b;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 9px 18px rgba(0, 0, 0, .18);
}

.search-history-chip:hover,
.search-history-chip:focus {
  border-color: var(--gold);
  background: #ffe5aa;
}

.detail-filter-toggle {
  display: none;
}

#stopBtn.btn,
#secondaryStopBtn.btn {
  min-height: 44px;
}

.search-link-actions,
.ready-count,
.parse-info,
.parsed-preview,
.energy-rail {
  display: none !important;
}

.search-layout {
  display: grid;
  grid-template-columns: minmax(330px, .52fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.search-main,
.search-side {
  min-width: 0;
}

.search-main {
  display: grid;
}

.search-card-preview {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 100%;
  min-height: 610px;
  border: 1px solid rgba(217, 162, 65, .52);
  border-radius: 8px;
  padding: 26px 24px 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 30%, rgba(27, 198, 202, .25), transparent 16rem),
    linear-gradient(180deg, rgba(8, 18, 35, .88), rgba(6, 12, 24, .94));
  box-shadow: inset 0 0 0 1px rgba(255, 229, 171, .08), 0 24px 45px rgba(0, 0, 0, .32);
}

.search-stack-card {
  position: absolute;
  top: 28px;
  left: 50%;
  z-index: 0;
  display: block;
  aspect-ratio: 63 / 88;
  width: min(315px, calc(100% - 18px));
  overflow: hidden;
  border: 1px solid rgba(217, 162, 65, .46);
  border-radius: 8px;
  background: #17233c url("/assets/images/ui/lorcachecker-card-back.webp") center / cover no-repeat;
  box-shadow: 0 20px 42px rgba(0, 0, 0, .42);
  pointer-events: none;
}

.search-stack-card-a {
  background-image: url("/assets/images/ui/lorcachecker-card-art.webp");
  transform: translate(calc(-50% + 32px), 24px) rotate(8deg);
}

.search-stack-card-b {
  background-image: url("/assets/images/ui/lorcachecker-card-back.webp");
  transform: translate(calc(-50% - 36px), 36px) rotate(-11deg);
}

.search-stack-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-card-frame {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  aspect-ratio: 63 / 88;
  width: min(340px, calc(100% - 10px));
  overflow: hidden;
  border: 3px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(#0a1324, #0a1324) padding-box,
    linear-gradient(135deg, var(--gold), var(--teal), var(--magenta)) border-box;
  box-shadow: 0 30px 58px rgba(0, 0, 0, .48), 0 0 32px rgba(27, 198, 202, .22);
}

.search-card-frame img,
.search-card-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.search-card-placeholder {
  display: grid;
  place-items: center;
  background: #07101f url("/assets/images/ui/lorcachecker-card-art.webp") center / cover no-repeat;
}

.search-card-placeholder span {
  display: none;
}

.search-card-preview-text {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  width: 100%;
  margin-top: auto !important;
  border: 1px solid rgba(217, 162, 65, .36);
  border-radius: 8px;
  padding: 18px;
  background: rgba(5, 12, 24, .78);
  text-align: left;
}

.search-card-preview-text.has-offer {
  gap: 8px;
  padding: 14px;
  border-color: rgba(217, 162, 65, .58);
  background:
    linear-gradient(180deg, rgba(10, 24, 45, .9), rgba(4, 10, 20, .9)),
    rgba(5, 12, 24, .92);
  box-shadow: inset 0 0 0 1px rgba(255, 229, 171, .08), 0 18px 34px rgba(0, 0, 0, .32);
}

.search-card-preview-text.has-offer > strong {
  font-size: clamp(22px, 2vw, 30px);
}

.search-card-preview-text.has-catalog-preview {
  border-color: rgba(27, 198, 202, .58);
  background:
    radial-gradient(circle at 12% 0, rgba(27, 198, 202, .18), transparent 34%),
    linear-gradient(180deg, rgba(9, 22, 39, .94), rgba(4, 10, 20, .94)),
    rgba(5, 12, 24, .92);
  box-shadow: inset 0 0 0 1px rgba(255, 229, 171, .1), 0 18px 34px rgba(0, 0, 0, .32), 0 0 24px rgba(27, 198, 202, .16);
}

.search-card-preview-text.has-catalog-preview::before {
  content: "Katalog Lorcany";
  position: absolute;
  top: -11px;
  right: 14px;
  padding: 4px 10px;
  border: 1px solid rgba(217, 162, 65, .5);
  border-radius: 999px;
  color: #fff8eb;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(13, 63, 82, .98), rgba(132, 41, 95, .96));
  box-shadow: 0 10px 18px rgba(0, 0, 0, .3);
}

.search-card-preview-text strong {
  color: #f6c85f;
  font-size: clamp(23px, 2.2vw, 34px);
  line-height: 1.1;
}

.search-card-preview-meta {
  display: grid;
  gap: 9px;
}

.search-card-preview-text.has-offer .search-card-preview-meta {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "shop price"
    "set price"
    "stats stats"
    "actions actions";
  gap: 8px 10px;
  align-items: center;
}

.search-card-preview-text.has-missing-preview .search-card-preview-meta {
  grid-template-columns: 1fr;
  grid-template-areas:
    "message"
    "badges"
    "actions";
  gap: 8px 10px;
  align-items: end;
}

.search-card-preview-text.has-catalog-preview .search-card-preview-meta {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "message"
    "set"
    "actions";
  gap: 8px;
  align-items: start;
}

.search-card-preview-meta,
.hero-result-offer,
.identity-disambiguation-note {
  color: rgba(255, 248, 235, .78);
}

.hero-result-badges,
.identity-set-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.hero-result-badges {
  justify-content: flex-end;
  width: 100%;
}

.search-card-preview-text.has-missing-preview .hero-result-badges {
  grid-area: badges;
  justify-content: flex-start;
  width: auto;
}

.hero-result-badges .hero-result-status-badge {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: max-content;
  min-height: 26px;
  border: 1px solid rgba(217, 162, 65, .34);
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(255, 248, 235, .09);
  color: rgba(255, 248, 235, .82);
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: none;
}

.hero-result-badges .hero-result-status-badge i {
  padding-right: 0;
  color: #f6c85f;
  font-size: 12px;
  line-height: 1;
}

.hero-result-badges .hero-result-status-missing {
  border-color: rgba(246, 200, 95, .42);
  background:
    linear-gradient(135deg, rgba(246, 200, 95, .14), rgba(27, 198, 202, .08)),
    rgba(5, 12, 24, .34);
  color: #f8d983;
}

.hero-result-action {
  justify-self: start;
}

.hero-result-offer {
  display: grid;
  gap: 2px;
}

.hero-result-offer-message {
  grid-area: message;
  gap: 4px;
  justify-items: start;
  width: 100%;
  padding: 11px 13px;
  border: 1px solid rgba(217, 162, 65, .26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 248, 235, .08), rgba(27, 198, 202, .08)),
    rgba(5, 12, 24, .34);
}

.has-catalog-preview .hero-result-offer-message {
  border-color: rgba(27, 198, 202, .34);
  background:
    linear-gradient(135deg, rgba(27, 198, 202, .15), rgba(207, 61, 131, .1)),
    rgba(5, 12, 24, .44);
  min-width: 0;
  max-width: 100%;
}

.hero-result-message-title {
  color: #fff8eb;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.22;
}

.hero-result-message-note {
  color: rgba(255, 248, 235, .68);
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 12px;
  line-height: 1.35;
}

.hero-result-offer-price > span {
  color: #f6c85f;
  font-size: clamp(30px, 2.8vw, 42px);
  font-weight: 800;
  line-height: .95;
}

.search-card-preview-text.has-offer .hero-result-offer-price {
  grid-area: price;
  justify-items: end;
  text-align: right;
}

.hero-result-offer small {
  color: rgba(255, 248, 235, .74);
  font-size: 13px;
}

.hero-result-card-subtitle,
.hero-result-subline,
.identity-auto-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.hero-result-card-subtitle {
  grid-area: set;
  justify-self: start;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid rgba(217, 162, 65, .28);
  border-radius: 999px;
  color: rgba(255, 248, 235, .86);
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 248, 235, .08);
}

.has-catalog-preview .hero-result-card-subtitle {
  border-color: rgba(27, 198, 202, .32);
  background: rgba(27, 198, 202, .1);
}

.hero-result-set-symbol {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.hero-result-subline img {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(217, 162, 65, .42);
  border-radius: 999px;
  background: #07101f;
  object-fit: contain;
}

.search-card-preview-text.has-offer .hero-result-subline {
  grid-area: shop;
}

.hero-result-shop-name {
  color: var(--cream);
  font-size: 17px;
  font-weight: 800;
}

.hero-result-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.search-card-preview-text.has-offer .hero-result-stats {
  grid-area: stats;
}

.hero-result-stat {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  border: 1px solid rgba(217, 162, 65, .34);
  border-radius: 999px;
  padding: 3px 7px;
  color: rgba(255, 248, 235, .82);
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 11px;
}

.search-card-preview-text.has-offer .hero-result-stat {
  max-width: 100%;
}

.search-card-preview-text.has-offer .hero-result-stat span {
  color: rgba(255, 248, 235, .62);
}

.hero-result-stat strong {
  color: var(--cream);
  font: inherit;
  font-weight: 800;
}

.identity-auto-note {
  border: 1px solid rgba(217, 162, 65, .24);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 248, 235, .08);
  color: rgba(255, 248, 235, .78);
  font-size: 13px;
}

.identity-auto-note button,
.selected-card-side-action {
  border: 1px solid rgba(194, 139, 49, .62);
  border-radius: 8px;
  padding: 7px 11px;
  background: linear-gradient(180deg, #fff1ca, #e1b55a);
  color: #2a1a09;
  font: inherit;
  font-weight: 800;
}

.hero-result-actions .btn,
.hero-result-action.btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border-radius: 8px;
}

.hero-result-actions {
  grid-area: actions;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.hero-result-actions .hero-result-action.btn {
  justify-content: center;
  min-height: 36px;
  border: 1px solid rgba(255, 225, 154, .8);
  padding: 7px 11px;
  background: linear-gradient(180deg, #e1b55a, #b77b23);
  color: #211407;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 10px 22px rgba(0, 0, 0, .28);
}

.hero-result-actions.hero-watchdog-actions {
  grid-area: actions;
  grid-template-columns: auto;
  justify-self: stretch;
  justify-content: end;
  align-items: end;
  width: 100%;
  margin-top: 2px;
}

.hero-result-actions.hero-watchdog-actions .hero-watchdog-action {
  justify-self: end;
}

.hero-watchdog-action,
.single-summary-watchdog-action,
.watchdog-btn {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.hero-watchdog-action i,
.single-summary-watchdog-action i,
.watchdog-btn i {
  padding-right: 0;
}

.favorite-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(217, 162, 65, .42);
  border-radius: 8px;
  padding: 0;
  background: rgba(255, 248, 235, .86);
  color: #6c4d1c;
  font: inherit;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38);
}

.favorite-btn:hover,
.favorite-btn:focus {
  border-color: var(--gold);
  background: #fff1ca;
  color: #2a1a09;
}

.favorite-btn.active {
  border-color: rgba(197, 70, 113, .55);
  background: #ffe3ed;
  color: #c54671;
}

.hero-favorite-btn {
  width: 44px;
  height: 44px;
}

.search-side {
  position: relative;
  z-index: 20;
  overflow: visible;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .18)),
    var(--panel);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .28);
}

.input-block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(169, 119, 43, .26);
}

.input-block:first-child,
.search-side .input-block:first-child,
.search-side > .mobile-filter-sheet-head + .input-block {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.filter-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.input-block h3 {
  margin-bottom: 0;
  color: #3b260d;
  font-size: 16px;
  text-transform: none;
}

.section-inline-action {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.2;
}

.section-inline-action:hover,
.section-inline-action:focus {
  color: #6f4310;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.shop-grid,
.search-side .shop-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.shop-tile {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  justify-items: stretch;
  align-content: center;
  align-items: center;
  gap: 9px;
  min-height: 78px;
  border: 1px solid rgba(168, 119, 41, .36);
  border-radius: 8px;
  padding: 10px 9px;
  --shop-tile-texture-position: 50% 50%;
  /*background:
    radial-gradient(circle at 18% 50%, rgba(255, 248, 214, .58), transparent 58px),
    linear-gradient(180deg, rgba(255, 255, 255, .48), rgba(255, 245, 224, .18)),
    url("/assets/images/ui/lorcachecker-shop-tile-pattern.webp") var(--shop-tile-texture-position) / 255% 255% no-repeat,
    #fff3dc;*/
  color: #24170c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 7px 14px rgba(77, 49, 11, .08);
  cursor: pointer;
  text-align: left;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background .16s ease;
}

.shop-tile:nth-child(6n+1) {
  --shop-tile-texture-position: 12% 14%;
}

.shop-tile:nth-child(6n+2) {
  --shop-tile-texture-position: 84% 16%;
}

.shop-tile:nth-child(6n+3) {
  --shop-tile-texture-position: 20% 84%;
}

.shop-tile:nth-child(6n+4) {
  --shop-tile-texture-position: 82% 82%;
}

.shop-tile:nth-child(6n+5) {
  --shop-tile-texture-position: 50% 8%;
}

.shop-tile:nth-child(6n) {
  --shop-tile-texture-position: 48% 92%;
}

.shop-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.shop-tile:has(input:checked) {
  border-color: rgba(171, 111, 23, .78);
  background:
    radial-gradient(circle at 86% 18%, rgba(33, 153, 88, .18), transparent 44px),
    linear-gradient(180deg, rgba(255, 252, 242, .62), rgba(247, 226, 186, .3)),
    url("/assets/images/ui/lorcachecker-shop-tile-pattern.webp") var(--shop-tile-texture-position) / 255% 255% no-repeat,
    #fff1d6;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .78), 0 12px 24px rgba(88, 57, 12, .14), 0 0 0 2px rgba(217, 162, 65, .14);
}

.shop-tile:has(input:checked)::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #219958;
  box-shadow: 0 0 0 3px rgba(33, 153, 88, .14);
}

.shop-tile:hover {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .72), 0 12px 22px rgba(77, 49, 11, .12);
  transform: translateY(-1px);
}

.shop-tile-disabled {
  opacity: .58;
}

.shop-tile-marketplace {
  border-color: rgba(38, 151, 82, .54);
  background:
    radial-gradient(circle at 84% 18%, rgba(34, 197, 94, .18), transparent 48px),
    radial-gradient(circle at 18% 78%, rgba(217, 162, 65, .22), transparent 52px),
    linear-gradient(180deg, rgba(239, 252, 241, .82), rgba(255, 245, 218, .56)),
    url("/assets/images/ui/lorcachecker-shop-tile-pattern.webp") 82% 18% / 260% 260% no-repeat,
    #f7fff0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .82), 0 12px 24px rgba(21, 83, 45, .12), 0 0 0 2px rgba(34, 197, 94, .1);
}

.shop-tile-marketplace:has(input:checked) {
  border-color: rgba(33, 153, 88, .9);
  background:
    radial-gradient(circle at 84% 18%, rgba(34, 197, 94, .28), transparent 50px),
    radial-gradient(circle at 20% 82%, rgba(217, 162, 65, .25), transparent 54px),
    linear-gradient(180deg, rgba(239, 252, 241, .94), rgba(255, 239, 196, .72)),
    url("/assets/images/ui/lorcachecker-shop-tile-pattern.webp") 82% 18% / 260% 260% no-repeat,
    #f4ffe9;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 14px 28px rgba(21, 83, 45, .18), 0 0 0 2px rgba(34, 197, 94, .18);
}

.shop-tile-marketplace .shop-name {
  color: #14532d;
}

.shop-tile-marketplace img.shop-logo {
  border-color: rgba(33, 153, 88, .72);
  background: #ecfdf3;
  box-shadow: 0 9px 16px rgba(21, 83, 45, .16);
}

.shop-tile-body {
  display: grid;
  gap: 3px;
  justify-items: start;
  min-width: 0;
}

.shop-logo,
.shop-tile img.shop-logo,
.shop-directory-logo img {
  border-radius: 999px;
}

.shop-tile img.shop-logo {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(217, 162, 65, .56);
  background: #07101f;
  box-shadow: 0 8px 14px rgba(19, 12, 5, .16);
  object-fit: contain;
}

.shop-name {
  min-width: 0;
  color: #24170c;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.filter-row,
.filter-pair-row,
.controls,
.preset-group,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-row {
  position: relative;
  overflow: visible;
  display: grid;
  grid-template-columns: fit-content(136px) minmax(250px, 1.4fr) minmax(185px, 1fr) minmax(190px, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(168, 119, 41, .32);
  border-radius: 10px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .28)),
    rgba(255, 248, 235, .82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72), 0 10px 22px rgba(56, 34, 8, .08);
}

.filter-row > .controls,
.filter-pair-row > .controls,
.set-filter-control {
  align-self: start;
  display: grid;
  align-content: start;
  align-items: start;
  gap: 5px;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.filter-row .preset-group {
  gap: 3px;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 7px;
  padding: 3px;
  background: rgba(255, 251, 243, .76);
}

.filter-row .preset-btn {
  min-height: 30px;
  border: 0;
  border-radius: 5px;
  padding: 4px 9px;
  background: transparent;
  color: #3a250b;
  font-size: 12px;
  box-shadow: none;
}

.filter-row .preset-btn.active {
  background: linear-gradient(180deg, #f3cf75, #c78b2d);
  color: #1f1408;
  box-shadow: inset 0 1px 0 rgba(255, 248, 218, .78), 0 5px 10px rgba(106, 64, 10, .14);
}

.filter-row .controls > span,
.filter-row .controls > label,
.filter-row .set-filter-row > label {
  color: #765323;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.filter-variant-row {
  display: grid;
  grid-template-columns: max-content;
  align-content: center;
  justify-self: start;
  max-width: 100%;
}

.filter-variant-row .preset-group {
  width: max-content;
  max-width: 100%;
}

.filter-pair-row > .controls {
  justify-content: start;
}

.filter-field,
.marketplace-filter-panel label,
.events-filter-panel label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #5d4424;
  font-weight: 800;
}

.marketplace-filter-panel,
.events-filter-panel,
.set-directory-page .set-directory-search {
  position: relative;
  overflow: visible;
  border: 1px solid rgba(168, 119, 41, .34);
  border-radius: 8px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .64), rgba(255, 255, 255, .18)),
    rgba(255, 248, 235, .86);
}

.events-filter-panel {
  grid-template-columns: repeat(4, minmax(150px, 1fr)) auto auto;
  align-items: end;
}

.events-filter-panel .form-select {
  appearance: none;
  padding-right: 38px;
  background-color: rgba(255, 251, 243, .94);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23765323' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 18px 18px;
}

.events-filter-panel .form-select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%233a250b' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

.events-control-panel {
  position: relative;
  display: grid;
  gap: 14px;
  overflow: hidden;
  border: 1px solid rgba(217, 162, 65, .42);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(255, 248, 235, .46)),
    linear-gradient(90deg, rgba(255, 241, 202, .7), rgba(255, 251, 243, .72)),
    rgba(255, 248, 235, .9);
}

.events-control-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, rgba(217, 162, 65, .1), rgba(217, 162, 65, .78), rgba(27, 198, 202, .26), rgba(217, 162, 65, .1));
  pointer-events: none;
}

.events-control-panel .shop-directory-hero {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.events-control-panel .shop-directory-hero h1 {
  margin-bottom: 4px;
}

.events-control-panel .events-filter-disclosure {
  border-top: 1px solid rgba(168, 119, 41, .22);
  padding-top: 12px;
}

.events-filter-disclosure {
  display: grid;
  gap: 10px;
}

.events-filter-panel .event-action-btn,
.marketplace-filter-actions .btn {
  min-height: 40px;
}

.filter-pair-row {
  display: contents;
}

.controls > span,
.set-filter-row > label,
.filter-field label,
.detail-availability-filter > span {
  color: #5d4424;
  font-size: 13px;
  font-weight: 800;
}

.preset-group {
  min-width: 0;
}

.preset-group-wrap {
  flex-wrap: wrap;
  overflow-x: visible;
  padding-bottom: 2px;
}

.filter-pair-row .preset-group {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.preset-btn {
  min-height: 28px;
  border: 1px solid rgba(168, 119, 41, .34);
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(255, 251, 243, .78);
  color: #3a250b;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.preset-btn.active {
  border-color: rgba(197, 142, 45, .82);
  background: linear-gradient(180deg, #f8d983, #d49b3b);
  color: #221407;
  box-shadow: 0 8px 16px rgba(116, 74, 11, .18);
}

.set-filter-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: start;
}

.set-filter-control {
  display: grid;
  gap: 8px;
  align-content: center;
}

.set-filter-input-shell {
  position: relative;
  z-index: 1;
}

.set-autocomplete-open {
  position: relative;
  z-index: 80;
  overflow: visible;
}

#setFilter,
.marketplace-set-filter-input {
  width: 100%;
  min-height: 34px;
  padding: 6px 38px 6px 10px;
}

.set-filter-toggle {
  position: absolute;
  top: 50%;
  right: 4px;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--gold-dark);
  transform: translateY(-50%);
}

.set-filter-toggle i {
  display: none;
}

.set-filter-toggle::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transform-origin: 50% 50%;
}

.set-filter-toggle[aria-expanded="true"]::before {
  transform: translateY(2px) rotate(225deg);
}

.set-symbol {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.set-autocomplete {
  position: absolute;
  z-index: var(--z-dropdown);
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  display: grid;
  gap: 5px;
  max-height: 330px;
  overflow: auto;
  border: 1px solid rgba(168, 119, 41, .38);
  border-radius: 8px;
  padding: 8px;
  background: var(--cream);
  box-shadow: 0 18px 38px rgba(20, 15, 8, .22);
}

.set-autocomplete-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 7px 8px;
  background: transparent;
  color: #24170c;
  text-align: left;
}

.set-autocomplete-item:hover,
.set-autocomplete-item:focus,
.set-autocomplete-item.is-active {
  border-color: rgba(168, 119, 41, .38);
  background: #fff1ca;
}

.set-autocomplete-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #07101f;
}

.set-autocomplete-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.set-autocomplete-generated-symbol {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(248, 217, 131, .34);
  border-radius: 999px;
  background:
    radial-gradient(circle at 42% 28%, rgba(255, 255, 255, .18), transparent 13px),
    linear-gradient(150deg, rgba(27, 198, 202, .2), rgba(240, 189, 79, .16)),
    rgba(255, 248, 235, .08);
  color: #f8d983;
  font-size: 16px;
  line-height: 1;
}

.set-autocomplete-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.set-autocomplete-body strong {
  overflow: hidden;
  color: #211407;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.set-autocomplete-body small,
.set-autocomplete-empty {
  color: var(--muted);
  font-size: 12px;
}

.advanced summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  list-style: none;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 8px;
  padding: 8px 11px;
  color: #3b260d;
  font-weight: 800;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .18)),
    rgba(255, 248, 235, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72), 0 8px 16px rgba(72, 45, 8, .07);
}

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

.advanced-summary-chevron {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  color: #7d5414;
  font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78);
  transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease;
}

.advanced[open] summary {
  border-color: rgba(197, 142, 45, .54);
  background:
    radial-gradient(circle at 14% 20%, rgba(27, 198, 202, .1), transparent 68px),
    linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .24)),
    #fff3d5;
}

.advanced[open] .advanced-summary-chevron {
  transform: rotate(90deg);
  color: #4b2f08;

}

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

.advanced-toggle,
.advanced-price-card {
  position: relative;
  display: grid;
  min-width: 0;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 8px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .68), rgba(255, 255, 255, .18)),
    rgba(255, 251, 243, .74);
  color: #24170c;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(66, 42, 10, .07);
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.advanced-toggle {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.advanced-price-card {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 230px);
  gap: 12px;
  align-items: center;
}

.advanced-toggle:hover,
.advanced-price-card:hover {
  border-color: rgba(197, 142, 45, .58);
  box-shadow: 0 12px 22px rgba(66, 42, 10, .11);
  transform: translateY(-1px);
}

.advanced-toggle:has(input:checked),
.advanced-price-card:has(#maxPriceEnabled:checked) {
  border-color: rgba(197, 142, 45, .82);
  background:
radial-gradient(circle at 100% 18%, rgba(33, 153, 88, 0.18), transparent 18.91%), linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(255, 235, 184, .26)),
#fff1ca;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .74), 0 12px 24px rgba(88, 57, 12, .13);
}

.advanced-toggle input,
.advanced-price-head input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.advanced-toggle-ui {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 22px;
  border: 1px solid rgba(141, 95, 27, .45);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .75), rgba(255, 248, 235, .38)),
    rgba(132, 103, 63, .22);
  box-shadow: inset 0 2px 5px rgba(58, 37, 11, .12);
}

.advanced-toggle-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fff8eb;
  box-shadow: 0 3px 7px rgba(54, 34, 8, .25);
  transition: transform .16s ease, background .16s ease;
}

.advanced-toggle:has(input:checked) .advanced-toggle-ui,
.advanced-price-card:has(#maxPriceEnabled:checked) .advanced-toggle-ui {
  border-color: rgba(33, 153, 88, .55);
  background: linear-gradient(180deg, #4fb66f, #24824a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 0 0 3px rgba(33, 153, 88, .12);
}

.advanced-toggle:has(input:checked) .advanced-toggle-ui::after,
.advanced-price-card:has(#maxPriceEnabled:checked) .advanced-toggle-ui::after {
  background: #fff;
  transform: translateX(14px);
}

.advanced-toggle-body,
.advanced-price-head {
  min-width: 0;
}

.advanced-price-head {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.advanced-toggle-body {
  display: grid;
  gap: 2px;
}

.advanced-toggle-body strong {
  color: #24170c;
  font-size: 14px;
  line-height: 1.2;
}

.advanced-toggle-body small {
  color: #6c5636;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 12px;
  line-height: 1.32;
}

.advanced-price-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  min-width: 0;
}

.advanced-price-input .form-control {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  border-radius: 8px 0 0 8px;
  border-color: rgba(168, 119, 41, .34);
  background: rgba(255, 251, 243, .9);
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 700;
}

.advanced-price-input .form-control:disabled {
  color: rgba(87, 67, 38, .72);
  background: rgba(255, 251, 243, .44);
  opacity: 1;
}

.advanced-price-input .input-group-text {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  border-color: rgba(168, 119, 41, .34);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  padding: 0 11px;
  background: linear-gradient(180deg, #f6d888, #d29a3a);
  color: #281807;
  font-weight: 800;
}

.search-side-cta {
  margin-top: 18px;
}

#secondaryStartBtn.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 50px;
  font-size: 17px;
  white-space: normal;
  text-align: center;
}

#secondaryStartBtn.btn i {
  flex: 0 0 auto;
}

#secondaryStartBtn.btn span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.selected-card-side-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(168, 119, 41, .42);
  border-radius: 8px;
  padding: 14px;
  margin-top: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .16)),
    rgba(255, 251, 243, .78);
}

.selected-card-side-head,
.selected-card-side-body {
  display: flex;
  gap: 12px;
  align-items: center;
}

.selected-card-side-body img {
  width: 70px;
  border-radius: 8px;
}

.selected-card-side-meta {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.selected-card-side-sort {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
  color: #5d4424;
  font-size: 13px;
  font-weight: 800;
}

.detail-offer-toolbar {
  display: none;
}

.detail-table-wrap.offer-mode .detail-offer-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.detail-offer-toolbar .selected-card-side-sort {
  margin-left: 0;
}

.selected-card-side-list {
  display: grid;
  gap: 7px;
  width: 100%;
}

.selected-card-side-tile {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  grid-template-areas:
    "image shop price"
    "image attrs price"
    "actions actions actions";
  gap: 5px 9px;
  align-items: start;
  width: 100%;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 8px;
  padding: 8px 9px;
  background: rgba(255, 251, 243, .74);
}

.selected-card-side-tile.selected {
  grid-column: 1 / -1;
  border-color: rgba(171, 111, 23, .74);
  padding-top: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .2)),
    #fff1ca;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .72), 0 14px 28px rgba(88, 57, 12, .13);
}

.selected-card-side-ribbon {
position: absolute;
top: -7px;
left: -2px;
z-index: 2;
border-radius: 17px 15px 15px 0px;
padding: 4px 18px 4px;
background: linear-gradient(180deg, #4f8a37, #2f641f);
color: #fff8d8;
font: 600 11px/1 ui-serif, Georgia, "Times New Roman", serif;
text-transform: uppercase;
letter-spacing: 0;
box-shadow: 0 5px 12px rgba(27, 73, 26, .24);
}

.selected-card-side-card-image,
.selected-card-side-image-empty {
  grid-area: image;
  width: 46px;
  aspect-ratio: 63 / 88;
  overflow: hidden;
  border-radius: 8px;
  background: #07101f url("/assets/images/ui/lorcachecker-card-back.webp") center / cover no-repeat;
}

.selected-card-side-card-image {
  object-fit: cover;
}

.selected-card-side-shop,
.selected-card-side-price-row,
.selected-card-side-attrs,
.selected-card-side-set,
.selected-card-side-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.selected-card-side-shop {
  grid-area: shop;
  align-self: start;
}

.selected-card-side-shop > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.selected-card-side-shop strong,
.selected-card-side-stock {
  display: block;
  line-height: 1.12;
}

.selected-card-side-edition {
  overflow: hidden;
  max-width: 100%;
  color: #6f5530;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-card-side-attrs {
  grid-area: attrs;
  gap: 3px;
  align-self: start;
}

.selected-card-side-actions {
  grid-area: actions;
  align-self: center;
  justify-content: flex-end;
}

.selected-card-side-tile.selected .selected-card-side-actions {
  grid-area: actions;
  align-self: center;
  justify-content: flex-end;
}

.selected-card-side-price {
  grid-area: price;
  align-self: start;
  min-width: 74px;
  color: #120b04;
  text-align: right;
}

.selected-card-side-tile.selected .selected-card-side-price {
  grid-area: price;
  align-self: start;
}

.selected-card-side-price strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.selected-card-side-price small {
  display: block;
  color: #176236;
  font-size: 11px;
  font-weight: 800;
}

.selected-card-side-fact,
.selected-card-side-set {
  border: 1px solid rgba(168, 119, 41, .24);
  border-radius: 999px;
  padding: 2px 6px;
  background: rgba(255, 246, 222, .84);
  color: #5d4424;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.15;
}

.selected-card-side-fact small,
.selected-card-side-set span {
  margin-right: 3px;
  color: #7a5c32;
}

.set-symbol-inline {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  object-fit: contain;
}

.selected-card-side-open {
  border: 1px solid rgba(251, 216, 143, .72);
  border-radius: 8px;
  min-height: 34px;
  padding: 6px 9px;
  background: linear-gradient(180deg, #17345d, #07162d);
  color: var(--cream);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 3px 0 rgba(73, 45, 9, .18), 0 10px 18px rgba(0, 0, 0, .14);
}

.selected-card-favorite.favorite-btn {
  width: 34px;
  height: 34px;
}

.selected-card-side-open.disabled {
  opacity: .55;
}

@media (min-width: 1281px) {
  .events-public-layout {
    grid-template-columns: minmax(0, 1fr) minmax(520px, 640px);
    gap: 24px;
  }

  .events-calendar-column {
    position: sticky;
    top: 18px;
  }

  .events-calendar-panel {
    padding: 16px;
  }

  .events-calendar-grid,
  .events-calendar-weekdays {
    gap: 8px;
  }

  .events-calendar-day {
    min-height: 88px;
    padding: 8px;
  }

  .events-calendar-count {
    justify-self: start;
    padding: 3px 7px;
  }

  .events-calendar-times {
    display: block;
    font-size: 10px;
  }

  .selected-card-side-tile {
    grid-template-columns: 46px minmax(118px, .85fr) minmax(0, 1.2fr) minmax(72px, auto) auto;
    grid-template-areas: "image shop attrs price actions";
    align-items: center;
    gap: 8px;
    padding: 8px;
  }

  .selected-card-side-tile.selected {
    padding-top: 18px;
  }

  .selected-card-side-shop,
  .selected-card-side-attrs,
  .selected-card-side-price,
  .selected-card-side-actions {
    align-self: center;
  }

  .selected-card-side-attrs {
    justify-content: flex-start;
  }

  .selected-card-side-actions,
  .selected-card-side-tile.selected .selected-card-side-actions {
    justify-content: flex-end;
  }
}

.run-popup {
  position: relative;
  display: grid;
  gap: 9px;
  border: 1px solid rgba(217, 162, 65, .5);
  border-radius: 8px;
  padding: 13px 16px;
  margin-top: 16px;
  background: rgba(6, 13, 26, .94);
  color: var(--cream);
  box-shadow: 0 22px 42px rgba(0, 0, 0, .34);
}

.run-status,
.run-metrics {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.run-popup .status,
.run-popup .run-metrics,
.progress-pct {
  color: rgba(255, 248, 235, .86);
}

#progressWrap.progress {
  position: relative;
  height: 24px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(251, 216, 143, .5);
  background:
    linear-gradient(180deg, rgba(255, 248, 219, .18), rgba(255, 248, 219, .08) 52%, rgba(27, 198, 202, .08)),
    linear-gradient(90deg, rgba(7, 28, 45, .94), rgba(14, 39, 58, .82) 46%, rgba(33, 21, 45, .84));
  box-shadow:
    inset 0 0 0 2px rgba(255, 229, 171, .16),
    inset 0 0 18px rgba(27, 198, 202, .1),
    0 0 20px rgba(27, 198, 202, .12),
    0 0 0 rgba(216, 76, 147, 0);
}

#progressWrap.progress::before,
#progressWrap.progress::after {
  content: "";
  position: absolute;
  inset: 3px 6px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
}

#progressWrap.progress::before {
  background:
    linear-gradient(110deg, transparent 0 14%, rgba(255, 247, 196, .2) 22%, transparent 32%, transparent 60%, rgba(37, 228, 218, .16) 68%, transparent 78%);
  background-size: 220px 100%;
  mix-blend-mode: screen;
}

#progressWrap.progress::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .24), transparent 48%, rgba(255, 222, 137, .08)),
    linear-gradient(90deg, transparent, rgba(255, 222, 137, .14) 48%, transparent);
  background-size: 100% 100%, 180% 100%;
  mix-blend-mode: screen;
}

body.search-running #progressWrap.progress {
  animation: progressChannelPulse 1.2s ease-in-out infinite alternate;
}

body.search-running #progressWrap.progress::before {
  opacity: .18;
}

body.search-running #progressWrap.progress::after {
  opacity: 0;
}

#progressBar {
  position: relative;
  height: 100%;
  width: 0;
  border-radius: inherit;
  overflow: hidden;
  background:
    linear-gradient(112deg, transparent 0 16%, rgba(255, 250, 209, .38) 22%, transparent 31%, transparent 58%, rgba(45, 240, 226, .22) 65%, transparent 76%),
    linear-gradient(180deg, rgba(255, 255, 255, .36), rgba(255, 255, 255, .12) 52%, rgba(255, 222, 137, .09)),
    linear-gradient(90deg, #087f91 0%, #23d8d2 28%, #f0c15a 56%, #d84c93 80%, #16aabc 100%);
  background-size: 240px 100%, 100% 100%, 140% 100%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 249, 215, .42),
    inset 0 6px 10px rgba(255, 255, 255, .16),
    inset 0 -7px 12px rgba(255, 222, 137, .1),
    0 0 13px rgba(255, 235, 156, .38),
    0 0 24px rgba(27, 198, 202, .52),
    0 0 34px rgba(207, 61, 131, .28);
  transition: width .24s ease;
  animation: runProgressSweep 1.6s linear infinite, progressInkPulse 1.25s ease-in-out infinite alternate;
}

#progressBar::before,
#progressBar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#progressBar::before {
  background:
    linear-gradient(104deg, transparent 0 18%, rgba(255, 248, 196, .44) 23%, transparent 31%, transparent 58%, rgba(18, 255, 237, .22) 66%, transparent 76%);
  background-size: 260px 100%;
  opacity: .58;
  mix-blend-mode: screen;
  animation: progressChargeFlow 1.25s linear infinite;
}

#progressBar::after {
  left: auto;
  width: 42px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 246, .92) 46%, rgba(244, 196, 84, .72) 55%, transparent);
  opacity: .82;
  transform: skewX(-12deg);
  filter: blur(.2px);
  mix-blend-mode: screen;
  animation: progressLeadingGlow .9s ease-in-out infinite alternate;
}

#progressBar.done {
  animation: progressInkPulse .9s ease-in-out 2 alternate;
}

#progressBar.done::before,
#progressBar.done::after {
  animation: none;
  opacity: .36;
}

@keyframes runProgressSweep {
  to {
    background-position: 240px 0, 0 0, 140% 0;
  }
}

@keyframes progressInkPulse {
  from {
    filter: saturate(1) brightness(1);
  }
  to {
    filter: saturate(1.28) brightness(1.08);
  }
}

@keyframes progressChannelPulse {
  from {
    box-shadow:
      inset 0 0 0 2px rgba(255, 229, 171, .14),
      inset 0 0 16px rgba(27, 198, 202, .1),
      0 0 18px rgba(27, 198, 202, .1),
      0 0 0 rgba(216, 76, 147, 0);
  }
  to {
    box-shadow:
      inset 0 0 0 2px rgba(255, 229, 171, .22),
      inset 0 0 24px rgba(27, 198, 202, .18),
      0 0 34px rgba(27, 198, 202, .34),
      0 0 28px rgba(207, 61, 131, .24),
      0 0 16px rgba(240, 193, 90, .18);
  }
}

@keyframes progressChargeFlow {
  to {
    background-position: 260px 0;
  }
}

@keyframes progressLeadingGlow {
  from {
    opacity: .48;
    transform: skewX(-12deg) scaleY(.8);
  }
  to {
    opacity: .92;
    transform: skewX(-12deg) scaleY(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.search-running .search-input-shell::before,
  body.search-running .search-input-shell::after,
  body.search-running #progressWrap.progress,
  body.search-running #progressWrap.progress::before,
  body.search-running #progressWrap.progress::after,
  #progressBar,
  #progressBar::before,
  #progressBar::after {
    animation: none;
  }
}

.run-errors {
  border: 1px solid rgba(207, 61, 131, .36);
  border-radius: 8px;
  padding: 12px;
  margin-top: 12px;
  background: #fff2f6;
}

.summary-panel,
.detail-panel {
  position: relative;
  overflow: hidden;
}

.summary-panel::before,
.detail-panel::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 12px;
  height: 52px;
  opacity: .28;
  pointer-events: none;

}

.summary-panel > *,
.detail-panel > * {
  position: relative;
  z-index: 1;
}

.summary-stats,
.shop-totals,
.active-result-filters,
.summary-controls,
.detail-filters,
.manual-selection-notice,
.optimization-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 251, 243, .58);
}

.summary-stats span,
.shop-totals span {
  display: inline-flex;
  gap: 5px;
}

.single-summary,
.offer-card,
.identity-choice-card {
  border: 1px solid rgba(168, 119, 41, .32);
  border-radius: 8px;
  background: rgba(255, 251, 243, .76);
}

.single-summary {
  padding: 16px;
}

.single-summary-header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.single-summary-body {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.single-summary-image,
.offer-card-image {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  border-radius: 8px;
  background: #07101f;
}

.single-summary-image {
  aspect-ratio: 63 / 88;
}

.single-summary-image img,
.offer-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.offer-card-image img {
  object-fit: contain;
}

.single-summary-offer strong,
.offer-card-head strong,
.summary-panel td strong {
  color: #120b04;
}

.single-summary-offer {
  display: grid;
  gap: 5px;
}

.single-summary-offer > span {
  color: var(--gold-dark);
  font-weight: 800;
  text-transform: uppercase;
}

.single-summary-offer strong {
  font-size: 26px;
  line-height: 1.08;
}

.single-summary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.single-summary-action {
  border-radius: 8px;
}

.single-summary-watchdog-action {
  align-self: end;
  justify-self: end;
}

.offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.identity-picker-panel {
  display: grid;
  gap: 11px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 8px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .66), rgba(255, 255, 255, .2)),
    rgba(255, 248, 235, .78);
}

.identity-picker-head {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.identity-picker-head strong {
  color: #211407;
  font-size: 16px;
  line-height: 1.2;
}

.identity-picker-head span {
  color: #6c5636;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

.identity-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.identity-choice-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 8px;
  color: #24170c;
  text-align: left;
  box-shadow: 0 8px 18px rgba(66, 42, 10, .08);
}

.identity-choice-card.selected {
  border-color: var(--gold);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .18)),
    #fff1ca;
  box-shadow: inset 0 0 0 1px rgba(217, 162, 65, .18), 0 10px 22px rgba(66, 42, 10, .12);
}

.identity-choice-card img,
.identity-choice-image-empty {
  display: block;
  width: 56px;
  height: 78px;
  max-width: 56px;
  min-width: 56px;
  overflow: hidden;
  border-radius: 6px;
  background: #07101f;
  box-shadow: 0 6px 13px rgba(25, 16, 6, .18);
}

.identity-choice-card img {
  object-fit: contain;
}

.identity-choice-body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.identity-choice-body strong,
.identity-choice-body small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.identity-choice-body strong {
  color: #211407;
  font-size: 14px;
  line-height: 1.18;
}

.identity-choice-body small {
  color: #6c5636;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 12px;
  line-height: 1.3;
}

.offer-card {
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  min-width: 0;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(66, 42, 10, .08);
}

.offer-card:hover {
  border-color: var(--gold);
  box-shadow: 0 16px 28px rgba(71, 45, 10, .16);
}

.offer-card.selected {
  border-color: var(--gold);
  padding-top: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .16)),
    #fff1ca;
}

.offer-card.selected::before {
  content: attr(data-selection-label);
  position: absolute;
  top: -1px;
  left: 12px;
  z-index: 1;
  border-radius: 0 0 6px 6px;
  padding: 3px 10px 4px;
  background: linear-gradient(180deg, #4f8a37, #2f641f);
  color: #fff8d8;
  font: 900 11px/1 ui-serif, Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0;
  box-shadow: 0 5px 12px rgba(27, 73, 26, .2);
}

.offer-card.unavailable {
  opacity: .62;
}

.offer-card-image {
  align-self: start;
  flex: 0 0 auto;
  width: 62px;
  min-width: 62px;
  max-width: 62px;
  aspect-ratio: 63 / 88;
  box-shadow: 0 8px 16px rgba(25, 16, 6, .18);
}

.offer-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(210px, .85fr) minmax(170px, auto);
  grid-template-areas:
    "head badges actions"
    "shop badges actions";
  gap: 8px 16px;
  align-items: center;
  min-width: 0;
}

.offer-card-head {
  grid-area: head;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 8px 14px;
  align-items: baseline;
  min-width: 0;
}

.offer-card-head h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.22;
  min-width: 0;
  overflow-wrap: anywhere;
}

.offer-card-head strong {
  justify-self: end;
  color: #120b04;
  font-size: 24px;
  line-height: 1.05;
  white-space: nowrap;
}

.offer-card-shop,
.offer-card-badges,
.offer-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  min-width: 0;
}

.offer-card-shop {
  grid-area: shop;
  color: #5d4424;
  font-weight: 800;
}

.offer-card-badges {
  grid-area: badges;
}

.offer-card-actions {
  grid-area: actions;
  justify-content: flex-end;
}

.offer-card-shop,
.offer-card-actions .btn,
.offer-card-badges .badge {
  overflow-wrap: anywhere;
}

.offer-card-badges .badge {
  line-height: 1.2;
  white-space: normal;
}

.offer-card-actions .btn {
  min-width: 0;
  white-space: normal;
}

.offer-favorite-btn {
  flex: 0 0 auto;
}

.offer-set-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.offer-set-badge img {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-right: 4px;
}

.offer-set-badge span {
  min-width: 0;
}

.badge,
.hero-result-badges .badge,
.offer-card-badges span,
.shop-card-tags span,
.shop-tag-list span,
.shop-directory-meta span,
.detail-count,
.manual-selection-summary-badge,
.marketplace-meta-list span {
  border-radius: 999px;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
}

.badge.bg-success,
.shop-status-checked {
  background: #dff2dc !important;
  color: #176236 !important;
}

.badge.bg-warning,
.shop-status-planned {
  background: #ffe1a6 !important;
  color: #76480b !important;
}

.table-wrap,
.detail-table-wrap {
  overflow: auto;
  border: 1px solid rgba(168, 119, 41, .3);
  border-radius: 8px;
  background: rgba(255, 251, 243, .72);
}

.detail-table-wrap.offer-mode {
  overflow: visible;
  padding: 12px;
}

.result-image-cell {
  width: 58px;
  min-width: 58px;
}

.result-card-image {
  display: block;
  width: 46px;
  max-width: 46px;
  aspect-ratio: 63 / 88;
  object-fit: cover;
  border-radius: 6px;
  background: #07101f;
  box-shadow: 0 5px 12px rgba(31, 20, 7, .18);
}

.table {
  margin: 0;
  color: #2a1a0a;
}

.table thead th {
  border-bottom-color: rgba(168, 119, 41, .32);
  color: #5d4424;
  background: rgba(244, 226, 194, .72);
}

.table tbody tr {
  border-color: rgba(168, 119, 41, .22);
}

.shop-directory-page,
.event-detail-page,
.changelog-page,
.marketplace-page {
  display: grid;
  gap: 18px;
  color: var(--text);
}

.shop-directory-hero,
.shop-directory-intro,
.shop-directory-cta,
.events-filter-panel,
.marketplace-hero,
.changelog-hero,
.set-directory-hero {
  display: grid;
  gap: 12px;
  border-color: rgba(217, 162, 65, .68);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .18)),
    var(--panel);
}

.shop-directory-intro {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.shop-directory-cta {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.shop-directory-cta .btn {
  justify-self: end;
  width: auto;
  max-width: max-content;
  white-space: normal;
}

.shop-directory-eyebrow,
.marketplace-kicker,
.shop-directory-status,
.event-detail-status {
  color: var(--gold-dark);
  font-weight: 800;
  text-transform: uppercase;
}

.shop-directory-grid,
.hub-notice-grid,
.events-list,
.marketplace-grid,
.marketplace-manage-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.shop-directory-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.marketplace-main-list-panel .marketplace-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  align-items: stretch;
}

.marketplace-seller-list-panel .marketplace-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 260px));
  align-items: start;
  justify-content: start;
}

.marketplace-detail-related-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 324px));
  align-items: start;
  justify-content: start;
}

@media (min-width: 1320px) {
  .marketplace-main-list-panel .marketplace-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.marketplace-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 0;
  overflow: hidden;
  padding: 0;
  margin-bottom: 0;
}

.marketplace-main-list-panel .marketplace-card {
  grid-template-rows: auto auto;
  height: auto;
}

.marketplace-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.marketplace-card figure,
.marketplace-manage-card figure,
.marketplace-admin-images figure {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 488 / 681;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 241, 202, .82), rgba(255, 251, 243, .78));
}

.marketplace-card figure > img,
.marketplace-manage-card figure > img,
.marketplace-admin-images figure > img,
.marketplace-detail-gallery figure > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.marketplace-card figure.has-reference-image,
.marketplace-manage-card figure.has-reference-image,
.marketplace-admin-images figure.has-reference-image,
.marketplace-reference-figure.has-reference-image {
  border-color: rgba(27, 198, 202, .32);
  background: linear-gradient(135deg, rgba(27, 198, 202, .16), rgba(255, 241, 202, .72));
}

.marketplace-card figure.has-no-photo,
.marketplace-manage-card figure.has-no-photo,
.marketplace-admin-images figure.has-no-photo,
.marketplace-reference-figure.has-no-photo {
  background: linear-gradient(135deg, rgba(255, 251, 243, .88), rgba(229, 218, 196, .58));
}

.marketplace-photo-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  border: 1px solid rgba(168, 119, 41, .3);
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(255, 251, 243, .94);
  color: #5d4424;
  font-size: 11px;
  font-weight: 900;
}

.marketplace-pagination {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 8px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .82), rgba(250, 239, 216, .56)),
    rgba(255, 248, 235, .66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .58), 0 10px 22px rgba(56, 34, 8, .08);
}

.marketplace-pagination-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  min-width: 0;
  color: #765323;
  font-size: 13px;
  font-weight: 800;
}

.marketplace-pagination-summary strong {
  color: #211407;
  font-size: 14px;
  font-weight: 900;
}

.marketplace-pagination-summary span {
  color: #765323;
}

.marketplace-pagination-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.marketplace-page-btn,
.marketplace-page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  border: 1px solid rgba(168, 119, 41, .32);
  border-radius: 8px;
  padding: 7px 11px;
  background: rgba(255, 251, 243, .84);
  color: #3a250b;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .62);
}

.marketplace-page-btn:hover,
.marketplace-page-btn:focus {
  border-color: rgba(217, 162, 65, .78);
  background: rgba(255, 241, 202, .92);
  color: #211407;
  outline: none;
  text-decoration: none;
}

.marketplace-page-btn.is-active {
  border-color: rgba(197, 142, 45, .82);
  background: linear-gradient(180deg, #f3cf75, #c78b2d);
  color: #1f1408;
  box-shadow: inset 0 1px 0 rgba(255, 248, 218, .78), 0 6px 13px rgba(106, 64, 10, .16);
}

.marketplace-page-btn.is-disabled {
  opacity: .45;
  cursor: default;
  pointer-events: none;
}

.marketplace-page-arrow {
  gap: 6px;
  min-width: 112px;
}

.marketplace-page-arrow i {
  color: var(--gold-dark);
  font-size: 15px;
  line-height: 1;
}

.marketplace-page-ellipsis {
  border-color: transparent;
  min-width: 26px;
  padding-right: 2px;
  padding-left: 2px;
  background: transparent;
  color: #765323;
  box-shadow: none;
}

.marketplace-reference-note {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  z-index: 1;
  border: 1px solid rgba(27, 198, 202, .28);
  border-radius: 8px;
  padding: 6px 8px;
  background: rgba(255, 251, 243, .95);
  color: #14565a;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .16);
}

.marketplace-no-photo-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 54px;
  border: 1px dashed rgba(168, 119, 41, .48);
  border-radius: 8px;
  padding: 10px;
  color: #765323;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.marketplace-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.marketplace-submit-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.marketplace-list-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.marketplace-hero-side {
  display: grid;
  gap: 10px;
  justify-items: end;
  min-width: min(100%, 280px);
}

.marketplace-hero-count {
  display: grid;
  gap: 2px;
  min-width: 190px;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 8px;
  padding: 12px 14px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .86), rgba(250, 239, 216, .58)),
    rgba(255, 248, 235, .72);
  color: #5d4424;
  text-align: right;
}

.marketplace-hero-count strong {
  color: #120b04;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.marketplace-hero-count span {
  color: #3a250b;
  font-size: 13px;
  font-weight: 900;
}

.marketplace-hero-count small {
  color: #765323;
  font-size: 12px;
  font-weight: 800;
}

.marketplace-hero-actions,
.marketplace-inline-actions,
.marketplace-manage-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.marketplace-hero-actions {
  justify-content: flex-end;
}

.marketplace-inline-actions form,
.marketplace-manage-head-actions form {
  margin: 0;
}

.marketplace-submit-hero > .btn {
  justify-self: end;
  white-space: nowrap;
}

.marketplace-form {
  align-content: start;
  overflow: visible;
}

.marketplace-form-section {
  display: grid;
  gap: 12px;
  min-width: 0;
  border-top: 1px solid rgba(168, 119, 41, .24);
  padding-top: 16px;
}

.marketplace-form-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.marketplace-form-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.marketplace-form-section-head > span {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(168, 119, 41, .34);
  border-radius: 8px;
  background: linear-gradient(180deg, #f8d983, #d49b3b);
  color: #211407;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.marketplace-form-section-head h2 {
  min-width: 0;
  font-size: clamp(21px, 2vw, 30px);
  overflow-wrap: anywhere;
}

.marketplace-form label:not(.marketplace-honeypot):not(.marketplace-photo-upload),
.marketplace-form .marketplace-choice-label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #3a250b;
  font-weight: 850;
  line-height: 1.2;
}

.marketplace-form input,
.marketplace-form textarea,
.marketplace-form select,
.marketplace-form button {
  max-width: 100%;
}

.marketplace-card-body,
.marketplace-detail-card,
.marketplace-manage-card > div {
  min-width: 0;
}

.marketplace-card-body {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 14px;
}

@media (min-width: 761px) {
  .marketplace-main-list-panel .marketplace-card-body {
    height: 196px;
    min-height: 0;
    overflow: hidden;
  }
}

@media (max-width: 760px) {
  .marketplace-main-list-panel .marketplace-card-body {
    height: 170px;
    min-height: 0;
    overflow: hidden;
  }
}

.marketplace-main-list-panel .marketplace-card-body {
  gap: 7px;
  padding: 12px;
}

.marketplace-main-list-panel .marketplace-card h3 {
  display: -webkit-box;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.marketplace-main-list-panel .marketplace-card-edition {
  flex-wrap: nowrap;
  min-width: 0;
}

.marketplace-main-list-panel .marketplace-card-edition span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketplace-main-list-panel .marketplace-card-price {
  font-size: 16px;
}

.marketplace-main-list-panel .marketplace-meta-list {
  flex-wrap: nowrap;
  min-width: 0;
  overflow: hidden;
}

.marketplace-main-list-panel .marketplace-meta-list > span {
  min-width: 0;
  max-width: 50%;
  min-height: 24px;
  padding: 3px 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketplace-main-list-panel .marketplace-card-submeta,
.marketplace-main-list-panel .marketplace-card-foot {
  flex-wrap: nowrap;
  overflow: hidden;
}

.marketplace-main-list-panel .marketplace-card-city,
.marketplace-main-list-panel .marketplace-card-code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketplace-card-head,
.marketplace-card-foot,
.marketplace-admin-title,
.marketplace-admin-meta,
.marketplace-admin-actions,
.marketplace-manage-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.marketplace-admin-title,
.marketplace-admin-meta,
.marketplace-admin-actions {
  min-width: 0;
}

.marketplace-admin-meta > span {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.marketplace-card-head,
.marketplace-card-foot {
  justify-content: space-between;
}

.marketplace-card-head {
  align-items: flex-start;
}

.marketplace-card-title {
  display: grid;
  flex: 0 1 auto;
  gap: 3px;
  min-width: 0;
}

.marketplace-card h3 {
  margin: 0;
  color: #211407;
  font-size: 18px;
  line-height: 1.2;
}

.marketplace-card-edition,
.marketplace-detail-edition,
.marketplace-card-submeta,
.marketplace-meta-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: #765323;
  font-size: 12px;
  font-weight: 800;
}

.marketplace-set-symbol {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  object-fit: contain;
  color: var(--gold-dark);
  font-size: 16px;
  line-height: 1;
}

.marketplace-detail-edition .marketplace-set-symbol {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  font-size: 18px;
}

.marketplace-card-price,
.marketplace-detail-price {
  color: #120b04;
  font-weight: 900;
}

.marketplace-card-price {
  flex: 0 0 auto;
  align-self: flex-start;
  font-size: 18px;
}

.marketplace-card-foot {
  color: #5d4424;
  font-size: 12px;
  font-weight: 850;
}

.marketplace-detail-gallery figure {
  position: relative;
  margin: 0;
  border: 1px solid rgba(168, 119, 41, .24);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 251, 243, .84);
}

.marketplace-detail-gallery figcaption {
  margin-top: 6px;
  color: #765323;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.marketplace-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.marketplace-photo-upload {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px dashed rgba(168, 119, 41, .28);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 251, 243, .72);
}

.marketplace-photo-upload-title,
.marketplace-photo-preview-title {
  color: #211407;
  font-size: 12px;
  font-weight: 900;
}

.marketplace-upload-control {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(168, 119, 41, .24);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 251, 243, .92);
  cursor: pointer;
}

.marketplace-upload-control > * {
  min-width: 0;
}

.marketplace-upload-control:hover,
.marketplace-upload-control:focus-visible,
.marketplace-photo-upload.is-dragover .marketplace-upload-control {
  border-color: rgba(217, 162, 65, .7);
  background: rgba(255, 241, 202, .82);
  outline: none;
}

.marketplace-upload-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fff1ca;
  color: #5d4424;
}

.marketplace-upload-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.marketplace-upload-copy strong {
  color: #211407;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
}

.marketplace-upload-copy small {
  color: #765323;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.marketplace-upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 8px;
  padding: 6px 10px;
  background: rgba(255, 251, 243, .96);
  color: #5d4424;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.marketplace-upload-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.marketplace-price-status {
  display: block;
  margin-top: 6px;
  color: #765323;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.marketplace-price-status.is-loading {
  color: #5d4424;
}

.marketplace-price-status.is-priced {
  color: #19582d;
}

.marketplace-price-status.is-error {
  color: #8b2452;
}

.marketplace-price-refresh {
  margin-top: 8px;
  width: fit-content;
}

.marketplace-photo-upload img {
  --marketplace-card-preview-radius: 18px;
  display: block;
  aspect-ratio: 3 / 4;
  width: auto;
  height: auto;
  max-width: min(100%, 282px);
  max-height: clamp(260px, 32vw, 360px);
  margin: 8px auto 0;
  border-radius: var(--marketplace-card-preview-radius);
  background: rgba(255, 251, 243, .92);
  object-fit: contain;
  clip-path: inset(0 round var(--marketplace-card-preview-radius));
}

.marketplace-manage-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 12px;
  border: 1px solid rgba(168, 119, 41, .26);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 251, 243, .84);
}

.marketplace-manage-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  margin-bottom: 12px;
}

.marketplace-manage-head h2 {
  margin: 0 0 4px;
}

.marketplace-manage-head-actions {
  justify-content: flex-end;
}

.marketplace-token-note {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(27, 198, 202, .24);
  border-radius: 8px;
  padding: 9px 11px;
  background: rgba(27, 198, 202, .1);
  color: #14565a;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.marketplace-token-note i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 251, 243, .8);
}

.marketplace-manage-card figure,
.marketplace-admin-images figure {
  border: 1px solid rgba(168, 119, 41, .24);
  border-radius: 8px;
}

.marketplace-manage-card .marketplace-reference-note {
  right: 4px;
  bottom: 4px;
  left: 4px;
  padding: 3px 4px;
  font-size: 9px;
  line-height: 1.1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.marketplace-admin-filterbar,
.marketplace-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.marketplace-admin-overview {
  display: grid;
  gap: 14px;
}

.marketplace-admin-overview-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.marketplace-admin-insights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.marketplace-admin-insight {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(168, 119, 41, .22);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 251, 243, .72);
}

.marketplace-admin-insight h3 {
  margin: 0;
  font-size: 15px;
}

.marketplace-admin-toplist {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.marketplace-admin-toplist li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
}

.marketplace-admin-toplist span {
  display: grid;
  min-width: 0;
}

.marketplace-admin-toplist a,
.marketplace-admin-toplist strong {
  color: #211407;
  font-weight: 900;
  text-decoration: none;
}

.marketplace-admin-toplist small {
  color: #765323;
}

.marketplace-admin-toplist em {
  color: #5d4424;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

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

.marketplace-admin-card {
  display: grid;
  grid-template-columns: 28px 96px minmax(0, 1fr) auto;
  gap: 14px;
  border: 1px solid rgba(168, 119, 41, .26);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 251, 243, .84);
}

.marketplace-admin-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  align-content: start;
}

.marketplace-admin-images img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(168, 119, 41, .24);
  border-radius: 6px;
  background: rgba(255, 251, 243, .84);
  object-fit: cover;
}

.marketplace-admin-images figure img {
  border: 0;
  border-radius: 0;
  object-fit: contain;
}

.marketplace-admin-images figure figcaption {
  position: absolute;
  right: 3px;
  bottom: 3px;
  left: 3px;
  border-radius: 6px;
  padding: 3px;
  background: rgba(255, 251, 243, .95);
  color: #14565a;
  font-size: 8px;
  font-weight: 900;
  line-height: 1.1;
}

.marketplace-admin-edit,
.marketplace-manage-edit {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(168, 119, 41, .22);
  padding-top: 10px;
}

.marketplace-admin-pricing,
.marketplace-admin-feedback {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  margin-top: 8px;
  color: #5d4424;
  font-size: 12px;
  font-weight: 800;
}

.marketplace-admin-feedback span {
  min-width: 0;
  max-width: 100%;
  border: 1px solid rgba(168, 119, 41, .22);
  border-radius: 8px;
  padding: 4px 7px;
  background: rgba(255, 248, 235, .82);
  overflow-wrap: anywhere;
}

.marketplace-admin-trust span:first-child {
  border-color: rgba(38, 151, 82, .24);
  background: rgba(223, 242, 220, .72);
  color: #19582d;
}

.marketplace-bulk-import-head,
.marketplace-bulk-preview-head,
.marketplace-admin-section-header,
.marketplace-admin-listing-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.marketplace-bulk-import-head h2,
.marketplace-admin-section-header h3,
.marketplace-admin-listing-head h3 {
  margin: 0;
  color: #211407;
}

.marketplace-bulk-import-textarea {
  min-height: 190px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.45;
}

.marketplace-bulk-import-help {
  border: 1px solid rgba(168, 119, 41, .24);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 248, 235, .74);
}

.marketplace-bulk-import-help summary {
  color: #3a250b;
  font-weight: 900;
  cursor: pointer;
}

.marketplace-bulk-import-help-body {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  color: #5d4424;
  font-size: 13px;
  font-weight: 750;
}

.marketplace-bulk-import-help-body code {
  border: 1px solid rgba(168, 119, 41, .18);
  border-radius: 6px;
  padding: 1px 5px;
  background: rgba(255, 251, 243, .78);
  color: #3a250b;
}

.marketplace-bulk-preview-list {
  display: grid;
  gap: 10px;
}

.marketplace-bulk-preview-row {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(168, 119, 41, .24);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 251, 243, .86);
}

.marketplace-bulk-preview-row.has-errors {
  border-color: rgba(184, 64, 64, .42);
  background: rgba(255, 245, 242, .88);
}

.marketplace-bulk-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #5d4424;
  font-size: 12px;
  font-weight: 850;
}

.marketplace-bulk-preview-meta strong {
  color: #211407;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.marketplace-bulk-preview-fields {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(140px, .9fr) minmax(100px, .7fr) minmax(90px, .55fr) minmax(130px, .75fr) minmax(130px, .75fr) minmax(92px, .55fr) minmax(100px, .55fr);
  gap: 8px;
  align-items: start;
}

.marketplace-bulk-preview-fields label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: #3a250b;
  font-size: 12px;
  font-weight: 850;
}

.marketplace-bulk-preview-errors {
  border: 1px solid rgba(184, 64, 64, .28);
  border-radius: 8px;
  padding: 7px 9px;
  background: rgba(255, 235, 231, .78);
  color: #8b2452;
  font-size: 12px;
  font-weight: 850;
}

.marketplace-admin-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid rgba(168, 119, 41, .24);
  padding-bottom: 10px;
}

.marketplace-admin-subtabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 8px;
  padding: 7px 12px;
  background: rgba(255, 251, 243, .82);
  color: #3a250b;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.marketplace-admin-subtabs a.active {
  border-color: rgba(197, 142, 45, .78);
  background: linear-gradient(180deg, #f3cf75, #c78b2d);
  color: #1f1408;
  box-shadow: inset 0 1px 0 rgba(255, 248, 218, .78), 0 6px 13px rgba(106, 64, 10, .14);
}

.marketplace-admin-listing-head > span {
  align-self: center;
  border: 1px solid rgba(168, 119, 41, .22);
  border-radius: 8px;
  padding: 6px 10px;
  background: rgba(255, 248, 235, .72);
  color: #5d4424;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.marketplace-admin-selected-seller {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.marketplace-admin-selected-seller code {
  overflow-wrap: anywhere;
}

.marketplace-admin-bulkbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(168, 119, 41, .24);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 248, 235, .74);
}

.marketplace-admin-select,
.marketplace-admin-select-all {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #3a250b;
  font-size: 12px;
  font-weight: 900;
}

.marketplace-admin-select-card {
  justify-content: center;
  align-self: start;
  padding-top: 4px;
}

.marketplace-admin-seller-panel {
  display: grid;
  gap: 14px;
}

.marketplace-admin-seller-search label {
  min-width: min(100%, 360px);
}

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

.marketplace-admin-seller-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto);
  gap: 14px;
  border: 1px solid rgba(168, 119, 41, .26);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 251, 243, .84);
}

.marketplace-admin-seller-card > * {
  min-width: 0;
}

.marketplace-admin-seller-card.is-paused {
  border-color: rgba(184, 64, 64, .32);
  background: rgba(255, 245, 242, .84);
}

.marketplace-admin-seller-main {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.marketplace-admin-seller-title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.marketplace-admin-seller-title > * {
  min-width: 0;
}

.marketplace-admin-seller-title h4 {
  margin: 0;
  color: #211407;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.marketplace-admin-seller-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: start;
  justify-content: flex-end;
}

.marketplace-admin-inline-form {
  display: contents;
}

.marketplace-admin-status-pills {
  gap: 6px;
}

.marketplace-admin-pagination-top {
  margin-top: 0;
  margin-bottom: 12px;
}

.marketplace-admin-pagination-bottom {
  margin-top: 12px;
}

.shop-tile-marketplace small {
  display: block;
  color: #765323;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
}

.marketplace-filter-photo-label {
  min-width: 150px;
}

.marketplace-detail-gallery a,
.marketplace-reference-visual {
  display: block;
  color: inherit;
  text-decoration: none;
}

.marketplace-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(11, 18, 32, .82);
}

.marketplace-lightbox.d-none {
  display: none;
}

.marketplace-lightbox button {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 248, 235, .32);
  border-radius: 8px;
  background: rgba(255, 248, 235, .95);
  color: #211407;
}

.marketplace-lightbox figure {
  display: grid;
  gap: 10px;
  max-width: min(92vw, 720px);
  max-height: 92vh;
  margin: 0;
}

.marketplace-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 84vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .42);
}

.marketplace-lightbox figcaption {
  color: #fff8eb;
  text-align: center;
  font-weight: 850;
}

.marketplace-feedback-panel,
.marketplace-detail-related {
  display: grid;
  gap: 14px;
}

.marketplace-feedback-options,
.marketplace-feedback-confirm form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
}

.marketplace-seller-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.marketplace-seller-profile-layout > .panel {
  margin-bottom: 0;
}

.marketplace-seller-hero,
.marketplace-seller-feedback-panel {
  position: relative;
  display: grid;
  gap: 16px;
  overflow: hidden;
}

.marketplace-seller-hero {
  grid-template-columns: minmax(0, 1fr);
  align-content: space-between;
  border-color: rgba(240, 189, 79, .58);
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(5, 15, 31, .96), rgba(14, 34, 58, .92) 58%, rgba(45, 18, 58, .9)),
    url("/assets/images/ui/lorcachecker-shop-tile-pattern.webp") center / 170% 170% no-repeat;
  color: var(--cream);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 248, 235, .12);
}

.marketplace-seller-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .36;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 20%, rgba(27, 198, 202, .22) 38%, transparent 56%),
    linear-gradient(180deg, rgba(255, 248, 235, .08), transparent 46%);
}

.marketplace-seller-hero > * {
  position: relative;
  z-index: 1;
}

.marketplace-seller-heading {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.marketplace-seller-avatar {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 231, 173, .38);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 248, 235, .18), rgba(255, 248, 235, .06)),
    rgba(7, 22, 45, .36);
  color: #ffe7ad;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 12px 26px rgba(0, 0, 0, .22);
}

.marketplace-seller-avatar i {
  font-size: 34px;
  line-height: 1;
}

.marketplace-seller-search label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #3a250b;
  font-weight: 850;
}

.marketplace-feedback-card,
.marketplace-feedback-confirm,
.marketplace-seller-trust {
  border: 1px solid rgba(168, 119, 41, .26);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 251, 243, .82);
}

.marketplace-feedback-card,
.marketplace-feedback-confirm {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.marketplace-seller-identity {
  display: grid;
  gap: 14px;
}

.marketplace-seller-identity .marketplace-kicker {
  color: #ffe7ad;
}

.marketplace-seller-identity h1 {
  margin: 2px 0 0;
  color: #fff8eb;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: .98;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .34), 0 0 24px rgba(240, 189, 79, .18);
}

.marketplace-seller-identity p {
  margin: 8px 0 0;
  color: rgba(255, 248, 235, .74);
  font-size: 14px;
  font-weight: 850;
}

.marketplace-seller-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.marketplace-seller-stats div {
  display: grid;
  gap: 3px;
  min-height: 78px;
  border: 1px solid rgba(255, 231, 173, .18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 248, 235, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.marketplace-seller-stats span,
.marketplace-feedback-confirm span {
  color: rgba(255, 248, 235, .72);
  font-size: 12px;
  font-weight: 850;
}

.marketplace-seller-stats strong {
  color: #ffe7ad;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
}

.marketplace-seller-trust {
  display: grid;
  gap: 5px;
  border-color: rgba(27, 198, 202, .38);
  background: rgba(27, 198, 202, .1);
  color: rgba(255, 248, 235, .84);
}

.marketplace-seller-trust strong,
.marketplace-detail-seller-badge {
  font-weight: 950;
}

.marketplace-seller-trust strong {
  color: #8ff4ef;
}

.marketplace-detail-seller-card .marketplace-seller-trust {
  border-color: rgba(20, 86, 90, .28);
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .72), rgba(223, 251, 252, .84)),
    rgba(223, 251, 252, .86);
  color: #14565a;
}

.marketplace-detail-seller-card .marketplace-seller-trust strong {
  color: #0e5e62;
}

.marketplace-detail-seller-card .marketplace-seller-trust.is-new {
  border-color: rgba(168, 119, 41, .32);
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .78), rgba(255, 241, 202, .9)),
    rgba(255, 246, 222, .9);
  color: #5d4424;
}

.marketplace-detail-seller-card .marketplace-seller-trust.is-new strong {
  color: #3a250b;
}

.marketplace-seller-feedback-panel {
  align-content: start;
  border-color: rgba(168, 119, 41, .3);
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .94), rgba(251, 242, 223, .9)),
    rgba(255, 248, 235, .82);
}

.marketplace-seller-feedback-panel .marketplace-list-head {
  margin: 0;
}

.marketplace-seller-feedback-panel h2 {
  font-size: clamp(24px, 2.4vw, 32px);
}

.marketplace-feedback-bars {
  display: grid;
  gap: 9px;
}

.marketplace-feedback-bar {
  display: grid;
  grid-template-columns: minmax(122px, .78fr) minmax(96px, 1fr) 32px;
  gap: 9px;
  align-items: center;
  border: 1px solid rgba(168, 119, 41, .2);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 251, 243, .72);
}

.marketplace-feedback-bar > span {
  min-width: 0;
  color: #4a3318;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
}

.marketplace-feedback-bar > div {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: rgba(168, 119, 41, .15);
}

.marketplace-feedback-bar i {
  display: block;
  width: var(--bar-width);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1bc6ca, #f0bd4f);
}

.marketplace-feedback-bar strong {
  color: #3a250b;
  font-size: 13px;
  font-weight: 950;
  text-align: right;
}

.marketplace-seller-feedback-panel .muted {
  border: 1px solid rgba(168, 119, 41, .18);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 248, 235, .62);
}

.marketplace-detail-seller-badge {
  display: inline-flex;
  margin-top: 4px;
  border: 1px solid rgba(27, 198, 202, .28);
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(27, 198, 202, .12);
  color: #14565a;
  font-size: 11px;
}

.marketplace-seller-list-panel {
  padding: 20px;
}

.marketplace-seller-list-panel .marketplace-list-head {
  align-items: end;
  border-bottom: 1px solid rgba(168, 119, 41, .2);
  margin-bottom: 14px;
  padding-bottom: 14px;
}

.marketplace-seller-list-panel .marketplace-list-head h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.marketplace-seller-list-panel .marketplace-sort-form {
  flex-wrap: nowrap;
}

.marketplace-seller-search {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 10px;
  align-items: end;
  border: 1px solid rgba(168, 119, 41, .24);
  border-radius: 8px;
  margin-bottom: 14px;
  padding: 12px;
  background: rgba(255, 251, 243, .7);
}

.marketplace-seller-search .btn {
  min-height: 38px;
}

.marketplace-seller-list-panel .marketplace-grid {
  gap: 14px;
}

.marketplace-seller-list-panel .marketplace-card {
  grid-template-rows: auto auto;
}

.marketplace-seller-list-panel .marketplace-card-body {
  height: 176px;
  gap: 7px;
  padding: 12px;
  overflow: hidden;
}

.marketplace-seller-list-panel .marketplace-card h3 {
  display: -webkit-box;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.marketplace-seller-list-panel .marketplace-card-edition,
.marketplace-seller-list-panel .marketplace-meta-list,
.marketplace-seller-list-panel .marketplace-card-submeta,
.marketplace-seller-list-panel .marketplace-card-foot {
  flex-wrap: nowrap;
  min-width: 0;
  overflow: hidden;
}

.marketplace-seller-list-panel .marketplace-card-edition span,
.marketplace-seller-list-panel .marketplace-card-city,
.marketplace-seller-list-panel .marketplace-card-code,
.marketplace-seller-list-panel .marketplace-meta-list > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketplace-seller-list-panel .marketplace-card-price {
  font-size: 16px;
}

.marketplace-seller-list-panel .marketplace-meta-list > span {
  min-width: 0;
  max-width: 50%;
  min-height: 24px;
  padding: 3px 8px;
}

.changelog-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.shop-directory-card,
.event-card,
.marketplace-listing-card,
.hub-notice-card {
  position: relative;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(168, 119, 41, .34);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 251, 243, .84);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .18);
}

.shop-directory-card {
  align-content: start;
  min-width: 0;
  min-height: 260px;
  overflow: hidden;
  border-color: rgba(168, 119, 41, .42);
  padding: 18px;
  background:
    radial-gradient(circle at 96% 12%, rgba(27, 198, 202, .12), transparent 74px),
    linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(255, 246, 223, .42) 52%, rgba(246, 226, 185, .62)),
    url("/assets/images/ui/lorcachecker-shop-tile-pattern.webp") 82% 18% / 260% 260% no-repeat,
    rgba(255, 251, 243, .88);
  box-shadow: 0 18px 34px rgba(34, 22, 8, .16), inset 0 1px 0 rgba(255, 255, 255, .72);
}

.event-card {
  align-content: start;
  min-width: 0;
  min-height: 0;
  gap: 10px;
  padding: 14px;
}

.event-card .shop-card-head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  min-width: 0;
}

.event-card .event-card-logo {
  width: 54px;
  height: 54px;
}

.event-card .event-card-logo img {
  max-width: 44px;
  max-height: 44px;
}

.event-card-title {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.event-card-title h2 {
  margin: 0;
  color: #211407;
  font-size: clamp(19px, 1.35vw, 25px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.event-card-title h2 a {
  color: inherit;
}

.event-card-title p,
.event-card > p {
  margin: 0;
  color: #5b4428;
}

.event-card > p {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.event-card .shop-directory-meta {
  min-height: 0;
}

.event-card .shop-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
  margin-top: 2px;
}

.events-date-group .event-card {
  width: 100%;
  max-width: none;
  min-height: 0;
  border-color: rgba(168, 119, 41, .24);
  padding: 10px 12px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .9), rgba(255, 248, 235, .74)),
    rgba(255, 251, 243, .82);
  box-shadow: 0 8px 18px rgba(34, 22, 8, .08);
}

.events-date-group .event-card:hover {
  transform: none;
  box-shadow: 0 10px 22px rgba(34, 22, 8, .1);
}

.events-date-group .event-card .shop-card-head {
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
}

.events-date-group .event-card .event-card-logo {
  width: 40px;
  height: 40px;
  box-shadow: none;
}

.events-date-group .event-card .event-card-logo img {
  max-width: 32px;
  max-height: 32px;
}

.events-date-group .event-card-title {
  gap: 2px;
}

.events-date-group .event-card-title h2 {
  font-size: clamp(17px, 1.12vw, 20px);
  line-height: 1.08;
}

.events-date-group .event-card-title p {
  font-size: 13px;
  line-height: 1.2;
}

.events-date-group .event-card .shop-directory-status {
  color: #8a5a18;
  font-size: 10px;
  line-height: 1;
}

.events-date-group .event-card .shop-directory-meta,
.events-date-group .event-card-labels {
  gap: 5px;
}

.events-date-group .event-card .shop-directory-meta span,
.events-date-group .event-card-labels span {
  padding: 3px 6px;
  background: rgba(255, 248, 235, .68);
  font-size: 10px;
  line-height: 1.1;
}

.events-date-group .event-card > p {
  color: #4f3c20;
  font-size: 13px;
  line-height: 1.34;
  -webkit-line-clamp: 2;
}

.events-date-group .event-card .shop-card-actions {
  gap: 6px;
}

.events-date-group .event-card .event-action-btn {
  min-height: 30px;
  padding: 5px 8px;
  font-size: 12px;
  line-height: 1;
  box-shadow: none;
}

.shop-directory-card.is-checked {
  background:
    radial-gradient(circle at 96% 12%, rgba(33, 153, 88, .14), transparent 72px),
    radial-gradient(circle at 12% 84%, rgba(27, 198, 202, .1), transparent 86px),
    linear-gradient(135deg, rgba(255, 255, 255, .8), rgba(255, 245, 220, .42) 54%, rgba(242, 220, 176, .62)),
    url("/assets/images/ui/lorcachecker-shop-tile-pattern.webp") 82% 18% / 260% 260% no-repeat,
    rgba(255, 251, 243, .9);
}

.shop-directory-card > *:not(.shop-directory-card-link) {
  position: relative;
  z-index: 2;
}

.changelog-version {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(168, 119, 41, .34);
  border-radius: 8px;
  padding: 18px 20px;
  background: rgba(255, 251, 243, .86);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .18);
}

.shop-directory-card:hover,
.event-card:hover,
.marketplace-listing-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.shop-directory-card:hover {
  box-shadow: 0 24px 42px rgba(34, 22, 8, .2), 0 0 0 2px rgba(217, 162, 65, .14), inset 0 1px 0 rgba(255, 255, 255, .78);
}

.shop-directory-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 8px;
}

.shop-directory-card-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-width: 0;
}

.shop-directory-logo,
.event-card-logo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(217, 162, 65, .42);
  border-radius: 999px;
  background: #07101f;
}

.shop-directory-logo {
  position: relative;
  width: 72px;
  height: 72px;
  border-color: rgba(217, 162, 65, .62);
  background:
    radial-gradient(circle at 50% 24%, rgba(27, 198, 202, .2), transparent 46%),
    #07101f;
  box-shadow: 0 11px 20px rgba(31, 20, 7, .2), inset 0 0 0 1px rgba(255, 229, 171, .12);
}

.shop-directory-logo img,
.event-card-logo img {
  max-width: 54px;
  max-height: 54px;
  object-fit: contain;
}

.shop-directory-logo img {
  max-width: 60px;
  max-height: 60px;
  border-radius: 999px;
}

.event-card .event-card-logo img {
  max-width: 44px;
  max-height: 44px;
}

.shop-logo-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  color: #f6c85f;
  font-size: 18px;
  font-weight: 800;
  background:
    radial-gradient(circle at 50% 28%, rgba(246, 200, 95, .16), transparent 48%),
    #07101f;
}

.shop-directory-title {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.shop-directory-title h2 {
  margin: 0;
  color: #211407;
  font-size: clamp(19px, 1.4vw, 24px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.shop-directory-title .shop-directory-status {
  justify-self: start;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 4px 9px;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0;
}

.shop-directory-card-body,
.event-card .shop-card-body {
  display: grid;
  gap: 8px;
}

.shop-directory-card-body {
  align-content: start;
  min-width: 0;
}

.shop-directory-card-body p {
  display: -webkit-box;
  min-height: 58px;
  margin: 2px 0;
  overflow: hidden;
  color: #4f3c20;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.shop-directory-meta,
.shop-card-tags,
.shop-tag-list,
.shop-directory-badges,
.marketplace-meta-list,
.event-card-labels,
.hub-notice-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.shop-directory-meta {
  min-height: 28px;
}

.shop-directory-meta span,
.shop-card-tags span,
.shop-tag-list span,
.shop-directory-badges span,
.hub-notice-meta span,
.marketplace-meta-list span {
  border: 1px solid rgba(168, 119, 41, .24);
  padding: 4px 8px;
  background: rgba(255, 246, 222, .78);
  color: #5d4424;
  font-size: 12px;
  font-weight: 800;
}

.hub-announcements {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-bottom: 18px;
  border: 1px solid rgba(217, 162, 65, .68);
  border-left: 6px solid var(--teal);
  border-radius: 8px;
  padding: 12px 14px;
  background:
    linear-gradient(135deg, rgba(255, 242, 198, .98), rgba(255, 229, 160, .92));
  box-shadow: 0 20px 42px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .62);
}

.hub-announcements-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.hub-announcements-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 4px;
  color: var(--gold-dark);
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.hub-announcements h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(21px, 1.7vw, 29px);
  line-height: 1.05;
}

.hub-announcements .hub-notice-grid {
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}

.hub-announcements .hub-notice-card {
  min-height: 0;
  gap: 10px;
  margin-bottom: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hub-announcements .hub-notice-card + .hub-notice-card {
  border-top: 1px solid rgba(141, 95, 27, .22);
  padding-top: 10px;
}

.hub-announcements .hub-notice-card.has-image {
  grid-template-columns: minmax(72px, 82px) minmax(0, 1fr);
}

.hub-announcements .hub-notice-card.has-no-image {
  grid-template-columns: minmax(0, 1fr);
}

.hub-announcements .hub-notice-card > div {
  display: grid;
  gap: 4px;
  align-content: start;
  min-width: 0;
}

.hub-announcements .hub-notice-card > img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 8px;
}

.hub-announcements .hub-notice-card h3 {
  color: #211407;
  font-size: 18px;
  line-height: 1.2;
}

.hub-announcements .hub-notice-card p {
  margin: 0;
  color: #4f3c20;
  font-size: 14px;
  line-height: 1.42;
}

.hub-announcements .hub-notice-meta span {
  border-color: rgba(7, 16, 31, .14);
  background: rgba(7, 16, 31, .1);
  color: #2d1b08;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 11px;
  font-weight: 900;
}

.hub-announcements .hub-notice-link {
  justify-self: start;
  min-height: 30px;
  border-radius: 8px;
  margin-top: 2px;
  padding: 5px 9px;
  font-size: 13px;
  line-height: 1;
}

.hub-messages-root[hidden] {
  display: none;
}

.hub-messages-launcher {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: calc(var(--z-modal) - 2);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(240, 189, 79, .74);
  border-radius: 8px;
  padding: 8px 11px;
  background:
    linear-gradient(180deg, rgba(255, 248, 235, .96), rgba(245, 218, 154, .94));
  color: #2d1b08;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .7);
}

.hub-messages-launcher:hover,
.hub-messages-launcher:focus-visible {
  border-color: rgba(27, 198, 202, .72);
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .98), rgba(248, 229, 186, .96));
  color: #120b04;
}

.hub-messages-launcher-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(7, 16, 31, .1);
  color: #8d5f1b;
}

.hub-messages-count {
  display: grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  border-radius: 999px;
  padding: 0 7px;
  background: #07101f;
  color: var(--cream);
  font-size: 12px;
}

.hub-messages-modal {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) + 4);
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: auto;
}

.hub-messages-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 17, .78);
  backdrop-filter: blur(6px);
}

.hub-messages-dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(980px, 100%);
  max-height: calc(100dvh - 36px);
  overflow: hidden;
  border: 1px solid rgba(240, 189, 79, .72);
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 0%, rgba(27, 198, 202, .18), transparent 32%),
    linear-gradient(145deg, rgba(5, 13, 28, .98), rgba(13, 23, 43, .98));
  color: var(--cream);
  box-shadow: 0 40px 110px rgba(0, 0, 0, .62), 0 0 0 1px rgba(255, 248, 235, .11) inset;
}

.hub-messages-dialog.is-single {
  grid-template-rows: minmax(0, 1fr);
  width: min(720px, 100%);
}

.hub-messages-header {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 248, 235, .14);
  padding: 16px 18px;
}

.hub-messages-header h2 {
  color: var(--cream);
  font-size: clamp(22px, 2.1vw, 31px);
  line-height: 1.08;
}

.hub-messages-eyebrow,
.hub-messages-detail-meta span,
.hub-messages-list-button span {
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.hub-messages-eyebrow {
  display: inline-flex;
  margin-bottom: 4px;
  color: #f0bd4f;
}

.hub-messages-close,
.hub-messages-secondary-close {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 248, 235, .18);
  border-radius: 8px;
  background: rgba(255, 248, 235, .08);
  color: var(--cream);
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 900;
}

.hub-messages-close {
  width: 38px;
  height: 38px;
  font-size: 24px;
  line-height: 1;
}

.hub-messages-close-floating {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.hub-messages-close:hover,
.hub-messages-close:focus-visible,
.hub-messages-secondary-close:hover,
.hub-messages-secondary-close:focus-visible {
  border-color: rgba(240, 189, 79, .64);
  background: rgba(240, 189, 79, .14);
}

.hub-messages-layout {
  display: grid;
  grid-template-columns: minmax(230px, 290px) minmax(0, 1fr);
  min-height: 0;
}

.hub-messages-dialog.is-single .hub-messages-layout {
  grid-template-columns: minmax(0, 1fr);
}

.hub-messages-list {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  max-height: calc(100dvh - 126px);
  overflow: auto;
  border-right: 1px solid rgba(255, 248, 235, .12);
  padding: 12px;
  scrollbar-gutter: stable;
}

.hub-messages-list-button {
  display: grid;
  gap: 6px;
  min-width: 0;
  border: 1px solid rgba(255, 248, 235, .13);
  border-radius: 8px;
  padding: 11px;
  background: rgba(255, 248, 235, .06);
  color: rgba(255, 248, 235, .86);
  text-align: left;
}

.hub-messages-list-button.is-active,
.hub-messages-list-button:hover,
.hub-messages-list-button:focus-visible {
  border-color: rgba(27, 198, 202, .48);
  background: rgba(27, 198, 202, .12);
  color: #fff;
}

.hub-messages-list-button span {
  color: #f0bd4f;
}

.hub-messages-list-button strong {
  min-width: 0;
  color: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.hub-messages-list-button em {
  color: rgba(255, 248, 235, .72);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.hub-messages-details {
  min-width: 0;
  min-height: 0;
}

.hub-messages-detail {
  display: grid;
  gap: 13px;
  max-height: calc(100dvh - 126px);
  overflow: auto;
  padding: 18px;
  scrollbar-gutter: stable;
}

.hub-messages-dialog.is-single .hub-messages-detail {
  max-height: calc(100dvh - 36px);
  padding: 24px;
}

.hub-messages-image {
  width: 100%;
  max-height: min(280px, 32dvh);
  border: 1px solid rgba(255, 248, 235, .16);
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 248, 235, .06);
}

.hub-messages-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.hub-messages-detail-meta span {
  border: 1px solid rgba(240, 189, 79, .28);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(240, 189, 79, .1);
  color: #f8d983;
}

.hub-messages-detail h3 {
  color: var(--cream);
  font-size: clamp(23px, 2.4vw, 36px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.hub-messages-summary {
  margin: 0;
  color: rgba(255, 248, 235, .78);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
}

.hub-messages-content {
  display: grid;
  gap: 10px;
  min-width: 0;
  color: rgba(255, 248, 235, .86);
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.hub-messages-content > * {
  margin: 0;
}

.hub-messages-content p,
.hub-messages-content li {
  color: rgba(255, 248, 235, .86);
}

.hub-messages-content ul,
.hub-messages-content ol {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 21px;
}

.hub-messages-content a {
  color: #7be7ea;
  font-weight: 850;
}

.hub-messages-content code,
.hub-messages-content pre {
  border: 1px solid rgba(255, 248, 235, .14);
  border-radius: 8px;
  background: rgba(3, 8, 17, .32);
  color: #f8d983;
}

.hub-messages-content code {
  padding: 1px 5px;
}

.hub-messages-content pre {
  overflow: auto;
  padding: 10px;
}

.hub-messages-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
}

.hub-messages-cta,
.hub-messages-secondary-close {
  min-height: 38px;
  padding: 8px 12px;
  text-decoration: none;
}

.hub-messages-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(251, 216, 143, .72);
  border-radius: 8px;
  background: linear-gradient(180deg, #f3cf75, #c78b2d);
  color: #1f1408;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 14px;
  font-weight: 900;
}

.hub-message-severity-success .hub-messages-detail-meta span:first-child {
  border-color: rgba(34, 197, 94, .32);
  background: rgba(34, 197, 94, .13);
  color: #bdf4cf;
}

.hub-message-severity-warning .hub-messages-detail-meta span:first-child {
  border-color: rgba(251, 191, 36, .36);
  background: rgba(251, 191, 36, .14);
  color: #fde68a;
}

.hub-message-severity-danger .hub-messages-detail-meta span:first-child {
  border-color: rgba(248, 113, 113, .42);
  background: rgba(248, 113, 113, .13);
  color: #fecaca;
}

body.hub-messages-open {
  overflow: hidden;
}

.shop-directory-card .shop-card-tags {
  min-height: 30px;
  padding-top: 2px;
}

.shop-card-metrics {
  display: grid;
  gap: 8px;
  min-width: 0;
  border-top: 1px solid rgba(168, 119, 41, .22);
  padding: 10px 0 2px;
}

.shop-card-metric {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.shop-card-metric-head {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  color: #765323;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 11px;
  line-height: 1.15;
}

.shop-card-metric-head span {
  min-width: 0;
  font-weight: 900;
  text-transform: uppercase;
}

.shop-card-metric-head strong {
  flex: 0 0 auto;
  max-width: 58%;
  overflow: hidden;
  color: #211407;
  font-size: 12px;
  font-weight: 900;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-card-meter {
  display: block;
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: rgba(88, 57, 12, .14);
  box-shadow: inset 0 1px 1px rgba(88, 57, 12, .12);
}

.shop-card-meter > span {
  display: block;
  height: 100%;
  min-width: 4px;
  border-radius: inherit;
}

.shop-card-meter-fast > span,
.shop-card-meter-availability > span {
  background: linear-gradient(90deg, #219958, var(--teal));
}

.shop-card-meter-medium > span {
  background: linear-gradient(90deg, #d49b3b, #f6d888);
}

.shop-card-meter-slow > span {
  background: linear-gradient(90deg, #cf3d83, #d49b3b);
}

.shop-card-metrics-empty {
  color: #765323;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.shop-directory-card .actions {
  align-self: end;
  margin-top: 4px;
}

.shop-card-detail-link {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid rgba(168, 119, 41, .5);
  border-radius: 8px;
  padding: 7px 12px;
  background: linear-gradient(180deg, rgba(255, 248, 235, .88), rgba(244, 213, 148, .74));
  color: #2d1b08;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 7px 13px rgba(77, 49, 11, .12);
}

.shop-card-detail-link::after {
  content: "→";
  margin-left: 7px;
  color: var(--gold-dark);
}

.shop-directory-card:hover .shop-card-detail-link,
.shop-card-detail-link:focus {
  border-color: var(--gold);
  background: linear-gradient(180deg, #f8d983, #d49b3b);
  color: #211407;
}

.shop-detail-hero {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border-color: rgba(217, 162, 65, .72);
  background:
    radial-gradient(circle at 8% 18%, rgba(27, 198, 202, .14), transparent 130px),
    radial-gradient(circle at 92% 10%, rgba(207, 61, 131, .1), transparent 150px),
    linear-gradient(180deg, rgba(255, 255, 255, .68), rgba(255, 255, 255, .2)),
    var(--panel);
}

.shop-detail-logo {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border: 2px solid rgba(217, 162, 65, .68);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 24%, rgba(27, 198, 202, .2), transparent 48%),
    #07101f;
  box-shadow: 0 16px 28px rgba(31, 20, 7, .24), inset 0 0 0 1px rgba(255, 229, 171, .16);
}

.shop-detail-logo img {
  max-width: 86px;
  max-height: 86px;
  border-radius: 999px;
  object-fit: contain;
}

.shop-detail-hero h1 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  margin-bottom: 7px;
  line-height: 1.05;
}

.shop-detail-hero p {
  max-width: 820px;
  color: #5b4428;
  font-size: 17px;
}

.shop-partner-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(168, 119, 41, .34);
  border-radius: 999px;
  padding: 4px 9px;
  background: #fff1ca;
  color: #6b3f07;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.shop-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 14px;
}

.shop-detail-meta span {
  border: 1px solid rgba(168, 119, 41, .24);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(255, 246, 222, .78);
  color: #5d4424;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.shop-detail-hero .actions {
  position: relative;
  z-index: 2;
}

.shop-detail-panel,
.shop-detail-main,
.shop-detail-side,
.shop-info-list,
.shop-link-list {
  display: grid;
  gap: 14px;
}

.shop-detail-panel {
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
}

.shop-detail-main,
.shop-detail-side {
  align-content: start;
}

.shop-detail-main > h2 {
  align-self: start;
}

.shop-detail-text {
  max-width: 820px;
  color: #4f3c20;
  font-size: 16px;
  line-height: 1.58;
}

.shop-detail-section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  justify-content: space-between;
  min-width: 0;
}

.shop-detail-section-head h2 {
  margin-top: 2px;
}

.shop-detail-section-head > span {
  border: 1px solid rgba(33, 153, 88, .22);
  border-radius: 999px;
  padding: 5px 10px;
  background: #dff2dc;
  color: #176236;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.shop-detail-stats-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(168, 119, 41, .3);
  border-radius: 8px;
  padding: 14px;
  background:
    radial-gradient(circle at 96% 6%, rgba(27, 198, 202, .1), transparent 110px),
    rgba(255, 251, 243, .62);
}

.shop-detail-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.shop-detail-stat-card {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 8px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .2)),
    rgba(255, 246, 222, .76);
}

.shop-detail-stat-card > span:first-child {
  color: #765323;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.shop-detail-stat-card strong {
  color: #211407;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1;
}

.shop-detail-stat-card em {
  justify-self: start;
  color: #5d4424;
  font-style: normal;
  font-weight: 800;
}

.shop-detail-stat-card small {
  color: #6c5636;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 12px;
  line-height: 1.35;
}

.shop-detail-stat-empty {
  grid-column: 1 / -1;
}

.shop-detail-events {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 251, 243, .58);
}

.shop-detail-events .stats-panel-header {
  align-items: center;
  gap: 10px;
}

.shop-detail-events .stats-panel-header h2 {
  margin: 0;
  font-size: clamp(19px, 1.35vw, 23px);
  line-height: 1.1;
}

.shop-detail-events .stats-panel-header p {
  font-size: 13px;
  line-height: 1.3;
}

.shop-detail-events-list {
  grid-template-columns: 1fr;
  gap: 8px;
  max-height: min(58vh, 520px);
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-gutter: stable;
}

.shop-detail-events-list .event-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  border-color: rgba(168, 119, 41, .22);
  padding: 9px 10px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .9), rgba(255, 248, 235, .7)),
    rgba(255, 251, 243, .82);
  box-shadow: 0 8px 18px rgba(34, 22, 8, .08);
}

.shop-detail-events-list .event-card:hover {
  transform: none;
  box-shadow: 0 10px 22px rgba(34, 22, 8, .1);
}

.shop-detail-events-list .event-card .shop-card-head,
.shop-detail-events-list .event-card .shop-directory-meta,
.shop-detail-events-list .event-card-labels {
  grid-column: 1;
}

.shop-detail-events-list .event-card .shop-card-head {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.shop-detail-events-list .event-card .event-card-logo {
  width: 38px;
  height: 38px;
  box-shadow: none;
}

.shop-detail-events-list .event-card .event-card-logo img {
  max-width: 30px;
  max-height: 30px;
}

.shop-detail-events-list .event-card-title {
  gap: 2px;
}

.shop-detail-events-list .event-card-title h2 {
  font-size: 16px;
  line-height: 1.12;
}

.shop-detail-events-list .event-card-title p {
  display: none;
}

.shop-detail-events-list .event-card .shop-directory-status {
  justify-self: start;
  padding: 3px 6px;
  font-size: 9px;
  line-height: 1;
}

.shop-detail-events-list .event-card .shop-directory-meta,
.shop-detail-events-list .event-card-labels {
  gap: 5px;
}

.shop-detail-events-list .event-card .shop-directory-meta span,
.shop-detail-events-list .event-card-labels span {
  padding: 3px 6px;
  font-size: 10px;
  line-height: 1.1;
}

.shop-detail-events-list .event-card > p {
  display: none;
}

.shop-detail-events-list .event-card .shop-card-actions {
  grid-column: 2;
  grid-row: 1 / span 3;
  place-self: center end;
  align-self: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 0;
}

.shop-detail-events-list .event-card .event-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 8px;
  font-size: 11px;
  line-height: 1;
  box-shadow: none;
}

.shop-detail-events-list .event-card .shop-card-actions a[href^="/herny/"],
.shop-detail-events-list .event-card .shop-card-actions a[href^="/obchody/"] {
  display: none;
}

@media (max-width: 720px) {
  .shop-detail-events .stats-panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .shop-detail-events-list .event-card {
    grid-template-columns: 1fr;
  }

  .shop-detail-events-list .event-card .shop-card-actions {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
  }
}

.shop-response-label {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 8px;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 12px;
  line-height: 1;
}

.shop-response-label-fast {
  background: #dff2dc;
  color: #176236;
}

.shop-response-label-medium {
  background: #fff1ca;
  color: #76480b;
}

.shop-response-label-slow {
  background: #ffe0e8;
  color: #8a1c41;
}

.shop-response-scale,
.shop-availability-scale {
  display: grid;
  gap: 4px;
}

.shop-response-meter,
.shop-availability-scale {
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: rgba(88, 57, 12, .14);
}

.shop-response-meter > span,
.shop-availability-scale > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.shop-response-meter-fast > span {
  background: linear-gradient(90deg, #219958, #73c36b);
}

.shop-response-meter-medium > span {
  background: linear-gradient(90deg, #d49b3b, #f6d888);
}

.shop-response-meter-slow > span {
  background: linear-gradient(90deg, #cf3d83, #d49b3b);
}

.shop-response-max {
  color: #8c7451;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 11px;
  text-align: right;
}

.shop-info-list {
  margin: 0;
}

.shop-info-list div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
}

.shop-info-list dt {
  color: var(--muted);
  font-weight: 800;
}

.shop-info-list dd {
  margin: 0;
}

.shop-link-list a {
  position: relative;
  z-index: 2;
  color: #5d3510;
  font-weight: 800;
}

.shop-detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.shop-detail-gallery figure {
  overflow: hidden;
  border: 1px solid rgba(168, 119, 41, .26);
  border-radius: 8px;
  margin: 0;
  background: rgba(255, 251, 243, .72);
}

.shop-detail-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.shop-detail-gallery figcaption {
  padding: 7px 9px;
  color: #5d4424;
  font-size: 12px;
}

.set-directory-page main {
  display: grid;
  gap: 16px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .18)),
    var(--panel);
  color: var(--text);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .26), inset 0 0 0 1px rgba(255, 255, 255, .46);
}

.set-directory-page .set-directory-search {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(168, 119, 41, .28);
  padding-bottom: 18px;
}

.set-directory-page .set-directory-search label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 2px solid rgba(194, 139, 49, .58);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 251, 243, .96);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65);
}

.set-directory-page .set-directory-search label i {
  color: var(--gold-dark);
  font-size: 20px;
}

.set-directory-page .set-directory-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #2a1a0a;
  font: inherit;
  outline: none;
}

#setDirectorySearchCount {
  justify-self: end;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 246, 222, .8);
  color: #5d4424;
  font-weight: 800;
}

.set-directory-kind-filter {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #5d4424;
  font-weight: 800;
}

.set-directory-kind-filter button {
  border: 1px solid rgba(168, 119, 41, .34);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 246, 222, .78);
  color: #4b3212;
  font: inherit;
  font-weight: 850;
}

.set-directory-kind-filter button.active,
.set-directory-kind-filter button:hover,
.set-directory-kind-filter button:focus {
  border-color: var(--gold);
  background: linear-gradient(180deg, #f8d983, #d49b3b);
  color: #211407;
  outline: none;
}

.set-series-list,
.set-series-section {
  display: grid;
  gap: 16px;
}

.set-series-section {
  scroll-margin-top: 20px;
}

.set-series-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(168, 119, 41, .24);
  padding-bottom: 10px;
}

.set-series-head span {
  color: var(--gold-dark);
  font-weight: 800;
}

.set-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 14px;
}

.set-directory-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid rgba(168, 119, 41, .34);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .92), rgba(255, 248, 235, .72)),
    rgba(255, 251, 243, .86);
  box-shadow: 0 10px 20px rgba(34, 22, 8, .1);
}

.set-directory-symbol {
  display: grid;
  place-items: center;
  gap: 5px;
  width: 62px;
  min-height: 72px;
  border: 1px solid rgba(217, 162, 65, .42);
  border-radius: 8px;
  padding: 7px;
  background:
    radial-gradient(circle at 50% 34%, rgba(27, 198, 202, .16), transparent 38px),
    #07101f;
  color: var(--gold);
  text-align: center;
}

.set-directory-symbol img {
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
}

.set-directory-generated-symbol {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(248, 217, 131, .38);
  border-radius: 999px;
  background:
    radial-gradient(circle at 42% 28%, rgba(255, 255, 255, .18), transparent 16px),
    linear-gradient(150deg, rgba(27, 198, 202, .2), rgba(240, 189, 79, .16)),
    rgba(255, 248, 235, .08);
  color: #f8d983;
  font-size: 22px;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
}

.set-directory-symbol span {
  color: #f8d983;
  font: 900 12px/1 system-ui, sans-serif;
}

.set-directory-body {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.set-directory-body h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.12;
}

.set-directory-facts,
.set-directory-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.set-directory-facts span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-height: 22px;
  color: #6b5637;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
}

.set-directory-facts span i {
  font-size: 13px;
}

.set-directory-codes span {
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(255, 246, 222, .62);
  color: #4b3212;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
}

.set-directory-lazy-sentinel,
.set-directory-empty {
  justify-self: center;
  border: 1px solid rgba(194, 139, 49, .62);
  border-radius: 999px;
  padding: 9px 16px;
  background: rgba(255, 248, 235, .78);
  color: #3a250b;
  font: inherit;
  font-weight: 800;
}

.set-directory-empty {
  justify-self: stretch;
  border-radius: 8px;
  text-align: center;
}

.set-directory-card {
  color: inherit;
  text-decoration: none;
}

.set-directory-card:hover,
.set-directory-card:focus-visible {
  border-color: rgba(27, 198, 202, .54);
  color: inherit;
  outline: none;
  box-shadow: 0 16px 30px rgba(34, 22, 8, .14), 0 0 0 3px rgba(27, 198, 202, .14);
  transform: translateY(-1px);
}

.set-detail-page main {
  display: grid;
  gap: 16px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .18)),
    var(--panel);
  color: var(--text);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .26), inset 0 0 0 1px rgba(255, 255, 255, .46);
}

.set-detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: #6b5637;
  font-size: 13px;
  font-weight: 800;
}

.set-detail-breadcrumb a {
  color: #5d3510;
  text-decoration: none;
}

.set-detail-breadcrumb a:hover,
.set-detail-breadcrumb a:focus-visible {
  color: #1a6f72;
  text-decoration: underline;
}

.set-detail-hero {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.set-detail-symbol {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: 112px;
  border: 1px solid rgba(217, 162, 65, .42);
  border-radius: 10px;
  padding: 10px;
  background:
    radial-gradient(circle at 50% 30%, rgba(27, 198, 202, .18), transparent 54px),
    #07101f;
  color: var(--gold);
}

.set-detail-symbol img {
  max-width: 76px;
  max-height: 76px;
  object-fit: contain;
}

.set-detail-symbol i {
  color: #f8d983;
  font-size: 40px;
}

.set-detail-symbol span {
  color: #f8d983;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.set-detail-hero-main {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.set-detail-hero-main h1 {
  margin: 0;
  color: #2a1a0a;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.08;
}

.set-detail-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.set-detail-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(168, 119, 41, .24);
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(255, 246, 222, .72);
  color: #5d4424;
  font-size: 12px;
  font-weight: 800;
}

.set-detail-toolbar {
  position: sticky;
  top: 8px;
  z-index: 20;
  display: grid;
  grid-template-columns: max-content minmax(220px, 1fr) minmax(150px, 190px) max-content max-content;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 251, 243, .95);
  box-shadow: 0 14px 30px rgba(34, 22, 8, .12);
  backdrop-filter: blur(12px);
}

.set-detail-toolbar-count {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(27, 198, 202, .12);
  color: #31585a;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.set-detail-toolbar-count strong {
  color: #153f42;
  font-size: 15px;
}

.set-detail-toolbar-search,
.set-detail-toolbar-category {
  min-width: 0;
}

.set-detail-toolbar-search input,
.set-detail-toolbar-category select,
.set-detail-filter-row select {
  min-height: 34px;
  border-radius: 999px;
  font-size: 13px;
}

.set-detail-toolbar-category {
  display: grid;
  grid-template-columns: max-content minmax(96px, 1fr);
  align-items: center;
  gap: 6px;
  margin: 0;
}

.set-detail-toolbar-category span,
.set-detail-filter-row .controls > span {
  color: #5d4424;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.set-detail-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  border-radius: 999px;
  font-weight: 900;
}

.set-detail-filter-toggle.active {
  border-color: #1a878b;
  background: #1a878b;
  color: #fff;
  box-shadow: 0 8px 18px rgba(27, 198, 202, .18);
}

.set-detail-view-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 246, 222, .8);
}

.set-detail-view-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  padding: 4px 9px;
  background: transparent;
  color: #6b5637;
  font-size: 12px;
  font-weight: 900;
}

.set-detail-view-btn.active {
  background: #1a878b;
  color: #fff;
  box-shadow: 0 8px 18px rgba(27, 198, 202, .18);
}

.set-detail-filter-panel.input-block {
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 251, 243, .92);
  box-shadow: 0 12px 26px rgba(34, 22, 8, .08);
}

.set-detail-filter-panel[hidden] {
  display: none !important;
}

.set-detail-filter-panel .set-detail-filter-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -2px 0 12px;
  border-bottom: 1px solid rgba(168, 119, 41, .2);
  padding-bottom: 10px;
}

.set-detail-filter-sheet-head > div:first-child {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.set-detail-filter-sheet-head strong {
  color: #2a1a0a;
  font-size: 15px;
  font-weight: 900;
}

.set-detail-filter-sheet-head span {
  overflow: hidden;
  color: #6b5637;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.set-detail-filter-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.mobile-filter-close {
  display: none;
}

.set-detail-filter-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  padding: 10px;
}

.set-detail-filters.is-grid-view .set-detail-filter-row {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.set-detail-filter-row .controls {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
}

.set-detail-filter-row .controls:nth-child(1) {
  grid-column: span 4;
}

.set-detail-filter-row .controls:nth-child(2) {
  grid-column: span 5;
}

.set-detail-filter-row .controls:nth-child(3) {
  grid-column: span 3;
}

.set-detail-type-filter,
.set-detail-inkwell-filter,
.set-detail-group-filter {
  grid-column: span 4;
}

.set-detail-filters.is-grid-view .set-detail-type-filter,
.set-detail-filters.is-grid-view .set-detail-inkwell-filter {
  grid-column: span 6;
}

.set-detail-group-filter[hidden] {
  display: none;
}

.set-detail-preset-group {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}

.set-detail-preset-group .preset-btn {
  flex: 0 0 auto;
  max-width: 100%;
  min-height: 30px;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1.1;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.set-detail-filter-reset {
  min-height: 30px;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  line-height: 1;
}

.set-detail-filter-reset i {
  font-size: 13px;
}

.set-detail-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: -4px 0 4px;
}

.set-detail-active-filters[hidden] {
  display: none;
}

.set-detail-active-filter-chip,
.set-detail-active-filter-reset {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  border: 1px solid rgba(27, 198, 202, .24);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(223, 251, 252, .9);
  color: #1a6f72;
  font-size: 12px;
  font-weight: 800;
}

.set-detail-active-filter-reset {
  border-color: rgba(168, 119, 41, .28);
  background: rgba(255, 251, 243, .94);
  color: #5d4424;
}

.set-detail-card-surface {
  margin-top: 4px;
}

.set-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
  align-items: start;
}

.set-detail-card-surface.is-columns {
  display: grid;
  grid-template-columns: repeat(var(--set-detail-visible-columns, 6), minmax(188px, 1fr));
  align-items: start;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.set-detail-color-column {
  display: grid;
  gap: 8px;
  min-width: 188px;
  contain: layout style;
}

.set-detail-color-column.is-filter-empty {
  display: none;
}

.set-detail-column-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgba(168, 119, 41, .24);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 246, 222, .96);
  box-shadow: 0 8px 18px rgba(34, 22, 8, .06);
}

.set-detail-column-head h2 {
  margin: 0;
  color: #2a1a0a;
  font-size: 14px;
  font-weight: 900;
}

.set-detail-column-head span {
  border-radius: 999px;
  padding: 2px 7px;
  background: rgba(27, 198, 202, .12);
  color: #1a6f72;
  font-size: 12px;
  font-weight: 900;
}

.set-detail-card-list {
  display: grid;
  gap: 5px;
}

.set-detail-filter-empty {
  border: 1px dashed rgba(168, 119, 41, .32);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 251, 243, .76);
  color: #6b5637;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.set-detail-card {
  position: relative;
  content-visibility: auto;
  contain: layout paint style;
  contain-intrinsic-size: 96px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(168, 119, 41, .24);
  border-radius: 8px;
  padding: 7px;
  background: rgba(255, 251, 243, .92);
  box-shadow: 0 1px 3px rgba(34, 22, 8, .06);
}

.set-detail-card-surface.is-grid .set-detail-card {
  grid-template-columns: 1fr;
  gap: 7px;
  min-height: 260px;
  padding: 8px;
}

.set-detail-thumb {
  appearance: none;
  display: grid;
  place-items: center;
  width: 56px;
  aspect-ratio: 63 / 88;
  overflow: hidden;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 7px;
  padding: 0;
  background: #07101f;
  cursor: zoom-in;
}

.set-detail-card-surface.is-grid .set-detail-thumb {
  justify-self: center;
  width: min(100%, 118px);
  border-radius: 8px;
}

.set-detail-thumb:hover,
.set-detail-thumb:focus-visible,
.set-detail-thumb.is-previewing {
  border-color: rgba(27, 198, 202, .58);
  outline: none;
  box-shadow: 0 0 0 3px rgba(27, 198, 202, .16);
}

.set-detail-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.set-detail-thumb-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #f8d983;
  font-size: 12px;
  font-weight: 900;
}

.set-detail-card-body {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
}

.set-detail-card-body h3 {
  overflow: hidden;
  margin: 0;
  color: #2a1a0a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.set-detail-card-surface.is-grid .set-detail-card-body h3 {
  display: -webkit-box;
  min-height: 31px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12px;
  white-space: normal;
}

.set-detail-card-type {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  color: #6b5637;
  display: -webkit-box;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.set-detail-card-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  min-width: 0;
}

.set-detail-card-facts > span {
  min-width: 0;
  overflow: hidden;
  border-radius: 999px;
  padding: 2px 6px;
  background: rgba(168, 119, 41, .12);
  color: #5d4424;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.set-detail-ink-amber { background: rgba(249, 190, 75, .24) !important; color: #7c4a03 !important; }
.set-detail-ink-amethyst { background: rgba(168, 85, 247, .16) !important; color: #6b21a8 !important; }
.set-detail-ink-emerald { background: rgba(16, 185, 129, .16) !important; color: #047857 !important; }
.set-detail-ink-ruby { background: rgba(239, 68, 68, .16) !important; color: #b91c1c !important; }
.set-detail-ink-sapphire { background: rgba(14, 165, 233, .16) !important; color: #0369a1 !important; }
.set-detail-ink-steel { background: rgba(100, 116, 139, .16) !important; color: #334155 !important; }
.set-detail-ink-dual { background: linear-gradient(90deg, rgba(27, 198, 202, .18), rgba(248, 217, 131, .24)) !important; color: #31585a !important; }

.set-detail-rarity-super-rare,
.set-detail-rarity-legendary {
  background: rgba(242, 183, 5, .18) !important;
  color: #7c4a03 !important;
}

.set-detail-rarity-enchanted,
.set-detail-rarity-epic,
.set-detail-rarity-iconic {
  background: rgba(217, 70, 239, .14) !important;
  color: #86198f !important;
}

.set-detail-card-actions {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease;
}

.set-detail-card:hover .set-detail-card-actions,
.set-detail-card:focus-within .set-detail-card-actions {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.set-detail-card-action,
.set-detail-wantlist-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border: 1px solid rgba(27, 198, 202, .24);
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(255, 251, 243, .94);
  color: #1a6f72;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.set-detail-wantlist-btn {
  width: 24px;
  padding: 0;
}

.set-detail-card-action:hover,
.set-detail-card-action:focus-visible,
.set-detail-wantlist-btn:hover,
.set-detail-wantlist-btn:focus-visible {
  border-color: rgba(27, 198, 202, .46);
  background: #fff;
  color: #155e61;
  outline: none;
}

.set-detail-wantlist-btn.is-in-wantlist,
.set-detail-preview-wantlist.is-in-wantlist {
  border-color: rgba(220, 38, 38, .26);
  background: rgba(254, 226, 226, .9);
  color: #dc2626;
}

.set-detail-card-status,
.set-detail-preview-status {
  min-height: 14px;
  color: #166534;
  font-size: 10px;
  font-weight: 800;
}

.set-detail-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, .55);
}

.set-detail-preview-modal.d-none {
  display: none;
}

.set-detail-preview-backdrop {
  position: absolute;
  inset: 0;
}

.set-detail-preview-panel {
  position: relative;
  display: grid;
  width: fit-content;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  border: 1px solid rgba(217, 162, 65, .38);
  border-radius: 12px;
  padding: 14px;
  background:
    radial-gradient(circle at 12% 0%, rgba(27, 198, 202, .16), transparent 14rem),
    linear-gradient(135deg, rgba(255, 251, 243, .98), rgba(255, 246, 222, .96));
  box-shadow: 0 32px 76px rgba(15, 23, 42, .32);
}

.set-detail-preview-header {
  margin: -2px -2px 12px;
}

.set-detail-preview-header h2 {
  max-width: min(420px, 62vw);
  overflow: hidden;
  color: #2a1a0a;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.set-detail-preview-actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.set-detail-preview-wantlist.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  border: 1px solid rgba(194, 139, 49, .62);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 248, 235, .72);
  color: #3a250b;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}

.set-detail-preview-wantlist.btn i {
  padding-right: 0;
  color: #1a878b;
  font-size: 14px;
  line-height: 1;
}

.set-detail-preview-wantlist.btn:hover,
.set-detail-preview-wantlist.btn:focus-visible {
  border-color: var(--gold);
  background: #ffe5aa;
  color: #1b1207;
  outline: none;
  box-shadow: 0 0 0 3px rgba(240, 189, 79, .18);
}

.set-detail-preview-wantlist.btn.is-in-wantlist {
  border-color: rgba(220, 38, 38, .36);
  background:
    linear-gradient(180deg, rgba(255, 248, 235, .96), rgba(254, 226, 226, .92));
  color: #7f1d1d;
}

.set-detail-preview-wantlist.btn.is-in-wantlist i {
  color: #dc2626;
}

.set-detail-preview-frame {
  display: grid;
  place-items: center;
  width: min(500px, calc(100vw - 76px), calc((100dvh - 145px) * 63 / 88));
  aspect-ratio: 63 / 88;
  overflow: hidden;
  border-radius: 12px;
  margin-inline: auto;
  background: #07101f;
  box-shadow: 0 24px 58px rgba(15, 23, 42, .28);
}

.set-detail-preview-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.set-detail-mobile-toolbar-head,
.set-detail-filter-sheet-head,
.set-detail-filter-sheet-actions,
.set-detail-filter-backdrop,
.set-detail-mobile-action-bar {
  display: none;
}

@media (max-width: 1180px) {
  .set-detail-filter-row,
  .set-detail-filters.is-grid-view .set-detail-filter-row {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .set-detail-filter-row .controls:nth-child(1),
  .set-detail-filter-row .controls:nth-child(2) {
    grid-column: span 6;
  }

  .set-detail-filter-row .controls:nth-child(3) {
    grid-column: 1 / -1;
  }

  .set-detail-type-filter,
  .set-detail-inkwell-filter,
  .set-detail-group-filter {
    grid-column: span 4;
  }

  .set-detail-filters.is-grid-view .set-detail-type-filter,
  .set-detail-filters.is-grid-view .set-detail-inkwell-filter {
    grid-column: span 6;
  }

  .set-detail-toolbar {
    grid-template-columns: max-content minmax(180px, 1fr) minmax(130px, 170px) max-content max-content;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .set-detail-page {
    padding-inline: 24px;
  }

  .set-detail-page main {
    padding: 14px;
    overflow-x: clip;
  }

  .set-detail-breadcrumb,
  .set-detail-hero,
  .set-detail-toolbar,
  .set-detail-card-surface,
  .set-detail-grid {
    max-width: 100%;
    min-width: 0;
  }

  .set-detail-hero {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 12px;
  }

  .set-detail-symbol {
    min-height: 94px;
  }

  .set-detail-symbol img {
    max-width: 62px;
    max-height: 62px;
  }

  .set-detail-hero-main h1 {
    font-size: clamp(28px, 4.5vw, 34px);
  }

  .set-detail-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(124px, 150px) max-content max-content;
  }

  .set-detail-toolbar-count {
    display: none;
  }

  .set-detail-toolbar-category {
    grid-template-columns: max-content minmax(78px, 1fr);
  }

  .set-detail-grid {
    grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
    gap: 8px;
  }

  .set-detail-card-surface.is-grid .set-detail-card {
    min-height: 250px;
  }
}

@media (hover: none) {
  .set-detail-card-actions {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .set-detail-card-action,
  .set-detail-wantlist-btn {
    min-height: 32px;
    font-size: 11px;
  }

  .set-detail-card-action {
    padding-inline: 10px;
  }

  .set-detail-wantlist-btn {
    width: 32px;
  }
}

@media (max-width: 760px) {
  .set-detail-page main {
    gap: 12px;
    padding: 12px;
    padding-bottom: 86px;
  }

  .set-detail-hero {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .set-detail-symbol {
    min-height: 72px;
    padding: 8px;
  }

  .set-detail-symbol img {
    max-width: 48px;
    max-height: 48px;
  }

  .set-detail-symbol i {
    font-size: 28px;
  }

  .set-detail-symbol span {
    font-size: 11px;
  }

  .set-detail-hero-main h1 {
    font-size: 24px;
    line-height: 1.08;
  }

  .set-detail-hero-meta {
    gap: 4px;
  }

  .set-detail-hero-meta span {
    padding: 3px 7px;
    font-size: 11px;
  }

  .set-detail-toolbar {
    top: 6px;
    grid-template-columns: minmax(0, 1fr) max-content max-content;
    gap: 7px;
  }

  .set-detail-toolbar-count {
    display: none;
  }

  .set-detail-mobile-toolbar-head {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 1;
    gap: 2px;
    min-width: 0;
  }

  .set-detail-mobile-toolbar-head strong {
    overflow: hidden;
    color: #2a1a0a;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .set-detail-mobile-toolbar-head span {
    color: #6b5637;
    font-size: 12px;
    font-weight: 800;
  }

  .set-detail-toolbar-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .set-detail-toolbar-category {
    grid-column: 1;
    grid-row: 3;
    justify-self: stretch;
  }

  .set-detail-filter-toggle {
    grid-column: 2;
    grid-row: 3;
    justify-content: center;
  }

  .set-detail-view-switch {
    grid-column: 3;
    grid-row: 3;
    justify-self: end;
  }

  .set-detail-view-btn span {
    display: none;
  }

  body.set-detail-filter-open {
    overflow: hidden;
  }

  .set-detail-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10840;
    display: block;
    background: rgba(15, 23, 42, .42);
  }

  .set-detail-filter-backdrop[hidden] {
    display: none;
  }

  .set-detail-filter-panel.input-block {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10850;
    max-height: min(82dvh, 720px);
    overflow: auto;
    overscroll-behavior: contain;
    border-radius: 18px 18px 0 0;
    margin: 0;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -24px 54px rgba(15, 23, 42, .28);
    transform: translateY(105%);
    transition: transform .22s ease;
  }

  body.set-detail-filter-open .set-detail-filter-panel.input-block {
    transform: translateY(0);
  }

  body.set-detail-filter-open .set-detail-mobile-action-bar {
    display: none;
  }

  .set-detail-filter-sheet-head {
    position: sticky;
    top: -12px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -12px -12px 12px;
    border-bottom: 1px solid rgba(168, 119, 41, .22);
    padding: 13px 12px 11px;
    background: rgba(255, 251, 243, .98);
  }

  .set-detail-filter-sheet-head > div:first-child {
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  .set-detail-filter-head-actions .set-detail-filter-reset {
    display: none;
  }

  .mobile-filter-close {
    appearance: none;
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(168, 119, 41, .28);
    border-radius: 10px;
    background: rgba(255, 246, 222, .86);
    color: #2a1a0a;
    font-size: 18px;
    line-height: 1;
  }

  .set-detail-filter-sheet-head strong {
    color: #2a1a0a;
    font-size: 15px;
    font-weight: 900;
  }

  .set-detail-filter-sheet-head span {
    overflow: hidden;
    color: #6b5637;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .set-detail-filter-row,
  .set-detail-filters.is-grid-view .set-detail-filter-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .set-detail-filter-row .controls:nth-child(1),
  .set-detail-filter-row .controls:nth-child(2),
  .set-detail-filter-row .controls:nth-child(3),
  .set-detail-type-filter,
  .set-detail-inkwell-filter,
  .set-detail-group-filter,
  .set-detail-filters.is-grid-view .set-detail-type-filter,
  .set-detail-filters.is-grid-view .set-detail-inkwell-filter {
    grid-column: 1 / -1;
  }

  .set-detail-preset-group .preset-btn {
    min-height: 34px;
    padding: 7px 11px;
  }

  .set-detail-filter-sheet-actions {
    position: sticky;
    bottom: calc(-12px - env(safe-area-inset-bottom));
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 8px;
    margin: 12px -12px calc(-12px - env(safe-area-inset-bottom));
    border-top: 1px solid rgba(168, 119, 41, .22);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 251, 243, .98);
  }

  .set-detail-filter-sheet-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    border-radius: 12px;
    font-weight: 900;
  }

  .set-detail-active-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .set-detail-active-filters::-webkit-scrollbar {
    display: none;
  }

  .set-detail-active-filter-chip,
  .set-detail-active-filter-reset {
    flex: 0 0 auto;
  }

  .set-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .set-detail-card-surface.is-columns {
    grid-template-columns: 1fr;
    overflow-x: visible;
  }

  .set-detail-color-column {
    min-width: 0;
  }

  .set-detail-card-actions {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .set-detail-card-surface.is-grid .set-detail-card {
    min-height: 0;
  }

  .set-detail-preview-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }

  .set-detail-preview-header h2 {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .set-detail-preview-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
  }

  .set-detail-mobile-action-bar {
    position: fixed;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 10px;
    z-index: 10820;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    border: 1px solid rgba(168, 119, 41, .26);
    border-radius: 18px;
    padding: 6px;
    background: rgba(255, 251, 243, .96);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .24);
    backdrop-filter: blur(14px);
  }

  .set-detail-mobile-action-bar .mobile-action-btn {
    appearance: none;
    display: grid;
    justify-items: center;
    gap: 2px;
    min-width: 0;
    min-height: 54px;
    border: 0;
    border-radius: 13px;
    padding: 7px 5px;
    background: transparent;
    color: #6b5637;
    font-size: 11px;
    font-weight: 900;
  }

  .set-detail-mobile-action-bar .mobile-action-btn.active {
    background: #1a878b;
    color: #fff;
    box-shadow: 0 10px 20px rgba(27, 198, 202, .22);
  }
}

.events-public-layout,
.event-detail-layout {
  display: grid;
  gap: 16px;
}

.events-public-layout {
  align-items: start;
  position: relative;
  border-top: 1px solid rgba(168, 119, 41, .24);
  padding-top: 18px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .36), rgba(255, 251, 243, 0) 180px);
}

.events-public-layout::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(320px, 48%);
  height: 2px;
  background: linear-gradient(90deg, rgba(217, 162, 65, .82), rgba(217, 162, 65, 0));
  pointer-events: none;
}

.events-list-panel,
.events-calendar-column {
  min-width: 0;
}

.events-date-groups {
  display: grid;
  gap: 18px;
}

.events-date-group {
  display: grid;
  gap: 10px;
}

.events-date-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(168, 119, 41, .26);
  padding-bottom: 8px;
}

.events-date-head div {
  display: grid;
  gap: 2px;
}

.events-date-head span {
  color: #765323;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.events-date-head h3 {
  margin: 0;
  color: #211407;
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1;
}

.events-date-head strong {
  flex: 0 0 auto;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 241, 202, .82);
  color: #5d4424;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 12px;
  line-height: 1;
}

.event-detail-hero {
  position: relative;
  display: grid;
  gap: 16px;
  overflow: hidden;
  border: 1px solid rgba(217, 162, 65, .46);
  border-radius: 8px;
  padding: 22px 24px;
  background:
    radial-gradient(circle at 96% 12%, color-mix(in srgb, var(--event-card-color, #d9a241) 18%, transparent), transparent 150px),
    linear-gradient(180deg, rgba(255, 255, 255, .76), rgba(255, 248, 235, .5)),
    rgba(255, 251, 243, .9);
  box-shadow: 0 16px 32px rgba(34, 22, 8, .12), inset 0 1px 0 rgba(255, 255, 255, .72);
}

.event-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, rgba(217, 162, 65, .12), var(--event-card-color, #d9a241), rgba(27, 198, 202, .24), rgba(217, 162, 65, .12));
  pointer-events: none;
}

.event-detail-hero > * {
  position: relative;
  z-index: 1;
}

.event-detail-kicker a,
.event-detail-kicker span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 1px solid rgba(168, 119, 41, .26);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 248, 235, .72);
  color: #5d4424;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.event-detail-kicker a:hover,
.event-detail-kicker a:focus {
  border-color: rgba(217, 162, 65, .76);
  background: #fff1ca;
  color: #211407;
}

.event-detail-title-row {
  align-items: end;
}

.event-detail-title-row h1 {
  margin: 0;
  color: #211407;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .94;
  overflow-wrap: anywhere;
}

.event-detail-title-row p {
  margin: 10px 0 0;
  color: #5b4428;
  font-size: 17px;
  font-weight: 800;
}

.event-detail-title-row .section-eyebrow {
  margin-bottom: 8px;
}

.event-detail-status {
  flex: 0 0 auto;
  border-color: rgba(168, 119, 41, .3);
  padding: 8px 12px;
  background: rgba(255, 241, 202, .82);
  line-height: 1;
}

.event-detail-layout {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  align-items: start;
}

.event-detail-card,
.event-detail-shop-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 8px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .92), rgba(255, 248, 235, .66)),
    rgba(255, 251, 243, .86);
  box-shadow: 0 10px 22px rgba(34, 22, 8, .08);
}

.event-detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 9px;
}

.event-detail-meta-grid span {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 2px 9px;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(168, 119, 41, .22);
  border-radius: 8px;
  padding: 9px 10px;
  background: rgba(255, 248, 235, .72);
  color: #4f3c20;
}

.event-detail-meta-grid i {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 241, 202, .9);
  color: var(--gold-dark);
  font-size: 15px;
}

.event-detail-meta-grid strong {
  color: #765323;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
}

.event-detail-meta-grid em {
  min-width: 0;
  color: #211407;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.event-detail-labels {
  padding-top: 2px;
}

.event-detail-labels span {
  background: color-mix(in srgb, var(--event-color, #d9a241) 18%, #fff1ca);
}

.event-detail-description {
  border-top: 1px solid rgba(168, 119, 41, .2);
  padding-top: 13px;
  color: #3f2d16;
  font-size: 17px;
  line-height: 1.52;
}

.event-detail-actions {
  justify-content: flex-start;
  border-top: 1px solid rgba(168, 119, 41, .2);
  padding-top: 13px;
}

.event-detail-shop-card {
  position: sticky;
  top: 18px;
  align-content: start;
  justify-items: start;
}

.event-detail-shop-card .event-card-logo {
  width: 72px;
  height: 72px;
  box-shadow: 0 10px 20px rgba(31, 20, 7, .16);
}

.event-detail-shop-card .event-card-logo img {
  max-width: 58px;
  max-height: 58px;
}

.event-detail-shop-card span {
  color: #765323;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.event-detail-shop-card strong {
  display: block;
  margin-top: 3px;
  color: #211407;
  font-size: 22px;
  line-height: 1.08;
}

.event-detail-shop-card p {
  margin: 8px 0 0;
  color: #5b4428;
  line-height: 1.42;
}

.events-calendar-head,
.event-detail-title-row,
.event-detail-kicker,
.event-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.events-calendar-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(168, 119, 41, .34);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .18)),
    rgba(255, 248, 235, .82);
}

.events-calendar-head h2 {
  margin: 0;
  color: #211407;
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1;
}

.events-calendar-head span {
  color: #5d4424;
  font-weight: 800;
}

.events-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  color: var(--gold-dark);
  font-weight: 800;
  text-align: center;
}

.partner-slot,
.hub-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(217, 162, 65, .42);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 18px;
  background:
    linear-gradient(90deg, rgba(5, 11, 22, .96) 0%, rgba(6, 13, 26, .88) 46%, rgba(6, 13, 26, .52) 100%),
    url("/assets/images/ui/lorcachecker-ad-banner.webp") center / cover no-repeat;
  color: var(--cream);
}

.partner-slot-label,
.hub-banner-content span {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
}

.partner-slot-content,
.hub-banner-content {
  display: grid;
  gap: 4px;
}

.partner-slot-content strong,
.hub-banner-content strong {
  color: #f6c85f;
  font-size: 20px;
}

.partner-slot-content span,
.hub-banner-content p,
.partner-slot-stats span {
  color: rgba(255, 248, 235, .76);
}

.partner-slot-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hub-banner-media img {
  width: 92px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}

.footer-connect,
.site-footer {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(217, 162, 65, .42);
  border-radius: 8px;
  margin-top: 20px;
  background:
    radial-gradient(circle at 18% 0, rgba(27, 198, 202, .16), transparent 30%),
    radial-gradient(circle at 82% 2%, rgba(207, 61, 131, .14), transparent 32%),
    linear-gradient(135deg, rgba(4, 11, 23, .96), rgba(8, 17, 33, .94) 54%, rgba(18, 7, 25, .96)),
    #07101f;
  color: rgba(255, 248, 235, .78);
  text-align: center;
  box-shadow:
    inset 0 0 0 1px rgba(255, 229, 171, .07),
    0 24px 54px rgba(0, 0, 0, .28);
}

.footer-connect {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 22px;
  align-items: center;
  padding: 16px 20px;
}

.footer-connect-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
}

.footer-connect-share {
  justify-content: flex-start;
  gap: 9px 14px;
}

.footer-connect-label,
.footer-checkers-label {
  flex: 0 0 auto;
  color: rgba(255, 248, 235, .72);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.footer-checkers {
  justify-content: flex-end;
  gap: 8px 10px;
}

.footer-checkers a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(255, 248, 235, .1);
  text-decoration: none;
  transition: background .16s ease, transform .16s ease;
}

.footer-checkers a:hover,
.footer-checkers a:focus {
  background: rgba(255, 225, 154, .14);
  outline: none;
  transform: translateY(-1px);
}

.footer-checker-logo {
  display: block;
  width: auto;
  max-width: 128px;
  height: auto;
  max-height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .3));
}

.footer-checkers-separator {
  color: rgba(217, 162, 65, .62);
  font-weight: 900;
}

.share-strip-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
}

.share-strip-actions .share-link,
.share-strip-actions .native-share-btn {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 248, 235, .1);
  color: rgba(255, 248, 235, .86);
  font: inherit;
  font-size: 13px;
  font-weight: 820;
  text-decoration: none;
}

.share-strip-actions i {
  color: var(--gold);
  font-size: 14px;
}

.share-strip-actions .share-link:hover,
.share-strip-actions .share-link:focus,
.share-strip-actions .native-share-btn:hover,
.share-strip-actions .native-share-btn:focus {
  background: rgba(255, 225, 154, .14);
  color: var(--cream);
  outline: none;
}

.site-footer {
  padding: 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(217, 162, 65, .5), transparent) center 21px / min(460px, 62%) 1px no-repeat,
    url("/assets/images/ui/lorcachecker-ink-ribbon.webp") center -4px / max(1180px, 112%) auto no-repeat;
  opacity: .56;
  mix-blend-mode: screen;
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(217, 162, 65, .72);
  transform: translateX(-50%);
}

.footer-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 40px 28px 22px;
}

.footer-brand {
  display: grid;
  justify-items: center;
  gap: 8px;
  max-width: 760px;
}

.footer-brand-name {
  color: var(--cream);
  font-size: clamp(30px, 3vw, 44px);
  line-height: .98;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .42), 0 0 28px rgba(217, 162, 65, .22);
}

.site-footer .footer-note {
  margin: 0 !important;
  max-width: 720px;
  color: rgba(255, 248, 235, .72);
  line-height: 1.5;
}

.footer-actions a,
.footer-link-button,
.footer-bottom a {
  color: rgba(255, 248, 235, .82);
  text-decoration: none;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 17px;
}

.footer-actions {
  width: min(100%, 820px);
  max-width: 820px;
}

.footer-actions a,
.footer-link-button {
  position: relative;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0 0 2px;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
}

.footer-actions a[aria-current="page"] {
  color: #f6c85f;
}

.footer-actions > * + *::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(217, 162, 65, .62);
  transform: translateY(-50%);
}

.footer-actions a:hover,
.footer-actions a:focus,
.footer-link-button:hover,
.footer-link-button:focus,
.footer-bottom a:hover,
.footer-bottom a:focus {
  color: #f6c85f;
  outline: none;
}

.footer-actions a:hover,
.footer-actions a:focus,
.footer-link-button:hover,
.footer-link-button:focus {
  border-color: rgba(217, 162, 65, .72);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(217, 162, 65, .22);
  padding: 12px 24px 14px;
  background: rgba(3, 8, 17, .48);
  color: rgba(255, 248, 235, .62);
  font-size: 13px;
  font-weight: 750;
}

.footer-bottom a {
  color: #f6c85f;
}

.app-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
  overscroll-behavior: contain;
}

html.app-modal-open,
body.app-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.app-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 17, .72);
  backdrop-filter: blur(5px);
}

.app-modal-dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  border: 1px solid rgba(217, 162, 65, .66);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .16)),
    var(--panel);
  color: var(--text);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .5);
}

.help-dialog,
.favorites-dialog,
.support-dialog {
  width: min(980px, 100%);
}

.help-dialog {
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  border-color: rgba(240, 189, 79, .74);
  background:
    radial-gradient(circle at 14% 0%, rgba(27, 198, 202, .2), transparent 32%),
    radial-gradient(circle at 86% 8%, rgba(207, 61, 131, .16), transparent 30%),
    linear-gradient(145deg, rgba(5, 13, 28, .98), rgba(14, 24, 43, .98));
  color: var(--cream);
  box-shadow:
    0 38px 110px rgba(0, 0, 0, .62),
    0 0 0 1px rgba(255, 248, 235, .11) inset,
    0 0 38px rgba(217, 162, 65, .18);
}

.help-dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .5;
  pointer-events: none;
  background:
    url("/assets/images/ui/lorcachecker-ink-ribbon.webp") center 10px / min(1080px, 132%) auto no-repeat,
    linear-gradient(90deg, transparent, rgba(240, 189, 79, .34), transparent) center 78px / 64% 1px no-repeat;
  mix-blend-mode: screen;
}

.support-dialog {
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  border-color: rgba(240, 189, 79, .78);
  background:
    radial-gradient(circle at 18% 0%, rgba(27, 198, 202, .24), transparent 34%),
    radial-gradient(circle at 86% 7%, rgba(207, 61, 131, .22), transparent 31%),
    linear-gradient(145deg, rgba(5, 13, 28, .98), rgba(13, 23, 43, .97) 58%, rgba(16, 7, 24, .98));
  color: var(--cream);
  box-shadow:
    0 40px 110px rgba(0, 0, 0, .62),
    0 0 0 1px rgba(255, 248, 235, .12) inset,
    0 0 42px rgba(217, 162, 65, .2);
}

.support-dialog::before,
.support-dialog::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.support-dialog::before {
  opacity: .7;
  background: url("/assets/images/ui/lorcachecker-ink-ribbon.webp") center 18px / min(1080px, 128%) auto no-repeat;
  mix-blend-mode: screen;
}

.support-dialog::after {
  background:
    linear-gradient(90deg, transparent, rgba(240, 189, 79, .42), transparent) center 72px / 62% 1px no-repeat,
    radial-gradient(circle at 50% 83%, rgba(255, 248, 235, .12), transparent 42%);
}

.app-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(168, 119, 41, .24);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.help-dialog .app-modal-header {
  margin: 0;
  padding: 20px 22px 15px;
  border-bottom: 1px solid rgba(217, 162, 65, .34);
  background: linear-gradient(180deg, rgba(3, 8, 17, .38), transparent);
}

.help-dialog .app-modal-header h2 {
  color: var(--cream);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.02;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .36), 0 0 22px rgba(240, 189, 79, .24);
}

.help-dialog .app-modal-header .btn {
  border: 1px solid rgba(240, 189, 79, .58);
  border-radius: 999px;
  padding: 7px 13px;
  background: rgba(255, 248, 235, .08);
  color: var(--cream);
  font-weight: 850;
}

.help-dialog .app-modal-header .btn:hover,
.help-dialog .app-modal-header .btn:focus {
  border-color: var(--gold);
  background: linear-gradient(180deg, #f8d983, #c89132);
  color: #211407;
}

.support-dialog .app-modal-header {
  position: relative;
  z-index: 1;
  align-items: center;
  margin: 0;
  padding: 22px 24px 16px;
  border-bottom: 1px solid rgba(217, 162, 65, .34);
  background: linear-gradient(180deg, rgba(3, 8, 17, .34), transparent);
}

.support-dialog .app-modal-header h2 {
  color: var(--cream);
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.02;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .38), 0 0 22px rgba(240, 189, 79, .28);
}

.support-dialog .app-modal-header .btn {
  border: 1px solid rgba(240, 189, 79, .62);
  border-radius: 999px;
  padding: 7px 13px;
  background: rgba(255, 248, 235, .08);
  color: var(--cream);
  font-weight: 850;
  box-shadow: inset 0 0 0 1px rgba(255, 248, 235, .08);
}

.support-dialog .app-modal-header .btn:hover,
.support-dialog .app-modal-header .btn:focus {
  border-color: var(--gold);
  background: linear-gradient(180deg, #f8d983, #c89132);
  color: #211407;
}

.support-content,
.support-options,
.help-sections,
.help-grid,
.help-steps,
.favorites-modal-body,
.report-form,
.watchdog-form,
.cookie-banner-content {
  display: grid;
  gap: 12px;
}

.support-content {
  position: relative;
  z-index: 1;
  gap: 16px;
  padding: 4px 24px 24px;
}

.support-content > p {
  margin: 0;
  border: 1px solid rgba(217, 162, 65, .38);
  border-radius: 8px;
  padding: 13px 15px;
  background: rgba(255, 248, 235, .92);
  color: #4a3318;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

.help-intro,
.help-steps,
.help-sections {
  position: relative;
  z-index: 1;
  margin-right: 22px;
  margin-left: 22px;
}

.help-intro {
  margin-top: 16px;
  margin-bottom: 0;
  border: 1px solid rgba(217, 162, 65, .36);
  border-radius: 8px;
  padding: 12px 14px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .96), rgba(251, 242, 223, .9)),
    url("/assets/images/ui/lorcachecker-shop-tile-pattern.webp") center / 220% 220% no-repeat;
  color: #4a3318;
  font-weight: 750;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

.help-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.help-steps span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(217, 162, 65, .34);
  border-radius: 8px;
  padding: 9px 10px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .94), rgba(250, 239, 216, .88)),
    url("/assets/images/ui/lorcachecker-shop-tile-pattern.webp") center / 240% 240% no-repeat;
  color: #3a250b;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
}

.help-steps strong {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(240, 189, 79, .62);
  border-radius: 999px;
  background: linear-gradient(180deg, #10264b, #06162d);
  color: #ffe7ad;
  font-size: 13px;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 14px rgba(7, 22, 45, .18);
}

.help-sections {
  gap: 12px;
  padding: 4px 0 22px;
}

.support-options,
.help-grid,
.help-steps {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.support-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  padding-top: 14px;
}

.support-option,
.help-card,
.help-section,
.watchdog-card-preview,
.favorites-empty,
.cookie-banner-content {
  border: 1px solid rgba(168, 119, 41, .3);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 251, 243, .72);
}

.help-section {
  display: grid;
  gap: 11px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .94), rgba(251, 242, 223, .88)),
    url("/assets/images/ui/lorcachecker-shop-tile-pattern.webp") center / 260% 260% no-repeat;
  color: var(--text);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .2);
}

.help-section h3 {
  margin: 0;
  color: #211407;
  font-size: 18px;
  line-height: 1.15;
}

.help-card {
  display: grid;
  gap: 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .54), rgba(255, 248, 235, .42)),
    rgba(255, 251, 243, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .58);
}

.help-card h4 {
  margin: 0;
  color: #211407;
  font-size: 15px;
  line-height: 1.18;
}

.help-card p,
.help-faq p {
  margin: 0;
  color: #5f4728;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 650;
}

.help-tip {
  border-color: rgba(27, 198, 202, .42);
}

.help-warning {
  border-color: rgba(207, 61, 131, .28);
}

.help-code {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.help-code code,
.help-badge {
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(255, 248, 235, .72);
  color: #3a250b;
  font-size: 12px;
  font-weight: 850;
}

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

.help-faq details {
  border: 1px solid rgba(168, 119, 41, .24);
  border-radius: 8px;
  background: rgba(255, 251, 243, .58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .48);
}

.help-faq summary {
  cursor: pointer;
  padding: 10px 12px;
  color: #211407;
  font-weight: 850;
}

.help-faq details[open] summary {
  border-bottom: 1px solid rgba(168, 119, 41, .2);
}

.help-faq p {
  padding: 10px 12px 12px;
}

.support-option {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  overflow: hidden;
  min-height: 100%;
  padding: 15px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .94), rgba(251, 242, 223, .88)),
    url("/assets/images/ui/lorcachecker-shop-tile-pattern.webp") center / 250% 250% no-repeat;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .2);
}

.support-option::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, .34), transparent 36%, rgba(27, 198, 202, .08));
  pointer-events: none;
}

.support-option h3,
.support-option strong,
.support-option span,
.support-option img,
.support-option em {
  position: relative;
  z-index: 1;
}

.support-option h3 {
  color: #211407;
  font-size: 19px;
}

.support-option strong {
  color: #07101f;
  font-size: 36px;
  line-height: .98;
  text-shadow: 0 1px 0 rgba(255, 248, 235, .7);
}

.support-option span {
  color: #6b5637;
  font-size: 14px;
  font-weight: 700;
}

.support-option-featured {
  overflow: visible;
  border-color: rgba(240, 189, 79, .95);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 241, 199, .9), transparent 36%),
    linear-gradient(180deg, rgba(255, 245, 216, .98), rgba(247, 221, 160, .92)),
    url("/assets/images/ui/lorcachecker-shop-tile-pattern.webp") center / 230% 230% no-repeat;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .25),
    0 0 0 1px rgba(255, 248, 235, .5) inset,
    0 0 28px rgba(217, 162, 65, .28);
  transform: translateY(-4px);
}

.support-option-featured em {
  position: absolute;
  top: -13px;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  justify-self: auto;
  border: 1px solid rgba(141, 95, 27, .34);
  border-radius: 999px;
  padding: 4px 11px;
  background: linear-gradient(180deg, #17345d, #07162d);
  color: #ffe5aa;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  box-shadow: 0 7px 16px rgba(7, 22, 45, .22), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.support-option img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  max-width: 190px;
  border-radius: 8px;
  border: 1px solid rgba(168, 119, 41, .34);
  padding: 8px;
  margin-top: 4px;
  background: #fff;
  object-fit: contain;
  justify-self: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .2);
}

.support-content small {
  justify-self: center;
  max-width: 760px;
  color: rgba(255, 248, 235, .74);
  text-align: center;
  font-weight: 700;
}

.favorites-dialog {
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: min(760px, calc(100dvh - 36px));
  max-height: calc(100dvh - 36px);
  overflow: hidden;
  padding: 0;
  border-color: rgba(240, 189, 79, .74);
  background:
    radial-gradient(circle at 12% 0%, rgba(27, 198, 202, .18), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(207, 61, 131, .16), transparent 30%),
    linear-gradient(145deg, rgba(5, 13, 28, .98), rgba(14, 24, 43, .98));
  color: var(--cream);
  box-shadow:
    0 38px 110px rgba(0, 0, 0, .62),
    0 0 0 1px rgba(255, 248, 235, .11) inset,
    0 0 38px rgba(217, 162, 65, .18);
}

.favorites-dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .48;
  pointer-events: none;
  background:
    url("/assets/images/ui/lorcachecker-ink-ribbon.webp") center 8px / min(1060px, 132%) auto no-repeat,
    linear-gradient(90deg, transparent, rgba(240, 189, 79, .34), transparent) center 78px / 64% 1px no-repeat;
  mix-blend-mode: screen;
}

.favorites-dialog .app-modal-header {
  margin: 0;
  padding: 20px 22px 15px;
  border-bottom: 1px solid rgba(217, 162, 65, .34);
  background: linear-gradient(180deg, rgba(3, 8, 17, .38), transparent);
}

.favorites-dialog .app-modal-header h2 {
  color: var(--cream);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.02;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .36), 0 0 22px rgba(240, 189, 79, .24);
}

.favorites-dialog .app-modal-header .btn {
  border: 1px solid rgba(240, 189, 79, .58);
  border-radius: 999px;
  padding: 7px 13px;
  background: rgba(255, 248, 235, .08);
  color: var(--cream);
  font-weight: 850;
}

.favorites-dialog .app-modal-header .btn:hover,
.favorites-dialog .app-modal-header .btn:focus {
  border-color: var(--gold);
  background: linear-gradient(180deg, #f8d983, #c89132);
  color: #211407;
}

.favorites-modal-body {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 0;
  overflow: hidden;
  padding: 16px 22px 22px;
}

.favorites-intro {
  margin: 0;
  border: 1px solid rgba(217, 162, 65, .34);
  border-radius: 8px;
  padding: 12px 14px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .96), rgba(251, 242, 223, .9)),
    url("/assets/images/ui/lorcachecker-shop-tile-pattern.webp") center / 220% 220% no-repeat;
  color: #4a3318;
  font-weight: 750;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

.favorites-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  -webkit-overflow-scrolling: touch;
}

.favorites-empty,
.favorites-list {
  grid-row: 2;
}

.favorites-actions {
  grid-row: 3;
}

.favorite-offer-card {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(168, 119, 41, .32);
  border-radius: 8px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .96), rgba(250, 239, 216, .91)),
    url("/assets/images/ui/lorcachecker-shop-tile-pattern.webp") center / 210% 210% no-repeat;
  color: var(--text);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .2);
}

.favorite-offer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .34), transparent 34%, rgba(27, 198, 202, .08)),
    linear-gradient(90deg, rgba(217, 162, 65, .18), transparent 18%, transparent);
}

.favorite-offer-image,
.favorite-offer-body,
.favorite-offer-actions {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.favorite-offer-image {
  display: grid;
  place-items: center;
  width: 76px;
  height: 106px;
  overflow: hidden;
  border: 1px solid rgba(168, 119, 41, .34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 239, 190, .72), transparent 46%),
    linear-gradient(180deg, #0a1730, #04101f);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .22);
}

.favorite-offer-image:empty::before {
  content: "";
  width: 34px;
  height: 44px;
  border: 1px solid rgba(240, 189, 79, .55);
  border-radius: 6px;
  background: linear-gradient(160deg, rgba(27, 198, 202, .42), rgba(207, 61, 131, .32));
  transform: rotate(-5deg);
}

.favorite-offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.favorite-offer-body {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.favorite-offer-body strong {
  overflow-wrap: anywhere;
  color: #211407;
  font-size: 18px;
  line-height: 1.14;
}

.favorite-offer-body span {
  color: #765f42;
  font-size: 13px;
  font-weight: 750;
}

.favorite-offer-body em {
  color: #07101f;
  font-style: normal;
  font-size: 14px;
  font-weight: 850;
}

.favorite-offer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

.favorite-offer-badges .badge {
  border: 1px solid rgba(168, 119, 41, .25);
  border-radius: 999px;
  background: rgba(255, 248, 235, .72) !important;
  color: #3a250b !important;
  font-weight: 850;
}

.favorite-offer-actions {
  display: grid;
  grid-template-columns: 1fr;
  align-self: stretch;
  align-content: center;
  gap: 7px;
  min-width: 142px;
  justify-items: stretch;
}

.favorite-offer-actions .btn,
.favorites-actions .btn {
  border-radius: 999px;
  font-weight: 850;
  white-space: nowrap;
}

.favorite-offer-actions .btn-primary {
  border-color: rgba(240, 189, 79, .78);
  background: linear-gradient(180deg, #10264b, #06162d);
  color: #ffe7ad;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 15px rgba(7, 22, 45, .18);
}

.favorite-offer-actions .btn-outline-primary,
.favorite-offer-actions .btn-outline-secondary,
.favorites-actions .btn-outline-secondary {
  border-color: rgba(168, 119, 41, .45);
  background: rgba(255, 248, 235, .64);
  color: #3a250b;
}

.favorite-offer-actions .btn:hover,
.favorite-offer-actions .btn:focus,
.favorites-actions .btn:hover,
.favorites-actions .btn:focus {
  border-color: var(--gold);
  background: linear-gradient(180deg, #f8d983, #d49b3b);
  color: #211407;
}

.favorites-empty {
  display: grid;
  place-items: center;
  min-height: 140px;
  border-color: rgba(217, 162, 65, .4);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 238, 190, .78), transparent 44%),
    linear-gradient(180deg, rgba(255, 251, 243, .96), rgba(251, 242, 223, .9));
  color: #5f4728;
  text-align: center;
  font-weight: 850;
}

.favorites-actions {
  border-top: 1px solid rgba(217, 162, 65, .26);
  padding-top: 2px;
}

.report-type-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reports-page .stats-grid,
.reports-page .summary-stats,
.reports-page .funnel-grid,
.reports-page .shop-overview-summary,
.reports-page .maintenance-card-stats,
.reports-page .marketplace-admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 10px;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

.reports-page .summary-stats > span,
.reports-page .summary-stats > button,
.reports-page .shop-overview-summary > span,
.reports-page .marketplace-admin-stats > span {
  width: auto;
}

.reports-page .stats-panel,
.reports-page .shops-admin-panel,
.reports-page .watchdog-admin-panel,
.reports-page .marketplace-admin-panel,
.reports-page .events-admin-panel,
.reports-page .maintenance-panel,
.reports-page .api-admin-panel {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.reports-page .stats-split,
.reports-page .stats-chart-row,
.reports-page .events-admin-tools,
.reports-page .watchdog-admin-layout {
  display: grid;
  min-width: 0;
}

.reports-page .stats-split > *,
.reports-page .stats-chart-row > *,
.reports-page .events-admin-tools > *,
.reports-page .watchdog-admin-layout > *,
.reports-page .stats-chart,
.reports-page .shop-admin-subpanel,
.reports-page .maintenance-cron,
.reports-page .maintenance-card {
  min-width: 0;
}

.reports-page .stats-chart-wide,
.reports-page .search-heatmap-wrap {
  max-width: 100%;
}

.reports-page .reports-admin-hero {
  overflow: hidden;
}

.reports-page .stats-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reports-page .stats-chart-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reports-page .watchdog-admin-layout {
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
}

.reports-page .events-admin-tools {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
}

.reports-page details.shop-admin-card > summary,
.reports-page .watchdog-email-group > summary,
.reports-page .event-admin-create > summary,
.reports-page .event-edit-details > summary {
  cursor: pointer;
  color: #211407;
  font-weight: 900;
}

.reports-page .watchdog-email-group {
  display: block;
  margin-top: 10px;
  padding: 0;
}

.reports-page .watchdog-email-group > summary {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
}

.reports-page .watchdog-item-list {
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(168, 119, 41, .22);
  padding: 10px;
}

.reports-page .watchdog-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 11px;
}

.reports-page .watchdog-item-meta,
.reports-page .watchdog-email-sub,
.reports-page .shop-overview-name span,
.reports-page .shop-overview-table small {
  color: #765f42;
  font-size: 12px;
  font-weight: 700;
}

.reports-page .watchdog-item-title,
.reports-page .watchdog-email-title,
.reports-page .shop-overview-name strong {
  color: #211407;
  font-weight: 900;
}

.reports-page .shop-overview-name {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.reports-page .shop-overview-name img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 999px;
  background: #07101f;
  object-fit: contain;
}

.reports-page .shop-detail-admin {
  display: grid;
  gap: 14px;
}

.reports-page .shop-detail-admin-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 8px;
  padding: 14px;
  background:
    radial-gradient(circle at 10% 0%, rgba(27, 198, 202, .14), transparent 34%),
    linear-gradient(180deg, rgba(255, 251, 243, .9), rgba(250, 239, 216, .68)),
    url("/assets/images/ui/lorcachecker-shop-tile-pattern.webp") center / 220% 220% no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .62);
}

.reports-page .shop-detail-admin-identity {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.reports-page .shop-detail-admin-logo {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  overflow: hidden;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 238, 190, .72), transparent 52%),
    rgba(255, 251, 243, .86);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .14);
}

.reports-page .shop-detail-admin-logo img {
  width: auto;
  max-width: 68px;
  max-height: 58px;
  object-fit: contain;
}

.reports-page .shop-detail-admin-logo span {
  color: #3a250b;
  font-size: 26px;
  font-weight: 900;
}

.reports-page .shop-detail-admin-title {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.reports-page .shop-admin-back-link {
  width: fit-content;
  color: #8d5f1b;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.reports-page .shop-admin-back-link:hover,
.reports-page .shop-admin-back-link:focus {
  color: #211407;
  text-decoration: underline;
}

.reports-page .shop-detail-admin-title-row,
.reports-page .shop-detail-admin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.reports-page .shop-detail-admin-title-row h3 {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 24px;
}

.reports-page .shop-detail-admin-meta span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  border: 1px solid rgba(168, 119, 41, .24);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(255, 248, 235, .68);
  color: #5f4728;
  font-size: 12px;
  font-weight: 800;
}

.reports-page .shop-detail-admin-meta strong {
  color: #3a250b;
}

.reports-page .shop-detail-admin-actions {
  display: flex;
  justify-content: flex-end;
}

.reports-page .shop-account-detail-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto auto;
  gap: 10px;
  align-items: end;
}

.reports-page .shop-password-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.reports-page .shop-account-toggle {
  display: inline-flex;
  grid-template-columns: auto auto;
  gap: 6px;
  align-items: center;
  align-self: center;
}

.reports-page .shop-detail-edit-form {
  gap: 14px;
}

.reports-page .shop-admin-grid {
  align-items: start;
}

.reports-page .shop-detail-edit-form label,
.reports-page .shop-admin-grid label {
  align-content: start;
  min-width: 0;
}

.reports-page .shop-detail-edit-form .form-control,
.reports-page .shop-detail-edit-form .form-select {
  width: 100%;
}

.reports-page .shop-detail-edit-form .form-select,
.reports-page .shop-detail-edit-form input.form-control {
  min-height: 38px;
}

.reports-page .partner-logo-preview {
  display: grid;
  place-items: center;
  min-height: 72px;
  border: 1px solid rgba(168, 119, 41, .24);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 251, 243, .72);
}

.reports-page .partner-logo-preview img {
  width: auto;
  max-width: 150px;
  max-height: 54px;
  object-fit: contain;
}

.reports-page .shop-detail-edit-form textarea.form-control {
  min-height: 96px;
}

.reports-page .shop-detail-edit-form textarea[name="description"] {
  min-height: 150px;
}

.reports-page .shop-detail-edit-form textarea[name="gallery_text"] {
  min-height: 100px;
}

.reports-page .shop-admin-options,
.reports-page .partner-checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reports-page .shop-admin-options label,
.reports-page .partner-checkbox-grid label {
  display: inline-flex;
  grid-template-columns: auto auto;
  gap: 6px;
  align-items: center;
  border: 1px solid rgba(168, 119, 41, .26);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 248, 235, .68);
}

.reports-page .api-admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.reports-page .api-admin-tabs a,
.reports-page .api-doc-grid a {
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 248, 235, .68);
  color: #3a250b;
  font-weight: 850;
  text-decoration: none;
}

.reports-page .maintenance-card,
.reports-page .api-health-callout,
.reports-page .api-status-grid > *,
.reports-page .api-doc-grid > *,
.reports-page .maintenance-card span,
.reports-page .api-health-callout span,
.reports-page .api-status-grid span,
.reports-page .api-doc-grid span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.reports-page .api-admin-tabs a.active {
  border-color: rgba(240, 189, 79, .86);
  background: linear-gradient(180deg, #10264b, #06162d);
  color: #ffe7ad;
}

.report-type-btn {
  border: 1px solid rgba(168, 119, 41, .34);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 251, 243, .76);
  color: #3a250b;
  font-weight: 800;
}

.report-type-btn.active {
  border-color: var(--gold);
  background: linear-gradient(180deg, #f8d983, #d49b3b);
  color: #211407;
}

.report-actions,
.favorites-actions,
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.report-status.success,
.watchdog-success .report-status {
  border: 1px solid rgba(23, 98, 54, .25);
  border-radius: 8px;
  padding: 10px;
  background: var(--ok);
  color: #176236;
}

.report-status.error {
  border: 1px solid rgba(207, 61, 131, .25);
  border-radius: 8px;
  padding: 10px;
  background: #fff2f6;
  color: #8a1c41;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 18px;
  z-index: 180;
  width: min(1100px, calc(100vw - 36px));
  transform: translateX(-50%);
}

.cookie-banner-content {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .68), rgba(255, 255, 255, .24)),
    rgba(255, 248, 235, .94);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .38);
}

.marketplace-hero,
.marketplace-filter-panel,
.marketplace-list-panel,
.marketplace-form,
.marketplace-detail-card,
.marketplace-detail-gallery {
  display: grid;
  gap: 16px;
}

.marketplace-filter-primary,
.marketplace-filter-grid,
.marketplace-filter-row,
.marketplace-form-grid,
.marketplace-card-attributes-row,
.marketplace-detail-layout {
  display: grid;
  gap: 12px;
}

.marketplace-filter-primary {
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr);
}

.marketplace-filter-grid,
.marketplace-form-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.marketplace-form .marketplace-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.marketplace-form .marketplace-form-block:first-of-type .marketplace-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.marketplace-form .marketplace-form-block:first-of-type .marketplace-card-attributes-row {
  grid-column: 1 / -1;
}

.marketplace-card-attributes-row {
  display: grid;
  grid-template-columns: 130px minmax(240px, .95fr) minmax(270px, 1.05fr) minmax(205px, .75fr) minmax(205px, .85fr);
  align-items: flex-start;
  gap: 10px;
}

.marketplace-card-attributes-row > * {
  min-width: 0;
}

.marketplace-card-attributes-row input.form-control {
  height: 38px;
  min-height: 38px;
  padding: 6px 10px;
}

.marketplace-price-input-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.marketplace-price-control-row {
  display: grid;
  grid-template-columns: minmax(70px, 1fr) auto;
  gap: 5px;
  align-items: stretch;
  min-width: 0;
  max-width: 100%;
}

.marketplace-price-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  min-height: 38px;
  min-width: 0;
  margin-top: 0;
  padding-right: 7px;
  padding-left: 7px;
  font-size: 12px;
  white-space: nowrap;
}

.marketplace-card-attributes-row .marketplace-field-error:empty {
  display: none;
}

.marketplace-price-status {
  color: #765323;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.marketplace-price-input-shell > span {
  color: #5d4424;
  font-size: 13px;
  font-weight: 900;
}

.marketplace-field-error {
  min-height: 1.1em;
  color: #8b2452;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.marketplace-form textarea.form-control {
  min-height: 118px;
}

.marketplace-search-panel {
  align-content: start;
  padding: 14px;
}

.marketplace-filter-all-section {
  display: grid;
  gap: 10px;
}

.marketplace-filter-all-section .filter-section-head {
  margin-bottom: 0;
}

.marketplace-search-panel .marketplace-filter-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.marketplace-filter-row {
  gap: 10px;
}

.marketplace-filter-search-row {
  grid-template-columns: minmax(300px, .9fr) minmax(260px, .65fr) minmax(170px, .38fr);
}

.marketplace-filter-detail-row {
  grid-template-columns: minmax(108px, .34fr) minmax(86px, .26fr) minmax(268px, .82fr) minmax(286px, .86fr) minmax(348px, 1fr) auto;
  align-items: end;
}

.marketplace-filter-choice-row {
  grid-template-columns: minmax(280px, .7fr) minmax(340px, .9fr) minmax(420px, 1fr) auto;
  align-items: end;
}

.marketplace-filter-refine-row {
  grid-template-columns: minmax(108px, .34fr) minmax(86px, .26fr) minmax(268px, .82fr) minmax(286px, .86fr) minmax(348px, 1fr) auto;
}

.marketplace-filter-row > .marketplace-filter-control,
.marketplace-filter-row > .set-filter-control {
  align-self: start;
  display: grid;
  align-content: start;
  align-items: start;
  gap: 6px;
  min-width: 0;
  padding: 0;
  background: transparent;
}

.marketplace-filter-row .preset-group {
  gap: 3px;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 7px;
  padding: 3px;
  background: rgba(255, 251, 243, .76);
}

.marketplace-filter-row .preset-btn {
  min-height: 30px;
  border: 0;
  border-radius: 5px;
  padding: 4px 9px;
  background: transparent;
  color: #3a250b;
  font-size: 12px;
  box-shadow: none;
}

.marketplace-filter-refine-row .preset-group {
  flex-wrap: nowrap;
  gap: 2px;
  width: 100%;
}

.marketplace-filter-refine-row .preset-btn {
  flex: 0 1 auto;
  min-width: 0;
  min-height: 29px;
  padding-right: 5px;
  padding-left: 5px;
  font-size: 11.5px;
}

.marketplace-filter-row .preset-btn.active {
  background: linear-gradient(180deg, #f3cf75, #c78b2d);
  color: #1f1408;
  box-shadow: inset 0 1px 0 rgba(255, 248, 218, .78), 0 5px 10px rgba(106, 64, 10, .14);
}

.marketplace-filter-row .form-control,
.marketplace-filter-row .form-select,
.marketplace-filter-row .marketplace-set-filter-input {
  min-height: 34px;
  border-radius: 7px;
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 13px;
}

.marketplace-filter-set-label,
.marketplace-filter-set-control,
.marketplace-set-code-label,
.marketplace-set-code-control {
  position: relative;
  overflow: visible;
}

.marketplace-filter-set-control,
.marketplace-set-code-control {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
  width: 100%;
}

.marketplace-set-code-control .set-filter-input-shell {
  width: 100%;
}

.marketplace-set-code-control .form-control {
  width: 100%;
  padding-right: 42px;
}

.marketplace-set-code-toggle {
  color: #765323;
}

.marketplace-filter-footer,
.marketplace-filter-actions,
.marketplace-sort-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.marketplace-filter-footer,
.marketplace-filter-actions {
  justify-content: flex-end;
}

.marketplace-filter-row > .marketplace-filter-submit-control {
  align-self: end;
  justify-self: end;
  padding-top: 0;
}

.marketplace-filter-submit-control .marketplace-filter-actions {
  flex-wrap: nowrap;
}

.marketplace-language-hidden-inputs {
  display: none;
}

.marketplace-sort-form {
  justify-content: flex-end;
}

.marketplace-sort-form label {
  color: #5d4424;
  font-weight: 800;
}

.marketplace-sort-form .form-select {
  width: auto;
  min-width: 150px;
}

.marketplace-choice-group {
  align-items: center;
  align-content: flex-start;
  width: fit-content;
  max-width: 100%;
  gap: 3px;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 7px;
  padding: 3px;
  background: rgba(255, 251, 243, .76);
}

.marketplace-card-attributes-row .marketplace-choice-group {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
}

.marketplace-choice-group .preset-btn {
  flex: 0 0 auto;
  min-height: 30px;
  border: 0;
  border-radius: 5px;
  padding: 4px 9px;
  background: transparent;
  color: #3a250b;
  font-size: 12px;
  box-shadow: none;
}

.marketplace-card-attributes-row .marketplace-choice-group .preset-btn {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 5px;
  padding-left: 5px;
  font-size: 10.5px;
}

.marketplace-choice-group .preset-btn.active {
  background: linear-gradient(180deg, #f3cf75, #c78b2d);
  color: #1f1408;
  box-shadow: inset 0 1px 0 rgba(255, 248, 218, .78), 0 5px 10px rgba(106, 64, 10, .14);
}

.marketplace-detail-layout {
  grid-template-columns: minmax(280px, .55fr) minmax(0, 1fr);
}

.marketplace-detail-price {
  color: #120b04;
  font-size: 34px;
  font-weight: 800;
}

.marketplace-detail-top {
  display: flex;
  justify-content: flex-start;
}

.marketplace-detail-layout {
  align-items: start;
}

.marketplace-detail-side {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
}

.marketplace-detail-gallery {
  align-content: start;
}

.marketplace-detail-gallery figure,
.marketplace-listing-media {
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(27, 198, 202, .12), rgba(255, 241, 202, .72)),
    rgba(255, 251, 243, .84);
}

.marketplace-detail-gallery figure {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 12px;
}

.marketplace-reference-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  border: 1px solid rgba(27, 198, 202, .32);
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(255, 251, 243, .95);
  color: #14565a;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
}

.marketplace-detail-gallery a,
.marketplace-reference-visual {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 0;
  aspect-ratio: 3 / 4;
  color: inherit;
  text-decoration: none;
}

.marketplace-detail-gallery figure img,
.marketplace-reference-visual img,
.marketplace-listing-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.marketplace-detail-card {
  align-content: start;
}

.marketplace-detail-card > * {
  min-width: 0;
  max-width: 100%;
}

.marketplace-detail-title {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.marketplace-detail-title h1 {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.marketplace-detail-submeta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  color: #765323;
  font-size: 13px;
  font-weight: 850;
}

.marketplace-detail-submeta > span,
.marketplace-card-submeta > span {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.marketplace-detail-submeta-separator,
.marketplace-card-submeta-separator {
  opacity: .6;
}

.marketplace-meta-list > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(255, 251, 243, .76);
  color: #5d4424;
  font-size: 12px;
  font-weight: 900;
}

.marketplace-detail-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin: 0;
}

.marketplace-detail-facts > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid rgba(168, 119, 41, .26);
  border-radius: 8px;
  padding: 11px 12px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .82), rgba(250, 239, 216, .56)),
    rgba(255, 248, 235, .54);
}

.marketplace-detail-facts dt {
  color: #765323;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.marketplace-detail-facts dd {
  margin: 0;
  color: #211407;
  font-size: 15px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.marketplace-detail-facts dd a {
  color: #2c1a08;
  text-decoration-color: rgba(217, 162, 65, .62);
  text-underline-offset: 3px;
}

.marketplace-detail-facts dd small {
  color: #765323;
  font-size: 12px;
  font-weight: 750;
}

.marketplace-detail-facts > .marketplace-detail-seller-fact,
.marketplace-detail-mobile-actions {
  display: none;
}

.marketplace-detail-seller-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.marketplace-detail-seller-card-head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.marketplace-detail-seller-card .marketplace-seller-avatar {
  width: 56px;
  height: 56px;
}

.marketplace-detail-seller-card .marketplace-seller-avatar i {
  font-size: 26px;
}

.marketplace-detail-seller-card-head h2 {
  margin: 0;
  color: #211407;
  font-size: 22px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.marketplace-detail-seller-card-head small {
  color: #765323;
  font-size: 12px;
  font-weight: 800;
}

.marketplace-detail-seller-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.marketplace-detail-seller-stats > div {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(168, 119, 41, .24);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 251, 243, .68);
}

.marketplace-detail-seller-stats dt {
  color: #765323;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.marketplace-detail-seller-stats dd {
  margin: 0;
  color: #211407;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.marketplace-disclaimer {
  border: 1px solid rgba(27, 198, 202, .24);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(27, 198, 202, .1);
  color: #14565a;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.marketplace-contact-box {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, .84), rgba(250, 239, 216, .6)),
    rgba(255, 248, 235, .62);
}

.marketplace-contact-box h2 {
  font-size: clamp(22px, 2.2vw, 30px);
}

.marketplace-contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
  min-width: 0;
  max-width: 100%;
}

.marketplace-contact-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #3a250b;
  font-weight: 850;
}

.marketplace-contact-form > * {
  min-width: 0;
  max-width: 100%;
}

.marketplace-contact-form label:has(textarea) {
  grid-row: auto;
}

.marketplace-contact-form textarea.form-control {
  min-height: 160px;
}

.marketplace-contact-form .btn {
  justify-self: end;
}

.events-filter-grid,
.events-calendar-grid,
.event-detail-grid {
  display: grid;
  gap: 12px;
}

.events-calendar-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.events-calendar-day {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 86px;
  min-width: 0;
  border: 1px solid rgba(168, 119, 41, .25);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 251, 243, .64);
  color: #211407;
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.events-calendar-day:hover,
.events-calendar-day:focus {
  border-color: rgba(217, 162, 65, .78);
  background: rgba(255, 248, 235, .92);
  color: #211407;
  transform: translateY(-1px);
}

.events-calendar-day.is-empty {
  visibility: hidden;
  pointer-events: none;
}

.events-calendar-day.is-today {
  border-color: rgba(27, 198, 202, .48);
  box-shadow: inset 0 0 0 1px rgba(27, 198, 202, .18);
}

.events-calendar-day.is-selected {
  border-color: rgba(217, 162, 65, .88);
  background: linear-gradient(180deg, rgba(255, 241, 202, .96), rgba(255, 251, 243, .82));
}

.events-calendar-day.has-events {
  background:
    linear-gradient(180deg, rgba(255, 248, 235, .96), rgba(255, 251, 243, .78));
}

.events-calendar-date {
  font-weight: 800;
  line-height: 1;
}

.events-calendar-chip,
.events-calendar-more,
.events-calendar-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  border-radius: 999px;
  padding: 3px 7px;
  background: #fff1ca;
  background: color-mix(in srgb, var(--event-color, #f6c85f) 24%, #fff1ca);
  color: #5d4424;
  font-size: 11px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.events-calendar-times {
  min-width: 0;
  overflow: hidden;
  color: #765323;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 761px) {
  .events-date-group .events-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .events-date-group .event-card {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 12px;
    max-width: none;
    padding: 10px 12px;
  }

  .events-date-group .event-card .shop-card-head {
    grid-column: 1;
    grid-row: 1;
  }

  .events-date-group .event-card .shop-directory-meta {
    grid-column: 1;
    grid-row: 2;
  }

  .events-date-group .event-card-labels {
    grid-column: 1;
    grid-row: 3;
  }

  .events-date-group .event-card > p {
    grid-column: 1;
    grid-row: 4;
    max-width: 720px;
  }

  .events-date-group .event-card .shop-card-actions {
    grid-column: 2;
    grid-row: 1 / span 4;
    align-self: end;
    justify-content: flex-end;
    min-width: 142px;
    max-width: 180px;
  }
}

.changelog-version ul {
  margin: 0;
  padding-left: 20px;
}

.changelog-version li {
  margin: 5px 0;
}

.alert {
  border-radius: 8px;
}

.alert-success {
  border-color: rgba(23, 98, 54, .22);
  background: var(--ok);
  color: #176236;
}

.alert-danger {
  border-color: rgba(207, 61, 131, .22);
  background: #fff2f6;
  color: #8a1c41;
}

@media (max-width: 1280px) {
  .reports-page .stats-chart-row,
  .reports-page .events-admin-tools,
  .reports-page .watchdog-admin-layout {
    grid-template-columns: 1fr;
  }

  .reports-page .watchdog-toolbar {
    grid-template-columns: 1fr;
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 0;
  }

  .brand-link {
    position: relative;
    top: auto;
    left: auto;
    order: -1;
    transform: none;
  }

  .header-nav-left,
  .header-nav-right {
    justify-self: center;
    justify-content: center;
  }

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

  .search-layout {
    grid-template-columns: minmax(300px, .45fr) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  .shop-detail-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-card-preview {
    min-height: 570px;
    padding-inline: 20px;
  }

  .search-stack-card {
    width: min(268px, calc(100% - 64px));
  }

  .search-stack-card-a {
    transform: translate(calc(-50% + 14px), 24px) rotate(6deg);
  }

  .search-stack-card-b {
    transform: translate(calc(-50% - 14px), 34px) rotate(-7deg);
  }

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

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

  .set-directory-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }

}

@media (max-width: 1360px) {
  .filter-row {
    grid-template-columns: minmax(132px, .72fr) minmax(0, 1.28fr);
  }

  .marketplace-hero-count {
    display: none;
  }

  .marketplace-hero-side {
    min-width: 0;
  }

  .marketplace-filter-search-row {
    grid-template-columns: minmax(260px, .9fr) minmax(220px, .65fr) minmax(160px, .4fr);
  }

  .marketplace-filter-detail-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketplace-filter-choice-row {
    grid-template-columns: minmax(260px, .65fr) minmax(330px, .9fr) minmax(400px, 1fr) auto;
  }

  .marketplace-filter-refine-row {
    grid-template-columns: minmax(104px, .32fr) minmax(82px, .25fr) minmax(252px, .78fr) minmax(270px, .84fr) minmax(320px, 1fr) auto;
    gap: 8px;
  }

  .marketplace-card-attributes-row {
    grid-template-columns: 118px minmax(225px, .95fr) minmax(260px, 1.05fr) minmax(190px, .75fr) minmax(203px, .85fr);
    gap: 8px;
  }

  .filter-pair-row {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(120px, .65fr);
    gap: 10px;
    min-width: 0;
  }

  .set-filter-control {
    grid-column: 1 / -1;
  }

  .marketplace-filter-search-row > .set-filter-control {
    grid-column: auto;
  }
}

@media (max-width: 1260px) {
  .marketplace-filter-choice-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketplace-filter-refine-row {
    grid-template-columns: minmax(130px, .55fr) minmax(110px, .4fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  .marketplace-filter-refine-row > .marketplace-filter-condition-label {
    grid-column: 1 / 4;
  }

  .marketplace-filter-refine-row > .marketplace-filter-submit-control {
    grid-column: 4;
  }
}

@media (max-width: 1120px) {
  .search-layout {
    grid-template-columns: minmax(320px, .48fr) minmax(0, 1fr);
    gap: 14px;
  }

  .search-card-preview {
    min-height: 540px;
    padding-inline: 18px;
  }

  .search-stack-card {
    width: min(258px, calc(100% - 66px));
  }

  .search-stack-card-a {
    transform: translate(calc(-50% + 16px), 24px) rotate(6deg);
  }

  .search-stack-card-b {
    transform: translate(calc(-50% - 16px), 34px) rotate(-7deg);
  }

  .search-side {
    padding: 16px;
  }

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

  .marketplace-filter-search-row {
    grid-template-columns: minmax(220px, .9fr) minmax(200px, .7fr) minmax(150px, .45fr);
  }

  .marketplace-filter-detail-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketplace-filter-choice-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketplace-filter-refine-row > .marketplace-filter-condition-label,
  .marketplace-filter-refine-row > .marketplace-filter-submit-control {
    grid-column: auto;
  }

  .marketplace-filter-row > .marketplace-filter-submit-control {
    justify-self: stretch;
    padding-top: 0;
  }

  .marketplace-filter-submit-control .marketplace-filter-actions {
    justify-content: stretch;
  }

  .marketplace-list-hero,
  .marketplace-manage-head {
    grid-template-columns: 1fr;
  }

  .marketplace-hero-side,
  .marketplace-hero-count {
    justify-items: stretch;
    width: 100%;
    text-align: left;
  }

  .marketplace-hero-actions,
  .marketplace-manage-head-actions {
    justify-content: flex-start;
  }

  .marketplace-form .marketplace-form-grid,
  .marketplace-form .marketplace-form-block:first-of-type .marketplace-form-grid,
  .marketplace-card-attributes-row {
    grid-template-columns: 1fr;
  }

  .marketplace-card-attributes-row {
    display: grid;
  }

  .marketplace-bulk-preview-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketplace-admin-seller-card {
    grid-template-columns: 1fr;
  }

  .marketplace-admin-seller-actions {
    justify-content: flex-start;
  }

  .marketplace-card-attributes-row > .marketplace-collector-number-label,
  .marketplace-card-attributes-row > .marketplace-choice-label:nth-child(2),
  .marketplace-card-attributes-row > .marketplace-choice-label:nth-child(3),
  .marketplace-card-attributes-row > .marketplace-choice-label:nth-child(4),
  .marketplace-card-attributes-row > .marketplace-price-label {
    width: 100%;
  }

  .marketplace-choice-group {
    width: 100%;
  }

  .marketplace-seller-profile-layout {
    grid-template-columns: 1fr;
  }

  .filter-pair-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .marketplace-detail-layout {
    grid-template-columns: 1fr;
  }

  .marketplace-detail-card {
    order: 1;
  }

  .marketplace-detail-side {
    order: 2;
  }

  .marketplace-detail-seller-card {
    display: none;
  }

  .marketplace-detail-facts > .marketplace-detail-seller-fact {
    display: grid;
  }

  .marketplace-detail-mobile-actions {
    display: flex;
  }
}

@media (max-width: 900px) {
  .search-layout {
    grid-template-columns: 1fr;
  }

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

  .marketplace-filter-search-row {
    grid-template-columns: minmax(200px, .9fr) minmax(190px, .72fr) minmax(150px, .45fr);
  }

  .marketplace-filter-detail-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketplace-filter-choice-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .events-filter-panel {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .events-filter-panel input,
  .events-filter-panel select,
  .events-filter-panel .form-control,
  .events-filter-panel .form-select {
    width: 100%;
    min-width: 0;
  }

  .events-filter-panel .event-action-btn {
    width: 100%;
    justify-content: center;
  }

}

@media (max-width: 760px) {
  .page {
    padding: 16px 12px 24px;
  }

  .hub-messages-launcher {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    min-height: 40px;
    padding: 7px 10px;
  }

  .hub-messages-modal {
    padding: 10px;
  }

  .hub-messages-dialog,
  .hub-messages-dialog.is-single {
    width: 100%;
    max-height: calc(100dvh - 20px);
  }

  .hub-messages-header {
    padding: 13px 14px;
  }

  .hub-messages-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hub-messages-list {
    display: flex;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 248, 235, .12);
    padding: 10px;
  }

  .hub-messages-list-button {
    flex: 0 0 min(260px, 78vw);
  }

  .hub-messages-detail,
  .hub-messages-dialog.is-single .hub-messages-detail {
    max-height: calc(100dvh - 142px);
    padding: 15px;
  }

  .hub-messages-dialog.is-single .hub-messages-detail {
    max-height: calc(100dvh - 20px);
    padding-top: 48px;
  }

  .hub-messages-detail h3 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .hub-messages-detail-actions,
  .hub-messages-cta,
  .hub-messages-secondary-close {
    width: 100%;
  }

  .marketplace-seller-profile-layout,
  .marketplace-seller-hero {
    grid-template-columns: 1fr;
  }

  .marketplace-seller-hero,
  .marketplace-seller-feedback-panel,
  .marketplace-seller-list-panel {
    padding: 14px;
  }

  .marketplace-seller-heading {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
  }

  .marketplace-seller-avatar {
    width: 58px;
    height: 58px;
  }

  .marketplace-seller-avatar i {
    font-size: 27px;
  }

  .marketplace-seller-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketplace-detail-seller-stats {
    grid-template-columns: 1fr;
  }

  .marketplace-detail-seller-card-head {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .marketplace-detail-mobile-actions .btn {
    flex: 1 1 140px;
  }

  .marketplace-manage-head-actions .btn,
  .marketplace-manage-head-actions form {
    width: 100%;
  }

  .marketplace-manage-head-actions form .btn {
    width: 100%;
  }

  .marketplace-bulk-import-head,
  .marketplace-bulk-preview-head,
  .marketplace-admin-section-header,
  .marketplace-admin-listing-head {
    grid-template-columns: 1fr;
  }

  .marketplace-bulk-preview-fields {
    grid-template-columns: 1fr;
  }

  .marketplace-admin-bulkbar,
  .marketplace-admin-subtabs,
  .marketplace-admin-seller-actions {
    align-items: stretch;
  }

  .marketplace-admin-bulkbar > *,
  .marketplace-admin-subtabs a,
  .marketplace-admin-seller-actions .btn,
  .marketplace-admin-seller-actions form,
  .marketplace-admin-seller-actions button {
    flex: 1 1 auto;
  }

  .marketplace-admin-select-card {
    justify-content: flex-start;
  }

  .marketplace-feedback-bar {
    gap: 5px;
  }

  .marketplace-manage-card,
  .marketplace-admin-card {
    grid-template-columns: 1fr;
  }

  .marketplace-manage-card > figure,
  .marketplace-admin-images {
    max-width: 180px;
  }

  .reports-admin-hero {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .reports-admin-hero h1 {
    font-size: clamp(31px, 10vw, 42px);
  }

  .reports-admin-hero .muted {
    max-width: none;
    font-size: 14px;
    line-height: 1.35;
  }

  .reports-admin-actions,
  .reports-page .actions,
  .reports-page .header-actions {
    justify-content: flex-start;
  }

  .reports-page .stats-panel-header,
  .reports-page .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .reports-page .stats-panel-header .actions,
  .reports-page .section-head .actions {
    width: 100%;
    justify-content: flex-start;
  }

  .report-tabs {
    top: 6px;
    margin-bottom: 12px;
    padding: 7px;
  }

  .report-tabs a {
    min-height: 35px;
    padding: 7px 10px;
    font-size: 13px;
  }

  .reports-page .stats-split,
  .reports-page .stats-chart-row,
  .reports-page .events-admin-tools,
  .reports-page .watchdog-admin-layout,
  .reports-page .maintenance-cron,
  .reports-page .event-admin-card {
    grid-template-columns: 1fr;
  }

  .reports-page .stats-grid,
  .reports-page .summary-stats,
  .reports-page .funnel-grid,
  .reports-page .shop-overview-summary,
  .reports-page .maintenance-card-stats,
  .reports-page .marketplace-admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketplace-admin-insights {
    grid-template-columns: 1fr;
  }

  .reports-page .stats-grid strong,
  .reports-page .summary-stats strong,
  .reports-page .funnel-grid strong,
  .reports-page .shop-overview-summary strong,
  .reports-page .maintenance-card-stats strong,
  .reports-page .marketplace-admin-stats strong {
    font-size: 20px;
  }

  .reports-page .stats-grid > span,
  .reports-page .summary-stats > span,
  .reports-page .summary-stats > button,
  .reports-page .funnel-grid > span,
  .reports-page .shop-overview-summary > span,
  .reports-page .maintenance-card-stats > span,
  .reports-page .marketplace-admin-stats > span,
  .reports-page .marketplace-admin-stats > div {
    min-height: 64px;
    padding: 9px;
  }

  .reports-page .stats-day-chart {
    grid-template-columns: repeat(30, minmax(5px, 1fr));
    gap: 2px;
    min-height: 110px;
  }

  .reports-page .stats-day-chart span {
    min-height: 96px;
  }

  .reports-page .stats-day-chart em {
    font-size: 8px;
  }

  .reports-page .watchdog-email-group > summary,
  .reports-page .watchdog-item {
    grid-template-columns: 1fr;
  }

  .reports-page .shop-detail-admin-head,
  .reports-page .shop-account-detail-form {
    grid-template-columns: 1fr;
  }

  .reports-page .shop-detail-admin-identity {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 11px;
  }

  .reports-page .shop-detail-admin-logo {
    width: 70px;
    height: 70px;
  }

  .reports-page .shop-detail-admin-logo img {
    max-width: 58px;
    max-height: 48px;
  }

  .reports-page .shop-detail-admin-title-row h3 {
    font-size: 21px;
  }

  .reports-page .shop-detail-admin-actions,
  .reports-page .shop-account-detail-form .btn,
  .reports-page .shop-password-row {
    width: 100%;
  }

  .reports-page .shop-password-row {
    grid-template-columns: 1fr;
  }

  .reports-page .shop-account-toggle {
    justify-self: start;
  }

  .reports-page .event-admin-actions,
  .reports-page .watchdog-admin-actions,
  .reports-page .maintenance-cron-actions {
    justify-content: flex-start;
  }

  .header-nav {
    gap: 10px 14px;
    font-size: 14px;
  }

  .brand-logo {
    width: min(300px, 82vw);
  }

  .search-input-shell {
    border-width: 2px;
  }

  .search-input-shell::before {
    bottom: -13px;
    height: 14px;
  }

  .search-input-shell::after {
    bottom: -8px;
    height: 6px;
  }

  .card-autocomplete {
    left: 10px;
    right: 10px;
    max-height: min(330px, 54vh);
  }

  .search-input-icon {
    padding-left: 8px;
    font-size: 22px;
  }

  body[data-search-mode="single"] #cardInput {
    height: 54px;
    min-height: 54px;
    max-height: 54px;
    padding: 10px 6px;
    font-size: 17px;
  }

  #startBtn.btn {
    min-width: 106px;
    height: 44px;
    min-height: 44px;
    padding: 0 12px;
    font-size: 13px;
    gap: 6px;
  }

  #startBtn.btn i {
    font-size: 16px;
  }

  #startBtn.btn .spinner-border {
    width: 16px;
    height: 16px;
  }

  .search-side,
  .panel {
    padding: 14px;
  }

  .shop-grid,
  .search-side .shop-grid,
  .shop-directory-grid,
  .shop-directory-cta,
  .filter-row,
  .filter-pair-row,
  .marketplace-filter-primary,
  .events-filter-panel,
  .cookie-banner-content,
  .shop-directory-intro,
  .single-summary-body,
  .set-directory-page .set-directory-search {
    grid-template-columns: 1fr;
  }

  .shop-detail-hero {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .shop-directory-cta {
    align-items: start;
  }

  .shop-directory-cta .btn {
    justify-self: start;
    width: auto;
    max-width: 100%;
  }

  .shop-detail-logo {
    width: 76px;
    height: 76px;
  }

  .shop-detail-logo img {
    max-width: 62px;
    max-height: 62px;
  }

  .shop-detail-hero h1 {
    font-size: clamp(29px, 9vw, 42px);
  }

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

  .shop-grid,
  .search-side .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .set-directory-grid {
    grid-template-columns: 1fr;
  }

  .set-directory-card {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .set-directory-symbol {
    width: 54px;
    min-height: 62px;
    padding: 6px;
  }

  .set-directory-symbol img {
    max-width: 35px;
    max-height: 35px;
  }

  .set-directory-generated-symbol {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }

  .set-directory-symbol span,
  .set-directory-facts span,
  .set-directory-codes span {
    font-size: 11px;
  }

  .set-directory-body h3 {
    font-size: 17px;
  }

  .filter-row > .controls,
  .filter-pair-row > .controls,
  .set-filter-control {
    min-height: 0;
  }

  .filter-variant-row,
  .filter-pair-row > .controls,
  .set-filter-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .preset-group-wrap,
  .filter-pair-row .preset-group {
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow-x: visible;
  }

  .marketplace-filter-panel,
  .events-filter-panel,
  .set-directory-page .set-directory-search {
    padding: 13px;
  }

  .marketplace-pagination {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .marketplace-pagination-controls {
    justify-content: flex-start;
  }

  .marketplace-main-list-panel .marketplace-grid,
  .marketplace-seller-list-panel .marketplace-grid,
  .marketplace-detail-related-grid {
    grid-template-columns: 1fr;
  }

  .marketplace-page-btn,
  .marketplace-page-ellipsis {
    min-width: 34px;
    min-height: 34px;
    padding: 6px 9px;
  }

  .marketplace-page-arrow {
    min-width: 0;
  }

  .marketplace-submit-hero {
    grid-template-columns: 1fr;
  }

  .marketplace-submit-hero > .btn {
    justify-self: stretch;
    white-space: normal;
  }

  .marketplace-photo-grid {
    grid-template-columns: 1fr;
  }

  .marketplace-upload-control {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .marketplace-upload-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .marketplace-seller-search {
    display: grid;
    grid-template-columns: 1fr;
  }

  .marketplace-seller-search .btn {
    width: 100%;
  }

  .marketplace-detail-title h1 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .marketplace-detail-facts,
  .marketplace-contact-form {
    grid-template-columns: 1fr;
  }

  .marketplace-contact-form {
    align-items: stretch;
  }

  .marketplace-contact-form label:has(textarea) {
    grid-row: auto;
  }

  .marketplace-contact-form .btn {
    justify-self: stretch;
    white-space: normal;
  }

  .footer-connect {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .footer-connect-share,
  .footer-checkers,
  .share-strip-actions {
    justify-content: center;
  }

  .footer-main {
    gap: 16px;
    padding: 36px 16px 20px;
  }

  .site-footer .footer-note {
    max-width: 100%;
  }

  .footer-actions a,
  .footer-link-button {
    font-size: 12px;
  }

  .footer-actions {
    gap: 4px 10px;
  }

  .footer-actions > * + *::before {
    left: -6px;
    width: 2px;
    height: 2px;
  }

  .footer-bottom {
    padding: 13px 18px 15px;
  }

  .help-dialog,
  .support-dialog {
    width: min(520px, 100%);
  }

  .favorites-dialog {
    width: min(560px, 100%);
    height: calc(100dvh - 20px);
    max-height: calc(100dvh - 20px);
  }

  .help-dialog .app-modal-header,
  .favorites-dialog .app-modal-header,
  .support-dialog .app-modal-header {
    padding: 16px 16px 12px;
  }

  .help-intro,
  .help-steps,
  .help-sections {
    margin-right: 14px;
    margin-left: 14px;
  }

  .help-intro {
    padding: 11px 12px;
    font-size: 14px;
  }

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

  .favorites-modal-body,
  .support-content {
    padding: 2px 14px 16px;
  }

  .favorites-intro {
    padding: 11px 12px;
    font-size: 14px;
  }

  .favorite-offer-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
  }

  .favorite-offer-image {
    width: 64px;
    height: 90px;
  }

  .favorite-offer-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
    align-content: start;
  }

  .favorite-offer-actions .btn {
    min-width: 0;
    padding-right: 8px;
    padding-left: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
  }

  .support-options {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .support-option,
  .support-option-featured {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 6px 10px;
    padding: 11px;
    transform: none;
  }

  .support-option em,
  .support-option h3,
  .support-option strong,
  .support-option span {
    grid-column: 1;
  }

  .support-option h3 {
    font-size: 17px;
  }

  .support-option strong {
    font-size: 30px;
  }

  .support-option img {
    grid-column: 2;
    grid-row: 1 / span 4;
    align-self: center;
    width: 112px;
    height: 112px;
    max-width: 112px;
    padding: 5px;
    margin: 0;
  }

  .marketplace-filter-footer,
  .marketplace-filter-actions,
  .marketplace-sort-form,
  .events-filter-panel .event-action-btn {
    justify-content: stretch;
  }

  .marketplace-filter-actions .btn,
  .marketplace-sort-form .btn,
  .marketplace-sort-form .form-select,
  .events-filter-panel .event-action-btn {
    width: 100%;
  }

  .events-control-panel {
    gap: 12px;
    padding: 13px;
  }

  .events-control-panel .events-filter-disclosure {
    padding-top: 10px;
  }

  .events-public-layout {
    padding-top: 14px;
  }

  .event-detail-hero {
    padding: 16px;
  }

  .event-detail-title-row {
    align-items: flex-start;
  }

  .event-detail-title-row h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .event-detail-status {
    align-self: flex-start;
  }

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

  .event-detail-card,
  .event-detail-shop-card {
    padding: 13px;
  }

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

  .event-detail-shop-card {
    position: static;
  }

  .marketplace-list-head {
    flex-direction: column;
    align-items: stretch;
  }

  .events-date-groups {
    gap: 16px;
  }

  .events-date-head {
    align-items: center;
  }

  .events-date-head h3 {
    font-size: 24px;
  }

  .events-list {
    grid-template-columns: 1fr;
  }

  .event-card {
    padding: 12px;
  }

  .events-date-group .event-card {
    max-width: none;
  }

  .event-card .shop-card-head {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 9px;
  }

  .event-card .event-card-logo {
    width: 48px;
    height: 48px;
  }

  .event-card .event-card-logo img {
    max-width: 39px;
    max-height: 39px;
  }

  .event-card-title h2 {
    font-size: 20px;
  }

  .event-card .shop-card-actions {
    gap: 7px;
  }

  .event-card .shop-card-actions .btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  .events-calendar-weekdays,
  .events-calendar-grid {
    gap: 6px;
  }

  .events-calendar-panel {
    padding: 10px;
  }

  .events-calendar-head h2 {
    font-size: 24px;
  }

  .events-calendar-day {
    min-height: 56px;
    padding: 6px;
  }

  .events-calendar-chip,
  .events-calendar-more,
  .events-calendar-count {
    max-width: 100%;
    overflow: hidden;
    padding: 2px 5px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .events-calendar-times {
    display: none;
  }

  .set-filter-row {
    grid-template-columns: 1fr;
  }

  .advanced-options,
  .advanced-price-card {
    grid-template-columns: 1fr;
  }

  .advanced summary {
    padding: 9px 10px;
  }

  .advanced-toggle,
  .advanced-price-card {
    padding: 10px;
  }

  .advanced-price-input {
    width: 100%;
  }

  #setDirectorySearchCount {
    justify-self: start;
  }

  .search-card-preview {
    padding: 18px 14px;
  }

  .search-card-frame,
  .search-stack-card {
    width: min(285px, 74vw);
  }

  .search-stack-card {
    width: min(260px, 68vw);
  }

  .search-stack-card-a {
    transform: translate(calc(-50% + 18px), 24px) rotate(7deg);
  }

  .search-stack-card-b {
    transform: translate(calc(-50% - 22px), 36px) rotate(-9deg);
  }

  .search-card-preview-text {
    padding: 14px;
  }

  .search-card-preview-text.has-offer .search-card-preview-meta {
    grid-template-columns: 1fr;
    grid-template-areas:
      "price"
      "set"
      "shop"
      "stats"
      "actions";
  }

  .search-card-preview-text.has-missing-preview .search-card-preview-meta {
    grid-template-columns: 1fr;
    grid-template-areas:
      "message"
      "badges"
      "actions";
  }

  .search-card-preview-text.has-offer .hero-result-offer-price {
    justify-items: start;
    text-align: left;
  }

  .hero-result-actions {
    grid-template-columns: 1fr 44px;
  }

  .detail-table-wrap.offer-mode {
    padding: 9px;
  }

  .offer-card {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 10px;
  }

  .offer-card.selected {
    padding-top: 24px;
  }

  .offer-card-image {
    width: 54px;
    min-width: 54px;
    max-width: 54px;
  }

  .identity-picker-panel {
    padding: 10px;
  }

  .identity-picker-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .identity-choice-card {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 9px;
  }

  .identity-choice-card img,
  .identity-choice-image-empty {
    width: 50px;
    height: 70px;
    max-width: 50px;
    min-width: 50px;
  }

  .offer-card-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "shop"
      "badges"
      "actions";
    gap: 7px;
  }

  .offer-card-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .offer-card-head strong {
    justify-self: start;
    font-size: 22px;
  }

  .offer-card-actions {
    justify-content: flex-start;
  }

  .offer-card-actions .btn {
    flex: 1 1 auto;
  }

  .selected-card-side-tile {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    grid-template-areas:
      "image shop price"
      "image attrs price"
      "actions actions actions";
    gap: 6px 8px;
    padding: 8px;
  }

  .selected-card-side-card-image,
  .selected-card-side-image-empty {
    display: block;
    width: 46px;
  }

  .selected-card-side-shop,
  .selected-card-side-attrs,
  .selected-card-side-price {
    grid-column: auto;
    grid-row: auto;
  }

  .selected-card-side-shop {
    grid-area: shop;
  }

  .selected-card-side-attrs {
    grid-area: attrs;
  }

  .selected-card-side-price {
    grid-area: price;
    min-width: 0;
    text-align: right;
  }

  .selected-card-side-actions {
    grid-area: actions;
    justify-content: stretch;
  }

  .selected-card-side-tile.selected .selected-card-side-price {
    grid-area: price;
    text-align: right;
  }

  .selected-card-side-tile.selected .selected-card-side-actions {
    grid-area: actions;
    justify-content: stretch;
  }

  .selected-card-side-open {
    flex: 1 1 auto;
    text-align: center;
  }

  .set-symbol-inline {
    flex-basis: 22px;
    width: 22px;
    height: 22px;
  }

  .summary-panel::before,
  .detail-panel::before {
    display: none;
  }

  .partner-slot,
  .hub-banner {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    transform: none;
  }
}

@media (max-width: 520px) {
  .help-dialog .app-modal-header,
  .favorites-dialog .app-modal-header {
    align-items: flex-start;
  }

  .help-dialog .app-modal-header .btn,
  .favorites-dialog .app-modal-header .btn {
    padding: 6px 11px;
  }

  .help-steps {
    grid-template-columns: 1fr;
  }

  .help-section,
  .help-card {
    padding: 12px;
  }

  .favorite-offer-card {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 9px;
    align-items: stretch;
  }

  .favorite-offer-image {
    width: 56px;
    height: 78px;
  }

  .favorite-offer-body strong {
    font-size: 16px;
  }

  .favorite-offer-actions {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .favorites-actions {
    justify-content: stretch;
  }

  .favorites-actions .btn {
    width: 100%;
  }

  .set-directory-grid {
    grid-template-columns: 1fr;
  }
}

#setDetailFilters .set-detail-filter-row {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

#setDetailFilters .set-detail-filter-row > .controls:nth-child(1) {
  grid-column: span 4;
}

#setDetailFilters .set-detail-filter-row > .controls:nth-child(2) {
  grid-column: span 5;
}

#setDetailFilters .set-detail-filter-row > .controls:nth-child(3) {
  grid-column: span 3;
}

#setDetailFilters .set-detail-type-filter,
#setDetailFilters .set-detail-inkwell-filter,
#setDetailFilters .set-detail-group-filter {
  grid-column: span 4;
}

#setDetailFilters.is-grid-view .set-detail-type-filter,
#setDetailFilters.is-grid-view .set-detail-inkwell-filter {
  grid-column: span 6;
}

@media (min-width: 761px) and (max-width: 1180px) {
  #setDetailFilters.set-detail-filter-panel.input-block {
    padding: 10px;
  }

  #setDetailFilters .set-detail-filter-sheet-head {
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  #setDetailFilters .set-detail-filter-row {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 10px;
  }

  #setDetailFilters .set-detail-filter-row > .controls:nth-child(1),
  #setDetailFilters .set-detail-filter-row > .controls:nth-child(2) {
    grid-column: span 6;
  }

  #setDetailFilters .set-detail-filter-row > .controls:nth-child(3) {
    grid-column: span 6;
  }

  #setDetailFilters .set-detail-type-filter,
  #setDetailFilters .set-detail-inkwell-filter {
    grid-column: span 3;
  }

  #setDetailFilters .set-detail-group-filter {
    grid-column: span 6;
  }

  #setDetailFilters.is-grid-view .set-detail-type-filter,
  #setDetailFilters.is-grid-view .set-detail-inkwell-filter {
    grid-column: span 3;
  }

  #setDetailFilters:not(.is-grid-view) .set-detail-filter-row > .controls:nth-child(3) {
    grid-column: span 4;
  }

  #setDetailFilters:not(.is-grid-view) .set-detail-type-filter {
    grid-column: span 2;
  }

  #setDetailFilters:not(.is-grid-view) .set-detail-inkwell-filter,
  #setDetailFilters:not(.is-grid-view) .set-detail-group-filter {
    grid-column: span 3;
  }
}

@media (max-width: 760px) {
  #setDetailFilters .set-detail-filter-row,
  #setDetailFilters.is-grid-view .set-detail-filter-row {
    grid-template-columns: minmax(0, 1fr);
  }

  #setDetailFilters .set-detail-filter-row > .controls:nth-child(1),
  #setDetailFilters .set-detail-filter-row > .controls:nth-child(2),
  #setDetailFilters .set-detail-filter-row > .controls:nth-child(3),
  #setDetailFilters .set-detail-type-filter,
  #setDetailFilters .set-detail-inkwell-filter,
  #setDetailFilters .set-detail-group-filter,
  #setDetailFilters.is-grid-view .set-detail-type-filter,
  #setDetailFilters.is-grid-view .set-detail-inkwell-filter {
    grid-column: 1 / -1;
  }
}

.site-header-menu {
  display: contents;
}

.site-menu-toggle,
.mobile-filter-sheet-head,
.mobile-filter-sheet-actions,
.mobile-filter-backdrop,
.mobile-action-bar,
.marketplace-mobile-toolbar,
.marketplace-filter-sheet-head,
.marketplace-filter-sheet-actions,
.marketplace-filter-backdrop,
.marketplace-loading-skeleton,
.marketplace-mobile-action-bar {
  display: none;
}

.search-mobile-collapse > summary {
  list-style: none;
}

.search-mobile-collapse > summary::-webkit-details-marker {
  display: none;
}

.search-active-filters,
.marketplace-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px auto 0;
  max-width: min(760px, 100%);
}

.marketplace-active-filters {
  margin: -4px 0 12px;
}

.search-active-filter-chip,
.search-active-filter-reset,
.marketplace-active-filters span,
.marketplace-active-filters a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(168, 119, 41, .28);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 246, 222, .92);
  color: #4c3210;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.search-active-filter-reset,
.marketplace-active-filters a {
  background: rgba(255, 251, 243, .96);
  cursor: pointer;
}

.search-results-skeleton {
  display: grid;
  gap: 12px;
  overflow: hidden;
}

.search-results-skeleton.d-none {
  display: none;
}

.skeleton-line,
.skeleton-grid span,
.marketplace-skeleton-card {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(232, 216, 184, .88);
}

.skeleton-line::after,
.skeleton-grid span::after,
.marketplace-skeleton-card::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent);
  animation: mobile-skeleton-shimmer 1.15s ease-in-out infinite;
}

.skeleton-line-title {
  width: min(280px, 70%);
  height: 18px;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.skeleton-grid span {
  height: 86px;
  border-radius: 10px;
}

.marketplace-loading-skeleton {
  gap: 12px;
  margin-bottom: 14px;
}

.marketplace-skeleton-card {
  display: block;
  min-height: 178px;
  border-radius: 10px;
}

body.marketplace-loading .marketplace-loading-skeleton {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.marketplace-loading .marketplace-grid,
body.marketplace-loading .marketplace-empty-state,
body.marketplace-loading .marketplace-pagination {
  opacity: .36;
  pointer-events: none;
}

@keyframes mobile-skeleton-shimmer {
  to {
    transform: translateX(100%);
  }
}

@media (max-width: 700px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .page,
  .search-panel,
  .search-query-block,
  .search-layout,
  .search-main,
  .search-side,
  .input-block,
  .panel,
  .marketplace-filter-panel,
  .marketplace-list-panel {
    max-width: 100%;
    min-width: 0;
  }

  .marketplace-page {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .marketplace-main-list-panel {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .site-header {
    position: relative;
    z-index: 100;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 8px;
    min-height: 66px;
    margin-bottom: 10px;
    padding: 4px 0 8px;
    overflow: visible;
  }

  .site-header .brand-link {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    transform: none;
  }

  .site-header .brand-logo {
    width: clamp(190px, 54vw, 260px);
  }

  .site-menu-toggle {
    appearance: none;
    display: inline-grid;
    grid-column: 1;
    grid-row: 1;
    place-items: center;
    justify-self: start;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(217, 162, 65, .5);
    border-radius: 8px;
    padding: 0;
    background: rgba(255, 248, 235, .94);
    color: #24170c;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
    cursor: pointer;
  }

  .site-menu-toggle i {
    font-size: 24px;
    line-height: 1;
  }

  .site-menu-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .site-header > .site-header-menu {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 8px;
    width: 100%;
    border: 1px solid rgba(217, 162, 65, .28);
    border-radius: 8px;
    padding: 8px;
    background: rgba(255, 248, 235, .98);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
  }

  .site-header.is-menu-open > .site-header-menu {
    display: grid;
  }

  .site-header .header-nav-left,
  .site-header .header-nav-right {
    justify-self: stretch;
    justify-content: stretch;
    order: initial;
  }

  .site-header .header-nav {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 6px;
    max-width: 100%;
  }

  .site-header .header-nav a,
  .site-header .header-nav button,
  .site-header .header-nav .support-btn,
  .site-header .header-nav .favorites-nav-btn {
    justify-content: flex-start;
    width: 100%;
    min-height: 42px;
    border-radius: 8px;
    padding: 8px 10px;
    background: rgba(255, 251, 243, .98);
    color: #24170c;
    font-size: 14px;
    font-weight: 800;
    text-shadow: none;
  }

  .site-header .header-nav a[aria-current="page"] {
    background: rgba(248, 229, 186, .92);
    color: #4c3210;
  }

  .site-header .header-nav a[aria-current="page"]::after,
  .site-header .header-nav a:hover::after,
  .site-header .header-nav button:hover::after {
    content: none;
  }

  .site-header .header-nav i {
    display: inline-grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border: 1px solid currentColor;
    border-radius: 8px;
    color: #8d5f1b;
    font-size: 14px;
  }

  .favorites-nav-btn em {
    top: 2px;
    right: 6px;
  }

  .energy-rail,
  .search-link-actions {
    display: none;
  }

  body.search-filter-sheet-open,
  body.marketplace-filter-open {
    overflow: hidden;
  }

  body.search-filter-sheet-open .search-mobile-action-bar,
  body.marketplace-filter-open .marketplace-mobile-action-bar {
    display: none;
  }

  body[data-search-mode="single"] .search-input-shell,
  body.search-running[data-search-mode="single"] .search-input-shell {
    display: flex;
    grid-template-columns: none;
    align-items: center;
    gap: 6px;
    width: 100%;
    max-width: calc(100vw - 28px);
    min-height: 52px;
    padding: 5px;
    border-radius: 18px;
    overflow: hidden;
  }

  body[data-search-mode="single"] #cardInput {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    padding: 0 6px;
    overflow: hidden;
    resize: none;
    white-space: nowrap;
    font-size: 16px;
    line-height: 52px;
  }

  body[data-search-mode="single"] .primary-search-actions,
  body.search-running[data-search-mode="single"] .primary-search-actions {
    flex: 0 0 56px;
    width: 56px;
    min-width: 56px;
  }

  body[data-search-mode="single"] #startBtn.btn,
  body[data-search-mode="single"] #stopBtn.btn,
  body.search-running[data-search-mode="single"] #startBtn.btn {
    display: inline-grid;
    place-items: center;
    width: 52px;
    min-width: 52px;
    max-width: 52px;
    height: 52px;
    min-height: 52px;
    border-radius: 14px;
    padding: 0;
    font-size: 0;
    line-height: 1;
  }

  body[data-search-mode="single"] #startBtn.btn .start-search-icon,
  body[data-search-mode="single"] #stopBtn.btn i,
  body.search-running[data-search-mode="single"] #startBtn.btn .start-search-icon {
    margin: 0;
    font-size: 20px;
    line-height: 1;
  }

  body.search-running[data-search-mode="single"] #startBtn.btn.is-running .spinner-border:not(.d-none) {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-width: 2px;
  }

  body.search-running[data-search-mode="single"] #startBtn.btn.is-running .spinner-border:not(.d-none) + .start-search-icon {
    display: none;
  }

  body[data-search-mode="single"] #startBtn.btn #startText,
  body[data-search-mode="single"] #stopBtn.btn span,
  body.search-running[data-search-mode="single"] #startBtn.btn #startText {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  #searchHistory,
  .search-active-filters,
  .marketplace-active-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  #searchHistory::-webkit-scrollbar,
  .search-active-filters::-webkit-scrollbar,
  .marketplace-active-filters::-webkit-scrollbar {
    display: none;
  }

  .search-history-chip,
  .search-active-filter-chip,
  .search-active-filter-reset,
  .marketplace-active-filters span,
  .marketplace-active-filters a {
    flex: 0 0 auto;
  }

  .search-history-label {
    display: none;
  }

  .search-side,
  .marketplace-filter-panel {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10850;
    max-height: min(92dvh, 800px);
    margin: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border-radius: 18px 18px 0 0;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
    background:
      linear-gradient(180deg, rgba(255, 251, 243, .99), rgba(251, 242, 223, .98)),
      var(--paper);
    box-shadow: 0 -24px 54px rgba(0, 0, 0, .32);
    transform: translateY(105%);
    transition: transform .22s ease;
  }

  body.search-filter-sheet-open .search-side,
  body.marketplace-filter-open .marketplace-filter-panel {
    transform: translateY(0);
  }

  .mobile-filter-backdrop,
  .marketplace-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10840;
    display: block;
    background: rgba(7, 16, 31, .56);
  }

  .mobile-filter-backdrop[hidden],
  .marketplace-filter-backdrop[hidden] {
    display: none;
  }

  .mobile-filter-sheet-head,
  .marketplace-filter-sheet-head {
    position: sticky;
    top: -12px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -12px -12px 12px;
    border-bottom: 1px solid rgba(168, 119, 41, .22);
    padding: 13px 12px 11px;
    background: rgba(255, 251, 243, .98);
  }

  .mobile-filter-sheet-head > div,
  .marketplace-filter-sheet-head > div {
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  .mobile-filter-sheet-head strong,
  .marketplace-filter-sheet-head strong {
    color: #2a1a0a;
    font-size: 15px;
    font-weight: 900;
  }

  .mobile-filter-sheet-head span,
  .marketplace-filter-sheet-head span {
    overflow: hidden;
    color: #6b5637;
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-filter-sheet-actions,
  .marketplace-filter-sheet-actions {
    position: sticky;
    bottom: calc(-12px - env(safe-area-inset-bottom));
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 8px;
    margin: 12px -12px calc(-12px - env(safe-area-inset-bottom));
    border-top: 1px solid rgba(168, 119, 41, .22);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 251, 243, .98);
  }

  .mobile-filter-sheet-actions .btn,
  .marketplace-filter-sheet-actions .btn,
  .marketplace-mobile-toolbar .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    border-radius: 12px;
    font-weight: 900;
  }

  .search-side-cta,
  .marketplace-filter-submit-control {
    display: none !important;
  }

  .search-side .filter-section,
  .search-side .advanced,
  .marketplace-filter-section {
    padding: 12px;
  }

  .marketplace-filter-section {
    padding: 9px;
  }

  .marketplace-filter-all-section,
  .marketplace-filter-row {
    gap: 8px;
  }

  .marketplace-filter-row > .marketplace-filter-control,
  .marketplace-filter-row > .set-filter-control {
    gap: 5px;
  }

  .search-mobile-collapse > summary.filter-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 34px;
    cursor: pointer;
  }

  .filter-row,
  .filter-pair-row,
  .marketplace-filter-search-row,
  .marketplace-filter-detail-row,
  .marketplace-filter-choice-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .marketplace-filter-detail-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .marketplace-filter-refine-row > .marketplace-filter-language-label,
  .marketplace-filter-refine-row > .marketplace-filter-variant-label,
  .marketplace-filter-refine-row > .marketplace-filter-condition-label,
  .marketplace-filter-refine-row > .marketplace-filter-submit-control {
    grid-column: 1 / -1;
  }

  .preset-group,
  .preset-group-wrap,
  .marketplace-choice-group {
    max-width: 100%;
  }

  .marketplace-filter-panel .marketplace-choice-group {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .marketplace-filter-panel .marketplace-choice-group .preset-btn {
    width: 100%;
    min-width: 0;
    min-height: 28px;
    padding: 3px 5px;
    font-size: 11.5px;
  }

  .marketplace-mobile-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 8px;
    margin: -4px 0 10px;
  }

  .search-mobile-action-bar,
  .marketplace-mobile-action-bar,
  .set-detail-mobile-action-bar {
    position: fixed;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 10px;
    z-index: 10820;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    border: 1px solid rgba(217, 162, 65, .28);
    border-radius: 18px;
    padding: 6px;
    background: rgba(255, 248, 235, .96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .26);
    backdrop-filter: blur(14px);
  }

  .search-mobile-action-bar {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.16fr) minmax(0, .9fr);
  }

  .mobile-action-btn {
    appearance: none;
    position: relative;
    display: grid;
    justify-items: center;
    gap: 2px;
    min-width: 0;
    min-height: 54px;
    border: 0;
    border-radius: 13px;
    padding: 7px 5px;
    background: transparent;
    color: #6b5637;
    font: 900 11px/1.15 system-ui, sans-serif;
    text-decoration: none;
  }

  .mobile-action-btn i {
    font-size: 18px;
    line-height: 1;
  }

  .mobile-action-primary,
  .set-detail-mobile-action-bar .mobile-action-btn.active {
    background: linear-gradient(180deg, #d9a241, #a87729);
    color: #24170c;
    box-shadow: 0 10px 20px rgba(168, 119, 41, .25);
  }

  .mobile-action-btn:disabled {
    opacity: .45;
  }

  .mobile-action-btn em {
    position: absolute;
    top: 5px;
    right: 12px;
    min-width: 18px;
    border-radius: 999px;
    padding: 1px 5px;
    background: var(--magenta);
    color: #fff;
    font-size: 10px;
    font-style: normal;
    line-height: 1.45;
  }

  .search-results-skeleton {
    margin-top: 10px;
    padding: 14px;
  }

  .skeleton-grid,
  body.marketplace-loading .marketplace-loading-skeleton {
    grid-template-columns: 1fr;
  }

  .skeleton-grid span {
    height: 72px;
  }

  .marketplace-skeleton-card {
    min-height: 108px;
  }

  .run-popup {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    z-index: 10830;
    width: auto;
    max-width: none;
    max-height: calc(100dvh - 112px);
    margin: 0;
    overflow: auto;
  }
}

@media (max-width: 700px) {
  body[data-search-mode="single"] .search-input-shell.card-autocomplete-open,
  body.search-running[data-search-mode="single"] .search-input-shell.card-autocomplete-open {
    overflow: visible;
    z-index: 10920;
  }

  .search-input-shell.card-autocomplete-open .card-autocomplete {
    top: calc(100% + 9px);
    left: 0;
    right: 0;
    z-index: 10930;
    max-height: min(360px, 48vh);
    border-radius: 12px;
  }

  .card-autocomplete-item {
    min-width: 0;
  }

  .card-autocomplete-body,
  .card-autocomplete-item strong,
  .card-autocomplete-item small {
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .search-card-preview-text,
  .search-card-preview-text.has-offer,
  .search-card-preview-text.has-missing-preview,
  .search-card-preview-text.has-catalog-preview {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .search-card-preview-text strong {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .search-card-preview-meta,
  .search-card-preview-text.has-offer .search-card-preview-meta,
  .search-card-preview-text.has-missing-preview .search-card-preview-meta,
  .search-card-preview-text.has-catalog-preview .search-card-preview-meta {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
  }

  .search-card-preview-text.has-offer .search-card-preview-meta {
    grid-template-areas:
      "price"
      "shop"
      "set"
      "stats"
      "actions";
  }

  .search-card-preview-text.has-missing-preview .search-card-preview-meta {
    grid-template-areas:
      "message"
      "badges"
      "actions";
  }

  .search-card-preview-text.has-catalog-preview .search-card-preview-meta {
    grid-template-areas:
      "message"
      "set"
      "actions";
  }

  .hero-result-offer,
  .hero-result-card-subtitle,
  .hero-result-subline,
  .hero-result-stats,
  .hero-result-badges,
  .hero-result-actions,
  .hero-result-stat {
    min-width: 0;
    max-width: 100%;
  }

  .search-card-preview-text.has-offer .hero-result-offer-price {
    justify-items: start;
    text-align: left;
  }

  .hero-result-offer-price > span {
    font-size: clamp(24px, 8vw, 32px);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .hero-result-offer small,
  .hero-result-card-subtitle,
  .hero-result-subline,
  .hero-result-shop-name,
  .hero-result-stat {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .hero-result-card-subtitle {
    border-radius: 8px;
  }

  .hero-result-subline {
    align-items: flex-start;
  }

  .hero-result-stats,
  .hero-result-badges {
    justify-content: flex-start;
  }

  .hero-result-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .search-card-preview-text.has-offer .hero-result-actions {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .hero-result-actions .hero-result-action.btn,
  .hero-result-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .search-card-preview-text.has-offer .hero-result-actions .hero-favorite-btn {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }

  .detail-filter-toggle {
    appearance: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(104px, auto);
    align-items: stretch;
    gap: 10px;
    width: 100%;
    min-height: 58px;
    border: 1px solid rgba(168, 119, 41, .48);
    border-radius: 8px;
    padding: 8px;
    background:
      linear-gradient(180deg, rgba(255, 251, 243, .96), rgba(248, 229, 186, .78)),
      rgba(255, 251, 243, .9);
    color: #2a1a0a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 8px 18px rgba(77, 49, 11, .12);
    cursor: pointer;
    text-align: left;
  }

  .detail-filter-toggle:hover,
  .detail-filter-toggle:focus-visible {
    border-color: rgba(168, 119, 41, .82);
    background:
      linear-gradient(180deg, rgba(255, 251, 243, .98), rgba(246, 216, 151, .86)),
      rgba(255, 251, 243, .94);
    outline: none;
  }

  .detail-filter-toggle:focus-visible {
    box-shadow: 0 0 0 3px rgba(27, 198, 202, .24), inset 0 1px 0 rgba(255, 255, 255, .76);
  }

  #detailPanel.detail-filters-expanded .detail-filter-toggle {
    border-color: rgba(27, 198, 202, .52);
    background:
      linear-gradient(180deg, rgba(238, 251, 250, .96), rgba(255, 248, 235, .9)),
      rgba(255, 251, 243, .94);
  }

  .detail-filter-toggle-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .detail-filter-toggle-main > i {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(168, 119, 41, .28);
    border-radius: 8px;
    background: rgba(255, 248, 235, .78);
    color: #8d5f1b;
    font-size: 16px;
  }

  .detail-filter-toggle-main > span {
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  .detail-filter-toggle strong {
    font-size: 14px;
    font-weight: 900;
    line-height: 1.15;
  }

  .detail-filter-toggle small {
    color: #7a5b2b;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
  }

  .detail-filter-toggle-meta {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    min-width: 0;
  }

  .detail-filter-toggle em {
    min-width: 0;
    max-width: min(34vw, 132px);
    overflow: hidden;
    color: #6b5637;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .detail-filter-toggle b {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--magenta);
    color: #fff;
    font: 800 12px/1 system-ui, sans-serif;
  }

  .detail-filter-toggle-chevron {
    flex: 0 0 auto;
    color: #8d5f1b;
    font-size: 16px;
    transition: transform .18s ease;
  }

  #detailPanel.detail-filters-expanded .detail-filter-toggle-chevron {
    transform: rotate(180deg);
  }

  .detail-filter-toggle b.d-none {
    display: none;
  }

  #detailPanel .detail-filters {
    display: none;
  }

  #detailPanel.detail-filters-expanded .detail-filters {
    display: flex;
  }
}
