#view-explorer{--ink:#222245;--violet:#5938a9;color:var(--ink)}
#view-explorer button:focus-visible,#view-explorer summary:focus-visible{outline:3px solid #f09514;outline-offset:3px}
.x-world{background:#f4f1ff;border-radius:24px;padding:clamp(12px,3vw,22px);text-align:left}
.x-back{font-weight:750;color:#4b3684;padding:10px 4px;min-height:44px}
.x-hero{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at top right,#956aff,transparent 65%),#352277;color:white;border-radius:22px;padding:clamp(17px,4vw,28px);display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:12px}
.x-hero h2{font-size:clamp(29px,6vw,46px);font-weight:900;line-height:1;letter-spacing:-.045em;color:#fff}
.x-hero p{font-size:15px;margin:10px 0 14px;line-height:1.4}
.x-start,.x-replay{min-height:46px;padding:10px 18px;border-radius:16px;background:#e0ff69;color:#21351d;font-weight:900;box-shadow:0 3px 0 #88a23d}
.x-art{display:grid;grid-template-columns:1fr 1fr;gap:6px;transform:rotate(4deg)}
.x-art img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:22%;border:2px solid #ffffffb8}
.x-play{margin:18px 0;background:white;border:2px solid #d6c8fa;border-radius:22px;padding:clamp(12px,3vw,20px);scroll-margin-top:12px}
.x-play h3,.x-section{font-weight:900;letter-spacing:-.025em;font-size:22px;margin:.35em 0}
.x-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.x-tools select{background:#efe9ff;color:#322158;border-radius:12px;padding:8px;font-weight:700;min-height:44px}
.x-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}
.x-tile{position:relative;aspect-ratio:1;border:2px solid #a89cd7;border-radius:17px;overflow:hidden;background:repeating-linear-gradient(135deg,#544095 0 12px,#624ba8 12px 24px);color:#fff;font-size:clamp(22px,6vw,35px);font-weight:900}
.x-tile img{width:100%;height:100%;object-fit:cover}.x-tile[data-matched=true]{border:3px solid #288249}.x-tile[data-matched=true]:after{content:'✓';position:absolute;right:0;bottom:0;border-radius:7px 0 0 0;background:#18592b;color:white;font:700 15px/22px sans-serif;width:24px}
.x-status{font-weight:750;min-height:24px}.x-play .x-replay{margin-top:8px}
.x-world #crystalGameGrid button{background:radial-gradient(circle at 30% 20%,#c4edff,#7764d5 80%);color:white;border:2px solid #9a8ddc;border-radius:18px}
.x-world [id^=sticker-] img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:14px}.x-world [id^=sticker-]{padding:6px}
.x-world details summary{padding:10px 4px;font-weight:800;cursor:pointer;min-height:44px}
@media(max-width:410px){.x-hero{grid-template-columns:1.2fr .85fr}.x-hero p{font-size:13px}.x-art{gap:3px}.x-tile{border-radius:12px}}
@media(prefers-reduced-motion:no-preference){.x-tile img{animation:x-pop .2s ease-out}@keyframes x-pop{from{transform:scale(.84)}to{transform:scale(1)}}}
.x-cave{padding:16px;background:#25234b;border-radius:22px;color:white;margin:12px 0 18px}
.x-cave-head{display:flex;align-items:center;gap:15px;margin-bottom:14px}
.x-cave-head img{width:72px;height:72px;border-radius:20px}
.x-cave h3{font-size:22px;font-weight:900;line-height:1.1}
.x-cave p{font-size:14px;line-height:1.4;margin-top:5px}
.x-cave #gameFeedbackText{color:#e1ff97}
