.court-project{cursor:pointer}
.court-photo-panel{position:fixed;z-index:1100;width:420px;max-width:calc(100vw - 32px);background:#fff;border:1px solid var(--blue);border-radius:12px;box-shadow:0 16px 50px rgba(2,58,95,.2);overflow:hidden;color:var(--navy)}
.court-photo-panel[hidden],.court-photo-panel img[hidden]{display:none}
.court-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:var(--navy);color:#fff}
.court-panel-heading h3{font-size:1rem;line-height:1.4;color:inherit;margin:0}.court-close{width:32px;height:32px;border:0;background:transparent;color:#fff;font-size:26px;cursor:pointer;flex-shrink:0}
.court-photo-frame{aspect-ratio:4/3;background:#eef5fa}.court-photo-frame img{display:block;width:100%;height:100%;object-fit:contain}
.court-photo-caption{padding:16px 18px 0;margin:0;font-size:.9rem;line-height:1.6;color:#485d6c}
.court-gallery-controls{display:flex;align-items:center;gap:10px;padding:14px 18px 18px}.court-gallery-controls button{border:1px solid #c9dce9;border-radius:6px;background:#fff;color:var(--navy);padding:8px 12px;min-height:38px;font:500 .8rem/1.3 Inter,Arial,sans-serif;cursor:pointer}.court-gallery-controls [data-court-pause]{margin-left:auto}.court-photo-count{font-size:.8rem;white-space:nowrap}
@media(max-width:767px){.court-photo-panel{width:auto;left:16px!important;right:16px;top:auto!important;bottom:16px;max-height:calc(100dvh - 32px);overflow:auto}.court-panel-heading{padding:10px 14px}.court-photo-frame{max-height:36dvh}.court-photo-frame img{max-height:36dvh}.court-photo-caption{font-size:.85rem;padding:12px 14px 0}.court-gallery-controls{padding:12px 14px}.court-gallery-controls button{min-height:44px}}
