.card .art > img.cyc-n2.cyc-last { animation-name: card-cyc-2-last; animation-duration: 10s; }
.card > a.cyc-link.cyc-n2.cyc-last { animation-name: card-cyc-link-2-last; animation-duration: 10s; }
@keyframes card-cyc-2-last { 0% { opacity: 0; } 10%, 50% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes card-cyc-link-2-last { 0%, 4.99% { visibility: hidden; } 5%, 55% { visibility: visible; } 55.01%, 100% { visibility: hidden; } }
.swatches.logos.lg-opts-c-classics { border-color: rgb(247 147 26 / 0.7); box-shadow: 0 0 12px rgb(247 147 26 / 0.18); }
.swatches.logos.lg-opts-c-originals { border-color: rgb(125 207 255 / 0.7); box-shadow: 0 0 12px rgb(125 207 255 / 0.18); }
.swatches.logos.lg-opts-c-birds { border-color: rgb(184 50 42 / 0.75); box-shadow: 0 0 12px rgb(184 50 42 / 0.2); }
.swatches.logos.lg-opts-c-seasonal { border-color: rgb(29 122 78 / 0.75); box-shadow: 0 0 12px rgb(29 122 78 / 0.2); }
.swatches.logos.lg-opts-c-magical { border-color: rgb(39 71 196 / 0.75); box-shadow: 0 0 12px rgb(39 71 196 / 0.2); }
.swatches.logos.coll-pick .coll-tile { text-decoration: none; }
.swatches.logos.coll-pick .coll-here { border-color: transparent; background: var(--lit-soft); box-shadow: var(--glow-soft); }
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
@media (prefers-reduced-motion: no-preference) {
  header.bar { view-transition-name: hs-bar; }
  ::view-transition-group(hs-bar) { animation: none; z-index: 10; }
  ::view-transition-old(hs-bar) { display: none; }
  ::view-transition-new(hs-bar) { animation: none; }
}
.swatches.logos .swatch.logo:is(.styled-classics, .styled-originals, .styled-nostr, .styled-birds, .styled-seasonal, .styled-magical) .sw-name { display: flex; align-items: center; justify-content: center; height: 100%; font-family: var(--font-mono, monospace); font-size: 0.72rem; color: inherit; text-align: center; line-height: 1.1; }
@supports (animation-timeline: scroll()) and (timeline-scope: --x) {
  @media (min-width: 601px) {
    :root:not([data-theme='light']) :is(.shelved, .shelf-wide) .shelf-bar { height: 40px; margin-top: 2px; background: url(/wizard-cast.svg) left center / auto 40px no-repeat; }
    :root:not([data-theme='light']) :is(.shelved, .shelf-wide) .shelf-bar::after { left: 34px; top: 19px; height: 6px; width: 6%; border-radius: 0 3px 3px 0;
      background: linear-gradient(90deg, #fff 70%, #cfe6ff); box-shadow: 0 0 6px #fff, 0 0 14px rgb(125 207 255 / 0.8), 0 0 26px rgb(0 83 151 / 0.7);
      animation: shelf-show linear both, shelf-beam linear both, beam-hum 1.6s ease-in-out infinite; animation-timeline: --shelf, --shelf, auto; }
    :root[data-theme='light'] :is(.shelved, .shelf-wide) .shelf-bar { height: 40px; max-width: none; margin: 2px 0 0; border-radius: 0; background: url(/wizard-cast-orange.svg) left center / auto 40px no-repeat; }
    :root[data-theme='light'] :is(.shelved, .shelf-wide) .shelf-bar::after { left: 34px; top: 19px; height: 6px; width: 6%; border-radius: 0 3px 3px 0;
      background: linear-gradient(90deg, #e8810b 70%, #f7931a) !important; box-shadow: 0 0 6px rgb(247 147 26 / 0.55) !important; animation: shelf-show linear both, shelf-beam linear both; animation-timeline: --shelf, --shelf; }
  }
}
@keyframes shelf-beam { from { width: 6%; } to { width: calc(100% - 34px); } }
@keyframes beam-hum { 50% { box-shadow: 0 0 8px #fff, 0 0 20px rgb(125 207 255 / 0.95), 0 0 34px rgb(0 83 151 / 0.8); } }
@media (prefers-reduced-motion: reduce) { :root:not([data-theme='light']) :is(.shelved, .shelf-wide) .shelf-bar::after { animation-name: shelf-show, shelf-beam, none; } }
:root[data-theme='light'] .swatches.logos.lg-opts-c-classics { border-color: #c46f0a; }
:root[data-theme='light'] .swatches.logos.lg-opts-c-originals { border-color: #2f7fb0; }
:root[data-theme='light'] .swatches.logos.lg-opts-c-birds { border-color: #b8322a; }
:root[data-theme='light'] .swatches.logos.lg-opts-c-seasonal { border-color: #1d7a4e; }
:root[data-theme='light'] .swatches.logos.lg-opts-c-magical { border-color: #2747c4; }
.hats-collection > .section-head > a { display: inline-flex; align-items: center; min-height: 44px; }
.coll-head { margin-bottom: 0; }
:root:not([data-theme='light']) .coll-head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; padding: 0; border: 0; }
.card .art.cyc-cap > img.cyc:not([data-src]) { mask: url(/mockups/hero/mask.webp) 0 0 / 100% 100% no-repeat; }
:root .swatches.logos .swatch.logo.styled-classics { --styled-lit: #a8530a; --styled-glow: 0 0 16px rgb(247 147 26 / 0.55); }
:root .swatches.logos .swatch.logo.styled-originals { --styled-lit: #1f5f8b; --styled-glow: 0 0 16px rgb(125 207 255 / 0.55); }
:root .swatches.logos .swatch.logo.styled-nostr { --styled-lit: #6a35b8; --styled-glow: 0 0 16px rgb(142 68 236 / 0.55); }
:root .swatches.logos .swatch.logo.styled-birds { --styled-lit: #a52a22; --styled-glow: 0 0 16px rgb(230 80 60 / 0.55); }
:root .swatches.logos .swatch.logo.styled-seasonal { --styled-lit: #1b6b45; --styled-glow: 0 0 16px rgb(80 200 130 / 0.55); }
:root .swatches.logos .swatch.logo.styled-magical { --styled-lit: #2747c4; --styled-glow: 0 0 16px rgb(65 105 225 / 0.55); }
:root[data-theme='light'] .swatches.logos .swatch.logo.styled-classics { --styled-ring: #6e3606; --styled-lit: #a8530a; --styled-glow: 0 0 0 2px #6e3606; }
:root[data-theme='light'] .swatches.logos .swatch.logo.styled-originals { --styled-ring: #123a55; --styled-lit: #1f5f8b; --styled-glow: 0 0 0 2px #123a55; }
:root[data-theme='light'] .swatches.logos .swatch.logo.styled-nostr { --styled-ring: #43207a; --styled-lit: #6a35b8; --styled-glow: 0 0 0 2px #43207a; }
:root[data-theme='light'] .swatches.logos .swatch.logo.styled-birds { --styled-ring: #6b1a15; --styled-lit: #a52a22; --styled-glow: 0 0 0 2px #6b1a15; }
:root[data-theme='light'] .swatches.logos .swatch.logo.styled-seasonal { --styled-ring: #0f442b; --styled-lit: #1b6b45; --styled-glow: 0 0 0 2px #0f442b; }
:root[data-theme='light'] .swatches.logos .swatch.logo.styled-magical { --styled-ring: #182c7c; --styled-lit: #2747c4; --styled-glow: 0 0 0 2px #182c7c; }
.swatches.logos.coll-groups .coll-grp { text-decoration: none; }
:root .swatches.logos.coll-groups .swatch.logo.coll-grp.coll-here { border-color: var(--styled-ring); background: var(--styled-lit); color: #fff; box-shadow: var(--styled-glow); outline: var(--pick-ol, none); }
.swatches.logos.lg-opts.coll-row { display: grid; }
@media (max-width: 879px) {
  .rg-wrap[data-coll] .product .info-head { container-type: inline-size; }
  .rg-wrap[data-coll] .product .info-head .alt-name { --nm: clamp(1.35rem, 4.6vw, 2.5rem); white-space: nowrap; line-height: calc(var(--nm) * 1.35); height: calc(var(--nm) * 1.35); margin-bottom: calc(var(--nm) * 0.2); }
  .rg-wrap[data-coll] .product .info-head .alt-name:not(.glyph-name) { font-size: var(--nm); }
  .rg-wrap[data-coll] .product .info-head .alt-name.fit-11:not(.glyph-name) { font-size: min(var(--nm), 100cqi / 11.5); }
  .rg-wrap[data-coll] .product .info-head .alt-name.fit-14 { font-size: min(var(--nm), 100cqi / 14.5); }
  .rg-wrap[data-coll] .product .info-head .alt-name.fit-18 { font-size: min(var(--nm), 100cqi / 18.5); }
  .rg-wrap[data-coll] .product .info-head .alt-name.fit-22 { font-size: min(var(--nm), 100cqi / 22.5); }
  .coll-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; padding: 0; border: 0; }
}
@media (min-width: 880px) {
  .rg-wrap[data-coll] .product .info-head .alt-name { --nm: min(2.5rem, 100cqi / 11.5); line-height: calc(var(--nm) * 1.35); height: calc(var(--nm) * 1.35); margin-bottom: calc(var(--nm) * 0.5); }
}
.rg-wrap[data-coll] .product .info-head .alt-name .name-wizard { margin-top: -0.6em; }
:root:not([data-theme='light']) .swatches.logos .swatch.logo.styled-classics { --styled-ring: #fff; --styled-glow: 0 0 0 2px #fff, 0 0 16px 2px rgb(247 147 26 / 0.55); }
:root:not([data-theme='light']) .swatches.logos .swatch.logo.styled-originals { --styled-ring: #fff; --styled-glow: 0 0 0 2px #fff, 0 0 16px 2px rgb(125 207 255 / 0.55); }
:root:not([data-theme='light']) .swatches.logos .swatch.logo.styled-nostr { --styled-ring: #fff; --styled-glow: 0 0 0 2px #fff, 0 0 16px 2px rgb(142 68 236 / 0.55); }
:root:not([data-theme='light']) .swatches.logos .swatch.logo.styled-birds { --styled-ring: #fff; --styled-glow: 0 0 0 2px #fff, 0 0 16px 2px rgb(230 80 60 / 0.55); }
:root:not([data-theme='light']) .swatches.logos .swatch.logo.styled-seasonal { --styled-ring: #fff; --styled-glow: 0 0 0 2px #fff, 0 0 16px 2px rgb(80 200 130 / 0.55); }
:root:not([data-theme='light']) .swatches.logos .swatch.logo.styled-magical { --styled-ring: #fff; --styled-glow: 0 0 0 2px #fff, 0 0 16px 2px rgb(65 105 225 / 0.55); }
.swatches.logos :is(.coll-grp, .coll-tile).coll-here:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
@media (min-width: 880px) { .product .info-rest .swatches.logos:is(.coll-groups, :has(> .styled-classics)) { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; } .product .info-rest .swatches.logos:is(.coll-groups, :has(> .styled-classics)) > .swatch { width: auto; min-width: 0; } }
:root .swatches.logos .swatch.logo.styled-classics { --g-ink: #f7a84a; }
:root .swatches.logos .swatch.logo.styled-originals { --g-ink: #7dcfff; }
:root .swatches.logos .swatch.logo.styled-nostr { --g-ink: #bb9cf6; }
:root .swatches.logos .swatch.logo.styled-birds { --g-ink: #f2887c; }
:root .swatches.logos .swatch.logo.styled-seasonal { --g-ink: #6fd6a0; }
:root .swatches.logos .swatch.logo.styled-magical { --g-ink: #97abff; }
:root[data-theme='light'] .swatches.logos .swatch.logo.styled { --g-ink: var(--styled-lit); }
:root .swatches.logos .swatch.logo:is(.styled-classics, .styled-originals, .styled-nostr, .styled-birds, .styled-seasonal, .styled-magical):not(.coll-here) { background: rgb(255 255 255 / 0.035); border-color: color-mix(in srgb, var(--g-ink) 50%, transparent); color: var(--g-ink); box-shadow: none; }
:root[data-theme='light'] .swatches.logos .swatch.logo.styled:not(.coll-here) { background: #fff; }
@media (max-width: 879px) {
  .swatches.logos[data-g] { grid-template-columns: repeat(var(--gc, 3), minmax(0, 1fr)); }
  [data-g='3'], [data-g='4'] { --gc: 2; } [data-g='7'], [data-g='8'] { --gc: 4; } [data-g='9'], [data-g='10'] { --gc: 5; }
}
.coll-change > summary { list-style: none; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; cursor: pointer; }
.coll-change > summary::-webkit-details-marker { display: none; }
.coll-headrow .coll-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; margin: 0; }
.coll-toggle { font: 0.78rem/1.4 var(--mono); color: var(--btc); white-space: nowrap; border-bottom: 1px dotted currentColor; }
.coll-change > summary:hover .coll-toggle, .coll-change > summary:focus-visible .coll-toggle { color: var(--text); }
.coll-caret::after { content: '▾'; }
.coll-change[open] .coll-caret::after { content: '▴'; }
.coll-change[open] > .coll-groups { margin-top: 8px; }
.product .info-rest .coll-change + .swatches.logos.lg-opts { margin-top: 6px; }
