/* 18.11.2026 zdjecia i filmy w opiniach mikup.pl (assets/js/opinie-media.js, includes/modules/opinion-media.php) - komputer i telefon */
.ure-opm { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 2px; }
.ure-opm a { text-decoration: none; }
.ure-opm-foto { display: block; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: #f1f2f6; border: 1px solid #e3e5ee; flex: none; }
.ure-opm-foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.ure-opm-foto:hover img { transform: scale(1.06); }
.ure-opm-film { position: relative; display: inline-flex; align-items: center; flex: none; }
.ure-opm-yt { width: 128px; height: 72px; border-radius: 10px; overflow: hidden; background: #111; border: 1px solid #e3e5ee; }
.ure-opm-yt img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; }
.ure-opm-yt .ure-opm-play { position: absolute; left: 50%; top: 50%; width: 34px; height: 24px; margin: -12px 0 0 -17px; border-radius: 7px; background: #e62117; }
.ure-opm-yt .ure-opm-play::after { content: ''; position: absolute; left: 14px; top: 7px; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent #fff; }
.ure-opm-link { gap: 8px; height: 36px; padding: 0 14px 0 10px; border-radius: 18px; background: #f1f2f6; border: 1px solid #e3e5ee; color: #1d2b4f; font-size: 12px; font-weight: 700; align-self: center; }
.ure-opm-link .ure-opm-play { position: relative; width: 20px; height: 20px; border-radius: 50%; background: #1d2b4f; flex: none; }
.ure-opm-link .ure-opm-play::after { content: ''; position: absolute; left: 8px; top: 6px; border-style: solid; border-width: 4px 0 4px 6px; border-color: transparent transparent transparent #fff; }
.ure-opm-tiktok .ure-opm-play { background: #000; }
.ure-opm-instagram .ure-opm-play { background: linear-gradient(45deg, #f58529, #dd2a7b 55%, #8134af); }
.ure-opm-facebook .ure-opm-play { background: #1877f2; }

/* formularz */
.ure-opm-form { margin: 10px 0 4px; text-align: left; }
.ure-opm-lab { font-size: 12px; font-weight: 700; margin-bottom: 6px; color: inherit; }
.ure-opm-dodaj { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1px dashed #a259ff; border-radius: 8px; color: #6a35c9; font-size: 13px; font-weight: 700; cursor: pointer; background: rgba(162, 89, 255, .05); }
.ure-opm-dodaj[hidden] { display: none; }
.ure-opm-dodaj:hover { background: rgba(162, 89, 255, .12); }
.ure-opm-lista { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.ure-opm-lista:empty { display: none; }
.ure-opm-miniatura { position: relative; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: #f1f2f6; border: 1px solid #e3e5ee; }
.ure-opm-miniatura img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ure-opm-miniatura.is-blad { border-color: #c0392b; background: #fdecea; }
.ure-opm-blad { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #c0392b; font-weight: 800; font-size: 20px; }
.ure-opm-kolko { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 3px solid #d9cbff; border-top-color: #a259ff; border-radius: 50%; animation: ure-opm-krec .8s linear infinite; }
.ure-opm-miniatura:not(.is-wgrywa) .ure-opm-kolko { display: none; }
@keyframes ure-opm-krec { to { transform: rotate(360deg); } }
.ure-opm-usun { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; font-size: 15px; line-height: 22px; padding: 0; cursor: pointer; }
.ure-opm-pole { display: block; width: 100%; box-sizing: border-box; padding: 10px; margin: 8px 0 0; border: 1px solid #ddd; border-radius: 5px; font: inherit; font-size: 13px; }
.ure-opm-pole[hidden] { display: none; }
.ure-opm-pole.is-zly { border-color: #c0392b; }
.ure-opm-zgoda { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; font-size: 12px; line-height: 1.45; cursor: pointer; }
.ure-opm-zgoda[hidden] { display: none; }
.ure-opm-zgoda input { margin-top: 2px; flex: none; accent-color: #a259ff; }
.ure-opm-info { margin: 8px 0 0; font-size: 11px; line-height: 1.45; color: #7a8199; }
.ure-opm-msg { margin: 8px 0 0; font-size: 12px; color: #c0392b; font-weight: 600; }
.ure-opm-msg[hidden] { display: none; }

/* powiekszenie */
html.ure-opm-lb-on, html.ure-opm-lb-on body { overflow: hidden; }
.ure-opm-lb { position: fixed; inset: 0; z-index: 2147483000; background: rgba(10, 12, 20, .92); display: flex; align-items: center; justify-content: center; }
.ure-opm-lb-in { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 56px 16px; box-sizing: border-box; }
.ure-opm-lb-in img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.ure-opm-lb-film { width: min(960px, 100%); aspect-ratio: 16 / 9; }
.ure-opm-lb-film iframe { width: 100%; height: 100%; border: 0; border-radius: 8px; background: #000; }
.ure-opm-lb-x, .ure-opm-lb-nav { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; border-radius: 50%; width: 44px; height: 44px; font-size: 28px; line-height: 44px; padding: 0; }
.ure-opm-lb-x { top: 12px; right: 12px; }
.ure-opm-lb-nav { top: 50%; margin-top: -22px; }
.ure-opm-lb-prev { left: 12px; }
.ure-opm-lb-next { right: 12px; }
.ure-opm-lb-x:hover, .ure-opm-lb-nav:hover { background: rgba(255, 255, 255, .28); }

/* ciemny motyw */
html[data-theme="dark"] .ure-opm-foto, html[data-theme="dark"] .ure-opm-miniatura { background: #22263a !important; border-color: #343a55 !important; }
html[data-theme="dark"] .ure-opm-yt { border-color: #343a55 !important; }
html[data-theme="dark"] .ure-opm-link { background: #22263a !important; border-color: #343a55 !important; color: #e6e8f2 !important; }
html[data-theme="dark"] .ure-opm-link .ure-opm-play { background: #e6e8f2; }
html[data-theme="dark"] .ure-opm-link .ure-opm-play::after { border-color: transparent transparent transparent #22263a; }
html[data-theme="dark"] .ure-opm-dodaj { color: #c9b2ff !important; border-color: #8b6fd6 !important; background: rgba(162, 89, 255, .1) !important; }
html[data-theme="dark"] .ure-opm-pole { background: #1b1e2e !important; border-color: #343a55 !important; color: #e6e8f2 !important; }
html[data-theme="dark"] .ure-opm-info { color: #9aa1b5 !important; }
html[data-theme="dark"] .ure-opm-msg { color: #ff8a80 !important; }
