html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: Tahoma, Verdana, Arial, sans-serif;
    background: #0b1020;
}

.xp-desktop-page {
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
}

.xp-desktop {
    position: relative;
    width: 100%;
    height: 100%;
    background: url('/images/xp/wallpaper.jpg') center center / cover no-repeat;
    overflow: hidden;
}

.xp-desktop-icons {
    position: relative;
    width: 100%;
    height: 100%;
}

.xp-desktop-icon {
    position: absolute;
    width: 84px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    touch-action: manipulation;
    color: white;
    text-shadow: 1px 1px 1px #000;
    z-index: 2;
}

    .xp-desktop-icon img {
        width: 48px;
        height: 48px;
        display: block;
        margin: 0 auto 6px auto;
        pointer-events: none;
    }

    .xp-desktop-icon span {
        display: inline-block;
        font-size: 13px;
        line-height: 1.2;
        padding: 2px 4px;
        border-radius: 3px;
    }

        .xp-desktop-icon span.selected,
        .xp-desktop-icon:hover span {
            background: rgba(49, 106, 197, 0.45);
        }

.xp-window {
    position: absolute;
    width: 620px;
    min-height: 360px;
    background: #ece9d8;
    border: 1px solid #003c74;
    border-radius: 8px 8px 0 0;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, .35);
    overflow: hidden;
    z-index: 20;
    display: flex;
    flex-direction: column;
}

    .xp-window.maximized {
        left: 0 !important;
        top: 0 !important;
        width: 100vw !important;
        height: calc(100vh - 40px) !important;
        border-radius: 0;
    }

