/* Artsymus Kids — 3D Playroom styles. Same stage contract as the grown-up
   3D Gallery viewer (kids/3d/viewer.js), in the Kids face: a deep-blue
   night-museum stage, big round friendly buttons, generous spacing. */
.am3d-stage{ position:relative; height:min(62vh,520px); min-height:340px; margin:22px 0 6px;
  border-radius:26px; overflow:hidden;
  background:radial-gradient(120% 90% at 50% 28%, #232c5e 0%, #12173a 58%, #080b24 100%);
  box-shadow:inset 0 0 0 3px rgba(255,183,3,.35), 0 24px 48px rgba(27,22,60,.35); }
.am3d-stage canvas{ display:block; width:100%; height:100%; touch-action:none; }
.am3d-loader{ position:absolute; inset:0; display:flex; flex-direction:column; gap:18px;
  align-items:center; justify-content:center; background:rgba(8,11,36,.78); z-index:5; transition:opacity .5s; }
.am3d-loader.done{ opacity:0; pointer-events:none; }
.am3d-ring{ width:58px; height:58px; border-radius:50%; border:4px solid rgba(255,183,3,.25);
  border-top-color:#FFB703; animation:k3dspin 1s linear infinite; }
@keyframes k3dspin{ to{ transform:rotate(360deg); } }
.am3d-loadmsg{ font-size:18px; font-weight:700; color:#FFF3D6; letter-spacing:.02em; }
.am3d-loadbar{ width:200px; height:8px; background:rgba(255,255,255,.15); border-radius:99px; overflow:hidden; }
.am3d-loadfill{ height:100%; width:0%; background:#FF8A3D; transition:width .25s; }
.am3d-hud{ display:none; }
.am3d-hint{ position:absolute; right:14px; bottom:12px; z-index:4; font-size:13.5px; font-weight:700;
  color:#FFF3D6; background:rgba(8,11,36,.55); padding:7px 13px; border-radius:99px; }
.am3d-controls{ display:flex; gap:12px; justify-content:center; padding:18px 6px 2px; flex-wrap:wrap; }
.am3d-btn{ font-family:inherit; font-size:17px; font-weight:800; color:#2B2118; min-height:56px;
  background:#FFFFFF; border:3px solid #7B4FA6; border-radius:99px; padding:12px 24px; cursor:pointer;
  text-decoration:none; display:inline-flex; align-items:center; }
.am3d-btn:active{ background:#F3E9FF; }
.am3d-btn.on{ background:#FF8A3D; border-color:#E4572E; color:#FFFFFF; }
.am3d-status{ text-align:center; font-size:16.5px; font-weight:700; color:#7B4FA6; min-height:24px; padding:10px 16px 0; }
.k3d-story{ font-size:19.5px; line-height:1.65; color:#2B2118; max-width:720px; margin:16px auto 0; }
.k3d-mission{ background:#FFFFFF; border:3px solid #F2B705; border-radius:22px; padding:16px 20px;
  font-size:19px; line-height:1.55; max-width:720px; margin:18px auto 0; color:#2B2118; }
.k3d-credit{ color:#8a7452; font-size:13.5px; line-height:1.7; max-width:720px; margin:16px auto 0; text-align:center; }
.am3d-nav{ display:flex; justify-content:space-between; gap:12px; margin:30px 0 6px; flex-wrap:wrap; }
.am3d-nav a{ font-size:16.5px; font-weight:800; color:#2E6FBE; background:#FFFFFF; border:3px solid #2E6FBE;
  border-radius:99px; padding:11px 20px; text-decoration:none; display:inline-flex; align-items:center; min-height:52px; }
.am3d-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:24px; margin:28px 0 10px; }
.am3d-card{ display:block; color:#2B2118; text-decoration:none; }
.am3d-card .ph{ border-radius:22px; overflow:hidden; background:#12173a; aspect-ratio:4/4.4;
  box-shadow:inset 0 0 0 3px rgba(255,183,3,.3); }
.am3d-card img{ width:100%; height:100%; object-fit:cover; display:block; }
.am3d-card h3{ font-size:22px; margin:13px 2px 2px; }
.am3d-card p{ color:#5c4a33; font-size:16px; margin:0 2px; line-height:1.5; }
