.cs-root{position:absolute;inset:0;z-index:60;pointer-events:none;color:#fff2d1;font-family:'CultiVis Lapture',Georgia,serif}
.cs-root button{font:inherit;color:inherit;touch-action:manipulation;min-width:52px;min-height:52px}
.cs-open{position:absolute;top:calc(var(--clock-top) + var(--clock-size) + 12px);right:max(18px,env(safe-area-inset-right));display:grid;place-items:center;width:52px;height:52px;padding:9px;background:#110b0ee8;border:2px solid #b9ad85;border-radius:50%;box-shadow:0 3px 0 #080506}
.cs-open svg{width:100%;height:100%;fill:#f5ecd0;stroke:#0e0809;stroke-width:2;stroke-linejoin:round}
.cs-open svg circle{fill:#10090c;stroke:#f5ecd0}
.cs-open:focus-visible,.cs-root button:focus-visible{outline:3px solid #ffdc75;outline-offset:4px}
#overlay:not([data-state='ready']) .cs-open,body[data-settings] .cs-open,body[data-talk-mode] .cs-open,body[data-cooking-mode='true'] .cs-open,body[data-follower-mode]:not([data-follower-mode='camp']) .cs-open,body[data-build-mode='menu'] .cs-open,body[data-build-mode='placement'] .cs-open{visibility:hidden}
.cs-modal{position:absolute;inset:0;display:grid;place-items:center;pointer-events:auto;background:#050305b8;padding:24px}
.cs-panel{position:relative;width:min(460px,100%);max-height:100%;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;text-align:center;background:#0c0709;border:2px solid #6e5c4a;box-shadow:0 0 0 5px #080507,0 12px 50px #0009;padding:28px 28px 32px;border-radius:4px}
.cs-panel:before{content:'';position:absolute;inset:10px;border:1px solid #8b735850;pointer-events:none}
.cs-eye{display:block;margin:auto;width:70px;height:38px;fill:#ff2018}.cs-eye ellipse{fill:#100709}
.cs-panel h2{font-size:34px;font-weight:normal;margin:14px 0 18px;color:#fff1cb}
.cs-copy,.cs-confirm p{font-size:19px;line-height:1.5;margin:0 0 24px}
.cs-actions{display:flex;flex-direction:column;gap:14px}
.cs-actions button{padding:12px 24px;border:0;background:#eee2bf;color:#180d0d;font-size:23px;clip-path:polygon(2% 0,97% 2%,100% 12%,98% 72%,100% 98%,3% 100%,0 78%,2% 20%)}
.cs-actions .cs-restart,.cs-actions .cs-accept{background:#c9261c;color:#fff0ce}
.cs-actions button:disabled{opacity:.5;cursor:wait}
.cs-error{color:#ffbc98;font-size:16px;line-height:1.4;margin:18px 0 0}.cs-error:empty{display:none}
@media(max-height:560px){.cs-modal{padding:16px}.cs-panel{padding:18px 24px}.cs-eye{height:26px}.cs-panel h2{margin:8px 0;font-size:28px}.cs-copy,.cs-confirm p{margin-bottom:14px}.cs-actions{gap:10px}}
