#wms-advent-root{--night:#100725;--purple:#32104f;--gold:#f7c75e;--pink:#e64cba;--cream:#fff2cc;--ink:#170d25;--panel:#1d1033;--muted:#c9b9d9}#wms-advent-root *{box-sizing:border-box}#wms-advent-root button,#wms-advent-root input,#wms-advent-root select,#wms-advent-root textarea{font:inherit}#wms-advent-root button{cursor:pointer}#wms-advent-root{width:min(1500px,100%);margin:auto;padding:18px clamp(12px,3vw,34px) 50px}#wms-advent-root .hero{position:relative;overflow:hidden;border:1px solid #d8a84d;border-radius:18px;box-shadow:0 18px 60px #0009;background:#0b0520}#wms-advent-root .hero img{display:block;width:100%;height:auto}#wms-advent-root .hero:after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:18px;box-shadow:inset 0 0 45px #09031c66}#wms-advent-root .intro{text-align:center;padding:24px 12px 10px}#wms-advent-root .intro h1{font-size:clamp(1.65rem,4vw,2.8rem);font-weight:normal;color:var(--gold);margin:0 0 8px;text-shadow:0 2px 15px #e34acb66}#wms-advent-root .intro p{color:#eadcf4;margin:0 auto;max-width:760px;line-height:1.5;font-family:Arial,sans-serif}#wms-advent-root .status{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin:18px auto 24px;font-family:Arial,sans-serif;color:#f8e9c4}#wms-advent-root .pill{border:1px solid #c99548;border-radius:99px;padding:8px 14px;background:#1d0d32cc;font-size:.9rem}#wms-advent-root .gold{color:var(--gold)}#wms-advent-root .grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(12px,2vw,24px);max-width:1120px;margin:0 auto}#wms-advent-root .bauble{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:0 0 8px;background:none;border:0;color:#fff;text-align:center}#wms-advent-root .orb{width:min(100%,158px);aspect-ratio:1;border-radius:50%;position:relative;display:grid;place-items:center;overflow:hidden;border:3px solid #f4c65d;box-shadow:0 0 0 3px #7b3a93,0 0 20px #e94dc777,inset 0 0 24px #fff4;background:radial-gradient(circle at 32% 25%,#9b76a9,#3a1b53 62%,#170b2b);transition:transform .2s,box-shadow .2s}#wms-advent-root .bauble:hover .orb,#wms-advent-root .bauble:focus-visible .orb{transform:translateY(-5px) scale(1.035);box-shadow:0 0 0 4px #f7d477,0 0 30px #f04fcf,inset 0 0 25px #fff6}#wms-advent-root .orb img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}#wms-advent-root .orb .day{z-index:1;font-family:Arial,sans-serif;font-weight:800;font-size:clamp(1.2rem,3vw,2rem);text-shadow:0 2px 8px #000; background:#170a2c99;border:1px solid #f7d477;border-radius:50%;width:42px;height:42px;display:grid;place-items:center}#wms-advent-root .orb.has-image .day{position:absolute;right:7px;bottom:7px;width:31px;height:31px;font-size:.9rem;background:#160722d9}#wms-advent-root .bauble .label{font:600 clamp(.78rem,1.3vw,.98rem)/1.25 Arial,sans-serif;color:#fff2d0;max-width:160px;overflow-wrap:anywhere}#wms-advent-root .bauble .lock{position:absolute;top:8px;right:calc(50% - 72px);z-index:2;background:#160a29e8;border:1px solid #eac15b;border-radius:50%;width:31px;height:31px;display:grid;place-items:center;font:16px Arial}#wms-advent-root .bauble.locked .orb{filter:saturate(.55) brightness(.7)}#wms-advent-root .bauble:disabled{cursor:not-allowed}#wms-advent-root .bauble:disabled:hover .orb{transform:none}#wms-advent-root .bauble:before{content:"";position:absolute;top:-7px;width:14px;height:12px;border:2px solid #e9c15e;border-bottom:0;border-radius:8px 8px 0 0}#wms-advent-root .bauble:after{content:"";position:absolute;top:3px;width:22px;height:8px;background:linear-gradient(90deg,#a16b24,#ffdf7b,#a16b24);border-radius:3px}#wms-advent-root .actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:28px auto 8px}#wms-advent-root .btn{border:1px solid #e4b951;background:linear-gradient(135deg,#51216b,#2b1045);color:#fff3d4;border-radius:999px;padding:10px 17px;font:600 .9rem Arial,sans-serif}#wms-advent-root .btn:hover{filter:brightness(1.2)}#wms-advent-root .btn.primary{background:linear-gradient(135deg,#f4ca68,#bd7b2d);color:#21102d;border:0}#wms-advent-root .btn.subtle{border-color:#76558c;background:#1b1030}#wms-advent-root .fineprint{text-align:center;color:#bcaacb;font:12px/1.5 Arial,sans-serif;margin:18px auto;max-width:850px}#wms-advent-root .musicbar{position:sticky;bottom:10px;z-index:5;margin:26px auto 0;width:min(720px,100%);display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#180c2beF;border:1px solid #bd8d45;border-radius:16px;padding:10px 14px;box-shadow:0 8px 30px #0009;font:13px Arial,sans-serif}#wms-advent-root .musicbar strong{color:var(--gold)}#wms-advent-root .musicbar input[type=range]{width:100px;accent-color:#e9bc55}#wms-advent-root .musicbar audio{display:none}#wms-advent-root .overlay{display:none;position:fixed;inset:0;z-index:20;background:#05020deF;backdrop-filter:blur(8px);padding:18px;overflow:auto}#wms-advent-root .overlay.show{display:grid;place-items:center}#wms-advent-root .viewer{position:relative;width:min(100%,1000px);max-height:94vh;overflow:auto;background:linear-gradient(145deg,#29123e,#100820);border:1px solid #d7a84d;border-radius:18px;box-shadow:0 25px 90px #000c;padding:20px}#wms-advent-root .viewer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #6c4a76;padding-bottom:12px;margin-bottom:16px}#wms-advent-root .viewer-head h2{margin:0;color:var(--gold);font-weight:normal}#wms-advent-root .close{border:1px solid #a779a9;background:#28143b;color:#fff;border-radius:50%;width:38px;height:38px;font:22px Arial}#wms-advent-root .content-area{min-height:220px;display:grid;place-items:center;color:#f8edff;font-family:Arial,sans-serif}#wms-advent-root .content-area img,#wms-advent-root .content-area video{max-width:100%;max-height:68vh;border-radius:8px}#wms-advent-root .content-area iframe{width:100%;height:min(68vh,650px);border:0;border-radius:8px;background:#fff}#wms-advent-root .content-area audio{width:min(100%,600px)}#wms-advent-root .content-area .text-content{white-space:pre-wrap;line-height:1.6;max-width:750px}#wms-advent-root .content-area a{color:#ffdb83}#wms-advent-root .viewer-foot{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:16px}#wms-advent-root .panel{display:none;max-width:1000px;margin:30px auto 0;padding:20px;background:#1a0d2b;border:1px solid #9c6caa;border-radius:16px;font-family:Arial,sans-serif}#wms-advent-root .panel.show{display:block}#wms-advent-root .panel h2{color:var(--gold);font-family:Georgia,serif;font-weight:normal;margin:0 0 14px}#wms-advent-root .formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#wms-advent-root .field{display:flex;flex-direction:column;gap:6px}#wms-advent-root .field.full{grid-column:1/-1}#wms-advent-root .field label{font-size:12px;color:#e7d6f1}#wms-advent-root .field input,#wms-advent-root .field select,#wms-advent-root .field textarea{width:100%;background:#0e0719;color:#fff;border:1px solid #70527d;border-radius:8px;padding:10px}#wms-advent-root .field textarea{min-height:75px;resize:vertical}#wms-advent-root .hint{color:#bfaecb;font-size:12px;line-height:1.5}#wms-advent-root .panel-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}#wms-advent-root .checkline{display:flex;align-items:center;gap:8px;color:#f5e9ff;font-size:13px}#wms-advent-root .checkline input{accent-color:#e9bd58}#wms-advent-root .toast{position:fixed;z-index:40;bottom:22px;left:50%;transform:translateX(-50%);background:#f2ce75;color:#1d1029;padding:10px 16px;border-radius:30px;font:600 13px Arial,sans-serif;display:none;box-shadow:0 5px 25px #0008}#wms-advent-root .toast.show{display:block}@media(max-width:800px){#wms-advent-root .grid{grid-template-columns:repeat(4,minmax(0,1fr))}#wms-advent-root{padding:10px 12px 35px}#wms-advent-root .hero{border-radius:10px}#wms-advent-root .viewer{padding:14px}}@media(max-width:520px){#wms-advent-root .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}#wms-advent-root .orb{width:min(100%,112px);border-width:2px}#wms-advent-root .bauble .lock{right:calc(50% - 54px);top:3px;width:27px;height:27px}#wms-advent-root .bauble:before{top:-7px}#wms-advent-root .bauble:after{top:3px}#wms-advent-root .bauble .label{font-size:.78rem}#wms-advent-root .formgrid{grid-template-columns:1fr}#wms-advent-root .field.full{grid-column:auto}#wms-advent-root .musicbar{bottom:5px;border-radius:12px}#wms-advent-root .status{gap:6px}#wms-advent-root .pill{font-size:.78rem;padding:7px 10px}}

