.ghost-options{border:1px solid #b8a0dd44;border-radius:14px;padding:14px 16px;margin:16px 0 22px}.ghost-options legend{font-weight:600;font-size:14px;padding:0 6px}.ghost-switch,.nightmare-switch{display:flex;align-items:center;gap:12px;cursor:pointer}.ghost-options input{width:18px;height:18px;flex:none;accent-color:#d7b7ff;padding:0}.ghost-switch span{display:grid;gap:5px}.ghost-switch small{color:var(--muted);font-size:12px}.nightmare-switch{margin-top:13px;font-size:12px}.ghost-preview{margin:12px 0 0;font-size:11px}
body.ghost-mode{--accent:#f9c083;--muted:#c6bddb;background:radial-gradient(ellipse at 75% 5%,#68467855,transparent 45%),radial-gradient(ellipse at 0 80%,#29396288,transparent 65%),#1b142d}body.ghost-mode:before{content:'✧';position:fixed;right:2%;top:12%;font-size:140px;color:#ceb6ff12;pointer-events:none;z-index:-1;animation:ghost-drift 9s ease-in-out infinite}body.ghost-mode header{background:#20162fe8}body.ghost-mode .panel,body.ghost-mode .own-rack{background:linear-gradient(130deg,#30243f,#251d38);border-color:#a988bd33}body.ghost-mode .table{background:radial-gradient(ellipse,#534068,#332843);border-color:#e4b7ff40}body.ghost-mode .primary{color:#38243e;background:#f9c083}body.ghost-mode .primary:hover{background:#ffdab2}body.ghost-mode .win{background:#392943}
.tile.ghost-tile{background-image:none!important;background-color:#53406c!important;--body:#e8dcfa;border:1px solid #d4b5ee55;overflow:hidden;isolation:isolate;box-shadow:0 4px 0 #18102699,inset 0 0 18px #c4a1ff18}.ghost-tile:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 25% 25%,#ffffff16,transparent 60%);pointer-events:none}.little-ghost{position:absolute;width:82%;height:87%;left:9%;top:4%;overflow:visible;filter:drop-shadow(0 3px 3px #1d143844);animation:ghost-drift 3.6s ease-in-out infinite}.ghost-body{fill:#eee6ff;stroke:#fff;stroke-width:1.2}.ghost-gaze{fill:#45315f;animation:ghost-glance 7s ease-in-out infinite}.ghost-blush{fill:#eca6c9;opacity:.7}.ghost-smile{fill:none;stroke:#684c80;stroke-width:2;stroke-linecap:round}.ghost-shine{fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round}.ghost-question{position:absolute;bottom:3%;right:7%;font-family:Outfit,sans-serif;font-size:12px;color:#ddc9f5}.ghost-tile:hover:not(:disabled) .little-ghost{animation:ghost-boo .5s ease-in-out infinite alternate}.ghost-tile:active:not(:disabled) .little-ghost{transform:scale(.8) rotate(12deg);animation:none}.ghost-tile:focus-visible{outline-color:#f9c083}.ghost-colours{display:flex;justify-content:center;gap:4px;flex-wrap:wrap;font-size:10px;align-items:center;margin:7px 0}.ghost-colour-chip{border:1px solid #ffffff33;border-radius:20px;padding:3px 6px;background:#ffffff0a}.ghost-colour-chip[data-colour=Green]{color:#73e49c}.ghost-colour-chip[data-colour=Pink]{color:#ffb2de}.ghost-colour-chip[data-colour=Blue]{color:#80d8f3}.ghost-colour-chip[data-colour=Red]{color:#ff969b}.ghost-colour-chip[data-colour=Orange]{color:#ffcb78}.exact-prompt{display:grid;gap:8px}.exact-prompt>label{display:flex;justify-content:center;align-items:center;gap:8px;font-size:13px}.exact-prompt input{width:65px;padding:7px;text-align:center}.exact-clue b{color:#f9c083}.ghost-tile.clue-anchor .ghost-question{font-size:8px}.ghost-mode .clue-direction{color:#eccfae}
@keyframes ghost-drift{0%,100%{transform:translateY(1px) rotate(-3deg)}50%{transform:translateY(-4px) rotate(3deg)}}@keyframes ghost-glance{0%,25%,80%,100%{transform:translateX(0)}35%,50%{transform:translateX(2px)}60%,70%{transform:translateX(-2px)}}@keyframes ghost-boo{from{transform:translateY(-3px) rotate(-9deg)}to{transform:translateY(-6px) rotate(9deg)}}@media(max-width:620px){.ghost-options{padding:12px;margin-bottom:16px}.ghost-colours{font-size:9px}.refined-actions .clue-methods{flex-wrap:wrap}.exact-prompt .compare-targets{gap:6px}}@media(prefers-reduced-motion:reduce){.little-ghost,.ghost-gaze,body.ghost-mode:before{animation:none!important}}
.ghost-mode .brand:after{content:' 👻';font-size:21px;display:inline-block;animation:ghost-drift 5s ease-in-out infinite}.ghost-mode #turn-notice,.ghost-mode .turn-heading{background:#f9c083;color:#38243e}.ghost-mode .table.needs-action,.ghost-mode .pile-panel.your-pick{border-color:#f9c083;box-shadow:0 0 0 2px #f9c08322,0 0 26px #eea66e22}.ghost-mode .pick-bubble{background:#f9c083;color:#38243e}.ghost-mode .pile-panel:after{content:'🎃';display:block;text-align:center;font-size:21px;opacity:.8;margin-top:10px}.ghost-mode .room-toolbar .eyebrow{color:#ffd7ad}.ghost-mode .tile.ghost-tile.selected{outline-color:#f9c083}
@media(max-width:620px){.ghost-mode .brand:after{font-size:15px}.ghost-mode .pile-panel:after{display:none}}
