.resta-tv-photos{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;max-width:204px;margin:8px auto;flex-shrink:0}
.resta-tv-photos>button{display:block!important;appearance:none;min-width:0;min-height:44px;padding:2px;border:1px solid #c9c5c0;border-radius:7px;background:#fff;color:#242424;cursor:pointer;overflow:hidden}
.resta-tv-photos>button:hover,.resta-tv-photos>button[aria-pressed=true]{border-color:#353330;box-shadow:0 0 0 1px #353330}
.resta-tv-photos>button:focus-visible,.resta-tv-dialog button:focus-visible{outline:2px solid #353330;outline-offset:3px}
.resta-tv-photos>button>img{display:block!important;position:static!important;width:100%!important;height:44px!important;max-width:none!important;object-fit:contain!important;transform:none!important;opacity:1!important;visibility:visible!important}
.resta-tv-note{margin:5px 0 8px;font:600 13px/1.4 Arial,sans-serif;color:#3c3935;text-align:center}
[data-resta-tv-modal-photos][hidden]{display:none!important}
[data-resta-tv-modal-photos]{flex-shrink:0}
[data-resta-tv-modal-photos] .resta-tv-photos{margin:5px auto 8px;max-width:180px}
.resta-tv-dialog{box-sizing:border-box;width:min(92vw,640px);max-height:92dvh;max-width:640px;padding:16px;border:1px solid #d8d1c9;border-radius:16px;background:#f8f6f3;color:#242424;overflow:auto;overscroll-behavior:contain}
.resta-tv-dialog::backdrop{background:rgba(0,0,0,.65)}
.resta-tv-dialog__head{display:flex;align-items:center;justify-content:space-between;gap:12px;font:700 17px/1.3 Arial,sans-serif}
.resta-tv-dialog button{appearance:none;min-width:44px;min-height:44px;border:1px solid #c9c5c0;border-radius:8px;background:#fff;color:#242424;cursor:pointer;font:600 22px/1 Arial,sans-serif}
.resta-tv-dialog [data-resta-tv-large]{display:block;width:100%;height:min(50dvh,470px);margin:8px auto;object-fit:contain;background:white;border-radius:9px}
.resta-tv-navigation{display:flex;align-items:center;justify-content:center;gap:20px;font:500 14px/1.4 Arial,sans-serif}
@media(max-width:749px){.resta-tv-dialog{padding:12px}.resta-tv-dialog__head{font-size:15px}.resta-tv-dialog [data-resta-tv-large]{height:44dvh}}
