:root{--bg: #0d0f14;--bg-2: #151924;--card: rgba(232, 230, 240, .06);--line: rgba(232, 230, 240, .18);--text: #ece9f5;--muted: #b9b4cc;--accent: #c9b8ff;--accent-ink: #14101f;--focus: #ffd66b;--promise: #ffb86b;--soul: #8fd3ff;--invoice: #ff9fb0;--lead: #b8f28b;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0}body{background:radial-gradient(120% 70% at 50% -10%,#23203a 0%,var(--bg) 55%) fixed,var(--bg);color:var(--text);font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;min-height:100vh;display:flex;flex-direction:column}main{flex:1;width:100%;max-width:1180px;margin:0 auto;padding:0 16px 48px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.skip{position:absolute;left:-999px;top:8px;background:var(--focus);color:#000;padding:8px 12px;border-radius:6px}.skip:focus{left:8px;z-index:10}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.top{max-width:1180px;width:100%;margin:0 auto;padding:20px 16px}.brand{display:flex;align-items:center;gap:10px;margin:0;font-weight:700;letter-spacing:.02em}.brand svg{width:28px;height:28px;color:var(--text)}.foot{text-align:center;color:var(--muted);font-size:14px;padding:24px 16px}.foot a{color:var(--accent)}.btn{font:inherit;font-weight:600;border-radius:999px;padding:10px 18px;min-height:44px;cursor:pointer;border:1px solid var(--line);background:transparent;color:var(--text)}.btn:hover{background:#e8e6f01a}.btn--primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.btn--primary:hover{background:#ddd2ff}.btn--big{font-size:18px;padding:14px 28px}.btn--ghost{border:none;font-size:24px;line-height:1;padding:6px 12px;min-width:44px}.start{text-align:center;padding:12vh 0 8vh;max-width:720px;margin:0 auto}.start h1{font-size:clamp(30px,6vw,52px);line-height:1.1;margin:0 0 20px;font-weight:800}.start h1 span{display:block;color:var(--accent)}.start__lead{font-size:19px;color:var(--muted);margin:0 auto 32px;max-width:580px}.start__note{color:var(--muted);font-size:14px;margin-top:18px}.yard__head{text-align:center;padding:24px 0 28px}.counter{margin:0;display:flex;flex-direction:column;align-items:center}.counter__value{font-size:clamp(44px,9vw,84px);font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums;text-shadow:0 0 28px rgba(201,184,255,.45)}.counter__value:focus{outline:none}.counter__label{font-size:18px;color:var(--muted)}.yard__sub{color:var(--muted);margin:8px 0 0}.yard__empty{text-align:center;font-size:20px;color:var(--muted);padding:32px 0}.ghosts{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:20px}ghost-card{display:block;--tone: var(--accent);animation:drift 7s ease-in-out infinite;animation-delay:var(--drift-delay, 0s)}.ghost--broken-promise{--tone: var(--promise)}.ghost--unanswered-soul{--tone: var(--soul)}.ghost--restless-invoice{--tone: var(--invoice)}.ghost--fading-lead{--tone: var(--lead)}ghost-card article{height:100%;display:flex;flex-direction:column;gap:10px;padding:20px 20px 18px;background:linear-gradient(180deg,var(--card),rgba(232,230,240,.02));border:1px solid var(--line);border-top:3px solid var(--tone);border-radius:22px 22px 14px 14px;box-shadow:0 10px 40px -18px var(--tone);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.ghost__type{display:flex;align-items:center;gap:8px;margin:0;color:var(--tone);font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:.06em}.ghost__type svg{width:20px;height:20px}.ghost__who{margin:0;font-size:21px}.ghost__quote{margin:0;color:var(--text);font-style:italic;border-left:2px solid var(--tone);padding-left:12px}.ghost__facts{display:flex;gap:24px;margin:4px 0 0}.ghost__facts dt{font-size:13px;color:var(--muted)}.ghost__facts dd{margin:0;font-size:20px;font-weight:700;font-variant-numeric:tabular-nums}.ghost__subject{margin:0;color:var(--muted);font-size:14px}.ghost__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:6px}ghost-card:hover,ghost-card:focus-within,.yard--still ghost-card{animation-play-state:paused}.yard--still ghost-card{animation:none}.yard__tools{margin-top:12px}ghost-card.ghost--fading{animation:fade-out .9s ease-in forwards}ghost-card.ghost--resting{animation:none}.tomb{align-items:center;text-align:center;justify-content:center;border-top-color:var(--line)!important;border-radius:90px 90px 10px 10px!important;box-shadow:none!important;background:var(--bg-2)!important;min-height:220px}.tomb p{margin:0}.tomb__rip{font-size:26px;font-weight:800;letter-spacing:.2em;color:var(--muted)}.tomb__who{font-size:19px;font-weight:700}.tomb__what,.tomb__date{color:var(--muted);font-size:14px}seance-panel{position:fixed;inset:0 0 0 auto;width:min(460px,100%);background:var(--bg-2);border-left:1px solid var(--line);box-shadow:-20px 0 60px #00000080;overflow-y:auto;z-index:5;animation:slide-in .35s ease-out}seance-panel[hidden]{display:none}.seance{padding:20px;display:flex;flex-direction:column;gap:6px}.seance__head{display:flex;justify-content:space-between;align-items:center;gap:12px}.seance__head h2{margin:0;font-size:20px}.seance__meta{margin:0 0 10px;color:var(--muted);font-size:14px}.seance label{font-size:14px;color:var(--muted);margin-top:8px}.seance input,.seance textarea{font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:10px 12px;width:100%}.seance textarea{resize:vertical;line-height:1.5}.seance__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.seance__status{min-height:1.5em;color:var(--muted);font-size:14px}@keyframes drift{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes fade-out{to{opacity:0;transform:translateY(-24px) scale(.96);filter:blur(4px)}}@keyframes slide-in{0%{transform:translate(40px);opacity:0}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media(forced-colors:active){ghost-card article{border:1px solid CanvasText}}.drop{margin:40px auto 0;max-width:620px;padding:24px;border:2px dashed var(--line);border-radius:16px;background:var(--card);text-align:center}.drop--over{border-color:var(--accent);background:#c9b8ff1a}.drop__title{margin:0 0 6px;font-size:1.15rem;font-weight:600}.drop__hint{margin:0 0 16px;color:var(--muted)}.drop:focus-within label.btn{outline:3px solid var(--focus);outline-offset:2px}.drop label.btn{cursor:pointer;display:inline-block}.drop__owner{margin:18px 0 0;display:flex;flex-wrap:wrap;gap:8px;justify-content:center;align-items:center;color:var(--muted);font-size:.95rem}.drop__owner input{min-width:240px;padding:8px 10px;border-radius:8px;border:1px solid var(--line);background:var(--bg-2);color:var(--text);font:inherit}.drop__owner input:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.drop__status{margin:12px 0 0;min-height:1.5em;color:var(--text)}@media(max-width:480px){.drop{padding:18px 14px}.drop__owner input{min-width:0;width:100%}}
