@font-face { font-family: "Schoolbell"; src: url(fonts/schoolbell.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Gochi Hand"; src: url(fonts/gochihand.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Patrick Hand"; src: url(fonts/patrickhand.woff2) format("woff2"); font-display: swap; }
:root { --yellow: #ffd21f; --yellow-soft: #fff3b0; --ink: #1b1b1b; --red: #e8322e; --blue: #3d8bff; --green: #3fbf5f; --grey: #9aa0a6; --line: #b9d3f0; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 20px/1.45 "Patrick Hand", "Comic Sans MS", cursive; background: #1d1850; }
/* Full-page art: fixed pseudo-element (works on iOS, unlike background-attachment: fixed) */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(20,16,60,.20), rgba(20,16,60,.38)), url(assets/hero-background.jpg) center 30% / cover no-repeat; }
a { color: inherit; }
.nav { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 10px 20px; background: var(--yellow); border-bottom: 3px solid var(--ink); }
.nav-logo { font: 28px "Schoolbell", cursive; text-decoration: none; }
.nav nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 20px; }
.nav nav a { text-decoration: none; border-bottom: 2px dashed transparent; }
.nav nav a:hover { border-bottom-color: var(--ink); }
main { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
section { padding: 40px 0; }
.paper { position: relative; background: var(--yellow-soft); border: 3px solid var(--ink); border-radius: 18px 26px 14px 30px / 26px 14px 30px 18px; margin: 28px 0; padding: 36px 20px; box-shadow: 6px 7px 0 var(--ink); }
.hero { text-align: center; overflow: hidden; padding: 56px 20px; background: rgba(20,16,60,.12); }
/* Notebook-paper panels over the art */
.panel { position: relative; margin: 28px 0; padding: 36px 22px 30px; border: 3px solid var(--ink); box-shadow: 6px 7px 0 var(--ink);
  border-radius: 22px 16px 26px 18px / 16px 26px 18px 22px;
  background-color: rgba(255,253,246,.94);
  background-image: linear-gradient(90deg, transparent 40px, rgba(244,166,166,.8) 40px, rgba(244,166,166,.8) 42px, transparent 42px),
                    repeating-linear-gradient(transparent 0 31px, rgba(185,211,240,.8) 31px 32px); }
.about.paper { background: rgba(255,243,176,.94); }
.hero-panel { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; padding: 22px 20px 26px;
  background: rgba(255,243,176,.93); border: 3px solid var(--ink); border-radius: 26px 18px 30px 16px / 16px 30px 18px 26px; box-shadow: 5px 6px 0 var(--ink); }
.hero .hearts .h { color: #fff; } .hero .hearts .h:nth-child(3n) { color: #ff7b9c; }
.pika { width: min(380px, 80vw); height: auto; display: block; margin: 0 auto; position: relative; z-index: 1; }
.cheeks text { font: 92px "Schoolbell", cursive; }
.title { font: clamp(44px, 8vw, 74px)/1 "Schoolbell", cursive; margin: 6px 0 0; position: relative; z-index: 1; transform: rotate(-2deg); }
.scrawl { font: 28px "Gochi Hand", cursive; color: #444; margin: 6px 0; transform: rotate(1.5deg); }
.lead { font-size: 23px; margin: 8px auto 18px; max-width: 32ch; }
.hearts .h { position: absolute; height: auto; aspect-ratio: 40/36; color: var(--ink); transform: rotate(var(--r)); opacity: .85; }

.dots { position: absolute; top: 16px; display: grid; grid-template-columns: repeat(4, 14px); gap: 8px; }
.dots-left { left: 18px; } .dots-right { right: 18px; }
.d { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); }
.d.blue { background: var(--blue); } .d.grey { background: var(--grey); } .d.green { background: var(--green); }
.btn { display: inline-block; font: 22px "Schoolbell", cursive; text-decoration: none; background: var(--yellow); border: 3px solid var(--ink); border-radius: 14px 18px 12px 20px;
  padding: 8px 20px; box-shadow: 3px 4px 0 var(--ink); cursor: pointer; transition: transform .1s; }
.btn:hover { transform: translate(-1px,-2px) rotate(-1deg); }
.btn:active { transform: translate(2px,3px); box-shadow: 0 0 0 var(--ink); }
.btn-big { font-size: 26px; padding: 10px 26px; }
.btn-ghost { background: #fff; }
.btn-sold { background: #ddd; cursor: default; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.section-title { font: 52px/1.1 "Schoolbell", cursive; text-align: center; margin: 0 0 6px; }
.section-title .u { text-decoration: underline wavy var(--red) 3px; text-underline-offset: 10px; }
.section-title .sub { display: block; font: 22px "Gochi Hand", cursive; text-decoration: none; color: #555; margin-top: 12px; }
.shop-note, .ship-note { text-align: center; }
.ship-note { font-size: 18px; color: #444; margin-top: 26px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; margin-top: 24px; }
.item { position: relative; background: #fff; border: 3px solid var(--ink); border-radius: 16px 22px 14px 24px / 22px 14px 24px 16px; padding: 16px 14px 18px; text-align: center; box-shadow: 4px 5px 0 var(--ink); }
.item:nth-child(odd) { transform: rotate(-.7deg); } .item:nth-child(even) { transform: rotate(.6deg); }
.item h3 { font: 24px/1.15 "Gochi Hand", cursive; margin: 6px 0 4px; min-height: 2.3em; display: flex; align-items: center; justify-content: center; }
.item .art { width: 120px; height: auto; }
.art-txt { font: 54px "Schoolbell", cursive; fill: var(--ink); }
.kind { position: absolute; top: 10px; left: 12px; font-size: 15px; background: var(--yellow-soft); border: 2px solid var(--ink); border-radius: 10px; padding: 0 8px; }
.price { position: relative; width: 150px; height: 60px; margin: 0 auto 10px; }
.price svg { position: absolute; inset: 0; }
.price span { position: relative; line-height: 60px; font: 30px/60px "Schoolbell", cursive; }
.item.sold { opacity: .6; }
.confirm { position: absolute; top: 10px; right: 10px; background: var(--red); color: #fff; font-size: 13px; padding: 1px 6px; border-radius: 6px; }
.rnote { font-size: 15px; color: var(--red); margin: 0 0 6px; }
.about-row { display: flex; gap: 24px; align-items: center; max-width: 760px; margin: 0 auto; }
.about-heart { width: 110px; height: 100px; flex: none; color: var(--red); transform: rotate(-10deg); }
.sig { font: 28px "Gochi Hand", cursive; }
.contact { text-align: center; }
.foot { text-align: center; padding: 26px 16px 34px; margin-top: 28px; border-top: 3px solid var(--ink); font-size: 18px; background: rgba(255,210,31,.95); }
.foot .tiny { color: #333; }
.tiny { font-size: 14px; color: #666; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 12px; transition: transform .25s, visibility .25s; z-index: 10; visibility: hidden; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
@media (max-width: 640px) {
  .hero { padding: 44px 12px; } .hero-panel { padding: 16px 12px 20px; }
  body { font-size: 18px; }
  body::before { background-position: 40% top; }
  .panel { padding: 28px 10px 24px; background-image: repeating-linear-gradient(transparent 0 31px, rgba(185,211,240,.8) 31px 32px); }
  .nav { justify-content: center; } .nav nav { gap: 12px; font-size: 18px; justify-content: center; }
  .dots { grid-template-columns: repeat(4, 10px); gap: 5px; } .d { width: 10px; height: 10px; }
  .hearts .h:nth-child(n+9) { display: none; }
  .section-title { font-size: 42px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .item { padding: 12px 8px 14px; } .item .art { width: 90px; } .item h3 { font-size: 19px; }
  .kind { font-size: 12px; top: 6px; left: 6px; }
  .btn { font-size: 19px; padding: 6px 14px; }
  .about-row { flex-direction: column; text-align: center; }
}
.meta { font-size: 15px; color: #555; margin: 0 0 6px; }
.btns { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.alt-ebay { font-size: 16px; color: #333; }
