@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&display=swap");

:root {
  --hm-font-ui: "Outfit", system-ui, sans-serif;
  --hm-font-display: "Outfit", system-ui, sans-serif;
  --hm-accent: #9ef0ff;
  --hm-accent-dark: #42b4cc;
  --hm-accent-soft: rgba(158, 240, 255, 0.15);
  --hm-chart-grid: rgba(158, 240, 255, 0.08);
  --hm-chart-tick: #9aa4b8;
  --hm-chart-legend: #c5ceda;
  --hm-chart-muted: rgba(154, 164, 184, 0.55);
  --hm-bg-0: #12141c;
  --hm-bg-1: #0a0c11;
  --hm-surface: rgba(26, 30, 42, 0.92);
  --hm-surface-2: #1e2333;
  --hm-border: rgba(158, 240, 255, 0.22);
  --hm-text: #eef3f8;
  --hm-text-muted: #9aa4b8;
  --hm-shadow: 0 0 0 1px rgba(158, 240, 255, 0.08), 0 12px 40px rgba(0, 0, 0, 0.45);
  --hm-radius: 16px;
  --hm-radius-pill: 999px;
  --hm-room-wall-a: #2a3a44;
  --hm-room-wall-b: #1a2830;
  --hm-room-floor: #151f26;
  --hm-room-floor-deep: #0b1115;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body.hm-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--hm-font-ui);
  font-size: 1rem;
  color: var(--hm-text);
  line-height: 1.55;
  background-color: var(--hm-bg-1);
  background-image:
    radial-gradient(ellipse 100% 60% at 50% -5%, rgba(66, 180, 204, 0.22), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(158, 240, 255, 0.06), transparent 40%),
    radial-gradient(circle at 95% 20%, rgba(200, 120, 255, 0.07), transparent 35%),
    linear-gradient(180deg, #141824 0%, var(--hm-bg-1) 55%, #05060a 100%);
}

.hm-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.hm-shell--wide {
  max-width: 1180px;
}

.hm-shell--narrow {
  max-width: 560px;
  text-align: center;
}

/* Inhaltliche Seiten (z. B. item.php, Infoseiten): einheitliche Content-Breite */
.hm-page--info .hm-shell,
.hm-page--item > .hm-shell {
  max-width: 1100px;
  text-align: left;
}

.hm-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 20px;
  margin-bottom: 8px;
}

.hm-brand__title {
  margin: 0;
  font-family: var(--hm-font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f4fbff;
  text-shadow:
    0 0 18px rgba(158, 240, 255, 0.35),
    0 0 42px rgba(180, 120, 255, 0.2);
}

.hm-brand__tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hm-accent);
  background: rgba(158, 240, 255, 0.08);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius-pill);
  padding: 4px 12px;
}

.hm-panel {
  background: var(--hm-surface);
  border-radius: var(--hm-radius);
  border: 1px solid var(--hm-border);
  box-shadow: var(--hm-shadow);
  padding: 20px 22px;
  backdrop-filter: blur(8px);
}

.hm-search {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.hm-search--autocomplete .hm-search__input-wrap {
  position: relative;
  flex: 1 1 220px;
  min-width: 0;
}

.hm-search--autocomplete .hm-field {
  width: 100%;
  box-sizing: border-box;
}

.hm-search-suggest {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  max-height: min(320px, 50vh);
  overflow-y: auto;
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: 12px;
  box-shadow: var(--hm-shadow);
  backdrop-filter: blur(8px);
}

.hm-search-suggest__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  font-family: var(--hm-font-ui);
  font-size: 0.95rem;
  text-align: left;
  color: var(--hm-text);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.hm-search-suggest__item:hover,
.hm-search-suggest__item--active {
  background: rgba(158, 240, 255, 0.1);
}

.hm-search-suggest__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
}

.hm-search-suggest__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hm-search-suggest__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-search-suggest__warn {
  font-size: 0.72rem;
  font-weight: 600;
  color: #e74c3c;
  line-height: 1.2;
}

.hm-search-suggest__prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-size: 0.78rem;
}

.hm-search-suggest__valid {
  font-weight: 700;
  color: var(--hm-accent);
}

.hm-search-suggest__market {
  color: #e74c3c;
  text-decoration: line-through;
}

.hm-field {
  flex: 1 1 220px;
  min-width: 0;
  padding: 11px 14px;
  font-family: var(--hm-font-ui);
  font-size: 1rem;
  color: var(--hm-text);
  background: var(--hm-bg-1);
  border: 1px solid rgba(158, 240, 255, 0.18);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.hm-field:focus {
  border-color: var(--hm-accent);
  box-shadow: 0 0 0 3px var(--hm-accent-soft);
}

.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 20px;
  font-family: var(--hm-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #061016;
  background: linear-gradient(135deg, var(--hm-accent) 0%, var(--hm-accent-dark) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(158, 240, 255, 0.25);
  transition: transform 0.08s, filter 0.12s, box-shadow 0.12s;
}

.hm-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 0 28px rgba(158, 240, 255, 0.38);
}

.hm-btn:active {
  transform: translateY(1px);
}

.hm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.hm-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.hm-card {
  background: linear-gradient(160deg, var(--hm-surface-2) 0%, #171b28 100%);
  border: 1px solid rgba(158, 240, 255, 0.12);
  border-radius: var(--hm-radius);
  padding: 16px 14px 18px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition:
    transform 0.12s,
    border-color 0.15s,
    box-shadow 0.15s,
    background 0.15s;
}

.hm-card-link:hover .hm-card,
.hm-card-link:focus-visible .hm-card {
  border-color: rgba(158, 240, 255, 0.45);
  box-shadow: 0 0 24px rgba(158, 240, 255, 0.12);
  transform: translateY(-3px);
}

.hm-card img {
  flex-shrink: 0;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 96px;
  object-fit: contain;
  display: block;
  margin: 0 0 10px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 8px rgba(158, 240, 255, 0.15));
}

.hm-card h3 {
  align-self: stretch;
  margin: 0 0 6px;
  font-family: var(--hm-font-display);
  font-size: 1.02rem;
  font-weight: 600;
}

.hm-price {
  font-family: var(--hm-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--hm-accent);
  margin: 8px 0;
}

.hm-card .hm-price {
  align-self: stretch;
}

.hm-card small {
  align-self: stretch;
  display: block;
  color: var(--hm-text-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.hm-section--updates {
  margin-top: 8px;
}

.hm-overview-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 6px;
  padding: 0 2px;
}

.hm-overview-nav a {
  padding: 7px 13px;
  border-radius: var(--hm-radius-pill);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fffdf0;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.15s ease, transform 0.15s ease;
}

.hm-overview-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.hm-overview {
  margin-top: 4px;
}

.hm-overview-cat {
  margin-top: 26px;
}

.hm-overview-cat__head h2 {
  margin: 0 0 6px;
  font-family: var(--hm-font-display);
  font-size: 1.2rem;
  color: #fffdf0;
  text-shadow: 0 2px 0 rgba(0, 40, 48, 0.45);
}

.hm-overview-cat__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.hm-overview-cat__more {
  flex-shrink: 0;
  margin-top: 2px;
  padding: 6px 12px;
  border-radius: var(--hm-radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--hm-accent-dark);
  background: rgba(255, 253, 240, 0.92);
  border: 1px solid rgba(12, 72, 82, 0.18);
  transition: background 0.15s ease, transform 0.15s ease;
}

.hm-overview-cat__more:hover {
  background: #fffdf0;
  transform: translateY(-1px);
}

.hm-overview-cat__desc {
  margin: 0 0 12px;
  max-width: 640px;
}

.hm-overview-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 14px;
}

.hm-overview-list-grid .hm-overview-card {
  display: block;
  width: auto;
  max-width: none;
}

.hm-overview-list__back {
  margin: 0 0 8px;
  font-size: 0.88rem;
}

.hm-overview-list__back a {
  color: #fffdf0;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.9;
}

.hm-overview-list__back a:hover {
  opacity: 1;
  text-decoration: underline;
}

.hm-overview-list__desc {
  margin: 8px 0 0;
  max-width: 720px;
}

.hm-overview-list__meta {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--hm-text-muted);
}

