/* NEXORIAMU THE MAGIC CALENDAR 2026 · isolated UI, no external images */
.nxmc-launcher,.nxmc-overlay,.nxmc-overlay *,.nxmc-launcher *{box-sizing:border-box}
.nxmc-launcher{position:fixed;right:clamp(12px,2.2vw,32px);bottom:calc(19px + env(safe-area-inset-bottom,0px));z-index:1200;display:flex;align-items:center;gap:10px;width:min(288px,calc(100vw - 30px));min-height:69px;border:1px solid #bf975d;border-radius:12px;padding:10px 12px;color:#f7e5bb;background:linear-gradient(145deg,rgba(23,47,61,.97),rgba(4,17,33,.97));box-shadow:0 10px 40px #01060fcc,inset 0 0 0 1px #c7a77322;cursor:pointer;letter-spacing:1px;text-align:left;transition:transform .2s,border-color .2s}
.nxmc-launcher:hover{transform:translateY(-3px);border-color:#ffe4a0}
.nxmc-launcher:focus-visible,.nxmc-close:focus-visible,.nxmc-day:focus-visible,.nxmc-claim:focus-visible{outline:2px solid #ffdc91;outline-offset:3px}
.nxmc-launcher-rune{display:grid;place-items:center;flex:0 0 43px;height:43px;border:1px solid #cba76c88;background:radial-gradient(circle,#bc925b31,#030a17);border-radius:8px;color:#f2dba1;font:29px Georgia,serif;box-shadow:inset 0 0 12px #d2ad6d22}
.nxmc-launcher-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.nxmc-launcher-copy strong{font:700 .76rem 'Cinzel',Georgia,serif;white-space:nowrap}
.nxmc-launcher-copy small{font:800 .60rem Inter,Arial,sans-serif;color:#9cbfce;letter-spacing:1.2px}
.nxmc-launcher-date{flex:0 0 auto;padding:5px 7px;border:1px solid #bfa06455;border-radius:5px;color:#e3c184;font:800 .53rem Inter,sans-serif;text-align:center}
.nxmc-overlay[hidden]{display:none!important}
.nxmc-overlay{position:fixed;inset:0;z-index:30000;background:rgba(1,7,18,.88);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);display:grid;place-items:center;padding:24px 12px;overflow:auto;overscroll-behavior:contain}
.nxmc-dialog{font-family:Inter,Arial,sans-serif;position:relative;isolation:isolate;width:min(1030px,100%);max-height:min(92dvh,1000px);overflow:auto;overscroll-behavior:contain;border:1px solid #bd9259;border-radius:18px;color:#e8edf0;background:linear-gradient(160deg,#092136,#030d20 75%);box-shadow:0 30px 95px #000d,inset 0 0 0 3px #2d4b552b;scrollbar-width:thin;scrollbar-color:#b89a6e #061a2e}
.nxmc-dialog::before,.nxmc-dialog::after{position:absolute;top:0;content:'❄';color:#aacbd7;font-size:24px;opacity:.7;pointer-events:none}
.nxmc-dialog::before{left:16px}.nxmc-dialog::after{right:16px}
.nxmc-header{padding:35px 30px 24px;position:relative;text-align:center;border-bottom:1px solid #d6a86b40;background:radial-gradient(ellipse at 50% 0,#55809529,transparent 67%),linear-gradient(180deg,#102b3c,#071b2e)}
.nxmc-eyebrow{display:block;color:#b5cfd2;font-size:.61rem;letter-spacing:3px;font-weight:800}
.nxmc-sigil{font:29px Georgia,serif;color:#ead19b;margin:8px 0 -4px;text-shadow:0 0 16px #d09c5366}
.nxmc-header h2{font:700 clamp(1.7rem,4vw,2.7rem) 'Cinzel',Georgia,serif;color:#f5e8cb;letter-spacing:.7px;margin:4px 0 10px;text-shadow:0 2px 12px #000}
.nxmc-header p{max-width:630px;color:#b5c7cf;font-size:.83rem;line-height:1.65;margin:0 auto 15px}
.nxmc-dates{display:flex;align-items:center;justify-content:center;gap:18px;color:#e7c88e;font-size:.65rem;letter-spacing:1.1px;font-weight:800}
.nxmc-close{position:absolute;right:12px;top:10px;display:grid;place-items:center;width:40px;height:40px;border:1px solid #d0b17d66;border-radius:9px;background:#0b2434;color:#ebdbb9;font-size:27px;cursor:pointer;z-index:5}
.nxmc-close:hover{background:#284156}
.nxmc-shell{padding:23px clamp(15px,3vw,36px) 18px}
.nxmc-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 14px}
.nxmc-toolbar>div{display:flex;flex-direction:column;gap:5px}
.nxmc-subtitle{color:#86aeba;font-size:.59rem;font-weight:800;letter-spacing:2px}
.nxmc-toolbar strong{font:700 1.18rem 'Cinzel',Georgia,serif;color:#f1deb4}
.nxmc-season-state{border:1px solid #b7946380;border-radius:6px;padding:7px 10px;color:#e9cb91;background:#cc9f6220;font-size:.61rem;font-weight:800;letter-spacing:1.1px;text-transform:uppercase}
.nxmc-days{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:8px;margin:0 0 22px}
.nxmc-day{min-width:0;min-height:80px;padding:9px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid #8baab137;background:linear-gradient(155deg,#102a3b,#081628);border-radius:9px;color:#e5e9eb;cursor:pointer;transition:transform .18s,border-color .18s,background .18s}
.nxmc-day:hover{transform:translateY(-2px);border-color:#dbb678aa}
.nxmc-day.is-selected{border-color:#e2be7e;background:linear-gradient(160deg,#433921,#172337);box-shadow:inset 0 0 0 1px #e2be7e22}
.nxmc-day.is-today{box-shadow:0 0 0 1px #6bc3d966}
.nxmc-day.is-locked{color:#8c9aaa;background:#091727}
.nxmc-day.is-claimed{border-color:#87c0a088}
.nxmc-day-number{font:700 1.55rem 'Cinzel',Georgia,serif;line-height:1}
.nxmc-day-month{font-size:.56rem;color:#95b8bf;letter-spacing:1px;font-weight:800}
.nxmc-day-mark{font-size:.58rem;letter-spacing:.5px;color:#d8bc83;font-weight:800}
.nxmc-day.is-claimed .nxmc-day-mark{color:#85d8ae}
.nxmc-detail{border:1px solid #ad8f6366;border-radius:12px;padding:clamp(16px,2.5vw,26px);background:radial-gradient(ellipse at 75% -30%,#1b53612e,transparent 65%),#06182b}
.nxmc-day-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}
.nxmc-day-title small{font-size:.60rem;letter-spacing:1.8px;font-weight:800;color:#9ebfcb}
.nxmc-day-title h3{font:700 clamp(1.1rem,2.6vw,1.55rem) 'Cinzel',Georgia,serif;color:#f2dcaa;margin:6px 0 0}
.nxmc-goal-count{white-space:nowrap;color:#dcc28e;border:1px solid #b5905759;border-radius:6px;padding:6px 9px;font-size:.62rem;font-weight:800}
.nxmc-description{margin:0 0 18px;color:#adc5ce;font-size:.79rem;line-height:1.55}
.nxmc-progress-top{display:flex;justify-content:space-between;font-size:.61rem;letter-spacing:1px;color:#a3c6d3;font-weight:800;margin-bottom:8px}
.nxmc-progress-top strong{color:#e1c489}
.nxmc-progress-track{height:9px;border-radius:10px;background:#030e1a;border:1px solid #748e9640;overflow:hidden;margin-bottom:19px}
.nxmc-progress-track>span{display:block;width:0;height:100%;border-radius:9px;background:linear-gradient(90deg,#5eabba,#e5c280);transition:width .35s}
.nxmc-quests{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.nxmc-quest{position:relative;min-width:0;display:flex;align-items:flex-start;gap:11px;border:1px solid #48677d70;border-radius:9px;padding:13px;background:linear-gradient(140deg,#102438,#091727)}
.nxmc-quest.is-done{border-color:#71ae8e80;background:#102c2b}
.nxmc-quest-icon{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:8px;background:#bc9d6422;border:1px solid #bd995a55;color:#ebd39b;font-size:16px}
.nxmc-quest-bits{flex:1;min-width:0}
.nxmc-quest-bits strong{display:block;font-size:.76rem;color:#e4e8e8;line-height:1.35}
.nxmc-quest-bits p{font-size:.66rem;line-height:1.45;color:#a4b7c3;margin:4px 0 9px}
.nxmc-quest-meter{height:5px;border-radius:8px;background:#04101b;overflow:hidden}
.nxmc-quest-meter i{display:block;height:100%;background:#b6a279;border-radius:8px}
.nxmc-quest.is-done .nxmc-quest-meter i{background:#67c99b}
.nxmc-quest-count{font-size:.61rem;font-weight:800;color:#e3bd82;margin-top:5px;text-align:right}
.nxmc-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:19px;margin-top:13px;border-top:1px solid #b9a17b30}
.nxmc-reward{display:flex;flex-direction:column;gap:5px}
.nxmc-reward span{font-size:.59rem;letter-spacing:1.1px;color:#9bb7bf;font-weight:800}
.nxmc-reward strong{font:700 1.2rem 'Cinzel',Georgia,serif;color:#f2c980}
.nxmc-claim{min-height:44px;padding:10px 17px;border:1px solid #ffe1a5;border-radius:7px;background:linear-gradient(180deg,#edce8f,#a8793a);color:#16120b;font-size:.70rem;font-weight:900;cursor:pointer}
.nxmc-claim:disabled{background:#273844;border-color:#556671;color:#9aabb5;cursor:not-allowed}
.nxmc-notice{font-size:.66rem;line-height:1.5;color:#96bac7;margin:15px 0 0}
.nxmc-footer{text-align:center;padding:15px;border-top:1px solid #ab8a513b;color:#af9e7a;font-size:.58rem;letter-spacing:1.8px}
body.nxmc-modal-open{overflow:hidden!important}
@media(max-width:800px){.nxmc-days{grid-template-columns:repeat(6,minmax(0,1fr))}.nxmc-quests{grid-template-columns:1fr}}
@media(max-width:510px){.nxmc-launcher{bottom:calc(10px + env(safe-area-inset-bottom,0px));right:10px;min-height:57px;width:202px;padding:7px;gap:7px}.nxmc-launcher-rune{height:35px;flex-basis:35px;font-size:22px}.nxmc-launcher-copy strong{font-size:.59rem}.nxmc-launcher-copy small{font-size:.48rem}.nxmc-launcher-date{display:none}.nxmc-overlay{padding:6px}.nxmc-dialog{max-height:calc(100dvh - 12px);border-radius:12px}.nxmc-header{padding:37px 15px 21px}.nxmc-eyebrow{font-size:.5rem;letter-spacing:1.3px}.nxmc-header p{font-size:.72rem}.nxmc-dates{font-size:.57rem;gap:9px}.nxmc-shell{padding:14px 11px}.nxmc-days{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.nxmc-day{min-height:61px;padding:6px 2px;border-radius:6px}.nxmc-day-number{font-size:1.23rem}.nxmc-day-month{font-size:.44rem}.nxmc-day-mark{font-size:.49rem}.nxmc-detail{padding:13px}.nxmc-bottom{align-items:stretch;flex-direction:column}.nxmc-claim{width:100%}.nxmc-day-title h3{font-size:1.0rem}.nxmc-goal-count{font-size:.50rem;padding:5px}.nxmc-close{top:5px;right:5px}}
@media(prefers-reduced-motion:reduce){.nxmc-launcher,.nxmc-day,.nxmc-progress-track>span{transition:none!important}}
