@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&family=VT323&display=swap');

@keyframes player-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}


body {
    margin: 0;
    padding: 0;
    background-color: #5bbfee;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.5) 2px, transparent 2px);
    background-size: 18px 18px;
    background-attachment: fixed;
    font-family: 'Comic Neue', cursive;
    color: #003366;
    cursor: crosshair;
}

.site-container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 10px;
}


.retro-topbar {
    background: linear-gradient(180deg, #3a3a3a 0%, #1a1a1a 100%);
    border-top: 1px solid #888;
    border-left: 1px solid #888;
    border-right: 1px solid #000;
    border-bottom: 2px solid #000;
    display: inline-flex;
    margin-bottom: 15px;
    font-family: 'VT323', monospace;
    font-size: 20px;
    box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.5);
    border-radius: 4px 4px 0 0;
}

.retro-topbar a {
    color: #d0e8ff;
    text-decoration: none;
    padding: 5px 18px;
    border-right: 1px solid #444;
    letter-spacing: 1px;
    transition: background 0.15s;
}

.retro-topbar a:last-child {
    border-right: none;
}

.retro-topbar a:hover {
    background: linear-gradient(180deg, #005fa3, #003f73);
    color: #00ffff;
    text-shadow: 0 0 6px #00ffff;
}


.glossy-header {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.92) 0%,
            rgba(255, 255, 255, 0.5) 40%,
            rgba(200, 240, 255, 0.2) 50%,
            rgba(0, 191, 255, 0.55) 100%);
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), inset 0 2px 12px rgba(255, 255, 255, 0.95), inset 0 -3px 8px rgba(0, 180, 255, 0.2);
    backdrop-filter: blur(8px);
    text-align: center;
    padding: 10px 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.glossy-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent);
    border-radius: 16px 16px 50% 50%;
    pointer-events: none;
}

.neon-logo {
    font-family: 'VT323', monospace;
    font-size: 5rem;
    margin: 0;
    color: #fff;
    text-shadow:
        0 0 4px #fff,
        0 0 10px #fff,
        0 0 20px #00e5ff,
        0 0 45px #00e5ff,
        0 0 90px #0099cc;
    letter-spacing: 2px;
}


.marquee-wrap {
    background: #000;
    color: #00ffff;
    font-family: 'VT323', monospace;
    font-size: 1.4rem;
    padding: 4px 8px;
    border: 2px inset #555;
    margin-top: 10px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.6) inset;
    overflow: hidden;
}

.smooth-marquee {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.smooth-marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: smooth-scroll 22s linear infinite;
    color: #00fffd;
    text-shadow: 0 0 6px #00ffff;
}

@keyframes smooth-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}


.layout-grid {
    display: grid;
    grid-template-columns: 240px 1fr 240px;
    gap: 18px;
}


.glass-box {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.72) 0%, rgba(220, 240, 255, 0.45) 100%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12), inset 0 1px 6px rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 15px;
    margin-bottom: 18px;
    transition: box-shadow 0.25s, transform 0.25s;
    position: relative;
}

.glass-box:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18), 0 0 16px rgba(0, 229, 255, 0.45), inset 0 0 12px rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}


.box-title {
    background: linear-gradient(90deg, #0056a8 0%, #0288d1 50%, #00aee8 100%);
    color: #fff;
    font-family: 'VT323', monospace;
    font-size: 1.4rem;
    padding: 4px 10px;
    margin: -15px -15px 15px -15px;
    border-radius: 9px 9px 0 0;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}


.nav-item {
    display: block;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.65), rgba(200, 235, 255, 0.4));
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    padding: 7px 10px;
    margin-bottom: 7px;
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.15s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.nav-item:hover {
    background: linear-gradient(135deg, #00ffff, #0099dd);
    color: #000;
    border-color: #00e5ff;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.7);
    padding-left: 16px;
}


.nav-drawer-drawer {
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    max-height: 300px;
}

.nav-drawer-drawer.closed {
    max-height: 0;
}


.player-chassis {
    background: linear-gradient(180deg, #232d3a, #0f1720);
    border: 2px outset #4b5563;
    border-radius: 6px;
    padding: 12px;
    margin-top: 10px;
    font-family: 'VT323', monospace;
    box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.08), 0 4px 12px rgba(0, 0, 0, 0.6);
}

.marquee-screen {
    background: #020617;
    border: 2px inset #334155;
    padding: 4px 8px;
    border-radius: 3px;
    margin-bottom: 12px;
    box-shadow: 0 0 12px rgba(0, 191, 255, 0.25) inset;
}

#track-marquee {
    color: #38bdf8;
    font-size: 16px;
    text-shadow: 0 0 6px #0284c7;
    letter-spacing: 1px;
}