.hm-overview-list__panel {
  margin-top: 16px;
}

.hm-overview-carousel {
  --hm-carousel-gap: 14px;
  position: relative;
  margin-top: 2px;
}

.hm-overview-carousel__viewport {
  overflow: hidden;
  margin: 0 38px;
  padding: 4px 0 12px;
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 28px,
    #000 calc(100% - 28px),
    transparent 100%
  );
}

.hm-overview-carousel--manual .hm-overview-carousel__viewport {
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.hm-overview-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.hm-overview-carousel__viewport:focus-visible {
  outline: 2px solid rgba(255, 253, 240, 0.85);
  outline-offset: 2px;
  border-radius: var(--hm-radius);
}

.hm-overview-carousel__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--hm-carousel-gap);
  width: max-content;
  will-change: transform;
}

.hm-overview-carousel--animated .hm-overview-carousel__track {
  transition: none;
}

.hm-overview-carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  cursor: pointer;
  font-family: var(--hm-font-display);
  font-size: 1.45rem;
  line-height: 1;
  color: #fffdf0;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 2px 0 rgba(0, 40, 48, 0.35);
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.12s ease;
}

.hm-overview-carousel__btn span {
  display: block;
  margin-top: -2px;
}

.hm-overview-carousel__btn--prev {
  left: 0;
}

.hm-overview-carousel__btn--next {
  right: 0;
}

.hm-overview-carousel__btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
}

.hm-overview-carousel__btn:active {
  transform: translateY(calc(-50% + 1px));
}

.hm-overview-carousel__btn:focus-visible {
  outline: 2px solid rgba(255, 253, 240, 0.9);
  outline-offset: 2px;
}

.hm-overview-carousel--static .hm-overview-carousel__btn {
  display: none;
}

.hm-overview-carousel--static .hm-overview-carousel__viewport {
  margin: 0;
  mask-image: none;
}

.hm-overview-carousel--invest-grid .hm-overview-carousel__viewport {
  margin: 0;
  mask-image: none;
  overflow: visible;
}

.hm-overview-carousel--invest-grid .hm-overview-carousel__track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  width: 100%;
  max-width: 880px;
  gap: 14px;
}

.hm-overview-carousel--invest-grid .hm-overview-card {
  flex: none;
  width: auto;
  max-width: none;
}

.hm-overview-invest-level {
  font-size: 0.72rem;
  line-height: 1.3;
  text-align: center;
}

.hm-overview-invest-level--strong_buy,
.hm-overview-invest-level--buy {
  color: #1e8449;
  background: color-mix(in srgb, #2ecc71 18%, transparent);
  border: 1px solid color-mix(in srgb, #27ae60 30%, transparent);
}

.hm-overview-invest-level--watch {
  color: #9a5b00;
  background: color-mix(in srgb, #f39c12 18%, transparent);
  border: 1px solid color-mix(in srgb, #f39c12 28%, transparent);
}

.hm-overview-carousel .hm-overview-card {
  display: block;
  flex: 0 0 168px;
  width: 168px;
  max-width: 168px;
}

.hm-overview-carousel__clone {
  pointer-events: none;
}

.hm-card--overview {
  min-height: 100%;
  padding: 14px 12px 12px;
  text-align: center;
}

.hm-card--overview img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 0 auto 8px;
}

.hm-card--overview h3 {
  font-size: 0.88rem;
  line-height: 1.25;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.hm-overview-metric {
  display: inline-block;
  margin: 2px 0 6px;
  padding: 3px 10px;
  border-radius: var(--hm-radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
}

.hm-overview-metric--neutral {
  color: var(--hm-text);
  background: var(--hm-accent-soft);
  border: 1px solid rgba(12, 72, 82, 0.15);
}

.hm-overview-metric.hm-price-delta--up,
.hm-overview-metric.hm-price-delta--down {
  font-size: 0.78rem;
}

.hm-overview-price {
  font-family: var(--hm-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hm-accent-dark);
  margin-bottom: 4px;
}

.hm-overview-prev {
  display: block;
  color: var(--hm-text-muted);
  font-size: 0.74rem;
  margin-top: 2px;
}

.hm-grid--updates {
  margin-top: 4px;
}

.hm-card--update .hm-price-change {
  align-self: stretch;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 6px;
  margin: 6px 0 4px;
}

.hm-card--update .hm-price {
  margin: 0;
  font-size: 1.2rem;
}

.hm-price-old {
  font-family: var(--hm-font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--hm-text-muted);
  text-decoration: line-through;
}

.hm-price-arrow {
  color: var(--hm-text-muted);
  font-size: 0.88rem;
}

.hm-price-unit {
  font-family: var(--hm-font-ui);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--hm-text-muted);
}

.hm-price-delta {
  align-self: center;
  display: inline-block;
  margin: 4px 0 2px;
  padding: 3px 10px;
  border-radius: var(--hm-radius-pill);
  font-family: var(--hm-font-ui);
  font-size: 0.8rem;
  font-weight: 700;
}

.hm-price-delta--up {
  color: #8ef0c4;
  background: rgba(72, 220, 160, 0.12);
  border: 1px solid rgba(72, 220, 160, 0.35);
}

.hm-price-delta--down {
  color: #ffb4a8;
  background: rgba(255, 120, 100, 0.12);
  border: 1px solid rgba(255, 120, 100, 0.32);
}

.hm-price-when {
  margin-top: 6px !important;
  font-size: 0.76rem !important;
}

.hm-empty--panel {
  margin-top: 8px;
  padding: 16px 18px;
  border-radius: var(--hm-radius);
  background: var(--hm-surface);
  border: 1px solid rgba(158, 240, 255, 0.14);
}

.hm-empty {
  color: var(--hm-text-muted);
  margin-top: 24px;
}

.hm-code {
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
  background: rgba(158, 240, 255, 0.08);
  padding: 2px 6px;
  border-radius: 6px;
}

.hm-item-top {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px 16px;
  margin-bottom: 20px;
}

.hm-top-nav {
  margin-bottom: 0;
  align-self: center;
}

.hm-panel--grow {
  flex: 1 1 260px;
  min-width: 0;
}

.hm-panel--search .hm-search {
  margin-bottom: 0;
}

.hm-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hm-lead-muted {
  margin: -4px 0 16px;
  font-size: 0.93rem;
  color: var(--hm-text-muted);
  max-width: 42rem;
}

.hm-top-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--hm-accent);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--hm-radius-pill);
  background: rgba(158, 240, 255, 0.06);
  border: 1px solid rgba(158, 240, 255, 0.2);
}

.hm-top-nav a:hover {
  background: rgba(158, 240, 255, 0.1);
}

.hm-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 22px 24px;
  box-shadow: var(--hm-shadow);
  backdrop-filter: blur(8px);
}

