/* Okuma Dünyam · fixed scope / no external fonts / no infinite effects */
.ow-overlay{position:fixed;inset:0;z-index:100100;background:rgba(12,19,44,.72);display:grid;place-items:center;padding:clamp(8px,2vw,24px);font:600 16px/1.35 system-ui,-apple-system,'Segoe UI',sans-serif;box-sizing:border-box;color:#29264e;overscroll-behavior:contain}.ow-overlay *{box-sizing:border-box}.ow-panel{position:relative;width:min(100%,510px);max-height:94vh;max-height:94dvh;overflow:auto;background:#fff;border:3px solid #d8d6ff;border-radius:28px;box-shadow:0 24px 90px #0a102d80,0 0 0 1px #ffffff66;outline:none;text-align:center;padding:24px;isolation:isolate}.ow-panel button{font:800 15px/1.25 system-ui,sans-serif;cursor:pointer;touch-action:manipulation}.ow-panel button:focus-visible{outline:3px solid #f5ad29;outline-offset:3px}.ow-panel button:disabled{opacity:.5;cursor:default}.ow-panel h2{margin:0;font-size:clamp(24px,3.3vw,35px);line-height:1.12;font-weight:950;letter-spacing:-.035em;color:#29264e}.ow-panel h3{font-size:22px;font-weight:900;margin:8px 0}.ow-close{position:absolute;top:12px;right:12px;z-index:15;border:2px solid #fff;border-radius:50%;width:40px;height:40px;background:#44367d;color:white;box-shadow:0 2px 8px #29196f45;font-size:27px!important;line-height:1!important}.ow-primary,.ow-secondary{min-height:46px;border-radius:15px;padding:11px 22px;font-weight:900;border:1px solid #7042c4;box-shadow:0 4px 0 #5731a1;color:white;background:linear-gradient(180deg,#9864ec,#7041ce)}.ow-primary:active:not(:disabled),.ow-secondary:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px 0 #5731a1}.ow-secondary{color:#413b76;background:#fff;border-color:#cec8ef;box-shadow:0 3px 0 #ddd7f7}.ow-result{padding:0;--accent:#238e8a;--tint:#e6fcf8}.ow-growth{--accent:#218754;--tint:#ebfae8;border-color:#91d69a}.ow-record{--accent:#b46a12;--tint:#fff4ce;border-color:#ffcf62}.ow-steady{--accent:#2466ba;--tint:#e6f3ff;border-color:#8fc7ff}.ow-support{--accent:#8152b8;--tint:#f4eaff;border-color:#cbb4ed}.ow-first{border-color:#72dacd}.ow-result-art{position:relative;height:clamp(145px,32vh,300px);overflow:hidden;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 70%,white,var(--tint) 58%,var(--accent) 170%)}.ow-result-art>img{height:100%;width:100%;object-fit:contain;display:block}.ow-growth .ow-result-art>img,.ow-record .ow-result-art>img{object-fit:cover;object-position:center 36%}.ow-result-content{padding:17px 23px 23px;background:linear-gradient(white,var(--tint));display:grid;gap:8px;justify-items:center}.ow-result h2{color:var(--accent);font-size:clamp(23px,3vw,34px)}.ow-name{max-width:100%;overflow-wrap:anywhere;font-size:17px;color:#574b6d}.ow-score{font-size:clamp(46px,7vw,70px);line-height:1.04;font-weight:950;letter-spacing:-.06em;color:var(--accent)}.ow-score span{font-size:.38em;letter-spacing:0}.ow-result p,.ow-gift p{margin:0;font-weight:750;font-size:clamp(13px,1.8vw,17px)}.ow-earned,.ow-balance{background:linear-gradient(135deg,#fff4b0,#ffd76d);border:1px solid #f2bf42;border-radius:999px;display:inline-flex;align-items:center;gap:8px;padding:6px 18px;color:#794500;font-weight:950;font-size:24px;box-shadow:inset 0 1px 1px #fff,0 3px 8px #aa761225}.ow-earned span,.ow-balance span{color:#c2770f;text-shadow:0 1px #fff;font-size:25px}.ow-gift-note{font-weight:900;color:#7d3fb5;font-size:14px}.ow-result .ow-primary{width:100%;margin-top:3px}.ow-detail{font-size:11px;color:#665b78;max-width:100%;line-height:1.35}.ow-detail summary{cursor:pointer;text-decoration:underline}.ow-sparks{position:absolute;inset:0;pointer-events:none}.ow-sparks span{position:absolute;left:var(--x);top:12%;color:#ffdf6b;font-size:clamp(14px,3vw,28px);opacity:0;animation:ow-spark 1.25s calc(var(--i)*.035s) ease-out both;text-shadow:0 2px 5px #6f411c55}@keyframes ow-spark{0%{opacity:0;transform:translateY(-20px) scale(.5)}20%{opacity:1}100%{opacity:0;transform:translateY(120px) rotate(80deg)}}.ow-gift{background:radial-gradient(circle at 50% 40%,#fff8d7,#eee4ff 75%);display:grid;justify-items:center;gap:10px}.ow-gift h2{padding:0 18px;color:#7540bd}.ow-gift-art{width:min(100%,260px);aspect-ratio:1;display:grid;place-items:center;filter:drop-shadow(0 13px 14px #8353bc40)}.ow-gift-art img{height:100%;width:100%;object-fit:contain}.ow-opening{animation:ow-open .68s ease-in-out both}@keyframes ow-open{0%,100%{transform:scale(1)}20%,60%{transform:rotate(-7deg) scale(1.05)}40%,80%{transform:rotate(7deg) scale(1.13);filter:drop-shadow(0 0 28px #ffb930)}}.ow-wide{width:min(100%,1050px)}.ow-shop{padding:18px;display:flex;flex-direction:column;gap:14px;background:linear-gradient(140deg,#f8f7ff,#e8ecff 65%,#f4f8ff)}.ow-shop-head{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;padding-right:46px}.ow-kicker{font-size:10px;letter-spacing:.16em;color:#7854a8;font-weight:900}.ow-balance{font-size:clamp(18px,3vw,26px);white-space:nowrap}.ow-balance small{font-size:12px}.ow-shop-body{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(0,1.65fr);gap:14px;min-height:0}.ow-preview{background:linear-gradient(145deg,#d6eefe,#f5f8ff);border:1px solid #d2d9f5;border-radius:19px;padding:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;gap:6px;overflow:hidden}.ow-avatar{width:min(100%,320px);aspect-ratio:1;position:relative;border-radius:15px;overflow:hidden;background:radial-gradient(ellipse at 50% 85%,#bee5cd 0,transparent 42%),linear-gradient(160deg,#c5e6ff,#f2f9ff);background-size:cover;background-position:center}.ow-avatar:before{content:'';position:absolute;width:48%;height:8%;bottom:6%;left:26%;border-radius:50%;background:#2f567b25}.ow-base,.ow-layer{position:absolute;display:block;pointer-events:none;object-fit:fill;user-select:none}.ow-base{inset:0;width:100%;height:100%;z-index:3}.ow-layer{transform:translate(-50%,-50%)}.ow-avatar-small{width:43px;min-width:43px;border-radius:10px}.ow-student-name{font-size:clamp(15px,2vw,22px);font-weight:900;overflow-wrap:anywhere}.ow-level{color:#5e398e;font-size:13px;font-weight:850}.ow-progress{height:9px;background:#b8c9e5;border-radius:99px;width:100%;overflow:hidden}.ow-progress i{display:block;height:100%;background:linear-gradient(90deg,#62b9fc,#7458d5);border-radius:99px}.ow-preview small{font-size:11px;color:#57658c}.ow-pending{background:#fff4cf;color:#85560b;border:1px solid #e8c566;border-radius:10px;padding:6px}.ow-equipped{display:flex;gap:4px;flex-wrap:wrap;justify-content:center}.ow-equipped button{display:flex;align-items:center;gap:2px;padding:2px 5px;border:1px solid #b5bedf;background:#fff;border-radius:8px;color:#5e4c7b}.ow-equipped img{width:24px;height:24px;object-fit:contain}.ow-products{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:8px;min-width:0}.ow-tabs,.ow-tools{display:flex;gap:5px;flex-wrap:wrap}.ow-tabs button,.ow-tools button{border:1px solid #c7c0e9;border-radius:10px;padding:8px 9px;background:#fff;color:#6452a0;font-size:clamp(11px,1.5vw,14px)}.ow-tabs button.active,.ow-tools button.active{background:#784ad0;color:white;border-color:#784ad0}.ow-tools{align-items:center}.ow-tools span{margin-left:auto;color:#5b6084;font-size:12px}.ow-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;align-content:start;min-height:0}.ow-product{background:linear-gradient(160deg,#fff,#fdf8ef);border:2px solid #e0dcf1;border-radius:13px;padding:5px;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;color:#423452;box-shadow:0 3px 8px #6a57a715;min-height:100px}.ow-product.selected{border-color:#925ae0;box-shadow:0 0 0 2px #d6c1fa}.ow-product img{width:100%;height:clamp(44px,11vh,100px);object-fit:contain;display:block}.ow-product strong{font-size:clamp(10px,1.3vw,13px);line-height:1.2;overflow-wrap:anywhere;flex:1;display:grid;place-items:center}.ow-price,.ow-owned{width:100%;font-size:12px;font-weight:900;border-radius:7px;padding:3px;background:#ffe7a5;color:#88520e}.ow-owned{background:#dff5da;color:#24763a}.ow-pages{display:flex;gap:10px;align-items:center;justify-content:center;color:#67608c;font-size:12px}.ow-pages button{width:36px;height:29px;background:#fff;border:1px solid #d1c9eb;color:#633bb0;border-radius:9px;font-size:21px}.ow-empty{grid-column:1/-1;padding:32px;color:#655b8b}.ow-shop-footer{display:flex;gap:10px;align-items:center;justify-content:flex-end;border-top:1px solid #d4cdea;padding-top:12px}.ow-notice{font-size:13px;color:#5c5384;text-align:left;flex:1}.ow-profile-btn{background:linear-gradient(135deg,#f6eaff,#e3f0ff);color:#4c2e83;border:1px solid #c5b5eb;border-radius:13px;display:flex;align-items:center;gap:10px;padding:7px 12px;margin:8px 0;font:850 14px/1.3 system-ui,sans-serif;cursor:pointer}.ow-profile-btn img{width:42px;height:42px;object-fit:contain}.ow-list-points{color:#c58b23;font-weight:800;font-size:11px;margin-left:6px}.ow-student-icon{width:32px;height:32px;object-fit:contain;vertical-align:middle;display:inline-block;margin-right:5px}.ow-inline-note{font-size:12px;color:#766a8d;margin:8px 0}.ow-panel .ow-close:disabled{opacity:1}
@media(max-width:690px){.ow-panel{border-radius:20px;padding:13px;max-height:96dvh}.ow-result{padding:0}.ow-result-content{padding:12px 15px 16px;gap:5px}.ow-shop{gap:9px}.ow-shop-head{padding-right:35px}.ow-shop-head h2{font-size:21px}.ow-close{width:34px;height:34px;right:6px;top:6px}.ow-balance{padding:4px 8px;font-size:16px}.ow-balance span{font-size:16px}.ow-shop-body{grid-template-columns:1fr;gap:8px}.ow-preview{display:grid;grid-template-columns:100px minmax(0,1fr);grid-template-rows:repeat(4,auto);gap:3px 9px;padding:6px;justify-items:start;text-align:left}.ow-preview .ow-avatar{grid-row:1/5;width:100px}.ow-preview .ow-progress{width:100%}.ow-preview .ow-pending,.ow-preview .ow-equipped{grid-column:1/-1}.ow-preview .ow-level{font-size:11px}.ow-tabs button,.ow-tools button{padding:6px 7px;font-size:11px}.ow-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.ow-product{padding:3px;min-height:83px}.ow-product img{height:49px}.ow-shop-footer{gap:6px;flex-wrap:wrap;padding-top:6px}.ow-notice{flex-basis:100%;min-height:16px}.ow-primary,.ow-secondary{min-height:40px;padding:8px 12px;font-size:13px!important}.ow-result-art{height:clamp(110px,31dvh,230px)}.ow-gift-art{width:min(100%,190px)}}
@media(max-height:560px) and (min-width:691px){.ow-result{display:grid;grid-template-columns:45% 55%;width:min(94%,740px)}.ow-result-art{height:100%;min-height:230px}.ow-result-content{padding:15px;gap:5px}.ow-score{font-size:48px}.ow-shop{gap:7px;padding:9px}.ow-shop-body{gap:8px}.ow-preview{padding:4px}.ow-avatar{width:min(100%,190px)}.ow-product img{height:42px}.ow-product{min-height:78px}.ow-shop-footer{padding-top:5px}.ow-tabs button{padding:5px}.ow-gift-art{width:145px}.ow-gift{gap:5px}}
@media(prefers-reduced-motion:reduce){.ow-panel *, .ow-panel *::before,.ow-panel *::after{animation:none!important;transition:none!important}}

/* Refined visual hierarchy */
.ow-shop{background:radial-gradient(ellipse at 14% 0%,#fff5e1 0,transparent 42%),linear-gradient(145deg,#faf7ff,#e7ecff 65%,#edf6ff);border-color:#c9c4fa}.ow-shop-head h2{color:#493078;text-shadow:0 1px 0 #fff}.ow-preview .ow-avatar{background-image:url('bg-0-0.webp');background-color:#c5e6ff;background-size:cover;background-position:center}.ow-preview .ow-avatar:before{background:#264d5526}.ow-avatar-small{background-image:none!important}.ow-product{background:linear-gradient(180deg,#ffffff,#fff9ed)}.ow-product.selected{background:linear-gradient(145deg,#fff9e4,#f0e5ff)}.ow-result .ow-primary{background:linear-gradient(180deg,var(--accent),var(--accent));border-color:var(--accent);box-shadow:0 4px 0 color-mix(in srgb,var(--accent),#000 25%)}.ow-gift-art{border-radius:40%;background:radial-gradient(circle,#fff5b3,transparent 70%)}

/* Premium theme · no remote resources */
.ow-shop{background:radial-gradient(ellipse at 0 0,#fde7b6 0,transparent 40%),linear-gradient(140deg,#fff8e9,#e9e2fb 54%,#dceffc);border-color:#e6c27c;box-shadow:0 22px 80px #17153391,inset 0 0 0 2px #fff8;gap:12px}.ow-shop-head h2{color:#4c246d;letter-spacing:-.04em;font-weight:950;text-shadow:0 2px 0 #fff}.ow-kicker{color:#9c6428;letter-spacing:.12em}.ow-preview{background:linear-gradient(160deg,#fff9e8,#f0e9fc);border:1px solid #e6cd9c;box-shadow:inset 0 0 0 2px #fff7}.ow-preview .ow-premium-avatar{background-image:none;background-color:#f5e9cf;box-shadow:0 6px 18px #63452426;border:2px solid #f5cc71}.ow-premium-avatar:before{display:none!important}.ow-premium-avatar canvas{position:absolute;inset:0;width:100%;height:100%;display:block}.ow-avatar-note{position:absolute;bottom:3px;left:3px;right:3px;font:600 10px/1.3 system-ui;background:#fffde9e8;padding:4px;border-radius:6px;color:#65442b;z-index:10}.ow-product{background:linear-gradient(160deg,#fffdf8,#ffefd7);border-color:#e8d6b5;box-shadow:0 3px 0 #ddc5a340,0 4px 9px #43305412}.ow-product.selected{background:linear-gradient(150deg,#fff8dd,#e7d7fb);border-color:#9c56db;box-shadow:0 0 0 2px #c8a4f48c}.ow-product img{filter:drop-shadow(0 4px 3px #51343a20)}.ow-price{background:linear-gradient(#fff2b0,#ffd777)!important;color:#754613!important}.ow-tabs button.active,.ow-tools button.active{background:linear-gradient(#ad72e8,#7943ba);box-shadow:0 3px 0 #603092}.ow-primary{background:linear-gradient(#a969e9,#7534bd);border-color:#7437b6}.ow-result-art{background:radial-gradient(ellipse at 50% 65%,#fff,var(--tint) 65%,var(--accent) 155%)}.ow-growth .ow-result-art>img,.ow-record .ow-result-art>img{object-fit:contain;object-position:center}.ow-gift-art.ow-opening img{animation:none!important}.ow-result h2{font-weight:950}.ow-gift-art img{object-fit:contain}.ow-product strong{line-height:1.2}.ow-product img{height:clamp(56px,12vh,105px);width:100%;object-fit:contain}@media(max-width:690px){.ow-product img{height:55px}.ow-avatar-note{font-size:8px}.ow-shop{gap:8px}.ow-product strong{font-size:10px}}@media(max-height:560px) and (min-width:691px){.ow-product img{height:42px}}

/* V3.1: Personal result avatar; reuse the shop's existing fitted layers. */
.ow-result-art{padding:8px;min-width:0}
.ow-result-art .ow-avatar{height:100%;width:auto;aspect-ratio:1;max-width:100%;min-width:0;max-height:100%;border-radius:18px;box-shadow:0 3px 12px #25244924;border:2px solid #ffffffb3}
.ow-result-art .ow-sparks{z-index:12}
.ow-result-art .ow-avatar-note{font-size:9px}
@media(max-width:690px){.ow-result-art{padding:5px}.ow-result-art .ow-avatar{border-radius:13px}}

/* V4: warm library / gold enamel theme. Scope limited to reward dialogs. */
.ow-overlay:has(.ow-shop),.ow-overlay:has(.ow-gift){background:linear-gradient(135deg,#261239d9,#382054c9),url('premium-v3/webp/scene-v25-library.webp') center/cover no-repeat}
.ow-shop,.ow-gift{border:3px solid #ffd17e;box-shadow:0 0 0 2px #a86b32,0 0 0 5px #ffe4a35c,0 20px 65px #170b32b0,inset 0 0 0 3px #fff6d6; background:radial-gradient(ellipse at 5% 0%,#fff4cf 0,transparent 42%),radial-gradient(ellipse at 98% 10%,#efcbff 0,transparent 48%),linear-gradient(140deg,#fff7eb,#efe1fa 60%,#f9e4ff)}
.ow-shop{width:min(100%,1160px);padding:20px;gap:13px}.ow-shop-head{padding-bottom:5px;border-bottom:1px solid #d9b87966}.ow-shop-head h2{color:#4d146f;text-shadow:0 2px 0 #fff,0 4px 12px #a85ec326;font-size:clamp(24px,3.6vw,39px)}.ow-kicker{font-size:11px;color:#985721;letter-spacing:.15em}.ow-kicker:before{content:'✦ ';color:#c78516}.ow-kicker:after{content:' ✦';color:#c78516}.ow-balance,.ow-earned{background:linear-gradient(180deg,#fff8c5,#ffda68 65%,#f7bc46);border:1px solid #e8aa3a;box-shadow:inset 0 2px 0 #fff9e2,0 3px 0 #e1a642,0 5px 12px #aa761235;color:#713c05}.ow-close{background:linear-gradient(#9b54de,#59258d);box-shadow:0 3px 0 #451667,0 5px 10px #4b146d40}.ow-preview{background:linear-gradient(155deg,#fffaf0,#f9eaf9);border:1px solid #e7be78;box-shadow:inset 0 0 0 2px #fff9;gap:8px}.ow-preview .ow-avatar{border:2px solid #ffdc8e;box-shadow:0 3px 0 #d3a359,0 7px 16px #8753222e}.ow-student-name{color:#45166d}.ow-progress{height:12px;background:#dacbea;box-shadow:inset 0 1px 3px #67507840}.ow-progress i{background:linear-gradient(90deg,#b353e9,#6846db,#5aa8fa);box-shadow:inset 0 2px 2px #ffffff65}.ow-tabs button,.ow-tools button{background:linear-gradient(#fff,#f2e8fc);border:1px solid #cbb1e8;color:#5d278d;box-shadow:0 2px 0 #d9c6ed}.ow-tabs button.active,.ow-tools button.active{background:linear-gradient(#b068ee,#7324b6);border:1px solid #9d4cdb;box-shadow:0 3px 0 #531985;color:white}.ow-product{background:linear-gradient(145deg,#fffdf7,#fff0d8);border:1.5px solid #ebc783;box-shadow:inset 0 0 0 1px #fff,0 3px 0 #dfb67566,0 5px 8px #70403d10;border-radius:16px;padding:7px;gap:5px}.ow-product strong{color:#481c70;font-size:clamp(11px,1.4vw,15px)}.ow-product.selected{border:2px solid #a34be5;background:linear-gradient(135deg,#fff4d3,#e9d3ff);box-shadow:0 0 0 2px #e3b9ff,0 4px 10px #7337bb33}.ow-price,.ow-owned{border-radius:999px;padding:4px 3px}.ow-price{background:linear-gradient(#fff5b9,#ffd56b)!important;box-shadow:inset 0 1px 0 #fff8}.ow-primary{background:linear-gradient(#ba67ed,#7a22bd);border-color:#7d2ab8;box-shadow:0 4px 0 #531c87,inset 0 1px 0 #f9dfff80}.ow-secondary{border-color:#d2b7e7;color:#54237b;background:linear-gradient(#fff,#f9edff)}.ow-shop-footer{border-top:1px solid #d9b87966}.ow-notice{color:#633b7c}.ow-result{border-width:3px;box-shadow:0 0 0 2px color-mix(in srgb,var(--accent),white 60%),0 24px 80px #1b133b70}.ow-result-art{background:radial-gradient(ellipse at 50% 70%,white,var(--tint) 58%,var(--accent) 150%);padding:10px}.ow-result-art .ow-avatar{border:2px solid #ffe1a0;box-shadow:0 2px 0 #bf9a55,0 5px 18px #603b7429}.ow-result-content{background:linear-gradient(#fff,var(--tint));gap:7px}.ow-result .ow-name{padding:4px 16px;border-radius:999px;background:#fff9;border:1px solid color-mix(in srgb,var(--accent),white 75%);font-weight:850}.ow-result .ow-gift-note{padding:6px 14px;background:#eddcff;border-radius:999px}.ow-gift{padding:20px}.ow-gift h2{color:#631f91;text-shadow:0 2px #fff}.ow-gift-art{background:radial-gradient(circle,#fff0a4 0,#f4c2fa55 45%,transparent 72%)}.ow-gift h3{color:#562080}.ow-gift .ow-primary,.ow-gift .ow-secondary{width:min(100%,340px)}
/* Separate figure canvas; never animate the room or redraw continuously. */
.ow-premium-avatar .ow-v4-figure{z-index:4;pointer-events:none}.ow-mini-dost{position:absolute;z-index:8;bottom:10%;right:3%;width:28%;height:28%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 4px 3px #21113955)}.ow-v4-classic>.ow-avatar{width:100%;height:100%;max-width:none}.ow-motion-idle{animation:ow-v4-breathe 2.3s ease-in-out 2}.ow-motion-cheer{animation:ow-v4-cheer .8s cubic-bezier(.25,.65,.35,1) 2}.ow-mini-motion{animation:ow-v4-float 2s ease-in-out 2}@keyframes ow-v4-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.018,1.028)}}@keyframes ow-v4-cheer{0%,100%{transform:translateY(0) scale(1)}35%{transform:translateY(-4%) scale(.99,1.025)}70%{transform:translateY(0) scale(1.025,.98)}}@keyframes ow-v4-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8%)}}
@media(max-width:690px){.ow-shop{padding:12px;gap:8px}.ow-shop-head h2{font-size:21px}.ow-kicker{font-size:9px}.ow-preview{gap:4px 9px}.ow-progress{height:9px}.ow-product{padding:4px;border-radius:12px;gap:3px}.ow-product strong{font-size:10px}.ow-tabs button,.ow-tools button{padding:6px 7px}.ow-result-art{padding:5px}.ow-result-content{gap:5px}.ow-gift{padding:14px}}
@media(max-height:560px) and (min-width:691px){.ow-shop{padding:10px;gap:6px}.ow-preview{gap:4px}.ow-result-art{padding:6px}.ow-gift{padding:10px;gap:5px}}
@media(prefers-reduced-motion:reduce){.ow-motion-idle,.ow-motion-cheer,.ow-mini-motion{animation:none!important}}
/* V4.1 · live dashboard · scoped to the reading reward dialog */
.ow-hub,.ow-shop:has(.ow-hub-nav){width:min(100%,1500px);padding:17px 20px;gap:12px;background:radial-gradient(ellipse at 0% 0%,#fff5d7,transparent 35%),linear-gradient(135deg,#fff4e5,#f3dcfb 60%,#ffe6f2);border:3px solid #ffd68b;box-shadow:0 0 0 3px #b97d4a,0 0 0 7px #ffe5ad60,inset 0 0 0 2px #fff,0 25px 80px #1e0a30b0}.ow-hub-nav{display:flex;align-items:center;gap:12px;padding:0 43px 12px 2px;border-bottom:1px solid #dfb07c;min-width:0}.ow-hub-brand{font-weight:950;font-size:clamp(15px,1.9vw,27px);white-space:nowrap;color:#702396;letter-spacing:-.035em}.ow-hub-brand span{color:#d69526;text-shadow:0 1px 0 white}.ow-hub-nav nav{display:flex;justify-content:center;gap:7px;flex:1;min-width:0}.ow-hub-nav nav button,.ow-hub-bell{display:flex;gap:6px;align-items:center;justify-content:center;white-space:nowrap;border:1px solid #d4b3eb;border-radius:999px;background:linear-gradient(#fff,#f3e1fc);box-shadow:0 3px 0 #d9bce7,0 6px 9px #895ab91b;color:#5f1d88;padding:9px 14px;min-height:44px;font-size:clamp(11px,1.25vw,17px)}.ow-hub-nav nav button.active{color:white;background:linear-gradient(#c175ef,#8129bd 65%,#6921a4);border-color:#ae62df;box-shadow:inset 0 1px 2px #f6cfff,0 4px 0 #622391}.ow-hub-nav nav button span{font-size:1.35em;line-height:1}.ow-hub-nav .ow-balance{font-size:clamp(15px,1.7vw,24px);padding:7px 13px;gap:3px}.ow-hub-bell{position:relative;width:43px;padding:0;font-size:24px}.ow-hub-bell b{position:absolute;right:-2px;top:-5px;background:#ea555d;color:white;font-size:11px;border-radius:20px;padding:2px 6px;border:1px solid white}.ow-hub-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,2.15fr) minmax(0,1.25fr);grid-template-areas:'hero tasks chest' 'hero levels levels' 'featured featured room' 'footer footer footer';gap:12px;min-width:0}.ow-hub-card{background:linear-gradient(135deg,#fffaf0bf,#f9e9f7e8 70%,#edcef9);border:1px solid #d8a9ed;border-radius:23px;box-shadow:inset 0 0 0 2px #fff9,0 4px 0 #d7b7e04d,0 5px 12px #8f418c15;padding:13px;text-align:left;min-width:0}.ow-hub-card h3{font-size:clamp(17px,1.75vw,25px);margin:0;color:#5d1487;line-height:1.2;font-weight:950;letter-spacing:-.03em}.ow-hub-card p{margin:5px 0;color:#632e80;font-size:clamp(11px,1.15vw,16px);font-weight:650}.ow-hub-hero{grid-area:hero;position:relative;min-width:0;display:grid;place-items:center;background:#402850;border:2px solid #f9d079;border-radius:23px;overflow:hidden;box-shadow:0 4px 0 #c49559,0 6px 14px #753d6740}.ow-hub-hero .ow-avatar{width:100%;max-width:none;height:100%;aspect-ratio:auto;border-radius:19px;min-height:0}.ow-hub-hero .ow-avatar canvas,.ow-hub-hero .ow-avatar .ow-base{object-fit:cover;object-position:center}.ow-hub-hero .ow-avatar .ow-v4-figure{object-fit:contain}.ow-hub-hero .ow-avatar canvas{object-fit:contain}.ow-hub-hero .ow-avatar{aspect-ratio:1;height:auto;align-self:center}.ow-hub-hero{align-content:center;background:linear-gradient(#3b2446,#a97546)}.ow-hero-name{position:absolute;bottom:5%;left:50%;transform:translateX(-50%);width:max-content;max-width:92%;background:linear-gradient(#fff6d8,#ffd778);border:2px solid #f6c36b;box-shadow:0 3px 0 #c88c35,inset 0 0 0 2px #fff9,0 8px 18px #4a235960;border-radius:999px;color:#5a1b7d;padding:7px 24px;text-align:center;display:grid;gap:1px}.ow-hero-name strong{font-size:clamp(15px,2vw,24px);overflow-wrap:anywhere}.ow-hero-name span{font-size:clamp(11px,1.2vw,15px);font-weight:800}.ow-hub-tasks{grid-area:tasks;display:grid;gap:8px}.ow-hub-heading{display:flex;justify-content:space-between;gap:8px;align-items:center}.ow-hub-heading small{background:#e8c6f5;border-radius:999px;padding:4px 10px;color:#672789;font-size:clamp(10px,1vw,12px);white-space:nowrap}.ow-task-row{min-width:0;display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:10px;align-items:center;background:linear-gradient(135deg,#fffdfa,#f5e4f9);border:1px solid #e4c4e8;border-radius:17px;padding:7px;box-shadow:inset 0 0 0 1px #fff,0 3px 0 #d7bce04d}.ow-task-icon{display:grid;place-items:center;width:52px;height:52px;background:linear-gradient(#fff4cc,#fff9ea);border-radius:15px;border:1px solid #f2d3a5}.ow-task-icon img{width:100%;height:100%;object-fit:contain}.ow-task-text strong{color:#591678;font-size:clamp(12px,1.35vw,19px);display:block;line-height:1.2}.ow-task-progress{display:flex;gap:8px;align-items:center;margin-top:7px;color:#604383;font-size:13px;white-space:nowrap}.ow-task-progress .ow-progress{height:11px;background:#d7b7ef}.ow-task-progress .ow-progress i{background:linear-gradient(#be69ec,#8626d5);box-shadow:inset 0 2px 2px #fff6}.ow-task-row.done .ow-progress i{background:linear-gradient(#63d66b,#209d41)}.ow-task-prize{white-space:nowrap;border:1px solid #efb444;background:linear-gradient(#fff3b2,#ffd062);border-radius:999px;padding:6px 10px;font-weight:950;font-size:clamp(12px,1.35vw,18px);color:#864d08;box-shadow:0 2px 0 #e3b35c}.ow-task-row.done .ow-task-prize{background:#d7f3cf;color:#1f8b40;border-color:#94cf8c;box-shadow:none}.ow-hub-card .ow-hub-note{font-size:10px;margin:0;color:#775689}.ow-hub-chest{grid-area:chest;text-align:center;display:flex;align-items:center;flex-direction:column;justify-content:space-between;background:radial-gradient(circle at 50% 60%,#ffe5a4,#f7d8ff 65%,#fff5db);gap:5px}.ow-chest-button{padding:0;background:none;border:0;max-width:100%;width:min(100%,185px);aspect-ratio:1;display:grid;place-items:center;min-height:0}.ow-chest-button img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 7px 5px #d18b3270)}.ow-chest-button:disabled{opacity:1}.ow-chest-xp{width:100%;background:#fdf3ffbd;border:1px solid #e6bbef;box-shadow:inset 0 0 0 1px white;border-radius:999px;padding:7px 11px;color:#5c2682;font-size:13px}.ow-chest-xp .ow-progress{margin-top:4px}.ow-hub-chest .ow-primary{min-height:34px;padding:6px 12px;font-size:12px;width:100%;border-radius:99px}.ow-hub-levels{grid-area:levels;display:flex;align-items:center;gap:12px}.ow-level-caption{flex:0 0 25%}.ow-level-track{position:relative;display:flex;justify-content:space-between;align-items:center;flex:1;min-width:0;gap:4px}.ow-level-track:before{content:'';position:absolute;height:7px;left:8%;right:8%;top:49%;border-radius:12px;background:linear-gradient(90deg,#a849da,#dec4f7);box-shadow:inset 0 1px 1px #fff}.ow-level-node{position:relative;display:grid;justify-items:center;gap:1px;min-width:0;flex:1;color:#68278a}.ow-level-node img{width:clamp(25px,3vw,42px);height:clamp(25px,3vw,42px);object-fit:contain;filter:drop-shadow(0 3px 2px #ac80272b)}.ow-level-node b{border:2px solid #d1a1ee;border-radius:50%;background:#fff6ff;font-size:17px;width:32px;height:32px;display:grid;place-items:center;box-shadow:0 2px 0 #d3b0ea}.ow-level-node.current b,.ow-level-node.past b{background:linear-gradient(#fff6a5,#ffc746);color:#875208;border-color:#ffda77}.ow-level-node.current b{box-shadow:0 0 0 4px #ffe1a5,0 0 20px #ffd56b}.ow-level-node small{font-size:10px;white-space:nowrap}.ow-level-node.current small{background:#8d2ccc;color:white;border-radius:12px;padding:2px 7px}.ow-hub-featured{grid-area:featured}.ow-hub-layout{grid-template-columns:minmax(0,1.8fr) minmax(0,1.65fr) minmax(0,1.05fr);grid-template-areas:'hero tasks chest' 'hero levels levels' 'featured featured room' 'footer footer footer'}.ow-hub-heading button{background:none;border:0;color:#6b258e;font-size:12px;padding:5px}.ow-featured-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:10px}.ow-featured-grid .ow-product{min-width:0;display:grid;justify-items:center;grid-template-rows:1fr auto auto}.ow-featured-grid .ow-product img{height:clamp(54px,8vh,80px);width:100%;object-fit:contain}.ow-featured-grid .ow-product span{width:100%}.ow-hub-room{grid-area:room;position:relative;overflow:hidden;min-height:145px;display:flex;align-items:center;isolation:isolate}.ow-room-art{position:absolute;inset:0;background:url('premium-v3/webp/v41-room-art.webp') right center/cover no-repeat;z-index:-2}.ow-hub-room:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#fff0f4 0,#fff0f4dc 43%,#fff0f400 100%);z-index:-1}.ow-room-content{width:100%;position:relative}.ow-room-items{display:flex;gap:5px;margin-top:12px}.ow-room-items button{background:#fff7ed;border:1px solid #efc98e;border-radius:13px;box-shadow:0 3px 0 #ddba89;display:grid;place-items:center;min-width:0;width:49px;height:49px;padding:4px;color:#7d31aa;font-size:22px}.ow-room-items button:last-child{width:26px;background:#fff3fc}.ow-room-items img{width:100%;height:100%;object-fit:contain}.ow-hub-footer{grid-area:footer;display:flex;justify-content:flex-end}.ow-hub-footer .ow-primary{border-radius:999px;padding:10px 28px}.ow-decor{position:absolute;pointer-events:none;object-fit:contain}.ow-decorRug{z-index:2;width:72%;height:27%;bottom:5%;left:14%;object-fit:fill}.ow-decorPlant{z-index:7;width:21%;height:27%;bottom:9%;left:1%}.ow-decorLamp{z-index:7;width:20%;height:30%;bottom:13%;right:0}.ow-v4-classic .ow-decorRug{z-index:1}.ow-v4-classic .ow-decorPlant,.ow-v4-classic .ow-decorLamp{z-index:10}.ow-premium-avatar:has(.ow-decorLamp) .ow-mini-dost{right:17%;width:23%;height:23%}
@media(min-width:1050px){.ow-hub-layout{grid-template-columns:minmax(0,1.75fr) minmax(0,1.7fr) minmax(0,1fr)}.ow-hub-featured{grid-column:1/3;width:81%}.ow-hub-room{grid-column:2/4;margin-left:51%}.ow-hub-hero{min-height:355px}.ow-hub-tasks{min-height:280px}.ow-hub-room{min-height:160px}.ow-hub-card{padding:14px}}
@media(max-width:1050px){.ow-hub-nav{flex-wrap:wrap;gap:7px}.ow-hub-nav nav{order:3;flex-basis:100%;justify-content:flex-start}.ow-hub-nav .ow-balance{margin-left:auto}.ow-hub-nav nav button{flex:1}.ow-hub-layout{grid-template-columns:minmax(0,1.3fr) minmax(0,1.4fr);grid-template-areas:'hero tasks' 'chest levels' 'featured featured' 'room room' 'footer footer'}.ow-hub-levels{flex-direction:column;align-items:stretch;justify-content:center}.ow-level-caption{flex:0}.ow-hub-chest{min-height:170px}.ow-chest-button{width:100px}.ow-hub-room{min-height:150px}.ow-hub-room:after{background:linear-gradient(90deg,#fff0f4,#fff0f4cc 50%,transparent)}.ow-room-art{background-size:auto 100%}.ow-task-row{grid-template-columns:40px minmax(0,1fr) auto;gap:6px}.ow-task-icon{width:40px;height:40px}}
@media(max-width:690px){.ow-hub,.ow-shop:has(.ow-hub-nav){padding:10px;gap:9px;border-radius:20px}.ow-hub-nav{padding:0 37px 8px 0;gap:6px}.ow-hub-brand{font-size:13px;white-space:normal;max-width:50%}.ow-hub-nav .ow-balance{font-size:15px;padding:5px 8px}.ow-hub-bell{width:30px;min-height:30px;font-size:18px}.ow-hub-nav nav{margin-right:-35px;gap:4px}.ow-hub-nav nav button{font-size:11px;padding:5px 4px;min-height:39px;gap:3px}.ow-hub-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:'hero' 'tasks' 'chest' 'levels' 'featured' 'room' 'footer';gap:9px}.ow-hub-hero .ow-avatar{width:min(100%,300px)}.ow-hub-hero{background:#634554}.ow-hub-card{padding:10px;border-radius:17px}.ow-hub-card h3{font-size:18px}.ow-task-text strong{font-size:15px}.ow-task-prize{font-size:14px}.ow-hub-chest{min-height:0}.ow-chest-button{width:115px}.ow-hub-levels{gap:9px}.ow-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ow-featured-grid .ow-product img{height:63px}.ow-hub-footer .ow-primary{width:100%}.ow-hero-name{bottom:4%;padding:5px 17px}.ow-room-content{width:100%}}
@media(min-width:1051px){.ow-hub-layout{grid-template-columns:repeat(12,minmax(0,1fr));grid-template-areas:none;grid-template-rows:auto auto auto auto}.ow-hub-hero{grid-column:1/6;grid-row:1/3;min-height:0}.ow-hub-tasks{grid-column:6/10;grid-row:1}.ow-hub-chest{grid-column:10/13;grid-row:1}.ow-hub-levels{grid-column:6/13;grid-row:2}.ow-hub-featured{grid-column:1/7;grid-row:3;width:auto}.ow-hub-room{grid-column:7/13;grid-row:3;margin-left:0;min-height:160px}.ow-hub-footer{grid-column:1/13;grid-row:4}.ow-hub-hero .ow-avatar{width:100%;height:100%;aspect-ratio:1;position:absolute;inset:0}.ow-hub-hero .ow-avatar canvas{object-fit:cover}.ow-hub-hero .ow-avatar .ow-v4-figure{object-fit:cover}.ow-room-art{background-size:auto 100%}.ow-room-content{width:66%}.ow-room-items button{width:65px;height:65px}.ow-hub-tasks{min-height:245px}.ow-chest-button{width:min(100%,160px)}}
@media(min-width:1051px) and (max-height:800px){.ow-hub-card{padding:10px}.ow-hub-tasks{min-height:210px}.ow-task-row{padding:5px}.ow-task-icon{width:45px;height:45px}.ow-chest-button{width:125px}.ow-hub-room{min-height:130px}.ow-room-items button{width:48px;height:48px}.ow-featured-grid .ow-product img{height:54px}.ow-hub{gap:8px;padding:12px}.ow-hub-layout{gap:8px}}
@media(min-width:1051px){.ow-hub{padding:13px 18px;gap:10px}.ow-hub-nav{padding-bottom:9px}.ow-hub-layout{gap:10px}.ow-hub-card{padding:11px}.ow-hub-tasks{gap:6px;min-height:0}.ow-task-row{grid-template-columns:46px minmax(0,1fr) auto;padding:6px;gap:8px}.ow-task-icon{width:46px;height:46px}.ow-task-progress{margin-top:5px}.ow-hub-chest{gap:3px}.ow-chest-button{width:min(100%,136px)}.ow-hub-levels{padding:9px 12px}.ow-level-node img{height:35px;width:35px}.ow-featured-grid{margin-top:7px}.ow-featured-grid .ow-product img{height:clamp(46px,7vh,66px)}.ow-featured-grid .ow-product{padding:5px;gap:3px}.ow-hub-room{min-height:130px}.ow-room-items button{width:56px;height:56px}.ow-hub-footer .ow-primary{min-height:42px;padding:8px 26px}}
/* The footer is always reachable even when the device has a short viewport. */
.ow-hub-footer{position:sticky;bottom:0;z-index:11;background:linear-gradient(90deg,transparent,#f6def5e8);padding:3px 0}
.ow-hero-name{z-index:12;bottom:2.5%}.ow-hub-hero .ow-v4-figure{object-fit:contain!important}.ow-hub-hero .ow-mini-dost{bottom:13%}.ow-chest-button img{transform:scale(1.3)}.ow-chest-button{overflow:visible}.ow-hub-hero .ow-decorRug{bottom:8%}.ow-hub-hero .ow-decorPlant{bottom:12%}.ow-hub-hero .ow-decorLamp{bottom:14%}

/* V4.2: bounded companion motion and collection-only silhouettes. */
.ow-pet-progress{display:grid;grid-template-columns:1fr auto;gap:4px 8px;align-items:center;color:#5c267f;font-size:12px;padding:5px 9px;background:#fff8e8;border:1px solid #eccd8c;border-radius:10px}.ow-pet-progress .ow-progress{grid-column:1/-1;height:6px;margin:0}.ow-pet-card .ow-pet-rarity{color:#765b85;font-size:10px;line-height:1.1;font-weight:800}.ow-pet-rare{border-color:#a7a2ec!important;background:linear-gradient(145deg,#fffdfb,#eae7ff)!important}.ow-pet-legend{border-color:#d5a344!important;background:linear-gradient(145deg,#fff8d6,#f5dcff)!important}.ow-pet-legend .ow-pet-rarity{color:#8a500b}.ow-pet-locked img{filter:brightness(0) opacity(.20)!important}.ow-pet-locked{opacity:1!important;cursor:default}.ow-pet-locked .ow-price{background:#e6deeb;color:#675875}.ow-mini-hop{animation:ow-v42-hop 1.9s ease-in-out 2}@keyframes ow-v42-hop{0%,100%{transform:translateY(0)}45%{transform:translateY(-7%) scaleY(1.035)}65%{transform:translateY(0) scaleY(.98)}}@media(prefers-reduced-motion:reduce){.ow-mini-hop{animation:none!important}}

/* V4.3: character-specific collections */
.ow-v43-banner{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 8px;padding:6px 10px;border:1px solid #e1be72;border-radius:12px;background:linear-gradient(110deg,#fff6d9,#f0e0ff);color:#603583;font-size:12px}.ow-v43-banner small{grid-column:1/-1;font-size:10px;color:#725a80}.ow-v43-exclusive{border-color:#c69a4d!important;background:linear-gradient(140deg,#fff9e7,#f2e3fa)!important}.ow-v43-label{font-size:10px;line-height:1.05;color:#82561e;font-weight:800}.ow-v43-exclusive img{object-fit:contain}.ow-v43-exclusive.selected{outline:2px solid #9c53db;outline-offset:-2px}
