:root{color-scheme:light;--ink:#403c34;--green:#24674e;font-family:"Hiragino Maru Gothic ProN","Hiragino Sans","Yu Gothic",sans-serif;color:var(--ink);background:#fffcf5;font-size:100%}*{box-sizing:border-box}body{margin:0}a{color:inherit}header{background:#fffdf8;border-bottom:2px solid #eadfce}.wrap{width:min(1090px,calc(100% - 48px));margin:auto}.top,.heading,.tickets,.actions,footer{display:flex;align-items:center;justify-content:space-between;gap:14px}.top{min-height:69px}.brand{font-weight:900;letter-spacing:.04em;text-decoration:none;display:flex;align-items:center;gap:9px;font-size:1.25rem}button,select,summary,nav a{font:inherit;color:inherit;min-height:44px}button,select{border:1.5px solid #b9ad98;background:#fffdf7;border-radius:24px;padding:8px 17px;font-weight:750;cursor:pointer}.hero{margin:25px 0 28px;display:grid;grid-template-columns:1.18fr 1fr;align-items:center;overflow:hidden;position:relative;border:2px solid #b8d5bf;border-radius:28px;background:linear-gradient(110deg,#e9f6e7,#d5ecde)}.hero>div{padding:24px 0 24px clamp(20px,4vw,58px);z-index:1}.hero img{width:100%;height:auto;align-self:end}.age{color:#396c54;font-size:.9rem;font-weight:800;letter-spacing:.1em;margin:0}.hero h1{font-size:clamp(2.4rem,5.6vw,4.8rem);line-height:1.2;letter-spacing:.015em;margin:10px 0;color:#315d48}.hero h1 span{color:#be572f}.tag{font-weight:750;letter-spacing:.06em;margin:0}.heading{margin-bottom:16px}h2,h3,p{margin:0}.heading h2{font-size:clamp(1.35rem,3vw,1.9rem)}i{font-style:normal;color:#d9764d}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.card{display:flex;align-items:center;gap:14px;padding:18px 15px;border:1.5px solid #d9cdbd;border-bottom:4px solid #d9cdbd;border-radius:22px;background:#fffefa;text-decoration:none;min-width:0}.card-art{width:clamp(59px,6.5vw,86px);aspect-ratio:1;flex:none;display:grid;place-items:center;border-radius:23px;background:var(--wash);position:relative}.card-art:before,.card-art:after{content:"✦";position:absolute;color:#fff;top:1px;left:7px}.card-art:after{inset:auto 4px 0 auto}.card-art span{font-size:clamp(2rem,3.5vw,3.2rem)}.card h3{font-size:1.12rem}.card p,.tickets p,footer p{font-size:.875rem;line-height:1.8}.card small{display:inline-block;border:1px dashed #bdb2a3;border-radius:20px;color:#655a4d;padding:2px 9px;margin-top:6px;background:#faf7f0;font-weight:650}.tickets{justify-content:start;margin:22px 0;padding:18px 23px;background:#fff0cd;border-radius:20px;border:1.5px dashed #c09041}.stamp{font-size:2.4rem}.tickets h2{font-size:1.1rem}.tickets b,.progress{color:#745019}.tickets b{margin-left:8px}.progress{margin-left:auto;white-space:nowrap}.tickets strong{background:#fffaf0;border-radius:15px;padding:5px 10px}footer{border-top:1px solid #d8cebd;padding:16px 0 30px;align-items:flex-start;flex-wrap:wrap}footer details{max-width:540px}summary,footer a{padding:10px 0;cursor:pointer}footer a{display:inline-block;font-weight:700}footer small{font-weight:400}dialog{color:var(--ink);border:2px solid #b5caba;border-radius:24px;padding:22px;width:min(400px,94vw);background:#fffdf6;max-height:90dvh}dialog::backdrop{background:#243d345e}dialog h2{margin-bottom:16px}dialog label{display:flex;align-items:center;justify-content:space-between;min-height:54px;border-bottom:1px solid #eee2cf}input[type=checkbox]{width:25px;height:25px;accent-color:#307956}dialog .actions,dialog form{margin-top:15px}dialog form button{width:100%;background:#326c52;color:white}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #315d9d;outline-offset:3px}.skip{position:absolute;left:-200vw}.skip:focus{left:8px;background:white;z-index:5}#caption:not(:empty),[data-storage-notice]:not(:empty){padding:12px;background:#fff0cc;margin-bottom:12px}.card[href]:hover{border-color:#40816a}nav{display:flex;gap:8px;flex-wrap:wrap}@media(min-width:761px){.card:last-child{grid-column:1/-1;padding:10px 18px}.card:last-child .card-art{width:60px}.card:last-child>div:last-child{flex:1;display:flex;align-items:center;gap:18px}.card:last-child small{margin:0 0 0 auto}}@media(max-width:900px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.wrap{width:calc(100% - 28px)}.hero{grid-template-columns:1fr;margin-top:16px}.hero>div{padding:20px 18px 0}.hero img{width:65%;justify-self:end;margin-top:-15px}.tag{font-size:.94rem}.grid{grid-template-columns:1fr;gap:10px}.card{padding:12px 14px}.card-art{width:64px}.tickets{flex-wrap:wrap;padding:14px}.tickets>div{flex:1;min-width:180px}.progress{margin-left:0}.top{min-height:62px}.brand{font-size:1rem}.heading button{padding:8px 12px}}@media(prefers-reduced-motion:no-preference){html[data-motion=on] dialog[open]{animation:appear .16s ease-out}@keyframes appear{from{transform:translateY(4px);opacity:.7}to{transform:none;opacity:1}}}

.top{flex-wrap:wrap;padding-block:5px}.wallet-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.35rem .65rem;border-radius:14px;background:#fff1cf;color:#4c443a;text-decoration:none;font-weight:bold}.top .wallet-link{margin-inline-start:auto}
#award a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:8px 18px;margin-bottom:8px;border-radius:14px;background:#e6f0df;color:#32573e;font-weight:750;text-decoration:none}

.card-art img{width:90%;height:90%;object-fit:contain}.home-page .hero a,.ages a,.guide nav a{display:inline-flex;align-items:center;min-height:48px;font-weight:700;color:#24523e}.ages{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:12px}.ages article{padding:14px;background:#f3f6ef;border:1px solid #c7d5c5;border-radius:18px}.ages h3{margin:0}.ages a{margin-right:12px}.guide{max-width:850px;padding-bottom:2rem;line-height:1.85}.guide dt{font-weight:bold}.guide dd{margin:0 0 1em}.guide details{border-bottom:1px solid #d7cfbf}.guide summary{padding:12px 0;cursor:pointer}button,.wallet-link{min-height:48px}:focus-visible{outline:3px solid #245b87;outline-offset:3px}.home-page .hero a{position:relative;z-index:2}
@media(max-width:600px){.home-page .hero{grid-template-columns:minmax(0,1fr) 25%;margin:12px 0}.hero>div{padding:14px 0 12px 14px}.home-page .hero img{width:145%;max-width:none;margin:0}.home-page .hero h1{font-size:clamp(1.7rem,7vw,2.3rem)}.home-page .hero .tag{font-size:.9rem}.home-page .hero a{font-size:.82rem}.home-page .hero .age{font-size:.75rem}.top .brand{min-width:0}.top{gap:6px}}

.card-art.memory-cover img{width:73%;height:80%;background:#fff9e9;border:2px solid #76678d;border-radius:8px;transform:rotate(7deg);box-shadow:-5px 3px #baabc9}.card-art.count-cover img{width:70%;transform:translateX(12%)}.card-art.count-cover:before{content:"1";font:bold 1.45rem sans-serif;color:#355b75;z-index:1}.card-art.shape-cover img{width:61%;transform:translate(17%,-9%)}.card-art.shape-cover:before{content:"";top:52%;left:6%;width:34%;height:34%;border-radius:50%;background:#f3b364;border:2px solid #7c5336}.card-art.shape-cover:after{content:"";width:21%;height:21%;background:#c391bd;border:2px solid #6d4569;bottom:9%;right:7%}.home-page .hero .tag{word-break:keep-all;overflow-wrap:break-word}

/* Navigation and editing controls keep their hit areas when a game applies local styles. */
body :is(nav,.top,.links,footer,.guide dt,.guide p) a[href],
body a.skip:focus-visible {
  display:inline-flex;align-items:center;min-height:48px;min-width:48px;max-width:100%;
}
body select,body nav button,body .room-tools button,body .room-head button,
body .obj,body .colors button {
  min-width:48px;min-height:48px;
}
body #crumb a,body #game nav.controls button,body #app .filters select {min-height:48px;min-width:48px}

.activity-guide{margin:1.2rem 0;color:#433f3b}.activity-guide summary{min-height:48px;padding:12px 4px;box-sizing:border-box;cursor:pointer;font-weight:650}.activity-guide[open] p{max-width:48em;line-height:1.7}.activity-guide a{display:inline-block;box-sizing:border-box;min-height:48px;padding:12px 0}.activity-guide:not([open])>:not(summary){display:none}
