﻿body.theme-dark {
    font-family: "Manrope", sans-serif;
    background: #09111f;
    color: #ecf3ff;
}
.theme-dark .container { width: min(1180px, calc(100% - 32px)); }
.theme-dark .site-header-shell {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(20px);
    background: rgba(9, 17, 31, 0.78);
    border-bottom: 1px solid rgba(116, 233, 226, 0.14);
}
.theme-dark .site-nav-shell,
.theme-dark .site-nav-links,
.theme-dark .site-nav-actions,
.theme-dark .brand-lockup,
.theme-dark .hero-cta-row,
.theme-dark .bookmark-action-row,
.theme-dark .bookmark-meta-row,
.theme-dark .sidebar-title-row,
.theme-dark .section-title-wrap { display: flex; align-items: center; }
.theme-dark .site-nav-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1px;
    min-height: 88px;
}
.theme-dark .brand-lockup { gap: 14px; text-decoration: none; }
/*.theme-dark .brand-lockup img { width: 150px; }*/
.theme-dark .site-nav-links { justify-self: center; }
.theme-dark .site-nav-actions { justify-self: end; }
.theme-dark .brand-lockup strong,
.theme-dark .hero-band-shell h1,
.theme-dark .section-title-wrap h2,
.theme-dark .bookmark-detail-body h2,
.theme-dark .bookmark-teaser-card h3,
.theme-dark .sidebar-panel h3,
.theme-dark .tz-regi-form h4 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: -0.03em;
    color: #f7fbff;
}
.theme-dark .brand-lockup strong { display: block; font-size: 18px; }
.theme-dark .brand-lockup span,
.theme-dark .site-nav-links a,
.theme-dark .hero-copy-text,
.theme-dark .bookmark-teaser-card p,
.theme-dark .bookmark-detail-body p,
.theme-dark .footer-brand-block p,
.theme-dark .tz-regi-form p { color: #9eb7d4; }
.theme-dark .site-nav-links,
.theme-dark .site-nav-actions,
.theme-dark .hero-cta-row,
.theme-dark .bookmark-action-row,
.theme-dark .bookmark-meta-row { gap: 12px; }
.theme-dark .site-nav-links a,
.theme-dark .bookmark-action-row a,
.theme-dark .footer-grid-shell a { text-decoration: none; }
.theme-dark .site-nav-links a { color: #c9d7ea; font-weight: 700; }
.theme-dark .nav-user-chip,
.theme-dark .bookmark-category-chip,
.theme-dark .sidebar-title-row span {
    border-radius: 999px;
    font-weight: 800;
}
.theme-dark .nav-user-chip {
    padding: 10px 14px;
    background: rgba(116, 233, 226, 0.12);
    color: #91fff7;
    border: 1px solid rgba(116, 233, 226, 0.28);
}
.theme-dark .nav-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 18px;
    border: 1px solid rgba(116,233,226,0.18);
    text-decoration: none;
    font-weight: 800;
}
.theme-dark .nav-action-primary {
    background: linear-gradient(135deg, #74e9e2, #3478f6);
    color: #06101d;
    box-shadow: 0 0 0 1px rgba(116,233,226,0.2), 0 18px 36px rgba(52,120,246,0.2);
}
.theme-dark .nav-action-secondary {
    background: rgba(255,255,255,0.02);
    color: #ecf3ff;
}
.theme-dark .hero-band-shell {
    padding: 78px 0 44px;
    background: radial-gradient(circle at 20% 10%, rgba(116, 233, 226, 0.15), transparent 25%), radial-gradient(circle at 85% 15%, rgba(52, 120, 246, 0.22), transparent 28%), linear-gradient(180deg, #0b1527 0%, #09111f 100%);
}
.theme-dark .hero-band-compact { padding: 54px 0 24px; }
.theme-dark .hero-shell { display: grid; gap: 28px; }
.theme-dark .hero-grid-shell,
.theme-dark .stats-card-grid,
.theme-dark .category-card-grid,
.theme-dark .directory-main-grid,
.theme-dark .submission-grid-form,
.theme-dark .bookmark-detail-shell,
.theme-dark .bookmark-teaser-card { display: grid; }
.theme-dark .hero-grid-shell { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 24px; align-items: stretch; }
.theme-dark .section-kicker {
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 12px;
    color: #74e9e2;
    font-weight: 800;
}
.theme-dark .hero-band-shell h1 { font-size: clamp(40px, 6vw, 70px); line-height: 1; margin-bottom: 16px; }
.theme-dark .hero-copy-text { font-size: 18px; line-height: 1.8; max-width: 680px; }
.theme-dark .hero-visual-stack { display: grid; gap: 18px; }
.theme-dark .hero-intro-shell {
    padding: 0 0 8px;
    border-bottom: 1px solid rgba(116,233,226,0.08);
}
.theme-dark .hero-grid-shell.hero-grid-shell-compact {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
}
.theme-dark .hero-grid-shell > * { min-width: 0; }
.theme-dark .hero-copy-shell { max-width: 1160px; }
.theme-dark .hero-copy-shell h1 { max-width: 1160px; }
.theme-dark .hero-band-compact .hero-copy-shell h1 {
    font-size: clamp(34px, 5vw, 56px);
    max-width: 1180px;
}
.theme-dark .hero-signal-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    min-height: 100%;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(116, 233, 226, 0.22), transparent 32%),
        linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(116,233,226,0.16);
    box-shadow: 0 24px 48px rgba(0,0,0,.28);
}
.theme-dark .hero-signal-card::after {
    content: "";
    position: absolute;
    inset: auto -50px -70px auto;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52,120,246,.26), transparent 68%);
    pointer-events: none;
}
.theme-dark .hero-signal-card h2 {
    margin: 0 0 14px;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.08;
}
.theme-dark .hero-signal-card p {
    margin: 0;
    max-width: 540px;
    color: #c7d7eb;
    line-height: 1.75;
}
.theme-dark .hero-signal-list {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}
.theme-dark .hero-signal-list span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    border-radius: 999px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(116,233,226,0.12);
    color: #f7fbff;
    font-weight: 700;
}
.theme-dark .hero-signal-list span::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, #74e9e2, #3478f6);
    box-shadow: 0 0 10px rgba(116,233,226,.45);
}
.theme-dark .hero-stats-shell {
    display: grid;
    align-content: start;
    gap: 12px;
}
.theme-dark .stats-card-grid {
    gap: 16px;
    padding: 26px;
    border-radius: 28px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(116,233,226,0.16);
    box-shadow: 0 24px 48px rgba(0,0,0,.28);
    width: 100%;
    max-width: none;
}
.theme-dark .stats-card-grid div { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 12px; }
.theme-dark .stats-card-grid div:last-child { border-bottom: 0; padding-bottom: 0; }
.theme-dark .stats-card-grid strong { font-size: 30px; color: #74e9e2; }
.theme-dark .category-showcase-shell,
.theme-dark .directory-body-shell { padding: 30px 0 56px; }
.theme-dark .section-title-wrap { justify-content: space-between; margin-bottom: 18px; }
.theme-dark .section-title-wrap h2 { font-size: 28px; }
.theme-dark .category-card-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.theme-dark .category-card-link {
    min-height: 112px;
    border-radius: 22px;
    padding: 18px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(116,233,226,0.14);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.theme-dark .category-card-link i { font-size: 24px; }
.theme-dark .category-card-link span { color: #f7fbff; font-weight: 700; }
.theme-dark .directory-main-grid { grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: start; }
.theme-dark .directory-sidebar-shell { display: grid; gap: 18px; position: sticky; top: 100px; }
.theme-dark .sidebar-panel,
.theme-dark .bookmark-teaser-card,
.theme-dark .bookmark-detail-shell,
.theme-dark .form-shell-card,
.theme-dark .empty-shell,
.theme-dark .tz-regi-form {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(116,233,226,0.14);
    border-radius: 24px;
    box-shadow: 0 24px 50px rgba(0,0,0,.24);
}
.theme-dark .sidebar-panel { padding: 22px; }
.theme-dark .sidebar-panel-highlight {
    background: linear-gradient(180deg, rgba(116,233,226,0.14), rgba(52,120,246,0.1));
}
.theme-dark .network-link-list,
.theme-dark .footer-grid-shell ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.theme-dark .network-link-list a { color: #ecf3ff; }
.theme-dark .sidebar-title-row { justify-content: space-between; margin-bottom: 14px; }
.theme-dark .sidebar-title-row span {
    padding: 6px 10px;
    background: rgba(116,233,226,0.12);
    color: #91fff7;
}
.theme-dark .category-scroll-list { display: grid; gap: 10px; max-height: 520px; overflow-y: auto; }
.theme-dark .category-list-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,.05);
    color: #ecf3ff;
    text-decoration: none;
    font-weight: 700;
}
.theme-dark .bookmark-list-shell { display: grid; gap: 18px; }
.theme-dark .bookmark-teaser-card { grid-template-columns: 240px minmax(0, 1fr); overflow: hidden; }
.theme-dark .bookmark-teaser-media img,
.theme-dark .bookmark-detail-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-dark .bookmark-teaser-body,
.theme-dark .bookmark-detail-body,
.theme-dark .form-shell-body { padding: 24px; }
.theme-dark .bookmark-meta-row { gap: 10px; color: #8ca3bf; font-size: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.theme-dark .bookmark-category-chip {
    background: rgba(116,233,226,0.14);
    color: #8efff7;
    padding: 6px 10px;
}
.theme-dark .bookmark-teaser-card h3 { font-size: 28px; margin-bottom: 12px; }
.theme-dark .bookmark-tag-row { margin: 14px 0 18px; font-weight: 700; color: #d4def0; }
.theme-dark .bookmark-action-row a {
    padding: 11px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    color: #f7fbff;
    border: 1px solid rgba(116,233,226,0.12);
}
.theme-dark .bookmark-detail-shell { grid-template-columns: 1fr 1.05fr; overflow: hidden; }
.theme-dark .bookmark-detail-media { min-height: 420px; }
.theme-dark .form-shell-head { padding: 24px 24px 8px; }
.theme-dark .submission-grid-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.theme-dark .submission-grid-form label { display: grid; gap: 8px; color: #ecf3ff; font-weight: 700; }
.theme-dark .submission-grid-form input,
.theme-dark .submission-grid-form textarea,
.theme-dark .submission-grid-form select,
.theme-dark .tz-regi-form input.form-control,
.theme-dark .tz-regi-form input.validate {
    width: 100%;
    border: 1px solid rgba(116,233,226,0.18);
    border-radius: 16px;
    padding: 14px 16px;
    background: rgba(8,15,28,.8);
    color: #ecf3ff;
}
.theme-dark .submission-grid-form input::placeholder,
.theme-dark .submission-grid-form textarea::placeholder,
.theme-dark .tz-regi-form input::placeholder {
    color: #7f93ae;
}
.theme-dark .submission-grid-form select.browser-default {
    -webkit-appearance: none;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #9eb7d4 50%), linear-gradient(135deg, #9eb7d4 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 14px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 44px;
    color: #ecf3ff;
}
.theme-dark .submission-grid-form select.browser-default option {
    background: #0b1527;
    color: #ecf3ff;
}
.theme-dark .submission-grid-form select.browser-default:required:invalid {
    color: #7f93ae;
}
.theme-dark .selected-value-preview {
    display: block;
    color: #74e9e2;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}
.theme-dark .submission-grid-form input[type=\"file\"] {
    padding: 14px 16px;
    line-height: 1.4;
}
.theme-dark .form-full-span { grid-column: 1 / -1; }
.theme-dark .submit-full-width { width: 100%; }
.theme-dark .pagination-shell { margin-top: 24px; display: flex; justify-content: center; }
.theme-dark .flash-wrap { padding-top: 18px; }
.theme-dark .flash { border-radius: 16px; padding: 14px 18px; margin-bottom: 12px; font-weight: 700; border: 1px solid transparent; }
.theme-dark .flash-success { background: rgba(13,139,83,.16); color: #91fff7; border-color: rgba(13,139,83,.25); }
.theme-dark .flash-danger { background: rgba(180,35,24,.16); color: #ffb4b4; border-color: rgba(180,35,24,.25); }
.theme-dark .flash-warning { background: rgba(139,90,0,.16); color: #ffd99a; border-color: rgba(139,90,0,.25); }
.theme-dark .site-footer-shell {
    background: linear-gradient(180deg, #0c1628 0%, #08101d 100%);
    color: #9eb7d4;
    padding-top: 42px;
    border-top: 1px solid rgba(116,233,226,0.12);
}
.theme-dark .footer-grid-shell {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 64px;
}
.theme-dark .site-footer-shell h4 { color: #f7fbff; margin: 0 0 14px; font-family: "Space Grotesk", sans-serif; }
.theme-dark .footer-brand-column {
    display: grid;
    gap: 28px;
    flex: 1 1 420px;
    max-width: 420px;
}
.theme-dark .footer-brand-block { max-width: 340px; }
.theme-dark .footer-brand-block img { width: 160px; margin-bottom: 12px; }
.theme-dark .footer-nav-column {
    flex: 0 0 180px;
}
.theme-dark .footer-support-column {
    flex: 0 0 280px;
}
.theme-dark .footer-support-column p { margin: 0 0 12px; }
.theme-dark .footer-partner-block { width: 100%; }
/*.theme-dark .partner-mini-grid { display: grid; gap: 12px; }*/
.theme-dark .partner-mini-grid img { width: 160px; max-width: 100%; border-radius: 12px; 
/*background: rgba(255,255,255,.95); */
/*background: rgba(248,240,225,.95);*/

padding: 6px; }
.theme-dark .footer-bottom-bar { margin-top: 28px; border-top: 1px solid rgba(255,255,255,.06); padding: 18px 0; font-size: 14px; }
.theme-dark .tz-regi-form {
    max-width: 580px;
    margin: 60px auto;
    padding: 36px;
}
.theme-dark .tz-regi-form h4 { font-size: 54px; margin-bottom: 12px; }
.theme-dark .tz-regi-form .btn { border-radius: 999px; height: auto; padding: 14px 18px; }
.theme-dark .auth-stack-form {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}
.theme-dark .auth-field {
    display: grid;
    gap: 8px;
    text-align: left;
    color: #ecf3ff;
    font-weight: 700;
}
.theme-dark .auth-field span {
    font-size: 15px;
    color: #dce8f7;
}
.theme-dark .auth-hint {
    display: block;
    color: #7f93ae;
    font-size: 13px;
    line-height: 1.55;
    text-align: left;
}
.theme-dark .auth-error {
    display: block;
    color: #ffb4b4;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}
.theme-dark .auth-checkbox-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #dce8f7;
    font-weight: 600;
    text-align: left;
}
.theme-dark .auth-checkbox-row input[type=\"checkbox\"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #74e9e2;
}
@media (max-width: 1100px) {
    .theme-dark .hero-grid-shell,
    .theme-dark .directory-main-grid,
    .theme-dark .bookmark-detail-shell { grid-template-columns: 1fr; }
    .theme-dark .footer-grid-shell {
        flex-direction: column;
        gap: 32px;
    }
    .theme-dark .category-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .theme-dark .directory-sidebar-shell { position: static; }
    .theme-dark .hero-copy-shell,
    .theme-dark .hero-visual-stack,
    .theme-dark .stats-card-grid,
    .theme-dark .footer-brand-column,
    .theme-dark .footer-brand-block,
    .theme-dark .footer-nav-column,
    .theme-dark .footer-support-column { max-width: none; flex: 1 1 auto; }
}
@media (max-width: 768px) {
    .theme-dark .site-nav-shell,
    .theme-dark .site-nav-links,
    .theme-dark .site-nav-actions {
        display: flex;
        flex-wrap: wrap;
    }
    .theme-dark .site-nav-shell {
        grid-template-columns: 1fr;
        justify-items: start;
    }
    .theme-dark .site-nav-links,
    .theme-dark .site-nav-actions { justify-self: start; }
    .theme-dark .bookmark-teaser-card,
    .theme-dark .submission-grid-form { grid-template-columns: 1fr; }
    .theme-dark .category-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .theme-dark .tz-regi-form { padding: 24px; margin: 36px auto; }
    .theme-dark .tz-regi-form h4 { font-size: 40px; }
}