.hm-hero img {
  flex-shrink: 0;
  width: auto;
  height: auto;
  max-width: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 12px rgba(158, 240, 255, 0.2));
}

.hm-furni-preview {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hm-furni-room {
  position: relative;
  width: 208px;
  height: 156px;
  border-radius: calc(var(--hm-radius) - 2px);
  overflow: hidden;
  border: 1px solid var(--hm-border);
  box-shadow: inset 0 0 0 1px rgba(158, 240, 255, 0.08), var(--hm-shadow);
}

.hm-furni-room__wall {
  position: absolute;
  inset: 0 0 44%;
  background: linear-gradient(180deg, rgba(158, 240, 255, 0.12) 0%, transparent 55%),
    linear-gradient(90deg, var(--hm-room-wall-a) 0%, var(--hm-room-wall-b) 50%, var(--hm-room-wall-a) 100%);
}

.hm-furni-room__floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background-color: var(--hm-room-floor-deep);
  background-image: linear-gradient(180deg, var(--hm-room-floor) 0%, var(--hm-room-floor-deep) 100%),
    linear-gradient(rgba(158, 240, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(158, 240, 255, 0.06) 1px, transparent 1px);
  background-size: 100% 100%, 100% 11px, 20px 100%;
  box-shadow: inset 0 10px 24px rgba(0, 0, 0, 0.4);
}

.hm-furni-room__figure {
  position: absolute;
  left: 50%;
  bottom: 10%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hm-furni-room__img {
  display: block;
  max-height: 102px;
  width: auto;
  transition: opacity 0.15s ease-out;
  filter: drop-shadow(0 0 10px rgba(158, 240, 255, 0.25)) drop-shadow(0 8px 6px rgba(0, 0, 0, 0.45));
}

.hm-btn--furni-rotate {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  min-width: 124px;
}

.hm-hero h1 {
  margin: 0 0 8px;
  font-family: var(--hm-font-display);
  font-size: clamp(1.3rem, 3vw, 1.52rem);
  font-weight: 700;
}

.hm-hero .hm-price {
  font-size: 2rem;
  margin: 4px 0 12px;
}

.hm-hero--item {
  align-items: flex-start;
  padding: 14px 16px;
  gap: 14px;
}

.hm-hero__preview {
  flex-shrink: 0;
}

.hm-hero--item .hm-furni-room {
  width: 168px;
  height: 126px;
}

.hm-hero--item .hm-furni-room__img {
  max-height: 84px;
}

.hm-hero__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hm-hero__head {
  margin: 0;
}

.hm-hero__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.hm-hero__title-row h1 {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  flex: 1 1 12rem;
}

.hm-hero--item .hm-price {
  font-size: 1.45rem;
  margin: 0 0 4px;
  line-height: 1.15;
}

.hm-hero__desc {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  max-width: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hm-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hm-page--item .hm-section {
  margin-top: 20px;
}

.hm-muted {
  color: var(--hm-text-muted);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 0 10px;
}

.hm-muted--tight {
  margin-bottom: 0;
}

.hm-section {
  margin-top: 28px;
}

.hm-section h2 {
  font-family: var(--hm-font-display);
  font-size: 1.15rem;
  margin: 0 0 14px;
  color: var(--hm-accent);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hm-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hm-tabs a {
  padding: 8px 14px;
  border-radius: var(--hm-radius-pill);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(158, 240, 255, 0.06);
  color: var(--hm-text-muted);
  border: 1px solid rgba(158, 240, 255, 0.15);
}

.hm-tabs a:hover {
  border-color: rgba(158, 240, 255, 0.35);
  color: var(--hm-text);
}

.hm-tabs a.active {
  background: linear-gradient(135deg, rgba(158, 240, 255, 0.22) 0%, rgba(66, 180, 204, 0.2) 100%);
  color: var(--hm-text);
  border-color: var(--hm-accent);
  box-shadow: 0 0 16px rgba(158, 240, 255, 0.12);
}

.hm-chart-wrap {
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 20px;
  min-height: 320px;
  position: relative;
  box-shadow: var(--hm-shadow);
}

.hm-chart-wrap canvas {
  display: block;
  width: 100% !important;
  height: 300px !important;
  max-height: none;
}

.hm-chart-wrap.hm-chart-wrap--empty {
  color: var(--hm-text-muted);
  text-align: center;
  padding: 40px 16px;
}

.hm-chart-notice {
  margin: 0 0 12px;
}

/* Site-Chrome: Hauptmenü & Dummy-Login */
.hm-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 0 0 20px;
  padding: 4px 0 8px;
}

.hm-site-header__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "logo nav actions";
  align-items: center;
  gap: 12px 18px;
  padding: 10px 12px 10px 14px;
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow);
  backdrop-filter: blur(8px);
}

.hm-site-header__logo {
  grid-area: logo;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: var(--hm-text);
}

.hm-site-header__mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(158, 240, 255, 0.35) 0%, var(--hm-accent) 55%, #4a9eb8 100%);
  border: 1px solid rgba(158, 240, 255, 0.45);
  box-shadow: 0 0 16px rgba(158, 240, 255, 0.25);
  font-family: var(--hm-font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: #061018;
  letter-spacing: 0.04em;
}

.hm-site-header__logo-text {
  font-family: var(--hm-font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.04em;
  color: var(--hm-accent);
  line-height: 1.1;
}

.hm-site-header__logo:hover .hm-site-header__logo-text {
  filter: brightness(1.12);
}

.hm-site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(158, 240, 255, 0.28);
  border-radius: 10px;
  background: rgba(158, 240, 255, 0.06);
  cursor: pointer;
}

.hm-site-header__toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--hm-accent);
  transition: transform 0.2s, opacity 0.2s;
}

.hm-site-header__bar--nav-open .hm-site-header__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hm-site-header__bar--nav-open .hm-site-header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.hm-site-header__bar--nav-open .hm-site-header__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hm-main-nav {
  grid-area: nav;
  justify-self: center;
  width: 100%;
  max-width: 720px;
  min-width: 0;
}

.hm-main-nav__track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: rgba(158, 240, 255, 0.06);
  border: 1px solid rgba(158, 240, 255, 0.16);
  border-radius: var(--hm-radius-pill);
}

