.sg-portal-section{padding:64px clamp(20px,6vw,96px);scroll-margin-top:100px}.sg-portal-section h1{font-size:clamp(32px,4vw,56px);line-height:1.1;max-width:850px}.sg-portal-section h2{font-size:clamp(28px,3vw,42px)}.sg-portal-section>p{max-width:750px;line-height:1.7}.sg-portal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px;margin:28px 0}.sg-discover-card,.sg-content-link{background:#fffaf1;border-radius:24px;border:1px solid #e7ddcb;overflow:hidden;box-shadow:0 8px 0 #574c6a08;padding:20px;text-decoration:none;color:inherit}.sg-discover-card>img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:16px}.sg-discover-card h3 a{color:inherit;text-decoration:none}.sg-discover-card small{display:block;color:#77617d;margin-top:14px}.sg-discover-card button{width:100%;margin-top:8px}.sg-content-link>img{width:100%;height:185px;object-fit:cover;border-radius:14px}.sg-content-link h3{margin:14px 0}.sg-detail-intro{display:grid;grid-template-columns:1.4fr 1fr;gap:40px;align-items:center}.sg-detail-cover{max-width:100%;max-height:400px;border-radius:24px;object-fit:contain}.sg-detail .article-prose{max-width:900px;margin:40px 0}.sg-local-note{font-size:14px;color:#685d75}.sg-resume{display:inline-block;padding:16px 22px;border:1px solid #d7c9e4;background:#eee4f7;border-radius:16px;margin:8px 12px 16px 0;color:#503466}.sg-album,.sg-world,.sg-hunt{background:#faf6eb;color:#393344;border:0;box-shadow:0 30px 90px #21142c55;padding:24px;border-radius:24px;max-width:min(1100px,96vw);max-height:94dvh}.sg-album::backdrop,.sg-world::backdrop,.sg-hunt::backdrop{background:#291e40b8}.sg-album header,.sg-hunt header{display:flex;align-items:center;justify-content:space-between;gap:12px}.sg-album button,.sg-hunt button,.sg-world button{min-height:48px;padding:12px 16px;border-radius:12px;border:1px solid #d7cbdc;background:white;color:#493958;font:inherit;cursor:pointer}.sg-album-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}.sg-album-grid article{background:white;padding:18px;border-radius:20px;border:1px solid #e6dce4}.sg-album-grid img{width:100%;height:220px;object-fit:contain}.sg-album-grid article>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.sg-world-actions{display:grid;gap:12px;margin:24px 0}.sg-child-world{display:none}.sg-hunt{width:1440px;max-width:100vw;max-height:100dvh;height:100dvh;margin:0 auto;border-radius:0;box-sizing:border-box;overflow:auto}.sg-hunt-intro h2{margin:16px 0 8px}.sg-hunt-intro p{margin:0 0 20px;line-height:1.5}.sg-hunt-layout{display:grid;grid-template-columns:210px 1fr;gap:20px}.sg-hunt-targets{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sg-hunt-targets button{padding:8px;display:flex;flex-direction:column;align-items:center;font-size:14px}.sg-hunt-targets canvas{max-width:100%;height:auto;background:#f5e8cf;border-radius:8px}.sg-hunt-targets small{font-size:11px;color:#746b7a}.sg-hunt-targets [aria-pressed=true]{outline:3px solid #8b64a4;outline-offset:0}.sg-hunt-targets .is-found{background:#e1f0df;border-color:#84b38d}.sg-hunt-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.sg-hunt-tools progress{width:100%;accent-color:#90739e}.sg-hunt-scroll{overflow:auto;max-height:calc(100dvh - 215px);border-radius:20px;background:#e4e5d4;overscroll-behavior:contain}.sg-hunt-picture{position:relative;width:100%;line-height:0;outline-offset:-4px;touch-action:pan-x pan-y}.sg-hunt-picture>img{display:block;width:100%;height:auto;user-select:none}.sg-hunt-marks{position:absolute;inset:0;pointer-events:none}.sg-hunt-found,.sg-hunt-hint{position:absolute;display:flex;align-items:center;justify-content:center;box-sizing:border-box;line-height:1;border-radius:50%;font-size:clamp(16px,2vw,30px)}.sg-hunt-found{border:3px solid #267854;background:#b9f2c166;color:#185e43}.sg-hunt-hint{border:4px dashed #ae7a25;background:#ffe2a038}.sg-hunt-reticle{position:absolute;transform:translate(-50%,-50%);font-size:36px;line-height:1;color:#3f245d;text-shadow:0 0 3px white}.sg-hunt-note{font-size:13px;color:#655a70;line-height:1.5}.sg-character-card{display:block;color:inherit;text-align:center;text-decoration:none}.character-grid .sg-character-card{background:transparent;border-radius:28px;padding:20px}.sg-kids-mode[data-kids-view=discover] main>*,.sg-kids-mode[data-kids-view=my-space] main>*{display:none!important}.sg-kids-mode[data-kids-view=discover] main>#discover,.sg-kids-mode[data-kids-view=my-space] main>#my-space{display:block!important}.sg-kids-mode .sg-child-world{display:block;padding:14px 20px;margin:12px auto;border:1px solid #ded1e8;border-radius:16px;background:#f1e4fa;font:inherit}.sg-kids-mode .sg-character-card{pointer-events:none}.sg-kids-mode .sg-hunt{padding-top:18px}.sg-kids-mode .sg-portal-section a{display:none}.sg-kids-mode .sg-detail .sg-portal-grid a{display:none}button:focus-visible,a:focus-visible,.sg-hunt-picture:focus-visible{outline:3px solid #946db0;outline-offset:3px}.sg-album button:disabled,.sg-hunt button:disabled{opacity:.5;cursor:default}@media(max-width:760px){.sg-portal-section{padding:36px 20px}.sg-detail-intro{grid-template-columns:1fr}.sg-detail-cover{max-height:260px}.sg-hunt{padding:14px}.sg-hunt-layout{grid-template-columns:1fr;gap:12px}.sg-hunt-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.sg-hunt-targets{display:flex;overflow:auto;width:100%;gap:8px;padding:4px}.sg-hunt-targets button{flex:0 0 88px}.sg-hunt-actions{margin:0}.sg-hunt-tools progress{width:120px}.sg-hunt-status{margin:0;font-size:13px}.sg-hunt-scroll{max-height:60dvh}.sg-hunt-intro p{font-size:13px}.sg-hunt header strong{font-size:14px}.sg-hunt header button{padding:8px;font-size:13px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.sg-kids-mode[data-kids-view=discover] #main>#discover,.sg-kids-mode[data-kids-view=my-space] #main>#my-space{display:block!important}.sg-character-wrap{min-width:0}.sg-character-wrap h3{font-size:24px}.sg-character-wrap p{line-height:1.6}.sg-child-world{cursor:pointer}.sg-kids-mode .sg-character-card{display:block!important}.sg-kids-mode .sg-character-card img{display:block}.sg-kids-mode .sg-character-card span:last-child{display:none}.sg-kids-mode .sg-discover-card h3 a{display:inline!important;pointer-events:none}.sg-kids-mode .book h3 a{display:inline!important;pointer-events:none}
