:root{--navy:#06142b;--navy2:#091d3a;--panel:rgba(9,27,55,.86);--panel2:rgba(13,36,70,.78);--line:rgba(92,179,255,.2);--blue:#24a7ff;--cyan:#38d7ff;--gold:#f6bd4a;--green:#27dfad;--violet:#9273ff;--danger:#ff6778;--text:#f5f8ff;--muted:#94a7c0;--safe-b:env(safe-area-inset-bottom,0px);--safe-t:env(safe-area-inset-top,0px)}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;min-height:100%;font-family:system-ui,-apple-system,"Segoe UI","Noto Sans KR",sans-serif;background:#020919;color:var(--text);overscroll-behavior-y:contain}body{background:radial-gradient(circle at 80% -10%,#123a72 0,transparent 36%),radial-gradient(circle at 0 40%,#052a52 0,transparent 32%),#020919}.app-body{padding-bottom:calc(86px + var(--safe-b))}.app-shell{width:min(100%,560px);margin:0 auto;position:relative}.hub-shell{padding:0 18px 34px}.hero-panel{margin:0 -18px 18px;padding:calc(22px + var(--safe-t)) 22px 23px;background:linear-gradient(180deg,rgba(6,20,43,.2),rgba(6,20,43,.92)),radial-gradient(circle at 80% 20%,rgba(43,143,255,.26),transparent 34%);border-bottom:1px solid rgba(68,157,255,.18);overflow:hidden}.brand-line{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:2px;font-weight:800;color:#7ebee8}.brand-mark{color:var(--gold);font-size:15px}.hero-copy{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:16px}.eyebrow,.section-kicker{display:block;color:#58c7ff;font-size:10px;letter-spacing:1.6px;font-weight:850}.go-logo{font-size:48px;line-height:.95;margin:7px 0 10px;letter-spacing:-3px}.go-logo em{font-style:normal;color:var(--gold);text-shadow:0 0 26px rgba(246,189,74,.38)}.hero-sub{font-size:15px;line-height:1.55;margin:0;color:#c4d2e4}.hero-sub b{color:#fff}.hero-orb{width:122px;height:122px;position:relative;flex:0 0 auto;display:grid;place-items:center}.hero-orb:before{content:"";position:absolute;inset:13px;border-radius:50%;background:radial-gradient(circle,rgba(35,137,255,.25),rgba(14,43,86,.48) 50%,transparent 70%);border:1px solid rgba(64,175,255,.28)}.hero-orb img{width:95px;height:95px;object-fit:contain;position:relative;z-index:2;filter:drop-shadow(0 14px 15px rgba(0,0,0,.4))}.scan-ring{position:absolute;border:1px solid rgba(57,196,255,.35);border-radius:50%;animation:pulseRing 2.6s infinite}.scan-ring.r1{inset:4px}.scan-ring.r2{inset:23px;animation-delay:.8s}@keyframes pulseRing{0%,100%{opacity:.25;transform:scale(.92)}50%{opacity:1;transform:scale(1.05)}}.privacy-pill{margin-top:17px;border:1px solid rgba(43,213,177,.18);background:rgba(9,63,67,.34);color:#8fe4d2;border-radius:13px;padding:9px 11px;font-size:10.5px;text-align:center}.premium-card{background:linear-gradient(160deg,rgba(16,45,85,.94),rgba(5,17,38,.96));border:1px solid rgba(70,159,255,.24);border-radius:24px;box-shadow:0 20px 50px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.03);position:relative;isolation:isolate}.premium-card.compact{padding:18px}.mission-card{padding:20px}.section-head{display:flex;justify-content:space-between;align-items:center}.section-head h2,.page-top h1{margin:4px 0 0;font-size:21px;letter-spacing:-.7px}.section-head.mini h2{font-size:17px}.level-chip,.counter-pill{border:1px solid rgba(57,192,255,.23);background:rgba(14,91,142,.3);color:#74d4ff;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800}.mission-progress{display:flex;align-items:center;gap:16px;margin:19px 0}.progress-ring,.mini-ring{--p:0deg;position:relative;border-radius:50%;background:conic-gradient(var(--blue) var(--p),rgba(255,255,255,.08) 0);display:grid;place-items:center}.progress-ring{width:92px;height:92px;flex:0 0 auto}.progress-ring:after,.mini-ring:after{content:"";position:absolute;inset:7px;border-radius:50%;background:#07172f}.progress-ring span,.mini-ring b,.mini-ring small{position:relative;z-index:2}.progress-ring span{font-size:30px;font-weight:900}.progress-ring small{font-size:11px;color:var(--muted);margin-left:2px}.mission-copy{min-width:0;flex:1}.mission-copy strong{font-size:16px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mission-copy p{font-size:11.5px;line-height:1.5;color:var(--muted);margin:6px 0 12px}.xp-row{display:grid;grid-template-columns:auto 1fr auto;gap:7px;align-items:center;font-size:9px;color:#7e93aa}.xp-track{height:5px;background:rgba(255,255,255,.08);border-radius:20px;overflow:hidden}.xp-track i{display:block;height:100%;background:linear-gradient(90deg,var(--cyan),var(--blue));border-radius:inherit}.primary-cta,.sheet-primary{border:0;color:#06142b;background:linear-gradient(120deg,#5ce1ff,#2d9cff 62%,#7b73ff);font-weight:900;text-decoration:none;border-radius:17px;box-shadow:0 12px 28px rgba(28,133,255,.22)}.primary-cta{display:flex;align-items:center;gap:13px;padding:15px 16px}.primary-cta .cta-icon{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:rgba(4,17,42,.25);font-size:22px}.primary-cta span:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1}.primary-cta b{font-size:16px}.primary-cta small{font-size:10px;opacity:.72}.cta-arrow{font-size:22px}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:13px 0}.quick-card{appearance:none;border:1px solid rgba(79,154,235,.18);background:rgba(8,24,51,.82);border-radius:18px;padding:15px 8px;color:#fff;text-decoration:none;text-align:center;display:flex;align-items:center;flex-direction:column;gap:7px;font:inherit}.quick-card b{font-size:12px}.quick-card small{font-size:9px;color:#7990aa}.qicon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-size:19px}.qicon.violet{background:rgba(147,115,255,.14);color:#b7a5ff}.qicon.cyan{background:rgba(54,212,255,.13);color:#66ddff}.qicon.gold{background:rgba(246,189,74,.13);color:#ffd171}.character-strip{margin-top:12px}.crew-row{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:13px}.crew{display:flex;align-items:center;gap:6px;min-width:0;padding:7px;border-radius:13px;border:1px solid rgba(255,255,255,.05);background:rgba(0,0,0,.12)}.crew.active{border-color:rgba(246,189,74,.27);background:rgba(111,79,18,.15)}.crew img{width:36px;height:42px;object-fit:contain}.crew span{display:flex;flex-direction:column;min-width:0}.crew b{font-size:11px}.crew small{font-size:8px;color:var(--muted)}.status-card{margin:12px 0 0;border:1px solid rgba(61,144,223,.15);background:rgba(5,17,37,.72);border-radius:19px;padding:15px}.status-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.status-title span{font-size:8px;color:#507292;letter-spacing:1.5px;font-weight:800}.status-title b{font-size:11px}.status-row{display:flex;gap:7px}.status-chip{flex:1;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:9px 7px;font-size:9px;color:#71849a;text-align:center}.dot{display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#536273}.status-chip.ok{color:#9ee5d5;border-color:rgba(39,223,173,.2);background:rgba(39,223,173,.05)}.status-chip.ok .dot{background:var(--green);box-shadow:0 0 9px var(--green)}.app-footer{text-align:center;color:#405774;font-size:9px;margin-top:19px}.bottom-nav{position:fixed;z-index:80;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,560px);height:calc(68px + var(--safe-b));padding:7px 8px var(--safe-b);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:rgba(3,14,33,.94);border-top:1px solid rgba(59,137,216,.17);backdrop-filter:blur(20px)}.bottom-nav a{display:grid;grid-template-rows:26px 14px;place-items:center;align-content:center;gap:1px;min-width:0;height:54px;text-decoration:none;color:#657b96;border-radius:13px;overflow:hidden;transform:none!important;transition:background-color .18s ease,color .18s ease}.bottom-nav a span{display:grid;place-items:center;width:26px;height:26px;line-height:26px;font-size:20px;font-family:system-ui,-apple-system,"Segoe UI Symbol","Noto Sans Symbols 2",sans-serif;font-variant-emoji:text;transform:none!important;animation:none!important}.bottom-nav a b{display:block;height:14px;line-height:14px;font-size:9px;white-space:nowrap;transform:none!important;animation:none!important}.bottom-nav a.active{color:#58c8ff;background:linear-gradient(180deg,rgba(37,139,230,.12),transparent)}.page-shell{padding:calc(14px + var(--safe-t)) 16px 28px}.page-top{display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center;margin-bottom:18px}.icon-btn{width:44px;height:44px;display:grid;place-items:center;border:1px solid rgba(65,165,255,.21);background:rgba(11,42,79,.76);border-radius:14px;text-decoration:none;color:#9ddfff;font-size:20px}.collection-hero,.map-hero{display:flex;align-items:center;justify-content:space-between;gap:12px}.collection-hero p,.map-hero p{font-size:11px;line-height:1.55;color:var(--muted);margin:6px 0 0}.mini-ring{width:76px;height:76px;flex:0 0 auto}.mini-ring b{font-size:25px}.mini-ring small{font-size:9px;color:var(--muted);margin-top:28px;margin-left:-4px}.collection-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}.collection-item{position:relative;min-height:155px;border:1px solid rgba(72,153,235,.16);background:linear-gradient(160deg,rgba(11,32,62,.9),rgba(5,17,37,.9));border-radius:20px;color:#fff;text-align:left;padding:15px;display:flex;flex-direction:column;font:inherit}.collection-item.unlocked{box-shadow:inset 0 0 26px rgba(25,116,221,.06)}.collection-item.locked{opacity:.58}.collection-no{position:absolute;right:13px;top:11px;font-size:9px;color:#4d6a88;font-weight:900;letter-spacing:1px}.collection-icon{font-size:36px;margin:9px 0 13px}.collection-item b{font-size:13px}.collection-item small{font-size:9px;color:#7087a1;margin-top:5px}.sheet{position:fixed;inset:0;z-index:120;display:none;align-items:flex-end;justify-content:center}.sheet.show{display:flex}.sheet-dim{position:absolute;inset:0;border:0;background:rgba(0,5,15,.72);backdrop-filter:blur(7px)}.sheet-card{position:relative;width:min(100%,560px);padding:12px 20px calc(22px + var(--safe-b));background:linear-gradient(180deg,#0b2445,#06142b);border-radius:28px 28px 0 0;border:1px solid rgba(72,159,255,.24);box-shadow:0 -20px 70px rgba(0,0,0,.5);animation:sheetUp .28s ease}.sheet-handle{width:42px;height:4px;background:#315274;border-radius:9px;margin:0 auto 18px}.sheet-title{display:flex;align-items:center;gap:13px}.sheet-title h2{font-size:19px;margin:3px 0}.sheet-title small{font-size:8px;color:#58c7ff;letter-spacing:1.2px}.guide-steps{display:grid;gap:9px;margin:18px 0}.guide-steps>div{display:flex;gap:11px;padding:12px;border-radius:15px;background:rgba(0,0,0,.16);border:1px solid rgba(255,255,255,.05)}.guide-steps i{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:rgba(46,162,255,.13);color:#70d5ff;font-style:normal;font-size:11px;font-weight:900}.guide-steps span{display:flex;flex-direction:column;gap:3px}.guide-steps b{font-size:12px}.guide-steps small{font-size:9.5px;color:var(--muted);line-height:1.5}.sheet-primary{width:100%;padding:14px 16px;font-size:14px}.item-detail{text-align:center}.detail-icon{font-size:56px;margin-bottom:8px}.item-detail h2{font-size:25px;margin:7px}.item-detail>p{color:#9db1c8;font-size:11px}.learning-box{text-align:left;margin:15px 0;padding:14px;border-radius:15px;background:rgba(38,138,219,.1);border:1px solid rgba(56,170,255,.18)}.learning-box b{font-size:11px;color:#64d5ff}.learning-box p{font-size:11px;line-height:1.65;color:#c0cee0;margin:7px 0 0}.map-radar{width:88px;height:88px;position:relative;flex:0 0 auto;border-radius:50%;border:1px solid rgba(56,192,255,.22);display:grid;place-items:center;background:radial-gradient(circle,rgba(40,176,255,.15),transparent 62%)}.map-radar i{position:absolute;border:1px solid rgba(63,204,255,.18);border-radius:50%}.map-radar i:nth-child(1){inset:10px}.map-radar i:nth-child(2){inset:24px}.map-radar i:nth-child(3){width:1px;height:42%;border:0;border-left:2px solid #5ecfff;top:8%;left:50%;transform-origin:bottom;animation:sweep 2.7s linear infinite}.map-radar span{font-size:21px;color:#67d8ff}.filter-row{display:flex;gap:7px;margin:14px 0 10px}.filter{border:1px solid rgba(72,154,236,.16);background:rgba(8,27,55,.8);color:#6e849d;border-radius:999px;padding:8px 13px;font:inherit;font-size:10px;font-weight:800}.filter.active{color:#07152d;background:#64d5ff;border-color:#64d5ff}.spot-list{display:grid;gap:8px}.spot-row{display:grid;grid-template-columns:42px 1fr auto;gap:11px;align-items:center;padding:12px;border:1px solid rgba(64,145,226,.13);border-radius:16px;background:rgba(7,23,48,.83)}.spot-row.done{border-color:rgba(39,223,173,.15)}.spot-index{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#0d294d;color:#68cfff;font-size:10px;font-weight:900}.spot-row.done .spot-index{color:#35dfad;background:rgba(39,223,173,.11)}.spot-meta{min-width:0}.spot-meta b{display:block;font-size:12px}.spot-meta small{display:block;font-size:8.5px;color:#68809a;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.spot-state{font-size:7.5px;letter-spacing:1px;font-weight:900;color:#3f658d}.spot-row.done .spot-state{color:#31cfa3}.bottom-spacer{height:20px}
/* AR */
.ar-body{margin:0;overflow:hidden;background:#000;font-family:system-ui,-apple-system,"Segoe UI","Noto Sans KR",sans-serif;color:#fff}.ar-body #cameraVideo{position:fixed;inset:0;width:100%;height:100%;object-fit:cover;background:#000}.ar-vignette{display:none!important}.ar-grid{display:none!important}.ar-topbar{position:fixed;z-index:20;top:calc(12px + var(--safe-t));left:12px;right:12px;display:grid;grid-template-columns:46px 1fr 54px;align-items:center}.ar-exit{width:44px;height:44px;border-radius:15px;display:grid;place-items:center;color:#d7ebff;text-decoration:none;background:rgba(3,14,34,.65);border:1px solid rgba(92,183,255,.26);backdrop-filter:blur(10px);font-size:20px}.ar-brand{text-align:center;line-height:.85}.ar-brand small{display:block;font-size:7px;letter-spacing:2.5px;color:#7bb8df}.ar-brand b{font-size:22px;color:#fff}.ar-progress{justify-self:end;width:48px;height:44px;display:flex;align-items:baseline;justify-content:center;background:rgba(3,14,34,.65);border:1px solid rgba(92,183,255,.26);border-radius:15px;backdrop-filter:blur(10px)}.ar-progress span{font-size:17px;font-weight:900;color:#6ddcff}.ar-progress small{font-size:8px;color:#86a1bc}.quest-chip{position:fixed;z-index:18;top:calc(68px + var(--safe-t));left:50%;transform:translateX(-50%);white-space:nowrap;display:flex;align-items:center;gap:7px;border:1px solid rgba(246,189,74,.24);background:rgba(3,14,33,.7);border-radius:999px;padding:8px 13px;backdrop-filter:blur(11px);font-size:10px}.quest-chip span{color:var(--gold)}.signal-panel{position:fixed;z-index:16;bottom:calc(34px + var(--safe-b));left:50%;transform:translateX(-50%);width:min(82vw,330px);display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:end;padding:10px 13px;border-radius:16px;background:rgba(4,17,40,.72);border:1px solid rgba(77,179,255,.24);backdrop-filter:blur(12px)}.signal-label{font-size:6.5px;letter-spacing:1.3px;color:#7192b0;align-self:center}.signal-bars{height:20px;display:flex;align-items:end;gap:3px}.signal-bars i{width:5px;border-radius:2px 2px 0 0;background:rgba(255,255,255,.13);transition:.2s}.signal-bars i:nth-child(1){height:5px}.signal-bars i:nth-child(2){height:8px}.signal-bars i:nth-child(3){height:11px}.signal-bars i:nth-child(4){height:15px}.signal-bars i:nth-child(5){height:20px}.signal-bars i.on{background:linear-gradient(180deg,#72e6ff,#27a4ff);box-shadow:0 0 8px rgba(44,186,255,.7)}.signal-panel>b{font-size:15px;color:#fff}.status-banner{position:fixed;z-index:15;bottom:calc(91px + var(--safe-b));left:50%;transform:translateX(-50%) translateY(8px);width:max-content;max-width:84vw;padding:8px 12px;border-radius:999px;background:rgba(4,18,40,.72);border:1px solid rgba(72,173,255,.18);backdrop-filter:blur(10px);font-size:9.5px;color:#c5def3;opacity:0;transition:.2s;text-align:center}.status-banner.show{opacity:1;transform:translateX(-50%) translateY(0)}.edge-arrow{position:fixed;z-index:17;top:50%;transform:translateY(-50%) scale(.86);opacity:0;transition:.2s;width:52px;height:78px;border-radius:18px;background:rgba(2,14,36,.55);border:1px solid rgba(66,184,255,.28);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;flex-direction:column}.edge-arrow.visible{opacity:1;transform:translateY(-50%) scale(1)}.edge-arrow.left{left:10px}.edge-arrow.right{right:10px}.edge-arrow span{font-size:41px;line-height:.7;color:#62d5ff;text-shadow:0 0 18px #2aa9ff}.edge-arrow small{font-size:6px;letter-spacing:1px;color:#8cb1cd}.target-reticle{position:fixed;z-index:8;top:50%;left:50%;width:210px;height:210px;transform:translate(-50%,-50%);opacity:.58}.target-reticle i{position:absolute;width:34px;height:34px;border-color:rgba(91,210,255,.7)}.target-reticle i:nth-child(1){left:0;top:0;border-left:1px solid;border-top:1px solid}.target-reticle i:nth-child(2){right:0;top:0;border-right:1px solid;border-top:1px solid}.target-reticle i:nth-child(3){left:0;bottom:0;border-left:1px solid;border-bottom:1px solid}.target-reticle i:nth-child(4){right:0;bottom:0;border-right:1px solid;border-bottom:1px solid}.target-reticle span{position:absolute;left:50%;bottom:-20px;transform:translateX(-50%);font-size:6px;letter-spacing:2px;color:#7acfff}.target-wrap{position:fixed;z-index:10;left:50%;top:50%;width:160px;height:190px;display:flex;align-items:center;justify-content:center;flex-direction:column;opacity:0;pointer-events:none;transition:opacity .16s}.target-wrap.visible{opacity:1}.target-glow{position:absolute;width:140px;height:140px;border-radius:50%;background:radial-gradient(circle,rgba(56,209,255,.32),rgba(45,119,255,.08) 48%,transparent 68%);filter:blur(2px);animation:targetPulse 1.7s infinite}.target-wrap img{position:relative;width:138px;height:148px;object-fit:contain;filter:drop-shadow(0 18px 18px rgba(0,0,0,.4))}.target-label{position:relative;margin-top:-8px;padding:7px 11px;border-radius:999px;background:rgba(3,16,37,.76);border:1px solid rgba(246,189,74,.32);font-size:10px;font-weight:800;white-space:nowrap;backdrop-filter:blur(10px)}.dwell-ring-wrap{position:fixed;z-index:12;top:50%;left:50%;width:72px;height:72px;transform:translate(-50%,-50%);opacity:0;pointer-events:none}.dwell-ring-wrap.show{opacity:1}.dwell-ring-wrap svg{width:72px;height:72px;transform:rotate(-90deg)}.dwell-ring-bg,.dwell-ring-fg{fill:none;stroke-width:3}.dwell-ring-bg{stroke:rgba(255,255,255,.15)}.dwell-ring-fg{stroke:#70e7ff;stroke-linecap:round;stroke-dasharray:169.646;stroke-dashoffset:169.646;filter:drop-shadow(0 0 5px #21b9ff)}.dwell-ring-wrap>span{position:absolute;inset:0;display:grid;place-items:center;font-size:6px;letter-spacing:1px;color:#8fe6ff}.accuracy-chip{position:fixed;z-index:14;right:11px;bottom:calc(92px + var(--safe-b));padding:6px 8px;border-radius:9px;background:rgba(4,17,39,.6);border:1px solid rgba(66,174,255,.15);font-size:7px;color:#79a0bd}.accuracy-chip.warn{color:#ffd279;border-color:rgba(246,189,74,.2)}.perm-gate{position:fixed;inset:0;z-index:100;display:flex;align-items:flex-end;justify-content:center;background:linear-gradient(180deg,rgba(1,7,18,.7),rgba(2,9,23,.94));backdrop-filter:blur(14px);padding-top:var(--safe-t)}.perm-card.commercial{width:min(100%,560px);padding:26px 21px calc(22px + var(--safe-b));background:linear-gradient(180deg,rgba(10,33,65,.98),#06142b);border-radius:30px 30px 0 0;border:1px solid rgba(77,169,255,.25);box-shadow:0 -20px 70px rgba(0,0,0,.55)}.perm-logo{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(145deg,rgba(62,195,255,.2),rgba(70,104,255,.18));border:1px solid rgba(91,206,255,.3);font-size:28px;color:#61ddff;margin-bottom:13px}.perm-card h2{font-size:25px;margin:6px 0 8px}.perm-card>p{font-size:11px;line-height:1.6;color:#94a9c1;margin:0 0 17px}.perm-steps{display:grid;gap:8px}.perm-step{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;padding:10px;border:1px solid rgba(255,255,255,.055);background:rgba(0,0,0,.15);border-radius:15px}.perm-symbol{width:38px;height:38px;border-radius:12px;background:rgba(47,143,230,.13);display:grid;place-items:center;color:#69d6ff}.perm-step>span:nth-child(2){display:flex;flex-direction:column}.perm-step b{font-size:11px}.perm-step small{font-size:8px;color:#738ba5;margin-top:2px}.perm-step i{font-size:7px;color:#68809a;font-style:normal;border:1px solid rgba(255,255,255,.07);padding:4px 6px;border-radius:999px}.perm-step.ok{border-color:rgba(39,223,173,.18)}.perm-step.ok .perm-symbol{color:#4be4b9;background:rgba(39,223,173,.11)}.perm-step.fail{border-color:rgba(255,103,120,.2)}.privacy-note{margin:13px 0;padding:9px 10px;background:rgba(16,72,70,.26);border:1px solid rgba(39,223,173,.13);border-radius:12px;color:#7ed8c4;font-size:8.5px}.perm-note{min-height:16px;text-align:center;font-size:8px;color:#8aa1b9;margin-top:8px}.card-overlay{position:fixed;inset:0;z-index:110;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(1,7,18,.78);backdrop-filter:blur(12px)}.card-overlay.show{display:flex}.get-card.commercial{width:min(100%,330px);padding:27px 21px 21px;text-align:center;border-radius:27px;background:linear-gradient(160deg,#102d56,#07162f 64%,#0c1f3e);border:1px solid rgba(246,189,74,.34);box-shadow:0 0 0 1px rgba(255,255,255,.03) inset,0 25px 70px rgba(0,0,0,.55),0 0 40px rgba(246,189,74,.1);animation:popIn .42s cubic-bezier(.2,1.2,.4,1)}.discovery-kicker{font-size:8px;letter-spacing:2.3px;color:#6fdcff;font-weight:900}.reward-burst{width:112px;height:112px;margin:13px auto 6px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle,rgba(246,189,74,.28),rgba(246,189,74,.08) 45%,transparent 68%);box-shadow:0 0 44px rgba(246,189,74,.14)}.reward-burst .icon{font-size:54px}.get-card .tag{font-size:8px;letter-spacing:1.4px;color:#7894b1;font-weight:900}.get-card .name{font-size:23px;font-weight:900;margin-top:5px}.xp-award{display:inline-block;margin:10px 0 4px;padding:6px 10px;border-radius:999px;background:rgba(246,189,74,.11);border:1px solid rgba(246,189,74,.22);color:#ffd16b;font-size:11px;font-weight:900}.get-card .quote{font-size:10px;color:#8ea4bb;margin:11px 0}.get-card .all-done-badge{font-size:10px;color:#61e2bd;margin:10px 0}.get-card button{width:100%;border:0;border-radius:15px;padding:13px 15px;background:linear-gradient(120deg,#58deff,#2d9fff 65%,#7774ff);color:#06142b;font-weight:900;font-size:12px}.get-card button span{float:right}.card-link{display:block;color:#6f8ca9;text-decoration:none;font-size:8.5px;margin-top:11px}.toast-root{position:fixed;z-index:95;top:calc(112px + var(--safe-t));left:0;right:0;display:flex;justify-content:center;pointer-events:none}.toast{max-width:84vw;padding:9px 13px;border-radius:999px;background:rgba(3,17,38,.83);border:1px solid rgba(81,181,255,.22);color:#d9edff;font-size:9px;backdrop-filter:blur(12px);opacity:0;transform:translateY(-8px);transition:.22s}.toast.show{opacity:1;transform:translateY(0)}.toast-near{border-color:rgba(246,189,74,.28);color:#ffe3a0}@keyframes sheetUp{from{transform:translateY(30px);opacity:.6}to{transform:none;opacity:1}}@keyframes sweep{to{transform:rotate(360deg)}}@keyframes targetPulse{50%{transform:scale(1.12);opacity:.65}}@keyframes popIn{from{transform:scale(.78);opacity:0}to{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){*{animation-duration:.001s!important;transition-duration:.001s!important}}

/* ===== v2 commercial UX ===== */
.daily-card{margin:13px 0}.daily-badge{font-size:12px;font-weight:900;color:#67ddff;background:rgba(35,156,240,.12);border:1px solid rgba(62,190,255,.18);padding:7px 10px;border-radius:999px}.daily-list{display:grid;gap:7px;margin-top:13px}.daily-item{display:grid;grid-template-columns:34px 1fr auto;gap:9px;align-items:center;padding:9px 10px;border-radius:13px;background:rgba(0,0,0,.16);border:1px solid rgba(255,255,255,.05)}.daily-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:rgba(36,167,255,.11);color:#65d8ff}.daily-item span:nth-child(2){display:flex;flex-direction:column;gap:2px}.daily-item b{font-size:10px}.daily-item small{font-size:7.5px;color:#7389a1}.daily-item em{font-style:normal;font-size:9px;color:#6f859e}.daily-item.done{border-color:rgba(39,223,173,.18);background:rgba(19,95,77,.13)}.daily-item.done .daily-icon,.daily-item.done em{color:#4de3b9}.daily-reward{width:100%;margin-top:9px;border-radius:13px;border:1px solid rgba(246,189,74,.16);background:linear-gradient(120deg,rgba(246,189,74,.14),rgba(116,82,28,.09));padding:10px 12px;color:#e8c979;display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto;text-align:left;column-gap:7px}.daily-reward>span{grid-row:1/3;font-size:20px;align-self:center}.daily-reward b{font-size:9.5px}.daily-reward small{font-size:7px;color:#8e7b56}.daily-reward:disabled{opacity:.5}.daily-reward:not(:disabled){box-shadow:0 0 24px rgba(246,189,74,.1);cursor:pointer}.daily-reward.claimed{color:#63d7ba;border-color:rgba(39,223,173,.2)}
.bottom-nav{overflow-x:auto}.bottom-nav a{min-width:64px}.ranking-shell{padding:0 18px 110px}.rank-hero{margin-top:15px;padding:18px;display:flex;align-items:center;gap:15px;background:radial-gradient(circle at 13% 50%,rgba(246,189,74,.18),transparent 24%),linear-gradient(150deg,rgba(29,49,83,.95),rgba(6,18,39,.97))}.rank-crown{font-size:42px;color:var(--gold);filter:drop-shadow(0 0 16px rgba(246,189,74,.35))}.rank-hero div{display:flex;flex-direction:column}.rank-hero span{font-size:8px;letter-spacing:1.5px;color:#8aa0b8}.rank-hero b{font-size:24px;color:#ffcf65;margin:2px 0}.rank-hero small{font-size:7.5px;color:#6f859e}.rank-tabs{display:grid;grid-template-columns:1fr 1fr;margin:17px 0 10px;border-bottom:1px solid rgba(86,167,245,.14)}.rank-tabs button{border:0;background:transparent;color:#73879f;padding:12px;font-weight:900;font-size:10px;border-bottom:2px solid transparent}.rank-tabs button.active{color:#5ed7ff;border-bottom-color:#2aafff}.ranking-list{display:grid;gap:8px}.rank-row{display:grid;grid-template-columns:44px 1fr auto;gap:10px;align-items:center;border:1px solid rgba(79,159,238,.12);background:rgba(9,26,53,.72);padding:12px;border-radius:15px}.rank-no{font-size:10px;color:#8296ac;text-align:center}.rank-user{display:flex;flex-direction:column}.rank-user b{font-size:11px}.rank-user small{font-size:8px;color:#7489a1;margin-top:2px}.rank-row>strong{font-size:12px}.rank-row>strong small{font-size:7px;color:#4dcfff}.rank-row.top1{border-color:rgba(246,189,74,.35);box-shadow:0 0 24px rgba(246,189,74,.08)}.rank-row.top2{border-color:rgba(209,224,245,.22)}.rank-row.top3{border-color:rgba(208,125,56,.24)}.rank-row.me{background:linear-gradient(120deg,rgba(25,111,174,.22),rgba(66,64,145,.18));border-color:rgba(71,194,255,.35)}.impact-card{margin-top:15px;text-align:center;border-top:1px solid rgba(255,255,255,.07);padding:18px 8px}.impact-card span,.impact-card small{display:block;font-size:8px;color:#71869e}.impact-card b{display:block;color:#53d8ff;font-size:19px;margin:6px}.impact-card small{color:#40d8aa}
.capture-flash{position:fixed;inset:0;z-index:105;pointer-events:none;opacity:0;background:radial-gradient(circle,rgba(255,244,185,.96),rgba(80,197,255,.38) 30%,transparent 66%)}.capture-flash.go{animation:captureFlash .7s ease-out}.particle-field{position:fixed;z-index:106;left:50%;top:50%;pointer-events:none}.particle-field i{--a:0deg;--d:90px;--delay:0s;position:absolute;width:7px;height:7px;border-radius:50%;background:linear-gradient(#fff0a8,#ffbd3c);box-shadow:0 0 9px #ffd45e;animation:particleBurst .75s var(--delay) ease-out forwards;transform:rotate(var(--a)) translateX(0)}@keyframes captureFlash{0%{opacity:0}18%{opacity:1}100%{opacity:0}}@keyframes particleBurst{0%{opacity:0;transform:rotate(var(--a)) translateX(0) scale(.4)}20%{opacity:1}100%{opacity:0;transform:rotate(var(--a)) translateX(var(--d)) scale(1.2)}}


/* ===== v3 gameplay systems ===== */
.quick-grid{grid-template-columns:repeat(2,1fr)}
.minigame-overlay{position:fixed;inset:0;z-index:108;display:none;align-items:flex-end;justify-content:center;background:rgba(1,7,18,.72);backdrop-filter:blur(10px)}.minigame-overlay.show{display:flex}.minigame-card{width:min(100%,520px);padding:24px 20px calc(22px + var(--safe-b));border-radius:28px 28px 0 0;background:linear-gradient(180deg,#102f5c,#06142b);border:1px solid rgba(74,188,255,.28);box-shadow:0 -18px 60px rgba(0,0,0,.55);animation:sheetUp .28s ease-out}.minigame-top{display:flex;justify-content:space-between;align-items:center}.minigame-top span{color:#ffcf65;font-weight:900;font-size:11px}.minigame-top small{color:#6386a8;font-size:7px;letter-spacing:1.5px}.minigame-card h2{font-size:24px;margin:9px 0 4px}.minigame-card>p{font-size:10px;color:#8fa6bf;margin:0 0 18px}.mini-primary,.mini-cancel{width:100%;border:0;border-radius:15px;padding:14px;font-weight:900}.mini-primary{margin-top:16px;background:linear-gradient(120deg,#5ce3ff,#309eff);color:#041329}.mini-cancel{margin-top:8px;background:transparent;color:#718ba6;border:1px solid rgba(255,255,255,.07);font-size:9px}.mini-feedback{min-height:22px;text-align:center;font-size:10px;font-weight:900;margin-top:10px}.mini-feedback.success{color:#4ce4b7}.mini-feedback.fail{color:#ff8b99}.mini-tutorial{padding:16px;border-radius:17px;background:rgba(1,10,24,.38);border:1px solid rgba(85,177,255,.14);text-align:center}.mini-tutorial p{font-size:13px;line-height:1.7;color:#dfeeff;margin:0 0 6px}.timing-track{height:54px;position:relative;border-radius:18px;background:rgba(0,0,0,.25);border:1px solid rgba(100,190,255,.14);overflow:hidden}.timing-zone{position:absolute;left:42%;width:20%;top:0;bottom:0;background:linear-gradient(90deg,rgba(39,223,173,.12),rgba(39,223,173,.5),rgba(39,223,173,.12));box-shadow:0 0 25px rgba(39,223,173,.25)}.timing-track i{position:absolute;top:5px;bottom:5px;width:5px;border-radius:8px;background:#fff;box-shadow:0 0 12px #56ddff;transform:translateX(-50%)}.charge-orb{width:154px;height:154px;margin:6px auto 3px;border-radius:50%;display:grid;place-items:center;position:relative;overflow:hidden;background:radial-gradient(circle,rgba(41,160,255,.12),rgba(3,15,34,.9));border:2px solid rgba(81,192,255,.2)}.charge-orb i{position:absolute;left:0;right:0;bottom:0;height:var(--charge,0%);background:linear-gradient(0deg,rgba(39,223,173,.6),rgba(57,185,255,.35));transition:height .04s}.charge-orb span{position:relative;z-index:2;font-size:25px;font-weight:950}.quiz-q{padding:18px;border-radius:17px;background:rgba(1,10,24,.38);border:1px solid rgba(85,177,255,.14);font-size:14px;line-height:1.55;font-weight:800;text-align:center}.ox-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.ox-row button{height:70px;border-radius:18px;border:1px solid rgba(81,187,255,.18);background:rgba(33,113,188,.14);color:#fff;font-size:31px;font-weight:950}.ox-row button:last-child{border-color:rgba(255,112,130,.18);background:rgba(143,40,62,.12)}
.sub-header{display:flex;align-items:center;gap:12px;padding:calc(16px + var(--safe-t)) 0 10px}.sub-header>a{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;color:#fff;text-decoration:none;background:rgba(38,122,199,.12);border:1px solid rgba(80,176,255,.16)}.sub-header>div{flex:1}.sub-header small{display:block;font-size:7px;letter-spacing:1.4px;color:#5fcfff}.sub-header h1{font-size:20px;margin:2px 0}.sub-header>span{font-size:8px;color:#8199b2}.badge-hero{margin-top:9px;display:flex;gap:15px;align-items:center}.badge-orb{width:70px;height:70px;border-radius:22px;display:grid;place-items:center;font-size:32px;background:radial-gradient(circle,rgba(246,189,74,.24),rgba(246,189,74,.05));border:1px solid rgba(246,189,74,.25);color:#ffd46f}.badge-hero>div:last-child{display:flex;flex-direction:column}.badge-hero span{font-size:7px;letter-spacing:1.3px;color:#70cfff}.badge-hero b{font-size:20px;margin:3px 0}.badge-hero small{font-size:8px;color:#7890aa}.badge-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:13px}.badge-card{min-height:150px;border-radius:20px;padding:16px 13px;text-align:center;background:rgba(6,22,46,.75);border:1px solid rgba(255,255,255,.055);opacity:.48}.badge-card.earned{opacity:1;border-color:rgba(246,189,74,.23);background:linear-gradient(150deg,rgba(44,50,76,.9),rgba(8,24,49,.9));box-shadow:0 0 28px rgba(246,189,74,.055)}.badge-icon{font-size:36px;margin:4px}.badge-card>span{display:block;font-size:6.5px;letter-spacing:1.4px;color:#718aa4}.badge-card.earned>span{color:#e7bd62}.badge-card b{display:block;font-size:12px;margin:5px}.badge-card small{font-size:7.5px;color:#778da5;line-height:1.4}
.battle-hero{margin-top:9px;text-align:center}.battle-kicker{font-size:7px;letter-spacing:1.6px;color:#ffcf66}.battle-hero h2{font-size:25px;margin:7px 0}.battle-hero p{font-size:9px;color:#829ab3;line-height:1.5}.org-picker{display:flex;align-items:center;justify-content:space-between;margin-top:14px;padding:10px 12px;border-radius:14px;background:rgba(0,0,0,.18);border:1px solid rgba(255,255,255,.06)}.org-picker label{font-size:9px;color:#8ca3bb}.org-picker select{background:#0b2345;color:#fff;border:1px solid rgba(80,181,255,.18);border-radius:9px;padding:7px 9px;font-size:9px}.team-list{display:grid;gap:8px;margin-top:13px}.team-row{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;padding:13px;border-radius:15px;background:rgba(8,27,55,.8);border:1px solid rgba(75,159,240,.11)}.team-row.mine{border-color:rgba(77,213,255,.36);background:linear-gradient(120deg,rgba(22,107,174,.22),rgba(51,64,137,.15))}.team-rank{font-weight:950;color:#7890aa;text-align:center}.team-row:nth-child(1) .team-rank{color:#ffd367;font-size:18px}.team-row div{display:flex;flex-direction:column}.team-row b{font-size:11px}.team-row small{font-size:7px;color:#70869e}.team-row strong{font-size:12px}.battle-info{margin-top:12px}.battle-info>div{display:flex;justify-content:space-between;margin:11px 0}.battle-info span,.battle-info small{font-size:8px;color:#7289a2}.battle-info strong{color:#62dbff}.server-card{margin-top:12px;display:flex;align-items:center;justify-content:space-between}.server-card>div{display:flex;flex-direction:column}.server-card span{font-size:7px;letter-spacing:1.2px;color:#62d6ff}.server-card b{font-size:11px}.server-card small{font-size:7px;color:#71879f}.server-card button{border:1px solid rgba(88,192,255,.2);border-radius:10px;background:rgba(43,147,224,.13);color:#9de5ff;padding:9px 12px;font-size:8px;font-weight:900}
.daily-item.done{animation:missionGlow 1.8s ease-in-out infinite alternate}.daily-reward:not(:disabled){animation:rewardReady 1.3s ease-in-out infinite}@keyframes missionGlow{to{box-shadow:0 0 17px rgba(39,223,173,.12)}}@keyframes rewardReady{50%{transform:translateY(-1px);box-shadow:0 0 26px rgba(246,189,74,.18)}}


/* ===== v4 출시형 UX ===== */
.top-utility{display:flex;align-items:center;justify-content:space-between;gap:10px}.profile-mini{display:flex;align-items:center;gap:7px;padding:6px 8px 6px 5px;border-radius:999px;background:rgba(9,29,59,.7);border:1px solid rgba(94,183,255,.16);color:#fff;text-decoration:none}.profile-mini img{width:30px;height:30px;object-fit:contain;border-radius:50%;background:rgba(46,129,214,.14)}.profile-mini span{display:flex;flex-direction:column;line-height:1.05}.profile-mini small{font-size:5.5px;letter-spacing:1.1px;color:#6dcfff}.profile-mini b{font-size:8px;max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-mini i{font-style:normal;color:#76a7cb}.season-card{margin-top:12px}.season-head{display:flex;justify-content:space-between;align-items:flex-start}.season-head h2{font-size:17px;margin:4px 0 2px}.season-head small{font-size:8px;color:#8399b2}.season-head>a{font-size:8px;color:#ffd06c;text-decoration:none}.gold-text{color:#f5c65d!important}.season-track{position:relative;height:7px;margin-top:16px;border-radius:99px;background:rgba(255,255,255,.07);overflow:visible}.season-track>i{display:block;height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,#31baff,#f4bf4f);box-shadow:0 0 16px rgba(73,193,255,.25)}.season-track>span{position:absolute;top:50%;left:0;width:15px;height:15px;transform:translate(-50%,-50%);border-radius:50%;background:#ffe08a;border:3px solid #725815;box-shadow:0 0 15px rgba(255,208,94,.5)}.season-meta{display:flex;justify-content:space-between;margin-top:8px;font-size:8px}.season-meta b{color:#fff}.season-meta span{color:#7890a8}.reward-ready{margin-top:13px;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:11px;border-radius:14px;background:linear-gradient(90deg,rgba(61,109,174,.12),rgba(134,89,27,.09));border:1px solid rgba(246,189,74,.12);text-decoration:none;color:#fff}.reward-ready>span{font-size:22px}.reward-ready div{display:flex;flex-direction:column}.reward-ready b{font-size:10px}.reward-ready small{font-size:7px;color:#7f94ac}.reward-ready i{font-style:normal;color:#d4ad5d}.reward-ready.hot{border-color:rgba(246,189,74,.38);box-shadow:0 0 24px rgba(246,189,74,.1);animation:rewardReady 1.3s ease-in-out infinite}.reward-duo{display:grid;grid-template-columns:1.25fr .75fr;gap:8px;margin-top:10px}.reward-duo .daily-reward{margin-top:0;min-height:62px}.daily-reward.chest{background:linear-gradient(145deg,rgba(83,72,170,.18),rgba(16,60,104,.19));border-color:rgba(132,118,255,.18)}.quick-card.featured{border-color:rgba(57,210,255,.26);box-shadow:inset 0 0 20px rgba(48,166,231,.04)}
.onboard{position:fixed;inset:0;z-index:9000;background:rgba(0,5,17,.88);backdrop-filter:blur(16px);display:none;align-items:flex-end;justify-content:center}.onboard.show{display:flex}.onboard-card{width:min(100%,560px);min-height:590px;padding:17px 22px calc(25px + var(--safe-b));border-radius:30px 30px 0 0;background:linear-gradient(180deg,#0b2347,#040e20);border:1px solid rgba(83,176,255,.2);position:relative}.onboard-skip{display:block;margin-left:auto;border:0;background:transparent;color:#8197b0;padding:8px;font-size:9px}.onboard-pages{min-height:440px}.onboard-page{display:none;text-align:center;padding:15px 8px}.onboard-page.active{display:block;animation:obIn .35s ease}.onboard-art{height:245px;display:grid;place-items:center;position:relative}.onboard-art:before{content:"";position:absolute;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(43,157,255,.28),transparent 67%);border:1px solid rgba(73,189,255,.2)}.onboard-art img{width:210px;height:210px;object-fit:contain;position:relative;filter:drop-shadow(0 20px 22px rgba(0,0,0,.45))}.onboard-page>span{font-size:8px;color:#55d4ff;letter-spacing:1.7px;font-weight:900}.onboard-page h2{font-size:25px;letter-spacing:-1px;margin:8px 0}.onboard-page p{font-size:11px;line-height:1.7;color:#8ea4bc;margin:0 auto;max-width:340px}.onboard-icons{height:245px;display:flex;align-items:center;justify-content:center;gap:18px}.onboard-icons i{font-style:normal;font-size:38px;width:82px;height:82px;display:grid;place-items:center;border-radius:27px;background:rgba(25,91,161,.16);border:1px solid rgba(86,186,255,.17);box-shadow:0 14px 32px rgba(0,0,0,.25)}.onboard-dots{display:flex;justify-content:center;gap:6px;margin:2px 0 15px}.onboard-dots i{width:6px;height:6px;border-radius:99px;background:#314764}.onboard-dots i.active{width:18px;background:#50d7ff}@keyframes obIn{from{opacity:0;transform:translateX(15px)}to{opacity:1;transform:none}}
.pass-hero{margin-top:8px;display:flex;align-items:center;justify-content:space-between}.pass-hero>div:first-child{display:flex;flex-direction:column}.pass-hero span{font-size:7px;color:#e7bd62;letter-spacing:1.4px}.pass-hero b{font-size:24px;margin:5px 0}.pass-hero small{font-size:9px;color:#8298af}.pass-orb{font-size:42px;width:78px;height:78px;display:grid;place-items:center;border-radius:25px;background:radial-gradient(circle,rgba(246,189,74,.22),rgba(78,54,13,.06));border:1px solid rgba(246,189,74,.2)}.pass-track-wrap{margin:18px 2px}.pass-track{height:8px;border-radius:99px;background:rgba(255,255,255,.07);overflow:hidden}.pass-track i{display:block;height:100%;background:linear-gradient(90deg,#38d7ff,#f6bd4a)}.pass-label{display:flex;justify-content:space-between;margin-top:6px;color:#607994;font-size:7px}.tier-list{display:grid;gap:8px}.tier-card{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;padding:12px;border-radius:16px;background:rgba(8,25,51,.72);border:1px solid rgba(255,255,255,.05);opacity:.55}.tier-card.unlocked{opacity:1;border-color:rgba(89,183,255,.15)}.tier-card.claimed{border-color:rgba(39,223,173,.18);background:rgba(18,64,72,.25)}.tier-no{display:flex;flex-direction:column;text-align:center}.tier-no small{font-size:5px;color:#627994}.tier-no b{font-size:16px}.tier-reward{display:flex;align-items:center;gap:9px}.tier-reward>span{font-size:25px}.tier-reward div{display:flex;flex-direction:column}.tier-reward b{font-size:10px}.tier-reward small{font-size:7px;color:#768ba3}.tier-card button{border:0;border-radius:10px;padding:8px 11px;background:linear-gradient(135deg,#ffc957,#d99529);color:#201603;font-size:8px;font-weight:950}.tier-state{font-style:normal;font-size:7px;color:#647b94}.tier-state.done{color:#55dfb3}.legal-note{text-align:center;font-size:7px;color:#536a83;line-height:1.5;margin:18px 0}
.profile-hero{margin-top:8px}.avatar-select{display:flex;justify-content:center;gap:9px;margin-bottom:13px}.avatar-select button{width:76px;height:76px;border-radius:22px;border:1px solid rgba(79,164,247,.12);background:rgba(18,62,112,.12);padding:4px;opacity:.55}.avatar-select button.active{opacity:1;border-color:#52d9ff;box-shadow:0 0 22px rgba(66,199,255,.16)}.avatar-select img{width:100%;height:100%;object-fit:contain}.profile-hero label{display:block;font-size:8px;color:#7990a8;margin-top:10px}.profile-hero input,.profile-hero select,.server-setup input{width:100%;margin-top:6px;border:1px solid rgba(87,178,255,.15);border-radius:12px;background:#071b36;color:#fff;padding:12px;font-size:10px;outline:none}.settings-list{margin-top:12px}.setting-row{display:flex;justify-content:space-between;align-items:center;padding:11px 2px;border-bottom:1px solid rgba(255,255,255,.045)}.setting-row>span{display:grid;grid-template-columns:28px auto;grid-template-rows:auto auto;align-items:center;font-size:18px}.setting-row b{font-size:10px}.setting-row small{grid-column:2;font-size:7px;color:#71879e}.switch input{display:none}.switch i{display:block;width:40px;height:23px;border-radius:99px;background:#263a51;position:relative}.switch i:after{content:"";position:absolute;width:17px;height:17px;border-radius:50%;background:#fff;left:3px;top:3px;transition:.2s}.switch input:checked+i{background:#1eaece}.switch input:checked+i:after{transform:translateX(17px)}.setting-action{width:100%;margin-top:12px;border:1px solid rgba(82,177,255,.13);border-radius:12px;background:rgba(45,129,203,.08);color:#9fdcff;padding:11px;font-size:8px;font-weight:850}.privacy-center,.server-setup{margin-top:12px}.privacy-center h2,.server-setup h2{font-size:15px;margin:5px 0 12px}.privacy-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.privacy-grid div{padding:10px;border-radius:13px;background:rgba(2,13,31,.35);display:grid;grid-template-columns:25px 1fr;grid-template-rows:auto auto;font-size:15px}.privacy-grid b{font-size:9px}.privacy-grid small{grid-column:2;color:#6e859e;font-size:6.5px}.server-setup p{font-size:8px;color:#768ca4;line-height:1.5}.server-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.server-buttons button{border:1px solid rgba(78,185,255,.16);border-radius:10px;background:rgba(34,111,181,.12);color:#98ddff;padding:10px;font-size:8px;font-weight:900}.server-setup>small{display:block;margin-top:8px;font-size:7px;color:#70869f;line-height:1.5}
.live-map{height:430px;margin-top:8px;padding:0;position:relative;overflow:hidden;background:radial-gradient(circle at 65% 28%,rgba(28,109,160,.18),transparent 30%),linear-gradient(155deg,#07192e,#061022)}.map-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(94,168,220,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(94,168,220,.035) 1px,transparent 1px);background-size:28px 28px}.map-road{position:absolute;background:rgba(44,85,123,.24);border:1px solid rgba(79,137,181,.07);border-radius:99px}.r-a{width:650px;height:42px;left:-90px;top:190px;transform:rotate(-12deg)}.r-b{width:420px;height:30px;left:40px;top:75px;transform:rotate(63deg)}.r-c{width:330px;height:26px;left:145px;top:310px;transform:rotate(7deg)}.map-building{position:absolute;padding:10px 14px;border-radius:10px;background:rgba(27,55,82,.85);border:1px solid rgba(88,152,203,.12);font-size:7px;color:#6486a2}.b1{left:13%;top:20%}.b2{right:13%;top:30%}.b3{left:43%;bottom:10%}.map-spot{position:absolute;width:25px;height:25px;transform:translate(-50%,-50%);border-radius:50%;border:1px solid rgba(77,208,255,.55);background:#0a3155;color:#65dfff;font-size:8px;font-weight:950;box-shadow:0 0 12px rgba(42,193,255,.18);z-index:3}.map-spot.found{background:#244a2f;border-color:rgba(55,223,173,.7);font-size:12px}.me-dot{position:absolute;z-index:7;width:16px;height:16px;border-radius:50%;background:#fff;border:4px solid #27baff;transform:translate(-50%,-50%);box-shadow:0 0 0 8px rgba(39,186,255,.12),0 0 22px #19a7ff}.me-dot i{position:absolute;inset:-12px;border:1px solid rgba(71,209,255,.28);border-radius:50%;animation:pulseRing 1.8s infinite}.me-dot span{position:absolute;top:16px;left:50%;transform:translateX(-50%);font-size:6px;background:#08315a;padding:2px 5px;border-radius:6px;white-space:nowrap}.map-scan{position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(52,207,255,.05) 50%,transparent 55%);animation:mapScan 4s linear infinite;pointer-events:none}@keyframes mapScan{from{transform:translateY(-50%)}to{transform:translateY(50%)}}.map-legend{position:absolute;left:10px;bottom:10px;display:flex;gap:9px;padding:7px 9px;border-radius:10px;background:rgba(3,13,27,.76);font-size:6px;color:#7992ab}.map-legend span{display:flex;align-items:center;gap:4px}.legend-dot{width:7px;height:7px;border-radius:50%;background:#49d4ff}.legend-dot.me{background:#fff;border:2px solid #27baff}.legend-dot.found{background:#35dfa9}.nearby-card{margin-top:12px;position:relative;z-index:1;background-color:#0b1f3d}.nearby-main{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;margin:9px 0 12px}.nearby-main>span{font-size:26px;text-align:center}.nearby-main div{display:flex;flex-direction:column}.nearby-main b{font-size:10px}.nearby-main small{font-size:7px;color:#778da6}.nearby-main strong{font-size:18px;color:#55d7ff}.reduced-motion *{animation:none!important;transition:none!important}
@media(max-width:390px){.reward-duo{grid-template-columns:1fr}.live-map{height:385px}.onboard-card{min-height:560px}.onboard-art,.onboard-icons{height:220px}
  :root{--card-safe-x:17px;--card-safe-y:17px}
  body.app-body .page-shell{padding-left:17px!important;padding-right:17px!important}
  body.app-body .page-top{grid-template-columns:44px minmax(0,1fr) auto!important;gap:11px!important}
  body.app-body .back-btn,body.app-body .icon-btn{width:44px!important;height:44px!important}
  body.app-body .tier-card{grid-template-columns:42px minmax(0,1fr) auto!important;padding:14px 12px!important;gap:9px!important}
  body.app-body .rank-row{grid-template-columns:42px minmax(0,1fr) auto!important;padding:14px 13px!important;gap:9px!important}
  body.app-body .avatar-select{gap:8px!important}
  body.app-body .avatar-select button{width:72px!important;height:72px!important}

  body.app-body .back-btn,
  body.app-body .icon-btn,
  body.app-body .sub-header>a.back-btn{width:44px!important;height:44px!important;min-width:44px!important}
  body.app-body .back-btn::before,
  body.app-body .icon-btn::before,
  body.app-body .sub-header>a.back-btn::before{width:24px;height:24px}
  body.app-body .collection-hero{grid-template-columns:minmax(0,1fr) 84px!important;gap:14px!important}
  body.app-body .mini-ring{width:82px!important;height:82px!important;min-width:82px!important}
  body.app-body .mini-ring b{top:18px!important;font-size:26px!important}
  body.app-body .mini-ring small{top:49px!important;font-size:9.5px!important}
  body.app-body .crew{padding-left:7px!important;padding-right:7px!important;gap:5px!important}
  body.app-body .crew img{width:34px!important;height:42px!important}
  body.app-body .crew small{font-size:8.8px!important;line-height:1.35!important}

 body.app-body .premium-card{padding:18px!important}
 body.app-body .premium-card.compact{padding:16px!important}
 body.app-body .collection-hero{grid-template-columns:minmax(0,1fr) 90px!important;gap:12px!important}
 body.app-body .mini-ring{width:86px!important;height:86px!important}
 body.app-body .collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.app-body .collection-item{padding:15px!important;min-height:174px!important}
 body.app-body .profile-character .avatar-select button{min-height:145px!important;padding:10px 5px!important}
 body.app-body .profile-character .avatar-select img{width:66px!important;height:66px!important}
 body.app-body .rank-row{padding:14px!important}

  :root{--v13-frame-pad:18px;--v13-item-gap:12px}
  body.app-body .page-shell{padding-left:14px!important;padding-right:14px!important}
  body.app-body .page-top{gap:11px!important;margin-bottom:20px!important}
  body.app-body .collection-hero{grid-template-columns:minmax(0,1fr) 88px!important;gap:14px!important;padding:18px!important}
  body.app-body .collection-hero h2{font-size:20px!important}
  body.app-body .mini-ring{width:84px!important;height:84px!important;min-width:84px!important}
  body.app-body .mini-ring b{top:41%!important;font-size:24px!important}
  body.app-body .mini-ring small{top:66%!important;font-size:11px!important}
  body.app-body .collection-item{padding:18px!important;min-height:184px!important}
  body.app-body .collection-item .collection-state{top:17px!important;left:18px!important}
  body.app-body .collection-item .collection-no{top:17px!important;right:18px!important}
  body.app-body .rank-row{padding:18px!important;grid-template-columns:38px minmax(0,1fr) auto!important;gap:10px!important}
  body.app-body .rank-row>strong{margin-left:2px!important}
  body.app-body .profile-character,body.app-body .profile-fields{padding:18px!important;margin-bottom:22px!important}
  body.app-body .profile-character .avatar-select{gap:8px!important}
  body.app-body .profile-character .avatar-select button{min-height:158px!important;padding:12px 6px!important}
  body.app-body .profile-character .avatar-select img{width:66px!important;height:66px!important}
  body.app-body .settings-list{padding:16px 18px!important}
  body.app-body .setting-row{grid-template-columns:44px minmax(0,1fr) auto!important;gap:12px!important;padding:16px 2px!important}
  body.app-body .setting-icon{width:44px!important;height:44px!important}
  body.app-body .tier-card{grid-template-columns:50px minmax(0,1fr) 60px!important;padding:18px!important;gap:12px!important}
  body.app-body .tier-reward{gap:10px!important}
  body.app-body .tier-reward>span{min-width:44px!important;width:44px!important;font-size:30px!important}

 :root{--v14-card-pad:20px;--v14-card-gap:14px;--v14-section-gap:24px}
 .expedition-hero{grid-template-columns:minmax(0,1fr) 82px;gap:14px}.hq-emblem{width:80px;height:80px;border-radius:24px}.hq-emblem .ui-svg{width:36px;height:36px}
 .live-stat-row{gap:7px}.live-stat{padding:13px 5px}.live-stat b{font-size:14px}
 .quest-line{grid-template-columns:44px minmax(0,1fr) auto;gap:10px;padding:14px}.quest-line .icon-orb{width:44px;height:44px}
 .chest-panel{grid-template-columns:56px minmax(0,1fr);gap:12px}.chest-panel .chest-orb{width:56px;height:56px}.chest-open{grid-column:1/-1;width:100%}
 .growth-card{grid-template-columns:58px minmax(0,1fr) 45px;gap:11px;padding:15px}.growth-avatar{width:58px;height:58px}.growth-avatar img{width:55px;height:55px}
 .rare-grid{gap:7px}.rare-card{padding:12px 6px}.rare-card img{width:55px;height:55px}.rare-card b{font-size:10px}.rare-card small{font-size:8px}
 .cosmetic-row{gap:8px}.cosmetic-slot{min-height:108px;padding:12px 7px}.invite-card{align-items:flex-start;flex-wrap:wrap}.invite-btn{width:100%}

  :root{--v15-icon-box:48px;--v15-icon-size:23px;--v15-tile-pad-x:15px}
  body.app-body .settings-list{padding:18px 18px!important}
  body.app-body .setting-row{grid-template-columns:48px minmax(0,1fr) auto!important;gap:13px!important}
  body.app-body .setting-icon{width:48px!important;height:48px!important}
  body.app-body .privacy-grid>.info-tile,
  body.app-body .device-grid>.info-tile{
    grid-template-columns:42px minmax(0,1fr)!important;
    column-gap:11px!important;padding:15px!important;min-height:122px!important;
  }
  body.app-body .info-tile-icon{width:42px!important;height:42px!important}
  body.app-body .info-tile-copy b{font-size:12.5px!important}
  body.app-body .info-tile-copy small{font-size:11px!important}
  body.app-body .daily-reward{grid-template-columns:44px minmax(0,1fr)!important;padding:14px!important;column-gap:11px!important}
  body.app-body .daily-reward>.icon-orb{width:44px!important;height:44px!important}
}


/* ===== v5 commercial polish ===== */
.install-card{position:relative;margin-top:12px;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;border-color:rgba(69,211,255,.2);background:linear-gradient(135deg,rgba(12,57,101,.88),rgba(7,23,50,.9))}.install-card[hidden]{display:none}.install-card h2{font-size:14px;margin:4px 0}.install-card p{font-size:7.5px;color:#7893ad;margin:0}.install-card>button:not(.install-close){border:0;border-radius:12px;background:linear-gradient(135deg,#50ddff,#338cff);color:#031226;font-weight:950;font-size:9px;padding:11px 14px;box-shadow:0 8px 22px rgba(38,155,255,.18)}.install-close{position:absolute;right:5px;top:3px;border:0;background:transparent;color:#6d859d;font-size:17px}
.ar-sound{position:absolute;right:58px;top:0;width:39px;height:39px;border-radius:50%;border:1px solid rgba(255,255,255,.14);background:rgba(2,12,28,.48);backdrop-filter:blur(10px);color:#72dcff;font-size:17px;font-weight:900;z-index:2}.ar-sound.muted{color:#667487}
.target-wrap{--target-x:0px;--target-scale:1;--target-depth:.5;transform:translate(calc(-50% + var(--target-x)), -50%) scale(var(--target-scale))!important;transform-origin:50% 86%;transition:opacity .18s ease,filter .25s ease}.target-wrap.visible{filter:drop-shadow(0 14px 24px rgba(0,0,0,.45))}.target-wrap.spawn{animation:arSpawn .72s cubic-bezier(.15,.85,.24,1.15)}.world-anchor{position:absolute;left:50%;bottom:-2%;width:138px;height:56px;transform:translateX(-50%);pointer-events:none;z-index:-1}.ground-shadow{position:absolute;left:50%;bottom:5px;width:92px;height:19px;transform:translateX(-50%) scale(var(--shadow-scale,.86));border-radius:50%;background:radial-gradient(ellipse,rgba(0,0,0,.62),rgba(0,0,0,.05) 66%,transparent 72%);filter:blur(2px)}.anchor-ring{position:absolute;left:50%;bottom:0;border:1px solid rgba(58,225,255,.38);border-radius:50%;transform:translateX(-50%) rotateX(67deg);box-shadow:0 0 16px rgba(58,225,255,.12)}.anchor-ring.a1{width:110px;height:44px;animation:anchorPulse 1.6s ease-in-out infinite}.anchor-ring.a2{width:78px;height:31px;bottom:7px;animation:anchorPulse 1.6s .35s ease-in-out infinite}.target-wrap.visible img{animation:characterHover 2.2s ease-in-out infinite}.target-wrap.visible .target-glow{opacity:calc(.45 + var(--target-depth)*.45)}
@keyframes arSpawn{0%{opacity:0;transform:translate(calc(-50% + var(--target-x)),-40%) scale(.25);filter:brightness(2.5) blur(6px)}55%{opacity:1;transform:translate(calc(-50% + var(--target-x)),-53%) scale(var(--target-scale));filter:brightness(1.5) blur(0)}100%{transform:translate(calc(-50% + var(--target-x)),-50%) scale(var(--target-scale));filter:none}}@keyframes anchorPulse{0%,100%{opacity:.28;transform:translateX(-50%) rotateX(67deg) scale(.86)}50%{opacity:.78;transform:translateX(-50%) rotateX(67deg) scale(1.08)}}@keyframes characterHover{0%,100%{translate:0 0}50%{translate:0 -5px}}
.reward-reveal{position:fixed;inset:0;z-index:9500;display:none;place-items:center;background:rgba(0,5,18,.86);backdrop-filter:blur(12px);padding:22px}.reward-reveal.show{display:grid}.reward-reveal-card{position:relative;width:min(340px,92vw);overflow:hidden;text-align:center;padding:34px 22px 24px;border-radius:27px;background:linear-gradient(180deg,#112d56,#06142b);border:1px solid rgba(247,194,80,.35);box-shadow:0 30px 80px rgba(0,0,0,.45),0 0 45px rgba(247,190,66,.12);animation:rewardPop .55s cubic-bezier(.15,.9,.24,1.12)}.reward-rays{position:absolute;left:50%;top:42%;width:360px;height:360px;transform:translate(-50%,-50%);background:repeating-conic-gradient(from 0deg,rgba(255,210,91,.09) 0 7deg,transparent 7deg 19deg);animation:rewardSpin 12s linear infinite}.reward-top,.reward-big,.reward-reveal-card h2,.reward-reveal-card p,.reward-reveal-card button{position:relative}.reward-top{font-size:8px;color:#ffd36c;letter-spacing:2px;font-weight:950}.reward-big{font-size:76px;margin:16px 0 3px;filter:drop-shadow(0 8px 20px rgba(255,192,53,.3));animation:rewardFloat 1.5s ease-in-out infinite}.reward-reveal-card h2{font-size:21px;margin:5px}.reward-reveal-card p{font-size:9px;color:#90a4ba}.reward-reveal-card button{width:100%;border:0;border-radius:13px;padding:12px;background:linear-gradient(135deg,#ffcf61,#dc982a);color:#2a1902;font-size:9px;font-weight:950;margin-top:12px}@keyframes rewardPop{from{opacity:0;transform:scale(.72) translateY(30px)}to{opacity:1;transform:none}}@keyframes rewardSpin{to{transform:translate(-50%,-50%) rotate(360deg)}}@keyframes rewardFloat{50%{transform:translateY(-7px) scale(1.04)}}
.device-check{margin-top:12px}.device-check h2{font-size:15px;margin:5px 0 11px}.device-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.device-state{display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto;padding:10px;border-radius:13px;background:rgba(3,15,34,.45);border:1px solid rgba(255,255,255,.05)}.device-state span{grid-row:1/3;font-size:19px}.device-state b{font-size:8px}.device-state small{font-size:6.5px;color:#768ca3}.device-state.ok{border-color:rgba(52,221,173,.15)}.device-state.ok small{color:#55d9b5}.device-state.warn{border-color:rgba(255,188,71,.17)}
@media(max-width:420px){.app-shell{max-width:100%;}.hero-panel{border-radius:0 0 25px 25px}.premium-card{border-radius:18px}.primary-cta{min-height:58px}.quick-grid{gap:8px}.quick-card{min-height:88px}.bottom-nav{height:70px;padding-bottom:max(7px,var(--safe-b))}.ar-topbar{top:max(10px,var(--safe-t))}.quest-chip{top:64px}.signal-panel{top:103px}.target-wrap{top:53%}}
@media(min-width:700px){.app-shell{max-width:520px;margin:auto}.bottom-nav{max-width:520px;left:50%;transform:translateX(-50%);border-left:1px solid rgba(255,255,255,.05);border-right:1px solid rgba(255,255,255,.05)}}

/* v5.1 AR clarity: preserve the camera image and place contrast only behind HUD controls */
.ar-body #cameraVideo{filter:none!important;opacity:1!important}
.ar-topbar,.quest-chip,.signal-panel,.status-banner,.accuracy-chip,.edge-arrow,.target-label{isolation:isolate}
.ar-exit,.ar-progress,.ar-sound,.quest-chip,.signal-panel,.status-banner,.accuracy-chip,.target-label{box-shadow:0 3px 16px rgba(0,0,0,.18);text-shadow:0 1px 3px rgba(0,0,0,.45)}
.ar-privacy-badge{position:fixed;z-index:32;top:calc(70px + var(--safe-t));left:50%;transform:translate(-50%,-8px) scale(.96);display:flex;align-items:center;gap:6px;max-width:calc(100vw - 32px);padding:7px 11px;border-radius:999px;background:rgba(2,12,25,.64);border:1px solid rgba(99,229,196,.28);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);color:#c8fff1;font-size:9px;letter-spacing:.1px;opacity:0;pointer-events:none;white-space:nowrap;box-shadow:0 5px 18px rgba(0,0,0,.18);transition:opacity .28s ease,transform .28s ease}
.ar-privacy-badge span{font-size:11px}.ar-privacy-badge b{font-weight:750}.ar-privacy-badge.show{opacity:1;transform:translate(-50%,0) scale(1)}.ar-privacy-badge.show.hide{opacity:0;transform:translate(-50%,-5px) scale(.98)}
@media (max-height:700px){.ar-privacy-badge{top:calc(62px + var(--safe-t))}}

/* v5.2 AR camera-clear hotfix
   Mobile regression fix: .signal-panel inherited bottom while @media added top,
   stretching the fixed element across most of the camera viewport. */
@media (max-width:420px){
  .ar-body .signal-panel{
    top:auto!important;
    bottom:calc(28px + var(--safe-b))!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    width:min(78vw,310px)!important;
    padding:8px 11px!important;
    border-radius:14px!important;
    background:rgba(3,14,32,.54)!important;
    -webkit-backdrop-filter:blur(7px)!important;
    backdrop-filter:blur(7px)!important;
  }
  .ar-body .status-banner{
    bottom:calc(78px + var(--safe-b))!important;
  }
  .ar-body .accuracy-chip{
    bottom:calc(78px + var(--safe-b))!important;
  }
  .ar-body .target-reticle{
    opacity:.32!important;
  }
}

/* v6 stability */
.bottom-nav{overflow:hidden;contain:layout paint;overscroll-behavior:none}.bottom-nav *{backface-visibility:hidden}.kakao-map{height:360px;border-radius:22px;overflow:hidden;background:#07172f;position:relative}.kakao-map-status{position:absolute;z-index:4;left:12px;right:12px;top:12px;padding:10px 12px;border:1px solid rgba(92,179,255,.22);border-radius:14px;background:rgba(4,18,39,.88);font-size:10px;color:#a8bdd5;backdrop-filter:blur(10px)}.kakao-map-status b{display:block;color:#fff;font-size:12px;margin-bottom:3px}.map-retry-btn{display:block;margin-top:10px;border:1px solid rgba(87,178,255,.35);border-radius:10px;background:rgba(34,111,181,.22);color:#98ddff;padding:9px 16px;font-size:11px;font-weight:900;font-family:inherit;width:100%}.kakao-map-actions{display:flex;gap:8px;margin-top:10px}.kakao-map-actions a,.kakao-map-actions button{flex:1;border:1px solid rgba(92,179,255,.22);background:rgba(14,49,88,.72);color:#bce9ff;border-radius:12px;padding:10px;text-decoration:none;text-align:center;font:inherit;font-weight:800}.map-marker-label{padding:5px 8px;border-radius:10px;background:#07172f;color:#fff;border:1px solid rgba(64,184,255,.45);font-size:10px;white-space:nowrap;box-shadow:0 6px 20px rgba(0,0,0,.28)}.perm-gate.camera-ready{background:rgba(0,0,0,.24);backdrop-filter:blur(2px)}.perm-gate.camera-ready .perm-card{background:rgba(4,18,39,.84);backdrop-filter:blur(16px)}


/* ===== v7 bright commercial UI / collection navigation hardening ===== */
:root{--v7-bg:#f4f9ff;--v7-panel:#ffffff;--v7-ink:#10223c;--v7-muted:#687b94;--v7-line:#dbe8f5;--v7-blue:#2878ff;--v7-cyan:#16b7d9;--v7-violet:#725cf7}
body.app-body{background:linear-gradient(180deg,#eaf5ff 0,#f8fbff 32%,#f4f8fd 100%);color:var(--v7-ink)}
body.app-body:before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 85% 3%,rgba(60,164,255,.16),transparent 24%),radial-gradient(circle at 4% 24%,rgba(118,92,247,.08),transparent 22%);z-index:-1}
body.app-body .section-kicker,body.app-body .eyebrow{color:#3985d8}
body.app-body .premium-card{background:rgba(255,255,255,.88);border-color:rgba(92,144,197,.18);box-shadow:0 16px 42px rgba(39,79,124,.09),inset 0 1px rgba(255,255,255,.9);backdrop-filter:blur(18px)}
body.app-body .premium-card p,body.app-body .collection-item small,body.app-body .quick-card small,body.app-body .crew small{color:var(--v7-muted)}
body.app-body .page-top h1,body.app-body .section-head h2,body.app-body .collection-item b{color:var(--v7-ink)}
body.app-body .icon-btn,body.app-body .back-btn{background:#fff;border-color:var(--v7-line);color:#3279c7;box-shadow:0 8px 20px rgba(38,87,137,.08)}
body.app-body .counter-pill,body.app-body .level-chip{background:#eaf5ff;border-color:#cfe7fb;color:#2b78c5}
body.app-body .collection-hero{background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(239,247,255,.92))}
body.app-body .mini-ring{background:conic-gradient(#2f8cff var(--p),#e5edf6 0)}
body.app-body .mini-ring:after,body.app-body .progress-ring:after{background:#fff}
body.app-body .mini-ring b,body.app-body .mini-ring small{color:var(--v7-ink)}
.collection-grid{gap:12px;margin-top:16px}
body.app-body .collection-item{min-height:166px;background:linear-gradient(155deg,#fff,#f4f9ff);border:1px solid #dce9f5;box-shadow:0 10px 26px rgba(31,78,124,.07);border-radius:24px;padding:16px;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
body.app-body .collection-item.unlocked:active{transform:scale(.985)}
body.app-body .collection-item.unlocked{border-color:#cfe3f7;box-shadow:0 13px 30px rgba(36,98,160,.09)}
body.app-body .collection-item.locked{opacity:.68;background:#f6f8fb}
body.app-body .collection-no{color:#9dafc2}
.modern-collection-icon{width:58px;height:58px;margin:8px 0 13px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,#eef7ff,#f7f3ff);box-shadow:inset 0 0 0 1px rgba(82,139,204,.10)}
.pp-icon{display:block;width:42px;height:42px}
.modern-detail-icon{width:72px;height:72px;margin:0 auto 14px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(145deg,#eef7ff,#f5f0ff)}
.modern-detail-icon .pp-icon{width:52px;height:52px}
body.app-body .sheet-dim{background:rgba(23,44,69,.35)}
body.app-body .sheet-card{background:linear-gradient(180deg,#fff,#f3f8fd);border-color:#d9e7f3;box-shadow:0 -24px 70px rgba(38,71,108,.22)}
body.app-body .sheet-handle{background:#c3d2e1}
body.app-body .item-detail>p{color:#61758d}
body.app-body .learning-box{background:#eef7ff;border-color:#d4eafd}
body.app-body .learning-box b{color:#277ac6}
body.app-body .learning-box p{color:#496179}
body.app-body .sheet-primary{background:linear-gradient(120deg,#3ac7e8,#3388ff 60%,#7b6df4);color:#fff;box-shadow:0 12px 26px rgba(49,126,224,.22)}
/* Five navigation items are always visible; no horizontal scroll, no minimum width inheritance. */
body.app-body .bottom-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;width:min(100%,560px)!important;height:calc(72px + var(--safe-b))!important;overflow:hidden!important;padding:7px 8px max(7px,var(--safe-b))!important;background:rgba(255,255,255,.94)!important;border-top:1px solid #dce8f4!important;box-shadow:0 -10px 28px rgba(41,78,115,.08)!important;backdrop-filter:blur(20px)!important;contain:layout paint!important}
body.app-body .bottom-nav a{min-width:0!important;width:auto!important;height:56px!important;color:#7890a9!important;background:transparent!important;overflow:visible!important;transform:none!important}
body.app-body .bottom-nav a span{width:28px!important;height:28px!important;color:inherit!important;font-size:20px!important;transform:none!important;animation:none!important}
body.app-body .bottom-nav a b{font-size:9px!important;color:inherit!important;transform:none!important;animation:none!important}
body.app-body .bottom-nav a.active{color:#2484db!important;background:linear-gradient(180deg,#eaf6ff,rgba(234,246,255,.2))!important}
body.app-body .quick-card,body.app-body .status-card,body.app-body .spot-row,body.app-body .rank-row{background:rgba(255,255,255,.80);border-color:#dce8f4;color:var(--v7-ink)}
body.app-body .hero-panel{background:linear-gradient(180deg,rgba(240,248,255,.72),rgba(230,243,255,.96)),radial-gradient(circle at 80% 20%,rgba(58,147,255,.18),transparent 35%);border-bottom-color:#d6e7f5}
body.app-body .brand-line{color:#4b86bd}body.app-body .go-logo{color:#112741}body.app-body .hero-sub{color:#557089}body.app-body .hero-sub b{color:#16324f}
body.app-body .privacy-pill{background:#eaf9f6;border-color:#cdeee6;color:#2c8875}
body.app-body .character-strip,body.app-body .status-card{color:var(--v7-ink)}
@media(max-width:360px){body.app-body .bottom-nav{padding-left:3px!important;padding-right:3px!important}body.app-body .bottom-nav a b{font-size:8px!important}.collection-item{padding:13px!important}.modern-collection-icon{width:52px;height:52px}.pp-icon{width:38px;height:38px}body.app-body .bottom-nav{padding-left:3px!important;padding-right:3px!important}body.app-body .bottom-nav a b{font-size:9px!important}body.app-body .bottom-nav{padding-left:3px!important;padding-right:3px!important}.bottom-nav a b{font-size:9px!important}}

/* ===== v8 balanced-dark accessibility / commercial readability =====
   Mid-tone theme between v6 dark and v7 bright. WCAG-oriented contrast,
   larger microcopy, stronger icon/card separation and fixed 5-item nav. */
:root{
  --v8-bg:#101e31;--v8-bg2:#152942;--v8-panel:#1a304a;--v8-panel2:#203a57;
  --v8-panel-soft:#27425f;--v8-text:#f7fbff;--v8-text2:#e4edf7;--v8-muted:#b5c5d7;
  --v8-dim:#91a7bd;--v8-line:rgba(143,190,232,.24);--v8-line-strong:rgba(104,196,255,.40);
  --v8-cyan:#65dcff;--v8-blue:#56a9ff;--v8-gold:#ffd369;--v8-green:#6ee5bf;
}
body.app-body{
  background:radial-gradient(circle at 88% 0,rgba(47,124,199,.24),transparent 28%),
             radial-gradient(circle at 0 36%,rgba(51,102,162,.16),transparent 32%),
             linear-gradient(180deg,var(--v8-bg2),var(--v8-bg) 42%,#0d1929 100%)!important;
  color:var(--v8-text)!important;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
body.app-body:before{background:radial-gradient(circle at 84% 2%,rgba(82,180,255,.10),transparent 23%),radial-gradient(circle at 5% 26%,rgba(132,110,255,.06),transparent 21%)!important}
body.app-body .page-top h1,body.app-body .section-head h2,body.app-body .collection-item b,
body.app-body .quick-card b,body.app-body .crew b,body.app-body .status-title b,
body.app-body .rank-user b,body.app-body .rank-row>strong,body.app-body .server-card b,
body.app-body .item-detail h2,body.app-body .mission-copy strong{color:var(--v8-text)!important}
body.app-body .section-kicker,body.app-body .eyebrow{color:var(--v8-cyan)!important;text-shadow:0 0 16px rgba(101,220,255,.12)}
body.app-body .premium-card{
  background:linear-gradient(155deg,rgba(32,58,87,.97),rgba(22,42,66,.98))!important;
  border-color:var(--v8-line)!important;box-shadow:0 14px 36px rgba(0,8,20,.22),inset 0 1px rgba(255,255,255,.045)!important;
}
body.app-body .premium-card p,body.app-body .collection-item small,body.app-body .quick-card small,
body.app-body .crew small,body.app-body .mission-copy p,body.app-body .collection-hero p,body.app-body .map-hero p,
body.app-body .item-detail>p{color:var(--v8-muted)!important}
body.app-body .icon-btn,body.app-body .back-btn{
  background:#1c3551!important;border-color:var(--v8-line-strong)!important;color:#bfeaff!important;
  box-shadow:0 7px 18px rgba(0,8,20,.22)!important;
}
body.app-body .counter-pill,body.app-body .level-chip{background:#214461!important;border-color:rgba(101,220,255,.32)!important;color:#b9edff!important}
body.app-body .collection-hero{background:linear-gradient(145deg,#203b59,#172c46)!important}
body.app-body .mini-ring,body.app-body .progress-ring{background:conic-gradient(var(--v8-blue) var(--p),rgba(188,216,241,.16) 0)!important}
body.app-body .mini-ring:after,body.app-body .progress-ring:after{background:#172b44!important}
body.app-body .mini-ring b,body.app-body .mini-ring small,body.app-body .progress-ring span{color:var(--v8-text)!important}
body.app-body .progress-ring small{color:var(--v8-muted)!important}
body.app-body .collection-item{
  background:linear-gradient(155deg,#203a57,#182d47)!important;border:1px solid var(--v8-line)!important;
  box-shadow:0 10px 24px rgba(0,8,20,.16)!important;color:var(--v8-text)!important;
}
body.app-body .collection-item.unlocked{border-color:rgba(98,190,255,.34)!important;box-shadow:0 11px 28px rgba(0,9,23,.20),inset 0 1px rgba(255,255,255,.035)!important}
body.app-body .collection-item.locked{opacity:.78!important;background:#182b43!important}
body.app-body .collection-no{color:#9bb3ca!important;font-size:10px!important}
.modern-collection-icon{background:linear-gradient(145deg,#2a4c6b,#263d62)!important;box-shadow:inset 0 0 0 1px rgba(129,203,255,.18),0 8px 20px rgba(0,0,0,.12)!important}
.modern-detail-icon{background:linear-gradient(145deg,#2a4c6b,#263d62)!important;box-shadow:inset 0 0 0 1px rgba(129,203,255,.18)!important}
body.app-body .sheet-dim{background:rgba(3,11,22,.62)!important}
body.app-body .sheet-card{background:linear-gradient(180deg,#203a56,#13263d)!important;border-color:var(--v8-line)!important;box-shadow:0 -24px 70px rgba(0,5,15,.46)!important}
body.app-body .sheet-handle{background:#7898b7!important}
body.app-body .learning-box{background:#203d59!important;border-color:rgba(101,220,255,.24)!important}
body.app-body .learning-box b{color:#82e3ff!important}body.app-body .learning-box p{color:#c3d3e2!important}
body.app-body .sheet-primary{background:linear-gradient(120deg,#58d4ee,#448fff 62%,#8276f8)!important;color:#07182b!important;box-shadow:0 12px 25px rgba(22,99,184,.30)!important}
body.app-body .quick-card,body.app-body .status-card,body.app-body .spot-row,body.app-body .rank-row,
body.app-body .team-row,body.app-body .server-card{
  background:linear-gradient(145deg,rgba(31,55,82,.98),rgba(23,43,67,.98))!important;
  border-color:var(--v8-line)!important;color:var(--v8-text)!important;
}
body.app-body .quick-card{box-shadow:0 8px 20px rgba(0,8,20,.12)!important}
body.app-body .qicon{box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}
body.app-body .status-chip{color:#b6c8d9!important;border-color:rgba(155,197,233,.18)!important;background:rgba(8,24,40,.26)!important}
body.app-body .status-chip.ok{color:#aaf1d9!important;border-color:rgba(110,229,191,.32)!important;background:rgba(42,133,106,.12)!important}
body.app-body .hero-panel{background:linear-gradient(180deg,rgba(27,52,80,.62),rgba(18,35,57,.96)),radial-gradient(circle at 80% 20%,rgba(65,159,255,.18),transparent 35%)!important;border-bottom-color:var(--v8-line)!important}
body.app-body .brand-line{color:#8fc8f3!important}body.app-body .go-logo{color:var(--v8-text)!important}body.app-body .hero-sub{color:#c1d1e1!important}body.app-body .hero-sub b{color:#fff!important}
body.app-body .privacy-pill{background:rgba(38,119,102,.19)!important;border-color:rgba(95,224,190,.28)!important;color:#9cebd5!important}
body.app-body .character-strip,body.app-body .status-card{color:var(--v8-text)!important}
body.app-body .crew{background:rgba(8,23,39,.30)!important;border-color:rgba(161,199,231,.14)!important}body.app-body .crew.active{background:rgba(135,102,28,.18)!important;border-color:rgba(255,211,105,.35)!important}
/* Ranking: remove washed-out white cards and maximize numeric/name legibility. */
body.app-body .rank-hero{background:radial-gradient(circle at 15% 50%,rgba(255,211,105,.12),transparent 28%),linear-gradient(145deg,#243f5c,#172c46)!important}
body.app-body .rank-hero span{color:#b8c8d8!important;font-size:9px!important}body.app-body .rank-hero b{color:var(--v8-gold)!important;font-size:25px!important}body.app-body .rank-hero small{color:#afc0d1!important;font-size:9px!important}
body.app-body .rank-tabs{border-bottom-color:rgba(157,197,231,.20)!important}body.app-body .rank-tabs button{color:#afc1d3!important;font-size:11px!important}body.app-body .rank-tabs button.active{color:#73ddff!important;border-bottom-color:#5bcaff!important}
body.app-body .rank-row{padding:14px 13px!important;border-radius:17px!important;min-height:72px}
body.app-body .rank-no{color:#a9bdd0!important;font-size:11px!important}.rank-user b{font-size:13px!important}.rank-user small{font-size:10px!important;color:#aebfd0!important;margin-top:3px!important}
body.app-body .rank-row>strong{font-size:14px!important;color:#f5f9ff!important}body.app-body .rank-row>strong small{font-size:9px!important;color:#71dcff!important}
body.app-body .rank-row.me{background:linear-gradient(120deg,rgba(39,112,165,.42),rgba(62,72,139,.30))!important;border-color:rgba(92,205,255,.50)!important}
body.app-body .rank-row.top1{border-color:rgba(255,211,105,.46)!important}body.app-body .rank-row.top2{border-color:rgba(205,224,242,.33)!important}body.app-body .rank-row.top3{border-color:rgba(224,145,86,.35)!important}
body.app-body .impact-card{border-top-color:rgba(157,197,231,.18)!important}body.app-body .impact-card span,body.app-body .impact-card small{color:#a9bdcf!important;font-size:9px!important}body.app-body .impact-card b{color:#6ee1ff!important}
body.app-body .server-card span{color:#72ddff!important;font-size:9px!important}body.app-body .server-card small{color:#a9bdcf!important;font-size:9px!important}body.app-body .server-card button{background:#244c6b!important;border-color:rgba(101,220,255,.30)!important;color:#c8efff!important;font-size:9px!important}
/* Map, battle, profile and utility microcopy */
body.app-body .spot-row small,body.app-body .team-row small,body.app-body .battle-info span,body.app-body .battle-info small,
body.app-body .profile-card small,body.app-body .settings-row small{color:#afc1d2!important}
body.app-body select,body.app-body input{background:#132b45!important;color:#f7fbff!important;border-color:rgba(105,196,255,.28)!important}
/* Bottom navigation: fixed geometry + dark translucent surface + high-contrast labels/icons. */
body.app-body .bottom-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;width:min(100%,560px)!important;height:calc(74px + var(--safe-b))!important;overflow:hidden!important;padding:7px 8px max(7px,var(--safe-b))!important;background:rgba(14,29,48,.96)!important;border-top:1px solid rgba(128,189,235,.24)!important;box-shadow:0 -10px 30px rgba(0,8,20,.28)!important;backdrop-filter:blur(22px)!important;contain:layout paint!important}
body.app-body .bottom-nav a{min-width:0!important;width:auto!important;height:58px!important;color:#9fb4c8!important;background:transparent!important;overflow:visible!important;transform:none!important}
body.app-body .bottom-nav a span{width:30px!important;height:30px!important;font-size:21px!important;color:inherit!important;filter:drop-shadow(0 1px 1px rgba(0,0,0,.18));transform:none!important;animation:none!important}
body.app-body .bottom-nav a b{font-size:10px!important;font-weight:800!important;color:inherit!important;transform:none!important;animation:none!important}
body.app-body .bottom-nav a.active{color:#72dcff!important;background:linear-gradient(180deg,rgba(58,158,222,.22),rgba(35,91,135,.06))!important;box-shadow:inset 0 1px rgba(117,219,255,.10)!important}
/* Raise formerly tiny UI text one step for real-device readability. */
body.app-body .collection-item small{font-size:10px!important;line-height:1.35}.collection-item b{font-size:14px!important}.collection-no{font-size:10px!important}
body.app-body .quick-card small,body.app-body .crew small{font-size:9px!important}.quick-card b{font-size:13px!important}.crew b{font-size:12px!important}
body.app-body .app-footer{color:#8198ae!important;font-size:10px!important}
body.app-body .xp-row{color:#a9bccf!important;font-size:10px!important}.xp-track{background:rgba(214,231,247,.13)!important}


/* ==========================================================
   JOPAMS GO v9 — ORIGINAL PREMIUM DARK TONE RESTORE
   Goal: match AR start screen tone across all non-camera pages,
   while keeping v7/v8 usability fixes (5-item nav, modern icons).
   ========================================================== */
:root{
  --v9-bg:#020919;--v9-bg2:#06142b;--v9-panel:#091d3a;--v9-panel2:#0d2446;
  --v9-line:rgba(92,179,255,.22);--v9-line-strong:rgba(92,190,255,.36);
  --v9-text:#f5f8ff;--v9-muted:#9aadc4;--v9-blue:#2faaff;--v9-cyan:#58d7ff;
  --v9-gold:#f6bd4a;--v9-green:#49dfb9;
}
html,body{background:#020919!important;color:var(--v9-text)!important}
body.app-body{
  background:radial-gradient(circle at 82% -8%,rgba(18,58,114,.82) 0,transparent 34%),
             radial-gradient(circle at 0 38%,rgba(5,42,82,.68) 0,transparent 31%),#020919!important;
  color:var(--v9-text)!important;
}
body.app-body:before{background:radial-gradient(circle at 82% 2%,rgba(36,167,255,.10),transparent 25%),radial-gradient(circle at 4% 29%,rgba(56,215,255,.045),transparent 23%)!important}

/* Typography: strong hierarchy and minimum contrast on real phones */
body.app-body h1,body.app-body h2,body.app-body h3,body.app-body strong,body.app-body b,
body.app-body .page-top h1,body.app-body .section-head h2,body.app-body .collection-item b,
body.app-body .quick-card b,body.app-body .crew b,body.app-body .status-title b,
body.app-body .rank-user b,body.app-body .rank-row>strong,body.app-body .server-card b,
body.app-body .item-detail h2,body.app-body .mission-copy strong{color:#f7f9ff!important}
body.app-body p,body.app-body small,body.app-body .muted,
body.app-body .premium-card p,body.app-body .collection-item small,body.app-body .quick-card small,
body.app-body .crew small,body.app-body .mission-copy p,body.app-body .collection-hero p,
body.app-body .map-hero p,body.app-body .item-detail>p{color:var(--v9-muted)!important}
body.app-body .section-kicker,body.app-body .eyebrow{color:var(--v9-cyan)!important;text-shadow:0 0 18px rgba(56,215,255,.12)!important}

/* Cards / panels — same family as AR permission/start card */
body.app-body .premium-card,
body.app-body .collection-hero,
body.app-body .rank-hero{
  background:linear-gradient(160deg,rgba(16,45,85,.96),rgba(5,17,38,.98))!important;
  border:1px solid rgba(70,159,255,.25)!important;
  box-shadow:0 18px 46px rgba(0,0,0,.27),inset 0 1px rgba(255,255,255,.035)!important;
}
body.app-body .quick-card,body.app-body .status-card,body.app-body .spot-row,
body.app-body .rank-row,body.app-body .team-row,body.app-body .server-card,
body.app-body .collection-item{
  background:linear-gradient(160deg,rgba(11,32,62,.94),rgba(5,17,37,.96))!important;
  border:1px solid rgba(72,153,235,.19)!important;
  color:var(--v9-text)!important;
  box-shadow:0 10px 26px rgba(0,0,0,.18)!important;
}
body.app-body .collection-item.unlocked{border-color:rgba(76,177,255,.30)!important;box-shadow:0 12px 28px rgba(0,0,0,.20),inset 0 0 28px rgba(25,116,221,.045)!important}
body.app-body .collection-item.locked{opacity:.68!important;background:linear-gradient(160deg,rgba(9,26,51,.91),rgba(4,15,32,.96))!important}
body.app-body .collection-no{color:#6685a5!important}

/* Modern collection pictograms retained, recolored for premium dark UI */
.modern-collection-icon,.modern-detail-icon{
  background:linear-gradient(145deg,rgba(28,72,111,.72),rgba(18,48,82,.86))!important;
  box-shadow:inset 0 0 0 1px rgba(93,202,255,.18),0 9px 22px rgba(0,0,0,.20)!important;
}
.modern-collection-icon svg,.modern-detail-icon svg{filter:drop-shadow(0 2px 5px rgba(0,0,0,.18))}

/* Ranking — high readability but no white/grey wash */
body.app-body .rank-hero{background:radial-gradient(circle at 14% 50%,rgba(246,189,74,.10),transparent 28%),linear-gradient(145deg,rgba(16,45,85,.97),rgba(5,17,38,.98))!important}
body.app-body .rank-hero span{color:#8fa5bc!important;font-size:10px!important;letter-spacing:1.5px!important}
body.app-body .rank-hero b{color:#ffd166!important;font-size:27px!important;text-shadow:0 0 18px rgba(246,189,74,.12)!important}
body.app-body .rank-hero small{color:#93a9bf!important;font-size:10px!important}
body.app-body .rank-tabs{border-bottom-color:rgba(81,157,230,.20)!important}
body.app-body .rank-tabs button{color:#8da5bd!important;font-size:12px!important;font-weight:750!important}
body.app-body .rank-tabs button.active{color:#65d7ff!important;border-bottom-color:#43c8ff!important}
body.app-body .rank-row{min-height:74px!important;padding:15px 14px!important;border-radius:18px!important}
body.app-body .rank-no{color:#91a8bf!important;font-size:12px!important}
body.app-body .rank-user b{font-size:14px!important}.rank-user small{font-size:10px!important;color:#91a6bc!important;margin-top:4px!important}
body.app-body .rank-row>strong{font-size:15px!important;color:#f7f9ff!important}.rank-row>strong small{font-size:9px!important;color:#62d6ff!important}
body.app-body .rank-row.me{background:linear-gradient(120deg,rgba(21,83,137,.58),rgba(39,53,111,.46))!important;border-color:rgba(76,196,255,.46)!important}
body.app-body .rank-row.top1{border-color:rgba(246,189,74,.40)!important}.rank-row.top2{border-color:rgba(170,199,226,.30)!important}.rank-row.top3{border-color:rgba(206,130,77,.33)!important}
body.app-body .impact-card span,body.app-body .impact-card small{color:#89a2ba!important;font-size:10px!important}
body.app-body .impact-card b{color:#67ddff!important}

/* Controls */
body.app-body .icon-btn,body.app-body .back-btn{
  background:rgba(11,42,79,.88)!important;border-color:rgba(65,165,255,.25)!important;
  color:#a7e4ff!important;box-shadow:0 8px 20px rgba(0,0,0,.20)!important;
}
body.app-body .counter-pill,body.app-body .level-chip{background:rgba(14,91,142,.32)!important;border-color:rgba(57,192,255,.27)!important;color:#7bd9ff!important}
body.app-body .sheet-dim{background:rgba(0,5,15,.74)!important}
body.app-body .sheet-card{background:linear-gradient(180deg,#0b2445,#06142b)!important;border-color:rgba(72,159,255,.25)!important;box-shadow:0 -22px 70px rgba(0,0,0,.52)!important}
body.app-body .sheet-handle{background:#315274!important}
body.app-body .learning-box{background:rgba(9,50,74,.56)!important;border-color:rgba(56,215,255,.20)!important}
body.app-body .learning-box b{color:#6de2ff!important}.learning-box p{color:#a8bed2!important}
body.app-body .sheet-primary,body.app-body .primary-cta{background:linear-gradient(120deg,#5ce1ff,#2d9cff 62%,#7b73ff)!important;color:#06142b!important;box-shadow:0 12px 28px rgba(28,133,255,.24)!important}
body.app-body select,body.app-body input{background:#071b35!important;color:#f7fbff!important;border-color:rgba(80,175,255,.28)!important}

/* Home/hero details */
body.app-body .hero-panel{background:linear-gradient(180deg,rgba(6,20,43,.20),rgba(6,20,43,.93)),radial-gradient(circle at 80% 20%,rgba(43,143,255,.27),transparent 34%)!important;border-bottom-color:rgba(68,157,255,.18)!important}
body.app-body .brand-line{color:#7ebee8!important}.go-logo{color:#f5f8ff!important}.go-logo em{color:#f6bd4a!important}.hero-sub{color:#c4d2e4!important}.hero-sub b{color:#fff!important}
body.app-body .privacy-pill{background:rgba(9,63,67,.35)!important;border-color:rgba(43,213,177,.20)!important;color:#91e6d4!important}
body.app-body .crew{background:rgba(0,0,0,.13)!important;border-color:rgba(255,255,255,.055)!important}.crew.active{background:rgba(111,79,18,.16)!important;border-color:rgba(246,189,74,.29)!important}
body.app-body .status-chip{color:#91a5bb!important;border-color:rgba(255,255,255,.08)!important;background:rgba(0,0,0,.12)!important}
body.app-body .status-chip.ok{color:#9ee5d5!important;border-color:rgba(39,223,173,.21)!important;background:rgba(39,223,173,.055)!important}

/* Rings */
body.app-body .mini-ring,body.app-body .progress-ring{background:conic-gradient(#24a7ff var(--p),rgba(255,255,255,.08) 0)!important}
body.app-body .mini-ring:after,body.app-body .progress-ring:after{background:#07172f!important}
body.app-body .mini-ring b,body.app-body .progress-ring span{color:#f7f9ff!important}
body.app-body .mini-ring small,body.app-body .progress-ring small{color:#94a7c0!important}

/* Fixed 5-item nav — keep geometry bug fix, restore original dark tone */
body.app-body .bottom-nav{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
  width:min(100%,560px)!important;height:calc(74px + var(--safe-b))!important;
  overflow:hidden!important;padding:7px 8px max(7px,var(--safe-b))!important;
  background:rgba(3,14,33,.965)!important;border-top:1px solid rgba(59,137,216,.18)!important;
  box-shadow:0 -10px 32px rgba(0,0,0,.32)!important;backdrop-filter:blur(22px)!important;contain:layout paint!important;
}
body.app-body .bottom-nav a{min-width:0!important;width:auto!important;height:58px!important;color:#7187a1!important;background:transparent!important;transform:none!important;animation:none!important}
body.app-body .bottom-nav a span{width:30px!important;height:30px!important;font-size:21px!important;color:inherit!important;transform:none!important;animation:none!important;filter:none!important}
body.app-body .bottom-nav a b{font-size:10px!important;font-weight:800!important;color:inherit!important;transform:none!important;animation:none!important}
body.app-body .bottom-nav a.active{color:#59cfff!important;background:linear-gradient(180deg,rgba(37,139,230,.15),transparent)!important;box-shadow:none!important}

/* Microcopy readability floor */
body.app-body .collection-item small{font-size:10px!important;line-height:1.45!important}.collection-item b{font-size:14px!important}.collection-no{font-size:10px!important}
body.app-body .quick-card small,body.app-body .crew small{font-size:9.5px!important;line-height:1.35!important}.quick-card b{font-size:13px!important}.crew b{font-size:12px!important}
body.app-body .app-footer{color:#607994!important;font-size:10px!important}.xp-row{color:#8ea4bb!important;font-size:10px!important}.xp-track{background:rgba(255,255,255,.08)!important}
body.app-body .spot-row small,body.app-body .team-row small,body.app-body .battle-info span,
body.app-body .battle-info small,body.app-body .profile-card small,body.app-body .settings-row small{color:#91a7bd!important}

/* AR camera itself must remain transparent/clear; only its chrome uses dark premium tone. */
body.ar-body,body.ar-body .ar-stage,body.ar-body .camera-stage{background:#000!important}



/* ===== v10 visual safe-area system / content breathing room =====
   Keep the v9 deep-navy tone while ensuring every visual/text element stays
   comfortably inside card borders on small mobile screens. */
:root{--card-safe-x:20px;--card-safe-y:19px;--card-safe-gap:12px}

/* Universal card safety: no child should visually touch a rounded border. */
body.app-body .premium-card{padding:var(--card-safe-y) var(--card-safe-x)!important;overflow:hidden!important}
body.app-body .premium-card.compact{padding:18px 20px!important}
body.app-body .mission-card{padding:21px 20px!important}
body.app-body .season-card{padding:19px 20px!important}
body.app-body .daily-card{padding:19px 20px!important}
body.app-body .character-strip{padding:18px 20px!important}
body.app-body .install-card{padding:18px 20px!important}

/* Page header safe area. */
body.app-body .page-shell{padding-left:20px!important;padding-right:20px!important}
body.app-body .page-top{grid-template-columns:48px minmax(0,1fr) auto!important;gap:14px!important;margin-bottom:20px!important;padding:0 2px!important}
body.app-body .back-btn,body.app-body .icon-btn{width:46px!important;height:46px!important;border-radius:14px!important;margin:0!important}
body.app-body .page-top>div:nth-child(2){min-width:0;padding:0 2px}
body.app-body .page-top h1{line-height:1.2!important;overflow-wrap:anywhere}
body.app-body .counter-pill{margin-left:2px;white-space:nowrap}

/* Home cards / copy spacing. */
body.app-body .section-head{gap:14px}
body.app-body .mission-progress{gap:18px!important;margin:20px 0!important}
body.app-body .mission-copy{padding-right:2px}
body.app-body .primary-cta{padding:16px 17px!important;gap:14px!important}
body.app-body .reward-ready{margin-top:14px!important;padding:13px 14px!important}
body.app-body .daily-list{margin-top:13px}
body.app-body .daily-item{padding:13px 12px!important;gap:11px!important}
body.app-body .quick-card{padding:16px 11px!important;min-height:96px}
body.app-body .crew-row{gap:10px!important}
body.app-body .crew{padding:9px 8px!important;gap:7px!important;overflow:hidden}
body.app-body .crew img{width:38px!important;height:44px!important;flex:0 0 auto}

/* Collection cards: modern icon, number, title and microcopy stay well inboard. */
body.app-body .collection-grid{gap:12px!important;margin-top:15px!important}
body.app-body .collection-item{padding:18px 17px 17px!important;min-height:168px!important;border-radius:21px!important;overflow:hidden!important}
body.app-body .collection-no{right:16px!important;top:14px!important}
body.app-body .modern-collection-icon{margin:13px 0 15px!important}
body.app-body .collection-item b,body.app-body .collection-item small{max-width:100%;overflow-wrap:break-word}
body.app-body .collection-hero{gap:18px!important}

/* Ranking: strong insets for medal, identity and score columns. */
body.app-body .rank-hero{padding:20px 21px!important;gap:18px!important}
body.app-body .rank-row{grid-template-columns:48px minmax(0,1fr) auto!important;gap:12px!important;padding:16px 17px!important;min-height:78px!important}
body.app-body .rank-row>strong{padding-left:5px;white-space:nowrap;text-align:right}
body.app-body .rank-user{min-width:0;padding:0 2px}
body.app-body .rank-user b,body.app-body .rank-user small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.app-body .rank-tabs button{padding:13px 8px!important}
body.app-body .impact-card{padding:20px 12px!important}
body.app-body .server-card{gap:14px!important}

/* Season pass: trophy and every reward tile get their own safe cells. */
body.app-body .pass-hero{padding:20px 21px!important;gap:18px!important}
body.app-body .pass-hero>div:first-child{min-width:0;padding-left:1px}
body.app-body .pass-orb{width:82px!important;height:82px!important;flex:0 0 82px;margin:0 1px 0 8px!important}
body.app-body .pass-track-wrap{margin:22px 4px!important}
body.app-body .tier-list{gap:10px!important}
body.app-body .tier-card{grid-template-columns:46px minmax(0,1fr) auto!important;gap:12px!important;padding:15px 15px!important;min-height:82px;border-radius:18px!important;overflow:hidden}
body.app-body .tier-no{padding:0 3px}
body.app-body .tier-reward{gap:11px!important;min-width:0}
body.app-body .tier-reward>span{font-size:27px!important;width:34px;text-align:center;flex:0 0 34px}
body.app-body .tier-reward div{min-width:0}
body.app-body .tier-reward b,body.app-body .tier-reward small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.app-body .tier-card button,body.app-body .tier-state{margin-right:2px;white-space:nowrap}

/* Profile/settings: character buttons and form controls no longer hug card edges. */
body.app-body .profile-hero{padding:20px 21px!important}
body.app-body .avatar-select{gap:12px!important;margin:0 2px 18px!important;padding:0 2px}
body.app-body .avatar-select button{width:78px!important;height:78px!important;padding:7px!important;overflow:hidden}
body.app-body .avatar-select img{max-width:100%;max-height:100%;object-fit:contain}
body.app-body .profile-hero label{margin-top:14px!important}
body.app-body .profile-hero input,body.app-body .profile-hero select,body.app-body .server-setup input{padding:13px 14px!important;margin-top:7px!important}
body.app-body .profile-hero .sheet-primary{margin-top:14px;width:100%;padding:14px 16px!important}
body.app-body .settings-list{padding:17px 20px!important}
body.app-body .setting-row{padding:13px 3px!important;gap:14px}
body.app-body .setting-row>span{min-width:0;column-gap:7px}
body.app-body .switch{flex:0 0 auto;margin-left:8px}
body.app-body .setting-action{margin-top:14px!important;padding:12px 14px!important}
body.app-body .privacy-grid{gap:10px!important}
body.app-body .privacy-grid div{padding:12px 11px!important;gap:3px 6px}
body.app-body .server-buttons{gap:10px!important}

/* Map / battle / achievements generic list safety. */
body.app-body .spot-row,body.app-body .team-row,body.app-body .badge-card{padding-left:16px!important;padding-right:16px!important;overflow:hidden}
body.app-body .spot-meta,body.app-body .team-row>div{min-width:0}
body.app-body .spot-meta b,body.app-body .spot-meta small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Bottom nav remains rigid and its icons/labels have a protected visual cell. */
body.app-body .bottom-nav{padding-left:10px!important;padding-right:10px!important;column-gap:2px!important}
body.app-body .bottom-nav a{padding:3px 2px!important;border-radius:14px!important;overflow:hidden!important}



/* ===== v11 readability / line-wrap / icon consistency =====
   Final overrides: preserve the v9/v10 deep navy tone while fixing mobile
   line breaking, progress-ring safe zones and back-navigation consistency. */

/* One back-arrow language across every content page. The glyph is rendered
   as an SVG mask so font/OS differences can no longer change its shape. */
body.app-body .back-btn,
body.app-body .icon-btn,
body.app-body .sub-header>a.back-btn{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  border-radius:14px!important;
  font-size:0!important;
  line-height:0!important;
  color:transparent!important;
  overflow:hidden!important;
}
body.app-body .back-btn::before,
body.app-body .icon-btn::before,
body.app-body .sub-header>a.back-btn::before{
  content:"";
  display:block;
  width:25px;
  height:25px;
  background:#bde9ff;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 12H5m0 0 6-6m-6 6 6 6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 12H5m0 0 6-6m-6 6 6 6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  filter:drop-shadow(0 0 7px rgba(86,198,255,.20));
}
body.app-body .sub-header>a.back-btn{margin:0!important}

/* AR CTA: secondary target text must remain readable on the bright gradient. */
body.app-body .primary-cta small,
body.app-body .primary-cta #startHint{
  color:#fff!important;
  opacity:.96!important;
  font-weight:800!important;
  text-shadow:0 1px 2px rgba(3,18,43,.34)!important;
}

/* Crew cards: line breaks are allowed only between Korean words, never inside
   퀴즈 / 충전 / 타이밍 / 포획 etc. */
body.app-body .crew span{flex:1 1 auto!important;min-width:0!important}
body.app-body .crew b{
  white-space:nowrap!important;
  word-break:keep-all!important;
}
body.app-body .crew small{
  white-space:normal!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  line-break:strict!important;
  hyphens:none!important;
  max-width:100%!important;
}

/* Collection progress copy: never split a Korean word into isolated syllables. */
body.app-body .collection-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 92px!important;
  align-items:center!important;
  gap:18px!important;
}
body.app-body .collection-hero>div:first-child{min-width:0!important;padding-right:2px!important}
body.app-body .collection-hero h2,
body.app-body #collectionHeadline{
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  line-break:strict!important;
  hyphens:none!important;
  line-height:1.34!important;
  max-width:100%!important;
}
body.app-body .collection-hero p{
  word-break:keep-all!important;
  overflow-wrap:normal!important;
}

/* The found-count and /12 both live inside the circular safe area. */
body.app-body .mini-ring{
  width:88px!important;
  height:88px!important;
  min-width:88px!important;
  position:relative!important;
  overflow:hidden!important;
}
body.app-body .mini-ring:after{inset:8px!important}
body.app-body .mini-ring b{
  position:absolute!important;
  z-index:3!important;
  top:19px!important;
  left:0!important;
  right:0!important;
  margin:0!important;
  text-align:center!important;
  line-height:1!important;
  font-size:28px!important;
}
body.app-body .mini-ring small{
  position:absolute!important;
  z-index:3!important;
  top:53px!important;
  left:0!important;
  right:0!important;
  margin:0!important;
  text-align:center!important;
  line-height:1!important;
  font-size:10px!important;
  color:#a8b9cd!important;
}

/* Prevent other Korean UI copy from syllable-by-syllable wrapping inside cards. */
body.app-body .premium-card h1,
body.app-body .premium-card h2,
body.app-body .premium-card h3,
body.app-body .premium-card b,
body.app-body .premium-card strong,
body.app-body .premium-card p,
body.app-body .premium-card small,
body.app-body .collection-item b,
body.app-body .collection-item small,
body.app-body .tier-reward b,
body.app-body .tier-reward small{
  word-break:keep-all;
  overflow-wrap:normal;
}



/* ==========================================================
   JOPAMS GO v12 — Commercial UX system pass
   15-point expert review implementation
   ========================================================== */
:root{
  --space-1:6px;--space-2:10px;--space-3:14px;--space-4:18px;--space-5:24px;
  --r-sm:16px;--r-md:20px;--r-lg:24px;
  --text-main:#f7f9ff;--text-sub:#b8c8d9;--text-dim:#91a7bd;
  --card-line:rgba(96,181,255,.22);--touch:44px;
}
/* unified typography: no critical 8–10px text on mobile */
body.app-body{font-size:14px;line-height:1.5;-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility}
body.app-body small,body.app-body .muted,body.app-body .collection-item small,body.app-body .quick-card small,
body.app-body .crew small,body.app-body .rank-user small,body.app-body .rank-row>strong small,
body.app-body .xp-row,body.app-body .app-footer,body.app-body .collection-no,
body.app-body .section-kicker,body.app-body .eyebrow{font-size:11px!important;line-height:1.4!important}
body.app-body p{font-size:13px!important;line-height:1.65!important}
body.app-body h1{line-height:1.22!important} body.app-body h2{line-height:1.3!important}

/* four card families only: standard, emphasis, button-card, HUD */
body.app-body .premium-card,body.app-body .collection-item,body.app-body .rank-row,body.app-body .team-row,
body.app-body .badge-card,body.app-body .tier-card{border-radius:var(--r-lg)!important}
body.app-body .quick-card,body.app-body .spot-row,body.app-body .server-card,body.app-body .status-card{border-radius:var(--r-md)!important}
body.app-body .premium-card{padding:var(--space-5)!important}
body.app-body .premium-card.compact{padding:var(--space-4)!important}

/* safe area inside every framed component */
body.app-body .collection-item,body.app-body .rank-row,body.app-body .team-row,body.app-body .badge-card,body.app-body .tier-card,
body.app-body .quick-card,body.app-body .crew,body.app-body .setting-row,body.app-body .spot-row{box-sizing:border-box;padding:var(--space-4)!important}
body.app-body .collection-item>* ,body.app-body .rank-row>* ,body.app-body .team-row>* ,body.app-body .tier-card>*{min-width:0}

/* information hierarchy / reduced home density */
body.app-body .hub-shell{gap:16px!important}
body.app-body .hero-panel{padding-bottom:20px!important}
body.app-body .hero-sub{max-width:260px;line-height:1.55!important}
body.app-body .home-secondary{padding-top:18px!important;padding-bottom:18px!important}
body.app-body .season-card .season-head small{display:none}
body.app-body .season-card .reward-ready{min-height:62px}
body.app-body .daily-card .daily-item small{max-width:230px}
body.app-body .quick-grid{gap:12px!important}
body.app-body .quick-card{min-height:104px!important}
body.app-body .app-footer{opacity:.78}

/* SVG icon system */
.ui-svg{display:block;width:1em;height:1em;overflow:visible}
body.app-body .bottom-nav .ui-svg{width:25px;height:25px}
body.app-body .qicon .ui-svg{width:26px;height:26px}
body.app-body .back-btn .ui-svg,body.ar-body .ar-exit .ui-svg{width:28px;height:28px}
body.app-body .setting-icon .ui-svg,body.app-body .privacy-grid .ui-svg,body.app-body .device-grid .ui-svg{width:24px;height:24px}
body.app-body .qicon{display:grid!important;place-items:center!important}

/* touch targets + accessible focus */
body.app-body button,body.app-body a,body.ar-body button,body.ar-body a{touch-action:manipulation}
body.app-body .back-btn,body.ar-body .ar-exit,body.app-body .bottom-nav a,body.app-body .filter,
body.app-body .rank-tabs button,body.app-body .server-buttons button,body.app-body .setting-action{min-width:var(--touch);min-height:var(--touch)}
body.app-body button:focus-visible,body.app-body a:focus-visible,body.ar-body button:focus-visible,body.ar-body a:focus-visible{outline:2px solid #72dcff;outline-offset:3px}

/* Button hierarchy: one gradient primary, outline secondary, quiet tertiary */
body.app-body .sheet-primary,body.app-body .primary-cta,body.ar-body .sheet-primary,body.ar-body .mini-primary{font-weight:900!important}
body.app-body .server-buttons button,body.app-body .filter,body.app-body .rank-tabs button{background:rgba(11,42,79,.72)!important;border:1px solid rgba(88,185,255,.24)!important;color:#c7d9e9!important}
body.app-body .tertiary-btn,body.app-body .setting-action{background:transparent!important;border:1px solid rgba(95,172,232,.18)!important;color:#bcd7ea!important}

/* character system: actual skill values */
body.app-body .crew{min-height:104px!important;display:flex!important;align-items:center!important;gap:10px!important}
body.app-body .crew img{flex:0 0 auto;max-width:42%!important;object-fit:contain}
body.app-body .crew span{min-width:0;overflow-wrap:normal;word-break:keep-all}
body.app-body .crew b,body.app-body .crew small{word-break:keep-all!important;overflow-wrap:normal!important;white-space:normal}
body.app-body .crew small{color:#b7c9db!important}
body.app-body .profile-character h2{margin:4px 0 2px}
body.app-body .profile-help{margin:0 0 15px;color:#a9bed2!important}
body.app-body .profile-character .avatar-select{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important}
body.app-body .profile-character .avatar-select button{min-height:154px!important;padding:12px 8px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;overflow:hidden}
body.app-body .profile-character .avatar-select img{width:78px!important;height:78px!important;object-fit:contain}
body.app-body .profile-character .avatar-select b{font-size:13px!important}
body.app-body .profile-character .avatar-select small{font-size:10.5px!important;text-align:center;word-break:keep-all!important;line-height:1.35!important}
body.app-body .profile-fields label{display:block;margin-top:14px;color:#9fb4c8;font-size:12px}
body.app-body .profile-fields input,body.app-body .profile-fields select{margin-top:7px}

/* setting screen now reads as a game profile, not an admin form */
body.app-body .setting-row{display:grid!important;grid-template-columns:38px minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important}
body.app-body .setting-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:rgba(45,154,220,.10);color:#69d7ff}
body.app-body .setting-copy{display:flex!important;flex-direction:column!important;gap:2px!important}
body.app-body .setting-copy b{font-size:14px!important}.setting-copy small{font-size:11px!important}

/* collection = game discovery book */
body.app-body .collection-hero{display:grid!important;grid-template-columns:minmax(0,1fr) 104px!important;gap:18px!important;align-items:center!important}
body.app-body .collection-hero h2{word-break:keep-all!important;overflow-wrap:normal!important;max-width:100%!important}
body.app-body .discovery-rate{display:inline-flex;margin-top:8px;padding:6px 10px;border-radius:999px;border:1px solid rgba(88,215,255,.2);background:rgba(45,164,218,.08);color:#67dfff;font-size:10px;font-weight:900;letter-spacing:.8px}
body.app-body .mini-ring{width:96px!important;height:96px!important;justify-self:end;position:relative!important}
body.app-body .mini-ring b{font-size:28px!important;line-height:1!important;position:absolute!important;left:50%;top:39%;transform:translate(-50%,-50%)}
body.app-body .mini-ring small{font-size:12px!important;position:absolute!important;left:50%;top:64%;transform:translate(-50%,-50%);color:#b7c8d9!important}
body.app-body .collection-grid{gap:14px!important}
body.app-body .collection-item{position:relative!important;min-height:184px!important;display:flex!important;flex-direction:column;justify-content:flex-end;align-items:flex-start;text-align:left;overflow:hidden!important}
body.app-body .collection-item .modern-collection-icon{width:58px!important;height:58px!important;margin-bottom:14px!important}
body.app-body .collection-item .collection-no{position:absolute;top:16px;right:16px}
body.app-body .collection-state{position:absolute;top:15px;left:16px;font-size:9px;font-weight:900;letter-spacing:.9px;color:#64dfff}
body.app-body .collection-item.locked .modern-collection-icon{filter:grayscale(1);opacity:.42}
body.app-body .collection-item.locked b{letter-spacing:2px;color:#7e93a9!important}
body.app-body .collection-item.unlocked b{font-size:15px!important}

/* ranking: reachable motivation alongside global board */
body.app-body .rank-motivation{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0 18px}
body.app-body .rank-motivation>div{padding:12px 8px;border-radius:16px;background:rgba(10,31,59,.9);border:1px solid rgba(82,166,236,.18);text-align:center}
body.app-body .rank-motivation span{display:block;color:#8fa8bf;font-size:10px}
body.app-body .rank-motivation b{display:block;margin-top:2px;color:#72dcff!important;font-size:15px!important}

/* season: locked content stays readable; lock is a state, not invisibility */
body.app-body .tier-card:not(.unlocked){opacity:.78!important}
body.app-body .tier-card:not(.unlocked) .tier-reward b{color:#cfdae6!important;opacity:.88!important}
body.app-body .tier-card:not(.unlocked) .tier-reward small{color:#8fa4b9!important;opacity:.82!important}
body.app-body .tier-card:not(.unlocked) .tier-reward>span{opacity:.72!important;filter:saturate(.65)}
body.app-body .tier-state{font-weight:900!important;letter-spacing:.5px}

/* AR: progressive guidance and outdoor-readable HUD */
body.ar-body .ar-step-guide{position:fixed;left:50%;top:calc(env(safe-area-inset-top,0px) + 120px);transform:translateX(-50%);z-index:20;display:flex;gap:5px;padding:5px;border-radius:999px;background:rgba(1,12,28,.62);border:1px solid rgba(105,208,255,.18);backdrop-filter:blur(10px);pointer-events:none}
body.ar-body .ar-step-guide span{padding:4px 7px;border-radius:999px;color:#a8bed1;font-size:9px;font-weight:800;white-space:nowrap}
body.ar-body .status-banner{font-size:13px!important;font-weight:800!important;line-height:1.4!important}
body.ar-body .dwell-ring-wrap span{font-size:9px!important;white-space:nowrap}
body.ar-body .edge-arrow small{font-size:9px!important;min-width:54px;white-space:nowrap}
body.ar-body .perm-card p,body.ar-body .perm-step small,body.ar-body .privacy-note{font-size:12px!important;line-height:1.55!important}
body.ar-body .ar-exit{display:grid!important;place-items:center!important;min-width:48px;min-height:48px}

/* protect Korean words from arbitrary character wrapping in key UI */
body.app-body .mission-copy strong,body.app-body .mission-copy p,body.app-body .collection-hero h2,body.app-body .collection-hero p,
body.app-body .crew small,body.app-body .tier-reward b,body.app-body .tier-reward small{word-break:keep-all!important;overflow-wrap:normal!important}


body.app-body .primary-cta small,body.app-body .sheet-primary small{color:rgba(255,255,255,.96)!important;text-shadow:0 1px 2px rgba(0,0,0,.18)}
body.app-body .primary-cta b{color:#06142b!important}

/* ==========================================================
   JOPAMS GO v13 — Alignment / Safe-area / Visual balance pass
   Focus: centered back controls, pill tabs, safe progress counters,
   balanced settings icons, profile spacing, and framed-content gutters.
   ========================================================== */
:root{
  --v13-frame-pad:24px;
  --v13-frame-pad-sm:18px;
  --v13-section-gap:24px;
  --v13-item-gap:14px;
  --v13-control-h:56px;
  --v13-icon-box:48px;
}

/* 1) Every back control uses exactly the same geometric center. */
body.app-body .back-btn,
body.app-body .icon-btn,
body.app-body .sub-header>a.back-btn,
body.ar-body .ar-exit{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  text-indent:0!important;
  line-height:1!important;
}
body.app-body .back-btn::before,
body.app-body .icon-btn::before,
body.app-body .sub-header>a.back-btn::before{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  margin:0!important;
}
body.ar-body .ar-exit{font-size:0!important;color:transparent!important;position:relative!important}
body.ar-body .ar-exit::before{
  content:"";
  position:absolute;
  left:50%;top:50%;transform:translate(-50%,-50%);
  width:27px;height:27px;background:#d5f1ff;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 12H5m0 0 6-6m-6 6 6 6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 12H5m0 0 6-6m-6 6 6 6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Keep header content vertically balanced around the back button. */
body.app-body .page-top{min-height:58px!important;align-items:center!important;gap:14px!important;margin-bottom:24px!important}
body.app-body .page-top>div:nth-child(2){align-self:center!important;min-width:0!important}
body.app-body .page-top h1{margin-top:3px!important}

/* 2) Ranking tabs: segmented pill instead of hard-edged split buttons. */
body.app-body .rank-tabs{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:6px!important;
  margin:22px 0 16px!important;
  padding:5px!important;
  border:1px solid rgba(91,177,244,.20)!important;
  border-radius:18px!important;
  background:rgba(4,18,39,.72)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
body.app-body .rank-tabs button{
  min-height:48px!important;
  border:0!important;
  border-radius:13px!important;
  background:transparent!important;
  color:#91a8bf!important;
  font-size:13px!important;
  font-weight:800!important;
  letter-spacing:-.15px!important;
  box-shadow:none!important;
  padding:0 12px!important;
}
body.app-body .rank-tabs button.active{
  color:#e9f9ff!important;
  background:linear-gradient(180deg,rgba(39,136,204,.32),rgba(13,68,111,.28))!important;
  box-shadow:inset 0 0 0 1px rgba(87,211,255,.34),0 8px 20px rgba(0,0,0,.14)!important;
}
body.app-body .ranking-list{gap:14px!important}
body.app-body .rank-row{padding:20px 22px!important;column-gap:14px!important;min-height:90px!important}
body.app-body .rank-no{display:flex!important;align-items:center!important;justify-content:center!important;min-width:42px!important}
body.app-body .rank-user{padding:0 2px!important}
body.app-body .rank-row>strong{padding:0!important;margin-left:8px!important}

/* 3) Collection hero: isolate copy and progress ring into protected columns. */
body.app-body .collection-hero{
  grid-template-columns:minmax(0,1fr) 104px!important;
  gap:24px!important;
  padding:24px!important;
  overflow:hidden!important;
}
body.app-body .collection-hero>div:first-child{min-width:0!important;padding-right:0!important}
body.app-body .collection-hero h2{margin:14px 0 10px!important;font-size:22px!important;line-height:1.42!important}
body.app-body .collection-hero p{margin:0!important;padding-right:2px!important}
body.app-body .mini-ring{
  position:relative!important;
  width:96px!important;height:96px!important;min-width:96px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  overflow:hidden!important;justify-self:end!important;
}
body.app-body .mini-ring b,
body.app-body .mini-ring small{
  left:50%!important;right:auto!important;margin:0!important;text-align:center!important;
  transform:translate(-50%,-50%)!important;white-space:nowrap!important;
}
body.app-body .mini-ring b{top:42%!important;font-size:27px!important;line-height:1!important}
body.app-body .mini-ring small{top:66%!important;font-size:12px!important;line-height:1!important;color:#b8c9da!important}
body.app-body .collection-grid{margin-top:24px!important;gap:16px!important}
body.app-body .collection-item{padding:22px!important;min-height:196px!important}
body.app-body .collection-item .collection-state{top:20px!important;left:22px!important}
body.app-body .collection-item .collection-no{top:20px!important;right:22px!important}

/* 4) AR 4/12: one centered unit, regardless of digit width. */
body.ar-body .ar-progress{
  width:58px!important;height:58px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  gap:2px!important;padding:0 5px!important;line-height:1!important;
}
body.ar-body .ar-progress span,
body.ar-body .ar-progress small{display:block!important;margin:0!important;line-height:1!important;position:static!important;transform:none!important}
body.ar-body .ar-progress span{font-size:19px!important}
body.ar-body .ar-progress small{font-size:10px!important;align-self:center!important;margin-top:5px!important}
body.ar-body .ar-topbar{align-items:center!important}
body.ar-body .ar-sound{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important}

/* 5) Settings icon boxes: optical and geometric center are identical. */
body.app-body .settings-list{padding:20px 24px!important}
body.app-body .setting-row{
  grid-template-columns:var(--v13-icon-box) minmax(0,1fr) auto!important;
  min-height:90px!important;
  gap:18px!important;
  padding:18px 8px!important;
}
body.app-body .setting-icon{
  width:var(--v13-icon-box)!important;height:var(--v13-icon-box)!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:0!important;margin:0!important;
}
body.app-body .setting-icon .ui-svg{width:25px!important;height:25px!important;margin:auto!important}
body.app-body .setting-copy{justify-content:center!important;min-width:0!important}
body.app-body .setting-copy b{line-height:1.3!important;margin:0!important}
body.app-body .setting-copy small{margin-top:3px!important;line-height:1.4!important}
body.app-body .switch{margin-left:6px!important;align-self:center!important}
body.app-body .setting-action{margin-top:16px!important;min-height:50px!important}

/* 6) Profile: cards are separate sections, inputs have breathing room. */
body.app-body .profile-character{padding:24px!important;margin-bottom:26px!important}
body.app-body .profile-fields{padding:24px!important;margin-bottom:26px!important}
body.app-body .profile-character .profile-help{margin:10px 0 20px!important}
body.app-body .profile-character .avatar-select{gap:14px!important;margin-top:4px!important;margin-bottom:0!important}
body.app-body .profile-character .avatar-select button{
  min-height:166px!important;
  padding:14px 10px!important;
  border-radius:20px!important;
}
body.app-body .profile-character .avatar-select img{width:74px!important;height:74px!important;margin-bottom:3px!important}
body.app-body .profile-fields .section-kicker{margin-bottom:16px!important}
body.app-body .profile-fields label{
  display:flex!important;flex-direction:column!important;gap:8px!important;
  margin:0 0 18px!important;color:#b6c8da!important;font-size:12px!important;font-weight:700!important;
}
body.app-body .profile-fields input,
body.app-body .profile-fields select{
  width:100%!important;min-height:var(--v13-control-h)!important;
  margin:0!important;padding:0 18px!important;
  border-radius:15px!important;
  border:1px solid rgba(91,181,249,.24)!important;
  background:rgba(6,24,49,.72)!important;
  color:#f7fbff!important;font-size:15px!important;font-weight:700!important;
  outline:none!important;
}
body.app-body .profile-fields input:focus,
body.app-body .profile-fields select:focus{border-color:#58cdfd!important;box-shadow:0 0 0 3px rgba(73,199,255,.10)!important}
body.app-body .profile-fields .sheet-primary{width:100%!important;min-height:58px!important;margin-top:2px!important}

/* 7) Universal framed-content safe area / visual breathing room. */
body.app-body .premium-card:not(.profile-character):not(.profile-fields):not(.settings-list){padding:var(--v13-frame-pad)!important}
body.app-body .rank-motivation{gap:12px!important;margin:16px 0 22px!important}
body.app-body .rank-motivation>div{padding:16px 10px!important;min-height:76px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important}
body.app-body .privacy-center,body.app-body .device-check,body.app-body .server-setup{margin-top:24px!important}
body.app-body .privacy-grid,body.app-body .device-grid{gap:14px!important;margin-top:18px!important}
body.app-body .privacy-grid>div,body.app-body .device-grid>div{padding:18px!important;min-height:116px!important}
body.app-body .privacy-grid .ui-svg,body.app-body .device-grid .ui-svg{margin-bottom:10px!important}
body.app-body .server-setup input{min-height:52px!important;padding:0 16px!important;margin-top:12px!important}
body.app-body .server-buttons{gap:10px!important;margin-top:12px!important}
body.app-body .server-buttons button{min-height:48px!important;padding:0 16px!important}

/* 8) Season: clean 3-column grid and safe outer padding. */
body.app-body .pass-hero{padding:26px!important;min-height:174px!important}
body.app-body .pass-track-wrap{margin:28px 6px 22px!important}
body.app-body .tier-list{gap:14px!important}
body.app-body .tier-card{
  grid-template-columns:58px minmax(0,1fr) 72px!important;
  gap:16px!important;min-height:104px!important;padding:20px 22px!important;
}
body.app-body .tier-no{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important}
body.app-body .tier-reward{gap:14px!important;align-items:center!important}
body.app-body .tier-reward>span{min-width:52px!important;width:52px!important;text-align:center!important;font-size:34px!important}
body.app-body .tier-state,body.app-body .tier-card>button{justify-self:end!important;align-self:center!important;margin:0!important;text-align:center!important}

/* 9) Bottom nav also keeps icon and label optically centered. */
body.app-body .bottom-nav a{padding:4px 2px!important;overflow:visible!important}
body.app-body .bottom-nav a span{display:flex!important;align-items:center!important;justify-content:center!important;margin:0 auto!important}
body.app-body .bottom-nav a b{text-align:center!important;width:100%!important}

/* 10) Avoid visual collision between successive framed sections. */
body.app-body main.page-shell>section+section:not(.rank-motivation):not(.rank-tabs):not(.ranking-list):not(.pass-track-wrap):not(.tier-list){margin-top:24px}
body.app-body .ranking-list+.impact-card{margin-top:22px!important}
body.app-body .impact-card+.server-card{margin-top:22px!important}



/* ===== JOPAMS GO v14 commercial game systems ===== */
:root{
  --v14-card-pad:28px;--v14-card-gap:18px;--v14-section-gap:30px;--v14-icon:24px;
  --v14-line:rgba(94,188,255,.18);--v14-card:linear-gradient(155deg,rgba(14,48,83,.94),rgba(5,25,53,.96));
  --v14-card-soft:rgba(9,35,66,.78);--v14-cyan:#61d9ff;--v14-gold:#ffd66b;--v14-green:#7ee0b1;
}
body.app-body .premium-card,body.app-body .collection-item,body.app-body .rank-row,body.app-body .tier-card,body.app-body .badge-card,body.app-body .team-row{
  box-sizing:border-box;overflow:hidden;
}
body.app-body .premium-card{padding:var(--v14-card-pad)!important}
body.app-body main section+section{scroll-margin-top:20px}
.ui-svg{width:var(--v14-icon);height:var(--v14-icon);display:block;flex:none}
.icon-orb{width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:rgba(40,157,225,.12);border:1px solid rgba(97,217,255,.16);color:var(--v14-cyan);flex:none}
.icon-orb .ui-svg{width:25px;height:25px}
.v14-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}
.v14-section-head h2{margin:4px 0 0;font-size:22px;line-height:1.25}
.v14-section-head a{color:#83dfff;text-decoration:none;font-size:12px;font-weight:800;white-space:nowrap}

/* Quest / live ops */
.quest-strip{display:grid;gap:12px}
.quest-line{display:grid;grid-template-columns:50px minmax(0,1fr) auto;gap:14px;align-items:center;min-height:82px;padding:16px 18px;border:1px solid rgba(96,190,255,.12);border-radius:18px;background:rgba(5,27,54,.55)}
.quest-line .icon-orb{width:48px;height:48px;border-radius:14px}
.quest-copy{min-width:0}.quest-copy b{display:block;font-size:14px;color:#f4f9ff;line-height:1.35}.quest-copy small{display:block;margin-top:5px;color:#91a8bf;font-size:11px;line-height:1.45}
.quest-side{text-align:right;min-width:64px}.quest-side strong{display:block;color:#b9eaff;font-size:12px}.quest-side em{display:block;margin-top:5px;color:#f5c969;font-size:10px;font-style:normal}
.quest-line.done{border-color:rgba(106,222,180,.25);background:rgba(12,63,70,.35)}
.quest-claim{min-width:64px;height:38px;border:0;border-radius:12px;background:linear-gradient(135deg,#45d5f6,#387aff);color:#04172a;font-weight:900;font-size:11px;padding:0 10px}
.quest-claim:disabled{background:rgba(92,115,140,.16);color:#71869c}

/* Expedition HQ */
.expedition-shell{padding-bottom:120px}.expedition-hero{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:24px;align-items:center;margin-bottom:var(--v14-section-gap)}
.expedition-hero h2{font-size:27px;margin:8px 0 10px}.expedition-hero p{margin:0;color:#a9bed1;font-size:13px;line-height:1.65}.hq-emblem{width:104px;height:104px;border-radius:30px;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 35% 30%,rgba(93,220,255,.25),rgba(68,85,255,.10) 55%,rgba(0,0,0,.08));border:1px solid rgba(97,217,255,.25);color:#7be1ff}.hq-emblem .ui-svg{width:46px;height:46px}
.live-stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}.live-stat{padding:15px 8px;border-radius:16px;background:rgba(4,24,49,.58);border:1px solid rgba(93,185,244,.12);text-align:center}.live-stat small{display:block;color:#7f97ad;font-size:10px}.live-stat b{display:block;margin-top:5px;color:#eaf8ff;font-size:16px}.live-stat b.cyan{color:var(--v14-cyan)}.live-stat b.gold{color:var(--v14-gold)}
.hq-card{margin-top:24px}.hq-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;border-radius:18px;background:rgba(3,20,43,.65);border:1px solid var(--v14-line);margin:18px 0}.hq-tabs button{min-height:46px;border:0;border-radius:13px;background:transparent;color:#8ea5ba;font-weight:850}.hq-tabs button.active{background:linear-gradient(180deg,rgba(36,133,202,.35),rgba(14,66,109,.32));color:#eafaff;box-shadow:inset 0 0 0 1px rgba(91,211,255,.27)}
.chest-panel{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:16px;align-items:center;padding:20px;border-radius:20px;background:linear-gradient(135deg,rgba(25,69,101,.75),rgba(12,35,67,.65));border:1px solid rgba(255,211,103,.18)}.chest-panel .chest-orb{width:70px;height:70px;border-radius:20px;background:radial-gradient(circle at 35% 30%,rgba(255,216,104,.25),rgba(79,104,255,.12));display:flex;align-items:center;justify-content:center;color:#ffd466;border:1px solid rgba(255,214,105,.23)}.chest-orb .ui-svg{width:34px;height:34px}.chest-panel b{display:block;font-size:15px}.chest-panel small{display:block;margin-top:5px;color:#a2b5c7;line-height:1.45}.chest-open{height:42px;min-width:74px;border:0;border-radius:13px;background:linear-gradient(135deg,#ffd769,#f0a839);color:#2b1a00;font-weight:950}.chest-open:disabled{background:rgba(103,116,134,.16);color:#718397}

/* Character growth / rare variants */
.growth-grid{display:grid;gap:14px}.growth-card{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:16px;align-items:center;padding:18px;border-radius:20px;background:rgba(5,28,55,.58);border:1px solid rgba(92,186,247,.13)}.growth-avatar{position:relative;width:72px;height:72px;border-radius:20px;background:radial-gradient(circle at 50% 35%,rgba(63,199,237,.17),rgba(4,22,44,.2));display:flex;align-items:center;justify-content:center;overflow:hidden}.growth-avatar img{width:68px;height:68px;object-fit:contain}.growth-card.rare .growth-avatar{box-shadow:0 0 28px rgba(123,97,255,.24);border:1px solid rgba(157,124,255,.35)}.growth-copy b{display:block}.growth-copy small{display:block;color:#93a9bd;margin-top:4px;font-size:11px}.growth-meter{height:7px;border-radius:99px;background:rgba(105,137,166,.13);overflow:hidden;margin-top:10px}.growth-meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#55dff0,#6a71ff)}.growth-level{text-align:center}.growth-level small{display:block;color:#8298ad;font-size:9px}.growth-level b{display:block;margin-top:3px;color:#70dcff;font-size:17px}
.rare-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.rare-card{min-width:0;padding:14px 10px;border-radius:18px;background:rgba(5,26,52,.62);border:1px solid rgba(108,179,235,.13);text-align:center}.rare-card img{width:68px;height:68px;object-fit:contain;filter:saturate(.25) brightness(.52)}.rare-card.unlocked img{filter:saturate(1.1) contrast(1.03) drop-shadow(0 0 9px rgba(111,210,255,.28))}.rare-card b{display:block;margin-top:6px;font-size:12px}.rare-card small{display:block;margin-top:4px;color:#849bb0;font-size:9px;line-height:1.4}.rare-card.unlocked{border-color:rgba(150,115,255,.34);background:linear-gradient(145deg,rgba(44,50,102,.45),rgba(6,30,58,.7))}

/* Cosmetics / invite */
.cosmetic-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.cosmetic-slot{min-height:120px;padding:16px 12px;border-radius:18px;background:rgba(5,27,54,.56);border:1px solid rgba(91,183,242,.13);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.cosmetic-slot .icon-orb{width:48px;height:48px;border-radius:15px}.cosmetic-slot b{margin-top:10px;font-size:11px}.cosmetic-slot small{margin-top:4px;color:#8098ae;font-size:9px;line-height:1.35}.invite-card{display:flex;align-items:center;gap:16px}.invite-card>div:nth-child(2){flex:1;min-width:0}.invite-card h2{margin:4px 0 6px}.invite-card p{margin:0;color:#9fb3c6;font-size:12px;line-height:1.5}.invite-btn{height:46px;padding:0 16px;border:0;border-radius:14px;background:rgba(51,166,224,.16);color:#8be7ff;border:1px solid rgba(90,210,255,.24);font-weight:900;white-space:nowrap}

/* Profile commercial polish */
.profile-character+.profile-fields{margin-top:28px!important}.profile-fields+.profile-cosmetics{margin-top:28px!important}.profile-cosmetics+.settings-list{margin-top:28px!important}
.profile-cosmetics{padding:26px!important}.profile-cosmetics h2{margin:6px 0 16px}.profile-cosmetics .cosmetic-row{margin-top:10px}
.player-card-frame{position:relative}.player-card-frame.frame-cyan{box-shadow:0 0 0 1px rgba(73,218,255,.38),0 0 30px rgba(61,183,255,.12)}.player-title-badge{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;background:rgba(71,194,239,.10);border:1px solid rgba(82,206,251,.18);font-size:10px;color:#9beaff;font-weight:850}

/* Learn after play */
.micro-learn{margin:14px 0 0;padding:16px;border-radius:16px;background:rgba(42,148,200,.10);border:1px solid rgba(87,211,255,.18);text-align:left}.micro-learn-head{display:flex;align-items:center;gap:9px;color:#6ce0ff;font-size:10px;font-weight:900;letter-spacing:.08em}.micro-learn-head .ui-svg{width:18px;height:18px}.micro-learn p{margin:9px 0 12px!important;color:#d5e3ef!important;font-size:12px!important;line-height:1.55!important}.micro-learn button{width:100%;height:42px;border:0;border-radius:13px;background:rgba(69,202,246,.14);color:#95eaff;font-weight:900;font-size:11px;border:1px solid rgba(80,211,250,.18)}.micro-learn button.claimed{color:#83d9b3;background:rgba(57,185,131,.10);border-color:rgba(90,218,166,.18)}

/* AR environment / effects */
.ar-body::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:2;background:transparent;transition:background .4s ease}.ar-body[data-x="x"]{}
html[data-period="night"] .ar-body::after{background:linear-gradient(180deg,rgba(4,14,40,.18),rgba(4,10,30,.08))}
html[data-weather="cloud"] .ar-body::after{background:linear-gradient(180deg,rgba(110,130,150,.08),transparent 50%)}
.ambient-layer{position:fixed;inset:0;z-index:3;pointer-events:none;overflow:hidden}.ambient-layer i{display:none}
html[data-weather="rain"] .ambient-layer i{display:block;position:absolute;top:-12%;width:1px;height:62px;background:linear-gradient(transparent,rgba(198,231,255,.42));transform:rotate(15deg);animation:rainDrop 1.1s linear infinite}.ambient-layer i:nth-child(1){left:8%;animation-delay:-.2s}.ambient-layer i:nth-child(2){left:21%;animation-delay:-.7s}.ambient-layer i:nth-child(3){left:34%;animation-delay:-.4s}.ambient-layer i:nth-child(4){left:47%;animation-delay:-.9s}.ambient-layer i:nth-child(5){left:61%;animation-delay:-.1s}.ambient-layer i:nth-child(6){left:73%;animation-delay:-.55s}.ambient-layer i:nth-child(7){left:84%;animation-delay:-.85s}.ambient-layer i:nth-child(8){left:95%;animation-delay:-.35s}@keyframes rainDrop{to{transform:translateY(125vh) rotate(15deg)}}
.camera-shake{animation:cameraShake .34s ease-out}.camera-shake-strong{animation:cameraShakeStrong .46s ease-out}@keyframes cameraShake{0%,100%{transform:none}25%{transform:translate(-2px,1px)}50%{transform:translate(2px,-1px)}75%{transform:translate(-1px,-1px)}}@keyframes cameraShakeStrong{0%,100%{transform:none}18%{transform:translate(-4px,2px) rotate(-.2deg)}36%{transform:translate(4px,-2px) rotate(.2deg)}58%{transform:translate(-3px,-1px)}78%{transform:translate(2px,1px)}}
.capture-flash.v14-rare{background:radial-gradient(circle,rgba(154,115,255,.85),rgba(63,206,255,.28),transparent 70%)!important}.rare-particle{position:fixed;z-index:80;width:7px;height:7px;border-radius:50%;background:#8ceaff;box-shadow:0 0 14px #8f79ff;pointer-events:none;animation:rareBurst .8s ease-out forwards}@keyframes rareBurst{to{transform:translate(var(--dx),var(--dy)) scale(.2);opacity:0}}
.env-chip{position:fixed;right:18px;top:max(142px,calc(env(safe-area-inset-top) + 110px));z-index:16;display:flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:rgba(5,22,44,.62);border:1px solid rgba(139,220,255,.16);backdrop-filter:blur(12px);color:#bce8ff;font-size:9px;font-weight:850}.env-chip .ui-svg{width:14px;height:14px}

/* Achievements redesigned */
.badge-grid{gap:14px!important}.badge-card{padding:20px!important;min-height:170px!important}.badge-card .badge-icon{width:54px!important;height:54px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:16px!important;background:rgba(38,144,205,.10)!important;color:#65d8ff!important}.badge-card .badge-icon .ui-svg{width:28px;height:28px}.badge-card.earned .badge-icon{background:linear-gradient(145deg,rgba(54,205,230,.16),rgba(104,94,255,.18))!important;color:#9eeeff!important}

/* Global safe-area pass: no content touches card edges */
body.app-body .collection-item>*:not(.collection-state):not(.collection-no),body.app-body .rank-row>*,body.app-body .tier-card>*,body.app-body .badge-card>*,body.app-body .team-row>*{min-width:0}
body.app-body .collection-item b,body.app-body .collection-item small,body.app-body .tier-card b,body.app-body .tier-card small{overflow-wrap:normal;word-break:keep-all}
body.app-body .premium-card h1,body.app-body .premium-card h2,body.app-body .premium-card h3,body.app-body .premium-card p,body.app-body .premium-card small{max-width:100%}


@media(prefers-reduced-motion:reduce){.ambient-layer i,.camera-shake,.camera-shake-strong{animation:none!important}}


/* ==========================================================================\n   JOPAMS GO v15 — Icon / Typography Balance & Visual Rhythm Pass\n   Goal: icon -> title -> description hierarchy, larger readable copy, and\n   consistent inner safe areas across cards.\n   ========================================================================== */
:root{
  --v15-icon-box:52px;
  --v15-icon-size:25px;
  --v15-title:14px;
  --v15-body:12px;
  --v15-meta:11px;
  --v15-tile-pad-x:18px;
  --v15-tile-pad-y:17px;
  --v15-row-gap:14px;
}

/* Universal card breathing room and readable secondary copy */
body.app-body .premium-card{box-sizing:border-box}
body.app-body .premium-card p,
body.app-body .premium-card small{line-height:1.55}
body.app-body .premium-card small{font-size:max(11px, .72rem)}
body.app-body .section-kicker{font-size:11px!important;line-height:1.2!important}

/* Icon container: never float above copy; optically center the SVG */
body.app-body .icon-orb,
body.app-body .setting-icon,
body.app-body .info-tile-icon,
body.ar-body .privacy-note>span{
  box-sizing:border-box;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
}
body.app-body .icon-orb .ui-svg,
body.app-body .setting-icon .ui-svg,
body.app-body .info-tile-icon .ui-svg,
body.ar-body .privacy-note .ui-svg{
  display:block!important;
  margin:0!important;
  transform:none!important;
}

/* Home: reward buttons are horizontal icon -> copy compositions. */
body.app-body .reward-duo{gap:12px!important;margin-top:15px!important}
body.app-body .daily-reward{
  min-height:82px!important;
  margin-top:0!important;
  padding:15px 16px!important;
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:13px!important;
  row-gap:3px!important;
  align-items:center!important;
  text-align:left!important;
  overflow:hidden!important;
}
body.app-body .daily-reward>.icon-orb{
  grid-column:1!important;grid-row:1 / span 2!important;
  width:48px!important;height:48px!important;
  align-self:center!important;justify-self:center!important;
  border-radius:14px!important;
}
body.app-body .daily-reward>.icon-orb .ui-svg{width:24px!important;height:24px!important}
body.app-body .daily-reward>b{
  grid-column:2!important;grid-row:1!important;
  align-self:end!important;margin:0!important;
  font-size:13px!important;line-height:1.3!important;
  white-space:normal!important;word-break:keep-all!important;
}
body.app-body .daily-reward>small{
  grid-column:2!important;grid-row:2!important;
  align-self:start!important;margin:0!important;
  font-size:11px!important;line-height:1.35!important;
  color:#a9b7c6!important;
}

/* Profile settings rows: icon -> copy -> switch, with readable hierarchy. */
body.app-body .settings-list{padding:22px 24px!important}
body.app-body .setting-row{
  grid-template-columns:52px minmax(0,1fr) auto!important;
  gap:16px!important;
  min-height:88px!important;
  padding:16px 2px!important;
  align-items:center!important;
}
body.app-body .setting-icon{
  width:52px!important;height:52px!important;border-radius:15px!important;
}
body.app-body .setting-icon .ui-svg{width:25px!important;height:25px!important}
body.app-body .setting-copy{display:flex!important;flex-direction:column!important;justify-content:center!important;gap:4px!important}
body.app-body .setting-copy b{font-size:14px!important;line-height:1.3!important;color:#f3f8ff!important}
body.app-body .setting-copy small{font-size:11.5px!important;line-height:1.45!important;color:#9fb2c5!important;margin:0!important}

/* Privacy / device cards: stop stacking icon above unrelated text. */
body.app-body .privacy-grid,
body.app-body .device-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  margin-top:18px!important;
}
body.app-body .privacy-grid>.info-tile,
body.app-body .device-grid>.info-tile{
  min-width:0!important;
  min-height:126px!important;
  padding:18px!important;
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr)!important;
  grid-template-rows:auto!important;
  column-gap:13px!important;
  align-items:center!important;
  border-radius:18px!important;
  background:rgba(3,24,50,.64)!important;
  border:1px solid rgba(87,181,239,.13)!important;
}
body.app-body .info-tile-icon{
  width:46px!important;height:46px!important;
  border-radius:14px!important;
  background:rgba(48,156,220,.10)!important;
  color:#e8f7ff!important;
}
body.app-body .info-tile-icon .ui-svg{width:24px!important;height:24px!important}
body.app-body .info-tile-copy{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:7px!important;
}
body.app-body .info-tile-copy b{
  font-size:13px!important;line-height:1.25!important;color:#f5f8fc!important;
  word-break:keep-all!important;
}
body.app-body .info-tile-copy small{
  margin:0!important;
  font-size:11.5px!important;line-height:1.5!important;color:#a8b8c8!important;
  word-break:keep-all!important;overflow-wrap:normal!important;
}
body.app-body .device-grid>.info-tile.ok{border-color:rgba(80,210,178,.18)!important}
body.app-body .device-grid>.info-tile.ok .info-tile-icon{color:#8be9d0!important;background:rgba(54,181,149,.10)!important}

/* AR permission privacy notice: icon and copy read as one sentence. */
body.ar-body .privacy-note{
  min-height:58px!important;
  padding:14px 16px!important;
  display:grid!important;
  grid-template-columns:32px minmax(0,1fr)!important;
  gap:12px!important;
  align-items:center!important;
  text-align:left!important;
  font-size:12px!important;
  line-height:1.5!important;
  word-break:keep-all!important;
}
body.ar-body .privacy-note>span{width:32px!important;height:32px!important;align-self:center!important}
body.ar-body .privacy-note .ui-svg{width:22px!important;height:22px!important}

/* Quest/live-ops balance: icons smaller than copy block; copy never 9px-ish. */
body.app-body .quest-line{
  grid-template-columns:48px minmax(0,1fr) auto!important;
  gap:14px!important;
  min-height:86px!important;
  padding:17px 18px!important;
}
body.app-body .quest-line .icon-orb{width:48px!important;height:48px!important}
body.app-body .quest-copy b{font-size:14px!important}
body.app-body .quest-copy small{font-size:11.5px!important}
body.app-body .quest-side strong{font-size:12px!important}
body.app-body .quest-side em{font-size:11px!important}

/* Chest / growth / cosmetic components use the same visual rhythm. */
body.app-body .chest-panel,
body.app-body .growth-card{gap:16px!important;padding:19px!important}
body.app-body .chest-panel b,
body.app-body .growth-copy b{font-size:14px!important;line-height:1.35!important}
body.app-body .chest-panel small,
body.app-body .growth-copy small{font-size:11.5px!important;line-height:1.45!important}
body.app-body .rare-card b{font-size:12.5px!important}
body.app-body .rare-card small,
body.app-body .cosmetic-slot small{font-size:10.5px!important;line-height:1.45!important}
body.app-body .cosmetic-slot b{font-size:12px!important}

/* Global label floor: prevent visually tiny text on phone screens. */
body.app-body .live-stat small,
body.app-body .growth-level small,
body.app-body .reward-top,
body.app-body .env-chip,
body.app-body .player-title-badge{font-size:10.5px!important}

/* Small phones: keep horizontal relationship but reduce container, not type. */


/* =========================================================
   v16 — icon/copy baseline alignment hotfix
   Goal: icon and message share one horizontal visual axis.
   ========================================================= */
body.app-body .privacy-pill,
body.ar-body .privacy-note{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  text-align:left!important;
}
body.app-body .privacy-pill{
  min-height:54px!important;
  padding:12px 16px!important;
  font-size:12.5px!important;
  line-height:1.45!important;
  font-weight:600!important;
  word-break:keep-all!important;
}
body.app-body .privacy-pill>span,
body.ar-body .privacy-note>span{
  position:static!important;
  inset:auto!important;
  margin:0!important;
  transform:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  flex:0 0 auto!important;
  line-height:1!important;
  vertical-align:middle!important;
}
body.app-body .privacy-pill>span{
  width:30px!important;
  height:30px!important;
}
body.app-body .privacy-pill .ui-svg{
  width:24px!important;
  height:24px!important;
  display:block!important;
  margin:0!important;
  transform:none!important;
}
body.ar-body .privacy-note{
  min-height:58px!important;
  padding:12px 15px!important;
  font-size:12px!important;
  line-height:1.45!important;
  font-weight:600!important;
  word-break:keep-all!important;
}
body.ar-body .privacy-note>span{
  width:30px!important;
  height:30px!important;
}
body.ar-body .privacy-note .ui-svg{
  width:23px!important;
  height:23px!important;
}
/* Keep icon+copy vertically centered even when the copy wraps to two lines. */
body.app-body .privacy-pill,
body.ar-body .privacy-note{min-width:0!important}
body.app-body .privacy-pill>span+*,
body.ar-body .privacy-note>span+*{min-width:0!important}

@media(max-width:380px){
  body.app-body .privacy-pill{font-size:12px!important;padding:11px 14px!important;gap:10px!important}
  body.ar-body .privacy-note{font-size:11.5px!important;padding:11px 13px!important;gap:10px!important}
}