.hm-main-nav__item {
  margin: 0;
}

.hm-main-nav__link {
  display: block;
  padding: 8px 14px;
  border-radius: var(--hm-radius-pill);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--hm-text-muted);
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.12s, color 0.12s, border-color 0.12s, box-shadow 0.12s;
}

.hm-main-nav__link:hover {
  color: var(--hm-accent);
  background: rgba(158, 240, 255, 0.1);
}

.hm-main-nav__link--active {
  color: #061018;
  background: linear-gradient(180deg, rgba(200, 248, 255, 0.95) 0%, var(--hm-accent) 100%);
  border-color: rgba(158, 240, 255, 0.5);
  box-shadow: 0 0 12px rgba(158, 240, 255, 0.35);
}

.hm-main-nav__link--dummy {
  opacity: 0.72;
  border-style: dashed;
  border-color: rgba(158, 240, 255, 0.22);
}

.hm-main-nav__link--dummy:hover {
  opacity: 0.95;
}

.hm-site-header__actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.hm-site-header__login {
  white-space: nowrap;
}

.hm-user-menu {
  position: relative;
}

.hm-user-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border-radius: var(--hm-radius-pill);
  border: 1px solid rgba(158, 240, 255, 0.28);
  background: rgba(158, 240, 255, 0.06);
  color: var(--hm-text);
  font-family: var(--hm-font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.hm-user-menu__trigger:hover {
  border-color: var(--hm-accent);
}

.hm-user-menu__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--hm-accent);
  color: #061018;
  font-weight: 700;
  font-size: 0.95rem;
}

.hm-user-menu__name {
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-user-menu__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  padding: 8px;
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow);
  z-index: 60;
}

.hm-user-menu__hint {
  display: block;
  padding: 6px 10px 8px;
  font-size: 0.78rem;
  color: var(--hm-text-muted);
  line-height: 1.35;
}

.hm-user-menu__item {
  display: block;
  width: 100%;
  padding: 9px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-family: var(--hm-font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--hm-text);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.hm-user-menu__item:hover,
.hm-user-menu__item--action:hover {
  background: rgba(158, 240, 255, 0.1);
}

.hm-user-menu__logout {
  margin: 4px 0 0;
  padding: 4px 0 0;
  border-top: 1px dashed var(--hm-border);
}

.hm-login-dialog {
  border: none;
  padding: 0;
  max-width: min(420px, calc(100vw - 32px));
  border-radius: var(--hm-radius);
  background: var(--hm-surface);
  color: var(--hm-text);
  box-shadow: var(--hm-shadow);
}

.hm-login-dialog::backdrop {
  background: rgba(4, 8, 20, 0.65);
  backdrop-filter: blur(4px);
}

.hm-login-dialog__form {
  padding: 0;
}

.hm-login-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 0;
}

.hm-login-dialog__head h2 {
  margin: 0;
  font-family: var(--hm-font-display);
  font-size: 1.25rem;
}

.hm-login-dialog__close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--hm-text-muted);
  padding: 4px 8px;
}

.hm-login-dialog__lead {
  margin: 0;
  padding: 10px 20px 0;
  font-size: 0.9rem;
  color: var(--hm-text-muted);
  line-height: 1.45;
}

.hm-login-dialog__form .hm-adv-control__label,
.hm-login-dialog__form .hm-field {
  display: block;
  margin: 14px 20px 0;
  width: calc(100% - 40px);
  box-sizing: border-box;
}

.hm-login-dialog__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px 20px 20px;
}

.hm-chrome-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 18px;
  border-radius: var(--hm-radius-pill);
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  box-shadow: var(--hm-shadow);
  color: var(--hm-text);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 80;
}

.hm-chrome-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.hm-site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(158, 240, 255, 0.18);
  background: rgba(10, 12, 17, 0.94);
  color: var(--hm-text-muted);
}

.hm-site-footer__inner {
  padding-top: 32px;
  padding-bottom: 28px;
}

.hm-site-footer__grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.4fr) repeat(4, minmax(120px, 1fr));
  gap: 24px 28px;
}

.hm-site-footer__title {
  margin: 0 0 10px;
  font-family: var(--hm-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--hm-accent);
}

.hm-site-footer__lead {
  margin: 0 0 12px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--hm-text-muted);
  max-width: 34ch;
}

.hm-site-footer__badge {
  margin: 0;
  display: inline-block;
  padding: 6px 10px;
  border-radius: var(--hm-radius-pill);
  border: 1px solid rgba(158, 240, 255, 0.28);
  background: rgba(158, 240, 255, 0.06);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--hm-text);
}

.hm-site-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-site-footer__links li + li {
  margin-top: 6px;
}

.hm-site-footer__links a {
  color: var(--hm-text-muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  transition: color 0.12s, border-color 0.12s;
}

.hm-site-footer__links a:hover {
  color: var(--hm-accent);
}

.hm-site-footer__meta {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px dashed rgba(158, 240, 255, 0.12);
}

.hm-site-footer__copy,
.hm-site-footer__hint {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(154, 164, 184, 0.85);
}

.hm-site-footer__hint {
  margin-top: 6px;
  font-style: italic;
}

@media (max-width: 1020px) {
  .hm-site-footer__grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }

  .hm-site-footer__about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .hm-site-footer__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 920px) {
  .hm-site-header__bar {
    grid-template-columns: 1fr auto auto;
    grid-template-areas:
      "logo toggle actions"
      "nav nav nav";
    gap: 10px 12px;
    padding: 10px 12px;
  }

  .hm-site-header__toggle {
    display: inline-flex;
    grid-area: toggle;
  }

  .hm-main-nav {
    justify-self: stretch;
    max-width: none;
  }

  .hm-main-nav__track {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--hm-radius);
    padding: 6px;
  }

  .hm-main-nav__link {
    white-space: normal;
    text-align: left;
  }
}

@media (max-width: 420px) {
  .hm-site-header__logo-text {
    display: none;
  }
}

.hm-theme-bar {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed rgba(158, 240, 255, 0.15);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-size: 0.88rem;
  color: var(--hm-text-muted);
}

.hm-theme-bar__label {
  font-weight: 700;
  margin-right: 4px;
  color: var(--hm-accent);
}

.hm-theme-bar__pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--hm-radius-pill);
  border: 1px solid rgba(158, 240, 255, 0.2);
  background: rgba(158, 240, 255, 0.05);
  color: var(--hm-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.86rem;
  transition: background 0.12s, border-color 0.12s;
}

.hm-theme-bar__pill:hover {
  border-color: var(--hm-accent);
  background: rgba(158, 240, 255, 0.1);
}

.hm-theme-bar__pill--active {
  border-color: var(--hm-accent);
  background: rgba(158, 240, 255, 0.14);
  color: var(--hm-text);
  cursor: default;
}

