:root{font-family:ui-rounded,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#40384a;background:#f7f1e5}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}header{padding:18px 18px 8px;display:flex;justify-content:space-between;align-items:center}.app{max-width:650px;margin:auto;min-height:100dvh;padding-bottom:96px}.brand{font-weight:800;font-size:21px}.muted{color:#776e7c;font-size:13px}.page{padding:10px 17px 24px}h1{font-size:27px;margin:10px 0}h2{font-size:18px;margin:6px 0 12px}h3{font-size:15px;margin:0 0 8px}.card{background:#fffaf1;border:1px solid #e7dcca;border-radius:19px;padding:17px;margin-bottom:13px;box-shadow:0 3px 12px #51446a0b}.sage{background:#e6eee1}.lav{background:#eee5f5}.greeting{display:flex;gap:12px;align-items:center}.witch{font-size:56px;display:inline-block;animation:bob 3s ease-in-out infinite;flex-shrink:0}@keyframes bob{50%{transform:translateY(-6px) rotate(-3deg)}}.bubble{background:#fff;border-radius:16px;padding:12px;flex:1;font-size:14px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.tile{background:#fffaf1;border:1px solid #e5d9c9;border-radius:17px;padding:17px;text-align:left;min-height:104px;color:inherit}.tile .emoji{font-size:27px;display:block;margin-bottom:9px}.tile b{font-size:14px}.tile small{display:block;color:#7b7081;margin-top:5px}.btn{background:#665476;color:white;border:0;border-radius:13px;padding:12px 16px;font-weight:700}.btn.secondary{background:#dbe6d6;color:#3c503c}.btn.ghost{background:#f0e8f4;color:#594a67}.btn.small{padding:8px 10px;font-size:12px}.row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}.field{width:100%;padding:12px;border:1px solid #d7c9d7;background:#fff;border-radius:12px;margin:6px 0 13px;color:#40384a}label{font-weight:650;font-size:13px;display:block}textarea.field{min-height:80px;resize:vertical}.tabs{position:fixed;bottom:0;left:0;right:0;background:#fffaf4ed;backdrop-filter:blur(12px);border-top:1px solid #e5d9c9;display:flex;justify-content:center;padding:9px 6px max(10px,env(safe-area-inset-bottom));z-index:5}.tab{background:transparent;border:0;flex:1;max-width:120px;display:flex;align-items:center;flex-direction:column;gap:4px;color:#7d7184;font-size:10px;padding:6px 2px}.tab span{font-size:23px}.tab.active{color:#544264;font-weight:800}.entry{border-top:1px solid #e8dfe1;padding:12px 0}.entry:first-child{border:0}.progress{height:12px;background:#e9e0e6;border-radius:12px;overflow:hidden}.fill{height:100%;background:#a8bfa3;transition:width .3s}.roommap{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px;background:#d9e2ce;border:8px solid #8c755f;border-radius:20px}.room{border:3px solid #a98d75;border-radius:8px;background:#f0dfc7;padding:14px 6px;min-height:110px;text-align:center;color:#51435b}.room span{font-size:32px;display:block;margin-bottom:6px}.scene{position:relative;height:290px;border:10px solid #9b806d;border-radius:16px;background:repeating-linear-gradient(0deg,#dfcbb5,#dfcbb5 37px,#d7bea5 38px,#d7bea5 40px);overflow:hidden;touch-action:manipulation}.prop{position:absolute;font-size:37px;background:none;border:0}.avatar{position:absolute;font-size:38px;transition:left .65s ease,top .65s ease;pointer-events:none;filter:drop-shadow(1px 3px 1px #5b456666)}.pill{border-radius:20px;padding:5px 10px;background:#e9e2ee;font-size:12px}.empty{color:#807485;font-size:14px;padding:12px 0}input[type=range]{width:100%;accent-color:#8d78a4}input[type=checkbox]{accent-color:#8d78a4}dialog{border:0;border-radius:20px;padding:22px;max-width:min(90vw,430px);background:#fffaf1;color:#40384a}dialog::backdrop{background:#2d233999}@media(prefers-reduced-motion:reduce){.witch{animation:none}.avatar{transition:none}}

/* Original pixel witch, shared across the dashboard and explorable rooms. */
.witch-character{display:inline-flex;position:relative;width:76px;height:92px;flex-shrink:0;align-items:center;justify-content:center;animation:witch-float 3.2s ease-in-out infinite;filter:drop-shadow(0 5px 2px #57456630)}
.witch-sprite{display:block;width:100%;height:100%;overflow:visible;image-rendering:pixelated}
.witch-character::after{content:"✦";position:absolute;right:1px;top:10px;font-size:15px;color:#c69b43;animation:witch-sparkle 2.8s ease-in-out infinite}
.avatar{font-size:initial;width:70px;height:84px;z-index:2}
.avatar .witch-character{width:70px;height:84px}
@keyframes witch-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes witch-sparkle{0%,100%{opacity:.35;transform:scale(.75)}50%{opacity:1;transform:scale(1.15)}}
@media(prefers-reduced-motion:reduce){.witch-character,.witch-character::after{animation:none}}
