@media (min-width: 601px) { .card-link, .card .body { flex: 1 1 auto; } }
.card .name .name-wizard { margin-block: -0.25em; }
:root:not([data-theme='light']) div.card :is(.name, .rp-main) { color: #e6e9ff; }
:root:not([data-theme='light']) div.card .rp-main .rp-sats { color: #9ea7d2; font-weight: 400; }
.c-classics { --cc: 247 147 26; --cc-lit: #a8530a; }
.c-originals { --cc: 125 207 255; --cc-lit: #1f5f8b; }
.c-nostr { --cc: 142 68 236; --cc-lit: #6a35b8; }
.c-birds { --cc: 230 80 60; --cc-lit: #a52a22; }
.c-seasonal { --cc: 80 200 130; --cc-lit: #1b6b45; }
.c-magical { --cc: 65 105 225; --cc-lit: #2747c4; }
@media (hover: hover) {
  :root:not([data-theme='light']) body:not(.live) div.card[class*=' c-']::after { background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 30%), rgb(var(--cc) / 0.18), rgb(var(--cc) / 0.07) 45%, rgb(var(--cc) / 0) 72%); }
  :root:not([data-theme='light']) body:not(.live) div.card[class*=' c-']:hover::before { background: conic-gradient(from var(--dk-a), rgb(var(--cc)), rgb(255 255 255 / 0.85) 16%, rgb(var(--cc)) 34%, rgb(var(--cc) / 0.3) 64%, rgb(var(--cc))); }
  :root:not([data-theme='light']) body:not(.live) div.card[class*=' c-']:hover { box-shadow: var(--glass-shadow-hover), 0 0 28px -4px rgb(var(--cc) / 0.32); }
}
[data-theme='light'] div.card[class*=' c-']:is(:hover, :has(.card-link:focus-visible)) { box-shadow: 0 0 0 2px var(--cc-lit), var(--glass-shadow-hover) !important; }
:root:not([data-theme='light']) body:not(.live) div.card:not(.amb-card) .art { background: radial-gradient(58% 32% at 50% 20%, rgb(150 166 236 / 0.34), rgb(150 166 236 / 0)), radial-gradient(ellipse 72% 50% at 50% 50%, rgb(122 138 194 / 0.3), rgb(104 118 172 / 0.22) 55%, rgb(78 88 124 / 0)), radial-gradient(ellipse at 50% 42%, rgb(42 47 66 / 0.9), rgb(42 47 66 / 0) 70%); }
@media (prefers-reduced-transparency: reduce) { :root:not([data-theme='light']) body:not(.live) div.card:not(.amb-card) .art { background: radial-gradient(ellipse 80% 74% at 50% 48%, #4b5579 0%, #3e4665 52%, var(--surface) 100%); } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :root:not([data-theme='light']) body:not(.live) div.card .art img { transform-origin: 50% 40%; }
  :root:not([data-theme='light']) body:not(.live) div.card:hover .art img { transform: scale(1.07); }
}
.card .hat-kinds { text-wrap: balance; }
.hats-collection .card .hat-kinds { display: none; }
@supports selector(::scroll-button(right)) {
  @media (hover: hover) and (pointer: fine) and (min-width: 721px) {
    :is(.shelved, .shelf-wide) { position: relative; anchor-scope: --row; }
    :is(.shelved, .shelf-wide) .grid { anchor-name: --row; }
    :is(.shelved, .shelf-wide) .grid::scroll-button(left), :is(.shelved, .shelf-wide) .grid::scroll-button(right) { position: absolute; position-anchor: --row; top: calc(anchor(top) + var(--shelf-card) / 2 - 12px); z-index: 1;
      width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 20px/1 var(--mono); color: #e6e9ff; cursor: pointer;
      background: rgb(5 6 13 / 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgb(192 202 245 / 0.16); transition: opacity var(--m-1), border-color var(--m-1); }
    :is(.shelved, .shelf-wide) .grid::scroll-button(left) { content: '\2039' / 'Previous'; left: -20px; }
    :is(.shelved, .shelf-wide) .grid::scroll-button(right) { content: '\203A' / 'Next'; right: -20px; }
    :is(.shelved, .shelf-wide) .grid::scroll-button(left):hover, :is(.shelved, .shelf-wide) .grid::scroll-button(right):hover { border-color: #7dcfff; }
    :is(.shelved, .shelf-wide) .grid::scroll-button(left):disabled, :is(.shelved, .shelf-wide) .grid::scroll-button(right):disabled { opacity: 0; pointer-events: none; }
    [data-theme='light'] :is(.shelved, .shelf-wide) .grid::scroll-button(left), [data-theme='light'] :is(.shelved, .shelf-wide) .grid::scroll-button(right) { background: #fff; color: #1d1d1f; border-color: rgb(0 0 0 / 0.08); box-shadow: 0 4px 14px -6px rgb(0 0 0 / 0.25); }
  }
}
:root:not([data-theme='light']) .section-head { position: relative; background: none; }
:root:not([data-theme='light']) .section-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgb(247 147 26 / 0.55), rgb(0 83 151 / 0.5) 38%, rgb(0 83 151 / 0) 85%); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    :root:not([data-theme='light']) body:not(.live) .section-head::after { transform-origin: 0 50%; animation: b8-rule linear both; animation-timeline: view(); animation-range: entry 20% cover 35%; }
  }
}
@keyframes b8-rule { from { transform: scaleX(0); } }
@media (max-width: 600px) {
  .section-head:has(> .ls-links) { flex-wrap: wrap; }
  .section-head > .ls-links { flex: 1 0 100%; overflow: visible; white-space: normal; }
}