.hm-simple {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hm-simple__box {
  text-align: center;
  background: var(--hm-surface);
  border-radius: var(--hm-radius);
  border: 1px solid var(--hm-border);
  padding: 32px 28px;
  max-width: 420px;
  box-shadow: var(--hm-shadow);
}

.hm-simple__box a {
  color: var(--hm-accent);
  font-weight: 700;
}

.hm-meta {
  margin: 12px 0 14px;
}

.hm-meta__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.hm-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--hm-radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  color: var(--hm-text-muted);
  border: 1px solid var(--hm-border);
}

.hm-chip--rare {
  background: rgba(180, 60, 200, 0.2);
  color: #e0a8f0;
}

.hm-chip--catalog {
  background: rgba(60, 180, 100, 0.2);
  color: #9ee8b8;
}

.hm-meta__stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px 16px;
  margin: 0;
  font-size: 0.85rem;
}

.hm-meta__stats dt {
  color: var(--hm-text-muted);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hm-meta__stats dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.hm-item-details {
  margin: 0;
}

.hm-detail-block {
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 14px 16px;
}

.hm-detail-block__title {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
}

.hm-detail-table {
  display: grid;
  gap: 8px;
  margin: 0;
  font-size: 0.85rem;
}

.hm-detail-table div {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8px;
  align-items: baseline;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--hm-border);
}

.hm-detail-table dt {
  margin: 0;
  color: var(--hm-text-muted);
  font-weight: 600;
  font-size: 0.78rem;
}

.hm-detail-table dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.hm-chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hm-chip--ltd {
  background: #5c2d91;
  color: #fff;
}

.hm-chip--rare {
  background: var(--hm-accent);
  color: #0f1419;
}

.hm-item-focus {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hm-item-panel {
  border: 1px solid var(--hm-border);
  border-radius: calc(var(--hm-radius) - 2px);
  overflow: hidden;
  background: var(--hm-border);
}

.hm-metrics--primary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
}