#wms-advent-root{width:min(1500px,100%);margin:0 auto;padding:18px clamp(12px,3vw,34px) 50px;background:radial-gradient(ellipse at 50% 0%,#3a1558 0,#170a2d 42%,#080515 100%);color:#fff;font-family:Georgia,Times New Roman,serif;min-height:100vh;border-radius:18px;box-sizing:border-box}#wms-advent-root .panel{display:none}#wms-advent-root .panel.show{display:block}#wms-advent-root .hint{color:#c9b9d9;font:13px/1.45 Arial,sans-serif}#wms-advent-root .panel{background:#1d1033;border:1px solid #76558c;border-radius:16px;padding:20px;margin:12px auto;max-width:950px}#wms-advent-root .formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}#wms-advent-root .field{display:flex;flex-direction:column;gap:6px;font:13px Arial,sans-serif;color:#fff2d0}#wms-advent-root .field.full{grid-column:1/-1}#wms-advent-root input:not([type=checkbox]):not([type=range]),#wms-advent-root select,#wms-advent-root textarea{width:100%;padding:10px;border-radius:8px;border:1px solid #76558c;background:#100820;color:#fff;font:14px Arial,sans-serif}#wms-advent-root textarea{min-height:100px}#wms-advent-root .checkline{display:flex;align-items:center;gap:8px;color:#eadcf4;font:13px Arial,sans-serif}#wms-advent-root .panel-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}#wms-advent-root .toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:1000;background:#f4ca68;color:#21102d;padding:11px 18px;border-radius:30px;font:600 13px Arial,sans-serif;opacity:0;pointer-events:none;transition:opacity .2s}#wms-advent-root .toast.show{opacity:1}#wms-advent-root .viewer-foot button:disabled{opacity:.35;cursor:not-allowed}#wms-advent-root .overlay{z-index:99999}#wms-advent-root .content-area{overflow-wrap:anywhere}#wms-advent-root .content-area a{color:#ffdb83}
@media(max-width:700px){#wms-advent-root .formgrid{grid-template-columns:1fr}#wms-advent-root .field.full{grid-column:auto}}

/* On-page visual arrangement mode; coordinates are saved as percentages. */
#wms-advent-root .grid.custom-layout{display:block;position:relative;width:100%;max-width:1120px;min-height:min(105vw,900px);}
#wms-advent-root .grid.custom-layout .bauble{position:absolute;width:18%;max-width:170px;touch-action:pan-y;}
#wms-advent-root .grid.custom-layout .orb{width:100%;}
#wms-advent-root .grid.arranging .bauble{cursor:grab;touch-action:none;outline:1px dashed #f7c75e;border-radius:12px;}
#wms-advent-root .grid.arranging .bauble:active{cursor:grabbing;}
#wms-advent-root .grid.arranging .bauble.locked .orb{filter:none;}
@media(max-width:520px){#wms-advent-root .grid.custom-layout .bauble{width:18%;}#wms-advent-root .grid.custom-layout .bauble .label{font-size:10px;}#wms-advent-root .grid.custom-layout .orb .day{width:25px;height:25px;font-size:12px;}}
