:root{--ink:#221c2e;--purple:#5333a4;--paper:#fbf8ff;--yellow:#ffe052;--line:#e4daeF}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font:500 1rem/1.5 'DM Sans',system-ui,sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit;color:inherit}button{cursor:pointer}svg{width:22px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}h1,h2,.brand{font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif;margin:0;font-weight:900}p{margin:0}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #794ce9;outline-offset:4px}.wrap{width:min(1220px,calc(100% - 88px));margin-inline:auto}
header{background:#fff;border-bottom:2px solid var(--ink)}.bar{min-height:77px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:11px;font-size:26px;line-height:.83;letter-spacing:.015em}.brand small{display:block;color:var(--purple);font-size:15px;letter-spacing:.23em;margin-top:6px}.mark{display:grid;place-items:center;background:var(--yellow);border:2px solid var(--ink);border-radius:11px;width:42px;height:42px;font:900 italic 33px/1 system-ui;transform:rotate(-8deg);box-shadow:2px 2px var(--ink)}nav{display:flex;gap:32px;font-weight:800}nav a:hover{color:var(--purple)}.basket{border:2px solid var(--ink);background:#fff;border-radius:10px;padding:8px 11px;display:flex;align-items:center;gap:9px;font-weight:800}.basket b{background:var(--yellow);width:25px;height:25px;border-radius:50%;display:grid;place-items:center;font-size:.85rem}
.hero{background:var(--yellow) url('hero.webp') center right/cover no-repeat;border-bottom:2px solid var(--ink)}.hero-inner{min-height:495px;display:flex;align-items:center}.hero-copy{width:min(480px,47%);padding:33px 0}.intro{font-size:.875rem;letter-spacing:.1em;font-weight:900;margin-bottom:12px}.hero h1{font-size:clamp(4rem,7.2vw,7.2rem);line-height:.82;letter-spacing:-.02em;text-transform:uppercase}.hero em{color:var(--purple);font-weight:900}.hero-copy>p:not(.intro){margin:22px 0 20px;max-width:330px;font-weight:700}.primary{display:inline-block;background:var(--purple);color:white;border:2px solid var(--ink);border-radius:9px;padding:11px 20px;box-shadow:4px 4px var(--ink);font-weight:800}.primary:hover{background:#3e207f;transform:translateY(-1px)}
.shop{padding:42px 0 54px}.catalog-head,.filters{display:flex;justify-content:space-between;gap:16px;align-items:end}.catalog-head h2{font-size:clamp(2.4rem,4vw,3.55rem);text-transform:uppercase;line-height:.95}.catalog-head p{margin-top:8px;color:#625775}.search{display:flex;align-items:center;gap:9px;background:white;border:1px solid #cfc4de;border-radius:10px;padding:10px 12px}.search input{border:0;background:transparent;min-width:0;width:170px}.filters{margin:22px 0 16px;align-items:center}.chips{display:flex;gap:8px;flex-wrap:wrap}.chips button{border:1px solid #cfc4de;border-radius:30px;background:white;padding:6px 15px;font-weight:800;font-size:.9rem}.chips button[aria-pressed=true]{color:white;background:var(--purple);border-color:var(--purple)}#results,.demo{color:#655c73;font-size:.875rem}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.card{border:2px solid var(--ink);border-radius:14px;overflow:hidden;background:white;box-shadow:3px 4px var(--ink)}.product-image{width:100%;display:block;aspect-ratio:1.32;object-fit:cover;border-bottom:2px solid var(--ink)}.card-body{padding:14px 15px 16px}.category{color:var(--purple);font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.card h3{margin:3px 0 12px;font-size:1.05rem;line-height:1.2;min-height:2.4em}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.price{font-weight:900;font-size:1.15rem}.add{background:var(--yellow);border:1.5px solid var(--ink);border-radius:8px;padding:4px 11px;font-weight:900;font-size:1.25rem}.add:hover{background:#f8bf37}.demo{margin-top:20px}.empty{grid-column:1/-1;padding:24px;background:white;border-radius:12px}footer{background:var(--ink);color:white;padding:24px 0}footer .wrap{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}
dialog{width:min(100%,450px);max-width:100%;height:100%;max-height:100%;margin:0 0 0 auto;border:0;border-left:2px solid var(--ink);padding:24px;background:var(--paper)}dialog::backdrop{background:#20163099}body:has(dialog[open]){overflow:hidden}.cart-header,.total,.cart-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.cart-header h2{font-size:2rem}.close,.qty button{border:1px solid var(--ink);border-radius:6px;background:white;min-width:32px;min-height:32px}.close{font-size:1.45rem}.cart-row{padding:13px 0;border-bottom:1px solid var(--line)}.qty{display:flex;align-items:center;gap:8px;white-space:nowrap}.total{margin-top:20px}.continue{margin-top:22px}#toast:not(:empty){position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 30px);color:white;background:var(--ink);padding:10px 16px;border-radius:8px;text-align:center}
@media(max-width:850px){.wrap{width:calc(100% - 40px)}nav{gap:15px}.grid{grid-template-columns:repeat(2,1fr)}.hero{background-position:66% center}.hero-copy{background:#ffe052e8;border-radius:12px;padding:15px}.hero-inner{min-height:440px}}
@media(max-width:570px){.wrap{width:calc(100% - 28px)}.bar{gap:12px;flex-wrap:wrap;padding:12px 0}.bar nav{order:3;width:100%;justify-content:space-between;font-size:.9rem}.hero{background-size:auto 290px;background-position:76% top;background-color:var(--yellow)}.hero-inner{min-height:0;padding-top:225px}.hero-copy{width:100%;padding:16px 0 26px;background:none}.hero h1{font-size:3.65rem;line-height:.9}.hero h1 br{display:none}.hero-copy>p:not(.intro){margin:13px 0}.catalog-head{align-items:stretch;flex-direction:column}.search input{width:100%}.filters{align-items:start;flex-direction:column;gap:8px}.grid{gap:12px}.card-body{padding:10px}.shop{padding-top:28px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media(max-width:570px){.hero{background-size:auto 235px;background-position:80% top}.hero-inner{padding-top:235px}}

.hero{background-color:var(--yellow);background-image:radial-gradient(#d08a412e 1px, transparent 1px);background-size:9px 9px}
.hero-inner{gap:36px;justify-content:space-between;padding-block:28px}
.hero-art{display:block;width:53%;height:auto;border-radius:16px;border:2px solid var(--ink);box-shadow:6px 6px var(--ink)}
.art-credit{text-decoration:underline;text-underline-offset:3px}
@media(max-width:850px){.hero-copy{background:none;padding:0}.hero h1{font-size:clamp(3.2rem,8vw,5rem)}.hero-inner{min-height:0;gap:20px}}
@media(max-width:620px){.hero-inner{flex-direction:column;align-items:stretch}.hero-copy,.hero-art{width:100%}.hero h1 br{display:none}.hero-art{order:-1}}
.hero {
  position: relative;
  overflow: hidden;
  color: #fff5dc;
  background: radial-gradient(ellipse at 63% 23%, #3b2b8a, transparent 62%), linear-gradient(132deg,#141128,#19183d 65%,#281b51);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.36fr);
  align-items: center;
  min-height: 510px;
  padding-block: 35px;
  gap: clamp(24px, 5vw, 75px);
}
.hero-copy {width: 100%; padding: 0; background: none}
.hero .intro {color: #fbce72}
.hero h1 {font-size: clamp(3.55rem, 6.7vw, 7rem); line-height: .83}
.hero h1 em {color: #ffce58}
.hero-copy > p:not(.intro) {color: #f0dfec}
.hero .primary {background: #ffce58; color: #211436; box-shadow: 4px 4px #a672ff}
.hero .primary:hover {background: #ffe294}
.hero-art {
  width: 100%;
  height: auto;
  border: 1px solid #e8ba79;
  border-radius: 22px;
  box-shadow: 0 0 0 6px #b19cf522, 0 20px 58px #0b092588;
}
@media (max-width: 720px) {
  .hero-inner {display: flex; flex-direction: column; align-items: stretch; min-height: 0; gap: 25px; padding-block: 22px 32px}
  .hero-art {order: -1}
  .hero h1 {font-size: clamp(3.2rem, 11vw, 5.2rem)}
  .hero h1 br {display: none}
}

.ensemble {
  display: grid;
  grid-template: repeat(2, minmax(0, 1fr)) / 1fr 2.15fr 1fr;
  align-items: center;
  aspect-ratio: 1.48;
  padding: 3%;
  gap: 1%;
  isolation: isolate;
  overflow: hidden;
  background: repeating-conic-gradient(from 25deg at 50% 49%, #ffffff00 0deg 12deg, #ffffff60 13deg 14deg, #ffffff00 15deg 23deg), radial-gradient(ellipse at center,#fff9e6 12%,#ffd772 48%,#de8caf 80%,#8d71d1);
}
.ensemble img {display:block;width:100%;height:100%;min-height:0;object-fit:contain;filter:drop-shadow(0 6px 6px #29143b40)}
.ensemble .kanto-team {grid-area:1 / 2 / span 2 / 3;mix-blend-mode:multiply;filter:none}
.ensemble .charizard {grid-area:1 / 1;transform:scale(1.13) rotate(-8deg)}
.ensemble .meowth {grid-area:2 / 1;transform:scale(.88) rotate(-6deg)}
.ensemble .mew {grid-area:1 / 3;transform:scale(.86) rotate(8deg)}
.ensemble .mewtwo {grid-area:2 / 3;transform:scale(1.07) rotate(5deg)}

.story {padding: 25px 0 62px}
.story-heading {max-width: 700px; margin-bottom: 24px}
.story h2, .market-layout h2 {font-size: clamp(2.4rem, 5vw, 3.7rem); line-height: .96; margin-bottom: 12px}
.story-grid {display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px}
.story-grid article {overflow: hidden; border: 2px solid var(--ink); border-radius: 16px; background: white; box-shadow: 4px 4px var(--ink)}
.story-grid article > div {padding: 16px}
.story-grid h3 {margin: 0 0 5px}
.story-grid a {display: inline-block; margin-top: 9px; color: var(--purple); font-weight: 800; text-decoration: underline}
.story-grid img {display: block; width: 100%; height: 190px; object-fit: contain; padding: 14px; background: #ffe8ad}
.story-grid article:first-child img {mix-blend-mode: multiply}
.story-grid article:nth-child(2) img {background: #f9c4a0}
.story-grid article:nth-child(3) img {background: #dfcdf8}
.market-banner {background: radial-gradient(ellipse at 75% 30%, #513197, #17132d 68%); color: #fff3da; border-bottom: 3px solid var(--ink)}
.market-banner-inner {display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: center; padding-block: 36px}
.market-banner h1 {font-size: clamp(3rem, 7vw, 6rem); text-transform: uppercase; line-height: .84; max-width: 680px}
.market-banner p {max-width: 520px; margin: 18px 0}
.market-banner img {width: 100%; max-height: 235px; object-fit: contain}
.market-banner .primary {background: #ffce58; color: var(--ink)}
.market-layout {display: grid; grid-template-columns: 1fr 1.4fr; gap: 35px; padding-block: 40px 58px}
.market-panel {background: white; border: 2px solid var(--ink); border-radius: 16px; box-shadow: 4px 5px var(--ink); padding: clamp(18px, 4vw, 32px)}
.market-panel form {display: grid; gap: 14px; margin-top: 18px}
.market-panel label {display: grid; gap: 5px; font-size: .95rem; font-weight: 800}
.market-panel label span {font-weight: 500}
.market-panel input,.market-panel select,.market-panel textarea {width: 100%; border: 1px solid #bcaad1; border-radius: 8px; padding: 9px 10px; font: inherit; font-weight: 500; background: white}
.market-panel .primary {justify-self: start}
.market-panel button:disabled {opacity: .65; cursor: wait}
.form-pair {display: grid; grid-template-columns: 1fr 1fr; gap: 10px}
.market-mew {display: block; max-width: 160px; max-height: 170px; object-fit: contain; margin: 22px auto 0}
.market-layout li {margin-bottom: 8px}
nav a[aria-current] {color: var(--purple); text-decoration: underline}
@media (max-width: 720px) {
  .story-grid,.market-layout {grid-template-columns: 1fr}
  .story-grid img {height: 165px}
  .market-banner-inner {grid-template-columns: 1fr}
  .market-banner img {grid-row: 1; height: 115px}
}

.privacy-page {max-width: 760px; padding-block: 36px 64px}
.privacy-page h1 {font-size: clamp(2.7rem, 7vw, 4.5rem); line-height: 1}
.privacy-page h2 {margin-top: 21px; font-size: 1.8rem}
.privacy-page p {margin-top: 7px}
.privacy-page a,.footer-privacy a,.cookie-banner a {text-decoration: underline; text-underline-offset: 3px}
.footer-privacy {display: flex; flex-wrap: wrap; gap: 12px}
.footer-privacy button {background: none; border: 0; color: inherit; padding: 0; text-decoration: underline; text-underline-offset: 3px}
.cookie-banner {position: fixed; z-index: 20; inset: auto 16px 16px auto; width: min(460px, calc(100% - 32px)); padding: 16px; border: 2px solid var(--ink); border-radius: 12px; background: white; box-shadow: 4px 4px var(--ink)}
.cookie-banner h2 {font-size: 1.7rem; line-height: 1.1; margin-bottom: 5px}
.cookie-banner p {margin-bottom: 7px}
.cookie-banner a {color: var(--purple)}
.cookie-actions {display: flex; gap: 8px; flex-wrap: wrap; margin-top: 11px}
.cookie-actions button {border: 1px solid var(--ink); border-radius: 7px; background: #f4edff; min-height: 40px; padding: 6px 12px; font-weight: 700}