.xp-titlebar {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px 0 10px;
    color: white;
    font-weight: bold;
    font-size: 13px;
    background: linear-gradient(to bottom, #0a246a 0%, #3a6ea5 45%, #7ba7d9 100%);
    cursor: move;
}

.xp-titlebar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .xp-titlebar-left img {
        width: 16px;
        height: 16px;
    }

.xp-titlebar-title {
    white-space: nowrap;
}

.xp-titlebar-buttons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.xp-titlebar-btn {
    width: 26px;
    height: 22px;
    border: 1px solid #ffffff;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px;
}

    .xp-titlebar-btn.minimize,
    .xp-titlebar-btn.maximize {
        background: linear-gradient(to bottom, #9dbdf6, #4c79c9);
    }

    .xp-titlebar-btn.close {
        background: linear-gradient(to bottom, #ffb59c, #e35d3b);
    }

.xp-window-toolbar {
    background: #f3f0e2;
    border-bottom: 1px solid #c9c4b8;
    padding: 6px 10px;
    font-size: 12px;
    flex: 0 0 auto;
}

.xp-window-body {
    background: white;
    padding: 18px;
    min-height: 320px;
    color: #111;
    overflow: auto;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    max-height: calc(100vh - 120px);
}

.xp-taskbar {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, #245edb 0%, #1941a5 100%);
    border-top: 1px solid #6ea4ff;
    z-index: 100;
    box-sizing: border-box;
}

.xp-start-button {
    margin-left: 6px;
    padding: 6px 16px;
    border-radius: 18px;
    color: white;
    font-weight: bold;
    background: linear-gradient(to bottom, #49b749 0%, #2f8d2f 100%);
    border: 1px solid #1e5f1e;
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .4);
    cursor: pointer;
    flex: 0 0 auto;
    touch-action: manipulation;
}

.xp-taskbar-windows {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    flex: 0 1 auto;
    min-width: 0;
}

.xp-taskbar-window-btn {
    height: 28px;
    padding: 0 12px;
    border: 1px solid #163b91;
    background: linear-gradient(to bottom, #3f78e0 0%, #2d5fc7 100%);
    color: white;
    cursor: pointer;
    font-size: 12px;
    flex: 0 0 auto;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    touch-action: manipulation;
}

    .xp-taskbar-window-btn.active {
        background: linear-gradient(to bottom, #5d8ef0 0%, #3b6ed2 100%);
    }

.xp-taskbar-spacer {
    flex: 1 1 auto;
    min-width: 0;
}

.xp-clock {
    color: white;
    padding: 0 14px;
    font-size: 12px;
    white-space: nowrap;
    flex: 0 0 auto;
    margin-left: auto;
    text-align: right;
}

.xp-start-menu {
    position: absolute;
    left: 8px;
    bottom: 44px;
    width: 420px;
    max-width: calc(100vw - 16px);
    border: 1px solid #1f3f7a;
    background: #f6f4ea;
    box-shadow: 4px 4px 16px rgba(0, 0, 0, .35);
    z-index: 110;
}

.xp-start-menu-header {
    background: linear-gradient(to bottom, #1f59d8, #245edb);
    color: white;
    font-weight: bold;
    padding: 14px 16px;
    font-size: 18px;
}

.xp-start-menu-body {
    display: flex;
    min-height: 320px;
}

.xp-start-menu-left,
.xp-start-menu-right {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.xp-start-menu-left {
    flex: 1;
    background: #ffffff;
}

.xp-start-menu-right {
    width: 140px;
    background: #e9e6d8;
    border-left: 1px solid #c9c4b8;
}

.xp-start-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    padding: 10px 8px;
    text-align: left;
    cursor: pointer;
    font-family: Tahoma, Verdana, Arial, sans-serif;
    font-size: 13px;
}

    .xp-start-link:hover {
        background: #316ac5;
        color: white;
    }

    .xp-start-link.active {
        background: #316ac5;
        color: white;
    }

.xp-start-link-expand {
    justify-content: space-between;
}

.xp-start-arrow {
    margin-left: auto;
    font-size: 11px;
}

.xp-start-submenu {
    margin: 4px 0 8px;
    padding: 6px;
    border: 1px solid #c9c4b8;
    background: #f7f3e8;
}

.xp-start-sub-link {
    padding: 8px 6px;
    font-size: 12px;
}

.xp-explorer {
    display: flex;
    gap: 16px;
}

.xp-sidebar {
    width: 210px;
    flex-shrink: 0;
}

.xp-sidebar-group {
    border: 1px solid #7f9db9;
    background: #f5f9ff;
}

.xp-sidebar-group-title {
    background: linear-gradient(to bottom, #dbe9ff, #b9d2f3);
    padding: 8px 10px;
    font-weight: bold;
    font-size: 13px;
    border-bottom: 1px solid #7f9db9;
}

.xp-sidebar-group-body {
    padding: 10px;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.xp-main-pane {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.xp-card {
    background: #fffdf5;
    border: 1px solid #b8b2a3;
    padding: 14px;
    box-shadow: inset 1px 1px 0 #ffffff;
}

    .xp-card h2,
    .xp-card h3 {
        margin-top: 0;
    }

.xp-card-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.xp-resume-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.xp-resume-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
}

.xp-resume-note {
    margin-bottom: 0;
}

.xp-btn,
.xp-btn:link,
.xp-btn:visited {
    display: inline-block;
    padding: 7px 12px;
    border: 1px solid #7f9db9;
    background: linear-gradient(to bottom, #ffffff, #dfe8f6);
    color: #000;
    text-decoration: none;
    cursor: pointer;
    font-family: Tahoma, Verdana, Arial, sans-serif;
    font-size: 12px;
    touch-action: manipulation;
}

    .xp-btn.primary {
        font-weight: bold;
    }

.xp-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.xp-form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.xp-input,
.xp-textarea {
    border: 1px solid #7f9db9;
    padding: 8px;
    font-family: Tahoma, Verdana, Arial, sans-serif;
    font-size: 13px;
    background: white;
    box-sizing: border-box;
    width: 100%;
}

.xp-textarea {
    min-height: 140px;
    resize: vertical;
}

.xp-helper-text {
    color: #51657f;
    font-size: 12px;
}

.xp-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.xp-project-preview-image {
    width: 100%;
    max-width: 260px;
    display: block;
    margin-bottom: 12px;
    border: 1px solid #8f8f8f;
    background: #fff;
}

.minesweeper-shell {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.minesweeper-toolbar {
    padding: 12px;
}

.minesweeper-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
}

.minesweeper-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 120px;
}

.minesweeper-stat span {
    color: #4f6487;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.minesweeper-stat strong {
    font-size: 1rem;
}

.minesweeper-status strong {
    color: #0c4a84;
}

.minesweeper-actions {
    margin-top: 10px;
}

.minesweeper-board {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid #7f9db9;
    background: #c8d7ee;
}

.minesweeper-cell {
    aspect-ratio: 1;
    min-width: 0;
    border: 1px solid #7f9db9;
    font-family: Tahoma, Verdana, Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.minesweeper-cell.hidden {
    background: linear-gradient(to bottom, #ffffff, #d8e3f3);
}

.minesweeper-cell.flagged {
    background: linear-gradient(to bottom, #fff7df, #ead8a1);
    color: #9a1d1d;
}

.minesweeper-cell.revealed,
.minesweeper-cell.empty {
    background: #eef4ff;
}

.minesweeper-cell.mine {
    background: #f7d2d2;
    color: #8f1111;
}

.minesweeper-cell.count-1 {
    color: #0a46a0;
}

.minesweeper-cell.count-2 {
    color: #176427;
}

.minesweeper-cell.count-3 {
    color: #b11717;
}

.minesweeper-cell.count-4 {
    color: #38239f;
}

.minesweeper-cell.count-5,
.minesweeper-cell.count-6,
.minesweeper-cell.count-7,
.minesweeper-cell.count-8 {
    color: #4d4d4d;
}

.minesweeper-legend {
    color: #4f6487;
    font-size: 12px;
}

@media (max-width: 768px) {
    .xp-desktop-page {
        min-height: 100dvh;
        height: 100dvh;
    }

    .xp-desktop {
        min-height: 100dvh;
        height: 100dvh;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 16px 12px 68px;
        box-sizing: border-box;
        background-position: center top;
    }

    .xp-desktop-icons {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px 8px;
        align-content: start;
        height: auto;
    }

    .xp-desktop-icon {
        position: static !important;
        width: auto;
        min-height: 92px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .xp-desktop-icon span {
        max-width: 100%;
        font-size: 12px;
    }

    .xp-window,
    .xp-window.maximized {
        position: fixed !important;
        left: 10px !important;
        right: 10px !important;
        top: 10px !important;
        bottom: 58px !important;
        width: auto !important;
        height: auto !important;
        min-height: 0;
        border-radius: 12px 12px 0 0;
    }

    .xp-titlebar {
        min-height: 36px;
        padding: 0 8px 0 10px;
        cursor: default;
    }

    .xp-titlebar-title {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .xp-titlebar-btn {
        width: 30px;
        height: 24px;
    }

    .xp-window-toolbar {
        padding: 8px 10px;
        line-height: 1.4;
        white-space: normal;
    }

    .xp-window-body {
        padding: 14px;
        max-height: none;
    }

    .xp-explorer {
        flex-direction: column;
    }

    .xp-sidebar {
        width: auto;
    }

    .xp-main-pane {
        grid-template-columns: 1fr;
    }

    .xp-card,
    .minesweeper-toolbar,
    .minesweeper-legend {
        padding: 12px;
    }

    .xp-card-actions {
        gap: 10px;
    }

    .minesweeper-board {
        gap: 3px;
        padding: 8px;
    }

    .minesweeper-cell {
        font-size: 14px;
    }

    .xp-taskbar {
        position: fixed;
        left: 0;
        bottom: 0;
        height: 52px;
        padding: 0 6px;
        gap: 8px;
    }

    .xp-start-button {
        margin-left: 0;
        padding: 8px 16px;
    }

    .xp-taskbar-windows {
        margin-left: 0;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .xp-taskbar-windows::-webkit-scrollbar {
        display: none;
    }

    .xp-taskbar-window-btn {
        height: 32px;
        max-width: 132px;
        padding: 0 10px;
    }

    .xp-clock {
        padding: 0 6px;
        font-size: 11px;
    }

    .xp-start-menu {
        position: fixed;
        left: 8px;
        right: 8px;
        bottom: 60px;
        width: auto;
        max-height: calc(100dvh - 76px);
        overflow: auto;
    }

    .xp-start-menu-body {
        flex-direction: column;
        min-height: 0;
    }

    .xp-start-menu-right {
        width: auto;
        border-left: none;
        border-top: 1px solid #c9c4b8;
    }

    .xp-start-link {
        padding: 12px 10px;
        font-size: 14px;
    }

    .xp-start-submenu {
        margin: 6px 0 4px;
    }
}

@media (max-width: 560px) {
    .xp-desktop-icons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .xp-clock {
        display: none;
    }
}

.projects-page-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
}

.projects-page-header {
    margin-bottom: 20px;
}

.xp-project-section {
    margin-bottom: 26px;
    scroll-margin-top: 24px;
}

.project-detail-card {
    padding-bottom: 18px;
}

.project-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.project-category {
    color: #555;
    margin-top: 4px;
}

.project-thumb-wrap {
    margin: 14px 0 18px;
}

.project-thumb-large {
    width: 100%;
    max-width: 640px;
    display: block;
    border: 1px solid #8f8f8f;
    background: #fff;
}

.project-video-wrap {
    margin: 12px 0 18px;
}

.xp-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 18px;
}

.xp-tech-tag {
    padding: 4px 8px;
    border: 1px solid #7f9db9;
    background: #eef3fb;
    font-size: 12px;
    border-radius: 2px;
}

.xp-screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.xp-screenshot {
    width: 100%;
    display: block;
    border: 1px solid #8f8f8f;
    background: #fff;
}

/* NeonRoof cyberpunk projects page */
.neonroof-projects-theme {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 24px 40px;
    color: #eafcff;
    background: radial-gradient(circle at 8% 8%, rgba(0, 255, 170, 0.16), transparent 22%), radial-gradient(circle at 92% 10%, rgba(180, 0, 255, 0.18), transparent 24%), radial-gradient(circle at 50% 100%, rgba(0, 180, 255, 0.12), transparent 30%), linear-gradient(180deg, #07111a 0%, #09131f 42%, #090d19 100%);
    min-height: 100vh;
}

.neon-projects-hero {
    position: relative;
    margin: 24px 0 28px;
    min-height: 280px;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 170, 0.20);
    background: linear-gradient(135deg, rgba(6, 16, 28, 0.92), rgba(10, 17, 36, 0.84)), radial-gradient(circle at left top, rgba(0, 255, 170, 0.18), transparent 32%), radial-gradient(circle at right top, rgba(180, 0, 255, 0.18), transparent 28%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset, 0 0 28px rgba(0, 255, 170, 0.08), 0 0 48px rgba(180, 0, 255, 0.08);
}

    .neon-projects-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, transparent 0%, rgba(0, 255, 170, 0.05) 50%, transparent 100%);
        transform: translateX(-100%);
        animation: neon-scan 8s linear infinite;
        pointer-events: none;
    }

@keyframes neon-scan {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100%);
    }
}

.neon-projects-hero-overlay {
    position: relative;
    z-index: 1;
    padding: 42px 36px;
}

.neon-projects-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 170, 0.30);
    background: rgba(0, 255, 170, 0.08);
    color: #8fffe3;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.neon-projects-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1;
    color: #8ffcff;
    text-shadow: 0 0 12px rgba(0, 255, 255, 0.20), 0 0 26px rgba(0, 255, 170, 0.14);
}

.neon-projects-hero p {
    max-width: 780px;
    margin: 0;
    color: #c7e6f5;
    font-size: 1.02rem;
    line-height: 1.75;
}

.neon-projects-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.neon-projects-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.neon-projects-sidebar {
    position: sticky;
    top: 20px;
}

.neon-sidebar-card {
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(9, 16, 30, 0.82);
    border: 1px solid rgba(127, 210, 255, 0.20);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset, 0 0 18px rgba(127, 210, 255, 0.06), 0 0 28px rgba(180, 0, 255, 0.05);
    backdrop-filter: blur(8px);
}

.neon-sidebar-title {
    margin-bottom: 12px;
    color: #8ffcff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.neon-project-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.neon-project-link {
    display: block;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(0, 255, 170, 0.16);
    background: linear-gradient(180deg, rgba(11, 24, 42, 0.94), rgba(7, 14, 28, 0.94));
    color: #eafcff;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

    .neon-project-link:hover {
        transform: translateY(-2px);
        border-color: rgba(0, 255, 170, 0.34);
        box-shadow: 0 0 14px rgba(0, 255, 170, 0.10), 0 0 22px rgba(180, 0, 255, 0.08);
    }

.neon-project-link-title {
    display: block;
    font-size: 0.96rem;
    font-weight: 700;
    color: #dffcff;
}

.neon-project-link-sub {
    display: block;
    margin-top: 5px;
    font-size: 0.78rem;
    color: #b497ff;
}

.neon-focus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.neon-projects-main {
    min-width: 0;
}

.neon-project-section {
    margin-bottom: 28px;
    scroll-margin-top: 24px;
}

.neon-project-card {
    border-radius: 22px;
    padding: 24px;
    background: linear-gradient(180deg, rgba(9, 16, 30, 0.86), rgba(8, 14, 26, 0.92));
    border: 1px solid rgba(0, 255, 170, 0.22);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset, 0 0 18px rgba(0, 255, 170, 0.08), 0 0 34px rgba(180, 0, 255, 0.07);
    color: #eafcff;
}

.neon-project-header {
    margin-bottom: 6px;
}

.neon-project-label {
    margin-bottom: 10px;
    color: #7fd2ff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.neon-project-card h2 {
    margin: 0;
    font-size: 1.8rem;
    color: #7cf7d4;
    text-shadow: 0 0 14px rgba(0, 255, 170, 0.14);
}

.neon-project-card .project-category {
    margin-top: 8px;
    color: #d39bff;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.neon-project-card h3 {
    color: #84d8ff;
    margin-top: 24px;
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(127, 210, 255, 0.12);
}

.neon-project-description,
.neonroof-projects-theme p,
.neonroof-projects-theme li {
    color: #d9edf9;
    line-height: 1.72;
}

.neonroof-projects-theme .project-thumb-wrap,
.neonroof-projects-theme .project-video-wrap {
    margin: 16px 0 22px;
}

.neonroof-projects-theme .project-thumb-large,
.neonroof-projects-theme .xp-screenshot {
    width: 100%;
    display: block;
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 170, 0.22);
    background: #050b14;
    box-shadow: 0 0 14px rgba(0, 255, 170, 0.08), 0 0 24px rgba(180, 0, 255, 0.06);
    transition: transform 0.20s ease, box-shadow 0.20s ease;
}

    .neonroof-projects-theme .project-thumb-large:hover,
    .neonroof-projects-theme .xp-screenshot:hover {
        transform: translateY(-2px) scale(1.01);
        box-shadow: 0 0 16px rgba(0, 255, 170, 0.14), 0 0 28px rgba(180, 0, 255, 0.10);
    }

.neonroof-projects-theme .project-thumb-large {
    max-width: 820px;
}

.neonroof-projects-theme .xp-screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.neonroof-projects-theme .xp-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 20px;
}

.neonroof-projects-theme .xp-tech-tag {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 170, 0.28);
    background: linear-gradient(180deg, rgba(0, 255, 170, 0.10), rgba(180, 0, 255, 0.10));
    color: #d9fff3;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(0, 255, 170, 0.08);
}

.neonroof-projects-theme video {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(127, 210, 255, 0.22);
    background: #03070d;
    box-shadow: 0 0 12px rgba(127, 210, 255, 0.08), 0 0 24px rgba(180, 0, 255, 0.08);
}

.neonroof-projects-theme .xp-card-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.neonroof-projects-theme .xp-btn,
.neonroof-projects-theme .xp-btn:link,
.neonroof-projects-theme .xp-btn:visited {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid rgba(127, 210, 255, 0.30);
    background: linear-gradient(180deg, rgba(24, 44, 68, 0.95), rgba(9, 19, 35, 0.96));
    color: #eafcff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset, 0 0 12px rgba(127, 210, 255, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

    .neonroof-projects-theme .xp-btn.primary {
        border-color: rgba(0, 255, 170, 0.34);
        background: linear-gradient(180deg, rgba(0, 255, 170, 0.18), rgba(18, 52, 52, 0.95));
        color: #eafff7;
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 0 14px rgba(0, 255, 170, 0.14);
    }

    .neonroof-projects-theme .xp-btn:hover {
        transform: translateY(-1px);
        filter: brightness(1.06);
    }

    .neonroof-projects-theme .xp-btn.primary:hover {
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 0 18px rgba(0, 255, 170, 0.20);
    }

@media (max-width: 1080px) {
    .neon-projects-layout {
        grid-template-columns: 1fr;
    }

    .neon-projects-sidebar {
        position: static;
    }

    .neon-sidebar-card {
        margin-bottom: 16px;
    }
}

@media (max-width: 768px) {
    .neonroof-projects-theme {
        padding: 0 14px 28px;
    }

    .neon-projects-hero {
        margin-top: 14px;
        min-height: 230px;
    }

    .neon-projects-hero-overlay {
        padding: 24px 18px;
    }

    .neon-projects-hero h1 {
        font-size: 2rem;
    }

    .neon-project-card {
        padding: 18px;
    }

    .neon-projects-hero-actions {
        gap: 8px;
    }
}

.admin-login-shell,
.admin-gate-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background: linear-gradient(rgba(5, 12, 28, 0.72), rgba(9, 18, 40, 0.76)),
        url('/images/xp/wallpaper.jpg') center center / cover no-repeat;
}

.admin-login-card,
.admin-gate-card {
    width: min(100%, 520px);
    padding: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
}

.admin-kicker {
    margin-bottom: 10px;
    color: #0a4d9b;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-alert {
    margin: 16px 0;
    padding: 12px 14px;
    border: 1px solid #7f9db9;
    background: #f4f8ff;
}

.admin-alert-success {
    border-color: #4c8b4c;
    background: #edf8ed;
}

.admin-alert-danger {
    border-color: #b75e5e;
    background: #fff1f1;
}

.admin-alert-warning {
    border-color: #b7934f;
    background: #fff8e6;
}

.admin-login-form {
    margin-top: 14px;
}

.admin-login-actions {
    align-items: center;
}

.admin-shell {
    min-height: 100vh;
    padding: 28px;
    background: linear-gradient(180deg, #d8e6ff 0%, #bed5ff 100%);
}

.admin-header-card {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.admin-inline-form {
    margin: 0;
}

.admin-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.admin-stat-card {
    min-height: 112px;
}

.admin-stat-label {
    color: #365b8c;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-stat-value {
    margin-top: 10px;
    color: #103b78;
    font-size: 2rem;
    font-weight: bold;
}

.admin-stat-value-sm {
    font-size: 1.05rem;
    line-height: 1.5;
}

.admin-empty-state {
    font-size: 1rem;
}

.admin-bulk-card {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.admin-bulk-summary {
    color: #23466f;
}

.admin-bulk-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-message-list {
    display: grid;
    gap: 16px;
}

.admin-message-card {
    padding: 18px;
}

.admin-message-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.admin-message-top-right {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.admin-message-top h2 {
    margin-bottom: 6px;
}

.admin-message-time {
    color: #4f6487;
    font-size: 13px;
}

.admin-message-badge {
    padding: 5px 10px;
    border: 1px solid #7f9db9;
    background: #e7f0ff;
    font-size: 12px;
    font-weight: bold;
}

.admin-select-toggle {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: #23466f;
    font-size: 13px;
    font-weight: 600;
}

.admin-select-toggle input {
    margin: 0;
}

.admin-message-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.admin-message-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-message-field span {
    color: #4f6487;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.admin-message-body div {
    white-space: pre-wrap;
    line-height: 1.65;
}

.admin-message-actions {
    margin-top: 18px;
}

.xp-btn.danger,
.xp-btn.danger:link,
.xp-btn.danger:visited {
    border-color: #a85151;
    background: linear-gradient(to bottom, #fff3f3, #f1caca);
    color: #5b1111;
}

@media (max-width: 768px) {
    .admin-shell {
        padding: 16px;
    }

    .admin-header-card {
        flex-direction: column;
    }

    .admin-toolbar {
        width: 100%;
        justify-content: flex-start;
    }

    .admin-message-top {
        flex-direction: column;
    }

    .admin-bulk-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-message-top-right {
        justify-content: flex-start;
    }
}
