/* Extracted from single-series.php; rule order preserved. */

.galaxy-download-section {
                margin: 30px 0;
            }
            
            .galaxy-card {
                background: radial-gradient(ellipse at top left, #0d1f3c 0%, #070d1a 50%, #0a0f1e 100%);
                border: 1px solid rgba(96, 165, 250, 0.12);
                border-radius: 22px;
                padding: 26px 18px;
                position: relative;
                overflow: hidden;
            }
            
            .galaxy-card::before {
                content: '';
                position: absolute;
                top: -60px;
                right: -60px;
                width: 220px;
                height: 220px;
                background: radial-gradient(circle, rgba(14,116,144,0.18) 0%, transparent 70%);
                border-radius: 50%;
                pointer-events: none;
            }
            
            .galaxy-card::after {
                content: '';
                position: absolute;
                bottom: -80px;
                left: -40px;
                width: 280px;
                height: 280px;
                background: radial-gradient(circle, rgba(30,58,138,0.15) 0%, transparent 70%);
                border-radius: 50%;
                pointer-events: none;
            }
            
            .galaxy-stars {
                position: absolute;
                inset: 0;
                background-image:
                    radial-gradient(1px 1px at 15% 20%, rgba(255,255,255,0.35) 0%, transparent 100%),
                    radial-gradient(1px 1px at 75% 10%, rgba(255,255,255,0.25) 0%, transparent 100%),
                    radial-gradient(1px 1px at 40% 60%, rgba(255,255,255,0.2)  0%, transparent 100%),
                    radial-gradient(1px 1px at 90% 45%, rgba(255,255,255,0.3)  0%, transparent 100%),
                    radial-gradient(1px 1px at 25% 85%, rgba(255,255,255,0.2)  0%, transparent 100%),
                    radial-gradient(1px 1px at 60% 30%, rgba(255,255,255,0.15) 0%, transparent 100%),
                    radial-gradient(1px 1px at 5%  50%, rgba(255,255,255,0.25) 0%, transparent 100%),
                    radial-gradient(1px 1px at 85% 75%, rgba(255,255,255,0.2)  0%, transparent 100%);
                pointer-events: none;
            }
            
            .galaxy-title {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 10px;
                font-size: 15px;
                font-weight: 700;
                color: #e0f2fe;
                margin-bottom: 20px;
                position: relative;
                z-index: 1;
                letter-spacing: 0.4px;
            }
            
            .galaxy-title-icon {
                width: 34px;
                height: 34px;
                background: linear-gradient(135deg, #0e7490, #1e3a8a);
                border-radius: 10px;
                display: flex;
                align-items: center;
                justify-content: center;
                box-shadow: 0 0 14px rgba(14,116,144,0.45);
            }
            
            .galaxy-title-icon ion-icon {
                font-size: 20px;
                color: #7dd3fc;
            }
            
            /* Accordion */
            .galaxy-accordion {
                position: relative;
                z-index: 1;
            }
            
            .galaxy-acc-item {
                margin-bottom: 7px;
                border-radius: 14px;
                overflow: hidden;
                border: 1px solid rgba(96,165,250,0.1);
                transition: border-color 0.2s;
            }
            
            .galaxy-acc-item:has(.galaxy-acc-header.open) {
                border-color: rgba(14,116,144,0.35);
            }
            
            .galaxy-acc-header {
                width: 100%;
                background: rgba(255,255,255,0.04);
                border: none;
                color: #cbd5e1;
                padding: 13px 15px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                cursor: pointer;
                font-size: 14px;
                font-weight: 600;
                font-family: inherit;
                transition: background 0.2s;
                text-align: right;
            }
            
            .galaxy-acc-header:hover {
                background: rgba(14,116,144,0.1);
            }
            
            .galaxy-acc-header.open {
                background: rgba(14,116,144,0.14);
                border-bottom: 1px solid rgba(14,116,144,0.22);
                color: #bae6fd;
            }
            
            .galaxy-acc-left {
                display: flex;
                align-items: center;
                gap: 10px;
            }
            .season-badge {
                background: linear-gradient(135deg, #0e7490, #1e40af);
                color: #bae6fd;
                font-size: 10px;
                font-weight: 700;
                padding: 3px 9px;
                border-radius: 20px;
                letter-spacing: 0.6px;
                box-shadow: 0 0 8px rgba(14,116,144,0.3);
            }
            
            .galaxy-arrow {
                font-size: 16px;
                color: #475569;
                transition: transform 0.25s, color 0.2s;
            }
            
            .galaxy-acc-header.open .galaxy-arrow {
                transform: rotate(180deg);
                color: #38bdf8;
            }
            
            .galaxy-acc-content {
                display: none;
                background: rgba(0,0,0,0.25);
                padding: 10px 12px 12px;
            }
            
            .galaxy-acc-content.open {
                display: block;
                animation: galaxySlide 0.22s ease;
            }
            
            @keyframes galaxySlide {
                from { opacity: 0; transform: translateY(-5px); }
                to   { opacity: 1; transform: translateY(0); }
            }
            
            /* Episode row */
            .ep-row {
                display: flex;
                align-items: center;
                justify-content: space-between;
                background: rgba(255,255,255,0.025);
                border: 1px solid rgba(255,255,255,0.055);
                border-radius: 10px;
                padding: 8px 12px;
                margin-bottom: 6px;
                gap: 8px;
                transition: background 0.15s;
                overflow: visible;
            }
            
            .ep-row:last-child { margin-bottom: 0; }
            
            .ep-row:hover {
                background: rgba(14,116,144,0.08);
            }
            
            .ep-label {
                color: #64748b;
                font-size: 12px;
                font-weight: 600;
                white-space: nowrap;
                min-width: 80px;
                display: flex;
                align-items: center;
                gap: 6px;
                flex-shrink: 0;
            }
            
            .ep-btns {
                display: flex;
                gap: 6px;
                flex-wrap: wrap;
                justify-content: flex-end;
            }
            
            .dl-btn {
                display: inline-flex;
                align-items: center;
                gap: 4px;
                padding: 5px 12px;
                border-radius: 8px;
                text-decoration: none;
                font-size: 12px;
                font-weight: 700;
                color: #fff;
                font-family: inherit;
                transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
                white-space: nowrap;
            }
            
            .dl-btn:hover {
                opacity: 0.88;
                transform: scale(0.96);
            }
            
            .dl-btn ion-icon {
                font-size: 12px;
            }
            
            .dl-btn-480 {
                background: linear-gradient(135deg, #1d4ed8, #1e40af);
                box-shadow: 0 0 8px rgba(29,78,216,0.3);
            }
            
            .dl-btn-720 {
                background: linear-gradient(135deg, #0e7490, #0369a1);
                box-shadow: 0 0 8px rgba(14,116,144,0.3);
            }
            
            .dl-btn-1080 {
                background: linear-gradient(135deg, #0891b2, #06b6d4);
                box-shadow: 0 0 8px rgba(6,182,212,0.3);
            }
            
            .dl-btn-other {
                background: linear-gradient(135deg, #334155, #1e293b);
            }

@keyframes pulse-new {
                                    0%   { box-shadow: 0 0 6px rgba(14,116,144,0.4); }
                                    50%  { box-shadow: 0 0 14px rgba(14,116,144,0.8); }
                                    100% { box-shadow: 0 0 6px rgba(14,116,144,0.4); }
                                }

.galactic-tools-section {
                margin: 16px auto;
                display: flex;
                flex-direction: column;
                gap: 10px;
                max-width: 480px; /* عرض محدود - کوچکتر از باکس دانلود */
                width: 92%;
                direction: rtl;
                text-align: right;
            }
            
            .galactic-acc-item {
                background: radial-gradient(ellipse at top left, #0d1f3c 0%, #070d1a 60%, #0a0f1e 100%);
                border: 1px solid rgba(96,165,250,0.1);
                border-radius: 14px;
                overflow: hidden;
                position: relative;
                transition: border-color 0.25s, box-shadow 0.25s;
            }
            
            /* ستاره‌های کم‌رنگ پس‌زمینه */
            .galactic-acc-item::before {
                content: '';
                position: absolute;
                inset: 0;
                background-image:
                    radial-gradient(1px 1px at 15% 30%, rgba(255,255,255,0.15) 0%, transparent 100%),
                    radial-gradient(1px 1px at 78% 18%, rgba(255,255,255,0.10) 0%, transparent 100%),
                    radial-gradient(1px 1px at 42% 68%, rgba(255,255,255,0.12) 0%, transparent 100%),
                    radial-gradient(1px 1px at 88% 55%, rgba(255,255,255,0.18) 0%, transparent 100%),
                    radial-gradient(1px 1px at 28% 82%, rgba(255,255,255,0.08) 0%, transparent 100%);
                pointer-events: none;
                z-index: 0;
            }
            
            .galactic-acc-item.gt-open {
                border-color: rgba(96,165,250,0.28);
                box-shadow: 0 0 16px rgba(14,116,144,0.18);
            }
            
            /* هدر آکاردئون */
            .galactic-acc-header {
                width: 100%;
                background: transparent;
                border: none;
                padding: 13px 16px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                cursor: pointer;
                position: relative;
                z-index: 1;
                font-family: inherit;
                gap: 8px;
                direction: rtl;
            }
            
            .galactic-acc-left {
                display: flex;
                align-items: center;
                gap: 10px;
            }
            
            /* آیکون باکس */
            .galactic-acc-icon-box {
                width: 32px;
                height: 32px;
                border-radius: 9px;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-shrink: 0;
            }
            
            .gt-report .galactic-acc-icon-box {
                background: linear-gradient(135deg, #991b1b, #b91c1c);
                box-shadow: 0 0 10px rgba(185,28,28,0.3);
            }
            .gt-tools .galactic-acc-icon-box {
                background: linear-gradient(135deg, #0e7490, #1e40af);
                box-shadow: 0 0 10px rgba(14,116,144,0.3);
            }
            
            .galactic-acc-icon-box ion-icon {
                font-size: 16px;
                color: #fff;
            }
            
            .galactic-acc-title {
                color: #dbeafe;
                font-size: 13.5px;
                font-weight: 700;
                letter-spacing: 0.01em;
            }
            
            .galactic-acc-arrow {
                color: #475569;
                font-size: 18px;
                transition: transform 0.3s ease, color 0.25s;
                flex-shrink: 0;
            }
            
            .galactic-acc-header.gt-open .galactic-acc-arrow {
                transform: rotate(180deg);
                color: #7dd3fc;
            }
            
            /* بدنه آکاردئون */
            .galactic-acc-body {
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.35s ease;
                position: relative;
                z-index: 1;
            }
            
            .galactic-acc-body-inner {
                padding: 14px 16px 16px;
                border-top: 1px solid rgba(255,255,255,0.06);
            }
            
            /* ===== بخش گزارش خرابی ===== */
            .gt-report-text {
                color: #94a3b8;
                font-size: 12.5px;
                line-height: 1.7;
                margin-bottom: 12px;
            }
            
            .gt-report-btn {
                background: linear-gradient(135deg, #b91c1c, #7f1d1d);
                color: #fff;
                border: none;
                padding: 8px 20px;
                border-radius: 20px;
                font-size: 12.5px;
                font-weight: 700;
                cursor: pointer;
                font-family: inherit;
                box-shadow: 0 0 10px rgba(185,28,28,0.35);
                transition: opacity 0.15s, transform 0.15s;
                display: inline-flex;
                align-items: center;
                gap: 6px;
            }
            .gt-report-btn:hover {
                opacity: 0.88;
                transform: translateY(-1px);
            }
            
            .gt-success-msg {
                display: none;
                color: #4ade80;
                font-size: 12.5px;
                margin-top: 10px;
                align-items: center;
                gap: 6px;
                padding: 8px 12px;
                background: rgba(74,222,128,0.08);
                border-radius: 8px;
                border: 1px solid rgba(74,222,128,0.15);
            }
            .gt-success-msg.show { display: flex; }
            .gt-success-msg ion-icon { font-size: 16px; flex-shrink: 0; }
            
            /* ===== بخش ابزارها ===== */
            .gt-tools-grid {
                display: flex;
                flex-direction: column;
                gap: 8px;
            }
            
            .gt-tool-card {
                background: rgba(255,255,255,0.04);
                border: 1px solid rgba(255,255,255,0.07);
                border-radius: 10px;
                padding: 10px 12px;
                display: flex;
                align-items: flex-start;
                gap: 10px;
                transition: background 0.2s;
                direction: rtl;
                text-align: right;
            }
            .gt-tool-card:hover {
                background: rgba(255,255,255,0.07);
            }
            
            .gt-tool-icon {
                width: 28px;
                height: 28px;
                border-radius: 7px;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-shrink: 0;
                margin-top: 1px;
            }
            .gt-tool-icon.dl  { background: rgba(14,116,144,0.25); }
            .gt-tool-icon.play { background: rgba(124,58,237,0.25); }
            .gt-tool-icon.mob  { background: rgba(16,185,129,0.25); }
            
            .gt-tool-icon ion-icon {
                font-size: 15px;
            }
            .gt-tool-icon.dl  ion-icon { color: #38bdf8; }
            .gt-tool-icon.play ion-icon { color: #a78bfa; }
            .gt-tool-icon.mob  ion-icon { color: #34d399; }
            
            .gt-tool-info {}
            .gt-tool-label {
                color: #cbd5e1;
                font-size: 12px;
                font-weight: 700;
                margin-bottom: 2px;
                display: block;
            }
            .gt-tool-desc {
                color: #64748b;
                font-size: 11.5px;
                line-height: 1.55;
            }
            .gt-tool-desc strong {
                color: #94a3b8;
                font-weight: 600;
            }
