@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Quicksand:wght@500;600;700&display=swap');
:root{font-family:'DM Sans',system-ui,sans-serif;color:#4f3d55;background:#fff8fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}img{max-width:100%}h1,h2,h3,.brand{font-family:Quicksand,system-ui,sans-serif}h1,h2,h3{line-height:1.15}p{line-height:1.65}.page{min-height:100vh;background:radial-gradient(circle at 8% 18%,#ffe2f2 0,transparent 25%),radial-gradient(circle at 92% 50%,#eee2ff 0,transparent 30%),#fff8fc}.nav{height:86px;display:flex;align-items:center;gap:26px;padding:0 clamp(20px,5vw,86px);background:#ffffffdb;border-bottom:1px solid #f3ddea;box-shadow:0 9px 28px #8c5f8120;position:relative;z-index:2}.brand{display:flex;align-items:center;gap:14px;font-weight:700;font-size:25px;white-space:nowrap;color:#69436d}.brand img{height:58px;width:58px;object-fit:cover;border-radius:16px;box-shadow:0 8px 20px #9e56c43a}.brand small{display:block;font:600 10px 'DM Sans',sans-serif;letter-spacing:.18em;color:#b68cab;text-transform:uppercase;margin-top:2px}.menu{display:flex;gap:8px;align-items:center;flex:1}.menu span{font-size:13px;font-weight:700;color:#aa88a1;padding:10px 14px;border-radius:999px;background:#fff5fb;border:1px solid #f5e2ee}.nav-end{margin-left:auto;display:flex;align-items:center;gap:12px}.pill{border:1px solid #ebcddf;border-radius:999px;padding:10px 16px;font-size:13px;font-weight:700;background:#fff;color:#8d5b81}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:16px;background:linear-gradient(135deg,#f79ac4,#dc79c5);box-shadow:0 12px 25px #de7cb944;color:#fff;font-weight:700;padding:14px 22px;transition:transform .15s,box-shadow .15s}.button:hover{transform:translateY(-2px);box-shadow:0 16px 28px #de7cb95c}.button.secondary{background:#fff;color:#995f94;border:1px solid #ebcbdc;box-shadow:none}.button.ghost{background:none;color:#98658e;box-shadow:none;padding:8px 12px}.button.danger{background:#fff1f5;color:#bd5d83;box-shadow:none;border:1px solid #f4c7d8}.button.small{padding:9px 13px;border-radius:10px;font-size:12px}.home-main{max-width:1240px;margin:auto;min-height:calc(100vh - 86px);display:grid;grid-template-columns:1fr 1.04fr;align-items:center;gap:5%;padding:55px 38px 75px}.eyebrow{display:inline-flex;align-items:center;gap:8px;text-transform:uppercase;letter-spacing:.18em;font-size:11px;font-weight:700;color:#bc76a7;background:#fff;border:1px solid #f6dcea;border-radius:999px;padding:10px 15px}.home-copy h1{font-size:clamp(55px,7vw,100px);letter-spacing:-.075em;margin:23px 0 0;color:#8a5188;line-height:.98}.home-copy h1 em{display:block;font-style:normal;color:#ee9dbf}.home-copy p{color:#876d85;max-width:480px;font-size:17px;margin:26px 0 30px}.home-actions{display:flex;align-items:center;gap:17px;flex-wrap:wrap}.little-note{font-size:12px;color:#ad8da5}.hero-art{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:530px}.hero-art:before{content:'';position:absolute;width:95%;height:90%;border:2px dashed #eec1d8;border-radius:45% 45% 25% 25%;transform:rotate(-7deg)}.hero-art:after{content:'✦ ✧ ✦';position:absolute;right:0;top:1%;font-size:36px;color:#db94c3;letter-spacing:16px}.castle-card{position:relative;width:min(100%,590px);aspect-ratio:1.02;overflow:hidden;border:16px solid #fff;border-radius:48% 48% 26% 26%;background:#ffd4e7;box-shadow:0 27px 70px #be8bad52,0 0 0 1px #f3d3e6}.castle-card img{height:100%;width:100%;object-fit:cover;object-position:center}.castle-badge{position:absolute;bottom:5%;left:-3%;padding:14px 22px;background:#fff;border:1px solid #f0d4e8;border-radius:18px;box-shadow:0 12px 28px #b080ad3b;font-size:13px;font-weight:700;color:#9f6a9d;transform:rotate(-5deg)}.star{position:absolute;font-size:40px;color:#e6a3c5}.star.one{left:0;top:4%}.star.two{right:4%;bottom:11%;font-size:26px}.footer-note{text-align:center;padding:16px;color:#c6a3ba;font-size:12px}.not-found{max-width:680px;margin:8vh auto;padding:50px 25px;text-align:center}.not-found .number{font-family:Quicksand,sans-serif;font-size:clamp(110px,24vw,220px);font-weight:700;line-height:1;color:#f0a6ce;text-shadow:0 10px 0 #fff,0 20px 35px #e7b0d7}.not-found h1{font-size:38px;color:#815581}.not-found p{color:#9b7d99}.dashboard{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:calc(100vh - 86px)}.side{padding:28px 20px;background:#fff8fd;border-right:1px solid #f1dce9}.side-title{color:#b796ad;font-size:10px;letter-spacing:.17em;text-transform:uppercase;font-weight:700;margin:12px 13px}.side button{display:block;width:100%;text-align:left;border:0;border-radius:13px;background:none;padding:12px 14px;margin:4px 0;color:#8d708b;font-weight:700}.side button.active,.side button:hover{background:#fce5f1;color:#a24f8d}.dash-main{padding:38px clamp(24px,4vw,65px) 85px;max-width:1530px;width:100%}.dash-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.dash-heading h1{font-size:32px;color:#704c71;margin:8px 0 7px}.dash-heading p{color:#a48aa1;margin:0}.guild-select{min-width:200px;background:#fff!important}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:28px 0}.stat,.panel,.module-card{background:#fff;border:1px solid #f0dce9;box-shadow:0 10px 27px #b783a516;border-radius:19px}.stat{padding:20px}.stat strong{display:block;font-size:26px;color:#845b87;margin-top:5px}.stat small{color:#b59bb0}.section-line{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:30px 0 17px}.section-line h2{font-size:23px;color:#775375;margin:0}.search{width:min(100%,290px)}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.module-card{padding:23px;min-height:205px;display:flex;flex-direction:column}.module-card:hover{border-color:#e6a5c7}.module-card .icon{display:grid;place-items:center;background:#fce6f2;color:#b75b9c;width:42px;height:42px;border-radius:13px;font-size:22px}.module-card h3{margin:15px 0 4px;font-size:17px;color:#6b486a}.module-card p{margin:0 0 18px;font-size:13px;color:#a28aa0;line-height:1.5}.module-card .button{margin-top:auto;align-self:flex-start}.panel{padding:25px;margin-top:20px}.panel h3{margin:0 0 18px;color:#754f75}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}.panel-head h3{margin:0}.entry{border:1px solid #f2e2ee;border-radius:14px;padding:16px;margin:12px 0;background:#fffafd}.entry-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.entry-title strong{color:#785478}.entry p{color:#998098;margin:8px 0 14px;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.actions{display:flex;gap:8px;flex-wrap:wrap}.form{display:grid;gap:17px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:grid;gap:7px;color:#8c6a89;font-weight:700;font-size:12px}.field.wide{grid-column:1/-1}.field input,.field textarea,.field select,.search,.guild-select{width:100%;background:#fff;border:1px solid #eed5e4;border-radius:11px;padding:12px;color:#634e63;outline:none}.field input:focus,.field textarea:focus,.field select:focus,.search:focus,.guild-select:focus{border-color:#d886b7;box-shadow:0 0 0 3px #f9deed}.field textarea{min-height:100px;resize:vertical}.field .hint{font-weight:400;color:#b29bb0;font-size:11px}.form .button{justify-self:start}.toast{position:fixed;bottom:25px;right:25px;z-index:9;padding:14px 20px;border-radius:15px;background:#885879;color:#fff;box-shadow:0 12px 30px #8b678777;max-width:360px}.toast.error{background:#bd6483}.empty{padding:32px;text-align:center;color:#aa90a4;border:1px dashed #eacddd;border-radius:15px;background:#fff9fc}.back{font-size:13px;color:#ac68a3;font-weight:700}.button-row{display:flex;gap:9px;flex-wrap:wrap}.button-editor{border:1px dashed #e8c8dd;border-radius:12px;padding:13px;background:#fffafb;margin:7px 0}.button-editor .fields{grid-template-columns:1fr 1fr auto;align-items:end}.hidden{display:none!important}@media(max-width:1050px){.module-grid{grid-template-columns:repeat(2,1fr)}.menu{display:none}.home-main{padding:40px 28px}.hero-art{min-height:450px}}@media(max-width:730px){.nav{height:72px;padding:0 16px}.brand{font-size:19px}.brand img{width:48px;height:48px}.pill{display:none}.home-main{display:flex;flex-direction:column-reverse;text-align:center;padding:28px 20px 55px}.home-copy h1{font-size:56px}.home-copy p{margin-left:auto;margin-right:auto}.home-actions{justify-content:center}.hero-art{min-height:300px;width:100%}.castle-card{width:min(100%,330px);border-width:9px}.castle-badge{left:0;bottom:0}.dashboard{display:block}.side{display:flex;overflow-x:auto;padding:10px;border-bottom:1px solid #f1dce9}.side-title{display:none}.side button{white-space:nowrap;width:auto}.dash-main{padding:25px 17px 60px}.dash-heading{display:block}.guild-select{margin-top:17px}.stats{grid-template-columns:1fr}.module-grid{grid-template-columns:1fr}.fields,.button-editor .fields{grid-template-columns:1fr}.section-line{display:block}.search{margin-top:14px;width:100%}}

/* Keep Juno's original face intact. The CSS frame can do the space bit without mangling her. */
.logo-frame{display:block;position:relative;flex:none;width:58px;height:58px;overflow:hidden;border-radius:17px;border:3px solid #fff;box-shadow:0 0 0 2px #e6a3d3,0 8px 20px #9e56c43a;background:radial-gradient(circle at 75% 28%,#eeb8ea 0 2px,transparent 3px),radial-gradient(circle at 15% 70%,#c8b8ff 0 2px,transparent 3px),radial-gradient(circle at 50% 45%,#6855a9,#211e4c 70%)}
.logo-frame img{position:absolute;height:auto;width:110px;max-width:none;left:-27px;top:-2px;border:0;border-radius:0;box-shadow:none;clip-path:ellipse(36% 49% at 50% 51%)}
.hero-login{margin-top:21px;position:relative;z-index:1}
@media(max-width:730px){.logo-frame{width:48px;height:48px}.logo-frame img{width:96px;left:-25px;top:-2px}}

body{overflow-x:hidden}
.castle-badge{top:6%;bottom:auto;left:0}
@media(max-width:730px){.nav-end{display:none}.home-main{overflow:hidden}.castle-badge{top:0;left:0;font-size:11px;padding:9px 12px}.hero-art:before{width:86%;height:77%}}

.button:disabled{cursor:not-allowed;opacity:.62;box-shadow:none;transform:none}
.setup-note{display:block;position:relative;z-index:1;margin-top:12px;text-align:center}
