/* === LUXURY GOLD & DARK VOD PLAYER + KOMENTARZE (NEDDS24.PL) — CZYSTA WERSJA === */
.nw-layout { display: flex; flex-wrap: nowrap; align-items: flex-start; justify-content: space-between; gap: 14px; width: 100%; margin: 12px 0 24px; color: #f4efe8; }
.nw-main { flex: 1 1 auto; width: auto; min-width: 0; }
.nw-side { flex: 0 0 23%; width: 23%; min-width: 295px; position: sticky; top: 16px; }
.nw-main .tborder, .nw-side .tborder { border: 1px solid rgba(226, 184, 121, 0.24) !important; border-radius: 12px !important; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); }

/* Nagłówek, Języki i Serwery */
.nw-head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.nw-series-link { display: inline-flex; align-items: center; gap: 6px; color: #e2b879 !important; font-size: 11.5px; font-weight: 800; text-decoration: none !important; text-transform: uppercase; letter-spacing: 0.4px; }
.nw-series-link:hover { text-decoration: underline !important; }
.nw-ep-heading { margin: 3px 0 0; font-size: 16.5px; font-weight: 800; color: #ffffff; line-height: 1.25; }
.nw-langs, .nw-grp { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.nw-servers-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 14px; background: #110f0d; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 11.5px; }

/* Poziomy pasek odcinków nad playerem (1 linia przewijana lewo/prawo) */
.nw-ep-strip-wrap { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; padding: 8px 12px; background: #110f0d; border-bottom: 1px solid rgba(255,255,255,0.07); }
.nw-ep-grid { display: flex; flex-wrap: nowrap; gap: 5px; overflow-x: auto; -webkit-overflow-scrolling: touch; touch-action: pan-x; scroll-behavior: smooth; flex: 1 1 auto; min-width: 0; scrollbar-width: none; }
.nw-ep-grid::-webkit-scrollbar { display: none; }
.nw-ep-tile { flex: 0 0 36px; width: 36px; height: 28px; border-radius: 6px; background: #1d1a16; border: 1px solid #352f28; color: #e5ded5 !important; font-size: 11.5px; font-weight: 800; text-decoration: none !important; display: inline-flex; align-items: center; justify-content: center; transition: 0.15s; }
.nw-ep-tile:hover { border-color: #e2b879; color: #e2b879 !important; background: #28241e; }
.nw-ep-tile.watched { border-color: rgba(52, 211, 153, 0.45); color: #34d399 !important; }
.nw-ep-tile.current { background: linear-gradient(135deg, #e2b879, #c8974e) !important; border-color: #f0cf99 !important; color: #12100e !important; box-shadow: 0 3px 10px rgba(226, 184, 121, 0.35); }
.nw-ep-arrow { flex: 0 0 26px; width: 26px; height: 28px; border-radius: 6px; background: #1d1a16; border: 1px solid rgba(226,184,121,0.4); color: #e2b879; font-size: 11px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.nw-ep-arrow:hover { background: #e2b879; color: #12100e; }
.nw-ep-jump { flex: 0 0 74px; width: 74px; background: #0e0d0c; border: 1px solid #3a332b; border-radius: 6px; padding: 4px 7px; color: #f4efe8; font-size: 11px; outline: none; }

/* Przyciski */
.nw-pill, .nw-btn { background: #23201c; border: 1px solid #453d33; color: #f4efe8 !important; padding: 6px 12px; border-radius: 8px; font-size: 11.5px; font-weight: 700; text-decoration: none !important; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-shadow: none !important; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.nw-pill:hover, .nw-btn:hover { background: #2f2a24; border-color: #e2b879; color: #e2b879 !important; }
.nw-pill.active { background: linear-gradient(135deg, #e2b879, #c8974e); border-color: #e2b879; color: #12100e !important; font-weight: 800; }
.nw-btn.watched-active { background: rgba(52, 211, 153, 0.16); border-color: #34d399; color: #34d399 !important; }
.nw-btn.liked-active, .nw-btn.fav-active { background: rgba(239, 68, 68, 0.16); border-color: #ef4444; color: #f87171 !important; }
.nw-btn.next-gold { border-color: rgba(226, 184, 121, 0.55); color: #e2b879 !important; }

/* Ekran 16:9 i Tryb Kinowy */
.nw-screen { position: relative; width: 100%; padding-top: 56.25%; background: #000000; overflow: hidden; }
.nw-screen iframe, .nw-screen video { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.nw-controls-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
#nw-cinema-dim { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.92); z-index: 9980; }
body.nw-cinema-on #nw-cinema-dim { display: block; }
body.nw-cinema-on .nw-player-box { position: relative; z-index: 9990; box-shadow: 0 0 0 1px #e2b879, 0 20px 60px rgba(0, 0, 0, 0.98) !important; }

/* Komentarze pod odcinkiem */
.nw-comm-form { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.nw-comm-form textarea, .nw-comm-edit-area { width: 100%; box-sizing: border-box; background: #0e0d0c; border: 1px solid #383129; border-radius: 8px; padding: 9px 12px; color: #f4efe8; font-size: 12.5px; line-height: 1.5; resize: vertical; outline: none; font-family: inherit; }
.nw-comm-form textarea:focus, .nw-comm-edit-area:focus { border-color: #e2b879; }
.nw-comm-list { display: flex; flex-direction: column; gap: 10px; }
.nw-comm-item { display: flex; gap: 11px; background: #191613; border: 1px solid #2c2721; border-radius: 10px; padding: 11px 13px; }
.nw-comm-av { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; border: 1px solid rgba(226,184,121,0.35); flex-shrink: 0; background: #0e0d0c; }
.nw-comm-body { flex: 1; min-width: 0; }
.nw-comm-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 5px; }
.nw-comm-author { font-size: 12.5px; font-weight: 800; color: #e2b879; text-decoration: none !important; }
.nw-comm-date { font-size: 10.5px; color: #8e867c; }
.nw-comm-actions { display: flex; align-items: center; gap: 5px; }
.nw-cact { background: #23201c; border: 1px solid #3d362d; color: #cfc7bc; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 5px; cursor: pointer; }
.nw-cact:hover { border-color: #e2b879; color: #e2b879; }
.nw-cact.del:hover { border-color: #ef4444; color: #f87171; }
.nw-comm-text { font-size: 12.5px; line-height: 1.55; color: #e8e1d8; word-break: break-word; }
.nw-spoiler { background: #0b0a09; color: transparent; border: 1px dashed #453d33; border-radius: 4px; padding: 1px 6px; cursor: pointer; user-select: none; transition: 0.2s; }
.nw-spoiler.open { color: #f4efe8; background: rgba(226,184,121,0.1); border-color: rgba(226,184,121,0.35); user-select: text; }

/* Prawy sidebar */
.nw-series-card { display: flex; gap: 11px; align-items: center; }
.nw-series-card img { width: 58px; height: 82px; object-fit: cover; border-radius: 7px; border: 1px solid rgba(226,184,121,0.35); flex-shrink: 0; }
.nw-prog-bar { height: 6px; background: #26211c; border-radius: 99px; overflow: hidden; margin: 6px 0 4px; }
.nw-prog-fill { height: 100%; background: linear-gradient(90deg, #e2b879, #34d399); }
.nw-meta-list { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.nw-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.nw-meta-row span { color: #9e968c; }
.nw-meta-row strong { color: #f4efe8; text-align: right; }
.nw-report-box { margin-top: 10px; padding: 9px 10px; border-radius: 8px; background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.28); font-size: 11.5px; color: #e5ded5; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.nw-report-link { background: rgba(245, 158, 11, 0.18); border: 1px solid rgba(245, 158, 11, 0.5); color: #fbbf24 !important; font-weight: 800; font-size: 11px; padding: 4px 9px; border-radius: 6px; text-decoration: none !important; white-space: nowrap; }
.nw-report-link:hover { background: #f59e0b; color: #12100e !important; }

/* Modal i Toast */
.nw-modal-bg { display: none; position: fixed; inset: 0; z-index: 10000; background: rgba(0, 0, 0, 0.84); align-items: center; justify-content: center; padding: 16px; }
.nw-modal-box { background: linear-gradient(180deg, #1e1b17 0%, #141311 100%); border: 1px solid #e2b879; border-radius: 14px; max-width: 500px; width: 100%; padding: 20px; position: relative; color: #f5f0e8; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85); }
.nw-modal-box input[type="text"], .nw-modal-box textarea { width: 100%; box-sizing: border-box; background: #0e0d0c; border: 1px solid #3d352c; border-radius: 6px; padding: 7px 10px; color: #fff; font-size: 12px; }
.nw-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: linear-gradient(135deg, #1f1c18, #141311); border: 1px solid #e2b879; color: #f5f0e8; padding: 10px 18px; border-radius: 999px; font-size: 12.5px; font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75); z-index: 10005; opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; }
.nw-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media screen and (max-width: 820px) {
	.nw-layout { flex-wrap: wrap; }
	.nw-main, .nw-side { flex: 1 1 100%; width: 100%; min-width: 0; position: static; }
}
