/* Character Vault — portable, dependency-free styles */
:root {
  --paper: #f8f9f5;
  --surface: #ffffff;
  --ink: #193e34;
  --muted: #727b72;
  --green: #295b43;
  --lime: #d8ebad;
  --line: #e3e7dc;
  --font: "Trebuchet MS", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #779e52; outline-offset: 4px; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
.wrap { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 20; padding: 12px; border-radius: 6px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.site-header { height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 11px); gap: 3px; transform: rotate(-9deg); }
.brand-mark i { display: block; width: 11px; height: 11px; border-radius: 3px; background: var(--green); }
.brand-mark i:nth-child(2) { background: #a9bd80; border-radius: 3px 8px 3px 3px; }
.brand-mark i:nth-child(3) { background: #c9d6b1; }
.brand-name { font-size: 19px; font-weight: bold; letter-spacing: -.8px; }
.brand-name span { font-weight: normal; }
.header-nav { display: flex; align-items: center; gap: 32px; }
.header-nav a { text-decoration: none; font-size: 13px; color: #627064; }
.header-nav a:hover { color: var(--green); }
.collection-link { display: inline-flex; align-items: center; gap: 8px; background: #ecf0e5; border: 1px solid #e3e8d7; border-radius: 30px; padding: 9px 13px; font-size: 11px; letter-spacing: .2px; white-space: nowrap; }
.collection-link i { width: 6px; height: 6px; border-radius: 50%; background: #658650; }
.hero { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; min-height: 388px; padding-block: 38px 40px; gap: 25px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 17px; color: #6b7b59; font-size: 10px; font-weight: bold; letter-spacing: 2px; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 19px; height: 1px; background: #7b8c66; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 4.7vw, 65px); line-height: 1.04; font-weight: normal; letter-spacing: -2.6px; }
h1 em { font-weight: normal; color: #698651; }
.hero-description { max-width: 350px; margin: 20px 0 22px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.hero-meta { display: flex; align-items: center; gap: 14px; font-size: 11px; color: #677362; }
.hero-meta b { color: var(--ink); }
.meta-divider { height: 12px; width: 1px; background: #cfd7c6; }
.hero-art { position: relative; height: 300px; isolation: isolate; }
.hero-art::before { content: ""; position: absolute; width: 290px; height: 270px; border-radius: 48% 48% 42% 48%; background: #e8eddb; left: 43%; top: 12px; transform: translateX(-50%) rotate(-13deg); z-index: -2; }
.hero-art::after { content: ""; position: absolute; width: 330px; height: 230px; border: 1px dashed #c5d0b5; border-radius: 50%; left: 43%; top: 26px; transform: translateX(-50%) rotate(-29deg); z-index: -1; }
.hero-main { width: 264px; height: 264px; object-fit: contain; position: absolute; left: 43%; top: 5px; transform: translateX(-50%) rotate(-5deg); filter: drop-shadow(0 14px 10px #32442414); }
.floating-card { position: absolute; display: flex; align-items: center; justify-content: center; border: 1px solid #fff; background: #f3ead7; box-shadow: 0 12px 24px #2b432713; border-radius: 17px; }
.floating-card img { width: 83px; height: 90px; object-fit: contain; }
.floating-card.zobo { width: 106px; height: 109px; right: 0; top: 23px; transform: rotate(11deg); }
.floating-card.star { width: 80px; height: 83px; left: 9px; bottom: 19px; background: #edf2e6; transform: rotate(-12deg); }
.floating-card.star img { width: 61px; height: 64px; }
.hero-caption { position: absolute; bottom: 7px; right: 4px; font-size: 11px; color: #687d5a; display: flex; align-items: center; gap: 8px; }
.hero-caption span { font-size: 20px; }
.collection { border-top: 1px solid var(--line); padding-top: 30px; scroll-margin-top: 30px; }
.collection-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-kicker { margin: 0 0 7px; color: #8a9480; text-transform: uppercase; font-size: 9px; letter-spacing: 2px; font-weight: bold; }
.collection-heading h2 { margin: 0; font-size: 24px; letter-spacing: -.8px; font-weight: normal; }
.collection-heading h2 span { display: inline-block; margin-left: 5px; vertical-align: middle; padding: 3px 8px; border: 1px solid #dde3d5; border-radius: 30px; color: #76816c; font-size: 10px; letter-spacing: 0; }
.search-box { display: flex; align-items: center; gap: 9px; width: 262px; height: 41px; padding: 0 13px; border: 1px solid #dfe5d8; background: #fff; border-radius: 9px; color: #84917e; }
.search-box:focus-within { border-color: #a5bb8d; }
.search-box input { min-width: 0; width: 100%; border: none; outline: none; color: var(--ink); background: transparent; font-size: 11px; }
.search-box input::placeholder { color: #9aA190; }
.icon { width: 16px; height: 16px; display: inline-block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.collection-layout { display: grid; grid-template-columns: 195px 1fr; gap: 31px; align-items: start; }
.sidebar { position: sticky; top: 25px; }
.sidebar-label { font-size: 9px; letter-spacing: 1.6px; text-transform: uppercase; color: #8a9480; margin: 0 0 13px 12px; }
.category-list { display: flex; flex-direction: column; gap: 5px; }
.category-button { width: 100%; display: flex; align-items: center; gap: 10px; border: 1px solid transparent; background: transparent; color: #707c69; padding: 13px 12px; text-align: left; border-radius: 9px; font-size: 12px; transition: background .18s, color .18s; }
.category-button .count { margin-left: auto; font-size: 10px; opacity: .65; }
.category-button:hover { background: #ecf0e5; }
.category-button[aria-pressed="true"] { background: var(--green); color: #fff; box-shadow: 0 4px 10px #183e3410; }
.category-button .icon { width: 17px; height: 17px; }
.sidebar-note { margin: 26px 7px 0; padding: 18px 14px; border: 1px solid #e4e7d9; background: #f0f2e7; border-radius: 10px; }
.sidebar-note .note-star { color: #82985c; font-size: 24px; line-height: 1; }
.sidebar-note h3 { font-size: 12px; margin: 10px 0 8px; font-weight: normal; }
.sidebar-note p { font-size: 10px; line-height: 1.8; color: #859078; margin: 0; }
.catalog-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 12px; min-height: 16px; }
.catalog-label { font-size: 11px; font-weight: bold; }
.catalog-result { font-size: 10px; color: #8a9382; }
.character-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.character-card { min-width: 0; border: 1px solid #e3e7dd; border-radius: 12px; padding: 9px; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.character-card:hover { transform: translateY(-3px); border-color: #bdcdae; box-shadow: 0 8px 20px #254b3610; }
.character-visual { height: 151px; border-radius: 7px; position: relative; display: flex; align-items: center; justify-content: center; background: #f1f3ea; overflow: hidden; }
.character-visual::after { content: ""; width: 74px; height: 7px; background: #243e3012; border-radius: 50%; position: absolute; bottom: 20px; filter: blur(4px); z-index: 0; }
.character-visual img { max-width: 113px; max-height: 119px; object-fit: contain; position: relative; z-index: 1; transition: transform .25s; }
.character-card:hover .character-visual img { transform: translateY(-3px) rotate(-2deg); }
.character-card:nth-child(4n + 2) .character-visual { background: #f7f0e7; }
.character-card:nth-child(4n + 3) .character-visual { background: #eef2f3; }
.character-card:nth-child(4n) .character-visual { background: #f2eef5; }
.character-card[data-category="cards-and-stars"] .character-visual img { max-height: 130px; max-width: 110px; }
.character-card[data-category="cards-and-stars"] .character-visual::after { display: none; }
.variant-badge { position: absolute; top: 7px; left: 7px; z-index: 2; background: #ffffffdf; padding: 3px 5px; border-radius: 4px; font-size: 8px; color: #847345; letter-spacing: .2px; }
.card-copy { padding: 13px 3px 10px; }
.card-category { font-size: 8px; text-transform: uppercase; letter-spacing: 1.1px; color: #8a947e; margin: 0 0 5px; }
.card-copy h3 { font-size: 12px; font-weight: bold; line-height: 1.4; min-height: 34px; margin: 0; color: #344c3c; overflow-wrap: anywhere; }
.claim-button { width: 100%; height: 33px; border: 1px solid #dee7d2; background: #eff4e7; color: #42613a; border-radius: 6px; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 11px; transition: background .18s, border-color .18s; }
.claim-button:hover { background: var(--lime); border-color: #c1d59c; }
.claim-button .icon { width: 12px; height: 12px; }
.empty-state { text-align: center; padding: 65px 20px; border: 1px dashed #d9e2cf; border-radius: 12px; }
.empty-state h3 { font-size: 20px; font-weight: normal; margin: 0 0 10px; }
.empty-state p { color: var(--muted); font-size: 12px; }
.clear-search { padding: 9px 15px; border: 0; color: #fff; background: var(--green); border-radius: 6px; font-size: 11px; }
.catalog-note { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 10px; color: #8e9885; }
.catalog-note .icon { width: 12px; height: 12px; }
.how-it-works { margin-top: 58px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 25px; align-items: center; }
.how-heading .section-kicker { margin-bottom: 8px; }
.how-heading h2 { font-family: Georgia, "Times New Roman", serif; margin: 0; font-weight: normal; font-size: 24px; letter-spacing: -.6px; }
.step { display: flex; gap: 12px; align-items: flex-start; }
.step-number { display: flex; align-items: center; justify-content: center; width: 27px; height: 27px; border: 1px solid #dce4d1; border-radius: 50%; font-size: 10px; color: #799363; flex-shrink: 0; }
.step h3 { margin: 0 0 5px; font-size: 11px; font-weight: normal; }
.step p { margin: 0; font-size: 10px; line-height: 1.7; color: #8b9581; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 25px; color: #8c9585; font-size: 10px; }
.site-footer .brand-name { font-size: 14px; color: #6b7c62; }
.site-footer .brand-mark { grid-template-columns: repeat(2, 7px); gap: 2px; }
.site-footer .brand-mark i { width: 7px; height: 7px; border-radius: 2px; }
.site-footer p { margin: 0; text-align: right; line-height: 1.7; }
.locker-dialog { width: min(440px, calc(100% - 40px)); padding: 32px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: var(--paper); box-shadow: 0 20px 100px #193e3426; }
.locker-dialog::backdrop { background: #10291fb0; backdrop-filter: blur(4px); }
.locker-dialog h2 { font: normal 28px Georgia, serif; margin: 12px 0; }
.locker-dialog p { font-size: 13px; line-height: 1.8; color: #6e7f69; }
.locker-dialog code { background: #e8eddf; padding: 2px 5px; border-radius: 3px; font-size: 12px; }
.locker-dialog .close-dialog { margin-top: 10px; border: 0; background: var(--green); color: #fff; padding: 11px 18px; border-radius: 7px; }
.noscript-notice { border: 1px solid #d9e2cc; border-radius: 8px; padding: 15px; font-size: 13px; }
@media (min-width: 1500px) { .hero { min-height: 420px; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 56px); }
  .collection-layout { grid-template-columns: 170px 1fr; gap: 23px; }
  .character-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-art { transform: scale(.94); }
  .how-it-works { gap: 18px; }
}
@media (max-width: 780px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { height: 76px; }
  .header-nav { gap: 20px; }
  .header-nav a { font-size: 11px; }
  .collection-link { display: none; }
  .brand-name { font-size: 17px; }
  .hero { min-height: 340px; grid-template-columns: 1.05fr 1fr; gap: 0; padding-block: 26px; }
  h1 { font-size: 44px; letter-spacing: -2px; }
  .hero-art { transform: scale(.8); transform-origin: center; margin-inline: -20px; }
  .hero-description { font-size: 12px; margin-block: 15px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.5px; }
  .hero-meta { font-size: 9px; gap: 10px; }
  .collection-layout { grid-template-columns: 1fr; gap: 23px; }
  .sidebar { position: static; }
  .sidebar-label, .sidebar-note { display: none; }
  .category-list { flex-direction: row; gap: 7px; }
  .category-button { width: auto; flex: 1; padding: 12px 10px; justify-content: center; gap: 7px; white-space: nowrap; font-size: 11px; background: #edf0e5; }
  .category-button .count { margin-left: 3px; }
  .character-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .how-it-works { grid-template-columns: repeat(3, 1fr); padding-block: 24px; }
  .how-heading { grid-column: 1/-1; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  .header-nav a:last-child { display: none; }
  .hero { display: block; padding-block: 30px 0; }
  h1 { font-size: 48px; }
  .hero-description { max-width: 300px; }
  .hero-art { height: 270px; transform: scale(.88); margin: -12px 0 -8px; }
  .hero-main { width: 242px; height: 242px; }
  .hero-art::before { height: 240px; width: 265px; }
  .floating-card.zobo { right: 0; }
  .floating-card.star { left: 0; }
  .hero-caption { bottom: 0; }
  .collection { padding-top: 24px; }
  .collection-heading { flex-wrap: wrap; gap: 18px; margin-bottom: 18px; }
  .collection-heading h2 { font-size: 23px; }
  .search-box { width: 100%; height: 43px; }
  .category-button { font-size: 10px; gap: 5px; padding-inline: 6px; }
  .category-button .icon { width: 13px; height: 13px; }
  .category-button .count { display: none; }
  .character-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .character-card { padding: 8px; }
  .character-visual { height: 142px; }
  .character-visual img { max-width: 100px; max-height: 112px; }
  .card-copy h3 { font-size: 11px; min-height: 32px; }
  .claim-button { height: 36px; }
  .how-it-works { margin-top: 35px; grid-template-columns: 1fr; gap: 20px; }
  .how-heading { margin-bottom: 3px; }
  .step p { font-size: 11px; }
  .step h3 { font-size: 12px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
  .site-footer p { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
