/* Stable grid slots keep hover targets in place while their cards move. */
.council-option-slot{min-width:0;position:relative;display:flex;align-items:stretch}
.council-option-slot>.council-option{width:100%;box-sizing:border-box;transition:transform .26s cubic-bezier(.22,.7,.25,1),box-shadow .22s,border-color .22s;transform-origin:50% 50%}
.council-option .zone-info{position:relative;pointer-events:none;min-width:0}
.council-option .zone-info [hidden],.council-member [hidden]{display:none!important}
.council-option.has-image{padding:clamp(190px,22vw,280px) 0 0;overflow:hidden;background:var(--cream)}
.council-option.has-image .zone-option-art{position:absolute;inset:0;z-index:2;display:block;width:100%;height:100%;min-height:190px;max-height:none;margin:0;padding:16px;border:0;border-radius:19px;background:linear-gradient(145deg,#dfe7d5b0,#f8f6eb);overflow:hidden;pointer-events:auto;cursor:pointer;isolation:isolate}
.council-option.has-image .zone-option-art:focus-visible{outline:3px solid var(--option-color);outline-offset:-5px}
.council-option.has-image .zone-option-image{display:block;width:100%;height:100%;max-height:none;object-fit:contain;object-position:center;border-radius:0;mix-blend-mode:multiply;pointer-events:none}
.council-option.has-image .zone-info{z-index:3;margin:0 12px 12px;pointer-events:auto;cursor:pointer;padding:20px 18px 18px;border:1px solid #ffffffa6;border-radius:14px;background:#f9faf1c4;box-shadow:0 3px 16px #263b1b07;backdrop-filter:blur(8px)}
.council-option.has-image .zone-caption h3{line-height:1.45}
.council-option.has-image .council-members{margin-top:14px}
.council-option.has-image .choice-selected{margin-top:11px}
.council-option .zone-option-art[hidden]{display:none!important}
.council-page .hall-guide:empty{display:none}
.council-page .choice-hit{cursor:pointer}
.council-page .choice-hit:disabled{cursor:default}
.council-member{touch-action:manipulation}
html[data-theme="dark"] .council-option.has-image .zone-option-art{background:linear-gradient(145deg,#7f8d70,#b4b8a7)}
html[data-theme="dark"] .council-option.has-image .zone-info{background:#20291ed9;border-color:#adbc9b35}
@media(min-width:901px) and (hover:hover) and (pointer:fine){
  .council-option-slot.is-focused{z-index:3}
  .council-option-slot.is-focused>.council-option{transform:scale(1.035);box-shadow:0 14px 34px #243e2322;border-color:var(--option-color)}
  .council-option-slot.is-neighbor>.council-option{transform:translateX(var(--option-nudge,0px)) scale(.965)}
}
/* On phones and tablets the complete topic stays in normal document flow. */
@media(max-width:900px){
  .council-page .council-summary{position:static;top:auto;bottom:auto;z-index:auto;max-height:none;height:auto;overflow:visible}
  .council-option.has-image{padding-top:230px}
}
/* Wide phone landscape and touch tablets also keep the topic in page flow. */
@media(hover:none) and (pointer:coarse){
  .council-page .council-summary{position:static;top:auto;bottom:auto;z-index:auto;max-height:none;height:auto;overflow:visible}
}
@media(max-width:540px){
  .council-option.has-image{padding-top:250px}
  .council-option.has-image .zone-option-art{padding:14px}
  .council-option.has-image .zone-info{margin:0 10px 10px;padding:18px 16px 16px}
}
@media(prefers-reduced-motion:reduce){
  .council-option-slot>.council-option,.council-option-slot.is-focused>.council-option,.council-option-slot.is-neighbor>.council-option{transition:none;transform:none}
  .council-summary .ratio-strip button,.council-summary .result-track i{transition:none}
}