.player-dash {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 12px;
}

.transport-btn {
    background: linear-gradient(180deg, #d1d5db, #9ca3af);
    border: 2px outset #f3f4f6;
    border-radius: 3px;
    padding: 4px 8px;
    color: #111;
    font-size: 14px;
    cursor: pointer;
    text-shadow: 1px 1px 0 #fff;
    transition: filter 0.1s;
}

.transport-btn:hover {
    filter: brightness(1.1);
}

.transport-btn:active {
    border-style: inset;
    background: linear-gradient(180deg, #9ca3af, #d1d5db);
}

.play-btn {
    font-weight: bold;
    background: linear-gradient(180deg, #bae6fd, #38bdf8);
    border: 2px outset #e0f2fe;
    color: #082f49;
    padding: 4px 12px;
}

.progress-section {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.time-lcd {
    background: #000;
    color: #38bdf8;
    font-family: 'VT323', monospace;
    font-size: 14px;
    text-align: right;
    padding: 2px 4px;
    border: 2px inset #334155;
    border-radius: 2px;
    width: fit-content;
    align-self: flex-end;
    line-height: 1;
    text-shadow: 0 0 4px #38bdf8;
}

.progress-track {
    height: 10px;
    background: #020617;
    border: 2px inset #4b5563;
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden;
    width: 100%;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0284c7, #38bdf8, #a5f3fc);
    box-shadow: 0 0 8px #38bdf8;
    transition: width 0.1s linear;
}


.playlist-dropdown {
    position: relative;
}

.playlist-btn {
    background: linear-gradient(180deg, #334155, #1e293b);
    border: 2px outset #4b5563;
    color: #38bdf8;
    font-family: 'VT323', monospace;
    font-size: 14px;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
    user-select: none;
}

.playlist-btn:hover {
    filter: brightness(1.15);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    width: 100%;
    background: #0f172a;
    border: 2px outset #4b5563;
    box-sizing: border-box;
    z-index: 50;
    color: #94a3b8;
    max-height: 160px;
    overflow-y: auto;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

.dropdown-menu.show {
    display: block;
}

.playlist-item {
    padding: 7px 10px;
    border-bottom: 1px solid #1e293b;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.1s;
}

.playlist-item:hover {
    background: #1e3a5f;
    color: #fff;
}

.playlist-item.active {
    background: #0284c7;
    color: #fff;
    font-weight: bold;
    border-left: 3px solid #38bdf8;
}


.hit-counter {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    border: 2px inset #555;
    padding: 8px 5px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hit-counter span {
    background: linear-gradient(180deg, #2a2a2a 0%, #111 50%, #1a1a1a 100%);
    color: #00e5ff;
    font-family: 'VT323', monospace;
    font-size: 28px;
    padding: 2px 7px;
    margin: 0 1px;
    border: 1px solid #444;
    border-radius: 3px;
    box-shadow: inset 0 0 5px rgba(0, 229, 255, 0.2);
    text-shadow: 0 0 8px #00ffff;
    line-height: 1;
}


.cal-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    font-family: 'VT323', monospace;
}

.cal-btn:hover {
    color: #00ffff;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.5);
    padding: 4px;
    border: 2px inset #b3d9f0;
    border-radius: 4px;
}

.calendar-day {
    padding: 4px 0;
    background: rgba(230, 247, 255, 0.8);
    border: 1px solid rgba(179, 229, 252, 0.6);
    border-radius: 2px;
}

.calendar-day.header {
    font-weight: bold;
    background: #0288d1;
    color: #fff;
    border: none;
}

.calendar-day.other-month {
    color: #aaa;
    background: rgba(249, 249, 249, 0.5);
}

.calendar-day.today {
    background: linear-gradient(135deg, #ff00cc, #cc00ff);
    color: #fff;
    font-weight: bold;
    border-color: #ff00ff;
    box-shadow: 0 0 6px #ff00ff;
}


.main-card h2 {
    color: #01579b;
    border-bottom: 2px dashed #03a9f4;
    padding-bottom: 5px;
    margin-top: 0;
    font-family: 'VT323', monospace;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.main-card p {
    font-size: 15px;
    line-height: 1.65;
}

.update-log {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 10px;
    height: 130px;
    overflow-y: auto;
    border-radius: 5px;
    margin-top: 15px;
    font-size: 13px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
}

.update-log h3 {
    margin-top: 0;
    color: #0288d1;
    font-family: 'VT323', monospace;
    font-size: 1.4rem;
}

.update-log ul {
    list-style-type: square;
    padding-left: 20px;
}

.action-btn {
    font-family: 'VT323', monospace;
    font-size: 1.4rem;
    padding: 7px 20px;
    cursor: pointer;
    border: 2px outset #00ffff;
    background: linear-gradient(180deg, #0a1a2a, #000);
    color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
    border-radius: 4px;
    margin-top: 18px;
    transition: all 0.15s;
    letter-spacing: 1px;
}

.action-btn:hover {
    background: linear-gradient(180deg, #003355, #001122);
    box-shadow: 0 0 20px #00ffff;
}

.action-btn:active {
    border-style: inset;
}


.about-flex {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.avatar-box {
    width: 90px;
    height: 90px;
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 0 14px rgba(0, 191, 255, 0.8), 0 0 30px rgba(0, 191, 255, 0.3);
    flex-shrink: 0;
    object-fit: cover;
}

.discord-info {
    background: rgba(0, 0, 0, 0.08);
    border: 1px dashed #00bfff;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    font-size: 13px;
}

.discord-info p {
    margin: 4px 0;
    font-size: 13px;
}

.skill-bar {
    width: 100%;
    height: 12px;
    background: #000;
    border: 2px inset #444;
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.skill-fill {
    width: 85%;
    height: 100%;
    background: linear-gradient(90deg, #cc00ff, #00ffff);
    animation: load 2s infinite linear;
}

@keyframes load {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}


.status-content {
    font-size: 14px;
}

.mood {
    font-weight: bold;
    color: #db0042;
    margin-bottom: 5px;
}


.badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

.badge-btn {
    width: 88px;
    height: 31px;
    border: 2px outset #fff;
    background: linear-gradient(180deg, #c9e8fb 0%, #29b6f6 48%, #028fd6 52%, #006fb4 100%);
    color: #fff;
    font-family: 'VT323', monospace;
    font-size: 15px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
    transition: filter 0.1s, transform 0.1s;
    letter-spacing: 0.5px;
}

.badge-btn:hover {
    filter: brightness(1.2) saturate(1.4);
    border-color: #00ffff;
}

.badge-btn:active {
    border-style: inset;
    transform: scale(0.94);
}


.webring-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.75) 0%, rgba(200, 235, 255, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08), inset 0 1px 4px rgba(255, 255, 255, 0.7);
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
}

.webring-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12), 0 0 12px rgba(0, 191, 255, 0.3);
    transform: translateY(-1px);
}

.webring-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.webring-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00bfff;
    box-shadow: 0 0 8px #00bfff;
    flex-shrink: 0;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.85);
    }
}

.webring-name {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    color: #01579b;
    letter-spacing: 1px;
}

.webring-tag {
    margin-left: auto;
    font-size: 11px;
    color: #0288d1;
    background: rgba(0, 191, 255, 0.12);
    border: 1px solid rgba(0, 191, 255, 0.3);
    padding: 2px 7px;
    border-radius: 20px;
    font-style: italic;
    white-space: nowrap;
}

.webring-desc {
    font-size: 13px;
    color: #004466;
    line-height: 1.5;
    margin-bottom: 10px;
}

.webring-controls {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.webring-btn {
    font-family: 'VT323', monospace;
    font-size: 1rem;
    padding: 4px 10px;
    border-radius: 3px;
    border: 2px outset #fff;
    text-decoration: none;
    cursor: pointer;
    transition: filter 0.15s, transform 0.1s;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    letter-spacing: 0.5px;
}

.webring-btn:active {
    border-style: inset;
    transform: scale(0.95);
}

.prev-btn {
    background: linear-gradient(180deg, #e2e8f0, #94a3b8);
    color: #1e293b;
}

.prev-btn:hover {
    filter: brightness(1.1);
}

.random-btn {
    background: linear-gradient(180deg, #fde68a, #f59e0b);
    color: #7c2d12;
    border-color: #fcd34d;
}

.random-btn:hover {
    filter: brightness(1.1);
}

.list-btn {
    background: linear-gradient(180deg, #d1fae5, #34d399);
    color: #064e3b;
    border-color: #6ee7b7;
}

.list-btn:hover {
    filter: brightness(1.05);
}

.next-btn {
    background: linear-gradient(180deg, #bae6fd, #38bdf8);
    color: #082f49;
    border-color: #7dd3fc;
}

.next-btn:hover {
    filter: brightness(1.1);
}


.site-footer {
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
    font-size: 14px;
    color: #01579b;
}


.sparkle {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 5px #fff, 0 0 10px #00ffff;
    animation: fadeout 0.8s linear forwards;
    z-index: 9999;
}

@keyframes fadeout {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0);
    }
}



@media (max-width: 900px) {
    .layout-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .site-container {
        margin: 8px auto;
        padding: 0 8px;
    }


    .retro-topbar {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        box-sizing: border-box;
        border-radius: 4px;
        font-size: 15px;
        margin-bottom: 10px;
    }

    .retro-topbar a {
        padding: 6px 10px;
        flex: 1 1 auto;
        text-align: center;
        border-right: none;
        border-bottom: 1px solid #444;
    }

    .retro-topbar a:last-child {
        border-bottom: none;
    }


    .glossy-header {
        padding: 8px 12px;
        margin-bottom: 14px;
        border-radius: 12px;
    }

    .neon-logo {
        font-size: 3rem;
    }


    .layout-grid {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }


    .layout-grid>aside:first-child {
        order: 2;
    }

    .layout-grid>main {
        order: 1;
    }

    .layout-grid>aside:last-child {
        order: 3;
    }


    .glass-box {
        padding: 12px;
        margin-bottom: 10px;
        border-radius: 8px;
    }

    .glass-box:hover {
        transform: none;
    }


    .nav-drawer-drawer {
        max-height: 0;
    }

    .nav-drawer-drawer.open {
        max-height: 600px;
    }

    .nav-item {
        padding: 9px 12px;
        font-size: 15px;
        margin-bottom: 5px;
    }


    .player-chassis {
        padding: 10px;
        margin-top: 6px;
    }

    .player-dash {
        flex-wrap: wrap;
        gap: 8px;
    }

    #track-marquee {
        font-size: 14px;
    }


    .about-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .avatar-box {
        width: 80px !important;
        height: 80px !important;
    }


    .skill-chip {
        font-size: 13px;
        padding: 3px 7px;
    }

    .skill-chip img {
        width: 16px;
        height: 16px;
    }


    .webring-card {
        padding: 10px;
    }

    .webring-controls {
        gap: 4px;
    }

    .webring-btn {
        font-size: 0.9rem;
        padding: 3px 8px;
    }

    .webring-tag {
        display: none;
    }


    .badge-grid {
        gap: 5px;
    }

    .badge-btn {
        font-size: 10px;
        padding: 2px 4px;
    }

    .badge-btn img {
        max-width: 70px;
    }


    .calendar-grid {
        font-size: 12px;
    }


    #my-discord-mood {
        font-size: 1rem;
    }

    #my-discord-custom-message {
        font-size: 12px;
    }


    .marquee-wrap {
        font-size: 1rem;
    }


    .glass-box:hover {
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12), inset 0 1px 6px rgba(255, 255, 255, 0.7);
    }


    .page-view section {
        padding: 0;
    }

    .main-card {
        padding: 12px;
    }

    .main-card h2 {
        font-size: 1.2rem;
    }
}

.skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(220, 200, 255, 0.5));
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 6px;
    padding: 4px 8px;
    box-shadow: 0 2px 6px rgba(100, 0, 150, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.6);
    font-family: 'VT323', monospace;
    font-size: 14px;
    color: #3a0060;
    letter-spacing: 0.5px;
    transition: transform 0.15s, box-shadow 0.15s;
    cursor: default;
}

.skill-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(150, 0, 200, 0.2), 0 0 8px rgba(200, 100, 255, 0.3);
}

.skill-chip img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.gb-entry {
    background: var(--entry-bg, #c8e6ff);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.07), inset 0 1px 3px rgba(255, 255, 255, 0.7);
    animation: gb-pop 0.25s ease;
}

@keyframes gb-pop {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gb-entry-top {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.gb-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.gb-name {
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    color: #003366;
    letter-spacing: 0.5px;
}

.gb-time {
    font-size: 11px;
    color: #6698c4;
    font-style: italic;
}

.gb-msg {
    font-size: 14px;
    color: #003366;
    line-height: 1.5;
    padding-left: 34px;
    word-break: break-word;
}

.gb-del {
    margin-left: auto;
    flex-shrink: 0;
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 13px;
    padding: 0 4px;
    transition: color 0.15s;
}

.gb-del:hover {
    color: #e03c3c;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.project-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.78), rgba(210, 235, 255, 0.5));
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.09), inset 0 1px 4px rgba(255, 255, 255, 0.8);
    transition: transform 0.18s, box-shadow 0.18s;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.13), 0 0 14px rgba(0, 191, 255, 0.25);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.project-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.project-title {
    font-family: 'VT323', monospace;
    font-size: 1.25rem;
    color: #0056a8;
    letter-spacing: 1px;
}

.project-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 3px;
}

.ptag {
    font-size: 11px;
    background: rgba(0, 150, 255, 0.12);
    border: 1px solid rgba(0, 150, 255, 0.25);
    color: #0056a8;
    border-radius: 20px;
    padding: 1px 7px;
    font-style: italic;
}

.project-desc {
    font-size: 13px;
    color: #004466;
    line-height: 1.5;
    margin: 0 0 10px;
}

.project-links {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.plink-btn {
    font-family: 'VT323', monospace;
    font-size: 1rem;
    padding: 3px 10px;
    border-radius: 3px;
    border: 2px outset #b0d4f1;
    background: linear-gradient(180deg, #e0f2fe, #7dd3fc);
    color: #082f49;
    text-decoration: none;
    cursor: pointer;
    transition: filter 0.15s, transform 0.1s;
}

.plink-btn:hover {
    filter: brightness(1.1);
}

.plink-btn:active {
    border-style: inset;
    transform: scale(0.95);
}

.plink-live {
    background: linear-gradient(180deg, #fde68a, #f59e0b);
    border-color: #fcd34d;
    color: #7c2d12;
}

.msn-titlebar {
    background: linear-gradient(180deg, #1484d6 0%, #0d5fa3 100%);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 9px 9px 0 0;
    border-bottom: 1px solid #0a4a82;
}

.msn-dots {
    display: flex;
    gap: 4px;
}

.msn-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.msn-title-text {
    font-family: 'VT323', monospace;
    font-size: 13px;
    color: #fff;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
}

.msn-body {
    background: linear-gradient(180deg, #ddeeff 0%, #e8f4ff 100%);
    padding: 10px;
    font-family: 'MS PGothic', 'Comic Neue', sans-serif;
    font-size: 13px;
    color: #002266;
}

.msn-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.msn-avatar {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 2px solid #1484d6;
    object-fit: cover;
}

.msn-status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #747f8d;
}

.msn-contact-info {
    flex: 1;
    min-width: 0;
}

.msn-name {
    font-weight: bold;
    font-size: 13px;
    color: #0d3d91;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.msn-status-text {
    font-size: 11px;
    font-weight: normal;
}

.msn-activity {
    font-size: 11px;
    color: #556688;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.msn-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #a8c8e8, transparent);
    margin: 4px 0 8px;
}

.msn-chat-area {
    background: #fff;
    border: 1px solid #b8d4ee;
    border-radius: 6px;
    padding: 8px;
    min-height: 60px;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.05);
}

.msn-bubble-row {
    display: flex;
    gap: 7px;
    align-items: flex-start;
}

.msn-bubble-avatar {
    width: 24px;
    height: 24px;
    border-radius: 3px;
    border: 1px solid #1484d6;
    flex-shrink: 0;
    object-fit: cover;
}

.msn-bubble {
    flex: 1;
    min-width: 0;
}

.msn-bubble-name {
    font-size: 11px;
    font-weight: bold;
    color: #b30000;
    margin-bottom: 2px;
}

.msn-bubble-text {
    font-size: 12px;
    color: #002266;
    line-height: 1.5;
    word-break: break-word;
    background: #f0f8ff;
    border: 1px solid #c8ddf0;
    border-radius: 0 6px 6px 6px;
    padding: 4px 7px;
    position: relative;
}

.msn-bubble-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -6px;
    border: 5px solid transparent;
    border-right-color: #c8ddf0;
    border-top-color: #c8ddf0;
}

.msn-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
    font-size: 10px;
    color: #889aaa;
    font-style: italic;
}

@keyframes blink-sep {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

#kofi-float {
    position: fixed;
    bottom: 0;
    left: 20px;
    width: 300px;
    z-index: 9990;
    font-family: 'Comic Neue', cursive;
    filter: drop-shadow(0 -4px 16px rgba(255, 100, 0, 0.25));
}

#kofi-tab {
    background: linear-gradient(180deg, #ff7043, #e64a19);
    color: #fff;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 8px 8px 0 0;
    border: 2px outset #ff8a65;
    border-bottom: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 -3px 10px rgba(255, 80, 0, 0.3);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
    transition: background 0.2s;
    user-select: none;
}

#kofi-tab:hover {
    background: linear-gradient(180deg, #ff8a65, #ff5722);
}

#kofi-panel {
    background: #fff;
    border: 2px outset #ff8a65;
    border-bottom: none;
    border-radius: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#kofi-float.open #kofi-panel {
    max-height: 440px;
}

@media (max-width: 768px) {
    #kofi-float {
        left: 8px;
        width: calc(100vw - 16px);
    }
}

/* ─── SHRINE ─────────────────────────── */
.shrine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
    padding: 15px 5px;
    justify-items: center;
}

.shrine-item {
    background: #fff;
    padding: 8px 8px 20px 8px;
    box-shadow: 2px 4px 12px rgba(0,0,0,0.15);
    border: 1px solid #eee;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    max-width: 150px;
    cursor: pointer;
}

.shrine-item:nth-child(even) { transform: rotate(3deg); }
.shrine-item:nth-child(odd) { transform: rotate(-3deg); }
.shrine-item:nth-child(3n) { transform: rotate(1deg); }
.shrine-item:nth-child(4n) { transform: rotate(-2deg); }

.shrine-item:hover {
    transform: scale(1.1) rotate(0deg) !important;
    box-shadow: 4px 10px 24px rgba(0,0,0,0.25);
    z-index: 10;
    position: relative;
}

.shrine-photo img {
    width: 100%;
    height: 120px;
    border: 1px solid #ddd;
    background: #fafafa;
    object-fit: cover;
    image-rendering: pixelated;
}

.shrine-caption {
    font-family: 'Comic Neue', cursive;
    font-size: 14px;
    color: #444;
    margin-top: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}