@media (min-width: 520px) {
  .hm-metrics--primary {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hm-metric {
  background: var(--hm-surface);
  padding: 6px 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: baseline;
  column-gap: 4px;
}

.hm-metric__label {
  grid-column: 1 / -1;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--hm-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hm-metric__value {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
}

.hm-metric__value--up {
  color: #3ecf8e;
}

.hm-metric__value--down {
  color: #f87171;
}

.hm-metric__unit {
  font-size: 0.62rem;
  color: var(--hm-text-muted);
  align-self: end;
}

.hm-metrics--secondary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0;
}

@media (min-width: 640px) {
  .hm-metrics--secondary {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hm-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  padding: 5px 8px;
  background: var(--hm-surface);
  font-size: 0.78rem;
  margin: 0;
}

.hm-metric-row dt {
  margin: 0;
  color: var(--hm-text-muted);
  font-weight: 600;
  font-size: 0.72rem;
}

.hm-metric-row dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.hm-item-focus__extras {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 560px) {
  .hm-item-focus__extras {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hm-detail-block--compact {
  padding: 8px 10px;
  margin: 0;
}

.hm-detail-block--compact .hm-detail-block__title {
  margin: 0 0 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hm-detail-table--compact div {
  padding-bottom: 4px;
  font-size: 0.78rem;
}

.hm-item-foot {
  margin: 0;
  font-size: 0.68rem;
  color: var(--hm-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-item-foot .hm-code {
  font-size: inherit;
  padding: 1px 4px;
}

.hm-color-swatches {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hm-color-swatches--compact .hm-color-swatch {
  display: block;
  padding: 2px;
  border-radius: 50%;
  border: 2px solid var(--hm-border);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}

.hm-color-swatches--compact .hm-color-swatch:hover {
  border-color: var(--hm-accent);
  transform: scale(1.08);
}

.hm-color-swatches--compact .hm-color-swatch--current {
  border-color: var(--hm-accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--hm-accent) 35%, transparent);
}

.hm-color-swatches--compact .hm-color-swatch__chip {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--hm-swatch, #888);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hm-fraud-alert {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: var(--hm-radius, 8px);
  border: 1px solid color-mix(in srgb, #e74c3c 55%, var(--hm-border));
  background: color-mix(in srgb, #e74c3c 12%, var(--hm-panel));
}

.hm-fraud-alert__title {
  display: block;
  font-size: 0.95rem;
  color: #e74c3c;
  margin-bottom: 6px;
}

.hm-fraud-alert__text {
  margin: 0 0 10px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--hm-text-muted);
}

.hm-fraud-alert__prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
}

.hm-fraud-alert__valid {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--hm-accent);
}

.hm-fraud-alert__valid-label {
  font-size: 0.72rem;
  color: var(--hm-text-muted);
  margin-right: 12px;
}

.hm-fraud-alert__market {
  font-size: 1rem;
  color: #e74c3c;
  text-decoration: line-through;
}

.hm-fraud-alert__market-label {
  font-size: 0.72rem;
  color: #e74c3c;
}

.hm-fraud-status {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: var(--hm-radius, 8px);
  border: 1px solid var(--hm-border);
  background: var(--hm-panel);
}

.hm-fraud-status__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 8px;
}

.hm-fraud-status__title {
  flex: 1 1 100%;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--hm-text-muted);
}

.hm-fraud-status__badge {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.hm-fraud-status__score {
  margin-left: auto;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

.hm-fraud-status__max {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--hm-text-muted);
}

.hm-fraud-status__track {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--hm-text-muted) 18%, transparent);
  overflow: hidden;
}

.hm-fraud-status__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  transition: width 0.25s ease;
}

.hm-fraud-status__hint {
  margin: 10px 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--hm-text);
}

.hm-fraud-status__hint--muted {
  color: var(--hm-text-muted);
}

.hm-fraud-status__reason {
  color: var(--hm-text-muted);
}

.hm-fraud-status--none {
  border-color: color-mix(in srgb, #2ecc71 35%, var(--hm-border));
  background: color-mix(in srgb, #2ecc71 6%, var(--hm-panel));
}

.hm-fraud-status--none .hm-fraud-status__badge {
  color: #1e8449;
  background: color-mix(in srgb, #2ecc71 16%, transparent);
}

.hm-fraud-status--none .hm-fraud-status__score,
.hm-fraud-status--none .hm-fraud-status__fill {
  color: var(--hm-text-muted);
  background: #7f8c8d;
}

.hm-fraud-status--suspicion {
  border-color: color-mix(in srgb, #f39c12 50%, var(--hm-border));
  background: color-mix(in srgb, #f39c12 8%, var(--hm-panel));
}

.hm-fraud-status--suspicion .hm-fraud-status__badge {
  color: #f5b041;
  background: color-mix(in srgb, #f39c12 20%, transparent);
}

.hm-fraud-status--suspicion .hm-fraud-status__score {
  color: #f5b041;
}

.hm-fraud-status--suspicion .hm-fraud-status__fill {
  background: linear-gradient(90deg, #f5b041, #e67e22);
}

.hm-fraud-status--confirmed {
  border-color: color-mix(in srgb, #e74c3c 50%, var(--hm-border));
  background: color-mix(in srgb, #e74c3c 8%, var(--hm-panel));
}

.hm-fraud-status--confirmed .hm-fraud-status__badge {
  color: #ff6b6b;
  background: color-mix(in srgb, #e74c3c 20%, transparent);
}

.hm-fraud-status--confirmed .hm-fraud-status__score {
  color: #ff6b6b;
}

.hm-fraud-status--confirmed .hm-fraud-status__fill {
  background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.hm-fraud-explainer {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: var(--hm-radius, 8px);
  border: 1px solid var(--hm-border);
  background: color-mix(in srgb, var(--hm-panel) 92%, transparent);
  font-size: 0.9rem;
}

.hm-fraud-explainer summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--hm-text);
}

.hm-fraud-explainer__lead {
  margin: 10px 0 8px;
  color: var(--hm-muted, #666);
  line-height: 1.45;
}

.hm-fraud-explainer__list {
  margin: 10px 0 0;
  padding-left: 1.2rem;
}

.hm-fraud-explainer__list li {
  margin: 6px 0;
}

.hm-fraud-explainer__conf {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--hm-muted, #666);
}

.hm-invest {
  margin: 16px 0 20px;
  padding: 14px 16px 16px;
  border-radius: var(--hm-radius, 10px);
  border: 1px solid var(--hm-border);
  background: var(--hm-surface);
  box-shadow: var(--hm-shadow);
}

.hm-invest--strong_buy,
.hm-invest--buy {
  border-color: color-mix(in srgb, #2ecc71 40%, var(--hm-border));
  background: color-mix(in srgb, #2ecc71 7%, var(--hm-surface));
}

.hm-invest--strong_buy .hm-invest__badge {
  color: #145a32;
  background: color-mix(in srgb, #2ecc71 22%, transparent);
}

.hm-invest--buy .hm-invest__badge {
  color: #1e8449;
  background: color-mix(in srgb, #27ae60 18%, transparent);
}

.hm-invest--watch {
  border-color: color-mix(in srgb, #f39c12 42%, var(--hm-border));
  background: color-mix(in srgb, #f39c12 7%, var(--hm-surface));
}

.hm-invest--watch .hm-invest__badge {
  color: #9a5b00;
  background: color-mix(in srgb, #f39c12 22%, transparent);
}

.hm-invest--watch .hm-invest__meter-fill {
  background: linear-gradient(90deg, #f39c12, #e67e22);
}

.hm-invest--avoid {
  border-color: color-mix(in srgb, #e74c3c 40%, var(--hm-border));
  background: color-mix(in srgb, #e74c3c 6%, var(--hm-surface));
}

.hm-invest__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.hm-invest__kicker {
  flex: 1 1 100%;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--hm-text-muted);
}

.hm-invest__badge {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.hm-invest__score {
  margin-left: auto;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  color: var(--hm-text);
}

.hm-invest__score-max {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--hm-text-muted);
}

.hm-invest__meter {
  display: block;
  height: 8px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--hm-text-muted) 16%, transparent);
  overflow: hidden;
}

.hm-invest__meter-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #27ae60, #2ecc71);
  transition: width 0.25s ease;
}

.hm-invest__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

@media (max-width: 720px) {
  .hm-invest__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hm-invest__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--hm-border) 80%, transparent);
  background: color-mix(in srgb, var(--hm-text) 3%, transparent);
}

.hm-invest__stat--profit {
  border-color: color-mix(in srgb, #27ae60 35%, var(--hm-border));
  background: color-mix(in srgb, #27ae60 10%, transparent);
}

.hm-invest__stat--flat {
  border-color: color-mix(in srgb, var(--hm-text-muted) 25%, var(--hm-border));
  background: color-mix(in srgb, var(--hm-text-muted) 6%, transparent);
}

.hm-invest__stat--flat .hm-invest__stat-value {
  color: var(--hm-text-muted);
}

.hm-invest__stat--loss {
  border-color: color-mix(in srgb, #e74c3c 35%, var(--hm-border));
  background: color-mix(in srgb, #e74c3c 8%, transparent);
}

.hm-invest__stat--loss .hm-invest__stat-value {
  color: #c0392b;
}

.hm-invest__stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--hm-text-muted);
}

.hm-invest__stat-value {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--hm-text);
}

.hm-invest__unit {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--hm-text-muted);
}

.hm-invest__stat-meta {
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--hm-text-muted);
}

.hm-invest__stat-meta--up {
  font-weight: 600;
  color: #1e8449;
}

.hm-invest__conf {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 12px;
}

.hm-invest__conf-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hm-text-muted);
  white-space: nowrap;
}

.hm-invest__conf-track {
  height: 6px;
  min-width: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--hm-text-muted) 16%, transparent);
  overflow: hidden;
}

.hm-invest__conf-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: color-mix(in srgb, var(--hm-accent) 85%, #27ae60);
}

.hm-invest__conf-pct {
  font-size: 0.82rem;
  font-weight: 700;
  min-width: 2.5rem;
  text-align: right;
  color: var(--hm-text);
}

.hm-invest__reason {
  margin: 0 0 8px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--hm-text);
}

.hm-invest__corr {
  margin: 0 0 10px;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--hm-text-muted);
}

.hm-invest__meta {
  margin: 0 0 10px;
  font-size: 0.78rem;
  color: var(--hm-text-muted);
}

.hm-invest__meta--catalog {
  padding: 8px 10px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--hm-accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--hm-accent) 22%, transparent);
  line-height: 1.4;
}

.hm-invest__warn {
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.4;
  background: color-mix(in srgb, #f39c12 14%, transparent);
  border: 1px solid color-mix(in srgb, #f39c12 28%, transparent);
}

.hm-invest__warn--severe {
  background: color-mix(in srgb, #e74c3c 12%, transparent);
  border-color: color-mix(in srgb, #e74c3c 30%, transparent);
}

.hm-invest__foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--hm-border) 70%, transparent);
}

.hm-invest__cta {
  margin: 0;
}

.hm-info-page {
  margin-bottom: 24px;
}

.hm-info-page__head {
  margin-bottom: 28px;
}

.hm-info-page__kicker {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hm-text-muted);
}

.hm-info-page h1 {
  margin: 0 0 12px;
  font-size: 1.75rem;
}

.hm-info-page__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--hm-text-muted);
}

.hm-info-page__section {
  margin-bottom: 28px;
  padding-top: 4px;
}

.hm-info-page__section h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.hm-info-page__section p {
  margin: 0 0 10px;
  line-height: 1.55;
}

.hm-info-page__levels {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hm-info-page__levels li {
  display: grid;
  grid-template-columns: minmax(0, 11rem) 1fr;
  gap: 8px 16px;
  align-items: start;
}

@media (max-width: 520px) {
  .hm-info-page__levels li {
    grid-template-columns: 1fr;
  }
}

.hm-info-page__level {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--hm-radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
}

.hm-info-page__level--none {
  background: color-mix(in srgb, #95a5a6 18%, transparent);
  color: var(--hm-text-muted);
}

.hm-info-page__level--suspicion {
  background: color-mix(in srgb, #f39c12 22%, transparent);
  color: #9a6700;
}

.hm-info-page__level--confirmed {
  background: color-mix(in srgb, #e74c3c 20%, transparent);
  color: #922b21;
}

.hm-info-page__factors {
  margin: 12px 0 0;
}

.hm-info-page__factors > div {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hm-border);
}

.hm-info-page__factors > div:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.hm-info-page__factor-title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
}

.hm-info-page__factors p {
  margin: 0;
  color: var(--hm-text-muted);
  line-height: 1.5;
}

.hm-info-page__section--note {
  padding: 14px 16px;
  border-radius: var(--hm-radius);
  border: 1px solid var(--hm-border);
  background: color-mix(in srgb, var(--hm-accent) 6%, var(--hm-panel));
}

.hm-info-page__back {
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px solid var(--hm-border);
}

.hm-price-block {
  margin: 0 0 8px;
}

.hm-price-block__hint {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
}

.hm-price-block__market {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: #ff6b6b;
}

.hm-price-block__market s {
  text-decoration: line-through;
  color: #c0392b;
}

.hm-price--thin {
  opacity: 0.85;
  border-bottom: 2px dashed #f39c12;
}

.hm-price--unsure {
  opacity: 0.6;
  border-bottom: 2px dashed var(--hm-text-muted);
}

.hm-price--no-fv {
  color: var(--hm-text-muted);
  font-style: italic;
}

.hm-fv-explainer {
  margin-top: 1em;
  font-size: 0.9em;
}

.hm-fv-explainer__table {
  width: 100%;
  border-collapse: collapse;
}

.hm-fv-explainer__table th,
.hm-fv-explainer__table td {
  padding: 4px 8px;
  border-bottom: 1px solid var(--hm-border);
}

.hm-fraud-index {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: var(--hm-radius, 8px);
  border: 1px solid var(--hm-border);
  background: var(--hm-panel);
  font-size: 0.78rem;
}

.hm-fraud-index__label {
  color: var(--hm-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.68rem;
}

.hm-fraud-index__score {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hm-text);
}

.hm-fraud-index__max {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--hm-text-muted);
}

.hm-fraud-index__level {
  font-weight: 600;
}

.hm-fraud-index--none .hm-fraud-index__score,
.hm-fraud-index--none .hm-fraud-index__level {
  color: var(--hm-text-muted);
}

.hm-fraud-index--suspicion {
  border-color: color-mix(in srgb, #f39c12 50%, var(--hm-border));
  background: color-mix(in srgb, #f39c12 10%, var(--hm-panel));
}

.hm-fraud-index--suspicion .hm-fraud-index__score,
.hm-fraud-index--suspicion .hm-fraud-index__level {
  color: #f5b041;
}

.hm-fraud-index--confirmed {
  border-color: color-mix(in srgb, #e74c3c 50%, var(--hm-border));
  background: color-mix(in srgb, #e74c3c 10%, var(--hm-panel));
}

.hm-fraud-index--confirmed .hm-fraud-index__score,
.hm-fraud-index--confirmed .hm-fraud-index__level {
  color: #ff6b6b;
}

.hm-fraud-alert--suspicion {
  border-color: color-mix(in srgb, #f39c12 55%, var(--hm-border));
  background: color-mix(in srgb, #f39c12 12%, var(--hm-panel));
}

.hm-fraud-alert--suspicion .hm-fraud-alert__title {
  color: #f5b041;
}

.hm-fraud-alert--confirmed .hm-fraud-alert__title {
  color: #ff6b6b;
}

.hm-fraud-chip {
  display: inline-block;
  margin: 4px 0 6px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 4px;
}

.hm-fraud-chip--suspicion {
  color: #f5b041;
  background: color-mix(in srgb, #f39c12 18%, transparent);
  border: 1px solid color-mix(in srgb, #f39c12 40%, transparent);
}

.hm-fraud-chip--confirmed {
  color: #ff6b6b;
  background: color-mix(in srgb, #e74c3c 18%, transparent);
  border: 1px solid color-mix(in srgb, #e74c3c 40%, transparent);
}

.hm-fraud-chip:not(.hm-fraud-chip--suspicion):not(.hm-fraud-chip--confirmed) {
  color: #ff6b6b;
  background: color-mix(in srgb, #e74c3c 18%, transparent);
  border: 1px solid color-mix(in srgb, #e74c3c 40%, transparent);
}

.hm-chip.hm-fraud-chip--suspicion {
  color: #f5b041;
  background: color-mix(in srgb, #f39c12 22%, transparent);
  border: 1px solid color-mix(in srgb, #f39c12 45%, transparent);
}

.hm-chip.hm-fraud-chip--confirmed {
  color: #ff6b6b;
  background: color-mix(in srgb, #e74c3c 22%, transparent);
  border: 1px solid color-mix(in srgb, #e74c3c 45%, transparent);
}

.hm-card--manipulated {
  outline: 1px solid color-mix(in srgb, #e74c3c 45%, var(--hm-border));
}

.hm-card--suspicion {
  outline: 1px solid color-mix(in srgb, #f39c12 40%, var(--hm-border));
}

.hm-search-suggest__warn--suspicion {
  color: #f5b041;
}

.hm-search-suggest__warn--confirmed {
  color: #ff6b6b;
}

.hm-price--market-warn {
  font-size: 0.78rem;
  color: #e74c3c;
}

.hm-price--market-warn s {
  text-decoration: line-through;
}

.hm-price--trusted {
  color: var(--hm-accent);
}

.hm-metric__value--warn {
  color: #e74c3c;
  text-decoration: line-through;
}

.hm-metric__value--trusted {
  color: var(--hm-accent);
  font-weight: 700;
}

/* —— Detailsuche —— */
.hm-page--adv-search .hm-field,
.hm-page--adv-search select.hm-field,
.hm-page--adv-search input.hm-field {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  min-height: 0;
}

.hm-page--adv-search .hm-adv-control .hm-field {
  min-width: 0;
}

.hm-page--adv-search .hm-adv-field .hm-field {
  display: block;
}

.hm-page--adv-search .hm-shell--wide {
  display: block;
  max-width: none;
  width: 100%;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
  box-sizing: border-box;
}

.hm-adv-search__frame {
  display: block;
  width: fit-content;
  max-width: calc(100vw - 40px);
  margin-inline: auto;
  box-sizing: border-box;
}

.hm-page--adv-search .hm-adv-search__frame .hm-site-header,
.hm-page--adv-search .hm-adv-search__frame .hm-site-header__bar {
  width: 100%;
  box-sizing: border-box;
}

.hm-page--adv-search .hm-main-nav {
  max-width: none;
}

.hm-adv-search__header {
  margin-bottom: 16px;
}

.hm-brand--compact {
  margin-top: 8px;
}

.hm-adv-search__layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) max-content;
  gap: 16px;
  align-items: start;
  width: max-content;
  max-width: 100%;
  min-width: 0;
}

.hm-adv-search__results {
  min-width: 0;
  width: max-content;
  max-width: 100%;
}

.hm-adv-search__frame--capped .hm-adv-search__layout {
  width: 100%;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
}

.hm-adv-search__frame--capped .hm-adv-search__results {
  width: auto;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hm-adv-search__table-wrap,
.hm-adv-search__toolbar {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 960px) {
  .hm-adv-search__layout {
    grid-template-columns: 1fr;
  }

  .hm-adv-search__frame {
    width: 100% !important;
    max-width: 100%;
  }
}

.hm-adv-search__filters {
  position: sticky;
  top: 12px;
  max-height: calc(100vh - 24px);
  overflow: auto;
  overflow-x: hidden;
  min-width: 0;
}

.hm-adv-search__filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.hm-adv-search__filters-title {
  margin: 0;
  font-family: var(--hm-font-display);
  font-size: 1.1rem;
}

.hm-adv-filter-groups {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hm-adv-filter-group {
  border: 1px solid var(--hm-border);
  border-radius: 10px;
  background: var(--hm-surface-2);
  overflow: visible;
}

.hm-adv-filter-group__title {
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.hm-adv-filter-group__title::-webkit-details-marker {
  display: none;
}

.hm-adv-filter-group__body {
  padding: 0 12px 12px;
  display: grid;
  gap: 10px;
  min-width: 0;
  overflow-x: hidden;
}

.hm-adv-field {
  min-width: 0;
  max-width: 100%;
}

.hm-adv-field__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--hm-text-muted);
  margin-bottom: 4px;
}

.hm-adv-field__range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.hm-field--sm {
  font-size: 0.88rem;
  padding: 6px 8px;
}

.hm-btn--sm {
  font-size: 0.82rem;
  padding: 6px 12px;
}

.hm-btn--ghost {
  background: transparent;
  box-shadow: none;
}

.hm-adv-search__toolbar {
  margin-bottom: 12px;
}

.hm-adv-search__count {
  margin: 0 0 10px;
  font-weight: 700;
}

.hm-adv-search__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: flex-end;
}

.hm-adv-control {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
}

.hm-adv-control__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hm-text-muted);
}

.hm-adv-columns-picker {
  position: relative;
}

.hm-adv-columns-picker__panel {
  position: absolute;
  z-index: 20;
  right: 0;
  top: 100%;
  margin-top: 4px;
  min-width: 200px;
  max-height: 280px;
  overflow: auto;
  padding: 10px;
  background: var(--hm-surface);
  border: 2px solid var(--hm-border);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow);
  display: grid;
  gap: 6px;
}

.hm-adv-col-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  cursor: pointer;
}

.hm-adv-search__table-wrap {
  padding: 0;
  overflow: hidden;
}

.hm-adv-table-scroll {
  overflow-x: auto;
}

.hm-adv-table {
  width: max-content;
  max-width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.hm-adv-table th,
.hm-adv-table td {
  padding: 8px 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--hm-border) 60%, transparent);
  text-align: left;
  vertical-align: middle;
}

.hm-adv-table thead th {
  background: var(--hm-surface-2);
  font-weight: 700;
  white-space: nowrap;
}

.hm-adv-table__th--sortable {
  cursor: pointer;
  user-select: none;
}

.hm-adv-table__th--sortable:hover {
  color: var(--hm-accent-dark);
}

.hm-adv-table__row--manipulated {
  background: color-mix(in srgb, #e74c3c 12%, var(--hm-surface));
}

.hm-adv-table__row--manipulated td {
  border-bottom-color: color-mix(in srgb, #e74c3c 25%, transparent);
}

.hm-adv-table__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
}

.hm-adv-table__link {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.hm-adv-table__link:hover {
  text-decoration: underline;
}

.hm-adv-table__empty {
  text-align: center;
  color: var(--hm-text-muted);
  padding: 24px;
}

.hm-adv-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
}

.hm-adv-page {
  font: inherit;
  padding: 6px 12px;
  border-radius: 8px;
  border: 2px solid var(--hm-border);
  background: var(--hm-surface);
  cursor: pointer;
  color: inherit;
}

.hm-adv-page--disabled,
.hm-adv-page--info {
  cursor: default;
  border-color: transparent;
  background: transparent;
}

.hm-adv-loading,
.hm-adv-error {
  color: var(--hm-text-muted);
  margin: 0;
}

.hm-adv-search-link {
  margin: 10px 0 0;
  font-size: 0.9rem;
}

.hm-adv-search-link a {
  color: var(--hm-accent-dark);
  font-weight: 600;
}

body.hm-adv-modal-open {
  overflow: hidden;
}

.hm-adv-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.hm-adv-modal[hidden] {
  display: none;
}

.hm-adv-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hm-adv-modal__panel {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-height: min(80vh, 640px);
  display: flex;
  flex-direction: column;
  background: var(--hm-surface);
  border: 3px solid var(--hm-border);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow);
}

.hm-adv-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid color-mix(in srgb, var(--hm-border) 50%, transparent);
}

.hm-adv-modal__head h3 {
  margin: 0;
  font-family: var(--hm-font-display);
  font-size: 1.1rem;
}

.hm-adv-modal__close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--hm-text-muted);
}

.hm-adv-modal__body {
  padding: 14px 18px;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
}

.hm-adv-modal__foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid color-mix(in srgb, var(--hm-border) 50%, transparent);
}

.hm-adv-dual-range {
  margin: 6px 0 8px;
  padding: 0 4px;
}

.hm-adv-dual-range__track {
  position: relative;
  height: 28px;
}

.hm-adv-dual-range__fill {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 6px;
  border-radius: 3px;
  background: var(--hm-accent);
  pointer-events: none;
  left: 0;
  width: 100%;
}

.hm-adv-dual-range__input {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  margin: 0;
  height: 28px;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.hm-adv-dual-range__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--hm-accent-dark);
  border: 2px solid #fffdf0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  cursor: grab;
}

.hm-adv-dual-range__input::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--hm-accent-dark);
  border: 2px solid #fffdf0;
  cursor: grab;
}

.hm-adv-dual-range__input--max {
  z-index: 2;
}

.hm-adv-color-dropdown {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.hm-adv-color-dropdown__summary {
  cursor: pointer;
  list-style: none;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hm-adv-color-dropdown__summary::-webkit-details-marker {
  display: none;
}

.hm-adv-color-dropdown__list {
  margin-top: 6px;
  max-height: 200px;
  overflow: auto;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--hm-border);
  border-radius: 8px;
  background: var(--hm-surface-2);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.hm-adv-color-dropdown__list--families {
  max-height: min(280px, 50vh);
  overflow-x: hidden;
  overflow-y: auto;
  grid-template-columns: 1fr;
  gap: 4px;
}

.hm-adv-color-option--family {
  font-weight: 600;
  padding: 4px 0;
  min-width: 0;
  max-width: 100%;
  font-size: 0.8rem;
  gap: 6px;
}

.hm-adv-color-option--family .hm-adv-color-option__swatch {
  width: 16px;
  height: 16px;
}

.hm-adv-color-option--family .hm-adv-color-option__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-adv-color-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  cursor: pointer;
  min-width: 0;
}

.hm-adv-color-option__swatch {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}
