.home-photos{grid-column:1/-1;margin:0 0 12px;color:#f7f4e8;text-align:left}
.home-photo-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:8px 14px;border:1px solid #e9c47c66;border-radius:12px;background:#1e2c41;font-weight:750;cursor:pointer;list-style:none}
.home-photo-summary::-webkit-details-marker{display:none}
.home-photo-summary::after{content:'';width:8px;height:8px;border:solid #e9c47c;border-width:0 2px 2px 0;transform:rotate(45deg);flex:none;margin:0 3px 4px}
.home-photos[open]>.home-photo-summary::after{transform:rotate(225deg);margin-bottom:0}
.home-photos[open]>.home-photo-panel{margin-top:8px}
.home-extras .carretera-top{grid-column:1/-1;margin:0}
.home-photo-panel{min-width:0;display:grid;gap:12px;padding:clamp(10px,2vw,18px);border:1px solid #e9c47c66;border-radius:16px;background:radial-gradient(ellipse at top left,#3d362e,#16253c 65%);text-align:left}
.home-photo-card{min-width:0;margin:0;border:1px solid #8fc6ff55;border-radius:12px;background:#0f1d31;overflow:hidden}
.home-photo-list+.home-photo-list{border-top:1px solid #e9c47c55;padding-top:12px}
.home-photo-list-title{margin:0 0 8px;color:#e9c47c;font-size:1rem}
.home-photo-image{display:block;width:100%;padding:0;border:0;background:#0b1220;cursor:zoom-in;overflow:hidden}
.home-photo-image img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .25s ease}
.home-photo-image:hover img{transform:scale(1.035)}
.home-photo-image:focus-visible{outline:3px solid #e9c47c;outline-offset:-4px}
.home-photo-card figcaption{padding:8px 10px;overflow-wrap:anywhere}
.home-photo-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 10px;font-size:.9rem}
.home-photo-caption{margin:6px 0 0;font-size:.95rem;line-height:1.45;font-style:italic}
.home-photo-meta{margin:5px 0 0;font-size:.8rem;color:#c9d4e4}
.home-photo-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
@media(max-width:520px){.home-photo-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
.home-photo-message{padding:12px;border-radius:10px;background:#0f1d31;color:#e0e8f2;line-height:1.5}
.home-photo-message strong{color:#f7f4e8}
.home-photo-message p{margin:4px 0 0}
.home-photo-actions{display:flex;flex-wrap:wrap;gap:8px}
.home-photo-action{display:inline-flex;align-items:center;min-height:42px;padding:8px 14px;border-radius:10px;background:#e9c47c;color:#0b1220;font-weight:850;font-size:.9rem;text-decoration:none}
.home-photo-action+.home-photo-action{background:#293b55;color:#fff}
.home-photo-action:hover,.home-photo-summary:hover{filter:brightness(1.08)}
.home-photo-action:focus-visible,.home-photo-summary:focus-visible{outline:3px solid #8fc6ff;outline-offset:2px}
.home-photo-zoom{max-width:min(94vw,1100px);max-height:94dvh;padding:12px;background:#132135;color:#f7f4e8;border:1px solid #33455f;border-radius:12px}
.home-photo-zoom::backdrop{background:#050a15d9}
.home-photo-zoom img{display:block;clear:both;max-width:100%;max-height:72dvh;margin:auto;border-radius:6px}
.home-photo-zoom p{margin:10px 4px;font-size:.95rem}
.home-photo-zoom-close{float:right;margin:0 0 8px 8px;width:36px;height:36px;border-radius:50%;border:1px solid #33455f;background:transparent;color:inherit;font-size:22px;cursor:pointer}
@media(prefers-reduced-motion:reduce){.home-photo-image img{transition:none}}
.home-photo-vote{flex:none;display:inline-flex;align-items:center;gap:2px;min-height:34px;padding:4px 11px;border:1px solid #ffb3c066;border-radius:999px;background:#0b1220;color:#ffb3c0;font:inherit;font-size:.8rem;font-weight:800;white-space:nowrap;cursor:pointer;transition:transform .15s ease,background .15s ease}
.home-photo-vote:hover{background:#2a1a26}
.home-photo-vote.on{background:#ffb3c0;border-color:#ffb3c0;color:#3a0d1a}
.home-photo-vote:active{transform:scale(.94)}
.home-photo-vote:disabled{opacity:.75;cursor:progress}
.home-photo-vote:focus-visible{outline:3px solid #8fc6ff;outline-offset:2px}
.home-photo-head{align-items:center}
.home-photo-status{margin:0;color:#ffb3c0;font-size:.85rem}
.home-photo-status:empty{display:none}
.home-photo-zoom-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 4px 4px}
@media(prefers-reduced-motion:reduce){.home-photo-vote{transition:none}}
