* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: system-ui, 'Gilroy', 'Roboto', 'Helvetica Neue', sans-serif; background: #f4f6fa; color: #1e293b; line-height: 1.4; }
.header { background: linear-gradient(135deg, #0a1a2a 0%, #0f2b3d 100%); color: white; padding: 2rem 1.5rem; text-align: center; box-shadow: 0 8px 20px rgba(0,0,0,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); position: relative; overflow: hidden; }
.header::before { content: ""; position: absolute; top: -50%; right: -20%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%); border-radius: 50%; }
.header h1, .h1 { font-size: 2rem; letter-spacing: -0.01em; font-weight: 700; margin-bottom: 0.5rem; position: relative; }
.h1 a {text-decoration:none;color:white;}
.header p { font-size: 1rem; opacity: 0.85; max-width: 600px; margin: 0 auto; position: relative; }
.badge { display: inline-block; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); border-radius: 40px; padding: 0.3rem 1.2rem; font-size: 0.75rem; margin-top: 0.75rem; font-weight: 500; position: relative; }
.container { max-width: 1300px; margin: 0 auto; padding: 2rem 1.5rem; }
.episodes-list { display: flex; flex-direction: column; gap: 1.5rem; }
.episode-card { background: white; border-radius: 24px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); transition: all 0.3s ease; border: 1px solid #e9edf2; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; padding: 1rem; overflow: hidden; }
.episode-card:hover { transform: translateY(-3px); box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15); border-color: #cbd5e1; }
.episode-thumb { flex-shrink: 0; width: 160px; height: 90px; border-radius: 16px; overflow: hidden; background: #0a1a2a; position: relative; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.episode-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.episode-card:hover .episode-thumb img { transform: scale(1.05); }
.play-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s; backdrop-filter: blur(2px); }
.episode-thumb:hover .play-overlay { opacity: 1; }
.play-overlay span { background: rgba(255,255,255,0.9); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #0f2b3d; font-weight: bold; }
.episode-info { flex: 3; min-width: 180px; }
.episode-date { font-size: 1.2rem; font-weight: 700; color: #0f2b3d; display: inline-flex; align-items: center; gap: 6px; background: #f0f4f9; padding: 0.25rem 1rem; border-radius: 40px; margin-bottom: 0.6rem; }
.episode-desc { color: #475569; font-size: 0.9rem; line-height: 1.45; max-width: 550px; }
.episode-action { flex-shrink: 0; }
.watch-btn { display: inline-flex; align-items: center; gap: 8px; background: #0f2b3d; color: white; border: none; padding: 0.7rem 1.6rem; border-radius: 60px; font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: 0.2s; text-decoration: none; font-family: inherit; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.watch-btn:hover { background: #1e4a6e; transform: scale(1.02); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }
.watch-btn::before { content: "▶"; font-size: 0.7rem; }

.fullstory { background: white; border-radius: 28px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); overflow: hidden; }
.news-title { font-size: 1.8rem; padding: 1.5rem 1.5rem 0.5rem; color: #0a1a2a; }
.news-title .gray { color: #6c7a8e; font-size: 1.2rem; font-weight: normal; }
.d-flex {display: flex;}

/* Плеер с табами */
.player-tabs-container { background: #0f172a; border-radius: 20px; overflow: hidden; margin: 1rem; display: block; }
.player-tabs-nav { display: flex; gap: 0.5rem; padding: 1rem; background: #0f172a; flex-wrap: wrap; border-radius: 16px 16px 0 0; }
.tab-btn { background: #1e293b; border: none; color: #94a3b8; padding: 0.5rem 1.2rem; border-radius: 40px; cursor: pointer; font-weight: 500; transition: all 0.2s; }
.tab-btn.active { background: #3b82f6; color: white; }
.player-tabs-content { position: relative; background: #000; aspect-ratio: 16 / 9; border-radius: 0 0 16px 16px; overflow: hidden; }
.tab-pane { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: none; }
.tab-pane.active { display: block; }
.play-btn:hover { transform: translate(-50%, -50%) scale(1.1); }
/* Статистика */
.stats { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; gap: 1rem; margin-top: 1rem; }
.stat-item { display: flex; align-items: center; gap: 0.5rem; }
.d-flex { display: flex; align-items: center; }
.ai-center { align-items: center; }
.gap10 { gap: 10px; }
.flex-column { flex-direction: column; align-items: flex-start; }
.full_footer { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; background: #f8fafc; }
.logocat { width: 32px; height: 32px; border-radius: 8px; }
.linkcat { font-weight: bold; text-decoration: none; color: #0f2b3d; }
.cmbtn { background: #0f2b3d; color: white; border: none; padding: 0.6rem 1.2rem; border-radius: 40px; cursor: pointer; display: flex; align-items: center; gap: 0.5rem; }
.short-story, .full-story { padding: 0 1.5rem 1rem; line-height: 1.6; color: #334155; }
.full-story { padding-bottom: 1.5rem; }
.comments { background: white; border-radius: 28px; padding: 1.5rem; margin-top: 1.5rem; }
.compliant { display: flex; justify-content: space-between; align-items: center; }

.nogrid { background: white; border-radius: 28px; padding: 1.5rem; width: 320px;flex-shrink: 0;}
.nogrid ul { list-style: none; margin-top: 1rem; }
.nogrid li { margin-bottom: 0.75rem; }
.nogrid a { text-decoration: none; color: #0f2b3d; font-weight: 500; transition: color 0.2s; }
.nogrid a:hover { color: #3b82f6; }
.ac-form__header { display: flex; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.ac-form__input { flex: 1; min-width: 180px; padding: 0.75rem 1.25rem; border: 2px solid #e2e8f0; border-radius: 40px; font-family: inherit; font-size: 0.9rem; color: #1e293b; background: #f8fafc; transition: all 0.25s ease; outline: none; }
.ac-form__input:focus { border-color: #3b82f6; background: white; box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1); }
.ac-form__input::placeholder { color: #94a3b8; }
.ac-form__editor { margin-bottom: 1.25rem; border-radius: 16px; overflow: hidden; border: 2px solid #e2e8f0; transition: border-color 0.25s ease; }
.ac-form__editor:focus-within { border-color: #3b82f6; box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1); }
.message-info {  border-radius: 16px;  margin-bottom: 1.25rem; border: 1px solid #e9edf2; }
.message-info.d-none { display: none; }
.form__row { margin-bottom: 1rem; }
.form__row:last-child { margin-bottom: 0; }
.form__row--protect { background: white; padding: 1rem; border-radius: 12px; border: 1px solid #e9edf2; }
.form__label { display: block; font-size: 0.85rem; font-weight: 600; color: #475569; margin-bottom: 0.5rem; }
.form__label--important { color: #0f2b3d; }
.form__label--important::after { content: " *"; color: #ef4444; }
.flex_full {display: flex;gap: 15px;}
.form__input { width: 100%; padding: 0.7rem 1rem; border: 2px solid #e2e8f0; border-radius: 40px; font-family: inherit; font-size: 0.9rem; color: #1e293b; background: #f8fafc; transition: all 0.25s ease; outline: none; }
.form__input:focus { border-color: #3b82f6; background: white; box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1); }
.form__sec-code { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form__sec-code .form__input { flex: 1; min-width: 180px; }
.form__sec-code img { border-radius: 8px; height: 38px; }
.ac-form__bottom { display: flex; align-items: center; justify-content: flex-end; }
.ac-form__btn { display: inline-flex; align-items: center; gap: 8px; background: #0f2b3d; color: white; border: none; padding: 0.75rem 2rem; border-radius: 60px; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all 0.25s ease; font-family: inherit; box-shadow: 0 2px 8px rgba(15, 43, 61, 0.2); }
.ac-form__btn:hover { background: #1e4a6e; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(15, 43, 61, 0.3); }
.ac-form__btn:active { transform: translateY(0); box-shadow: 0 2px 4px rgba(15, 43, 61, 0.2); }
.news-content { padding: 0; }
.blockcomment { display: flex; gap: 1rem; padding: 1.25rem; background: white; border-radius: 16px; border: 1px solid #e9edf2; transition: all 0.25s ease; margin-bottom: 1rem; position: relative; }
.blockcomment:hover { border-color: #cbd5e1; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04); transform: translateY(-1px); }
.js-comm-avatar { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #0f2b3d 0%, #1e4a6e 100%); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 1.1rem; text-transform: uppercase; position: relative; overflow: hidden; }
.js-comm-avatar::before { content: attr(data-name); }
.js-comm-avatar[data-name=""]::before { content: "?"; }
.js-comm-avatar::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 33%; background: rgba(0, 0, 0, 0.15); }
.comm { flex: 1; min-width: 0; }
.comheader { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; flex-wrap: wrap; }
.comautor { font-weight: 700; font-size: 0.95rem; color: #0f2b3d; letter-spacing: -0.01em; }
.date { font-size: 0.8rem; color: #94a3b8; background: #f1f5f9; padding: 0.2rem 0.75rem; border-radius: 40px; font-weight: 500; }
.comm { font-size: 0.9rem; line-height: 1.6; color: #334155; word-wrap: break-word; overflow-wrap: break-word; }
.comm p { margin-bottom: 0.75rem; }
.comm p:last-child { margin-bottom: 0; }
.comm a { color: #3b82f6; text-decoration: none; font-weight: 500; transition: color 0.2s ease; }
.comm a:hover { color: #2563eb; text-decoration: underline; }
.comm blockquote { border-left: 3px solid #3b82f6; padding: 0.5rem 1rem; margin: 0.75rem 0; background: #f8fafc; border-radius: 0 8px 8px 0; color: #64748b; font-style: italic; }
.comm img { max-width: 100%; border-radius: 12px; margin: 0.5rem 0; }
.comm code { background: #f1f5f9; padding: 0.15rem 0.4rem; border-radius: 4px; font-size: 0.85em; color: #e11d48; }
.blockcomment .blockcomment { margin-left: 3rem; background: #f8fafc; border-color: #e9edf2; }
.blockcomment .blockcomment .js-comm-avatar { width: 40px; height: 40px; font-size: 0.9rem; }
.blockcomment { animation: commentFadeIn 0.4s ease backwards; }
@keyframes commentFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.blockcomment + .blockcomment { border-top: none; }
.newlink { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; background: white; border-radius: 16px; border: 1px solid #e9edf2; text-decoration: none; color: #1e293b; font-weight: 600; font-size: 0.9rem; line-height: 1.4; transition: all 0.25s ease; position: relative; overflow: hidden; }
.newlink::before { content: ""; width: 4px; height: 100%; background: #3b82f6; position: absolute; left: 0; top: 0; border-radius: 4px 0 0 4px; opacity: 0; transition: opacity 0.25s ease; }
.newlink::after { content: "→"; font-size: 1.1rem; color: #94a3b8; transition: all 0.25s ease; flex-shrink: 0; margin-left: auto; }
.newlink:hover { background: #f8fafc; border-color: #3b82f6; color: #0f2b3d; transform: translateX(4px); box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1); }
.newlink:hover::before { opacity: 1; }
.newlink:hover::after { color: #3b82f6; transform: translateX(4px); }
.newlink:active { transform: translateX(2px); box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1); }
.newlink { animation: fadeSlideIn 0.4s ease backwards; }
@keyframes fadeSlideIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
.newlink + .newlink { margin-top: 0.5rem; }
.nogrid .newlink { animation: fadeSlideIn 0.4s ease backwards; }
.nogrid .newlink:nth-child(1) { animation-delay: 0.05s; }
.nogrid .newlink:nth-child(2) { animation-delay: 0.1s; }
.nogrid .newlink:nth-child(3) { animation-delay: 0.15s; }
.nogrid .newlink:nth-child(4) { animation-delay: 0.2s; }
.nogrid .newlink:nth-child(5) { animation-delay: 0.25s; }
.nogrid .newlink:nth-child(n+6) { animation-delay: 0.3s; }
.header h1 a {text-decoration: none;color: white;}
.bottom-nav { padding-top: 10px;grid-row-end: span 1; grid-column-start: 1; grid-column-end: -1;}
.nav-load a {display: flex; align-items: center; justify-content: center; padding: 0 20px; max-width: 100px; margin: 0 auto;    text-decoration: none; background: linear-gradient(to top, #3e9cb3, #48b0ca); color: #fff; text-align: center; height: 50px; border-radius: 4px;}
.nav-load a:hover, .fdl:hover {background: linear-gradient(to bottom, #3e9cb3, #48b0ca); color: #fff;}
.nav-load > span {display: none;}
.navigation {text-align:center;}
.navigation a, .navigation span, .pnext a, .pprev a, .pprev > span, .pnext > span {display:inline-block; padding:0 10px; margin:0 3px 10px 3px; line-height: 40px; min-width: 40px; background-color: #fff; box-shadow: 0 0 0 1px #eee; border-radius: 4px; font-weight: 500; font-size: 17px;}
.navigation span:not(.nav_ext), .pagi-nav a:hover {background-color:#3e9cb3; color: #fff;}
.comments-tree-list {list-style:none;}
.comments-tree-item .comments-tree-list { position: relative; padding-left: 20px; margin-left: 20px; }

.comments-tree-item .comments-tree-list::before { content: '\f148'; font-family: 'Font Awesome 5 Pro'; font-weight: 900; position: absolute; top: 0; left: 0; font-size: 16px; color: #ccc;    transform: rotate(90deg);}
.footcom a {    color: black; opacity: 0.6; text-decoration: underline;}
.footcom {display: flex;gap: 15px;}
.comrate a {font-size: 16px;color: #000; font-weight: 700;}
.comrate .fa-thumbs-up {color: green;font-size: 20px;}
.comrate .fa-thumbs-down {color: red;font-size: 20px;}
.comrate {    display: flex; gap: 15px; align-items: center;}

.full-story > p,.mainseo p {
    margin-bottom: 10px;
    
    font-weight: 400;
    line-height: 1.2;
}
.mainseo h2 {margin-top:15px;}
.speedbar {color: #9ba4ab;padding: 10px 0;}
.speedbar a {color: #000;}
@media (max-width: 1000px) {
    .flex_full {flex-direction: column;}
    .nogrid {width: 100%;}
}

@media (max-width: 700px) {
    .container {padding: 0.5rem;}
    .episode-card { flex-direction: column; align-items: flex-start; }
    .episode-thumb { width: 100%; height: 180px; }
    .episode-action { width: 100%; }
    .watch-btn { width: 100%; justify-content: center; }
    .header h1, .h1 { font-size: 1.5rem; }
    .news-title { font-size: 1.4rem; }
    .stats { flex-direction: column; align-items: flex-start; }
    .full_footer { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .player-tabs-nav { justify-content: center; }
    .tab-btn { padding: 0.4rem 1rem; font-size: 0.75rem; }
    .ac-form__header { flex-direction: column; gap: 0.75rem; }
    .ac-form__input { width: 100%; }
    .form__sec-code { flex-direction: column; align-items: flex-start; }
    .form__sec-code .form__input { width: 100%; }
    .ac-form__btn { width: 100%; justify-content: center; }
    .message-info { padding: 1rem; }
    .blockcomment { flex-direction: column; gap: 0.75rem; padding: 1rem; border-radius: 12px; }
    .js-comm-avatar { width: 40px; height: 40px; font-size: 0.9rem; }
    .comheader { gap: 0.5rem; }
    .comautor { font-size: 0.9rem; }
    .date { font-size: 0.75rem; padding: 0.15rem 0.6rem; }
    .comm { font-size: 0.85rem; }
    .blockcomment .blockcomment { margin-left: 1.5rem; }
    .blockcomment .blockcomment .js-comm-avatar { width: 32px; height: 32px; font-size: 0.75rem; }
    .newlink { padding: 0.85rem 1rem; border-radius: 12px; font-size: 0.85rem; }
    .newlink::after { font-size: 1rem; }
}

.episode-card { animation: fadeSlideUp 0.4s ease backwards; }
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
.footer { text-align: center; padding: 2rem 1rem; border-top: 1px solid #e2e8f0; margin-top: 1rem; color: #5b6e8c; font-size: 0.85rem; background: #fafcff; }