.mq{--mq-teal:#3ee0d0;--mq-teal-deep:#1e9d92;--mq-teal-glow:rgba(62,224,208,.35);--mq-gold-hi:#ffe08a;--mq-gold-deep:#d99a10;--mq-gold-glow:rgba(255,215,0,.4);--mq-mono:ui-monospace,"SF Mono",SFMono-Regular,Menlo,monospace;background:var(--bg);color:var(--text);min-height:100%;background-image:radial-gradient(900px 460px at 12% -8%,rgba(62,224,208,.07),transparent 62%),radial-gradient(760px 420px at 96% 2%,rgba(255,215,0,.05),transparent 62%),linear-gradient(rgba(255,255,255,.016) 1px,transparent 0),linear-gradient(90deg,rgba(255,255,255,.016) 1px,transparent 0);background-size:auto,auto,44px 44px,44px 44px}.mq-inner{max-width:1200px;margin:0 auto;padding:16px 16px 80px}.mq button,.mq input{font:inherit}.mq button{cursor:pointer;-webkit-tap-highlight-color:transparent}.mq button:focus-visible,.mq input:focus-visible{outline:2px solid var(--mq-teal);outline-offset:2px}.mq p{font-size:13px;line-height:1.6;margin:0}.mq h1{font-size:20px;font-weight:700;margin:0;letter-spacing:-.2px}.mq h2{font-size:15px;font-weight:600;margin:0}.mq .muted{color:var(--text-muted)}.mq .small{font-size:11px}.mq .num{font-family:var(--mq-mono);font-variant-numeric:tabular-nums}.mq header{display:flex;align-items:center;gap:16px;padding:0 0 14px;border-bottom:1px solid var(--border)}.mq .brand{display:flex;flex-direction:column;gap:3px}.mq .brand-title{font-size:20px;font-weight:700;letter-spacing:-.2px}.mq .brand small{font-size:10px;letter-spacing:2px;color:var(--text-muted);font-weight:500;font-family:var(--mq-mono)}.mq .local-label{margin-left:auto;color:var(--text-muted);font-size:12px}.mq .primary{border:0;border-radius:4px;padding:8px 14px;min-height:34px;background:var(--blue);color:#fff;font-size:13px;font-weight:500;white-space:nowrap;box-shadow:0 3px 14px rgba(41,98,255,.3)}.mq .primary:hover{opacity:.9}.mq .primary:disabled{opacity:.5;cursor:default;box-shadow:none}.mq .eyebrow{font-size:10px;letter-spacing:1.6px;color:var(--text-muted);margin:0 0 8px;font-weight:500;font-family:var(--mq-mono)}.mq .overview{padding:22px 0 20px}.mq .title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.mq .chapter-tag{font-family:var(--mq-mono);font-size:11px;font-weight:700;letter-spacing:.5px;color:var(--mq-teal);border:1px solid var(--mq-teal);background:rgba(62,224,208,.1);box-shadow:0 0 12px rgba(62,224,208,.18);border-radius:4px;padding:4px 9px}.mq .chapter-tag.complete{color:var(--gold);border-color:var(--gold);background:rgba(255,215,0,.1);box-shadow:0 0 12px rgba(255,215,0,.22)}.mq .overview-values{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin-top:20px}.mq .overview-values>div>span{font-size:12px}.mq .balance{font-family:var(--mq-mono);font-size:56px;font-weight:700;letter-spacing:-2.5px;line-height:1.1;margin:6px 0;font-variant-numeric:tabular-nums;background:linear-gradient(180deg,#ffffff,#9fe4dc);-webkit-background-clip:text;background-clip:text;color:transparent}.mq .growth{color:var(--mq-teal);font-size:12px;font-family:var(--mq-mono)}.mq .next{border-left:1px solid var(--border);padding-left:32px;align-self:center}.mq .next-value{font-family:var(--mq-mono);font-size:32px;font-weight:700;letter-spacing:-1px;font-variant-numeric:tabular-nums;color:var(--text)}.mq .next-value.boss{color:var(--gold);text-shadow:0 0 22px rgba(255,215,0,.35)}.mq .next p{color:var(--text-muted);margin:6px 0 12px;font-size:12px}.mq .next p b{color:var(--mq-teal);font-weight:700;font-family:var(--mq-mono);font-size:14px}.mq .track{height:8px;border-radius:4px;background:var(--bg-hover);border:1px solid var(--border);overflow:hidden}.mq .track>div{height:100%;width:0;transition:width .6s cubic-bezier(.2,.8,.2,1);background:linear-gradient(90deg,var(--mq-teal-deep),var(--mq-teal));box-shadow:0 0 12px var(--mq-teal-glow)}.mq .track.gold>div{background:linear-gradient(90deg,var(--mq-gold-deep),var(--mq-gold-hi));box-shadow:0 0 12px var(--mq-gold-glow)}.mq .bar-label{display:flex;justify-content:space-between;color:var(--text-muted);font-size:11px;margin-top:7px;font-family:var(--mq-mono);font-variant-numeric:tabular-nums}.mq .bricks-card{background:var(--bg-card);border:1px solid var(--border);border-radius:8px;padding:16px}.mq .bricks-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.mq .bricks-head .pct{font-family:var(--mq-mono);font-size:18px;font-weight:700;color:var(--mq-teal);font-variant-numeric:tabular-nums}.mq .bricks{display:flex;gap:3px;margin:14px 0 8px}.mq .brick{flex:1;height:24px;border-radius:3px;background:var(--bg);border:1px solid var(--border);position:relative;overflow:hidden;transition:.25s}.mq .brick.done{background:linear-gradient(180deg,var(--mq-teal),var(--mq-teal-deep));border-color:var(--mq-teal);box-shadow:0 0 10px var(--mq-teal-glow)}.mq .brick.boss:not(.done){border-color:color-mix(in srgb,var(--gold) 38%,var(--border));background:color-mix(in srgb,var(--gold) 7%,var(--bg))}.mq .brick.boss.done{background:linear-gradient(180deg,var(--mq-gold-hi),var(--mq-gold-deep));border-color:var(--mq-gold-hi);box-shadow:0 0 12px var(--mq-gold-glow)}.mq .brick.cur{border-color:var(--mq-teal);animation:mq-pulse 1.9s infinite}.mq .brick.boss.cur{border-color:var(--gold);animation:mq-pulse-gold 1.9s infinite}.mq .brick .fill{position:absolute;inset:0;width:0;background:linear-gradient(90deg,rgba(62,224,208,.85),rgba(62,224,208,.4));transition:width .6s cubic-bezier(.2,.8,.2,1)}.mq .brick.boss .fill{background:linear-gradient(90deg,rgba(255,215,0,.8),rgba(255,215,0,.35))}@keyframes mq-pulse{0%,to{box-shadow:0 0 0 0 var(--mq-teal-glow)}50%{box-shadow:0 0 0 5px rgba(62,224,208,0)}}@keyframes mq-pulse-gold{0%,to{box-shadow:0 0 0 0 var(--mq-gold-glow)}50%{box-shadow:0 0 0 5px rgba(255,215,0,0)}}.mq .section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.mq .section-heading>.muted{font-size:12px;font-family:var(--mq-mono);font-variant-numeric:tabular-nums}.mq .map-section{padding:20px 0 16px}.mq .world{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));margin-top:22px;position:relative;gap:0}.mq .world:before{content:"";position:absolute;height:2px;background:var(--border);left:7%;right:7%;top:24px;border-radius:1px}.mq .world button{z-index:1;border:0;background:transparent;color:var(--text-muted);padding:0 4px 8px;display:flex;flex-direction:column;align-items:center;gap:8px;border-radius:6px}.mq .world button:hover{background:var(--bg-hover)}.mq .world .seal{width:48px;height:48px;display:grid;place-items:center;border:2px solid var(--border);background:var(--bg);border-radius:50%;font-family:var(--mq-mono);font-size:15px;font-weight:700;color:var(--text-muted);font-variant-numeric:tabular-nums;transition:.2s}.mq .world button.done .seal{background:linear-gradient(180deg,var(--mq-teal),var(--mq-teal-deep));border-color:var(--mq-teal);color:#04231f;box-shadow:0 0 18px rgba(62,224,208,.45)}.mq .world button.current .seal{border-color:var(--mq-teal);color:var(--mq-teal);background:rgba(62,224,208,.1);transform:scale(1.1);animation:mq-pulse 1.9s infinite}.mq .world button.finale:not(.done) .seal{color:var(--gold);border-color:var(--gold)}.mq .world button.finale.current .seal{animation:mq-pulse-gold 1.9s infinite}.mq .world button.finale.done .seal{background:linear-gradient(180deg,var(--mq-gold-hi),var(--mq-gold-deep));border-color:var(--mq-gold-hi);color:#2b2100;box-shadow:0 0 22px var(--mq-gold-glow)}.mq .world button[aria-pressed=true] .seal{outline:3px solid var(--bg-hover);outline-offset:2px}.mq .world .world-name{font-size:12px;margin-top:3px;font-weight:500}.mq .world button.current .world-name,.mq .world button.done .world-name{color:var(--text)}.mq .world .world-value{color:var(--text);font-family:var(--mq-mono);font-size:11.5px;font-variant-numeric:tabular-nums;white-space:nowrap}.mq .world .world-value .arrow{color:var(--text-muted)}.mq .world .world-state{font-size:11px}.mq .world button.current .world-state{color:var(--mq-teal);font-weight:700}.mq .world button.done .world-state{color:var(--mq-teal)}.mq .map-caption{display:flex;justify-content:space-between;gap:16px;color:var(--text-muted);font-size:11px;margin-top:14px}.mq .chapter-panel{background:var(--bg-card);border:1px solid var(--border);border-radius:8px;padding:16px}.mq .chapter-range{color:var(--text-muted);font-size:12px;font-family:var(--mq-mono);font-variant-numeric:tabular-nums}.mq .levels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.mq .level{padding:16px 14px;border-radius:6px;border:1px solid var(--border);background:var(--bg);transition:.2s}.mq .level.done{border-color:color-mix(in srgb,var(--mq-teal) 45%,var(--border));background:linear-gradient(180deg,rgba(62,224,208,.06),var(--bg))}.mq .level.active{border-color:var(--mq-teal);background:linear-gradient(180deg,rgba(62,224,208,.12),var(--bg));box-shadow:0 0 20px rgba(62,224,208,.16)}.mq .level.boss{border-color:color-mix(in srgb,var(--gold) 45%,var(--border))}.mq .level.boss.done{background:linear-gradient(180deg,rgba(255,215,0,.08),var(--bg));border-color:color-mix(in srgb,var(--gold) 70%,var(--border))}.mq .level.boss.active{border-color:var(--gold);background:linear-gradient(180deg,rgba(255,215,0,.12),var(--bg));box-shadow:0 0 20px rgba(255,215,0,.18)}.mq .level-label{font-size:12px;color:var(--text-muted);display:flex;justify-content:space-between;font-weight:500}.mq .level.boss .level-label{color:var(--gold)}.mq .level-value{font-family:var(--mq-mono);font-size:26px;font-weight:700;letter-spacing:-1px;margin:14px 0 8px;font-variant-numeric:tabular-nums}.mq .level.done .level-value{color:var(--mq-teal)}.mq .level.active .level-value{color:#fff;text-shadow:0 0 24px rgba(62,224,208,.5)}.mq .level.boss.active .level-value{color:var(--mq-gold-hi);text-shadow:0 0 24px rgba(255,215,0,.45)}.mq .level-status{color:var(--text-muted);font-size:11px;font-family:var(--mq-mono)}.mq .level.done .level-status{color:var(--mq-teal)}.mq .level.active .level-status{color:var(--mq-teal);font-weight:700}.mq .level.boss.active .level-status{color:var(--gold)}.mq .chapter-note{font-size:11px;color:var(--text-muted);margin:14px 0 0}.mq .bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;padding:24px 0}.mq .metric-head{display:flex;justify-content:space-between;gap:12px;margin:18px 0 8px;font-size:12px}.mq .metric-head strong{font-family:var(--mq-mono);font-size:17px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--mq-teal)}.mq .metric-head.gold strong{color:var(--gold)}.mq .history-panel{border-left:1px solid var(--border);padding-left:28px}.mq .record-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--border);font-size:13px}.mq .record-row small{display:block;color:var(--text-muted);font-size:11px;margin-top:4px;font-family:var(--mq-mono)}.mq .record-row strong{font-family:var(--mq-mono);font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}.mq .record-amount{display:flex;align-items:center;gap:10px}.mq .record-del{border:0;background:transparent;color:transparent;font-size:14px;padding:2px 6px;border-radius:4px;line-height:1.4}.mq .record-row:hover .record-del{color:var(--text-muted)}.mq .record-del.arm,.mq .record-del:hover{color:var(--red);background:var(--bg-hover)}.mq .record-del.arm{font-size:11px}.mq .empty-log{padding:16px 0;color:var(--text-muted);font-size:13px;line-height:1.8}.mq footer{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid var(--border);padding:16px 0 0;color:var(--text-muted);font-size:11px}.mq-dialog{margin:auto;width:min(420px,calc(100% - 32px));padding:20px;border:1px solid var(--border);border-radius:8px;background:var(--bg-card);color:var(--text);box-shadow:0 24px 70px rgba(0,0,0,.6)}.mq-dialog::backdrop{background:rgba(0,0,0,.6);backdrop-filter:blur(3px)}.mq-dialog h2{font-size:15px;font-weight:600;margin:0}.mq-dialog p{font-size:12px;line-height:1.6;margin:0}.mq-dialog .muted{color:var(--text-muted)}.mq-dialog .small{font-size:11px}.mq-dialog .section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.mq-dialog .close{border:0;background:transparent;color:var(--text-muted);font-size:20px;width:28px;height:28px;border-radius:4px;cursor:pointer;line-height:1}.mq-dialog .close:hover{color:var(--text);background:var(--bg-hover)}.mq-dialog label{display:block;margin:16px 0 6px;font-size:12px;color:var(--text-muted)}.mq-dialog input{width:100%;background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:4px;padding:10px 12px;font-family:ui-monospace,SF Mono,SFMono-Regular,Menlo,monospace;font-size:22px;font-variant-numeric:tabular-nums}.mq-dialog input:focus{outline:none;border-color:var(--mq-teal);box-shadow:0 0 0 3px rgba(62,224,208,.14)}.mq-dialog input.note-input{font-size:13px;font-family:inherit}.mq-dialog .primary{border:0;border-radius:4px;padding:9px 14px;min-height:36px;cursor:pointer;background:var(--blue);color:#fff;font-size:13px;font-weight:500}.mq-dialog .primary:hover{opacity:.9}.mq-dialog .primary:disabled{opacity:.5;cursor:default}.mq-dialog .full{width:100%;margin-top:16px}.mq-dialog .form-error{color:var(--red);margin-top:10px;font-size:12px}.mq-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);background:var(--bg-card);color:var(--text);border:1px solid var(--mq-teal);border-left-width:3px;padding:10px 16px;border-radius:6px;box-shadow:0 8px 32px rgba(0,0,0,.5),0 0 20px rgba(62,224,208,.15);z-index:60;font-size:13px;animation:mq-arrive .25s ease}.mq-toast.milestone{border-color:var(--gold);box-shadow:0 8px 32px rgba(0,0,0,.5),0 0 20px rgba(255,215,0,.2)}@keyframes mq-arrive{0%{opacity:0;bottom:12px}to{opacity:1;bottom:24px}}.mq-fx{z-index:90}.mq-celebrate,.mq-fx{position:fixed;inset:0;pointer-events:none}.mq-celebrate{z-index:95;display:flex;align-items:center;justify-content:center;text-align:center;background:radial-gradient(circle at center,rgba(62,224,208,.1),rgba(0,0,0,.72))}.mq-celebrate.boss{background:radial-gradient(circle at center,rgba(255,215,0,.13),rgba(0,0,0,.75))}.mq-celebrate .in{animation:mq-pop .45s cubic-bezier(.2,1.4,.4,1)}@keyframes mq-pop{0%{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}.mq-celebrate .big{font-family:var(--mq-mono);font-size:58px;font-weight:800;letter-spacing:4px;color:var(--mq-teal);text-shadow:0 0 40px rgba(62,224,208,.7)}.mq-celebrate.boss .big{color:var(--gold);text-shadow:0 0 44px rgba(255,215,0,.75)}.mq-celebrate .sub{font-family:var(--mq-mono);font-size:18px;color:#fff;margin-top:12px;font-variant-numeric:tabular-nums}@media (max-width:900px){.mq .overview-values{gap:24px}.mq .next{padding-left:20px}.mq .balance{font-size:44px;letter-spacing:-2px}.mq .levels{grid-template-columns:repeat(2,minmax(0,1fr))}.mq .world{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:16px}.mq .world:before{display:none}.mq .bottom-grid{gap:20px}.mq .history-panel{padding-left:20px}.mq .brick{height:20px}}@media (max-width:600px){.mq-inner{padding:12px 12px 80px}.mq header{gap:10px;padding-bottom:12px}.mq .local-label{display:none}.mq header .primary{margin-left:auto;padding:8px 12px}.mq .brand-title,.mq h1{font-size:17px}.mq .overview{padding-top:18px}.mq .bottom-grid,.mq .overview-values{grid-template-columns:1fr;gap:20px}.mq .next{padding:18px 0 0;border-left:0;border-top:1px solid var(--border)}.mq .balance{font-size:44px}.mq .next-value{font-size:26px}.mq .world .world-name{font-size:11px}.mq .world .world-value{font-size:10.5px}.mq .world .seal{width:40px;height:40px;font-size:13px}.mq .bricks-card,.mq .chapter-panel{padding:14px 12px}.mq .level-value{font-size:22px}.mq .bricks{gap:2px}.mq .brick{height:26px;border-radius:2px}.mq .history-panel{padding:18px 0 0;border-left:0;border-top:1px solid var(--border)}.mq .map-caption{flex-direction:column;gap:4px}.mq .record-del{color:var(--text-muted)}.mq-celebrate .big{font-size:36px;letter-spacing:2px}.mq-celebrate .sub{font-size:14px}}@media (prefers-reduced-motion:reduce){.mq *,.mq :after,.mq :before{animation:none!important;transition:none!important}}