

/* NEXUS // 24 DAYS OF SIGNAL | standalone browser lab only */
#nxc-room .nxc-main{position:relative}
#nxc-room #adv-tab{color:#f5e1b1;letter-spacing:0}
#nxc-room #adv-tab.active{color:#ffebbb}
#nxc-room #adv-overlay{position:absolute;inset:0;z-index:28;background:linear-gradient(135deg,#101b1a,#0a1215 65%);display:grid;grid-template-columns:minmax(0,1fr) 310px;min-height:0;overflow:hidden}
#nxc-room #adv-overlay.hidden{display:none!important}
#adv-overlay .adv-left{min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid #57604d;position:relative;background:radial-gradient(ellipse at 50% 120%,#283e37 0%,transparent 60%),repeating-linear-gradient(0deg,transparent 0 34px,#e4e5b804 35px),linear-gradient(#101e1d,#0c1717)}
#adv-overlay .adv-top{padding:20px 23px 12px;border-bottom:1px solid #495648;display:flex;gap:13px;justify-content:space-between;align-items:center}
#adv-overlay .adv-overline{font-size:10px;color:#afbcaa;letter-spacing:.17em}
#adv-overlay h2{margin:5px 0 3px;font-size:25px;letter-spacing:.075em;line-height:1.2;color:#f3da9b;text-shadow:0 0 14px #f1b96327}
#adv-overlay .adv-subline{font-size:11px;color:#94a99d;line-height:1.45}
#adv-overlay .adv-topright{display:flex;flex-direction:column;align-items:end;gap:8px}
#adv-overlay .adv-topright button{white-space:nowrap;font-size:11px;padding:7px 10px}
#adv-overlay .adv-strand{height:14px;position:relative;flex-shrink:0;background:linear-gradient(180deg,transparent,#26423612)}
#adv-overlay .adv-strand:before{content:'';position:absolute;left:20px;right:20px;top:0;border-top:1px solid #9e7e46;transform:skewY(-.3deg)}
#adv-overlay .adv-strand i{position:absolute;top:1px;width:7px;height:7px;border-radius:50%;background:var(--bulb);box-shadow:0 0 8px var(--bulb);animation:adv-twinkle 2.4s alternate infinite;animation-delay:var(--delay)}
@keyframes adv-twinkle{from{opacity:.40;box-shadow:0 0 3px var(--bulb)}to{opacity:1;box-shadow:0 0 11px var(--bulb)}}
#adv-overlay .adv-calendar-metrics{display:flex;gap:13px;justify-content:space-between;padding:9px 20px 5px;color:#b4c2af;font-size:10px;letter-spacing:.06em}
#adv-overlay .adv-calendar-metrics b{color:#f5dca8}
#adv-overlay .adv-calendar{padding:8px 20px 16px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(4,minmax(65px,1fr));gap:9px;min-height:0;flex:1;overflow:auto}
#nxc-room #adv-overlay .adv-door{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:7px 2px;background:linear-gradient(135deg,#283a33 0%,#15231f 48%,#1a2923 100%);border:1px solid #617261;color:#d8cfa8;box-shadow:inset 0 0 0 2px #152320,inset 0 2px 12px #0006;transition:transform .15s,border-color .15s,filter .15s}
#nxc-room #adv-overlay .adv-door:hover{transform:translateY(-2px);border-color:#e3c176;filter:brightness(1.15)}
#nxc-room #adv-overlay .adv-door:focus-visible{outline:2px solid #fff0b5;outline-offset:2px}
#adv-overlay .adv-door:before{content:'';position:absolute;top:5px;bottom:5px;left:5px;right:5px;border:1px solid #98875830;pointer-events:none}
#adv-overlay .adv-door.selected{border-color:#f5cb82;box-shadow:0 0 13px #c8a66b29,inset 0 0 0 1px #d1ad6d5e}
#adv-overlay .adv-door.available{background:linear-gradient(135deg,#36482f,#254235 48%,#2d3528);border-color:#b79659}
#adv-overlay .adv-door.available:after{content:'';position:absolute;inset:-30%;background:linear-gradient(115deg,transparent 39%,#ffd99014 50%,transparent 61%);animation:adv-sheen 4.2s linear infinite;pointer-events:none}
@keyframes adv-sheen{from{transform:translateX(-55%)}to{transform:translateX(60%)}}
#adv-overlay .adv-door.claimed{background:linear-gradient(140deg,#1f3f34,#15372d);border-color:#4f967c}
#adv-overlay .adv-door.locked{color:#7b8b80;background:linear-gradient(125deg,#192522,#101918);border-color:#39483f;filter:saturate(.5)}
#adv-overlay .adv-door .adv-day{font:700 25px Georgia,serif;position:relative;z-index:2;color:#edcf90;line-height:1}
#adv-overlay .adv-door.locked .adv-day{color:#86968c}
#adv-overlay .adv-door .adv-symbol{position:relative;z-index:2;font-size:14px;color:#d4aa70;height:16px;line-height:16px}
#adv-overlay .adv-door .adv-status{position:relative;z-index:2;font-size:8px;letter-spacing:.09em;color:#a6b2a5}
#adv-overlay .adv-door.available .adv-status{color:#f9e5a8}
#adv-overlay .adv-door.claimed .adv-status{color:#9cddbd}
#adv-overlay .adv-door.finale .adv-day{color:#ffdb80}
#adv-overlay .adv-door.finale{border-color:#aa8948}
#adv-overlay .adv-bottom{padding:11px 20px;border-top:1px solid #45594e;color:#98aa9e;font-size:10px;letter-spacing:.04em;line-height:1.5;display:flex;justify-content:space-between;gap:16px}
#adv-overlay .adv-right{min-width:0;min-height:0;overflow:auto;padding:16px 18px;background:linear-gradient(125deg,#182523,#131c1d);display:flex;flex-direction:column;gap:15px;scrollbar-color:#607367 #151f1f}
#adv-overlay .adv-small-label{font-size:10px;color:#adbea9;letter-spacing:.15em;text-transform:uppercase}
#adv-overlay .adv-preview-date{width:100%;padding:9px 10px;background:#13211f;color:#f6dfae;border:1px solid #60745e;font-size:12px}
#adv-overlay .adv-info{border:1px solid #526c5b;padding:13px;background:linear-gradient(135deg,#1e302b,#14221f);min-height:184px;position:relative}
#adv-overlay .adv-info .adv-door-number{font-size:35px;color:#e8cd8a;font-family:Georgia,serif;line-height:1.1}
#adv-overlay .adv-info h3{margin:7px 0;font-size:15px;color:#f0deb0}
#adv-overlay .adv-info p{font-size:11px;line-height:1.6;color:#a9b7a9;margin:8px 0 12px}
#adv-overlay .adv-action-btn{width:100%;min-height:39px;border-color:#a38b59!important;background:linear-gradient(#496653,#2b443c)!important;color:#fff3c8!important;letter-spacing:.055em;font-weight:bold}
#adv-overlay .adv-action-btn:disabled{opacity:.44;background:#24342c!important}
#adv-overlay .adv-claim-hint{font-size:10px;color:#b4bca8;line-height:1.5;min-height:26px}
#adv-overlay .adv-log{border-top:1px solid #46584e;padding-top:11px;display:flex;flex-direction:column;gap:7px}
#adv-overlay .adv-cache{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
#adv-overlay .adv-cache div{border:1px solid #47584d;background:#101c1b;padding:8px 9px}
#adv-overlay .adv-cache b{font-size:15px;display:block;color:#dfe7bf;margin-top:2px}
#adv-overlay .adv-history{font-size:10px;line-height:1.6;max-height:100px;overflow:auto;color:#a9baab}
#adv-overlay .adv-mini-actions{display:flex;gap:6px}
#adv-overlay .adv-mini-actions button{font-size:10px;padding:7px 8px;flex:1}
#adv-overlay .adv-reveal-cover{position:absolute;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;background:#07100feb;backdrop-filter:blur(5px)}
#adv-overlay .adv-reveal-cover.hidden{display:none!important}
#adv-overlay .adv-reveal-card{position:relative;width:min(420px,90%);padding:28px 26px;background:radial-gradient(ellipse at top,#2f4e3e,#12231e 75%);border:1px solid #e2be79;box-shadow:0 15px 60px #000e,0 0 60px #b9ac582a;text-align:center;overflow:hidden}
#adv-overlay .adv-reveal-card:before{content:'';position:absolute;inset:-100%;background:conic-gradient(from 50deg,transparent 0deg,#e9cf5f1e 15deg,transparent 32deg,transparent 70deg,#e9cf5f15 90deg,transparent 120deg);animation:adv-sun 9s linear infinite}
@keyframes adv-sun{to{transform:rotate(360deg)}}
#adv-overlay .adv-reveal-card>*{position:relative;z-index:2}
#adv-overlay .adv-reveal-emblem{width:95px;height:95px;display:flex;align-items:center;justify-content:center;margin:14px auto 18px;border:1px solid #d4ad6d90;border-radius:15px;background:#0a1918ad;box-shadow:0 0 45px #fbdb9262;animation:adv-pop .50s cubic-bezier(.2,1.6,.3,1) both;color:#f1dc9b;font-size:42px}
@keyframes adv-pop{from{transform:scale(.25) rotate(-12deg);opacity:0}to{transform:scale(1) rotate(0);opacity:1}}
#adv-overlay .adv-reveal-card h3{color:#ffdfa1;font-size:20px;margin:10px 0}
#adv-overlay .adv-reveal-card p{font-size:12px;line-height:1.7;color:#c6d2c6}
#adv-overlay .adv-reveal-card .adv-footnote{font-size:10px;color:#a6baae;margin-top:12px}
#adv-overlay .adv-reveal-card button{margin-top:18px;min-width:170px;background:#355847!important;border-color:#b6a269!important;color:#f9e8c9!important}
#adv-overlay .adv-asset{width:65px;height:65px;object-fit:contain;image-rendering:pixelated}
#adv-overlay .adv-reveal-cover.type-cr .adv-reveal-emblem{color:#ffdf76;box-shadow:0 0 45px #ffc96677;animation:adv-credit-pour .8s ease-out}
#adv-overlay .adv-reveal-cover.type-bits .adv-reveal-emblem{color:#91daec;box-shadow:0 0 45px #6dcbec77;animation:adv-bit-pulse 1.5s ease-in-out infinite alternate}
#adv-overlay .adv-reveal-cover.type-pack .adv-reveal-emblem{color:#e9cbff;box-shadow:0 0 45px #b485d877;animation:adv-pack-flip .65s ease-out both}
#adv-overlay .adv-reveal-cover.type-recharge .adv-reveal-emblem{color:#90ffad;box-shadow:0 0 45px #75d89b77;animation:adv-bit-pulse 1.7s ease-in-out infinite alternate}
#adv-overlay .adv-reveal-cover.type-key .adv-reveal-emblem{color:#ffb8e1;box-shadow:0 0 45px #e379d077;animation:adv-bit-pulse 1.3s ease-in-out infinite alternate}
#adv-overlay .adv-reveal-cover.type-trinket .adv-reveal-emblem{color:#d9a3fb;box-shadow:0 0 48px #b471ec77;animation:adv-orbit 2.8s ease-in-out infinite}
#adv-overlay .adv-reveal-cover.type-finale .adv-reveal-emblem{color:#ffe9ae;box-shadow:0 0 70px #ffb867aa;animation:adv-orbit 2.0s ease-in-out infinite}
@keyframes adv-credit-pour{from{transform:translateY(-40px) scale(.65);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}
@keyframes adv-bit-pulse{from{transform:scale(.94);filter:brightness(.7)}to{transform:scale(1.08);filter:brightness(1.4)}}
@keyframes adv-pack-flip{from{transform:perspective(150px) rotateY(90deg) scale(.7);opacity:0}to{transform:perspective(150px) rotateY(0) scale(1);opacity:1}}
@keyframes adv-orbit{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-8px) rotate(5deg)}}
@media(max-width:850px){#nxc-room #adv-overlay{grid-template-columns:minmax(0,1fr) 252px}#adv-overlay .adv-calendar{gap:5px;padding:6px 10px}#adv-overlay .adv-top{padding:10px 13px}#adv-overlay h2{font-size:21px}#adv-overlay .adv-right{padding:12px}}
@media(max-width:650px){#nxc-room #adv-overlay{display:flex;flex-direction:column;overflow:auto}#adv-overlay .adv-left{min-height:465px;flex-shrink:0}#adv-overlay .adv-right{min-height:350px;flex-shrink:0}#adv-overlay .adv-calendar{min-height:305px}#adv-overlay .adv-topright{gap:5px}}
@media(prefers-reduced-motion:reduce){#adv-overlay *,#adv-overlay *:before,#adv-overlay *:after{animation:none!important;transition:none!important}}



/* NEXUS Advent Lab v0.2 // 24 authentic NEXUS creature/motif door faces */
#adv-overlay .adv-calendar{gap:8px;padding:10px 19px 14px;grid-template-rows:repeat(4,minmax(78px,1fr))}
#nxc-room #adv-overlay .adv-door{position:relative;display:block;min-height:0;padding:0;border:1px solid #637b68;background:#0a1514;overflow:hidden;isolation:isolate;transition:border-color .16s,transform .16s,box-shadow .16s;transform:translateZ(0)}
#nxc-room #adv-overlay .adv-door:before{content:none}
#nxc-room #adv-overlay .adv-door:after{content:none}
#nxc-room #adv-overlay .adv-door:hover{transform:translateY(-3px);border-color:#f6d58e;filter:none;box-shadow:0 5px 16px #0008,0 0 18px #d8bc5f25}
#nxc-room #adv-overlay .adv-door.selected{border-color:#f6ca75;box-shadow:0 0 0 1px #e6b66366,0 0 17px #d7b66330}
#nxc-room #adv-overlay .adv-door.claimed{border-color:#497f6d}
#nxc-room #adv-overlay .adv-door.locked{filter:none;border-color:#394940}
#adv-overlay .adv-door-front{position:absolute;inset:0;display:block;overflow:hidden;background:radial-gradient(ellipse at 68% 50%,#2a423540 0%,#1c302e00 65%),linear-gradient(140deg,#1b312a,#0c1817 65%,#131f1b);box-shadow:inset 0 0 0 4px #0e1917,inset 0 0 0 5px #8b9a7144;transform-style:preserve-3d}
#adv-overlay .adv-door-front:before{content:'';position:absolute;inset:8px;border:1px solid #a99b6861;pointer-events:none;z-index:5}
#adv-overlay .adv-door-front:after{content:'';position:absolute;inset:0;pointer-events:none;z-index:5;background:repeating-linear-gradient(0deg,#dceaba05 0 1px,transparent 1px 6px);opacity:.32}
#adv-overlay .adv-door-corner{position:absolute;z-index:7;width:11px;height:11px;border-color:#c4a972;border-style:solid;opacity:.58}
#adv-overlay .adv-door-corner.a{top:8px;left:8px;border-width:1px 0 0 1px}
#adv-overlay .adv-door-corner.b{bottom:8px;right:8px;border-width:0 1px 1px 0}
#adv-overlay .adv-art-plate{position:absolute;inset:4px 2px 8px 35%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(ellipse at 50% 55%,#3855463c 0%,transparent 70%);z-index:1}
#adv-overlay .adv-art-plate:before{content:'';position:absolute;width:78px;height:78px;border:1px solid #d4bc7940;transform:rotate(45deg) scale(.75);border-radius:18px;box-shadow:0 0 26px #e2c97516;opacity:.75}
#adv-overlay .adv-door-art{position:relative;z-index:2;display:block;max-width:86%;width:auto;height:76%;max-height:90px;object-fit:contain;image-rendering:auto;filter:drop-shadow(0 4px 8px #000b) brightness(1.15);opacity:.86;mix-blend-mode:screen;transition:transform .2s,opacity .2s,filter .2s}
#adv-overlay .adv-door:hover .adv-door-art{transform:translateY(-2px) scale(1.09);filter:drop-shadow(0 3px 11px #000) brightness(1.42);opacity:1}
#adv-overlay .adv-door-front .adv-day{position:absolute;z-index:8;left:12px;top:13px;font:bold 27px/1 Georgia,serif;letter-spacing:.025em;color:#f7d991;text-shadow:0 2px 8px #000b}
#adv-overlay .adv-door-front .adv-family{position:absolute;left:13px;top:48px;font:7px/1.2 Consolas,monospace;letter-spacing:.085em;color:#b0cbb4;z-index:8;max-width:62px;text-align:left;text-shadow:0 1px 3px #000}
#adv-overlay .adv-door-front .adv-status{position:absolute;z-index:8;bottom:11px;left:12px;font:bold 8px/1 Consolas,monospace;letter-spacing:.08em;text-shadow:0 2px 5px #000b;color:#d4c49d}
#adv-overlay .adv-door.claimed .adv-door-front{background:radial-gradient(ellipse at right,#23534655,transparent 75%),linear-gradient(140deg,#18372c,#11281f)}
#adv-overlay .adv-door.claimed .adv-status{color:#a9ead1}
#adv-overlay .adv-door.available .adv-door-front{background:radial-gradient(ellipse at 65% 50%,#5a53324d,transparent 70%),linear-gradient(135deg,#2c3f2e,#102722 67%)}
#adv-overlay .adv-door.available .adv-status{color:#f7de9b}
#adv-overlay .adv-door.available .adv-door-front:after{background:linear-gradient(110deg,transparent 30%,#fff6b51b 48%,transparent 57%);animation:adv-new-door-sheen 5s ease-in-out infinite;opacity:1}
@keyframes adv-new-door-sheen{0%,22%{transform:translateX(-95%)}65%,100%{transform:translateX(120%)}}
#adv-overlay .adv-door.locked .adv-door-front{background:radial-gradient(ellipse at right,#1e29252b,transparent 74%),linear-gradient(145deg,#1a2422,#101817)}
#adv-overlay .adv-door.locked .adv-door-art{opacity:.38;filter:grayscale(.7) brightness(.68)}
#adv-overlay .adv-door.locked .adv-day{color:#a0aba1}
#adv-overlay .adv-door.locked .adv-family{color:#87968e}
#adv-overlay .adv-door.finale .adv-door-front{box-shadow:inset 0 0 0 4px #0e1917,inset 0 0 0 5px #b89b5a99}
#adv-overlay .adv-door.finale .adv-day{color:#ffde97}
#adv-overlay .adv-info-preview{position:absolute;right:8px;top:8px;width:68px;height:68px;display:flex;align-items:center;justify-content:center;opacity:.67;pointer-events:none;filter:drop-shadow(0 5px 8px #000)}
#adv-overlay .adv-info-preview img{width:100%;height:100%;object-fit:contain;mix-blend-mode:screen}
#adv-overlay .adv-info{overflow:hidden}
#adv-overlay .adv-info>*:not(.adv-info-preview){position:relative;z-index:2}

/* Main ceremony: an actual miniature hinged advent door, not a still illustration. */
#adv-overlay .adv-reveal-cover{z-index:80;background:radial-gradient(ellipse at 50% 50%,#1b3d32dd,#040a0afa 66%);backdrop-filter:blur(5px);overflow:hidden;isolation:isolate}
#adv-overlay .adv-open-scene{position:relative;width:min(540px,92%);height:min(420px,94%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;perspective:1100px}
#adv-overlay .adv-ceremony-header{position:relative;z-index:9;color:#f2dfa9;letter-spacing:.22em;font:11px Consolas,monospace}
#adv-overlay .adv-ceremony-sublabel{position:relative;z-index:9;color:#abbcad;letter-spacing:.09em;font:10px Consolas,monospace}
#adv-overlay .adv-opening-lock{position:relative;z-index:9;display:flex;align-items:center;gap:10px;margin-top:2px;color:#d8cb9f;font-size:10px;letter-spacing:.1em}
#adv-overlay .adv-ceremony-compartment{position:relative;width:210px;height:225px;margin:7px 0;transform-style:preserve-3d;filter:drop-shadow(0 17px 25px #000b)}
#adv-overlay .adv-ceremony-compartment:before{content:'';position:absolute;inset:0;border:1px solid #edc785;background:radial-gradient(ellipse at center,#fff5b0 0%,#f5c66c 19%,#a66d34 40%,#2c301f 67%,#0c1b19 100%);box-shadow:0 0 42px #f1ce7c8a,inset 0 0 30px #241b0d;animation:adv-inner-rise 1.1s .15s ease-out both}
@keyframes adv-inner-rise{0%{filter:brightness(.25);box-shadow:0 0 1px #f0cd71}60%{filter:brightness(1.45)}100%{filter:brightness(1);box-shadow:0 0 48px #f1ce7c88}}
#adv-overlay .adv-inner-glyph{position:absolute;inset:20px;display:flex;align-items:center;justify-content:center;color:#fff4bc;text-shadow:0 0 30px #fff1ad;animation:adv-core-awaken 1.1s ease-out both;z-index:1;font-size:73px}
#adv-overlay .adv-inner-glyph img{width:105px;height:105px;object-fit:contain;filter:brightness(2) drop-shadow(0 0 21px #fbe9a2)}
@keyframes adv-core-awaken{from{transform:scale(.35);opacity:0}40%{opacity:.6}to{transform:scale(1.15);opacity:1}}
#adv-overlay .adv-ceremony-flap{position:absolute;inset:0;transform-origin:0 50%;transform-style:preserve-3d;backface-visibility:hidden;border:2px solid #ddc189;z-index:6;box-shadow:8px 2px 15px #000a;animation:adv-hinge-open 1.15s cubic-bezier(.14,.53,.2,1) .1s both}
#adv-overlay .adv-ceremony-flap .adv-door-front{backface-visibility:hidden;inset:0}
#adv-overlay .adv-ceremony-flap .adv-day{font-size:51px!important;left:25px!important;top:24px!important}
#adv-overlay .adv-ceremony-flap .adv-family{font-size:12px!important;top:88px!important;left:25px!important}
#adv-overlay .adv-ceremony-flap .adv-status{font-size:11px!important;left:25px!important;bottom:20px!important}
#adv-overlay .adv-ceremony-flap .adv-door-art{height:70%;max-height:185px}
#adv-overlay .adv-ceremony-flap .adv-art-plate:before{width:155px;height:155px}
@keyframes adv-hinge-open{0%,10%{transform:rotateY(0deg);filter:brightness(1)}38%{transform:rotateY(-13deg);filter:brightness(1.35)}100%{transform:rotateY(-112deg);filter:brightness(.72)}}
#adv-overlay .adv-ceremony-sparks{position:absolute;inset:-90px -100px;z-index:3;pointer-events:none;overflow:visible}
#adv-overlay .adv-ceremony-sparks i{--a:0deg;--d:100px;position:absolute;top:50%;left:50%;width:var(--s,5px);height:var(--s,5px);border-radius:1px;transform:rotate(var(--a)) translateX(0);opacity:0;background:var(--c,#ffcf80);box-shadow:0 0 10px var(--c,#ffcf80);animation:adv-spark-burst 1.35s ease-out var(--delay,.1s) both}
@keyframes adv-spark-burst{0%,14%{transform:rotate(var(--a)) translateX(5px) rotate(40deg);opacity:0}35%{opacity:1}95%,100%{transform:rotate(var(--a)) translateX(var(--d)) rotate(150deg);opacity:0}}
#adv-overlay .adv-skip-btn{position:relative;z-index:12;font-size:10px!important;padding:9px 13px!important;color:#d4c6a1!important;border-color:#6c765a!important;background:#101d1c!important}
#adv-overlay .adv-reveal-card{border-color:#e4bd76;background:radial-gradient(ellipse at 50% 0,#354e38,#11231f 63%);box-shadow:0 20px 75px #000,0 0 90px #e9bb5a3c;animation:adv-reward-arrive .58s cubic-bezier(.22,1.3,.37,1) both;overflow:hidden}
@keyframes adv-reward-arrive{from{opacity:0;transform:translateY(42px) scale(.82);filter:brightness(2.1)}to{opacity:1;transform:translateY(0) scale(1);filter:brightness(1)}}
#adv-overlay .adv-reveal-card .adv-reveal-emblem{width:114px;height:114px;margin:15px auto 20px;border:1px solid #dcb76b;border-radius:6px;box-shadow:0 0 34px #fbd78172,inset 0 0 22px #d7b57335;font-size:56px;background:radial-gradient(#35574c,#0c1717)}
#adv-overlay .adv-reveal-card .adv-asset{width:86px;height:86px;image-rendering:auto}
#adv-overlay .adv-reward-stamp{display:inline-block;border:1px solid #799d79;color:#b9e8b9;padding:5px 11px;font:10px Consolas,monospace;letter-spacing:.16em;transform:rotate(-2deg);margin:7px 0}
#adv-overlay .adv-reveal-card.type-finale{border-color:#ffda7b;box-shadow:0 0 110px #edca7492,0 16px 70px #000b}
#adv-overlay .adv-reveal-card.type-finale .adv-reveal-emblem{box-shadow:0 0 75px #ffcc67a4}
@media(max-width:850px){#adv-overlay .adv-calendar{gap:5px;padding:7px 9px}#adv-overlay .adv-door-front .adv-day{font-size:22px;left:10px;top:10px}#adv-overlay .adv-door-front .adv-family{font-size:6px;top:40px;left:10px}#adv-overlay .adv-door-front .adv-status{left:10px;bottom:7px;font-size:7px}#adv-overlay .adv-art-plate{inset:4px 0 6px 31%}}
@media(max-width:650px){#adv-overlay .adv-calendar{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(6,95px);max-height:none;overflow:visible}#adv-overlay .adv-left{overflow-y:auto}#adv-overlay .adv-door-art{max-height:65px}#adv-overlay .adv-calendar-metrics{font-size:8px}}
@media(prefers-reduced-motion:reduce){#adv-overlay .adv-ceremony-flap{animation:none;transform:rotateY(-112deg)}#adv-overlay .adv-open-scene *,#adv-overlay .adv-reveal-card{animation:none!important}}



/* v0.3 // uncluttered illustrated Advent doors: image is the focal point */
#adv-overlay .adv-calendar{gap:10px;padding:10px 19px 15px;grid-template-rows:repeat(4,minmax(78px,1fr))}
#nxc-room #adv-overlay .adv-door{overflow:hidden;min-width:0;box-shadow:inset 0 0 0 1px #c1b7861c,0 2px 10px #0004}
#adv-overlay .adv-door-front{background:radial-gradient(ellipse at 53% 45%,#31483d69 0%,transparent 74%),linear-gradient(155deg,#1b2b27,#0c1918);box-shadow:inset 0 0 0 3px #0d1817,inset 0 0 0 4px #ad997637}
#adv-overlay .adv-door-front:before{inset:6px;border-color:#afa77748}
#adv-overlay .adv-door-front:after{opacity:.13}
#adv-overlay .adv-door-corner{opacity:.38;width:8px;height:8px}
#adv-overlay .adv-door-corner.a{top:6px;left:6px}
#adv-overlay .adv-door-corner.b{bottom:23px;right:6px}
#adv-overlay .adv-art-plate{inset:5px 8px 21px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,#55746022,transparent 70%);border:none;overflow:hidden}
#adv-overlay .adv-art-plate:before{width:75px;height:75px;border-color:#a49c6342;transform:rotate(45deg) scale(.7);opacity:.45}
#adv-overlay .adv-door-art{height:min(90%,100px);max-height:100%;width:auto;max-width:91%;opacity:.88;filter:drop-shadow(0 4px 6px #000b) brightness(1.13);transform:translateY(5px);object-fit:contain;mix-blend-mode:screen}
#adv-overlay .adv-door:hover .adv-door-art{transform:translateY(2px) scale(1.07)}
#adv-overlay .adv-door-front .adv-day{left:10px;top:8px;font:700 21px/1 Georgia,serif;letter-spacing:0;color:#f2d58c;z-index:8;background:linear-gradient(90deg,#0d1e1ae8,#0d1e1a00);padding:1px 13px 6px 0;text-shadow:0 1px 5px #030907}
#adv-overlay .adv-door-front .adv-family{display:none!important}
#adv-overlay .adv-door-front .adv-status{left:4px;right:4px;bottom:3px;min-height:19px;display:flex;justify-content:center;align-items:center;gap:6px;font-size:9px!important;letter-spacing:.14em;padding:4px 2px 3px;background:linear-gradient(90deg,#0a1715eb,#182a26d9,#0a1715eb);border-top:1px solid #aa9e604a;text-shadow:none}
#adv-overlay .adv-status-mark{font-size:11px;line-height:1;color:#cbb681}
#adv-overlay .adv-door.claimed .adv-status{color:#a5dec5;background:linear-gradient(90deg,#102921,#173d2d,#102921);border-top-color:#58957c66}
#adv-overlay .adv-door.claimed .adv-status-mark{color:#8be7bc}
#adv-overlay .adv-door.available .adv-status{color:#ffe7a7;border-top-color:#f0cb7a80}
#adv-overlay .adv-door.locked .adv-status{color:#87998e;border-color:#54605560}
#adv-overlay .adv-door.locked .adv-art-plate{opacity:.68}
#adv-overlay .adv-door.locked .adv-door-art{opacity:.52;filter:grayscale(.55) brightness(.83)}
#adv-overlay .adv-door.locked .adv-day{color:#a7b0a7}
#adv-overlay .adv-door.selected{box-shadow:0 0 0 1px #ffd89080,0 0 19px #edc06b24}
#adv-overlay .adv-info{padding-top:12px}
#adv-overlay .adv-info h3{max-width:200px}
#adv-overlay .adv-selected-art-name{font:9px/1.3 Consolas,monospace;letter-spacing:.11em;color:#a0c8b7;margin-top:4px;text-transform:uppercase;max-width:160px}
#adv-overlay .adv-info-preview{right:12px;top:14px;width:54px;height:54px;opacity:.73}
/* The same clean doors scale into the full-size unfolding ceremony. */
#adv-overlay .adv-ceremony-flap .adv-art-plate{inset:26px 18px 36px}
#adv-overlay .adv-ceremony-flap .adv-door-art{height:88%;max-height:162px;max-width:95%;transform:none}
#adv-overlay .adv-ceremony-flap .adv-day{font-size:48px!important;left:21px!important;top:17px!important;padding-right:18px}
#adv-overlay .adv-ceremony-flap .adv-status{font-size:12px!important;left:10px!important;right:10px!important;bottom:9px!important;min-height:28px;padding:7px 3px}
#adv-overlay .adv-ceremony-flap .adv-door-corner.b{bottom:43px}
@media(max-width:850px){#adv-overlay .adv-calendar{gap:6px;padding:7px 9px}#adv-overlay .adv-door-front .adv-day{font-size:19px;left:7px;top:8px}#adv-overlay .adv-door-front .adv-status{font-size:8px!important;min-height:17px}#adv-overlay .adv-art-plate{inset:6px 3px 21px}#adv-overlay .adv-door-art{max-width:91%}}
@media(max-width:650px){#adv-overlay .adv-calendar{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(6,96px);overflow:visible}#adv-overlay .adv-door-art{height:75%;max-height:65px}}


/* v0.4 // INDIVIDUALLY DRESSED HOLIDAY DOORS. Decorations remain outside the focal sprite. */
#adv-overlay .adv-art-plate{isolation:isolate}
#adv-overlay .adv-door-front{--festive-accent:#deb56e}
#adv-overlay .adv-door-front:after{background:radial-gradient(ellipse at 85% 15%,color-mix(in srgb,var(--festive-accent) 13%,transparent),transparent 62%);opacity:.52}
#adv-overlay .adv-festive{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:5;overflow:visible}
#adv-overlay .adv-festive .adv-snowtop{opacity:.87}
#adv-overlay .adv-festive .adv-festival-motif{filter:drop-shadow(0 1px 4px #000c)}
#adv-overlay .adv-festive .adv-festival-dots{filter:drop-shadow(0 0 2px #f9eabd99)}
#adv-overlay .adv-festive .adv-festival-glint{animation:adv-festive-glow 3.6s ease-in-out infinite alternate}
#adv-overlay .adv-door.locked .adv-festive{opacity:.44;filter:saturate(.6)}
#adv-overlay .adv-door.claimed .adv-festive{opacity:.85}
#adv-overlay .adv-door.available .adv-festive{opacity:.98}
#adv-overlay .adv-door:hover .adv-festive{filter:brightness(1.19)}
#adv-overlay.adv-festive-hidden .adv-festive{display:none}
#adv-overlay .adv-festive-note{font-size:10px;color:#b6c8b5;line-height:1.5;border:1px solid #485a4b;background:#162520;padding:7px 9px;margin-top:8px}
#adv-overlay .adv-festive-note b{color:#e5d09b}
#adv-overlay #adv-festive-toggle{font-size:10px;padding:7px 8px;white-space:normal}
#adv-overlay .adv-festive-compare{display:flex;align-items:center;gap:8px;justify-content:space-between;margin-top:9px;flex-wrap:wrap}
#adv-overlay .adv-festive-compare span{font:9px Consolas,monospace;letter-spacing:.1em;color:#a0b3a5}
#adv-overlay .adv-door.finale .adv-festive .adv-festival-glint{animation-duration:2.2s}
@keyframes adv-festive-glow{0%,100%{opacity:.55}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){#adv-overlay .adv-festive .adv-festival-glint{animation:none}}

/* 3.1.785 LIVE INTEGRATION: no simulated clock or cache UI */
#nxc-room #adv-overlay .adv-calendar{overscroll-behavior:contain}
#nxc-room #adv-overlay .adv-reveal-cover{z-index:45}
#nxc-room #adv-overlay .adv-left{isolation:isolate}
#nxc-room #adv-overlay .adv-server-hint{border:1px solid #5e725e;background:#1c3229;padding:9px;color:#b2ceb7;font-size:11px;line-height:1.5}
#nxc-room #adv-overlay .adv-info .adv-action-btn:disabled{opacity:.55}
#nxc-room #adv-overlay .adv-calendar-metrics .adv-server-date{color:#f5d49b}
#nxc-room #adv-overlay #adv-status-message{min-height:20px;color:#f3c18a;font-size:10px}
@media(max-width:850px){#nxc-room #adv-overlay .adv-calendar{grid-template-rows:repeat(4,minmax(62px,1fr))}}
