.tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.upload-details{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px;padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--soft)}
.closed-notice{margin:0 0 14px;padding:15px 16px;border:1px solid #d7a8a8;border-radius:14px;background:#fff2f2;color:#812d2d;font-weight:700}.privacy-consent{display:flex!important;align-items:flex-start;gap:9px;padding-top:5px;font-weight:500!important;line-height:1.45}.privacy-consent input{flex:0 0 auto;width:20px!important;height:20px;margin:1px 0 0!important}.privacy-consent a{color:var(--green);font-weight:750}
.upload-details .wide{grid-column:1/-1}.upload-details label,.gallery-filter{display:block;font-size:14px;font-weight:750}.upload-details label small{color:var(--muted);font-weight:500}.upload-details input,.upload-details select,.upload-details textarea,.gallery-filter select{width:100%;margin-top:6px;padding:11px 12px;border:1px solid var(--line);border-radius:11px;background:#fff;color:inherit;font:inherit}.upload-details textarea{resize:vertical}.gallery-filter{margin:14px 0}.gallery-filter select{max-width:280px;margin-left:8px}.media-badges{position:absolute;z-index:1;left:.55rem;bottom:.55rem;display:flex;gap:.35rem;pointer-events:none}.media-badge{padding:.28rem .48rem;border-radius:999px;background:rgba(10,20,15,.76);color:#fff;font-size:.68rem;line-height:1}.favorite-badge{background:var(--gold)}
.lightbox-caption{position:absolute;z-index:2;left:50%;bottom:3rem;display:grid;gap:.2rem;width:min(620px,calc(100% - 10rem));padding:.75rem 1rem;transform:translateX(-50%);border-radius:14px;background:rgba(7,13,10,.82);text-align:center;backdrop-filter:blur(8px)}.lightbox-caption strong{color:#fff}.lightbox-caption span{color:#ffffffe0}.lightbox-caption small{color:#ffffffa8}.lightbox-caption:not(.hidden)+.lightbox-next~.lightbox-counter{bottom:.65rem}
.audio-guestbook-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.audio-guestbook-head h2{margin-top:2px}.audio-intro{margin:10px 0 22px;padding:16px 18px;border-left:4px solid var(--gold);border-radius:0 14px 14px 0;background:var(--soft);color:var(--muted);line-height:1.55}.audio-list{display:grid;gap:12px}.audio-card{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:15px;padding:15px;border:1px solid var(--line);border-radius:17px;background:#fff}.audio-number{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--green);color:#fff;font-weight:800}.audio-card>div{min-width:0;display:grid;gap:8px}.audio-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audio-card audio{width:100%;height:42px}.audio-empty{display:grid;place-items:center;gap:7px;padding:35px 20px;border:1px dashed var(--line);border-radius:18px;background:var(--soft);text-align:center}.audio-empty>span{font-size:38px;color:var(--gold)}.audio-empty p{max-width:520px;margin:0;color:var(--muted);line-height:1.5}
@media(max-width:650px){.tab{padding:10px 5px;font-size:13px}.upload-details{grid-template-columns:1fr}.upload-details .wide{grid-column:auto}.gallery-filter select{display:block;max-width:none;margin-left:0}.lightbox-caption{bottom:4.9rem;width:calc(100% - 1.5rem);font-size:.9rem}.lightbox-content:has(+.lightbox-caption:not(.hidden)) img,.lightbox-content:has(+.lightbox-caption:not(.hidden)) video{max-height:calc(100dvh - 14rem)}.audio-card{grid-template-columns:1fr}.audio-number{width:36px;height:36px}.audio-guestbook-head{align-items:center}}
.audio-recorder{display:grid;gap:13px;margin:16px 0 22px;padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--soft)}.audio-welcome{margin:0;color:var(--muted);line-height:1.55}.audio-recorder>label:not(.privacy-consent){font-size:14px;font-weight:750}.audio-recorder>label:not(.privacy-consent) small{color:var(--muted);font-weight:500}.audio-recorder>label:not(.privacy-consent) input,.audio-recorder>input{width:100%;margin-top:6px;padding:11px 12px;border:1px solid var(--line);border-radius:11px;background:#fff;color:inherit;font:inherit}.recorder-status{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:12px 14px;border-radius:13px;background:#fff}.record-dot{width:11px;height:11px;border-radius:50%;background:#9aa6a0}.record-dot.active{background:#c53030;box-shadow:0 0 0 6px rgba(197,48,48,.14);animation:record-pulse 1.2s infinite}.record-dot.waiting{background:var(--gold)}.recorder-status time{font-variant-numeric:tabular-nums;color:var(--muted)}.audio-recorder>audio{width:100%}.recorder-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.recorder-actions button{min-height:48px;border-radius:13px;padding:10px}.danger-button{background:#9b2c2c;color:#fff}.recorder-hint{margin:0;color:var(--muted);font-size:13px;line-height:1.45}@keyframes record-pulse{50%{transform:scale(1.16)}}@media(max-width:520px){.recorder-actions{grid-template-columns:1fr}.recorder-status{grid-template-columns:auto 1fr}.recorder-status time{grid-column:2}}
.audio-welcome{white-space:pre-line}
