/* 3dffoptions.html page styles (moved out of the page; uses tokens from /styles.css) */
        /* Guide-specific styles */
        .guide-container {
            max-width: 900px;
            margin: 0 auto;
        }

        .guide-section {
            margin-bottom: 3rem;
            background: rgba(255,255,255,0.05);
            border-radius: 12px;
            padding: 2rem;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.1);
        }

        .guide-section h2 {
            color: var(--accent);
            margin-bottom: 1.5rem;
            font-size: 1.8rem;
            border-bottom: 2px solid rgba(var(--accent-rgb), 0.3);
            padding-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .guide-section h3 {
            color: var(--text);
            margin: 1.5rem 0 1rem;
            font-size: 1.3rem;
        }

        .guide-section h4 {
            color: var(--text-muted);
            margin: 1.2rem 0 0.8rem;
            font-size: 1.1rem;
        }

        .guide-section h5 {
            color: var(--accent);
            margin: 1rem 0 0.6rem;
            font-size: 1rem;
        }

        .guide-section p {
            color: var(--text);
            line-height: 1.7;
            margin-bottom: 1rem;
        }

        .guide-section ul, .guide-section ol {
            color: var(--text);
            margin-left: 1.5rem;
            margin-bottom: 1rem;
            line-height: 1.8;
        }

        .guide-section li {
            margin-bottom: 0.5rem;
        }

        .guide-section a {
            color: var(--accent);
            text-decoration: none;
            transition: color 0.3s;
        }

        .guide-section a:hover {
            color: #fff;
            text-decoration: underline;
        }

        /* Alert boxes */
        .alert-box {
            padding: 1rem 1.5rem;
            border-radius: 8px;
            margin: 1rem 0;
            border-left: 4px solid;
        }

        .alert-info {
            background: rgba(var(--accent-rgb), 0.15);
            border-color: var(--accent);
        }

        .alert-info .alert-title {
            color: var(--accent);
        }

        .alert-warning {
            background: rgba(255,193,7,0.15);
            border-color: #ffc107;
        }

        .alert-warning .alert-title {
            color: #ffc107;
        }

        .alert-note {
            background: rgba(76,175,80,0.15);
            border-color: #4caf50;
        }

        .alert-note .alert-title {
            color: #4caf50;
        }

        .alert-title {
            font-size: 1.05rem;
			font-weight: 700;
			text-transform: uppercase;
			letter-spacing: 0.03em;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .alert-box p {
            margin: 0;
            color: var(--text);
        }

		/* Alert grouping to reduce fatigue */
		.alert-group {
			margin: 1.5rem 0;
			padding-left: 1rem;
			border-left: 3px solid rgba(255,255,255,0.15);
		}

		.alert-group > .alert-box {
			margin-top: 0.75rem;
		}

		/* Terminal / hard-stop alerts */
		.alert-terminal {
			background: rgba(244,67,54,0.15);
			border-color: #f44336;
		}

		.alert-terminal .alert-title {
			color: #f44336;
		}

		/* Improve spacing between paragraphs inside alerts */
		.alert-box p + p {
			margin-top: 0.6rem;
		}

        /* Code blocks */
        code {
            background: rgba(0,0,0,0.3);
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            font-family: 'Consolas', 'Monaco', monospace;
            color: #4fc3f7;
            font-size: 0.9rem;
        }

        /* Server cards */
        .server-card {
            background: rgba(var(--accent-rgb), 0.1);
            border: 1px solid rgba(var(--accent-rgb), 0.3);
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1rem 0;
            transition: all 0.3s ease;
			position: relative;
			overflow: hidden;
		}

		.server-card::before {
			content: "";
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 3px;
			background: linear-gradient(90deg,var(--accent),var(--purple));
		}

        .server-card:hover {
			background: rgba(var(--accent-rgb), 0.18);
			border-color: rgba(var(--accent-rgb), 0.6);
			transform: translateY(-3px);
			box-shadow: 0 10px 30px rgba(0,0,0,0.45);
		}

        .server-card h4 {
            color: var(--accent);
            margin-top: 0;
            margin-bottom: 1rem;
            font-size: 1.2rem;
        }

        .server-info {
            display: grid;
            gap: 0.5rem;
        }

        .server-info-item {
            display: flex;
            gap: 0.5rem;
        }

        .server-info-item strong {
            color: var(--text-muted);
            min-width: 60px;
        }

        .server-info-item span {
            color: #4fc3f7;
            font-family: 'Consolas', 'Monaco', monospace;
        }

		.decision-breakpoint {
			margin: 2rem 0;
			padding: 1.2rem 1.5rem;
			border-radius: 10px;
			background: rgba(0,0,0,0.35);
			border: 2px dashed rgba(244,67,54,0.5);
		}

		.decision-breakpoint .decision-title {
			font-weight: bold;
			color: #f44336;
			display: flex;
			align-items: center;
			gap: 0.6rem;
			margin-bottom: 0.6rem;
		}

		.tool-block {
			margin-top: 1.5rem;
			padding: 1.5rem;
			border-radius: 10px;
			background: rgba(0,0,0,0.2);
			border: 1px solid rgba(255,255,255,0.08);
		}

        /* Fingerprint info */
        .fingerprint-box {
            background: rgba(0,0,0,0.3);
            border: 1px solid rgba(var(--accent-rgb), 0.2);
            border-radius: 8px;
            padding: 1rem;
            margin: 1rem 0;
            font-family: 'Consolas', 'Monaco', monospace;
            font-size: 0.85rem;
            overflow-x: auto;
        }

        .fingerprint-box p {
            margin: 0.3rem 0;
            color: #4fc3f7;
            word-break: break-all;
        }

        .fingerprint-box .label {
            color: var(--text-muted);
        }

        /* Screenshot images */
        .guide-image {
            max-width: 100%;
            border-radius: 8px;
            margin: 1rem 0;
            border: 1px solid rgba(var(--accent-rgb), 0.3);
            box-shadow: 0 4px 20px rgba(0,0,0,0.3);
        }

        .image-container {
            text-align: center;
            margin: 1.5rem 0;
        }

        /* Download buttons */
        .download-btn {
            display: inline-block;
            padding: 0.8rem 1.5rem;
            background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.3) 0%, rgba(var(--purple-rgb), 0.3) 100%);
            color: var(--text);
            text-decoration: none;
            border-radius: 25px;
            transition: all 0.3s;
            border: 2px solid rgba(var(--accent-rgb), 0.4);
            margin: 0.5rem 0.5rem 0.5rem 0;
            font-weight: bold;
        }

        .download-btn:hover {
            background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.5) 0%, rgba(var(--purple-rgb), 0.5) 100%);
            border-color: rgba(var(--accent-rgb), 0.7);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.3);
            color: #fff;
            text-decoration: none;
        }

        /* Table of contents */
        .toc {
            background: rgba(var(--accent-rgb), 0.1);
            border: 1px solid rgba(var(--accent-rgb), 0.3);
            border-radius: 12px;
            padding: 1.5rem 2rem;
            margin-bottom: 2rem;
        }

        .toc h3 {
            color: var(--accent);
            margin-top: 0;
            margin-bottom: 1rem;
        }

        .toc ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .toc li {
            margin: 0.5rem 0;
        }

        .toc a {
            color: var(--text);
            text-decoration: none;
            transition: all 0.3s;
            display: inline-block;
            padding: 0.3rem 0;
        }

        .toc a.active {
            color: var(--accent);
            font-weight: bold;
            transform: translateX(8px);
        }

        .toc a:hover {
            color: var(--accent);
            transform: translateX(5px);
        }

        .toc .toc-sub {
            margin-left: 1.5rem;
        }

        /* Logo display */
        .logo-display {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 2rem;
            margin: 2rem 0;
            flex-wrap: wrap;
        }

        .logo-display img {
            max-height: 100px;
            border-radius: 8px;
        }

        /* Steps list */
        .steps-list {
            counter-reset: step-counter;
            list-style: none;
            padding-left: 0;
        }

        .steps-list li {
            counter-increment: step-counter;
            position: relative;
            padding-left: 3rem;
            margin-bottom: 1rem;
        }

        .steps-list li::before {
            content: counter(step-counter);
            position: absolute;
            left: 0;
            width: 2rem;
            height: 2rem;
            background: rgba(var(--accent-rgb), 0.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
            font-weight: bold;
        }

        /* Highlight text */
        .highlight {
            background: rgba(255,193,7,0.3);
            padding: 0.1rem 0.3rem;
            border-radius: 3px;
            color: #ffc107;
        }

        .option-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.15rem 0.55rem;
            border-radius: 999px;
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            line-height: 1;
            text-transform: uppercase;
            margin-right: 0.4rem;
            border: 1px solid;
            white-space: nowrap;
            position: relative;
            cursor: help;
        }

        .option-icon::after {
            content: attr(data-tooltip);
            position: absolute;
            bottom: 130%;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0,0,0,0.9);
            color: #fff;
            padding: 0.35rem 0.6rem;
            border-radius: 6px;
            font-size: 0.7rem;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s ease;
            z-index: 1000;
        }

        .option-icon::before {
            content: '';
            position: absolute;
            bottom: 115%;
            left: 50%;
            transform: translateX(-50%);
            border-width: 5px;
            border-style: solid;
            border-color: rgba(0,0,0,0.9) transparent transparent transparent;
            opacity: 0;
            transition: opacity 0.2s ease;
        }

        .option-icon:hover::after,
        .option-icon:hover::before {
            opacity: 1;
        }

        .option-icon.str {
            background: rgba(var(--accent-rgb), 0.25);
            color: var(--accent);
            border-color: rgba(var(--accent-rgb), 0.6);
        }

        .option-icon.dl {
            background: rgba(76,175,80,0.25);
            color: #4caf50;
            border-color: rgba(76,175,80,0.6);
        }

        .option-icon.iso {
            background: rgba(255,193,7,0.25);
            color: #ffc107;
            border-color: rgba(255,193,7,0.6);
        }

        .option-header {
            align-items: center;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .badge {
            display: inline-block;
            padding: 0.2rem 0.6rem;
            font-size: 0.75rem;
            border-radius: 12px;
            margin-left: 0.6rem;
            font-weight: bold;
            vertical-align: middle;
        }

        .badge-recommended {
            background: rgba(76,175,80,0.25);
            color: #4caf50;
            border: 1px solid rgba(76,175,80,0.6);
        }

		.badge-stop {
			background: rgba(244, 67, 54, 0.25);
			color: #f44336;
			border: 1px solid rgba(244, 67, 54, 0.7);
		}

        .collapsible-toggle {
            display: none;
            width: 100%;
            padding: 0.8rem;
            background: rgba(var(--accent-rgb), 0.2);
            color: var(--text);
            border: 1px solid rgba(var(--accent-rgb), 0.4);
            border-radius: 8px;
            cursor: pointer;
            margin-bottom: 1rem;
        }

        /* Contact section */
        .contact-section {
            text-align: center;
            padding: 2rem;
            background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.15) 0%, rgba(var(--purple-rgb), 0.15) 100%);
            border-radius: 12px;
            border: 1px solid rgba(var(--accent-rgb), 0.3);
        }

        .contact-section img {
            max-width: 200px;
            border-radius: 8px;
            margin-bottom: 1rem;
        }

		.sub-section {
			margin-top: 2rem;
			padding-top: 1.5rem;
			border-top: 1px solid rgba(255,255,255,0.12);
		}

		.guide-section h4 {
			padding-top: 0.8rem;
			border-top: 1px dashed rgba(255,255,255,0.15);
		}

		.guide-section h5 {
			margin-top: 1.5rem;
			padding-left: 0.5rem;
			border-left: 3px solid rgba(var(--accent-rgb), 0.4);
		}

        /* Responsive */
        @media (max-width: 768px) {
            .collapsible-toggle {
                display: block;
            }

            .collapsible-content {
                display: none;
            }

            .collapsible.open .collapsible-content {
                display: block;
            }

            .guide-section {
                padding: 1.5rem;
            }

            .toc {
                padding: 1rem 1.5rem;
            }

            .download-btn {
                display: block;
                text-align: center;
                margin: 0.5rem 0;
            }

        }

        /* Active section highlight for long documentation pages */
        .guide-section {
            transition: border-color 0.35s ease, box-shadow 0.35s ease;
        }

        .guide-section.active-section {
            border-color: rgba(var(--accent-rgb), 0.55);
            box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.15),
                        0 12px 35px rgba(0,0,0,0.35);
        }

        /* Smooth anchor scrolling offset for fixed headers */
        section[id], [id] {
            scroll-margin-top: 120px;
        }

        @media (max-width: 420px) {
            .option-icon {
                display: none;
            }
        }


