:root {
  --paper: #fffbf2;
  --ink: #25213a;
  --muted: #655d6e;
  --plum: #5035a5;
  --berry: #a82656;
  --yellow: #ffd25a;
  --line: #e9dfd6;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Yu Gothic", Meiryo, "Hiragino Kaku Gothic ProN", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.65 var(--sans); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .22em; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #b83169; outline-offset: 4px; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: -100px; z-index: 5; background: white; padding: 12px; }
.skip:focus { top: 10px; left: 10px; }
.preview-notice { padding: 5px 16px; text-align: center; background: #eae2ff; color: #402778; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.site-header, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.site-header { min-height: 81px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; font: 700 26px/1.05 var(--serif); letter-spacing: .12em; }
.brand small { display: block; margin-top: 5px; font: 700 8px/1.2 var(--sans); letter-spacing: .15em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 15px 15px 15px 4px; background: var(--ink); color: white; letter-spacing: 0; }
nav, .footer-links { display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 700; }
.nav-search { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid #d8ccec; border-radius: 10px; color: var(--plum); }
.nav-search svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.hero { display: grid; grid-template-columns: 46% 54%; min-height: 470px; border: 1px solid #f3db92; border-radius: 28px; overflow: hidden; background: linear-gradient(118deg, #fff1ba 3%, #ffe48f 52%, #efcdf4 100%); isolation: isolate; }
.hero-copy { padding: clamp(30px, 5vw, 74px) 0 clamp(30px, 5vw, 65px) clamp(30px, 5vw, 74px); z-index: 1; }
.eyebrow { margin: 0 0 6px; color: var(--berry); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: #be3c63; }
h1, h2 { font-family: var(--serif); margin: 0; line-height: 1.25; letter-spacing: -.04em; }
h1 { margin-top: 19px; font-size: clamp(30px, 3.8vw, 54px); }
h1 em { color: var(--berry); font-style: normal; }
.hero-copy > p:not(.eyebrow) { margin: 20px 0 24px; font-size: 17px; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 9px 17px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 800; }
.primary { background: var(--plum); color: white; }
.secondary { border-color: #d6c7e6; background: #fffdfa; color: #483187; }
.hero-art { position: relative; min-width: 0; background: radial-gradient(ellipse at 53% 50%, #ffffff65 0%, transparent 69%); }
.hero-cover { position: absolute; box-shadow: 0 14px 34px #3920473b; border-radius: 5px 10px 10px 5px; overflow: hidden; }
.hero-cover img { width: 100%; height: auto; }
.hero-cover:nth-of-type(1) { width: 29%; left: 11%; top: 20%; transform: rotate(-11deg); z-index: 1; }
.hero-cover:nth-of-type(2) { width: 31%; left: 37%; top: 13%; transform: rotate(8deg); z-index: 2; }
.hero-cover:nth-of-type(3) { width: 36%; right: 7%; top: 57%; transform: rotate(9deg); z-index: 3; border: 4px solid #fff4e3; border-radius: 12px; aspect-ratio: 1.58; }
.hero-cover:nth-of-type(3) img { width: 100%; height: 100%; object-fit: cover; object-position: center 23%; }
.spark { position: absolute; font-size: 62px; line-height: 1; color: #a82656; }
.spark-one { top: 9%; right: 11%; }
.spark-two { left: 5%; bottom: 13%; color: #5230a0; }
.art-caption { position: absolute; bottom: 5%; right: 9%; font-size: 10px; font-weight: 800; letter-spacing: .22em; color: #47336c; }
.section { padding-block: 49px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 23px; }
.section-heading h2 { font-size: clamp(29px, 4.1vw, 49px); }
.section-heading > p { margin: 0 0 3px; color: var(--muted); }
.section-heading > a, .text-button { color: var(--plum); font-weight: 800; }
.pick-card { display: grid; grid-template-columns: minmax(170px, 32%) 1fr; gap: clamp(20px, 4vw, 66px); align-items: center; border: 1px solid #eed2dd; border-radius: 24px; padding: clamp(19px, 3vw, 34px); background: #fce7ed; }
.pick-card .product-art { height: 264px; background: #f2cadb; }
.pick-card .product-body { max-width: 570px; }
.pick-card h3 { font: 700 clamp(25px, 4vw, 40px)/1.35 var(--serif); }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; background: #ffe6a4; color: #583500; font-size: 11px; font-weight: 800; }
.new-section { background: #fff0c7; border-block: 1px solid #f4e0b0; }
.new-grid, .shelf-grid, .game-grid, .sticker-grid, .free-grid, .product-grid { display: grid; gap: 17px; }
.new-grid, .free-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shelf-grid, .game-grid, .sticker-grid, .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card, .shelf-card, .game-card, .sticker-card, .release-card, .free-card { min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: #fffefa; overflow: hidden; }
.product-art { position: relative; display: grid; place-items: center; height: 185px; padding: 15px; background: #f1eafa; overflow: hidden; }
.product-art img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.product-art.cover { background: #f4e8d9; }
.product-art.cover img { filter: drop-shadow(3px 5px 5px #31242d35); }
.product-art.sticker { background: #e9f4d7; }
.shelf-card .product-art { height: 280px; padding: 19px; }
.shelf-card:nth-child(2) .product-art { background: #e9ebfa; }
.shelf-card:nth-child(3) .product-art { background: #f5e2eb; }
.shelf-card:nth-child(4) .product-art { background: #fff0c2; }
.product-body { padding: 15px; }
.product-body h3 { margin: 4px 0 8px; line-height: 1.45; overflow-wrap: anywhere; }
.card-category { margin: 0; font-size: 11px; color: #753d7a; font-weight: 800; }
.author, .checked, .image-placeholder, .game-note { color: var(--muted); font-size: 12px; }
.description { margin: 8px 0 12px; }
.offers { display: grid; gap: 6px; margin-top: 9px; }
.offer-link { display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 7px 9px; min-height: 42px; color: #402775; background: #eee6fb; border-radius: 8px; font-size: 12px; font-weight: 800; }
.offer-link.demo { background: #fff0b9; color: #543c05; }
.offer-price { display: block; font-size: 10px; font-weight: 600; }
.game-section { background: #251b47; color: #fffaf2; }
.game-section .eyebrow { color: #ffd86d; }
.game-section .section-heading > p { color: #e0d7f4; }
.game-card { color: var(--ink); border-color: #6b5192; background: #fffafb; }
.game-card .product-art { background: #17112d; height: 195px; padding: 0; }
.game-card .product-body { padding: 14px; }
.game-card h3 { min-height: 2.9em; font-size: 16px; }
.game-note { margin: 4px 0 7px; }
.sticker-panel { padding: clamp(18px, 3vw, 35px); background: #e9f4d7; border: 1px solid #d5e8bb; border-radius: 24px; }
.sticker-card .product-art { height: 118px; }
.sticker-card h3, .release-card h3 { font-size: 15px; }
.sticker-card .product-art img { max-width: 128px; }
.release-card { display: grid; grid-template-columns: 33% 1fr; }
.release-card .product-art { height: 100%; min-height: 120px; padding: 7px; }
.release-card time { font-size: 11px; color: #815511; }
.free-card { display: flex; flex-direction: column; gap: 5px; padding: 17px; }
.free-card strong { font-size: 17px; }
.free-card span { color: var(--muted); font-size: 13px; }
.free-card .free-action { color: var(--plum); font-weight: 800; }
.related-section { border-top: 1px solid var(--line); }
.related-section .section-heading h2 { font-size: clamp(25px, 3.6vw, 38px); }
.related-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.related-card { padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: #fffefa; }
.related-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #eee6fb; color: var(--plum); }
.related-card:nth-child(2n) .related-icon { background: #fff0c2; color: #765421; }
.related-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.related-copy h3 { margin: 10px 0 4px; font-size: 15px; overflow-wrap: anywhere; }
.related-copy p { margin: 0; color: var(--muted); font-size: 13px; }
.related-copy .affiliate-note { margin-top: 8px; font-size: 11px; }
.related-links { display: flex; flex-wrap: wrap; column-gap: 10px; margin-top: 5px; }
.related-links a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--plum); font-size: 12px; font-weight: 800; }
.related-demos { margin-top: 24px; }
.related-demos h3 { font-size: 15px; margin: 0 0 9px; }
.related-demos .free-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.related-demos .free-card { padding: 12px; }
.related-demos .free-card strong { font-size: 14px; }
.catalog-section { border-top: 1px solid var(--line); }
.search-form label, .store-control label { display: block; font-weight: 700; margin-bottom: 4px; }
.search-row { display: flex; gap: 8px; }
input, select { min-width: 0; padding: 8px 11px; border: 1px solid #d8cbd8; border-radius: 9px; background: white; color: var(--ink); }
input { flex: 1; }
.filter-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; align-items: end; }
.category-list { display: flex; flex: 1; flex-wrap: wrap; gap: 6px; }
.category-list button { min-height: 40px; border-radius: 999px; border: 1px solid #e2d7eb; background: #fffdfa; padding: 5px 12px; color: var(--ink); font-size: 13px; }
.category-list button[aria-pressed="true"] { background: var(--plum); color: white; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin: 12px 0; }
.results-bar p { margin: 0; }
.text-button { border: 0; background: none; padding: 5px; }
.load-more-wrap, .empty-state { text-align: center; margin-top: 20px; }
.site-footer { border-top: 1px solid var(--line); padding: 29px 0; background: #f3ecfa; }
.footer-inner p { color: var(--muted); font-size: 12px; margin: 11px 0 0; }
@media (max-width: 900px) {
  .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wrap { width: calc(100% - 44px); }
  .hero { min-height: 365px; }
  .hero-cover:nth-of-type(3) { top: 52%; }
  .shelf-card .product-art { height: 215px; }
  .game-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .new-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .related-grid, .related-demos .free-grid { grid-template-columns: minmax(0, 1fr); }
  .related-card { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
  .related-copy h3 { margin-top: 0; }
  .wrap { width: calc(100% - 28px); }
  .site-header { min-height: 70px; gap: 6px; }
  .brand { font-size: 20px; gap: 6px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 10px 10px 10px 3px; }
  .brand small { font-size: 6px; }
  nav { gap: 8px; font-size: 11px; }
  nav a:nth-child(3) { display: none; }
  .nav-search { padding: 5px 6px; }
  .nav-search svg { width: 13px; height: 13px; }
  .hero { grid-template-columns: 1fr; min-height: auto; border-radius: 21px; }
  .hero-copy { padding: 24px 19px 0; }
  .hero-copy > p:not(.eyebrow) { font-size: 14px; margin: 12px 0 16px; }
  h1 { font-size: clamp(36px, 10.3vw, 54px); margin-top: 12px; }
  .hero-actions { gap: 7px; }
  .hero-actions .button { font-size: 12px; padding: 6px 11px; }
  .hero-art { height: 215px; }
  .hero-cover:nth-of-type(1) { width: 23%; left: 19%; top: 13%; }
  .hero-cover:nth-of-type(2) { width: 24%; left: 41%; top: 10%; }
  .hero-cover:nth-of-type(3) { width: 34%; right: 8%; top: 49%; }
  .spark { font-size: 32px; }
  .spark-one { top: 14%; }
  .spark-two { left: 8%; bottom: 25%; }
  .art-caption { bottom: 5%; font-size: 8px; }
  .section { padding-block: 31px; }
  .section-heading { align-items: start; flex-direction: column; gap: 5px; margin-bottom: 14px; }
  .section-heading > p, .section-heading > a { font-size: 12px; }
  .pick-card { grid-template-columns: minmax(91px, 37%) 1fr; gap: 12px; padding: 12px; border-radius: 16px; }
  .pick-card .product-art { height: 168px; padding: 7px; }
  .pick-card .product-body { padding: 0; }
  .pick-card h3 { font-size: 21px; }
  .pick-card .description { font-size: 12px; }
  .new-grid, .game-grid { grid-template-columns: minmax(0, 1fr); }
  .shelf-grid, .sticker-grid, .free-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .shelf-card .product-art { height: 177px; padding: 9px; }
  .product-art { height: 136px; padding: 9px; }
  .product-body { padding: 9px; font-size: 12px; }
  .game-card .product-art { height: 172px; }
  .game-card h3 { min-height: 0; }
  .game-card .offers { grid-template-columns: 1fr 1fr; }
  .release-card .product-art { min-height: 92px; }
  .sticker-card .product-art { height: 100px; }
  .sticker-card h3 { font-size: 13px; }
  .free-card { padding: 11px; }
  .free-card strong { font-size: 14px; }
  .footer-inner { align-items: start; flex-direction: column; gap: 14px; }
  .footer-links { flex-wrap: wrap; font-size: 12px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
