:root {
  --ink: #171717;
  --muted: #6d6d6d;
  --line: #ececec;
  --soft: #f6f6f6;
  --red: #d50015;
  --red-dark: #a8000f;
  --blue: #1d4ed8;
  --blue-dark: #163a9e;
  --white: #fff;
  --radius: 10px;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Manrope, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { touch-action: pan-x pan-y; }
body { margin: 0; overflow-x: clip; background: #f3f4f6; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) auto;
  grid-template-areas: "logo search menu" "sets sets sets";
  align-items: center;
  gap: 10px 16px;
  padding: 16px 24px 12px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.logo { display: flex; grid-area: logo; }
.logo img {
  width: auto;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(23, 23, 23, .14));
  transition: transform .35s ease;
}
.logo:hover img { transform: scale(1.04); }
.find { display: contents; }
.search {
  grid-area: search;
  position: relative;
  min-width: 0;
}
.search img {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  pointer-events: none;
}
.find input, .find select, .field input, .field select, .field textarea {
  width: 100%;
  border: 0;
  background: var(--soft);
  border-radius: var(--radius);
  padding: 12px 14px;
  min-height: 44px;
  font-size: 16px;
}
.search input {
  width: 100%;
  font-size: 16px;
  min-height: 44px;
  padding: 10px 16px 10px 42px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}
.search input:focus { outline: 2px solid var(--blue); box-shadow: none; }
.set-pick { position: relative; grid-area: sets; max-width: 420px; }
#colecao-btn {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: var(--soft);
  border-radius: var(--radius);
  padding: 8px 12px;
  cursor: pointer;
  text-align: left;
}
#colecao-btn img, .set-menu img { width: 56px; height: 28px; object-fit: contain; flex: none; }
#colecao-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.set-menu[hidden] { display: none; }
.set-menu {
  position: absolute;
  z-index: 8;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: min(360px, 60vh);
  overflow: auto;
  display: grid;
  gap: 2px;
  padding: 6px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(23, 23, 23, .16);
}
.set-menu button {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 6px 8px;
  cursor: pointer;
  text-align: left;
}
.set-menu button span { color: var(--ink); line-height: 1.25; }
.set-menu button:hover, .set-menu button[aria-selected="true"] { background: var(--soft); }
.find input:focus, .find select:focus, .field input:focus, .field select:focus {
  outline: 2px solid var(--blue);
  background: var(--white);
}
.menu-wrap { position: relative; grid-area: menu; }
.menu-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  padding: 0 14px;
  cursor: pointer;
  font-weight: 700;
}
.menu-btn img { width: 22px; height: 22px; }
.menu-btn[aria-expanded="true"] { background: #fff; color: var(--blue); box-shadow: 0 4px 14px rgba(23, 23, 23, .08); }
.nav[hidden] { display: none; }
.nav, .home-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
  padding: 5px;
  background: var(--soft);
  border-radius: 999px;
}
.nav {
  position: absolute;
  z-index: 9;
  top: calc(100% + 8px);
  right: 0;
  width: max-content;
  min-width: 220px;
  flex-direction: column;
  align-items: stretch;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(23, 23, 23, .16);
}
.nav a, .home-tabs a {
  color: var(--ink);
  white-space: nowrap;
  padding: 8px 14px;
  min-height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav a:hover, .home-tabs a:hover { color: var(--blue); transform: translateY(-1px); }
.nav img, .home-tabs img { width: 22px; height: 22px; object-fit: contain; }
.nav a[aria-current="page"], .home-tabs a:focus-visible {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 4px 14px rgba(23, 23, 23, .08);
}
main > .home-tabs {
  width: max-content;
  max-width: calc(100% - 32px);
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: center;
  margin: 0 auto 32px;
  border-radius: 18px;
}
.home-tabs a {
  flex: 0 0 auto;
  justify-content: center;
  padding: 8px 14px;
}

main {
  width: 100%;
  margin: 0;
  padding: 36px 0 72px;
}
main > :not(.hero) {
  width: min(1120px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}
main > .home-tabs {
  width: max-content;
  max-width: calc(100% - 32px);
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}
main > .loading {
  width: min(1120px, calc(100% - 32px));
  min-height: 48vh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
}
main > .back {
  width: fit-content;
  margin-left: calc((100% - min(1120px, 100% - 32px)) / 2);
  margin-right: auto;
}
.lede { color: var(--muted); margin: 8px 0 28px; }
h1, h2, h3 { font-weight: 650; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: 1.8rem; }
h2 { font-size: 1.35rem; }

.hero {
  position: relative;
  width: 100%;
  margin: 0 0 28px;
}
.hero-rotator {
  position: relative;
  overflow: hidden;
  background: var(--soft);
}
.hero-rotator a {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-rotator a.is-on { position: relative; opacity: 1; z-index: 1; pointer-events: auto; }
.hero-rotator a.is-in { animation: hero-in .75s cubic-bezier(.65, 0, .35, 1) both; }
.hero-rotator a.is-out { opacity: 1; animation: hero-out .75s cubic-bezier(.65, 0, .35, 1) both; }
.hero-rotator.is-back a.is-in { animation-name: hero-in-back; }
.hero-rotator.is-back a.is-out { animation-name: hero-out-back; }
@keyframes hero-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes hero-out { from { transform: none; } to { transform: translateX(-100%); } }
@keyframes hero-in-back { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes hero-out-back { from { transform: none; } to { transform: translateX(100%); } }
.hero-rotator picture { display: block; }
.hero-rotator img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.hero-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}
.hero-dots button {
  position: relative;
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 99px;
  background: var(--blue);
  padding: 0;
  overflow: hidden;
  transition: width .35s cubic-bezier(.2, .7, .2, 1), background .3s ease;
}
.hero-dots button.is-on { width: 42px; background: var(--red); }
.hero-dots button.is-on::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  animation: dot-fill 5s linear forwards;
}
@keyframes dot-fill {
  to { transform: scaleX(1); }
}

main.is-ready { animation: rise .35s ease both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.shelf {
  margin-top: 48px;
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 16px;
}
.shelf-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  padding: 8px 0 18px;
  cursor: grab;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  scrollbar-color: #c8c8c8 transparent;
}
.shelf-scroll.is-drag { cursor: grabbing; scroll-snap-type: none; }
.shelf-scroll::-webkit-scrollbar { height: 8px; }
.shelf-scroll::-webkit-scrollbar-track { background: transparent; }
.shelf-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #c8c8c8;
}
html { scrollbar-color: #c8c8c8 transparent; }
html::-webkit-scrollbar { width: 10px; height: 10px; }
html::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb { border-radius: 999px; background: #c8c8c8; }
.shelf-scroll + .shelf-scroll { margin-top: 16px; }
.shelf-scroll .grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: max-content;
  grid-template-columns: none;
  grid-auto-columns: 190px;
  width: max-content;
  gap: 22px 16px;
}
.shelf-scroll .card { scroll-snap-align: start; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 28px 18px;
}
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  padding: 8px 8px 10px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 18px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card > a:not(.buy) {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  color: var(--ink);
}
.card > a:not(.buy):hover { color: var(--ink); }
.card:hover {
  transform: translateY(-3px);
  border-color: #ddd;
  box-shadow: 0 10px 24px rgba(23, 23, 23, .06);
}
.shot {
  position: relative;
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fafafa, var(--soft));
  overflow: hidden;
}
.shot::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -30%;
  bottom: -30%;
  left: -70%;
  width: 55%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, .05) 30%, rgba(255, 255, 255, .78) 50%, rgba(255, 255, 255, .05) 70%, transparent 100%);
  transform: translateX(-20%) rotate(8deg);
  animation: card-shine 2.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes card-shine {
  0%, 18% { transform: translateX(-30%) rotate(8deg); }
  62%, 100% { transform: translateX(320%) rotate(8deg); }
}
.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.card h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.flag { margin-right: 4px; }
.marks { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; }
.grade {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--soft);
  border-radius: 999px;
  padding: 2px 8px;
}
.meta, .qty, .empty, .note { color: var(--muted); }
.meta, .qty { margin: 2px 0 0; font-size: 0.82rem; }
.price { color: var(--red); font-weight: 700; margin: 8px 0 10px; font-size: 1rem; }
.buy, .solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
  transition: transform .16s ease, background .16s ease;
}
.card .buy {
  flex: 0 0 auto;
  align-self: stretch;
  width: 100%;
  height: 38px;
  min-height: 38px;
  margin-top: auto;
  border-radius: 12px;
  white-space: nowrap;
}
a.buy:hover, .solid:hover {
  background: var(--red-dark);
  color: var(--white);
  box-shadow: none;
}
.solid:hover { transform: translateY(-1px); }
a.buy:active, .solid:active { transform: translateY(0); }
.buy:disabled, .solid:disabled { background: #ccc; box-shadow: none; cursor: not-allowed; transform: none; }

.detail {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 40px;
  align-items: start;
}
.detail .shot { aspect-ratio: 3 / 4; width: 100%; }
.detail .shot img,
.detail .shot img.pack,
.detail .shot img.tight {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.specs { width: 100%; border-collapse: collapse; margin: 18px 0 22px; }
.specs th, .specs td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.specs th { color: var(--muted); font-weight: 500; width: 38%; }
.set-link { display: inline-flex; align-items: center; gap: 8px; }
.set-link img, .with-logo img { width: 72px; height: 36px; object-fit: contain; }
.with-logo { display: flex; align-items: center; gap: 12px; }
.detail .buy { width: auto; min-width: 180px; }

.back {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin: 0 0 22px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 700;
}
.back:hover { background: #ececec; color: var(--blue); }

.sets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.set-card {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--ink);
  padding: 12px;
  border-radius: 14px;
  background: var(--soft);
  transition: transform .22s ease, background .22s ease;
}
.set-card:hover { transform: translateY(-3px); background: #f0f0f0; color: var(--ink); }
.set-card img { width: 72px; height: 36px; object-fit: contain; }
.set-card strong { display: block; }
.set-card span { color: var(--muted); font-size: 0.92rem; }

.prose { max-width: 42rem; }
.prose p { margin: 0 0 14px; }
.prose h2 { font-size: 1.05rem; font-weight: 700; margin: 22px 0 8px; color: var(--ink); }
.prose ul { margin: 0 0 14px; padding-left: 1.2rem; }
.prose li { margin: 6px 0; }
.contact-list { list-style: none; padding: 0; margin: 18px 0 0; }
.contact-list li { margin: 10px 0; }

.foot {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
}
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--blue); }
.foot strong { color: var(--ink); font-weight: 650; }
.credit { margin: 8px 0 0; }
.credit a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.credit a:hover { color: var(--blue); }

.cookies {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(560px, calc(100% - 32px));
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(23, 23, 23, .18);
}
.cookies[hidden] { display: none; }
.cookies p { margin: 0; }
.cookies div { display: flex; flex-wrap: wrap; gap: 8px; }
.cookies .ghost, .cookies .solid { flex: 1 1 140px; }
.ghost {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  background: var(--soft);
  cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}
.ghost:hover { background: #ececec; transform: translateY(-1px); }

@media (max-width: 720px) {
  .top { padding: 12px 16px; gap: 8px 10px; }
  .menu-wrap { justify-self: end; }
  .logo img { height: 44px; }
  .set-pick { max-width: none; }
  .nav { border-radius: 16px; }
  .home-tabs a { gap: 6px; padding: 8px 4px; font-size: 0.92rem; }
  .shelf-scroll { padding-bottom: 22px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 8px; }
  .shelf-scroll .grid { grid-template-columns: none; grid-auto-columns: 148px; grid-auto-flow: column; grid-template-rows: max-content; gap: 12px 10px; }
  .card { padding: 6px 6px 8px; }
  .card h3 { font-size: 0.84rem; }
  .meta, .qty { font-size: 0.78rem; }
  .price { font-size: 0.9rem; margin: 6px 0 8px; }
  .card .buy { height: 36px; min-height: 36px; padding: 0 8px; font-size: 0.78rem; }
  .shot { border-radius: 10px; margin-bottom: 6px; }
  .detail { grid-template-columns: 1fr; gap: 18px; }
  .detail .shot { width: min(220px, 70%); margin-inline: auto; }
  main { padding-top: 24px; }
  main > :not(.hero) { width: min(1120px, calc(100% - 24px)); }
  main > .back { margin-left: calc((100% - min(1120px, 100% - 24px)) / 2); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-rotator a, .hero-rotator img, .hero-dots button, .card, .shot img, .shot::after, .nav a, .home-tabs a, .buy, .solid, .ghost, .set-card, .logo img, .shelf-scroll::-webkit-scrollbar-thumb {
    transition: none;
    animation: none;
    transform: none;
  }
  main.is-ready { animation: none; }
}

h1 { font-size: 2.15rem; font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }
.lede { color: #8e8e93; }
.top {
  background: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(60, 60, 67, .12);
}
.search input,
#colecao-btn,
.menu-btn {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(60, 60, 67, .12), 0 4px 14px rgba(22, 58, 158, .08);
  border-radius: 12px;
}
.search input:focus { outline: 2px solid var(--blue); }
.nav,
.set-menu {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  border-radius: 14px;
}
@media (hover: none) {
  .nav, .set-menu { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.meta,
.qty { color: var(--blue); }
.grade { border: 0; border-radius: 999px; background: #e8efff; color: var(--blue); }
.card h3 { color: var(--blue-dark); font-weight: 700; }
.card:active { transform: scale(.97); }
.back { background: none; padding-left: 0; color: var(--blue); }
.back:hover { background: none; color: var(--blue-dark); }

body { background: #fff; }
main {
  min-height: 70vh;
  background:
    radial-gradient(70% 30% at 0% 35%, rgba(29, 78, 216, .12), transparent 70%),
    radial-gradient(60% 30% at 100% 70%, rgba(226, 35, 26, .1), transparent 70%),
    linear-gradient(180deg, #fff 0, #fff 420px, #f5f7ff 640px);
  padding-top: 28px;
}
main:has(> .hero) { padding-top: 0; }
.hero { margin: 0 0 16px; }
.hero-dots { margin-top: 10px; }
.hero-rotator { background: transparent; }
.foot { width: 100%; padding: 28px 16px 48px; border-top: 0; background: #f5f7ff; }
main > .home-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem 1.2rem;
  width: calc(100% - 24px);
  max-width: none;
  margin: 0 auto 8px;
  padding: .7rem 0 .85rem;
  background: transparent;
  border-radius: 0;
}
.home-tabs a,
.home-tabs a:focus-visible {
  gap: .28rem;
  min-height: 0;
  padding: .15rem .2rem;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 700;
}
.home-tabs svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.home-tabs a:hover { color: var(--red); transform: none; }
.home-tabs a:hover svg { transform: translateX(2px); }
.home-tabs + .shelf { margin-top: 18px; }
.shelf { scroll-margin-top: 172px; }
.card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.card:hover { transform: none; box-shadow: none; }
.card .shot {
  border-radius: 26px;
  background: radial-gradient(circle at 50% 30%, #fff 0, #eef2fb 75%);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .05);
}
.card .shot img { padding: 13%; mix-blend-mode: multiply; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.card:hover .shot img { transform: scale(1.07) rotate(-1.5deg); }
.card .shot::after {
  top: 0;
  bottom: 0;
  left: 0;
  width: 250%;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 0, 128, .22) 36%, rgba(255, 220, 0, .22) 44%, rgba(0, 255, 170, .22) 52%, rgba(0, 140, 255, .22) 60%, transparent 76%);
  mix-blend-mode: color-dodge;
  opacity: .9;
  transform: translateX(-60%);
  animation: card-holo 3.2s ease-in-out infinite;
  will-change: transform;
}
@keyframes card-holo { from { transform: translateX(-60%); } to { transform: translateX(30%); } }
.card { position: relative; }
.card .marks { position: absolute; z-index: 2; top: 10px; left: 10px; margin: 0; gap: 4px; }
.card .grade {
  padding: 4px 9px;
  background: rgba(255, 255, 255, .95);
  color: #0f172a;
  font-size: .64rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .1);
}
.card h3 { margin-top: 2px; color: #0f172a; }
.card .meta, .card .qty { color: #64748b; }
.card .price { font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; }
@media (max-width: 720px) {
  .card .shot { border-radius: 20px; }
  .card .marks { top: 7px; left: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .card .shot::after { animation: none; }
  .card:hover .shot img { transform: none; }
}
.card .buy {
  height: 40px;
  min-height: 40px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: none;
}

body.is-loading { overflow: hidden; }
.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 28px;
  background:
    radial-gradient(50% 40% at 0% 0%, rgba(213, 0, 21, .1), transparent 70%),
    radial-gradient(50% 40% at 100% 100%, rgba(29, 78, 216, .12), transparent 70%),
    #fff;
  transition: opacity .45s ease, visibility .45s;
}
.splash.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
}
.splash-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--red), transparent 35%, var(--blue) 50%, transparent 85%, var(--red));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  animation: splash-spin 1.1s linear infinite;
}
.splash-mark img {
  width: 108px;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(20, 20, 60, .18));
  animation: splash-bob 1.4s ease-in-out infinite alternate;
}
.splash-bar {
  position: relative;
  width: 160px;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eaf0;
}
.splash-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--blue));
  animation: splash-slide 1.2s cubic-bezier(.65, 0, .35, 1) infinite;
}
.splash-credit {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(28px, env(safe-area-inset-bottom));
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}
.splash-credit a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.splash-credit a:hover { color: var(--blue); }
.splash-credit a.credit-logo,
.credit a.credit-logo {
  display: inline-block;
  vertical-align: middle;
  text-decoration: none;
  transition: opacity .2s;
}
.credit-logo img { display: block; width: auto; height: 18px; }
.credit-logo:hover { opacity: .75; }
.splash.is-done .splash-mark { transform: scale(1.12); transition: transform .45s ease; }
@keyframes splash-spin { to { transform: rotate(1turn); } }
@keyframes splash-bob { from { transform: translateY(4px) scale(.97); } to { transform: translateY(-6px) scale(1.03); } }
@keyframes splash-slide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) {
  .splash-ring, .splash-mark img, .splash-bar span { animation: none; }
}