.markdown-guide h3,
.markdown-guide h4,
.markdown-guide h5{
    color:var(--accent);
    margin-top:24px;
    margin-bottom:12px;
}

.markdown-guide p,
.markdown-guide li{
    line-height:1.8;
    color:var(--text);
}

.markdown-guide ul{
    margin-left:25px;
    margin-bottom:15px;
}

.markdown-guide code{
    background:rgba(0,0,0,0.35);
    padding:2px 6px;
    border-radius:4px;
    color:#4fc3f7;
}

.markdown-guide a{
    color:var(--accent);
}

.stremio-table{
    width:100%;
    border-collapse:collapse;
    margin:20px 0;
}

.stremio-table th,
.stremio-table td{
    border:1px solid rgba(255,255,255,0.15);
    padding:10px;
    text-align:left;
}

.stremio-table th{
    background:rgba(var(--accent-rgb), 0.15);
    color:var(--accent);
}


.stremio-table td{
    vertical-align:top;
    line-height:1.7;
}

.stremio-table a{
    color:var(--accent);
    text-decoration:none;
    font-weight:600;
}

.stremio-table a:hover{
    text-decoration:underline;
}

.stremio-table strong{
    color:#ffffff;
}

.stremio-table em{
    color:#ffc107;
}

.markdown-guide .alert-box{
    margin:20px 0;
}
