/* Season festivals over the island map */
.fest-chip{position:absolute;left:50%;top:12px;transform:translateX(-50%);z-index:7;border:0;border-radius:999px;padding:10px 18px;background:linear-gradient(180deg,#ffcf5a,#e8a22a);color:#2a1a05;font:800 15px system-ui,sans-serif;box-shadow:0 6px 20px rgba(0,0,0,.35),0 0 0 3px rgba(255,211,107,.35);cursor:pointer;animation:festPulse 1.8s ease-in-out infinite;white-space:nowrap;max-width:calc(100% - 140px);overflow:hidden;text-overflow:ellipsis}
.fest-chip:focus-visible{outline:3px solid #fff;outline-offset:2px}
@keyframes festPulse{50%{box-shadow:0 6px 20px rgba(0,0,0,.35),0 0 0 9px rgba(255,211,107,.12)}}
.fest{position:absolute;inset:0;z-index:9;pointer-events:none}
.fest-sky{position:absolute;inset:0;width:100%;height:100%;background:linear-gradient(180deg,rgba(8,12,40,.55),rgba(8,12,40,0) 60%)}
.fest-card{pointer-events:auto;position:absolute;left:50%;bottom:14px;transform:translateX(-50%);width:min(560px,calc(100% - 24px));max-height:calc(100% - 28px);overflow:auto;padding:18px 20px 16px;border-radius:18px;background:#fbf6ea;color:#2a2418;box-shadow:0 18px 50px rgba(0,0,0,.5),inset 0 0 0 2px #e2b95e;font:15px/1.45 system-ui,sans-serif;animation:festIn .4s ease}
@keyframes festIn{from{opacity:0;transform:translate(-50%,18px)}}
.fest-x{position:absolute;right:10px;top:10px;width:32px;height:32px;border:0;border-radius:50%;background:rgba(42,36,24,.08);color:#2a2418;font-size:15px;cursor:pointer}
.fest-card .fest-kick{margin:0 36px 4px 0;font:800 11.5px system-ui;letter-spacing:.1em;color:#8a5a12;opacity:1}
.fest-card h3{margin:0 0 6px;font:700 23px/1.2 Georgia,serif;color:#2a2418;opacity:1}
.fest-card p,.fest-card b{color:#2a2418;opacity:1}
.fest-card .fest-say{margin:4px 0 10px;font:16px/1.45 Georgia,serif;color:#3a3020}
.fest-small{margin:6px 0 0;font-size:13px;opacity:.8}
.fest-card .fest-warn{margin:8px 0 0;padding:9px 12px;border-radius:10px;background:#f7e3df;color:#7a2a20;font-weight:700;font-size:14px}
.fest-err{margin:6px 0 0;color:#b5392a;font-weight:700;font-size:14px}
.fest-opts{display:grid;gap:9px}
.fest-opts button{display:grid;gap:4px;text-align:left;padding:12px 14px;border-radius:14px;border:2px solid #e2d6b8;background:#fff;color:#2a2418;cursor:pointer}
.fest-opts button:hover:not(:disabled),.fest-opts button:focus-visible{border-color:#e2a22a;outline:none}.fest-opts button:disabled{opacity:.5;cursor:default}
.fest-opts b{font:700 16.5px system-ui}.fest-opts small{font-size:13.5px;opacity:.8}.fest-opts span{display:flex;flex-wrap:wrap;gap:4px 10px}
.fest-opts em,.fest-deltas em{font-style:normal;font:700 12.5px system-ui;color:#5a4a30}.fest-card em.up{color:#1d7a4a}.fest-card em.down{color:#b5392a}
.fest-deltas{display:flex;flex-wrap:wrap;gap:6px 12px;margin:8px 0 0}
.fest-unveil{display:grid;grid-template-columns:110px minmax(0,1fr);gap:14px;align-items:center}
.fest-statue{width:110px;height:auto;animation:festRise 1.2s ease}
@keyframes festRise{from{transform:translateY(20px);opacity:0}}
.fest-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.fest-go{border:0;border-radius:12px;padding:11px 16px;background:#1d5e4f;color:#fff;font:800 15px system-ui;cursor:pointer}.fest-go.alt{background:#efe2c4;color:#4a3a20}.fest-go:disabled{opacity:.5}
.fest-toss{padding:14px 8px 6px;border-radius:12px;background:#2a1a3a}
.fest-toss.hit{animation:festHit .4s}.fest-toss.miss{animation:festMiss .35s}
@keyframes festHit{50%{background:#1d5e4f}}@keyframes festMiss{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
.fest-lane{position:relative;height:46px;border-radius:10px;background:repeating-linear-gradient(90deg,#3a2a52 0 18px,#33244a 18px 36px)}
.fest-zone{position:absolute;top:0;bottom:0;border-radius:8px;background:rgba(255,211,107,.55);box-shadow:0 0 14px rgba(255,211,107,.7)}
.fest-ring{position:absolute;top:50%;width:30px;height:30px;margin:-15px 0 0 -15px;border-radius:50%;border:5px solid #ff6b8a;box-shadow:0 0 10px #ff6b8a}
.fest-card .fest-tally b{color:#fff}.fest-tally{display:flex;align-items:center;gap:6px;margin-top:10px;color:#fff;font:700 14px system-ui}.fest-tally span{width:16px;height:16px;border-radius:50%;border:2px solid #8a7aa8;display:inline-grid;place-items:center;font-size:10px}.fest-tally span.hit{background:#7dff9a;border-color:#7dff9a}.fest-tally span.miss{background:#ff6b8a;border-color:#ff6b8a}.fest-tally b{margin-left:6px}
@media (max-width:640px){.fest-card{bottom:8px;padding:16px 14px 14px}.fest-unveil{grid-template-columns:80px minmax(0,1fr)}.fest-statue{width:80px}}
@media (prefers-reduced-motion:reduce){.fest-chip,.fest-card,.fest-statue{animation:none}}
@media (max-width:640px){.fest-chip{top:auto;bottom:118px;font-size:14px;max-width:calc(100% - 24px)}}
