/* Stage 2 (preview): lighter header and shorter bottom bar on phones. Delete this file and its link to undo. */
@media (max-width: 600px) {
  .topbar-inner { padding: 3px 10px !important; gap: 6px !important; }
  .brand-sub, .lvl-chip { display: none !important; }
  .brand-btn { min-height: 40px !important; padding: 3px 10px 3px 8px !important; }
  .brand-emblem img { width: 44px !important; height: 33px !important; margin-block: -2px !important; }
  .brand-title { font-size: 1rem !important; }
  .child-pill { min-height: 40px !important; padding-block: 2px !important; }
  .child-pill .avatar-sm { width: 34px !important; height: 34px !important; }
  .mom-btn { min-height: 40px !important; width: 40px; padding: 0 !important; justify-content: center; }
  .mom-btn > span:not(.btn-ic) { display: none !important; }
  .mobile-tabbar { padding: 4px 8px max(4px, env(safe-area-inset-bottom)) !important; border-radius: 22px 22px 0 0 !important; }
  .mobile-tabbar .mob-tab { min-height: 0 !important; padding: 3px 2px 2px !important; gap: 0 !important; font-size: .68rem !important; border-radius: 16px !important; box-shadow: none !important; background: transparent !important; }
  .mobile-tabbar .mob-tab span:first-child { width: 30px !important; height: 30px !important; }
  .mobile-tabbar .mob-tab.is-active { color: #5b2a9a !important; }
  .mobile-tabbar .mob-tab.is-active span:first-child { background: #ecdcfb; border-radius: 50%; padding: 3px; box-sizing: content-box; width: 28px !important; height: 28px !important; box-shadow: 0 2px 8px #7544b540; }
  .main-stage, .app-shell { padding-bottom: 96px !important; }
}

/* tracer: SVG pencil friend, star burst and reward row (no emoji) */
.lt-pencil { animation: ltWiggle 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes ltWiggle { 0%,100% { rotate: -6deg; } 50% { rotate: 6deg; } }
.lt-burst span img { width: 28px; height: 28px; display: block; }
.lt-win-overlay { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lt-win-char { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 3px 10px #7544b540; }
.lt-win-stars { display: flex; align-items: flex-end; gap: 4px; }
@media (prefers-reduced-motion: reduce) { .lt-pencil { animation: none; } }

/* parent corner side menu (phones only) */
#wsMenuBtn, #wsMenu { display: none; }
@media (max-width: 600px) {
  .mom-btn { display: none !important; }
  #wsMenuBtn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: #7544b5; box-shadow: 0 3px 10px #7544b522; cursor: pointer; }
  #wsMenu { display: block; position: fixed; top: 58px; left: 10px; z-index: 60; background: #fff; border-radius: 18px; padding: 6px; box-shadow: 0 8px 24px #7544b538; }
  #wsMenu[hidden] { display: none; }
  #wsMenu button { font: inherit; font-weight: 800; color: #5b2a9a; background: #f6ecfd; border: 0; border-radius: 14px; padding: 12px 18px; min-height: 44px; cursor: pointer; }
}
@media (max-width: 360px) {
  .brand-emblem img { width: 36px !important; height: 27px !important; margin-block: 0 !important; }
  .brand-btn { padding: 3px 8px !important; }
  .brand-title { font-size: .92rem !important; }
}
/* tracer win actions must stay clear of the fixed bottom bar */
@media (max-width: 900px) { .lt-win-overlay { margin-bottom: 92px; } .lt-win-btns { padding-bottom: 6px; } }
.hd-src{display:inline-block;margin-top:8px;font-size:.85rem;color:#6a3fb0;text-decoration:underline;padding:6px 2px;min-height:32px}
.hd-note{background:#fff8e6;border-radius:14px;padding:10px 14px;font-size:.88rem;line-height:1.7;margin:0 0 12px;color:#5b4a1a}

/* Stage 3 (preview): letters hub built from the 14:33 reference image */
#wardLetterAct{margin:6px 0 16px}
.wl-hero{position:relative;margin:0 0 12px;border-radius:26px;overflow:hidden;box-shadow:0 8px 22px rgba(117,68,181,.18)}
.wl-hero>img{display:block;width:100%;height:auto}
.wl-bubble{position:absolute;right:8.5%;top:23%;width:33.7%;height:56%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:2px;color:#4a1a85;padding:0 2%}
.wl-bubble b{font-size:clamp(.95rem,4.6vw,1.35rem);font-weight:900;line-height:1.25}
.wl-bubble span{font-size:clamp(.7rem,3.3vw,.95rem);font-weight:700;line-height:1.35;color:#6a3fb0}
.wl-journey{background:linear-gradient(180deg,#fff,#f6effd);border:2px solid #fff;border-radius:24px;padding:10px 14px 12px;margin-bottom:14px;box-shadow:0 6px 16px rgba(117,68,181,.15)}
.wl-jh{display:flex;align-items:center;justify-content:space-between;gap:8px}
.wl-jt{display:inline-flex;align-items:center;gap:8px;font-weight:900;font-size:1.2rem;color:#5b2a9a}
.wl-jt img{width:34px;height:34px;object-fit:contain}
.wl-jh small{font-weight:700;color:#4a1a85;font-size:.82rem}
.wl-jb{display:flex;align-items:center;gap:10px;margin-top:6px;direction:rtl}
.wl-jb img{width:34px;height:34px;object-fit:contain;flex:none}
.wl-jb b{font-size:.95rem;color:#2b1a4a;white-space:nowrap;direction:ltr}
.wl-bar{flex:1;height:18px;border-radius:99px;background:#dccffa;box-shadow:inset 0 2px 4px rgba(90,40,160,.18);overflow:hidden;direction:rtl}
.wl-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(180deg,#7fe05f,#3fb82c)}
.wl-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.wl-card{position:relative;border:3px solid rgba(255,255,255,.9);border-radius:24px;padding:0;overflow:hidden;cursor:pointer;aspect-ratio:222/146;font:inherit;box-shadow:0 6px 14px rgba(117,68,181,.2),inset 0 -3px 0 rgba(255,255,255,.35);background:#f4e6fb;-webkit-tap-highlight-color:transparent}
.wl-card:active{transform:translateY(2px)}
.wl-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.wl-ct{position:absolute;top:7%;left:0;right:0;text-align:center;font-weight:900;font-size:clamp(.95rem,4.5vw,1.2rem);color:#3d1670;text-shadow:0 1px 0 rgba(255,255,255,.6);line-height:1.2;padding:0 8%}
.wl-spark{position:absolute;top:8%;left:7%;width:7%;height:auto;aspect-ratio:1;object-fit:contain}
.wl-c-listen{background:#fde9b0}.wl-c-first{background:#fbc4de}.wl-c-haraka{background:#e0cbf7}.wl-c-place{background:#bfeadf}.wl-c-trace{background:#fbc9e1}.wl-c-spell{background:#c7e4fb}
.wl-read{display:flex;align-items:center;gap:12px;width:100%;margin:12px 0 0;padding:10px 16px;border:3px solid rgba(255,255,255,.9);border-radius:24px;background:linear-gradient(180deg,#d9ecff,#bfdcfb);color:#2b64a8;font:inherit;cursor:pointer;text-align:right;box-shadow:0 6px 14px rgba(43,100,168,.18);min-height:60px}
.wl-read img{width:40px;height:40px;object-fit:contain}.wl-read b{display:block;font-size:1.05rem;font-weight:900}.wl-read small{display:block;font-weight:700;opacity:.8}
.wl-today{position:relative;display:flex;flex-direction:row-reverse;align-items:center;justify-content:space-between;gap:6px;margin:14px 0 8px;padding:8px 10px;border:2px solid #fff;border-radius:26px;background:linear-gradient(180deg,#fff,#f4ecfd);box-shadow:0 6px 16px rgba(117,68,181,.16);min-height:112px}
.wl-today img.wl-tr{width:28%;max-width:112px;height:auto;flex:none}.wl-today img.wl-ch{width:34%;max-width:160px;height:auto;flex:none}
.wl-tx{flex:1;text-align:center;display:flex;flex-direction:column;align-items:center;gap:2px}.wl-tx b{font-size:1.2rem;font-weight:900;color:#4a1a85}.wl-tx span{font-size:.85rem;font-weight:700;color:#4a1a85}
.wl-sts{display:flex;gap:0;justify-content:center;margin-top:2px}.wl-st{width:21px;height:21px;object-fit:contain;filter:grayscale(1) opacity(.35)}.wl-st.on{filter:none}
.wl-tasks{margin:6px 0 0}.wl-tasks>summary{cursor:pointer;font-weight:800;color:#5b2a9a;padding:10px 4px;min-height:44px;list-style:none}.wl-tasks>summary::before{content:"\25BE  "}
@media (max-width:350px){.wl-ct{font-size:.9rem}.wl-st{width:20px;height:20px}.wl-tx b{font-size:1rem}}

.wl-today img.wl-tr,.wl-today img.wl-ch{-webkit-mask-image:radial-gradient(ellipse at center,#000 58%,transparent 100%);mask-image:radial-gradient(ellipse at center,#000 58%,transparent 100%)}
.wl-num{display:inline-block;unicode-bidi:isolate;direction:ltr}
.wl-line{white-space:nowrap}
/* old banner folded into a slim heading for the board */
.section-head.wl-board-head{min-height:0 !important;padding:6px 4px !important;background:none !important;border:0 !important;box-shadow:none !important;border-radius:0 !important;margin:10px 0 6px !important;flex-direction:row !important;align-items:center !important;justify-content:space-between !important;gap:8px !important}
.section-head.wl-board-head::before,.section-head.wl-board-head::after{display:none !important}
.section-head.wl-board-head h2{font-size:1.15rem !important}
.section-head.wl-board-head .section-sub,.section-head.wl-board-head p{display:none !important}
.section-head.wl-board-head .quran-progress-pill{font-size:.78rem;white-space:nowrap}
@media (max-width:350px){.wl-today img.wl-tr{width:22%}.wl-today img.wl-ch{width:28%}.wl-line{font-size:.75rem}}
/* journey map + rewards panel */
.wl-map{position:relative;height:150px;margin:0 0 14px;border-radius:26px;overflow:hidden;border:3px solid #fff;box-shadow:0 8px 20px rgba(117,68,181,.18);background:radial-gradient(circle at 78% 22%,#fff7c8 0 8%,transparent 9%),linear-gradient(180deg,#bfe4ff 0%,#dff1ff 46%,#b9e27a 47%,#8fcf5a 100%)}
.wl-map-chip{position:absolute;top:8px;left:10px;background:#fff;border-radius:999px;padding:3px 12px;font-weight:800;font-size:.8rem;color:#4a1a85;z-index:3;box-shadow:0 2px 6px rgba(0,0,0,.1)}
.wl-pathsvg{position:absolute;inset:0;width:100%;height:100%}
.wl-tile{position:absolute;display:flex;align-items:center;justify-content:center;border-radius:18px;background:linear-gradient(180deg,#fff,#efe3ff);box-shadow:0 5px 0 #cbb4ee,0 8px 14px rgba(90,40,160,.25);font-weight:900;color:#5b2a9a;font-family:var(--font-display,inherit);line-height:1;z-index:2}
.wl-t0{right:6%;top:34%;width:19%;aspect-ratio:1;font-size:2.4rem;box-shadow:0 0 0 5px rgba(255,214,64,.55),0 0 22px 8px rgba(255,214,64,.7),0 5px 0 #cbb4ee}
.wl-t1{right:34%;top:44%;width:13%;aspect-ratio:1;font-size:1.5rem;opacity:.8}
.wl-t2{right:52%;top:30%;width:12%;aspect-ratio:1;font-size:1.4rem;opacity:.7}
.wl-t3{right:68%;top:18%;width:11%;aspect-ratio:1;font-size:1.3rem;opacity:.6}
.wl-sign{position:absolute;left:8%;bottom:10px;background:linear-gradient(180deg,#d9a35a,#b97a35);color:#fff;font-weight:900;padding:6px 14px;border-radius:10px;transform:rotate(-4deg);box-shadow:0 3px 0 #8a5522;font-size:.95rem;z-index:3;text-shadow:0 1px 0 rgba(0,0,0,.25)}
.wl-rewards{margin:8px 0 8px;padding:12px 14px;border:2px solid #fff;border-radius:26px;background:linear-gradient(180deg,#fff,#f4ecfd);box-shadow:0 6px 16px rgba(117,68,181,.16)}
.wl-rewards h3{margin:0 0 6px;text-align:center;color:#5b2a9a;font-size:1.05rem}
.wl-rw{display:flex;flex-direction:row-reverse;align-items:center;gap:10px}
.wl-rw>img{width:30%;max-width:130px;height:auto;flex:none;-webkit-mask-image:radial-gradient(ellipse at center,#000 58%,transparent 100%);mask-image:radial-gradient(ellipse at center,#000 58%,transparent 100%)}
.wl-rwt{flex:1;display:flex;flex-direction:column;gap:5px;min-width:0}
.wl-lv{display:flex;align-items:center;gap:6px;color:#5b2a9a;font-weight:900}.wl-lv img{width:30px;height:30px}
.wl-rwt small{font-weight:700;color:#4a1a85}
.wl-total{display:inline-flex;align-items:center;gap:4px;background:#fff3c8;border-radius:999px;padding:4px 10px;font-weight:900;color:#8a5a00;flex:none}
.wl-total img{width:24px;height:24px}
@media (max-width:600px){.brand-title{display:block;width:3.4em;text-align:center;line-height:1 !important;white-space:normal !important;background:linear-gradient(180deg,#6a2f8f 50%,#d6407f 50%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;font-size:.95rem !important}}
.wl-rwt .wl-bar{flex:none;width:100%}

/* stage 3b: clean generated art */
.wl-card{container-type:inline-size}
.wl-L{position:absolute;transform:translate(-50%,-50%);font-weight:900;line-height:1;font-family:var(--font-display,inherit);text-shadow:0 1px 0 rgba(255,255,255,.7);pointer-events:none;white-space:nowrap}
.wl-tr-svg{position:absolute;left:57%;top:46%;width:28%;height:auto;aspect-ratio:1;pointer-events:none;overflow:visible}
.wl-spark{display:none}
.wl-ct{color:#3d1670;text-shadow:0 1px 0 rgba(255,255,255,.8),0 0 6px rgba(255,255,255,.7)}
.wl-bubble{right:5%;top:10%;width:38%;height:64%;background:rgba(255,255,255,.93);border-radius:50% 50% 50% 50%/58% 58% 42% 42%;box-shadow:0 4px 12px rgba(117,68,181,.18),-14px 22px 0 -8px rgba(255,255,255,.93)}
.wl-map{height:auto;aspect-ratio:16/9;background:url(assets/ref2/map.jpg) center/cover no-repeat,#bfe4ff}
.wl-t0{right:auto;left:54%;top:80%;width:17%;transform:translate(-50%,-50%)}
.wl-t1{right:auto;left:64%;top:58%;width:12%;transform:translate(-50%,-50%);opacity:.9}
.wl-t2{right:auto;left:50%;top:42%;width:10%;transform:translate(-50%,-50%);opacity:.85}
.wl-t3{right:auto;left:60%;top:28%;width:8.5%;transform:translate(-50%,-50%);opacity:.8}
.wl-sign{left:4%;bottom:8px}
.wl-today img.wl-ch{width:34%;max-width:150px}
.wl-crown{width:26%;max-width:110px;height:auto;flex:none}
.wl-rw>img.wl-crown{-webkit-mask-image:none;mask-image:none}
.wl-today img.wl-ch,.wl-today img.wl-tr{-webkit-mask-image:none !important;mask-image:none !important}
.wl-today{min-height:120px}
.wl-tr-svg{left:56.4% !important;top:45.8% !important;width:29% !important;height:41.7% !important;aspect-ratio:auto !important}
.wl-bubble{box-shadow:0 4px 12px rgba(117,68,181,.18) !important}
.wl-t0{top:70% !important}
/* stage 3c */
.section-head.wl-board-head,.section-head.wl-board-head:not(:has(.seg-tabs)){min-height:0 !important;height:auto !important}
.section-head.wl-board-head>*{min-height:0 !important}
.wl-jb{align-items:center}.wl-jcol{flex:1;display:flex;flex-direction:column;gap:5px;min-width:0}.wl-ptxt{font-weight:800;font-size:.9rem;color:#2b1a4a;white-space:nowrap}
@media (max-width:520px){
  .child-pill{flex-direction:row-reverse !important}
  .child-pill .child-greet{font-size:0 !important;line-height:1}
  .child-pill .child-greet strong{font-size:.95rem !important}
  .lang-toggle{width:auto !important;min-width:50px;padding:0 9px !important;border-radius:18px !important}
  html:not(.lang-en) .lang-toggle::before{content:"AR \25BE" !important;font-family:"Baloo Bhaijaan 2",sans-serif !important;font-size:.82rem !important}
  html.lang-en .lang-toggle::before{content:"EN \25BE" !important;font-family:"Baloo Bhaijaan 2",sans-serif !important;font-size:.82rem !important}
}
#wsLang{position:fixed;z-index:60;background:#fff;border:2px solid #e3d2f7;border-radius:16px;box-shadow:0 8px 22px rgba(90,40,160,.22);padding:4px;min-width:130px}
#wsLang[hidden]{display:none}
#wsLang button{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;font:inherit;font-weight:800;color:#4a1a85;background:none;border:0;border-radius:12px;padding:10px 12px;min-height:44px;cursor:pointer}
#wsLang button[aria-checked=true]{background:#f1e8fc}
.wl-jcol .wl-bar{flex:none;width:100%}
.wy{margin:0 0 16px}.wy-card{background:#fff;border-radius:22px;box-shadow:0 8px 22px rgba(124,77,189,.14);overflow:hidden;border:1px solid #eadcf7}
.wy-cover{width:100%;display:block;aspect-ratio:3/2;object-fit:cover}.wy-body{padding:14px}.wy-body h3,.wy-head h3{margin:6px 0;color:#5b3a9a}
.wy-head{display:flex;align-items:center;gap:10px;margin-bottom:10px;flex-wrap:wrap}.wy-head h3{margin:0;font-size:1.05rem}
.wy-img{width:100%;border-radius:18px;display:block;box-shadow:0 6px 18px rgba(0,0,0,.12)}.wy-text{font-size:1.15rem;line-height:2;margin:12px 0;font-weight:700}
.wy-verses,.wy-val{background:#f4edff;border-radius:16px;padding:12px;margin:12px 0}.wy-v{font-size:1.2rem;line-height:2;margin:6px 0}.wy-v span,.wy-val small,.wy-src small{font-size:.8rem;color:#7a6a95}
.wy-src{margin:10px 0}.wy-src li{margin:6px 0;line-height:1.8}.wy-menu{display:grid;gap:10px;margin:12px 0}.wy-menu button{text-align:center;white-space:normal;line-height:1.6;padding:12px}
.wy-seg{display:flex;gap:8px;margin:8px 0}.wy-seg .is-on{background:#e9dcff}.wy-picked{padding-inline-start:22px;line-height:2}
.wy-q{font-size:1.1rem;font-weight:800;line-height:1.9;margin:10px 0}.wy-cnt{color:#7a6a95;font-size:.9rem;margin:4px 0}
.wy-ok{background:#dff7ec;border-radius:14px;padding:10px;margin:10px 0;line-height:1.8}.wy-bad{background:#fde6ef;border-radius:14px;padding:10px;margin:10px 0;line-height:1.8}
.wy-right{background:#dff7ec!important;border-color:#52c79a!important}.wy-wrong{background:#fde6ef!important;border-color:#f08ab0!important}.wy-hl{outline:3px solid #ffc94d}
@media (max-width:350px){.child-pill .child-greet{display:block !important}.child-pill .child-greet strong{display:inline !important;font-size:.8rem !important;max-width:46px}.mom-btn{max-width:96px}.child-pill .welcome{display:none !important}}
.wl-bar i[data-z="1"]{display:none}
.wl-map{cursor:pointer}.wl-map:focus-visible{outline:3px solid #ffc94d}
/* font: soft rounded bold Arabic, closer to the reference look (Baloo Bhaijaan 2) */
:root{--font-display:"Baloo Bhaijaan 2","Almarai","Tajawal",system-ui,sans-serif;--font-body:"Baloo Bhaijaan 2","Tajawal",system-ui,sans-serif}
body,button,input,select,textarea,.wl-ct,.wl-ptxt,.wl-bubble,.wl-line,.wy{font-family:var(--font-body)}
body{font-weight:600;letter-spacing:0}
.wl-ct{font-weight:800;letter-spacing:.2px}
h1,h2,h3,.wl-jt,.card-title{font-weight:800}
.wl-ptxt,.wl-bubble span,.card-desc,.wy-text{line-height:1.7}
.wy-text{font-weight:700}
.surah-ar,.ayah,[class*=quran],[class*=ayah],.wy-v{font-family:'Amiri Quran','Amiri',serif}
/* keep the established letter-form font on all letter-learning glyphs */
.haraka-glyph,.harakat-row,.letter-giant-char,.letter-giant-box,.letter-tile-ch,.letter-tile,.lt-svg,.lt-svg text,.lt-win-char,.wl-L,.wl-tile,.wl-spell,.wl-opt,[data-la-q],[data-la-pick],.letter-spotlight .letter-giant-char{font-family:"Almarai","Tajawal",system-ui,sans-serif !important}
.wy{scroll-margin-top:84px}
/* focused letter views: one activity at a time */
#mainStage[data-wl-view] .wl-board-head{display:none !important}
#mainStage[data-wl-view=hub] .letter-spotlight,#mainStage[data-wl-view=hub] .lt-section,#mainStage[data-wl-view=hub] .letters-grid,
#mainStage[data-wl-view=quiz] .letter-spotlight,#mainStage[data-wl-view=quiz] .lt-section,#mainStage[data-wl-view=quiz] .letters-grid{display:none !important}
#mainStage[data-wl-view=board] #wardLetterAct,#mainStage[data-wl-view=board] .lt-section,
#mainStage[data-wl-view=trace] #wardLetterAct,#mainStage[data-wl-view=trace] .letter-spotlight,#mainStage[data-wl-view=trace] .letters-grid{display:none !important}
html.wl-focus .journey-sidebar{display:none !important}
.wl-back{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 12px}
.wl-backbtn{font:inherit;font-weight:800;color:#fff;background:linear-gradient(180deg,#a56be0,#7b45c6);border:0;border-radius:99px;padding:10px 18px;min-height:44px;box-shadow:0 4px 10px rgba(117,68,181,.3);cursor:pointer}
.wl-backbtn.wl-alt{background:#fff;color:#6a3fb0;border:2px solid #e3d2f7;box-shadow:none}
/* remove decorative pseudo flowers that rendered as black squares on iPhone Safari */
.adg-prompt::before,.adg-prompt::after{display:none !important;content:none !important}

/* yunus verse containment + word help */
#wyun .wy-v{box-sizing:border-box;max-width:100%;padding-inline:14px;overflow-wrap:anywhere;word-break:normal;text-align:start;line-height:2.3}
#wyun p.wy-q.wy-v{background:#f4edff;border-radius:16px;padding:10px 16px;margin:10px 0;font-size:1.15rem;font-weight:400}
#wyun .wy-gl{background:#fff8e6;border:1px solid #f1dc9c;border-radius:16px;padding:10px 14px;margin:10px 0}
#wyun .wy-gl b{display:block;color:#145B59;margin-bottom:4px}
#wyun .wy-gl p{margin:2px 0;line-height:2}
#wyun .wy-gl .wy-v{display:inline;background:none;padding:0;font-size:1.15rem}
#wyun .wy-gl small{color:#7a6a95;font-size:.78rem}

/* yunus imaginative play */
#wyun .wy-playmenu{background:#eaf7fb;border:1px solid #bfe3ef;border-radius:16px;padding:10px 14px;margin:14px 0}
#wyun .wy-playmenu b{color:#145B59}#wyun .wy-playmenu p{margin:2px 0 8px;color:#7a6a95;font-size:.85rem}
#wyun .wp-note{background:#fff8e6;border:1px solid #f1dc9c;border-radius:14px;padding:8px 12px;font-size:.9rem;line-height:1.9;margin:8px 0}
#wyun .wp-box{position:relative;max-width:300px;margin:0 auto;border-radius:18px;overflow:hidden;box-shadow:0 6px 18px rgba(43,29,18,.15);touch-action:none}
#wyun .wp-box canvas{display:block;width:100%;aspect-ratio:3/4;touch-action:none}
#wyun .wp-end{position:absolute;inset:0;background:rgba(255,255,255,.82);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
#wyun .wp-end[hidden]{display:none}#wyun .wp-end b{font-size:1.3rem;color:#145B59}
#wyun .wp-ctl{position:absolute;left:0;right:0;bottom:30px;display:flex;justify-content:space-between;gap:12px;padding:0 12px;pointer-events:none}#wyun .wp-ctl .btn-gold{pointer-events:auto;flex:1;max-width:110px;min-height:52px;font-size:1.4rem;opacity:.92}#wyun .wp-ctl:has(.btn-gold:only-child){justify-content:center}
