/* =========================================================
   2000s MARQUEE
   ========================================================= */

.mochi-marquee {
    width: 100%;
    overflow: hidden;
    background: #008ed3;
    color: white;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    padding: 5px 0;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 2px 0 #00528d;
    position: relative;
    z-index: 10;
}

.mochi-marquee-track {
    display: inline-block;
    padding-left: 100%;
    animation: mochiMarquee 18s linear infinite;
}

@keyframes mochiMarquee {
    from {
        transform: translateX(0);
    }

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

/* =========================================================
   ONLINE STATUS
   ========================================================= */

.mochi-online {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 8px;
    background: white;
    border: 2px solid #008ed3;
    color: #00528d;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 2px 2px 0 #008ed3;
}

.online-dot {
    display: inline-block;
    margin-right: 4px;
    animation: onlineBlink 1s steps(2, start) infinite;
}

@keyframes onlineBlink {
    50% {
        opacity: 0;
    }
}

/* =========================================================
   PHOTOS
   ========================================================= */

.photo-gallery {
    text-align: center;
}

.gallery-counter {
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: bold;
    color: #00528d;
}

.gallery-image-box {
    width: 100%;
    height: 330px;
    background: #dff8ff;
    border: 2px solid #3bbcff;
    overflow: hidden;
    position: relative;
}

.gallery-image-box img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.gallery-caption {
    margin: 8px 0;
    color: #00528d;
    font-weight: bold;
    font-size: 11px;
}

.gallery-buttons {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.gallery-buttons button {
    padding: 5px 9px;
    background: white;
    border: 2px outset #b6eaff;
    color: #00528d;
    font-weight: bold;
    cursor: pointer;
}

.gallery-buttons button:hover {
    background: #e5f9ff;
}

.gallery-buttons button:active {
    border-style: inset;
}

/* =========================================================
   FAKE SYSTEM WINDOWS
   ========================================================= */

.fake-system-window {
    position: fixed;
    width: 310px;
    background: #dff8ff;
    border: 3px outset #b7eaff;
    box-shadow: 7px 7px 0 rgba(0, 70, 120, 0.25);
    z-index: 9999;
    font-family: Arial, sans-serif;
    animation: systemAppear 0.2s ease-out;
}

.fake-system-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px;
    background: linear-gradient(
        90deg,
        #008ed3,
        #45cfff
    );
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.fake-system-close {
    width: 20px;
    height: 18px;
    padding: 0;
    background: #eaffff;
    border: 2px outset #b6eaff;
    font-weight: bold;
    cursor: pointer;
    color: #00528d;
}

.fake-system-close:active {
    border-style: inset;
}

.fake-system-body {
    padding: 15px 12px 10px;
    text-align: center;
    color: #00528d;
    font-size: 12px;
    font-weight: bold;
}

.fake-system-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.fake-system-buttons {
    display: flex;
    justify-content: center;
    gap: 7px;
    padding: 0 10px 12px;
}

.fake-system-buttons button {
    min-width: 65px;
    padding: 5px 9px;
    background: #f5ffff;
    border: 2px outset #b6eaff;
    color: #00528d;
    font-weight: bold;
    cursor: pointer;
}

.fake-system-buttons button:hover {
    background: #d9f8ff;
}

.fake-system-buttons button:active {
    border-style: inset;
}

@keyframes systemAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fake-system-window.shake {
    animation: systemShake 0.3s;
}

@keyframes systemShake {
    0%   { transform: translateX(0); }
    25%  { transform: translateX(-5px); }
    50%  { transform: translateX(5px); }
    75%  { transform: translateX(-4px); }
    100% { transform: translateX(0); }
}

/* =========================================================
   MOCHI CLICKS
   ========================================================= */

.mochi-photo-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
}

.mochi-photo-wrap .mochi-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.click-counter {
    position: absolute;
    bottom: 6px;
    right: 6px;
    padding: 4px 7px;
    background: white;
    border: 2px solid #008ed3;
    color: #00528d;
    font-size: 10px;
    font-weight: bold;
    box-shadow: 2px 2px 0 #008ed3;
    pointer-events: none;
    z-index: 5;
}

.mochi-pop {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 2px solid #008ed3;
    padding: 5px 9px;
    color: #00528d;
    font-weight: bold;
    font-size: 13px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
    box-shadow:
        3px 3px 0 rgba(0, 90, 150, 0.25);
    animation: mochiPop 0.8s ease-out forwards;
}

@keyframes mochiPop {
    0% {
        opacity: 0;
        transform:
            translate(-50%, -50%)
            scale(0.5)
            rotate(-8deg);
    }

    20% {
        opacity: 1;
        transform:
            translate(-50%, -65%)
            scale(1.2)
            rotate(5deg);
    }

    100% {
        opacity: 0;
        transform:
            translate(-50%, -140%)
            scale(1)
            rotate(-5deg);
    }
}

/* =========================================================
   MOCHI.EXE - 2000s CHAOS EDITION
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    background:
        linear-gradient(
            rgba(0, 150, 255, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0, 150, 255, 0.08) 1px,
            transparent 1px
        ),
        #dff8ff;

    background-size: 18px 18px;

    font-family: "Trebuchet MS", Arial, sans-serif;

    color: #063b69;

    overflow-x: hidden;
    overflow-y: auto;

    position: relative;
}

/* =========================================================
   PAW BACKGROUND
   ========================================================= */

.paw-bg {
    position: fixed;
    color: white;
    opacity: 0.75;
    font-size: 42px;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

.paw1 {
    top: 4%;
    left: 3%;
    transform: rotate(-20deg);
}

.paw2 {
    top: 15%;
    right: 5%;
    transform: rotate(18deg);
}

.paw3 {
    top: 42%;
    left: 2%;
    transform: rotate(12deg);
}

.paw4 {
    top: 60%;
    right: 3%;
    transform: rotate(-15deg);
}

.paw5 {
    bottom: 8%;
    left: 8%;
    transform: rotate(25deg);
}

.paw6 {
    bottom: 15%;
    right: 10%;
    transform: rotate(-25deg);
}

.paw7 {
    top: 30%;
    left: 48%;
    transform: rotate(10deg);
    opacity: 0.35;
}

.paw8 {
    bottom: 5%;
    right: 40%;
    transform: rotate(-10deg);
    opacity: 0.35;
}

/* =========================================================
   MAIN WINDOW
   ========================================================= */

.window {
    width: min(1180px, calc(100% - 30px));
    min-height: 0;
    margin: 20px auto;
    background: #eafaff;
    border: 3px solid #0068b7;
    border-radius: 12px;
    box-shadow:
        8px 8px 0 rgba(0, 74, 130, 0.25),
        0 0 35px rgba(0, 174, 255, 0.25);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

/* =========================================================
   TITLE BAR
   ========================================================= */

.titlebar {
    height: 44px;
    background:
        linear-gradient(
            to bottom,
            #36c8ff,
            #078de0 55%,
            #0065b2
        );
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    font-weight: bold;
    text-shadow: 1px 1px #005087;
    border-bottom: 2px solid #00518e;
}

.title-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.title-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.title-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.window-buttons {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.window-button {
    width: 27px;
    height: 24px;
    border: 2px outset #bcecff;
    background: #e7faff;
    color: #00548d;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* =========================================================
   CONTENT
   ========================================================= */

.content {
    padding: 12px;
    display: grid;
    grid-template-columns:
        190px
        minmax(0, 1fr)
        220px;
    gap: 12px;
}

/* =========================================================
   PANELS
   ========================================================= */

.panel {
    background:
        rgba(255, 255, 255, 0.8);

    border: 2px solid #3bbcff;
    border-radius: 9px;

    box-shadow:
        inset 0 0 0 2px
        rgba(255,255,255,0.7),

        3px 3px 0
        rgba(0, 120, 200, 0.15);

    min-width: 0;
}

/* =========================================================
   LEFT PANEL
   ========================================================= */

.left-panel {
    padding: 10px;
}

.panel-title {
    font-size: 13px;
    font-weight: bold;
    color: #0064a9;
    text-align: center;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px dashed #48bfff;
}

.nav {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.nav button,
.chaos-button {
    width: 100%;
    padding: 9px 7px;
    border: 2px outset #aeeaff;
    border-radius: 5px;
    background:
        linear-gradient(
            #ffffff,
            #bfeeff
        );
    color: #00528d;
    font-family: inherit;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    transition:
        transform 0.12s,
        filter 0.12s;
}

.nav button:hover,
.chaos-button:hover {
    transform: translateX(2px);
    filter: brightness(1.08);
}

.nav button:active,
.chaos-button:active {
    border-style: inset;
    transform:
        translate(1px, 1px);
}

.chaos-button {
    margin-top: 12px;
    background:
        linear-gradient(
            #fff5f5,
            #ffb9c4
        );
    color: #a8002d;
    border-color: #ff9caf;
    animation:
        chaosPulse 1.8s infinite;
}

@keyframes chaosPulse {
    0%, 100% {
        box-shadow:
            0 0 0
            rgba(255, 50, 100, 0);
    }

    50% {
        box-shadow:
            0 0 13px
            rgba(255, 50, 100, 0.5);
    }
}

/* =========================================================
   CENTER
   ========================================================= */

.center-panel {
    padding: 14px;
    position: relative;
    overflow: hidden;
}

.mochi-logo {
    min-height: 250px;
    border: 3px solid #008ddd;
    border-radius: 12px;

    background:
        radial-gradient(
            circle at 20% 20%,
            white 0 4px,
            transparent 5px
        ),

        radial-gradient(
            circle at 75% 30%,
            white 0 3px,
            transparent 4px
        ),

        linear-gradient(
            135deg,
            #39d7ff,
            #0089db 55%,
            #005ba8
        );

    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;

    box-shadow:
        inset 0 0 25px
        rgba(255,255,255,0.25),

        0 4px 0 #00558f;
}

.big-mochi {
    font-size:
        clamp(45px, 7vw, 82px);

    line-height: 0.9;
    font-weight: 900;
    letter-spacing: 4px;

    text-shadow:
        3px 3px 0 #00518d,
        6px 6px 0
        rgba(0, 0, 0, 0.12);

    word-break: break-word;
}

.exe-text {
    font-size:
        clamp(18px, 3vw, 30px);

    letter-spacing: 5px;
    color: #dfffff;

    text-shadow:
        2px 2px #00518d;
}

.status-pill {
    margin-top: 15px;
    background:
        rgba(255,255,255,0.92);

    color: #0065a8;
    border: 2px solid white;
    padding: 6px 13px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;

    box-shadow:
        0 3px 0
        rgba(0,0,0,0.12);
}

.logo-paw {
    position: absolute;
    font-size: 75px;
    opacity: 0.2;
    transform: rotate(-20deg);
}

.logo-paw.left {
    left: 5%;
    top: 10%;
}

.logo-paw.right {
    right: 5%;
    bottom: 5%;
    transform: rotate(25deg);
}

.sparkle {
    position: absolute;
    color: white;
    animation:
        sparkle 1.5s
        infinite alternate;
}

.sparkle.s1 {
    top: 12%;
    left: 20%;
}

.sparkle.s2 {
    top: 25%;
    right: 20%;
    animation-delay: 0.5s;
}

.sparkle.s3 {
    bottom: 20%;
    left: 25%;
    animation-delay: 0.8s;
}

@keyframes sparkle {
    from {
        opacity: 0.35;
        transform:
            scale(0.8)
            rotate(0deg);
    }

    to {
        opacity: 1;
        transform:
            scale(1.3)
            rotate(20deg);
    }
}

.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-top: 13px;
}

.tag {
    background: white;
    border: 1px solid #43bdf2;
    border-radius: 12px;
    padding: 5px 9px;
    font-size: 11px;
    color: #0063a2;
}

/* =========================================================
   PHOTO
   ========================================================= */

.photo-box {
    margin-top: 13px;
    border: 3px double #008ddd;
    background: #ffffff;
    padding: 9px;
    text-align: center;

    box-shadow:
        inset 0 0 0 3px #d8f7ff;
}

.photo-title {
    font-size: 12px;
    font-weight: bold;
    color: #0063a5;
    margin-bottom: 7px;
}

.photo-placeholder {
    width: 100%;
    height: 145px;

    background:
        repeating-linear-gradient(
            45deg,
            #dff8ff,
            #dff8ff 10px,
            #c4efff 10px,
            #c4efff 20px
        );

    border: 2px dashed #1a9edc;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #0871a9;
    font-size: 12px;
    font-weight: bold;

    padding: 10px;
    overflow: hidden;
}

.photo-caption {
    margin-top: 7px;
    font-size: 11px;
    color: #1684ba;
}

/* =========================================================
   RIGHT PANEL
   ========================================================= */

.right-panel {
    padding: 10px;
}

.stat {
    margin-bottom: 12px;
}

.stat-head {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 4px;
}

.meter {
    height: 15px;
    border: 2px inset #bcefff;
    background: #eafcff;
    overflow: hidden;
}

.meter-fill {
    height: 100%;

    background:
        repeating-linear-gradient(
            90deg,
            #00a8ff 0 7px,
            #29c7ff 7px 14px
        );

    transition:
        width 0.4s;
}

.info-box {
    margin-top: 10px;
    background: #f5fdff;
    border: 1px solid #5bc8f3;
    padding: 8px;
    font-size: 11px;
    line-height: 1.5;
}

.info-label {
    color: #0074b7;
    font-weight: bold;
}

.mood {
    color: #e5004f;
    font-weight: 900;
}

/* =========================================================
   TASKBAR
   ========================================================= */

.taskbar {
    min-height: 38px;
    border-top: 2px solid #4ec3f4;

    background:
        linear-gradient(
            #dfffff,
            #a9e9ff
        );

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
    padding: 5px 10px;
    font-size: 11px;
}

.task-left {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.start-button {
    padding: 5px 10px;
    background: white;
    border: 2px outset #b6eaff;
    font-weight: bold;
    color: #00528d;
    white-space: nowrap;
}

.taskbar-app {
    padding: 5px 10px;
    background: white;
    border: 2px outset #b6eaff;
    font-weight: bold;
    color: #00528d;
    text-decoration: none;
    white-space: nowrap;
}

.taskbar-app:hover {
    background: #e5f9ff;
}

.taskbar-app:active {
    border-style: inset;
}

.clock {
    white-space: nowrap;
    font-weight: bold;
}

/* =========================================================
   POPUPS
   ========================================================= */

.popup {
    position: fixed;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%);

    width:
        min(430px, calc(100vw - 30px));

    max-height:
        calc(100vh - 40px);

    background: #effcff;

    border: 3px solid #0071bd;
    border-radius: 8px;

    box-shadow:
        10px 10px 0
        rgba(0, 55, 100, 0.3),

        0 0 30px
        rgba(0, 150, 255, 0.3);

    z-index: 100;

    display: none;

    overflow: hidden;
}

.popup.active {
    display: block;

    animation:
        popupIn 0.15s ease-out;
}

@keyframes popupIn {
    from {
        opacity: 0;

        transform:
            translate(-50%, -48%)
            scale(0.95);
    }

    to {
        opacity: 1;

        transform:
            translate(-50%, -50%)
            scale(1);
    }
}

.popup-title {
    min-height: 36px;

    background:
        linear-gradient(
            #35c7ff,
            #087ec5
        );

    color: white;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 5px 8px;
    font-weight: bold;
}

.popup-close,
.popup-title button {
    width: 25px;
    height: 22px;

    border: 2px outset #d8f7ff;
    background: white;
    color: #00548d;
    cursor: pointer;
    font-weight: bold;
}

.popup-content {
    padding: 15px;
    font-size: 13px;
    line-height: 1.5;

    max-height:
        calc(100vh - 110px);

    overflow-y: auto;
}

.popup-content button {
    padding: 8px 12px;
    background: #c9f3ff;
    border: 2px outset #a7eaff;
    color: #00528d;
    font-weight: bold;
    cursor: pointer;
}

/* =========================================================
   CHAOS PARTICLES
   ========================================================= */

.chaos-message {
    position: fixed;
    z-index: 999;
    pointer-events: none;

    font-size: 20px;
    font-weight: 900;

    color: #005fa5;

    text-shadow:
        1px 1px white,
        -1px -1px white;

    animation:
        chaosFloat 2.5s forwards;
}

@keyframes chaosFloat {
    0% {
        opacity: 0;

        transform:
            scale(0.5)
            rotate(-10deg);
    }

    15% {
        opacity: 1;
    }

    100% {
        opacity: 0;

        transform:
            translate(
                var(--x),
                var(--y)
            )

            rotate(var(--r))

            scale(1.4);
    }
}

.chaos-mode {
    animation:
        screenShake 0.08s infinite;
}

@keyframes screenShake {
    0% {
        transform:
            translate(0, 0);
    }

    25% {
        transform:
            translate(2px, -2px);
    }

    50% {
        transform:
            translate(-2px, 2px);
    }

    75% {
        transform:
            translate(2px, 2px);
    }

    100% {
        transform:
            translate(-2px, -2px);
    }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .window {
        width:
            calc(100% - 20px);

        margin:
            10px auto;
    }

    .content {
        grid-template-columns:
            160px
            minmax(0, 1fr);
    }

    .right-panel {
        grid-column:
            1 / -1;

        display: grid;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 10px;
    }

    .right-panel .panel-title {
        grid-column:
            1 / -1;
    }

    .info-box {
        margin-top: 0;
    }
}

/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 650px) {

    body {
        background-size:
            14px 14px;
    }

    .paw-bg {
        font-size: 28px;
    }

    .window {
        width:
            calc(100% - 10px);

        margin:
            5px auto;

        min-height: 0;

        border-width: 2px;
        border-radius: 8px;

        overflow: visible;
    }

    .titlebar {
        height: 39px;
        padding:
            0 7px;
    }

    .title-icon {
        font-size: 18px;
    }

    .title-text {
        font-size: 12px;
    }

    .window-button {
        width: 24px;
        height: 22px;
    }

    .content {
        display: flex;
        flex-direction: column;

        padding: 8px;
        gap: 8px;
    }

    .left-panel {
        order: 1;
    }

    .nav {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 6px;
    }

    .nav button {
        min-height: 38px;
        font-size: 10px;
        padding:
            6px 3px;
    }

    .chaos-button {
        margin-top: 7px;
        min-height: 42px;
    }

    .center-panel {
        order: 2;
        padding: 8px;
    }

    .mochi-logo {
        min-height: 190px;
        padding:
            20px 10px;
    }

    .big-mochi {
        font-size:
            clamp(40px, 16vw, 70px);

        letter-spacing: 2px;
    }

    .exe-text {
        font-size: 18px;
        letter-spacing: 3px;
    }

    .logo-paw {
        font-size: 50px;
    }

    .tags {
        gap: 5px;
    }

    .tag {
        font-size: 9px;
        padding:
            4px 7px;
    }

    .photo-placeholder {
        height: 160px;
    }

    .right-panel {
        order: 3;
        display: block;
        padding: 9px;
    }

    .right-panel .panel-title {
        margin-bottom: 10px;
    }

    .info-box {
        margin-top: 8px;
    }

    .taskbar {
        min-height: 42px;
        padding:
            5px 7px;
        font-size: 9px;
    }

    .start-button {
        padding:
            4px 6px;
    }

    .taskbar-app {
        padding:
            4px 6px;
    }

    .popup {
        width:
            calc(100vw - 20px);

        max-height:
            calc(100vh - 20px);

        border-width: 2px;
    }

    .popup-content {
        padding: 12px;
        font-size: 12px;

        max-height:
            calc(100vh - 90px);
    }

    .gallery-image-box {
        height: 230px;
    }

    .chaos-message {
        font-size: 15px;
    }
}

/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .window {
        width:
            calc(100% - 6px);

        margin:
            3px auto;
    }

    .content {
        padding: 5px;
    }

    .title-text {
        max-width: 150px;
    }

    .nav {
        grid-template-columns:
            1fr 1fr;
    }

    .nav button {
        font-size: 9px;
    }

    .mochi-logo {
        min-height: 165px;
    }

    .big-mochi {
        font-size: 42px;
    }

    .exe-text {
        font-size: 15px;
    }

    .photo-placeholder {
        height: 130px;
    }

    .gallery-image-box {
        height: 190px;
    }

    .taskbar {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.shrine-button {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 10px 7px;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    color: #004f8d;
    background: linear-gradient(#ffffff, #8eeaff);
    border: 2px outset #bdefff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 174, 255, .35);
    animation: shrineGlow 1.4s ease-in-out infinite alternate;
}
.shrine-button:hover {
    transform: translateX(2px) scale(1.02);
    filter: brightness(1.08);
}
.shrine-button:active { border-style: inset; transform: translate(1px,1px); }
@keyframes shrineGlow {
    from { box-shadow: 0 0 5px rgba(0,174,255,.25); }
    to { box-shadow: 0 0 16px rgba(0,174,255,.75), inset 0 0 8px rgba(255,255,255,.8); }
}

/* =========================================================
   MOCHI DISPLAY LAB + BUTTON REACTIONS
   ========================================================= */
.mochi-toast{
    position:fixed; left:50%; bottom:58px; transform:translateX(-50%) translateY(20px);
    z-index:20000; max-width:min(440px,calc(100vw - 24px)); padding:9px 13px;
    background:#fff; color:#00528d; border:3px outset #b6eaff; border-radius:6px;
    box-shadow:5px 5px 0 rgba(0,70,120,.25); font-size:12px; font-weight:900;
    text-align:center; pointer-events:none; opacity:0;
    transition:opacity .15s,transform .15s;
}
.mochi-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.click-spark{
    position:fixed; z-index:19999; pointer-events:none; font-size:20px; font-weight:bold;
    animation:clickSpark .75s ease-out forwards;
}
@keyframes clickSpark{
    from{opacity:1;transform:translate(-50%,-50%) scale(.6) rotate(0)}
    to{opacity:0;transform:translate(-50%,-110px) scale(1.45) rotate(25deg)}
}
.display-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}
.display-grid button{width:100%;margin:0}
.display-preview{
    margin:8px 0;padding:9px;border:2px dashed #49bfff;background:white;text-align:center;
    font-size:11px;font-weight:bold
}
body.theme-night{background:#04152d;color:#bcefff}
body.theme-night .window{background:#08284a;border-color:#36c8ff}
body.theme-night .panel,body.theme-night .popup{background:#0c355c;color:#dff8ff}
body.theme-night .info-box,body.theme-night .photo-box{background:#092b4d;color:#dff8ff}
body.theme-night .tag{background:#092b4d;color:#9eeaff}
body.theme-night .photo-placeholder{background:#0b3156}
body.theme-night .taskbar{background:linear-gradient(#123c61,#082746)}
body.theme-night .start-button,body.theme-night .taskbar-app{background:#0b3156;color:#c9f3ff}
body.theme-pink{background:#ffe3f5;color:#6e275c}
body.theme-pink .titlebar,body.theme-pink .popup-title{background:linear-gradient(#ff9ddd,#d84eae)}
body.theme-pink .panel{border-color:#ff8bd1}
body.theme-pink .mochi-logo{background:linear-gradient(135deg,#ffb8e5,#a85dff 55%,#5879ff);border-color:#ff8bd1}
body.theme-pink .panel-title,body.theme-pink .info-label{color:#b02d87}
body.theme-pink .meter-fill{background:repeating-linear-gradient(90deg,#ff65c5 0 7px,#9c7dff 7px 14px)}
body.theme-pink .mochi-marquee{background:#d84eae}
body.theme-pink .window{background:#fff0fa;border-color:#e45bb6}
body.theme-pink .content{background:linear-gradient(rgba(255,105,190,.035),rgba(166,115,255,.035))}
body.theme-pink .popup{background:#fff3fb;border-color:#e45bb6}
body.theme-pink .info-box,body.theme-pink .photo-box{background:#fff8fd;border-color:#ff9bd7}
body.theme-pink .tag{background:#fff6fc;border-color:#ff9bd7;color:#a42b7f}
body.theme-pink .taskbar{background:linear-gradient(#fff2fb,#ffc9e9);border-color:#ff8dce}
body.theme-pink .start-button,body.theme-pink .taskbar-app{border-color:#ffb5df;color:#9a2a76}
body.theme-pink .gallery-image-box{background:#fff3fb;border-color:#ff8dce}

body.theme-mono .window,
body.theme-mono .paw-bg,
body.theme-mono .mochi-toast,
body.theme-mono .click-spark{filter:grayscale(1)}
body.crt-mode:after{
    content:"";position:fixed;inset:0;z-index:19000;pointer-events:none;
    background:repeating-linear-gradient(0deg,rgba(0,0,0,.08) 0 1px,transparent 1px 3px);
    mix-blend-mode:multiply
}
/* =========================================================
   BIG UI - FULL INTERFACE SCALE
   ========================================================= */

body.big-ui #mainWindow {
    zoom: 1.15;

    width: min(
        calc(1180px / 1.15),
        calc((100vw - 30px) / 1.15)
    );
}

body.big-ui .popup {
    zoom: 1.15;
}

body.big-ui .fake-system-window {
    zoom: 1.15;
}

body.big-ui .mochi-toast {
    zoom: 1.15;
}

body.big-ui .flea-alert,
body.big-ui .virus-active-status {
    zoom: 1.15;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    body.big-ui #mainWindow {
        zoom: 1.10;

        width:
            calc((100vw - 20px) / 1.10);
    }

    body.big-ui .popup,
    body.big-ui .fake-system-window,
    body.big-ui .mochi-toast {
        zoom: 1.10;
    }
}

/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 650px) {

    body.big-ui #mainWindow {
        zoom: 1.06;

        width:
            calc((100vw - 10px) / 1.06);
    }

    body.big-ui .popup,
    body.big-ui .fake-system-window,
    body.big-ui .mochi-toast {
        zoom: 1.06;
    }
}

/* =========================================================
   VERY SMALL PHONE
   ========================================================= */

@media (max-width: 380px) {

    body.big-ui #mainWindow {
        zoom: 1.04;

        width:
            calc((100vw - 6px) / 1.04);
    }

    body.big-ui .popup,
    body.big-ui .fake-system-window,
    body.big-ui .mochi-toast {
        zoom: 1.04;
    }
}
body.no-motion *,body.no-motion *:before,body.no-motion *:after{
    animation-duration:.001ms!important;animation-iteration-count:1!important;transition:none!important
}
@media(max-width:650px){.display-grid{grid-template-columns:1fr}.mochi-toast{bottom:50px}}

/* =========================================================
   DISPLAY LAB FIX v2
   ========================================================= */
html.theme-night, body.theme-night { background:#04152d !important; }
html.theme-pink, body.theme-pink { background:#ffd9f2 !important; }
html.theme-mono, body.theme-mono { background:#e5e5e5 !important; }

html.theme-night #mainWindow,
html.theme-night .popup { filter:brightness(.72) saturate(1.2) !important; }

html.theme-pink #mainWindow,
html.theme-pink .popup { filter:hue-rotate(105deg) saturate(1.25) !important; }

html.theme-mono #mainWindow,
html.theme-mono .popup { filter:grayscale(1) !important; }

#mainWindow { transition:filter .18s ease; }

#displayPopup [data-theme].is-active,
#displayPopup [data-display].is-active {
    background:#79dcff !important;
    border-style:inset !important;
    box-shadow:inset 0 0 0 2px white;
}
#displayPopup [data-theme].is-active::before,
#displayPopup [data-display].is-active::before {
    content:"✓ ";
}

/* =========================================================
   MOCHI CONVENTION TRACKER.EXE
   ========================================================= */
.con-status{
    display:inline-block;padding:3px 7px;border:2px outset #b6eaff;
    background:white;font-size:10px;font-weight:900;margin-bottom:6px
}
.con-next{color:#0072b8;background:#dff8ff}
.con-past{color:#596c78;background:#eef7fa}
.con-card{
    margin:10px 0;padding:10px;background:#fff;border:2px solid #54c8f5;
    box-shadow:3px 3px 0 rgba(0,100,170,.13)
}
.con-card.next{
    border:3px double #008ed3;
    animation:conGlow 1.5s ease-in-out infinite alternate
}
@keyframes conGlow{
    from{box-shadow:0 0 3px rgba(0,174,255,.2)}
    to{box-shadow:0 0 15px rgba(0,174,255,.65)}
}
.con-name{font-size:16px;font-weight:900;color:#0063a5}
.con-meta{font-size:11px;margin-top:4px;color:#237da8}
.con-note{font-size:11px;margin-top:7px;line-height:1.4}
.con-countdown{
    margin:10px 0;padding:9px;text-align:center;background:#dff8ff;
    border:2px dashed #008ed3;color:#00528d;font-weight:900
}
.con-detect{
    margin-top:8px;padding:5px 8px!important;font-size:10px
}
body.theme-night .con-card{background:#092b4d;color:#dff8ff}
body.theme-night .con-name{color:#7bddff}
body.theme-night .con-meta{color:#a7eaff}
body.theme-pink .con-card{background:#fff7fc;border-color:#ff8dce}
body.theme-pink .con-name{color:#b02d87}
body.theme-pink .con-countdown{background:#ffe7f6;border-color:#e45bb6;color:#9a2a76}

.mia-retro-ad{
    position:relative;display:block;margin:10px 0 12px;padding:5px;
    text-decoration:none;background:#fff;border:3px outset #bfeeff;
    box-shadow:3px 3px 0 #0075b8;overflow:hidden;cursor:pointer;
    animation:miaAdPulse 1.1s steps(2,end) infinite
}
.mia-retro-ad:before{
    content:"ADVERTISEMENT";position:absolute;right:3px;top:2px;
    font:7px Arial;color:#777;letter-spacing:.5px
}
.mia-retro-ad-inner{
    border:2px solid #003f72;background:linear-gradient(90deg,#003d72,#007ac0,#003d72);
    color:#fff;text-align:center;padding:8px 4px 6px
}
.mia-retro-ad-top{font:bold 8px Tahoma;color:#ffe36a;letter-spacing:1px}
.mia-retro-ad-main{
    display:block;margin:2px 0;font:900 15px Arial,sans-serif;color:#fff;
    text-shadow:2px 2px #002c50
}
.mia-retro-ad-plane{display:inline-block;font-size:20px;animation:miaAdPlane .8s ease-in-out infinite alternate}
.mia-retro-ad-cta{
    display:inline-block;margin-top:4px;padding:3px 7px;background:#ffe36a;color:#123b57;
    border:2px outset #fff3a8;font:bold 8px Tahoma;animation:miaAdBlink .65s steps(2,end) infinite
}
.mia-retro-ad-foot{display:block;margin-top:4px;font:7px "Courier New";color:#c8ecff}
@keyframes miaAdBlink{50%{background:#fff;color:#d30000}}
@keyframes miaAdPlane{to{transform:translateX(5px) rotate(-5deg)}}
@keyframes miaAdPulse{50%{filter:saturate(1.35)}}
body.no-motion .mia-retro-ad,body.no-motion .mia-retro-ad *{animation:none!important}
.next-con-widget{
    position:relative;margin-top:13px;background:#173a63;color:#f7e7b0;border-radius:8px;
    border:3px double #d8bd63;padding:10px;box-shadow:0 7px 15px #00375b33, inset 0 0 0 1px #ffffff12;
    cursor:pointer;transition:transform .12s,filter .12s;text-align:left;overflow:hidden
}
.next-con-widget:before,.next-con-widget:after{
    content:"";position:absolute;top:0;bottom:0;width:1px;background:#ffffff10;pointer-events:none
}
.next-con-widget:before{left:7px}.next-con-widget:after{right:7px}
.next-con-widget:hover{transform:translateY(-2px) rotate(-.15deg);filter:brightness(1.04)}
.next-con-widget:active{transform:translateY(1px)}
.next-con-cover{
    position:relative;text-align:center;border:1px solid #d9bf67;padding:11px 8px 9px;margin-bottom:9px;
    color:#f2d77d;background:linear-gradient(135deg,#ffffff08,#0000000c)
}
.next-con-cover:before{
    content:"✦";position:absolute;left:8px;top:8px;font-size:9px;color:#d9bf67
}
.next-con-cover:after{
    content:"✦";position:absolute;right:8px;top:8px;font-size:9px;color:#d9bf67
}
.next-con-cover .crest{font-size:31px;display:block;filter:sepia(.25)}
.next-con-head{display:block;font:900 14px Georgia,serif;letter-spacing:2.2px;margin-top:3px}
.next-con-cover small{display:block;font:7px Tahoma,sans-serif;letter-spacing:1.1px;margin-top:4px;color:#ddcb8e}
.next-con-passport-page{
    position:relative;background:
      radial-gradient(circle at 15% 20%,#d6cba844 0 1px,transparent 1.5px),
      repeating-linear-gradient(0deg,#00000005 0 1px,transparent 1px 4px),
      #f4ecd2;
    background-size:11px 11px,auto;
    color:#263947;border:1px solid #b9a974;padding:8px;
    display:grid;grid-template-columns:68px 1fr;gap:8px;
    box-shadow:inset 0 0 14px #8b784522
}
.next-con-passport-page:after{
    content:"MIA";position:absolute;right:9px;top:41px;font:900 34px Georgia,serif;
    color:#315e9d0b;transform:rotate(-18deg);pointer-events:none
}
.next-con-photo-wrap{position:relative}
.next-con-photo{
    height:82px;background:#d9f6ff;border:1px solid #777;display:grid;
    place-items:center;font-size:34px;overflow:hidden;box-shadow:inset 0 0 0 2px #fff8
}
.next-con-photo img{width:100%;height:100%;object-fit:cover}
.next-con-photo-label{text-align:center;font:6px "Courier New";letter-spacing:.6px;margin-top:2px;color:#615c4c}
.next-con-passport-data{font:7.5px "Courier New",monospace;line-height:1.48;min-width:0;position:relative;z-index:1}
.next-con-passport-data b{color:#173f59}
.next-con-field{border-bottom:1px dotted #a79d7b;padding-bottom:2px;margin-bottom:2px}
.next-con-name{margin:1px 0;font:bold 9px "Courier New",monospace;color:#173f59;overflow-wrap:anywhere}
.next-con-date{font:bold 8px "Courier New",monospace;color:#39576a}
.next-con-days{
    display:inline-block;margin-top:3px;padding:3px 5px;background:#fff9e6aa;
    border:1px solid #b9a974;color:#173f59;font:bold 7px "Courier New",monospace
}
.next-con-stamp-title{
    grid-column:1/-1;font:bold 7px "Courier New";letter-spacing:1px;color:#665f4a;
    border-top:1px dashed #9d906a;padding-top:6px
}
.next-con-stamps{grid-column:1/-1;display:flex;gap:7px;flex-wrap:wrap;padding:1px 2px 4px}
.next-con-stamp{
    position:relative;border:2px solid #9d4545;color:#9d4545;padding:7px 5px 5px;
    min-width:68px;transform:rotate(-5deg);font:bold 7px "Courier New";text-align:center;
    background:#f4ecd255;border-radius:48%;line-height:1.2;text-transform:uppercase
}
.next-con-stamp:before{content:"✓ ENTRY";display:block;font-size:6px;letter-spacing:.7px;border-bottom:1px solid currentColor;margin-bottom:3px}
.next-con-stamp:nth-child(even){transform:rotate(5deg);border-color:#315e9d;color:#315e9d}
.next-con-machine{
    grid-column:1/-1;border-top:1px solid #c4b88f;padding-top:5px;
    font:6.5px "Courier New",monospace;letter-spacing:.45px;overflow:hidden;
    white-space:nowrap;color:#494536
}
.next-con-docno{
    grid-column:1/-1;display:flex;justify-content:space-between;gap:5px;
    font:6px "Courier New";color:#6a634f
}
.next-con-sub{margin-top:6px;text-align:center;font-size:7px;letter-spacing:.5px;color:#e6d89f}
body.theme-night .next-con-widget{filter:brightness(.82)}
body.theme-pink .next-con-widget{filter:hue-rotate(80deg)}
@media(max-width:650px){
    .next-con-passport-page{grid-template-columns:58px 1fr}
    .next-con-photo{height:72px}
    .next-con-stamp{font-size:6px;min-width:60px}
}

/* =========================================================
   MOCHI TIMELINE.EXE
   ========================================================= */
.timeline-wrap{position:relative;margin:5px 0 2px;padding:5px 0 5px 27px}
.timeline-wrap:before{
 content:"";position:absolute;left:10px;top:9px;bottom:9px;width:4px;
 background:repeating-linear-gradient(to bottom,#008ed3 0 8px,#80ddff 8px 14px);
 border:1px solid #fff;box-shadow:0 0 0 1px #008ed3
}
.timeline-item{
 position:relative;margin:0 0 14px;padding:10px;background:#fff;
 border:2px solid #54c8f5;box-shadow:3px 3px 0 rgba(0,100,170,.13)
}
.timeline-item:before{
 content:"🐾";position:absolute;left:-31px;top:9px;width:25px;height:25px;
 display:flex;align-items:center;justify-content:center;background:#dff8ff;
 border:2px solid #008ed3;border-radius:50%;font-size:12px
}
.timeline-item.future{border:3px double #008ed3;animation:conGlow 1.5s ease-in-out infinite alternate}
.timeline-item.future:before{content:"🎪"}
.timeline-item.origin:before{content:"💙"}
.timeline-date{font-size:9px;font-weight:900;color:#1684ba;letter-spacing:.5px}
.timeline-name{font-size:15px;font-weight:900;color:#005b9e;margin:2px 0}
.timeline-desc{font-size:11px;line-height:1.45;color:#285f7b}
.timeline-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}
.timeline-actions a,.timeline-actions button{
 display:inline-block;padding:5px 8px!important;background:#dff8ff;border:2px outset #a7eaff;
 color:#00528d;text-decoration:none;font-size:9px;font-weight:900;cursor:pointer
}
.timeline-boot{
 margin-bottom:10px;padding:8px;background:#063b69;color:#bff3ff;border:2px inset #7ddcff;
 font-family:"Courier New",monospace;font-size:10px;line-height:1.5
}
body.theme-night .timeline-item{background:#092b4d;border-color:#36c8ff}
body.theme-night .timeline-name,body.theme-night .timeline-desc,body.theme-night .timeline-date{color:#bcefff}
body.theme-pink .timeline-item{background:#fff7fc;border-color:#ff8dce}
body.theme-pink .timeline-name{color:#b02d87}

/* =========================================================
   SECRET: FLEA_VIRUS.EXE
   ========================================================= */
.virus-trigger{
    position:fixed;right:5px;bottom:5px;z-index:80;
    width:15px;height:15px;padding:0;border:1px outset #9fdfff;
    background:#dff8ff;color:#1684ba;font-size:7px;line-height:12px;
    opacity:.22;cursor:pointer;overflow:hidden;
}
.virus-trigger:hover{opacity:.9;width:auto;height:auto;padding:3px 5px;font-size:8px}
.flea{
    position:fixed;left:0;top:0;z-index:25000;pointer-events:none;
    font-size:15px;filter:drop-shadow(1px 1px 0 white);
    will-change:transform;
}
.flea-alert{
    position:fixed;left:50%;top:15%;transform:translateX(-50%);
    z-index:25001;padding:8px 12px;background:#fff;border:3px outset #b6eaff;
    color:#00528d;font-size:11px;font-weight:900;text-align:center;
    box-shadow:5px 5px 0 rgba(0,70,120,.25);
    animation:fleaAlert .35s steps(2,end) infinite alternate;
    pointer-events:none;
}
@keyframes fleaAlert{from{transform:translateX(-50%) rotate(-1deg)}to{transform:translateX(-50%) rotate(1deg)}}

.virus-active-status{
    position:fixed;right:6px;bottom:6px;z-index:80;
    padding:4px 7px;background:#fff0f0;border:2px outset #ff9caf;
    color:#a8002d;font-size:8px;font-weight:900;
    box-shadow:2px 2px 0 rgba(130,0,35,.18);
    animation:virusStatusBlink 1.1s steps(2,start) infinite;
}
@keyframes virusStatusBlink{50%{opacity:.55}}

body.mochi-popups-off .popup:not(#displayPopup),
body.mochi-popups-off .fake-system-window{
    display:none !important;
}
#popupToggleBtn.is-active::before{
    content:"✓ ";
}

/* =========================================================
   DRAGGABLE POPUP WINDOWS - FIXED
   ========================================================= */
.popup .popup-title{
    cursor: grab !important;
    user-select: none;
    -webkit-user-select: none;
}
.popup.mochi-dragging .popup-title{ cursor: grabbing !important; }
.popup.mochi-dragged{
    transform: none !important;
    animation: none !important;
}

.fake-system-title{
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

/* =========================================================
   PLAY TAMAMOCHI CTA
   ========================================================= */
.tamamochi-play{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    width:100%;
    margin-top:10px;
    padding:11px 8px;
    text-decoration:none;
    color:#004f8d;
    background:linear-gradient(#ffffff,#8eeaff);
    border:3px outset #bdefff;
    border-radius:7px;
    box-shadow:0 0 10px rgba(0,174,255,.4);
    font-size:12px;
    font-weight:900;
    position:relative;
    overflow:hidden;
    animation:tamamochiButtonFloat 1.35s ease-in-out infinite alternate;
}
.tamamochi-play::after{
    content:"";
    position:absolute;
    top:-50%;
    left:-45%;
    width:30%;
    height:200%;
    background:rgba(255,255,255,.75);
    transform:rotate(22deg);
    animation:tamamochiShine 2.2s linear infinite;
}
.tamamochi-play .tama-dog{
    display:inline-block;
    font-size:19px;
    animation:tamaDogBounce .55s ease-in-out infinite alternate;
}
.tamamochi-play .tama-arrow{
    display:inline-block;
    animation:tamaArrow 0.65s ease-in-out infinite alternate;
}
.tamamochi-play:hover{
    filter:brightness(1.08);
    transform:scale(1.035);
}
.tamamochi-play:active{
    border-style:inset;
    transform:translate(1px,1px);
}
@keyframes tamamochiButtonFloat{
    from{transform:translateY(0) rotate(-.35deg);box-shadow:0 0 7px rgba(0,174,255,.35)}
    to{transform:translateY(-3px) rotate(.35deg);box-shadow:0 0 18px rgba(0,174,255,.8)}
}
@keyframes tamaDogBounce{
    from{transform:translateY(1px) rotate(-8deg)}
    to{transform:translateY(-3px) rotate(8deg)}
}
@keyframes tamaArrow{
    from{transform:translateX(0)}
    to{transform:translateX(4px)}
}
@keyframes tamamochiShine{
    0%{left:-45%}
    55%,100%{left:125%}
}
@media (prefers-reduced-motion:reduce){
    .tamamochi-play,.tamamochi-play::after,.tamamochi-play .tama-dog,.tamamochi-play .tama-arrow{animation:none}
}

/* =========================================================
   PEEKING MOCHI DOG - HERO CORNER
   ========================================================= */
.hero-dog-peek{
    position:absolute;
    right:-5px;
    bottom:-28px;
    width:clamp(150px, 21vw, 232px);
    z-index:8;
    pointer-events:none;
    user-select:none;
    transform-origin:85% 100%;
    animation:heroDogPeek 2.2s ease-in-out infinite alternate;
}
.hero-dog-peek img{
    display:block;
    width:100%;
    height:auto;
}
.hero-dog-text{
    position:absolute;
    right:69px;
    bottom:82px;
    width:138px;
    z-index:9;
    color:#17354d;
    font-family: "Patrick Hand", "Comic Sans MS", cursive;
    font-size:16px;
    font-weight:900;
    line-height:1.05;
    text-align:center;
    text-shadow:1px 1px 0 rgba(255,255,255,.95);
    transform:rotate(-15deg);
    pointer-events:none;
    animation:heroDogTextWiggle 1.4s ease-in-out infinite alternate;
}
@keyframes heroDogPeek{
    from{transform:translateY(3px) rotate(-.6deg)}
    to{transform:translateY(-2px) rotate(.8deg)}
}
@keyframes heroDogTextWiggle{
    from{transform:rotate(-38deg)}
    to{transform:rotate(-36deg)}
}
@media(max-width:650px){
    .hero-dog-peek{width:158px;right:-3px;bottom:-20px}
    .hero-dog-text{right:50px;bottom:48px;width:82px;font-size:9px;transform:rotate(-15deg)}
}
@media(prefers-reduced-motion:reduce){
    .hero-dog-peek,.hero-dog-text{animation:none}
}
@media (max-width: 650px) {
    .hero-dog-peek {
        width: 125px;
        right: -5px;
        bottom: -10px;
    }

    .hero-dog-text {
        right: 38px;
        bottom: 45px;
        width: 68px;

        font-size: 8px;
        transform: rotate(-15deg);
    }
}


/* =========================================================
   PIXELFOX.PL
   ========================================================= */
.pixelfox-mini{
    margin:15px 0 5px;
    position:relative;
    min-height:166px;
    overflow:hidden;
    border:2px solid #65cdf4;
    border-radius:11px;
    background:#071d2d;
    box-shadow:
        0 4px 0 rgba(0,76,126,.16),
        0 0 0 1px rgba(255,255,255,.65),
        inset 0 0 0 1px rgba(255,255,255,.15);
}
.pixelfox-mini-banner{
    position:absolute;
    inset:0;
    background:#071d2d url("../images/minecraft.gif") center/cover no-repeat;
    filter:brightness(.48) saturate(.82);
    transform:scale(1.035);
}
.pixelfox-mini:before{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    background:
        linear-gradient(90deg,rgba(3,18,30,.82) 0%,rgba(3,18,30,.48) 58%,rgba(3,18,30,.18) 100%),
        linear-gradient(0deg,rgba(2,14,24,.55),transparent 65%);
    pointer-events:none;
}
.pixelfox-mini:after{
    content:"";
    position:absolute;
    z-index:1;
    left:0;top:0;bottom:0;width:4px;
    background:linear-gradient(#8be8ff,#28aee7,#8be8ff);
    box-shadow:0 0 12px rgba(74,204,255,.65);
}
.pixelfox-mini-body{
    position:relative;
    z-index:2;
    min-height:166px;
    padding:18px 13px 13px 17px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    text-align:left;
}
.pixelfox-mini-eyebrow{
    display:flex;
    align-items:center;
    gap:5px;
    margin-bottom:3px;
    color:#aeeaff;
    font-size:8px;
    font-weight:900;
    letter-spacing:1.2px;
    text-shadow:1px 1px 0 #000;
}
.pixelfox-mini-dot{
    width:6px;height:6px;border-radius:50%;
    background:#65ff86;
    box-shadow:0 0 7px #65ff86;
    animation:pixelFoxOnline 1.7s ease-in-out infinite alternate;
}
@keyframes pixelFoxOnline{to{opacity:.55;box-shadow:0 0 3px #65ff86}}
.pixelfox-mini-title{
    margin:0 0 10px;
    color:#fff;
    font-size:20px;
    line-height:1;
    font-weight:900;
    letter-spacing:.2px;
    text-shadow:2px 2px 0 rgba(0,0,0,.75);
}
.pixelfox-mini-title span{color:#91e7ff}
.pixelfox-mini-label{
    margin-bottom:3px;
    color:#c9f3ff;
    font-size:8px;
    font-weight:900;
    letter-spacing:.9px;
    text-shadow:1px 1px #000;
}
.pixelfox-mini-row{
    display:flex;
    gap:5px;
    width:100%;
    max-width:205px;
}
.pixelfox-mini-ip{
    min-width:0;
    flex:1;
    display:flex;
    align-items:center;
    padding:7px 8px;
    border:1px solid rgba(178,235,255,.58);
    border-radius:5px;
    background:rgba(3,19,31,.78);
    color:#fff;
    font:900 10px "Trebuchet MS",Arial,sans-serif;
    box-shadow:inset 0 0 9px rgba(72,196,244,.08);
}
.pixelfox-mini-copy{
    flex:0 0 auto;
    min-width:45px;
    padding:6px 8px;
    border:1px solid #b8efff;
    border-radius:5px;
    background:rgba(218,247,255,.94);
    color:#075d91;
    font:900 9px "Trebuchet MS",Arial,sans-serif;
    cursor:pointer;
    box-shadow:0 2px 0 rgba(0,0,0,.25);
    transition:transform .1s,filter .1s;
}
.pixelfox-mini-copy:hover{filter:brightness(1.08);transform:translateY(-1px)}
.pixelfox-mini-copy:active{transform:translateY(1px);box-shadow:none}
.pixelfox-mini-hint{
    margin-top:5px;
    color:rgba(225,248,255,.75);
    font-size:7px;
    font-weight:bold;
    text-shadow:1px 1px #000;
}
body.theme-night .pixelfox-mini{border-color:#36c8ff}
body.theme-pink .pixelfox-mini{border-color:#ff8dce}
@media(max-width:900px){
    .pixelfox-mini{grid-column:1/-1}
}
@media(max-width:650px){
    .pixelfox-mini,.pixelfox-mini-body{min-height:180px}
    .pixelfox-mini-row{max-width:240px}
}


.pixelfox-mini-version{
    margin-top:6px;
    color:rgba(225,248,255,.86);
    font-size:8px;
    font-weight:900;
    letter-spacing:.7px;
    text-shadow:1px 1px #000;
}
.pixelfox-mini-version b{color:#91e7ff}


.taskbar-app{display:inline-flex;align-items:center;gap:5px}
.task-social-icon{
    width:17px;height:17px;flex:0 0 17px;
    display:inline-flex;align-items:center;justify-content:center;
    border-radius:4px;
    color:#fff;
    font:900 11px Arial,sans-serif;
    line-height:1;
    text-shadow:none;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.28);
}
.telegram-icon{background:#229ed9;transform:rotate(-12deg)}
.discord-icon{background:#5865f2;position:relative}
.discord-face{
    position:relative;
    width:12px;height:8px;
    border:2px solid #fff;
    border-top-width:3px;
    border-radius:7px 7px 5px 5px;
    box-sizing:border-box;
}
.discord-face:before,.discord-face:after{
    content:"";position:absolute;bottom:-3px;width:3px;height:3px;background:#fff;border-radius:0 0 3px 3px;
}
.discord-face:before{left:-1px;transform:rotate(24deg)}
.discord-face:after{right:-1px;transform:rotate(-24deg)}
.discord-face i{
    position:absolute;top:1px;width:2px;height:2px;background:#fff;border-radius:50%;
}
.discord-face i:first-child{left:2px}
.discord-face i:last-child{right:2px}
.tiktok-icon{background:#111;font-size:14px;text-shadow:1px 0 #25f4ee,-1px 0 #fe2c55}
@media(max-width:650px){
    .taskbar-app{gap:3px}
    .task-social-icon{width:15px;height:15px;flex-basis:15px;font-size:9px}
}


/* =========================================================
   CHANGELOG
   ========================================================= */
.changelog-task-button{font:inherit;cursor:pointer}
.changelog-icon{background:#168ec5}
.changelog-popup{width:min(560px,calc(100vw - 24px))}
.changelog-content{max-height:min(520px,72vh);overflow:auto;background:linear-gradient(rgba(0,150,255,.045) 1px,transparent 1px),#f8fdff;background-size:100% 22px}
.changelog-head{display:flex;flex-direction:column;gap:2px;margin-bottom:12px;padding:9px 10px;border:1px solid #8bdcff;background:#dff7ff;color:#075d91}
.changelog-head b{font-size:12px}.changelog-head span{font-size:9px;color:#4d7991}
.changelog-entry{position:relative;margin:0 0 10px;padding:9px 10px 10px 13px;border:1px solid #9edff8;background:rgba(255,255,255,.88);box-shadow:2px 2px 0 rgba(0,100,160,.08)}
.changelog-entry:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#36c8ff}
.changelog-date{margin-bottom:4px;font:900 9px "Courier New",monospace;color:#568097}
.changelog-date span{margin-left:5px;padding:1px 4px;border:1px solid #79cdef;background:#e2f8ff;color:#0878ad}
.changelog-title{margin-bottom:4px;font-weight:900;font-size:11px;color:#075d91}
.changelog-text{font-size:10px;line-height:1.45;color:#244b61}
.changelog-end{text-align:center;padding:7px;color:#78a3b8;font:900 9px "Courier New",monospace}
body.theme-night .changelog-content{background:#082743;color:#dff8ff}
body.theme-night .changelog-head,body.theme-night .changelog-entry{background:#0b3156;border-color:#36c8ff}
body.theme-night .changelog-text{color:#d8f5ff}
body.theme-night .changelog-title{color:#7edfff}


/* =========================================================
   MOCHI TERMINAL
   ========================================================= */
.terminal-popup{width:min(650px,calc(100vw - 24px))}
.terminal-shell{
    padding:0!important;
    background:#05090b!important;
    border-top:1px solid #1b3842;
    color:#9fffb0;
    font:700 12px/1.45 "Courier New",monospace;
    text-shadow:0 0 5px rgba(100,255,145,.18);
    cursor:text;
}
.terminal-screen{
    height:min(360px,52vh);
    padding:12px 13px 4px;
    overflow-y:auto;
    overflow-wrap:anywhere;
    scrollbar-color:#397d49 #07100a;
}
.terminal-screen b{color:#e7ffe9}
.terminal-screen .term-dim{color:#6ca878}
.terminal-screen .term-warn{color:#fff58a}
.terminal-screen .term-error{color:#ff8f8f}
.terminal-screen .term-blue{color:#83dcff}
.terminal-line{
    display:flex;
    align-items:center;
    gap:7px;
    padding:5px 13px 12px;
    color:#9fffb0;
}
.terminal-line span{flex:0 0 auto}
#terminalInput{
    min-width:0;
    flex:1;
    border:0;
    outline:0;
    background:transparent;
    color:#e7ffe9;
    caret-color:#9fffb0;
    font:700 12px "Courier New",monospace;
}
@media(max-width:650px){
    .terminal-shell,#terminalInput{font-size:11px}
    .terminal-screen{height:48vh}
}


.terminal-shell.terminal-alt-color{
    color:#8fdcff!important;
    text-shadow:0 0 5px rgba(80,190,255,.22);
}
.terminal-shell.terminal-alt-color #terminalInput{
    color:#e8f8ff;
    caret-color:#8fdcff;
}
.terminal-shell.terminal-alt-color .terminal-line{color:#8fdcff}


/* =========================================================
   MOCHI OS MINI APPS
   ========================================================= */
.mochi-app-popup{width:min(570px,calc(100vw - 24px))}
.mochi-app-content{padding:10px!important;background:#f5fcff!important;color:#164b68}
.app-toolbar,.app-status{padding:7px 9px;border:1px solid #83cfee;background:#e1f6ff;font-size:10px}
.app-status{margin-top:8px;color:#52758a}
.achievement-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}
.achievement-card{display:grid;grid-template-columns:38px 1fr;gap:7px;align-items:center;padding:8px;border:1px solid #acdcef;background:#e9eef1;opacity:.55}
.achievement-card.unlocked{background:white;border-color:#43bfff;opacity:1;box-shadow:inset 3px 0 #078de0}
.achievement-card .ach-icon{font-size:27px;text-align:center;filter:grayscale(1)}
.achievement-card.unlocked .ach-icon{filter:none}
.achievement-card b{display:block;font-size:10px;color:#075d91}.achievement-card small{display:block;margin-top:2px;font-size:9px;line-height:1.25}
.recycle-list{display:grid;gap:5px;margin-top:8px}.recycle-list button{display:grid;grid-template-columns:38px 1fr;text-align:left;align-items:center;border:1px solid #9bd5ec;background:white;padding:7px;color:#174f6e;cursor:pointer}
.recycle-list button:hover{background:#def5ff}.recycle-list button span{font-size:27px;grid-row:1/3}.recycle-list button b{font-size:10px}.recycle-list button small{font-size:9px}
.recycle-result{margin-top:8px;padding:8px;background:#061b29;color:#8cff9c;font:10px monospace;min-height:30px}
.search-exe-bar{display:grid;grid-template-columns:auto 1fr auto;gap:6px;align-items:center}.search-exe-bar span{font-size:10px;font-weight:bold}.search-exe-bar input{min-width:0;padding:7px;border:2px inset #b9dbea;font:11px monospace}.search-exe-bar button{padding:7px 10px;border:2px outset #9ed9f1;background:#dff6ff;font-weight:bold;cursor:pointer}
.search-exe-hint{font-size:9px;margin:7px 0;color:#5c7e91}.search-results{border:1px solid #8ccce6;background:white;min-height:180px;padding:7px}.search-result{padding:7px;border-bottom:1px dotted #9bcfe3;cursor:pointer}.search-result:hover{background:#e5f7ff}.search-result b{font-size:10px;color:#0069a8}.search-result small{display:block;font-size:9px;margin-top:2px;color:#55788c}.search-empty{padding:20px;text-align:center;font-size:10px;color:#7693a3}
body.theme-night .mochi-app-content{background:#082743!important;color:#dff8ff}body.theme-night .app-toolbar,body.theme-night .app-status{background:#0b3156;border-color:#17608c;color:#dff8ff}body.theme-night .achievement-card,body.theme-night .recycle-list button,body.theme-night .search-results{background:#092d4c;color:#dff8ff;border-color:#17608c}body.theme-night .achievement-card.unlocked{background:#0c3c64}
@media(max-width:560px){.achievement-grid{grid-template-columns:1fr}.search-exe-bar{grid-template-columns:1fr}.search-exe-bar span{display:none}}


/* =========================================================
   MOCHI START MENU
   ========================================================= */
.mochi-start-menu{
    display:none;position:fixed;left:7px;bottom:42px;width:min(330px,calc(100vw - 14px));
    z-index:10050;border:3px solid #0068b7;border-radius:8px 8px 3px 3px;
    background:#f7fdff;box-shadow:5px 7px 0 rgba(0,64,110,.25),0 0 22px rgba(0,170,255,.3);
    overflow:hidden
}
.mochi-start-menu.open{display:block;animation:mochiStartIn .12s ease-out}
@keyframes mochiStartIn{from{transform:translateY(8px);opacity:0}to{transform:none;opacity:1}}
.mochi-start-header{display:flex;align-items:center;gap:9px;padding:9px;background:linear-gradient(#36c8ff,#078de0 55%,#0065b2);color:white;text-shadow:1px 1px #005087}
.mochi-start-avatar{display:grid;place-items:center;width:38px;height:38px;background:white;border:2px solid #b8efff;border-radius:6px;font-size:24px;text-shadow:none}
.mochi-start-header b{display:block;font-size:13px}.mochi-start-header small{font-size:9px;opacity:.9}
.mochi-start-search{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:5px;padding:7px;background:#dff6ff;border-bottom:1px solid #87d5f2}
.mochi-start-search input{min-width:0;width:100%;box-sizing:border-box;padding:7px;border:2px inset #b9dbea;background:white;font:11px monospace;color:#174f6e;outline:none}
.mochi-start-programs{
    padding:5px;
    max-height:min(310px,45vh);
    overflow-y:auto;
    overflow-x:hidden;
    scrollbar-width:thin;
    overscroll-behavior:contain;
}
.mochi-start-programs>button,.mochi-start-result{
    width:100%;display:grid;grid-template-columns:34px 1fr;gap:6px;align-items:center;text-align:left;
    padding:6px;border:1px solid transparent;background:transparent;color:#174f6e;cursor:pointer
}
.mochi-start-programs>button:hover,.mochi-start-result:hover{background:#dff5ff;border-color:#7fd4f6}
.mochi-start-programs span,.mochi-start-result>span{font-size:23px;text-align:center}
.mochi-start-programs b,.mochi-start-result b{display:block;font-size:10px;color:#075d91}
.mochi-start-programs small,.mochi-start-result small{display:block;font-size:8px;color:#617f90;margin-top:1px}
.mochi-start-search-results{
    display:none;
    padding:5px;
    max-height:min(310px,45vh);
    overflow-y:auto;
    overflow-x:hidden;
    scrollbar-width:thin;
    overscroll-behavior:contain;
    background:white;
}
.mochi-start-search-results.active{display:block}
.mochi-start-search-results.active + .mochi-start-programs{display:none}
.mochi-start-empty{padding:18px;text-align:center;font-size:9px;color:#718e9e}
.mochi-start-footer{display:flex;justify-content:flex-end;gap:5px;padding:6px;background:#cdefff;border-top:1px solid #7ecbea}
.mochi-start-footer button{font-size:9px;padding:5px 7px;border:1px solid #51aeda;background:#eefbff;color:#075d91;cursor:pointer}
body.theme-night .mochi-start-menu{background:#082743;color:#dff8ff}
body.theme-night .mochi-start-search{background:#092d4c}
body.theme-night .mochi-start-search-results,body.theme-night .mochi-start-programs{background:#082743}
body.theme-night .mochi-start-programs>button,body.theme-night .mochi-start-result{color:#dff8ff}
body.theme-night .mochi-start-programs>button:hover,body.theme-night .mochi-start-result:hover{background:#0b3156}
body.theme-night .mochi-start-footer{background:#092d4c}


.mochi-start-programs::-webkit-scrollbar,
.mochi-start-search-results::-webkit-scrollbar{width:11px}
.mochi-start-programs::-webkit-scrollbar-track,
.mochi-start-search-results::-webkit-scrollbar-track{background:#d8f2ff;border-left:1px solid #8acde9}
.mochi-start-programs::-webkit-scrollbar-thumb,
.mochi-start-search-results::-webkit-scrollbar-thumb{background:#55bdf0;border:2px solid #d8f2ff;border-radius:5px}
.mochi-start-programs::-webkit-scrollbar-thumb:hover,
.mochi-start-search-results::-webkit-scrollbar-thumb:hover{background:#168ed1}


.mochi-start-menu{
    max-height:calc(100vh - 52px);
}
.mochi-start-programs{
    min-height:0;
    max-height:min(390px,52vh);
    overflow-y:scroll !important;
    -webkit-overflow-scrolling:touch;
}


/* =========================================================
   START MENU POSITION FIX
   ========================================================= */
.mochi-start-menu{
    left:var(--mochi-start-left, 7px) !important;
    bottom:var(--mochi-start-bottom, 42px) !important;
}


/* =========================================================
   TASK MANAGER + MOCHIMAIL + HELP
   ========================================================= */
.mochi-os-window{width:min(650px,calc(100vw - 22px))}
.os-app-body{padding:9px!important;background:#f5fcff!important;color:#174f6e;font-size:10px}
.task-tabs{display:flex;gap:3px;border-bottom:1px solid #82cbe9}.task-tabs>*{padding:6px 9px;border:1px solid #9ed8ed;border-bottom:0;background:#e0f5ff}
.task-tabs b{background:white}.task-head,.task-process{display:grid;grid-template-columns:1fr 65px 90px;gap:4px;align-items:center}
.task-head{padding:5px;background:#d7f2ff;border:1px solid #91cee7;font-weight:bold}
.task-process{padding:6px;border-bottom:1px solid #d1e9f2;cursor:pointer}.task-process:hover,.task-process.selected{background:#dff5ff}.task-process.selected{outline:1px dotted #168ed1}
.task-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:7px}.task-bottom button{padding:5px 9px}
.mail-layout{display:grid;grid-template-columns:110px 1fr;min-height:330px}.mail-sidebar{display:flex;flex-direction:column;gap:4px;padding:8px;background:#d9f3ff;border-right:1px solid #8acde9}.mail-sidebar>*{padding:5px}
.mail-main{min-width:0;padding:7px}.mail-toolbar{padding:6px;background:#e4f7ff;border:1px solid #9ed6ea}.mail-list{margin-top:6px;border:1px solid #9ed6ea;max-height:130px;overflow:auto}
.mail-item{display:grid;grid-template-columns:26px 120px 1fr;gap:4px;padding:6px;border-bottom:1px solid #d4eaf3;cursor:pointer;background:white}.mail-item:hover,.mail-item.active{background:#dff5ff}.mail-item.unread b{font-weight:900}
.mail-reader{margin-top:7px;border:1px solid #9ed6ea;background:white;min-height:120px;padding:9px}.mail-reader h4{margin:0 0 5px;color:#075d91}.mail-meta{font-size:8px;color:#658392;margin-bottom:8px}.mail-placeholder{padding:30px;text-align:center;color:#7894a2}
.help-hero{display:flex;gap:10px;align-items:center;padding:10px;background:linear-gradient(90deg,#d9f4ff,#fff);border:1px solid #9bd7ed}.help-hero>span{font-size:35px}.help-hero b{display:block;font-size:13px;color:#075d91}.help-hero small{display:block;margin-top:2px}
.help-search{display:grid;grid-template-columns:1fr auto;gap:5px;margin-top:8px}.help-search input{padding:7px;border:2px inset #b8dbe9}.help-search button{padding:7px 10px}
.help-topics{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:8px}.help-topics button{text-align:left;padding:7px;background:#e4f7ff;border:1px solid #8acde9;color:#174f6e;cursor:pointer}.help-topics button:hover{background:#ccefff}
.help-answer{margin-top:8px;padding:10px;border:1px solid #9ed6ea;background:white;min-height:55px;line-height:1.45}
body.theme-night .os-app-body,body.theme-night .mail-reader,body.theme-night .mail-item,body.theme-night .help-answer{background:#082743!important;color:#dff8ff}body.theme-night .mail-sidebar,body.theme-night .task-head,body.theme-night .mail-toolbar{background:#0b3156;color:#dff8ff}
@media(max-width:560px){.mail-layout{grid-template-columns:1fr}.mail-sidebar{display:none}.mail-item{grid-template-columns:25px 90px 1fr}.help-topics{grid-template-columns:1fr}}


.task-name{display:flex;align-items:center;gap:6px;min-width:0}
.task-mochi-icon{width:22px;height:22px;object-fit:cover;border:1px solid #6bbde2;background:white;image-rendering:auto;flex:0 0 auto}
.task-file-icon{width:22px;text-align:center;flex:0 0 auto}

/* fake shutdown screen */
#mochiShutdownScreen{position:fixed;inset:0;z-index:999999;background:#0057a8;color:white;display:none;align-items:center;justify-content:center;text-align:center;font-family:Tahoma,Verdana,sans-serif}
#mochiShutdownScreen.active{display:flex}
.shutdown-inner{width:min(520px,90vw)}
.shutdown-logo{font-size:58px;animation:shutdownPaw 1s ease-in-out infinite alternate}
.shutdown-inner h2{font-size:22px;margin:12px 0 7px;text-shadow:2px 2px #003c76}
.shutdown-inner p{font-size:11px;line-height:1.6}
.shutdown-progress{height:18px;border:2px inset #b7dcf1;background:#dff5ff;margin:18px auto 10px;width:min(340px,80vw);padding:2px}
.shutdown-progress i{display:block;height:100%;width:0;background:#39bfff;transition:width .8s linear}
.shutdown-cancel{margin-top:15px;padding:7px 13px}
@keyframes shutdownPaw{from{transform:scale(.94)}to{transform:scale(1.06)}}


/* =========================================================
   BLÅHAJ.EXE
   ========================================================= */
.blahaj-window{width:min(520px,calc(100vw - 22px))}
.blahaj-body{background:linear-gradient(#e7f9ff,#c9efff)!important}
.blahaj-photo-wrap{height:230px;position:relative;overflow:hidden;border:2px inset #9bd9ef;background:#bcecff}
.blahaj-photo{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease,filter .35s ease}
.blahaj-photo.blahaj-spin{animation:blahajSpin .65s ease}
.blahaj-photo.blahaj-hug{transform:scale(1.08)}
.blahaj-missing{display:none;height:100%;align-items:center;justify-content:center;flex-direction:column;font-size:70px;color:#1478aa}
.blahaj-missing small{font-size:10px}
.blahaj-speech{position:absolute;right:10px;top:10px;max-width:180px;background:white;border:2px solid #168ed1;border-radius:12px;padding:8px 10px;font-weight:bold;color:#075d91;box-shadow:3px 3px 0 rgba(0,80,130,.2)}
.blahaj-status{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:8px;margin-top:7px;background:white;border:1px solid #8acde9}
.blahaj-status>b{margin-right:auto;color:#075d91}.blahaj-status strong{color:#0084c9}
.blahaj-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:7px}.blahaj-actions button{padding:7px 3px;cursor:pointer;background:#eaf9ff;border:2px outset #a6dced;color:#075d91;font-weight:bold}.blahaj-actions button:active{border-style:inset}
.blahaj-log{margin-top:7px;padding:8px;background:#001d2b;color:#65e6ff;font-family:"Courier New",monospace;font-size:9px;min-height:34px;border:2px inset #76bdd8}
@keyframes blahajSpin{0%{transform:rotate(0) scale(1)}50%{transform:rotate(8deg) scale(1.06)}100%{transform:rotate(0) scale(1)}}
@media(max-width:480px){.blahaj-actions{grid-template-columns:1fr 1fr}.blahaj-photo-wrap{height:190px}}


/* =========================================================
   RANDOM BLÅHAJ SWIMMER
   ========================================================= */
.blahaj-swimmer{
    position:fixed;
    z-index:99990;
    left:calc(100vw + 280px);
    width:clamp(150px,22vw,300px);
    height:auto;
    pointer-events:none;
    user-select:none;
    filter:drop-shadow(5px 7px 5px rgba(0,45,90,.28));
    animation:blahajSwimAcross var(--blahaj-swim-time,8s) linear forwards,
              blahajBob .75s ease-in-out infinite alternate;
}
@keyframes blahajSwimAcross{
    from{left:calc(100vw + 280px)}
    to{left:-360px}
}
@keyframes blahajBob{
    from{margin-top:-7px;transform:rotate(-3deg)}
    to{margin-top:7px;transform:rotate(3deg)}
}
@media (prefers-reduced-motion:reduce){
    .blahaj-swimmer{animation:blahajSwimAcross 12s linear forwards}
}


.blahaj-secret-start{display:none!important}
.blahaj-secret-start.discovered{display:flex!important;animation:blahajSecretReveal .35s ease}
@keyframes blahajSecretReveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}


/* =========================================================
   MOCHIBOOK / FRIENDS SHORTCUT
   ========================================================= */
.mochibook-shortcut{
    display:block;margin:0 0 10px;padding:0;text-decoration:none;
    border:2px solid #29447e;background:#fff;
    box-shadow:2px 2px 0 rgba(29,42,91,.18);
    font-family:Tahoma,Verdana,Arial,sans-serif;overflow:hidden;
    transition:transform .12s,filter .12s;
}
.mochibook-shortcut:hover{transform:translateX(2px);filter:brightness(1.04)}
.mochibook-shortcut:active{transform:translate(1px,1px);box-shadow:none}
.mochibook-shortcut-head{
    display:flex;align-items:center;gap:7px;padding:6px 7px;
    background:#3b5998;color:#fff;font-size:11px;font-weight:bold;
}
.mochibook-f{
    display:grid;place-items:center;width:19px;height:19px;
    background:#fff;color:#3b5998;font:bold 18px/1 Arial,sans-serif;
}
.mochibook-shortcut-body{
    padding:7px;color:#333;font-size:10px;line-height:1.35;
    background:linear-gradient(#fff,#f2f4f8);
}
.mochibook-shortcut-body b{color:#3b5998;font-size:11px}
.mochibook-shortcut-online{
    display:inline-block;width:7px;height:7px;border-radius:50%;
    margin-right:4px;background:#53a318;
}
body.theme-night .mochibook-shortcut{filter:brightness(.82)}
body.theme-pink .mochibook-shortcut-head{background:#b84b92}
@media(max-width:650px){
    .mochibook-shortcut{grid-column:1/-1}
}


/* =========================================================
   LATEST CHANGELOG WIDGET
   ========================================================= */
.latest-update-box{margin-top:10px}
.latest-update-title{font-weight:900;color:#075d91;margin-bottom:4px}
.latest-update-meta{font:900 9px "Courier New",monospace;color:#568097;margin-bottom:5px}
.latest-update-text{font-size:10px;line-height:1.4;color:#244b61}
.latest-update-button{
    width:100%;margin-top:7px;padding:6px 8px;background:#dff8ff;
    border:2px outset #a7eaff;color:#00528d;font-weight:900;cursor:pointer
}
.latest-update-button:active{border-style:inset}
body.theme-night .latest-update-title,
body.theme-night .latest-update-text,
body.theme-night .latest-update-meta{color:#bcefff}


/* =========================================================
   CONVENTION TRACKER — MIA / AIRPORT TERMINAL SKIN
   ========================================================= */
#conventionsPopup{
    width:min(900px,94vw);
    max-height:88vh;
    background:#dce7ed;
    border:2px solid #71838e;
    box-shadow:8px 8px 0 #12364b55,0 10px 35px #0005;
}
#conventionsPopup .popup-title{
    background:linear-gradient(#f8fbfc,#d9e5eb);
    color:#173f59;
    border-bottom:4px solid #f2b600;
    padding:8px 10px;
    font-weight:900;
}
#conventionsPopup .popup-title:before{
    content:"MCT • ";
    color:#0074ad;
}
#conventionsPopup .popup-title button{
    background:#17445f;
    color:white;
    border:2px outset #7392a3;
}
#conventionsPopup .popup-content{
    padding:0;
    background:linear-gradient(#e6eff4,#f8fafb);
}
.con-airport-header{
    display:grid;
    grid-template-columns:1fr auto;
    gap:12px;
    align-items:center;
    padding:13px 15px;
    background:#fff;
    border-bottom:1px solid #9eafb9;
}
.con-airport-brand{
    color:#17445f;
    font-size:18px;
    font-weight:900;
}
.con-airport-brand small{
    display:block;
    margin-top:3px;
    color:#71838e;
    font:700 8px "Courier New",monospace;
    letter-spacing:1.2px;
}
.con-airport-code{
    background:#17445f;
    border-left:5px solid #f2b600;
    color:white;
    padding:7px 10px;
    text-align:right;
    font:900 9px "Courier New",monospace;
}
#conventionsPopup .con-countdown{
    margin:10px;
    padding:9px 11px;
    background:#17445f;
    color:#fff;
    border-left:5px solid #f2b600;
    font:900 11px "Courier New",monospace;
    box-shadow:none;
}
#conventionsPopup #conventionCards{
    margin:0 10px;
    padding:7px;
    background:#171c1f;
    border:4px solid #4e595f;
    box-shadow:inset 0 0 18px #000;
}
.con-board-head{
    display:grid;
    grid-template-columns:105px 1fr 105px;
    gap:7px;
    padding:3px 7px 7px;
    border-bottom:1px solid #465158;
    color:#8e9da3;
    font:700 8px "Courier New",monospace;
}
#conventionsPopup .con-card{
    position:relative;
    margin:0;
    padding:9px 7px;
    min-height:72px;
    border:0;
    border-bottom:1px dashed #465158;
    background:transparent;
    color:#eaf3f6;
    box-shadow:none;
}
#conventionsPopup .con-card:last-child{border-bottom:0}
#conventionsPopup .con-card.next{background:#20282c}
#conventionsPopup .con-name{
    padding-right:130px;
    color:#ffe36a;
    font:900 14px "Courier New",monospace;
}
#conventionsPopup .con-meta{
    color:#dce9ee;
    font:700 9px "Courier New",monospace;
    margin-top:3px;
}
#conventionsPopup .con-note{
    color:#a9c3cf;
    font-size:9px;
    line-height:1.45;
    margin-top:5px;
}
#conventionsPopup .con-status{
    position:absolute;
    top:8px;
    right:7px;
    padding:4px 6px;
    background:#11181b;
    border:1px solid #71838e;
    font:900 8px "Courier New",monospace;
}
#conventionsPopup .con-next{color:#76ff91;border-color:#3c9e51}
#conventionsPopup .con-past{color:#b8c9d0}
#conventionsPopup .con-detect{
    margin-top:7px;
    padding:5px 8px;
    background:linear-gradient(#fff,#dce8ee);
    color:#17445f;
    border:2px outset #bfd2dc;
    font:900 9px Tahoma,Verdana,sans-serif;
    cursor:pointer;
}
#conventionsPopup .con-detect:active{border-style:inset}
#conventionsPopup #conventionPlanInfo{
    margin:10px;
    padding:9px;
    background:#fff8d9;
    border:1px solid #d7b94e;
    color:#66510e;
    font-size:9px;
    line-height:1.5;
}
.con-airport-footer{
    padding:8px 11px;
    background:#17445f;
    border-top:4px solid #f2b600;
    color:#bcd1dc;
    font:700 8px "Courier New",monospace;
}
@media(max-width:600px){
    .con-airport-header{grid-template-columns:1fr}
    .con-airport-code{text-align:left}
    #conventionsPopup .con-name{padding-right:0;padding-top:25px}
    #conventionsPopup .con-status{left:7px;right:auto}
    #conventionsPopup{width:96vw}
}


/* =========================================================
   MOCHI PASSPORT — TWO-PAGE RESTORE
   lewa: dane / prawa: pieczątki
   ========================================================= */
.next-con-widget{
    /* passport needs a little more room than the old mini-card */
    margin-left:-2px;
    margin-right:-2px;
}
.next-con-passport-page{
    display:grid !important;
    grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr) !important;
    gap:8px !important;
    padding:8px !important;
}
.next-con-passport-left,
.next-con-passport-right{
    position:relative;
    min-width:0;
    padding:7px;
    border:1px solid #b9a974;
    background:#f7efd5;
    box-shadow:inset 0 0 10px #8b78451c;
}
.next-con-passport-left{
    display:grid;
    grid-template-columns:62px minmax(0,1fr);
    gap:7px;
    align-items:start;
}
.next-con-passport-right:before{
    content:"ENTRY / CONVENTION STAMPS";
    display:block;
    margin-bottom:7px;
    padding-bottom:5px;
    border-bottom:1px dashed #9d906a;
    color:#665f4a;
    font:900 8.5px "Courier New",monospace;
    letter-spacing:.35px;
}
.next-con-photo{height:82px !important}
.next-con-photo-label{font-size:7px !important}
.next-con-passport-data{
    font:700 9.5px/1.48 "Courier New",monospace !important;
}
.next-con-passport-data b{font-size:8.5px !important}
.next-con-name{
    font-size:11px !important;
    line-height:1.2;
    margin-top:2px;
}
.next-con-date{font-size:9.5px !important}
.next-con-days{
    font-size:8.5px !important;
    padding:3px 4px !important;
}
.next-con-stamps{
    display:flex !important;
    gap:6px !important;
    padding:2px !important;
    align-content:flex-start;
}
.next-con-stamp{
    flex:1 1 64px;
    min-width:0 !important;
    padding:7px 4px 5px !important;
    font:900 8px/1.25 "Courier New",monospace !important;
}
.next-con-stamp:before{font-size:6.5px !important}
.next-con-docno,
.next-con-machine{
    grid-column:1/-1 !important;
}
.next-con-docno{font-size:7px !important;margin-top:1px}
.next-con-machine{font-size:7px !important}
@media(max-width:900px){
    .next-con-passport-page{grid-template-columns:1fr 1fr !important}
}
@media(max-width:650px){
    .next-con-passport-page{grid-template-columns:1fr !important}
    .next-con-passport-left{grid-template-columns:90px minmax(0,1fr)}
    .next-con-photo{height:110px !important}
    .next-con-passport-data{font-size:11px !important}
    .next-con-name{font-size:13px !important}
    .next-con-date{font-size:11px !important}
    .next-con-days{font-size:10px !important}
    .next-con-stamp{font-size:9px !important;flex-basis:90px}
}


/* MOCHI PASSPORT — EXTRA READABLE FONT PATCH */
.next-con-passport-left{
    grid-template-columns:74px minmax(0,1fr) !important;
}
.next-con-photo{
    height:100px !important;
}
.next-con-photo-label{
    font-size:9px !important;
    font-weight:900 !important;
}
.next-con-passport-data{
    font:700 12px/1.55 "Courier New",monospace !important;
}
.next-con-passport-data b{
    font-size:11px !important;
}
.next-con-field{
    padding-bottom:4px !important;
    margin-bottom:4px !important;
}
.next-con-name{
    font-size:15px !important;
    line-height:1.25 !important;
}
.next-con-date{
    font-size:13px !important;
}
.next-con-days{
    font-size:11px !important;
    padding:5px 6px !important;
}
.next-con-passport-right:before{
    font-size:11px !important;
    line-height:1.3 !important;
}
.next-con-stamp{
    flex-basis:78px !important;
    padding:9px 5px 7px !important;
    font:900 10px/1.3 "Courier New",monospace !important;
}
.next-con-stamp:before{
    font-size:8px !important;
}
.next-con-docno{
    font-size:9px !important;
    line-height:1.4 !important;
}
.next-con-machine{
    font-size:8.5px !important;
    line-height:1.4 !important;
}
.next-con-sub{
    font-size:9px !important;
    line-height:1.4 !important;
}
@media(max-width:650px){
    .next-con-passport-left{
        grid-template-columns:100px minmax(0,1fr) !important;
    }
    .next-con-photo{height:125px !important}
    .next-con-passport-data{font-size:13px !important}
    .next-con-passport-data b{font-size:12px !important}
    .next-con-name{font-size:16px !important}
    .next-con-date{font-size:14px !important}
    .next-con-days{font-size:12px !important}
    .next-con-passport-right:before{font-size:12px !important}
    .next-con-stamp{font-size:11px !important}
    .next-con-stamp:before{font-size:9px !important}
    .next-con-docno{font-size:10px !important}
    .next-con-machine{font-size:9px !important}
}

/* =========================================================
   MOCHI.EXE • SYSTEM NOTIFICATIONS
   ========================================================= */
#mochi-os-notifications {
    position: fixed;
    right: 16px;
    bottom: 56px;
    z-index: 2147482000;
    display: flex;
    flex-direction: column-reverse;
    gap: 9px;
    align-items: flex-end;
    pointer-events: none;
    max-width: calc(100vw - 24px);
}
.mochi-os-notice {
    width: 300px;
    max-width: calc(100vw - 24px);
    background: #effcff;
    color: #063b69;
    border: 3px solid #0071bd;
    border-radius: 8px;
    box-shadow: 5px 5px 0 rgba(0, 74, 130, .25), 0 0 16px rgba(0, 174, 255, .22);
    overflow: hidden;
    font: 12px "Trebuchet MS", Arial, sans-serif;
    pointer-events: auto;
    animation: mochi-notice-in .25s ease-out both;
}
.mochi-os-notice.is-leaving { animation: mochi-notice-out .2s ease-in both; }
.mochi-os-notice-title {
    background: linear-gradient(to bottom, #36c8ff, #078de0 55%, #0065b2);
    border-bottom: 2px solid #00518e;
    color: #fff;
    text-shadow: 1px 1px #005087;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 7px;
    font-weight: 900;
}
.mochi-os-notice-title .notice-name { flex: 1; min-width: 0; }
.mochi-os-notice-close {
    width: 24px;
    height: 22px;
    padding: 0;
    background: #e7faff;
    color: #00548d;
    border: 2px outset #bcecff;
    border-radius: 2px;
    font: bold 14px Arial, sans-serif;
    cursor: pointer;
}
.mochi-os-notice-close:hover { background: #fff; }
.mochi-os-notice-close:active { border-style: inset; }
.mochi-os-notice-close:focus-visible { outline: 2px solid #00518e; outline-offset: 2px; }
.mochi-os-notice-body {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 11px;
    line-height: 1.5;
    background: linear-gradient(#fff, #dff8ff);
}
.mochi-os-notice-icon {
    display: grid;
    place-items: center;
    flex: 0 0 37px;
    height: 37px;
    font-size: 23px;
    background: #fff;
    border: 2px solid #3bbcff;
    border-radius: 6px;
    box-shadow: 2px 2px 0 rgba(0, 120, 200, .15);
}
.mochi-os-notice-message { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.mochi-os-notice-message strong { display: block; margin-bottom: 3px; color: #0063a5; font-weight: 900; }
@keyframes mochi-notice-in {
    from { opacity: 0; transform: translateY(20px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes mochi-notice-out { to { opacity: 0; transform: translateY(14px); } }
@media (max-width: 650px) {
    #mochi-os-notifications { right: 10px; bottom: 64px; }
    .mochi-os-notice { width: min(290px, calc(100vw - 24px)); }
}
@media (prefers-reduced-motion: reduce) {
    .mochi-os-notice, .mochi-os-notice.is-leaving { animation: none; }
}
/* Match Mochi Display Lab themes. */
body.theme-night .mochi-os-notice { background: #0c355c; color: #dff8ff; border-color: #36c8ff; }
body.theme-night .mochi-os-notice-body { background: #092b4d; }
body.theme-night .mochi-os-notice-message strong { color: #9eeaff; }
body.theme-pink .mochi-os-notice { background: #fff3fb; color: #6e275c; border-color: #e45bb6; }
body.theme-pink .mochi-os-notice-title { background: linear-gradient(#ff9ddd, #d84eae); border-bottom-color: #a42b7f; }
body.theme-pink .mochi-os-notice-body { background: #fff8fd; }
body.theme-pink .mochi-os-notice-message strong { color: #b02d87; }
body.theme-pink .mochi-os-notice-icon { border-color: #ff8bd1; }
body.theme-mono .mochi-os-notice { filter: grayscale(1); }
body.big-ui .mochi-os-notice { zoom: 1.1; }


/* MOCHI GUESTBOOK.EXE — separate from HTML */
.guestbook-shell{max-width:760px;margin:24px auto 80px;padding:0 12px;position:relative;z-index:2}
.guestbook-panel{background:#eafaff;border:3px solid #0068b7;border-radius:12px;overflow:hidden;box-shadow:8px 8px 0 rgba(0,74,130,.25),0 0 35px rgba(0,174,255,.2)}
.guestbook-titlebar{background:linear-gradient(#36c8ff,#078de0 55%,#0065b2);color:white;padding:11px 13px;font-weight:900;display:flex;justify-content:space-between;align-items:center;gap:10px;text-shadow:1px 1px #005087}
.guestbook-home{background:white;border:2px outset #bcecff;padding:5px 9px;color:#00528d;text-decoration:none;font-size:12px;text-shadow:none}
.guestbook-content{padding:18px;display:grid;gap:15px}
.guestbook-intro{background:#fff;border:2px dashed #49bfff;padding:12px;text-align:center;font-weight:bold;color:#00528d}
.guestbook-form{display:grid;gap:10px;background:#fff;border:2px solid #3bbcff;border-radius:9px;padding:15px}
.guestbook-form label{font-size:12px;font-weight:900;color:#00528d;display:grid;gap:5px}
.guestbook-form input,.guestbook-form textarea{width:100%;font:inherit;font-size:13px;color:#063b69;padding:9px;background:#f5fdff;border:2px inset #bcefff;border-radius:3px;resize:vertical}
.guestbook-form button,.guestbook-reload{background:linear-gradient(#fff,#bfeeff);border:2px outset #aeeaff;border-radius:5px;padding:9px 12px;color:#00528d;font:900 12px 'Trebuchet MS',Arial,sans-serif;cursor:pointer}
.guestbook-form button:disabled{opacity:.6;cursor:wait}
.guestbook-status{font-size:12px;font-weight:bold;min-height:1.4em;color:#00528d}
.guestbook-list{display:grid;gap:10px}
.guestbook-entry{background:#fff;border:2px solid #54c8f5;padding:12px;box-shadow:3px 3px 0 rgba(0,100,170,.13);overflow-wrap:anywhere}
.guestbook-entry-head{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;color:#0063a5;font-size:12px;margin-bottom:7px}
.guestbook-entry time{color:#237da8;font-size:10px}
.guestbook-entry-message{white-space:pre-wrap;font-size:13px;line-height:1.5}
.guestbook-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
body.theme-night .guestbook-panel{background:#08284a;border-color:#36c8ff}
body.theme-night .guestbook-form,body.theme-night .guestbook-entry,body.theme-night .guestbook-intro{background:#092b4d;color:#dff8ff}
body.theme-pink .guestbook-panel{background:#fff0fa;border-color:#e45bb6}
body.theme-pink .guestbook-titlebar{background:linear-gradient(#ff9ddd,#d84eae)}
body.theme-pink .guestbook-form,body.theme-pink .guestbook-entry{border-color:#ff8bd1}
@media(max-width:650px){.guestbook-shell{margin:8px auto 45px;padding:0 5px}.guestbook-content{padding:9px}.guestbook-form{padding:10px}}

/* MOCHI GUESTBOOK.EXE — homepage widget */
.guestbook-inline{margin-top:18px;border:3px solid #008ddd;border-radius:10px;overflow:hidden;background:#eafaff;box-shadow:4px 4px 0 rgba(0,100,170,.16);scroll-margin-top:16px}
.guestbook-inline .guestbook-titlebar{padding:9px 11px;font-size:12px}
.guestbook-inline .guestbook-titlebar span:last-child{font-size:10px;white-space:nowrap}
.guestbook-inline .guestbook-content{padding:12px;gap:11px}
.guestbook-inline .guestbook-form{padding:12px}
.guestbook-inline .guestbook-list{max-height:430px;overflow-y:auto;padding:2px 4px 5px 0}
body.theme-night .guestbook-inline{background:#08284a;border-color:#36c8ff}
body.theme-pink .guestbook-inline{background:#fff0fa;border-color:#e45bb6}
body.theme-mono .guestbook-inline{filter:grayscale(1)}
@media(max-width:650px){.guestbook-inline{margin-top:12px}.guestbook-inline .guestbook-content{padding:8px}.guestbook-inline .guestbook-titlebar span:last-child{font-size:9px}}

/* FEATURED MOCHI GUESTBOOK — centered and highly visible */
.guestbook-feature-wrap{width:min(960px,calc(100% - 28px));margin:22px auto 26px;position:relative;z-index:3}
.guestbook-feature-wrap .guestbook-inline{margin:0;border:4px solid #0071bd;border-radius:14px;background:#eafaff;box-shadow:8px 8px 0 rgba(0,74,130,.24),0 0 30px rgba(0,174,255,.34)}
.guestbook-feature-wrap .guestbook-titlebar{min-height:54px;padding:12px 18px;font-size:clamp(14px,2vw,21px);background:linear-gradient(#43d2ff,#078de0 55%,#005ca8)}
.guestbook-feature-wrap .guestbook-titlebar span:last-child{font-size:12px;background:#fff;color:#00528d;padding:6px 9px;border:2px outset #bcecff;text-shadow:none}
.guestbook-feature-wrap .guestbook-content{padding:20px;gap:15px}
.guestbook-feature-wrap .guestbook-intro{font-size:clamp(17px,2.4vw,25px);padding:17px;background:linear-gradient(#fff,#e1f8ff);border:3px dashed #29b5f1}
.guestbook-feature-wrap .guestbook-intro small{font-size:12px}
.guestbook-feature-wrap .guestbook-form{padding:18px;border-width:3px;box-shadow:3px 3px 0 rgba(0,100,170,.12)}
.guestbook-feature-wrap .guestbook-form button[type=submit]{font-size:15px;padding:13px;box-shadow:3px 3px 0 #69cfff}
.guestbook-feature-wrap .guestbook-list{max-height:480px;overflow-y:auto}
body.theme-night .guestbook-feature-wrap .guestbook-intro{background:#092b4d;color:#dff8ff}
body.theme-pink .guestbook-feature-wrap .guestbook-intro{background:#fff3fb;color:#9a2a76;border-color:#ff8dce}
body.theme-mono .guestbook-feature-wrap{filter:grayscale(1)}
@media(max-width:650px){.guestbook-feature-wrap{width:calc(100% - 12px);margin:12px auto 18px}.guestbook-feature-wrap .guestbook-titlebar{min-height:44px;padding:9px;font-size:13px}.guestbook-feature-wrap .guestbook-titlebar span:last-child{font-size:9px;padding:4px}.guestbook-feature-wrap .guestbook-content{padding:9px}.guestbook-feature-wrap .guestbook-intro{font-size:17px;padding:10px}.guestbook-feature-wrap .guestbook-form{padding:11px}}


/* =========================================================
   MOCHI GUESTBOOK — CENTER COLUMN SPOTLIGHT
   ========================================================= */
.guestbook-spotlight{
    margin:18px 0 20px;
    border:2px solid #299fdf;
    border-radius:9px;
    background:#f2fcff;
    box-shadow:4px 4px 0 rgba(0,100,170,.14);
}
.guestbook-spotlight .guestbook-titlebar{
    min-height:38px;padding:9px 12px;
    background:linear-gradient(#36c8ff,#078de0 60%,#0065b2);
    font-size:12px;letter-spacing:.3px;
}
.guestbook-spotlight .guestbook-live{
    font-size:9px;letter-spacing:0;
    padding:4px 7px;background:#eaffff;color:#00649b;
    border:1px solid #a8e9ff;text-shadow:none;white-space:nowrap;
}
.guestbook-spotlight .guestbook-content{padding:12px;gap:11px}
.guestbook-spotlight .guestbook-intro{
    display:flex;flex-direction:column;gap:4px;
    padding:11px 12px;background:#e6f8ff;
    border:1px dashed #65c7ef;border-radius:5px;
    text-align:left;color:#00528d;
}
.guestbook-spotlight .guestbook-intro strong{font-size:15px}
.guestbook-spotlight .guestbook-intro small{font-size:11px;font-weight:normal}
.guestbook-spotlight .guestbook-form{
    padding:0;border:0;box-shadow:none;background:transparent;gap:8px;
}
.guestbook-spotlight .guestbook-fields{display:grid;gap:9px}
.guestbook-spotlight .guestbook-form label{font-size:10px;letter-spacing:.5px}
.guestbook-spotlight .guestbook-form input,
.guestbook-spotlight .guestbook-form textarea{
    padding:9px;border:2px inset #bcefff;background:#fff;
    font-size:12px;letter-spacing:0;
}
.guestbook-spotlight .guestbook-form button[type=submit]{
    padding:10px;font-size:12px;
    background:linear-gradient(#fff,#b9ebff);
    border:2px outset #aeeaff;
}
.guestbook-spotlight .guestbook-signatures-head{
    display:flex;align-items:center;justify-content:space-between;
    gap:8px;padding-top:9px;border-top:1px dashed #73c8ed;
    color:#0063a5;font-size:11px;
}
.guestbook-spotlight .guestbook-reload{font-size:10px;padding:5px 8px}
.guestbook-spotlight .guestbook-list{max-height:270px;overflow-y:auto;gap:7px}
.guestbook-spotlight .guestbook-entry{
    border:1px solid #8cdaff;border-left:3px solid #008ed3;
    padding:9px;background:white;box-shadow:none;border-radius:3px;
}
.guestbook-spotlight .guestbook-entry-message{font-size:12px}
body.theme-night .guestbook-spotlight{background:#092b4d;border-color:#36c8ff}
body.theme-night .guestbook-spotlight .guestbook-intro{background:#123d61;color:#dff8ff}
body.theme-night .guestbook-spotlight .guestbook-entry{background:#103b60;color:#dff8ff}
body.theme-pink .guestbook-spotlight{background:#fff0fa;border-color:#e45bb6}
body.theme-pink .guestbook-spotlight .guestbook-intro{background:#fff7fc;border-color:#ff8dce;color:#9a2a76}
body.theme-pink .guestbook-spotlight .guestbook-entry{border-color:#ff8dce}
@media(max-width:650px){
    .guestbook-spotlight{margin:13px 0}
    .guestbook-spotlight .guestbook-titlebar{font-size:11px;padding:8px}
    .guestbook-spotlight .guestbook-live{font-size:8px;padding:3px}
    .guestbook-spotlight .guestbook-content{padding:10px}
}


/* GUESTBOOK — full-width bottom panel, matching the side panels */
#mainWindow .guestbook-footer-panel{
    position:relative;
    width:auto;
    margin:0 12px 14px;
    background:rgba(255,255,255,.9);
    border:2px solid #3bbcff;
    border-radius:8px;
    box-shadow:inset 0 0 0 2px rgba(255,255,255,.7),3px 3px 0 rgba(0,120,200,.15);
    overflow:hidden;
    scroll-margin-top:16px;
}
.guestbook-footer-panel .guestbook-titlebar{
    padding:8px 12px;
    min-height:35px;
    font-size:12px;
    background:linear-gradient(#36c8ff,#078de0 55%,#0065b2);
}
.guestbook-footer-panel .guestbook-content{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
    gap:12px;
    padding:12px;
    align-items:start;
}
.guestbook-footer-panel .guestbook-intro{
    grid-column:1;
    padding:9px 11px;
}
.guestbook-footer-panel .guestbook-form{
    grid-column:1;
    padding:0;
    background:transparent;
    border:0;
    box-shadow:none;
}
.guestbook-footer-panel .guestbook-signatures-head{
    grid-column:2;
    grid-row:1;
    padding:8px 10px;
    border:1px solid #86d8f8;
    background:#eafaff;
}
.guestbook-footer-panel .guestbook-list{
    grid-column:2;
    grid-row:2 / span 2;
    max-height:240px;
    overflow:auto;
    align-self:stretch;
    padding:2px;
}
.guestbook-footer-panel .guestbook-entry{border-radius:3px}
body.theme-night #mainWindow .guestbook-footer-panel{background:#092b4d;border-color:#36c8ff}
body.theme-pink #mainWindow .guestbook-footer-panel{background:#fff0fa;border-color:#ff8dce}
@media(max-width:650px){
    #mainWindow .guestbook-footer-panel{margin:0 8px 10px;border-radius:6px}
    .guestbook-footer-panel .guestbook-content{grid-template-columns:minmax(0,1fr);gap:9px;padding:9px}
    .guestbook-footer-panel .guestbook-intro,
    .guestbook-footer-panel .guestbook-form,
    .guestbook-footer-panel .guestbook-signatures-head,
    .guestbook-footer-panel .guestbook-list{grid-column:1;grid-row:auto}
    .guestbook-footer-panel .guestbook-list{max-height:230px}
}


/* COMPACT GUESTBOOK — same styling as 📁 MOCHI.EXE MENU */
#mainWindow .guestbook-footer-panel{
  margin:0 12px 10px;
  border:2px solid #3bbcff;
  border-radius:9px;
  background:rgba(255,255,255,.8);
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.7),3px 3px 0 rgba(0,120,200,.15);
}
#mainWindow .guestbook-footer-panel .guestbook-panel-heading{
  background:transparent;
  color:#0064a9;
  text-shadow:none;
  font-size:13px;
  font-weight:bold;
  padding:10px 12px 8px;
  margin:0 10px;
  min-height:0;
  border-bottom:1px dashed #48bfff;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
}
#mainWindow .guestbook-footer-panel .guestbook-live{
  background:#eafaff;
  border:1px solid #9edfff;
  border-radius:3px;
  padding:2px 5px;
  font-size:9px;
  color:#0070ae;
  font-weight:bold;
}
#mainWindow .guestbook-footer-panel .guestbook-content{
  padding:9px 12px 11px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  grid-template-rows:auto 1fr;
  gap:6px 14px;
  align-items:start;
}
#mainWindow .guestbook-footer-panel .guestbook-intro{
  grid-column:1;grid-row:1;
  padding:3px 0;
  background:none;
  border:0;
  text-align:left;
  font-size:11px;
  color:#0064a9;
}
#mainWindow .guestbook-footer-panel .guestbook-intro strong{font-size:11px}
#mainWindow .guestbook-footer-panel .guestbook-form{
  grid-column:1;grid-row:2;
  gap:6px;
  padding:0;
  background:none;
  border:0;
  box-shadow:none;
}
#mainWindow .guestbook-footer-panel .guestbook-fields{gap:5px}
#mainWindow .guestbook-footer-panel .guestbook-form label{font-size:10px;gap:3px}
#mainWindow .guestbook-footer-panel .guestbook-form input,
#mainWindow .guestbook-footer-panel .guestbook-form textarea{
  padding:6px 8px;
  font-size:11px;
  border:2px inset #bcefff;
  background:#fff;
}
#mainWindow .guestbook-footer-panel .guestbook-form textarea{
  min-height:46px;max-height:110px;
}
#mainWindow .guestbook-footer-panel .guestbook-form button[type=submit]{
  padding:7px 10px;
  font-size:11px;
  border:2px outset #aeeaff;
  border-radius:5px;
  background:linear-gradient(#fff,#bfeeff);
  box-shadow:none;
}
#mainWindow .guestbook-footer-panel .guestbook-status{font-size:10px;min-height:0}
#mainWindow .guestbook-footer-panel .guestbook-status:empty{display:none}
#mainWindow .guestbook-footer-panel .guestbook-signatures-head{
  grid-column:2;grid-row:1;
  padding:2px 0 5px;
  background:none;
  border:0;
  border-bottom:1px dashed #48bfff;
  font-size:11px;
}
#mainWindow .guestbook-footer-panel .guestbook-reload{padding:4px 7px;font-size:10px}
#mainWindow .guestbook-footer-panel .guestbook-list{
  grid-column:2;grid-row:2;
  height:155px;
  max-height:155px;
  min-height:0;
  overflow-y:scroll;
  overflow-x:hidden;
  overscroll-behavior:contain;
  display:block;
  padding:3px 5px 3px 2px;
  scrollbar-width:thin;
  scrollbar-color:#49bfff #eafaff;
}
#mainWindow .guestbook-footer-panel .guestbook-entry{
  margin-bottom:6px;
  padding:7px 9px;
  border:1px solid #8cdaff;
  border-left:3px solid #008ed3;
  background:#fff;
  box-shadow:none;
  border-radius:3px;
}
#mainWindow .guestbook-footer-panel .guestbook-entry-head{font-size:10px;margin-bottom:4px}
#mainWindow .guestbook-footer-panel .guestbook-entry-message{font-size:11px;line-height:1.35}
body.theme-night #mainWindow .guestbook-footer-panel{background:#0c355c}
body.theme-night #mainWindow .guestbook-footer-panel .guestbook-panel-heading,
body.theme-night #mainWindow .guestbook-footer-panel .guestbook-intro{color:#bcefff}
body.theme-pink #mainWindow .guestbook-footer-panel{border-color:#ff8bd1}
@media(max-width:650px){
 #mainWindow .guestbook-footer-panel{margin:0 8px 9px}
 #mainWindow .guestbook-footer-panel .guestbook-content{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:7px}
 #mainWindow .guestbook-footer-panel .guestbook-intro,
 #mainWindow .guestbook-footer-panel .guestbook-form,
 #mainWindow .guestbook-footer-panel .guestbook-signatures-head,
 #mainWindow .guestbook-footer-panel .guestbook-list{grid-column:1;grid-row:auto}
 #mainWindow .guestbook-footer-panel .guestbook-list{height:140px;max-height:140px}
 #mainWindow .guestbook-footer-panel .guestbook-panel-heading{font-size:11px;gap:6px}
}


/* =========================================================
   GUESTBOOK MINI — ultra compact, side-panel style
   ========================================================= */
#mainWindow .guestbook-footer-panel{
  margin:0 12px 8px;
  border-radius:7px;
}
#mainWindow .guestbook-footer-panel .guestbook-panel-heading{
  padding:6px 8px 5px;
  margin:0 8px;
  font-size:11px;
}
#mainWindow .guestbook-footer-panel .guestbook-live{font-size:8px;padding:1px 4px}
#mainWindow .guestbook-footer-panel .guestbook-content{
  padding:6px 9px 8px;
  grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);
  grid-template-rows:auto 1fr;
  gap:4px 10px;
}
#mainWindow .guestbook-footer-panel .guestbook-intro{display:none}
#mainWindow .guestbook-footer-panel .guestbook-form{
  grid-column:1;grid-row:1 / span 2;
  gap:4px;
}
#mainWindow .guestbook-footer-panel .guestbook-fields{gap:4px}
#mainWindow .guestbook-footer-panel .guestbook-form label{
  font-size:9px;letter-spacing:0;gap:2px;
}
#mainWindow .guestbook-footer-panel .guestbook-form input,
#mainWindow .guestbook-footer-panel .guestbook-form textarea{
  padding:4px 6px;font-size:11px;
}
#mainWindow .guestbook-footer-panel .guestbook-form textarea{
  min-height:36px;height:36px;resize:vertical;
}
#mainWindow .guestbook-footer-panel .guestbook-form button[type=submit]{
  padding:5px 8px;font-size:10px;
}
#mainWindow .guestbook-footer-panel .guestbook-signatures-head{
  grid-column:2;grid-row:1;
  padding:1px 0 4px;font-size:10px;
}
#mainWindow .guestbook-footer-panel .guestbook-reload{
  padding:3px 6px;font-size:9px;
}
#mainWindow .guestbook-footer-panel .guestbook-list{
  grid-column:2;grid-row:2;
  height:118px;max-height:118px;
  overflow-y:auto;
  scrollbar-width:thin;
}
#mainWindow .guestbook-footer-panel .guestbook-entry{
  padding:5px 7px;margin-bottom:4px;
}
#mainWindow .guestbook-footer-panel .guestbook-entry-head{font-size:9px;margin-bottom:2px}
#mainWindow .guestbook-footer-panel .guestbook-entry-message{font-size:10px}
@media(max-width:650px){
  #mainWindow .guestbook-footer-panel{margin:0 8px 8px}
  #mainWindow .guestbook-footer-panel .guestbook-content{
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto;gap:6px;
  }
  #mainWindow .guestbook-footer-panel .guestbook-form,
  #mainWindow .guestbook-footer-panel .guestbook-signatures-head,
  #mainWindow .guestbook-footer-panel .guestbook-list{
    grid-column:1;grid-row:auto;
  }
  #mainWindow .guestbook-footer-panel .guestbook-list{
    height:105px;max-height:105px;
  }
}

/* GUESTBOOK 3-COLUMN LAYOUT: form | signatures | signatures */
#mainWindow .guestbook-footer-panel .guestbook-content {
  display:grid;
  grid-template-columns:minmax(180px,.95fr) minmax(0,1fr) minmax(0,1fr);
  grid-template-rows:auto minmax(0,1fr);
  gap:5px 12px;
  align-items:start;
}
#mainWindow .guestbook-footer-panel .guestbook-form {
  grid-column:1;
  grid-row:1 / span 2;
  min-width:0;
}
#mainWindow .guestbook-footer-panel .guestbook-signatures-head {
  grid-column:2 / 4;
  grid-row:1;
}
#mainWindow .guestbook-footer-panel .guestbook-list {
  grid-column:2 / 4;
  grid-row:2;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-content:start;
  align-items:start;
  gap:5px 8px;
  height:120px;
  max-height:120px;
  overflow-y:auto;
  overflow-x:hidden;
  padding:2px 5px 2px 2px;
}
#mainWindow .guestbook-footer-panel .guestbook-entry {
  min-width:0;
  margin:0;
  overflow-wrap:anywhere;
}
#mainWindow .guestbook-footer-panel .guestbook-entry-head {
  display:flex;
  flex-wrap:wrap;
  gap:2px 6px;
}
#mainWindow .guestbook-footer-panel .guestbook-entry-message {
  overflow-wrap:anywhere;
  white-space:pre-wrap;
}
@media(max-width:700px) {
  #mainWindow .guestbook-footer-panel .guestbook-content {
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto;
    gap:7px;
  }
  #mainWindow .guestbook-footer-panel .guestbook-form,
  #mainWindow .guestbook-footer-panel .guestbook-signatures-head,
  #mainWindow .guestbook-footer-panel .guestbook-list {
    grid-column:1;
    grid-row:auto;
  }
  #mainWindow .guestbook-footer-panel .guestbook-list {
    grid-template-columns:repeat(2,minmax(0,1fr));
    height:140px;
    max-height:140px;
  }
}
@media(max-width:430px) {
  #mainWindow .guestbook-footer-panel .guestbook-list {
    grid-template-columns:minmax(0,1fr);
    height:135px;
    max-height:135px;
  }
}


/* =========================================================
   GUESTBOOK.EXE — SMALL RETRO INTERACTIONS
   Keep the compact three-column layout unchanged.
   ========================================================= */
@keyframes guestbookSoftAppear {
  from { opacity:0; transform:translateY(7px); }
  to { opacity:1; transform:translateY(0); }
}
@keyframes guestbookTinyBlink {
  0%, 85%, 100% { opacity:1; }
  90%, 95% { opacity:.35; }
}
@keyframes guestbookPawPop {
  0% { transform:scale(.9) rotate(-7deg); }
  50% { transform:scale(1.12) rotate(7deg); }
  100% { transform:scale(1) rotate(0); }
}
#mainWindow .guestbook-footer-panel {
  animation:guestbookSoftAppear .35s ease-out both;
}
#mainWindow .guestbook-footer-panel .guestbook-live {
  animation:guestbookTinyBlink 5s steps(1,end) infinite;
}
#mainWindow .guestbook-footer-panel .guestbook-entry {
  transition:background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
  animation:guestbookSoftAppear .24s ease-out both;
}
#mainWindow .guestbook-footer-panel .guestbook-entry:nth-child(2n) { animation-delay:.035s; }
#mainWindow .guestbook-footer-panel .guestbook-entry:nth-child(3n) { animation-delay:.07s; }
#mainWindow .guestbook-footer-panel .guestbook-entry:hover {
  background:#eafaff;
  border-color:#32b7f1;
  box-shadow:2px 2px 0 rgba(0,120,200,.12);
}
#mainWindow .guestbook-footer-panel .guestbook-form button[type=submit],
#mainWindow .guestbook-footer-panel .guestbook-reload {
  transition:transform .12s ease, filter .12s ease, box-shadow .12s ease;
}
#mainWindow .guestbook-footer-panel .guestbook-form button[type=submit]:hover,
#mainWindow .guestbook-footer-panel .guestbook-reload:hover {
  transform:translateY(-1px);
  filter:brightness(1.05);
  box-shadow:2px 2px 0 rgba(0,120,200,.18);
}
#mainWindow .guestbook-footer-panel .guestbook-form button[type=submit]:active,
#mainWindow .guestbook-footer-panel .guestbook-reload:active {
  transform:translateY(1px);
  box-shadow:none;
}
#mainWindow .guestbook-footer-panel .guestbook-form button[type=submit]:focus-visible,
#mainWindow .guestbook-footer-panel .guestbook-reload:focus-visible,
#mainWindow .guestbook-footer-panel input:focus-visible,
#mainWindow .guestbook-footer-panel textarea:focus-visible {
  outline:2px solid #008ed3;
  outline-offset:2px;
}
body.theme-night #mainWindow .guestbook-footer-panel .guestbook-entry:hover {
  background:#174d75;
  border-color:#65d7ff;
}
body.theme-pink #mainWindow .guestbook-footer-panel .guestbook-entry:hover {
  background:#fff1fb;
  border-color:#ff8bd1;
}
@media(prefers-reduced-motion:reduce) {
  #mainWindow .guestbook-footer-panel,
  #mainWindow .guestbook-footer-panel .guestbook-live,
  #mainWindow .guestbook-footer-panel .guestbook-entry,
  #mainWindow .guestbook-footer-panel .guestbook-form button[type=submit],
  #mainWindow .guestbook-footer-panel .guestbook-reload {
    animation:none !important;
    transition:none !important;
  }
}

/* MOCHI IRL: boop, counter and floating sparkle effects */
.mochi-photo-wrap { position:relative; isolation:isolate; }
.mochi-photo { cursor:pointer; transition:filter .2s ease,transform .2s ease; }
.mochi-photo:hover { filter:brightness(1.07) saturate(1.12); transform:rotate(-1.2deg) scale(1.018); }
.mochi-photo-wrap.mochi-photo-boop .mochi-photo { animation:mochiBoop .42s cubic-bezier(.2,.8,.2,1); }
@keyframes mochiBoop { 0%{transform:scale(1)} 35%{transform:scale(.94) rotate(-2deg)} 70%{transform:scale(1.055) rotate(2deg)} 100%{transform:scale(1)} }
.mochi-photo-sparkle { position:absolute;left:50%;top:40%;pointer-events:none;z-index:5;animation:mochiSparkleFly .75s ease-out forwards;filter:drop-shadow(0 1px 2px #0077bb); }
@keyframes mochiSparkleFly { from{opacity:1;transform:translate(-50%,-50%) scale(.6)} to{opacity:0;transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) scale(1.4)} }
#mochiClicks { display:inline-block; font-variant-numeric:tabular-nums; }
#mochiClicks.mochi-count-bump { animation:mochiCounterBump .42s ease-out; }
@keyframes mochiCounterBump { 0%{transform:scale(1)} 50%{transform:scale(1.28);color:#008ed3;text-shadow:0 0 7px #3bbcff} 100%{transform:scale(1)} }
@media(prefers-reduced-motion:reduce){.mochi-photo,.mochi-photo:hover{transition:none;transform:none}.mochi-photo-wrap.mochi-photo-boop .mochi-photo,#mochiClicks.mochi-count-bump,.mochi-photo-sparkle{animation:none!important}}
body.no-motion .mochi-photo,body.no-motion .mochi-photo:hover{transform:none;transition:none}
body.no-motion .mochi-photo-wrap.mochi-photo-boop .mochi-photo,body.no-motion #mochiClicks.mochi-count-bump,body.no-motion .mochi-photo-sparkle{animation:none!important}

/* MOCHI IRL: keep the photo completely still, including on hover. */
.mochi-photo, .mochi-photo:hover,
.mochi-photo-wrap:hover .mochi-photo,
.mochi-photo-wrap.mochi-photo-boop .mochi-photo {
  transform:none !important; animation:none !important;
  transition:none !important; filter:none !important;
}
.mochi-photo-sparkle, .mochi-photo-wrap .mochi-pop {display:none !important;}

/* MOCHI.EXE — lively retro UI, but NEVER animate the IRL photo itself */
.mochi-photo-wrap .mochi-pop { display:block !important; animation:mochiPop .8s ease-out forwards; }
@keyframes mochiMenuGlow { 0%,100%{box-shadow:0 0 0 rgba(59,188,255,0)} 50%{box-shadow:0 0 11px rgba(59,188,255,.38)} }
@keyframes mochiTitleShine { 0%,100%{text-shadow:0 1px 0 #fff} 50%{text-shadow:0 1px 0 #fff,0 0 9px rgba(38,169,255,.5)} }
@keyframes mochiGentleRise { from{opacity:0;transform:translateY(7px)} to{opacity:1;transform:translateY(0)} }
@keyframes mochiTinyWiggle { 0%,100%{transform:rotate(0)} 25%{transform:rotate(-3deg)} 75%{transform:rotate(3deg)} }
@keyframes mochiSoftPulse { 0%,100%{opacity:1} 50%{opacity:.6} }
@keyframes mochiStripe { from{background-position:0 0} to{background-position:36px 0} }
@keyframes mochiFlash { 0%{filter:brightness(1)} 50%{filter:brightness(1.16)} 100%{filter:brightness(1)} }
#mainWindow .panel-title { animation:mochiTitleShine 4s ease-in-out infinite; }
#mainWindow .left-panel .nav button { transition:transform .16s ease,background-color .16s ease,box-shadow .16s ease; }
#mainWindow .left-panel .nav button:hover { transform:translateX(3px); box-shadow:2px 2px 0 rgba(0,125,190,.2); }
#mainWindow .left-panel .nav button:active { transform:translateX(1px) scale(.98); }
#mainWindow .tag { transition:transform .18s ease,filter .18s ease; }
#mainWindow .tag:hover { transform:translateY(-3px) rotate(-2deg);filter:brightness(1.08); }
#mainWindow .tag:nth-child(even):hover { transform:translateY(-3px) rotate(2deg); }
#mainWindow .next-con-widget { transition:box-shadow .22s ease,filter .22s ease; }
#mainWindow .next-con-widget:hover { animation:mochiMenuGlow 1.5s ease-in-out infinite;filter:brightness(1.04); }
#mainWindow .photo-title { animation:mochiTitleShine 3.5s ease-in-out infinite; }
#mainWindow .click-counter { transition:background-color .2s ease,box-shadow .2s ease; }
#mainWindow .click-counter:hover { animation:mochiMenuGlow 1.3s ease-in-out infinite; }
#mainWindow .stat .meter-fill { background-size:36px 36px; animation:mochiStripe 3s linear infinite; }
#mainWindow .info-box { transition:box-shadow .2s ease,border-color .2s ease; }
#mainWindow .info-box:hover { box-shadow:2px 2px 0 rgba(0,125,190,.17);border-color:#42bdf5; }
#mainWindow .mochibook-shortcut, #mainWindow .tamamochi-play, #mainWindow .shrine-button { transition:filter .18s ease,box-shadow .18s ease; }
#mainWindow .mochibook-shortcut:hover, #mainWindow .tamamochi-play:hover, #mainWindow .shrine-button:hover { filter:brightness(1.08);box-shadow:0 0 10px rgba(59,188,255,.4); }
#mainWindow .guestbook-footer-panel .guestbook-entry:hover { animation:mochiFlash .35s ease-out; }
#mainWindow .guestbook-footer-panel .guestbook-form input:focus, #mainWindow .guestbook-footer-panel .guestbook-form textarea:focus { box-shadow:0 0 0 3px rgba(59,188,255,.18);transition:box-shadow .18s ease; }
.mochi-start-menu button:hover, .taskbar button:hover { filter:brightness(1.1); }
@media(prefers-reduced-motion:reduce) {
 #mainWindow .panel-title,#mainWindow .photo-title,#mainWindow .next-con-widget:hover,#mainWindow .click-counter:hover,#mainWindow .stat .meter-fill,#mainWindow .guestbook-footer-panel .guestbook-entry:hover,#mainWindow .mochi-pop { animation:none!important; }
 #mainWindow .left-panel .nav button:hover,#mainWindow .tag:hover,#mainWindow .tag:nth-child(even):hover {transform:none!important;}
}
body.no-motion #mainWindow .panel-title,body.no-motion #mainWindow .photo-title,body.no-motion #mainWindow .next-con-widget:hover,body.no-motion #mainWindow .click-counter:hover,body.no-motion #mainWindow .stat .meter-fill,body.no-motion #mainWindow .guestbook-footer-panel .guestbook-entry:hover,body.no-motion #mainWindow .mochi-pop{animation:none!important}


/* WINDOWS 7 AERO-STYLE GLOBAL CLICK ANNOUNCEMENT */
#mainWindow .mochi-global-announcement {
  position:relative; isolation:isolate; overflow:hidden;
  display:flex; align-items:center; justify-content:center; gap:9px;
  margin:8px 10px 9px; padding:9px 12px;
  border:1px solid #4b9be6; border-radius:8px;
  background:linear-gradient(180deg,#f5ffff 0%,#c5eeff 46%,#86c9ff 49%,#d6f4ff 100%);
  box-shadow:inset 0 1px 0 #fff, inset 0 -1px 0 #70b7f2, 0 2px 7px #158ac450;
  color:#064d83; text-align:center;
  animation:mochiGlobalArrive .85s cubic-bezier(.18,.8,.22,1) both,mochiGlobalAura 3.5s ease-in-out 1s infinite;
}
#mainWindow .mochi-global-announcement::before {
  content:''; position:absolute; z-index:-1; inset:1px 1px 52%;
  border-radius:7px 7px 45% 45%; background:linear-gradient(#ffffffbd,#ffffff14);
  pointer-events:none;
}
#mainWindow .mochi-global-announcement::after {
  content:'';position:absolute;top:-100%;left:-40%;height:280%;width:22%;
  background:linear-gradient(90deg,transparent,#fff9,transparent);
  transform:rotate(25deg);pointer-events:none;
  animation:mochiGlobalShine 5s ease-in-out 1.1s infinite;
}
#mainWindow .mochi-global-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
#mainWindow .mochi-global-copy strong{font-size:clamp(11px,1.6vw,17px);font-weight:900;letter-spacing:.6px;text-shadow:0 1px 0 #fff,0 0 9px #fff}
#mainWindow .mochi-global-copy small{font-size:9px;font-weight:700;letter-spacing:1.1px;color:#2674a9}
#mainWindow .mochi-global-light{width:10px;height:10px;flex:none;border-radius:50%;background:#27ff8a;border:1px solid #008e58;box-shadow:0 0 0 3px #fff9,0 0 11px #00fda3;animation:mochiGlobalLight 1.5s ease-in-out infinite}
#mainWindow .mochi-global-badge{flex:none;padding:3px 6px;border:1px solid #438dc8;border-radius:5px;background:linear-gradient(#fff,#8edbff);box-shadow:inset 0 1px #fff;font-size:9px;font-weight:900;white-space:nowrap}
#mainWindow .mochi-global-updated{animation:mochiGlobalFlash .7s ease-out,mochiGlobalAura 3.5s ease-in-out .7s infinite}
@keyframes mochiGlobalArrive{from{opacity:0;transform:translateY(-9px) scale(.97);filter:brightness(1.3)}to{opacity:1;transform:none;filter:none}}
@keyframes mochiGlobalAura{0%,100%{box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 #70b7f2,0 2px 7px #158ac450}50%{box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 #70b7f2,0 2px 16px #26b6ffa6}}
@keyframes mochiGlobalShine{0%,12%{left:-40%}32%,100%{left:130%}}
@keyframes mochiGlobalLight{0%,100%{opacity:1;box-shadow:0 0 0 3px #fff9,0 0 11px #00fda3}50%{opacity:.65;box-shadow:0 0 0 5px #fff5,0 0 4px #00fda3}}
@keyframes mochiGlobalFlash{0%{filter:brightness(1.55)}100%{filter:brightness(1)}}
@media(max-width:480px){#mainWindow .mochi-global-announcement{gap:5px;margin:6px;padding:7px 5px}#mainWindow .mochi-global-copy strong{font-size:11px;letter-spacing:0}#mainWindow .mochi-global-copy small{font-size:7px;letter-spacing:.3px}#mainWindow .mochi-global-badge{font-size:8px;padding:2px 4px}}
@media(prefers-reduced-motion:reduce){#mainWindow .mochi-global-announcement,#mainWindow .mochi-global-announcement::after,#mainWindow .mochi-global-light,#mainWindow .mochi-global-updated{animation:none!important}}
body.no-motion #mainWindow .mochi-global-announcement,body.no-motion #mainWindow .mochi-global-announcement::after,body.no-motion #mainWindow .mochi-global-light,body.no-motion #mainWindow .mochi-global-updated{animation:none!important}

/* MOCHI LIVE DESKTOP — Win7 Aero glass widget and toast stack */
#mainWindow .mochi-live-desktop{grid-column:1/-1;position:relative;overflow:hidden;margin:0 0 9px;border:1px solid #5e9dd2;border-radius:9px;padding:8px 12px;color:#06416f;background:linear-gradient(155deg,rgba(255,255,255,.94),rgba(166,221,255,.88) 48%,rgba(80,158,228,.85) 51%,rgba(220,246,255,.95));box-shadow:inset 0 1px 0 #fff,0 3px 9px #4e9dcc55;animation:mochiLiveEnter .7s cubic-bezier(.2,1.4,.3,1) both}
#mainWindow .mochi-live-desktop:before{content:"";position:absolute;left:-55%;top:0;width:40%;height:100%;background:linear-gradient(90deg,transparent,#fff9,transparent);transform:skewX(-25deg);animation:mochiLiveShine 8s ease-in-out infinite;pointer-events:none}
#mainWindow .mochi-live-top{display:flex;justify-content:space-between;gap:8px;font-weight:900;font-size:11px;letter-spacing:.6px}
#mainWindow .mochi-live-signal{font-size:9px;color:#18743d;animation:mochiLiveBlink 2.5s ease-in-out infinite}
#mainWindow .mochi-live-main{display:flex;align-items:center;justify-content:center;gap:14px;margin:4px 0}
#mainWindow .mochi-live-orb{font-size:32px;filter:drop-shadow(0 2px 3px #3185c888);animation:mochiLiveFloat 3.6s ease-in-out infinite}
#mainWindow #mochiOnlineCount{display:block;font-size:30px;line-height:1;font-weight:1000;text-shadow:0 1px #fff,0 0 10px #fff;letter-spacing:2px}
#mainWindow .mochi-live-main small{display:block;font-size:9px;font-weight:900;letter-spacing:1.5px}
#mainWindow .mochi-live-bottom{text-align:center;font-size:9px;opacity:.8}
#mainWindow .mochi-live-count-pop{animation:mochiLiveNumber .45s ease-out}
.mochi-aero-notifications{position:fixed;bottom:57px;right:14px;z-index:999999;display:flex;flex-direction:column;gap:9px;max-width:min(320px,calc(100vw - 28px));pointer-events:none}
.mochi-aero-toast{pointer-events:auto;display:flex;align-items:center;gap:10px;padding:10px 9px;border:1px solid #528dbf;border-radius:9px;color:#073b69;background:linear-gradient(150deg,#fff,#c8ebff 45%,#87bff1 52%,#d6f4ff);box-shadow:inset 0 1px #fff,0 5px 18px #164b8b66;animation:mochiAeroSlide .55s cubic-bezier(.18,1.3,.3,1) both}
.mochi-aero-toast-icon{font-size:24px}.mochi-aero-toast>span:nth-child(2){flex:1;min-width:0}.mochi-aero-toast strong{display:block;font-size:11px}.mochi-aero-toast small{display:block;font-size:10px;margin-top:3px}.mochi-aero-toast button{align-self:flex-start;border:0;background:#ffffff88;color:#24537c;border-radius:4px;cursor:pointer}.mochi-aero-toast-out{animation:mochiAeroOut .35s ease-in both}
@keyframes mochiLiveEnter{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
@keyframes mochiLiveShine{0%,65%{left:-55%}95%,100%{left:120%}}
@keyframes mochiLiveBlink{0%,100%{opacity:1}50%{opacity:.45}}
@keyframes mochiLiveFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes mochiLiveNumber{0%{transform:scale(1.35);color:#0086d4}100%{transform:scale(1);color:inherit}}
@keyframes mochiAeroSlide{from{opacity:0;transform:translateX(110%)}to{opacity:1;transform:translateX(0)}}
@keyframes mochiAeroOut{to{opacity:0;transform:translateX(110%)}}
@media(prefers-reduced-motion:reduce){#mainWindow .mochi-live-desktop,#mainWindow .mochi-live-desktop:before,#mainWindow .mochi-live-signal,#mainWindow .mochi-live-orb,#mainWindow .mochi-live-count-pop,.mochi-aero-toast,.mochi-aero-toast-out{animation:none!important}}
body.no-motion #mainWindow .mochi-live-desktop,body.no-motion #mainWindow .mochi-live-desktop:before,body.no-motion #mainWindow .mochi-live-signal,body.no-motion #mainWindow .mochi-live-orb,body.no-motion #mainWindow .mochi-live-count-pop,body.no-motion .mochi-aero-toast{animation:none!important}


/* FIX: compact Aero presence widget INSIDE right MOCHI STATUS sidebar */
#mainWindow .right-panel .mochi-live-desktop{
  display:block;grid-column:auto;width:auto;min-width:0;max-width:100%;box-sizing:border-box;
  margin:9px 0 13px;padding:9px 7px;border-radius:7px;
  background:linear-gradient(155deg,#f8fdff,#c6eaff 46%,#91cafa 52%,#e7f7ff);
  box-shadow:inset 0 1px 0 #fff,0 2px 5px #358dd03b;
}
#mainWindow .right-panel .mochi-live-top{font-size:8px;letter-spacing:0;align-items:center;gap:3px;flex-wrap:wrap}
#mainWindow .right-panel .mochi-live-signal{font-size:8px}
#mainWindow .right-panel .mochi-live-main{gap:7px;margin:8px 0 5px}
#mainWindow .right-panel .mochi-live-orb{font-size:22px}
#mainWindow .right-panel #mochiOnlineCount{font-size:25px;letter-spacing:1px}
#mainWindow .right-panel .mochi-live-main small{font-size:8px;letter-spacing:.4px}
#mainWindow .right-panel .mochi-live-bottom{font-size:8px;line-height:1.35;overflow-wrap:anywhere}


/* MOCHI STICKER WALL.EXE — compact Aero panel in center column */
#mochiStickerPopup .mochi-sticker-widget{margin:12px 0 3px;border:2px solid #158ae3;background:#effaff;box-shadow:inset 0 0 0 2px #fff,2px 3px 0 #8ad5ff;padding:7px;font-family:inherit;min-width:0}
#mochiStickerPopup .mochi-sticker-title{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-wrap:wrap;font-size:11px;font-weight:900;color:#00558f;background:linear-gradient(#fff,#c8ebff 45%,#8ecfff 51%,#e9f9ff);border:1px solid #6cb8ef;border-radius:5px;padding:8px 7px;box-shadow:inset 0 1px #fff;position:relative;overflow:hidden}
#mochiStickerPopup .mochi-sticker-live{font-size:8px;color:#167b3d;animation:mochiStickerPulse 2s ease-in-out infinite}
#mochiStickerPopup .mochi-sticker-sub{text-align:center;font-size:9px;color:#35749b;margin:7px 0}
#mochiStickerPopup .mochi-sticker-board{position:relative;isolation:isolate;height:175px;overflow:hidden;cursor:crosshair;border:2px dashed #5eb8ed;background-color:#e8f7ff;background-image:linear-gradient(#c9e9fa 1px,transparent 1px),linear-gradient(90deg,#c9e9fa 1px,transparent 1px),radial-gradient(ellipse at 50% 40%,#fff,#d7efff);background-size:20px 20px,20px 20px,100% 100%;box-shadow:inset 0 2px 7px #7ebbe544;transition:border-color .2s,box-shadow .2s}
#mochiStickerPopup .mochi-sticker-board:hover{border-color:#007dd7;box-shadow:inset 0 2px 7px #7ebbe544,0 0 9px #54c4ff80}
#mochiStickerPopup .mochi-sticker-loading{position:absolute;inset:0;display:grid;place-items:center;font-size:10px;color:#38739b;pointer-events:none}
#mochiStickerPopup .mochi-sticker-item{position:absolute;transform:translate(-50%,-50%) rotate(var(--tilt,0deg));font-size:25px;line-height:1;pointer-events:none;user-select:none;filter:drop-shadow(1px 2px 1px #005e9966);animation:mochiStickerPop .42s cubic-bezier(.2,1.6,.4,1) both}
#mochiStickerPopup .mochi-sticker-palette{display:flex;flex-wrap:wrap;gap:5px;justify-content:center;margin:8px 0 6px}
#mochiStickerPopup .mochi-sticker-palette button{font-size:18px;line-height:1.2;min-width:37px;min-height:34px;padding:4px;border:1px solid #7ebbe7;border-radius:5px;background:linear-gradient(#fff,#ccecff);box-shadow:inset 0 1px #fff,0 2px #90bddd;cursor:pointer;transition:transform .12s,box-shadow .12s,background .12s}
#mochiStickerPopup .mochi-sticker-palette button:hover{transform:translateY(-3px);background:linear-gradient(#fff,#9cd9ff);box-shadow:0 4px 8px #63b6e466}
#mochiStickerPopup .mochi-sticker-palette button.is-selected{border-color:#0874c6;background:linear-gradient(#a7e5ff,#49b5f4);box-shadow:0 0 0 2px #8be6ff,0 2px #2478ac;transform:translateY(-1px)}
#mochiStickerPopup .mochi-sticker-bottom{display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap;color:#32739d;font-size:9px;min-height:19px}
#mochiStickerPopup #mochiStickerCount{white-space:nowrap;font-weight:bold;color:#07578d}
@keyframes mochiStickerPop{0%{opacity:0;transform:translate(-50%,-50%) scale(.1) rotate(-30deg)}75%{opacity:1;transform:translate(-50%,-50%) scale(1.3) rotate(var(--tilt,0deg))}100%{transform:translate(-50%,-50%) scale(1) rotate(var(--tilt,0deg))}}
@keyframes mochiStickerPulse{50%{opacity:.45}}
@media(max-width:500px){#mochiStickerPopup .mochi-sticker-board{height:155px}#mochiStickerPopup .mochi-sticker-item{font-size:22px}}
@media(prefers-reduced-motion:reduce){#mochiStickerPopup .mochi-sticker-item,#mochiStickerPopup .mochi-sticker-live,#mochiStickerPopup .mochi-sticker-palette button{animation:none!important;transition:none!important}}
body.no-motion #mochiStickerPopup .mochi-sticker-item,body.no-motion #mochiStickerPopup .mochi-sticker-live,body.no-motion #mochiStickerPopup .mochi-sticker-palette button{animation:none!important;transition:none!important}

/* Sticker Wall: independent, correctly styled Windows Aero popup */
#mochiStickerPopup{width:min(610px,calc(100vw - 24px));max-height:min(88vh,750px);z-index:200;overflow:hidden;background:#eaf7ff;box-shadow:0 14px 40px #0b487e70,inset 0 1px #fff;border:2px solid #2588cf}
#mochiStickerPopup.active{display:flex;flex-direction:column}
#mochiStickerPopup .popup-title{flex:0 0 auto;background:linear-gradient(180deg,#d9f5ff 0%,#85c8f6 48%,#328dd7 51%,#80c5f5 100%);color:#073d70;text-shadow:0 1px #fff;box-shadow:inset 0 1px #fff}
#mochiStickerPopup .mochi-sticker-popup-body{padding:12px;overflow-y:auto;min-height:0}
#mochiStickerPopup .mochi-sticker-widget{margin:0;border-radius:7px;padding:10px}
#mochiStickerPopup .mochi-sticker-board{height:265px;touch-action:manipulation}
#mochiStickerPopup .mochi-sticker-sub{font-size:11px}
#mochiStickerPopup .mochi-sticker-bottom{font-size:10px}
#mochiStickerPopup .mochi-sticker-palette button{min-width:44px;min-height:39px}
@media(max-width:500px){#mochiStickerPopup .mochi-sticker-board{height:205px}#mochiStickerPopup .mochi-sticker-popup-body{padding:7px}}
@media(prefers-reduced-motion:reduce){#mochiStickerPopup.active{animation:none!important}}


/* MOCHI.EXE MENU — featured Sticker Wall shortcut (Windows 7 Aero) */
#mainWindow .left-panel .nav .mochi-sticker-menu-btn {
  position:relative; isolation:isolate; overflow:hidden;
  display:flex; align-items:center; justify-content:flex-start; gap:5px;
  border:1px solid #287fcb; border-radius:5px;
  background:linear-gradient(180deg,#f6fdff 0%,#c3ecff 43%,#75c6ff 49%,#d5f3ff 100%);
  color:#064b87; font-weight:900; letter-spacing:.2px;
  box-shadow:inset 0 1px 0 #fff, inset 0 -1px 0 #a0d5ff, 0 2px 0 #4b9ccc,0 0 9px #45bdff55;
  animation:mochiStickerMenuGlow 3.2s ease-in-out infinite;
  transition:transform .18s ease,filter .18s ease,box-shadow .18s ease;
}
#mainWindow .left-panel .nav .mochi-sticker-menu-btn::before {
  content:""; position:absolute; z-index:-1; inset:-30% auto -30% -65%; width:38%;
  transform:skewX(-25deg); background:linear-gradient(90deg,transparent,#ffffffaa,transparent);
  animation:mochiStickerMenuShine 4.4s ease-in-out infinite; pointer-events:none;
}
#mainWindow .left-panel .nav .mochi-sticker-menu-btn:hover {
  transform:translateX(3px) scale(1.025); filter:saturate(1.2);
  box-shadow:inset 0 1px 0 #fff,0 3px 0 #388dc7,0 0 16px #39bbff99;
}
#mainWindow .left-panel .nav .mochi-sticker-menu-btn:active {transform:translateX(1px) scale(.98)}
#mainWindow .left-panel .nav .mochi-sticker-menu-btn:focus-visible {outline:2px solid #005bbb;outline-offset:3px}
#mainWindow .left-panel .nav .mochi-sticker-menu-icon {display:inline-block;animation:mochiStickerMenuWiggle 3.7s ease-in-out infinite;flex:none}
#mainWindow .left-panel .nav .mochi-sticker-menu-label {min-width:0;flex:1;text-align:left}
#mainWindow .left-panel .nav .mochi-sticker-menu-new {
  flex:none; padding:2px 3px; border-radius:3px; background:#fff4a0; color:#7d4600;
  border:1px solid #e8b74e; font-size:8px; line-height:1; font-weight:900;
  box-shadow:0 1px 0 #fff8; animation:mochiStickerMenuBadge 1.8s steps(1,end) infinite;
}
@keyframes mochiStickerMenuGlow {0%,100%{box-shadow:inset 0 1px 0 #fff,0 2px 0 #4b9ccc,0 0 4px #45bdff55}50%{box-shadow:inset 0 1px 0 #fff,0 2px 0 #4b9ccc,0 0 13px #45bdffaa}}
@keyframes mochiStickerMenuShine {0%,57%{left:-65%}82%,100%{left:140%}}
@keyframes mochiStickerMenuWiggle {0%,80%,100%{transform:rotate(0)}84%{transform:rotate(-14deg)}88%{transform:rotate(11deg)}92%{transform:rotate(-6deg)}}
@keyframes mochiStickerMenuBadge {0%,72%,100%{filter:brightness(1)}75%,92%{filter:brightness(1.18)}}
body.no-motion #mainWindow .left-panel .nav .mochi-sticker-menu-btn,
body.no-motion #mainWindow .left-panel .nav .mochi-sticker-menu-btn::before,
body.no-motion #mainWindow .left-panel .nav .mochi-sticker-menu-icon,
body.no-motion #mainWindow .left-panel .nav .mochi-sticker-menu-new {animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){
 #mainWindow .left-panel .nav .mochi-sticker-menu-btn,
 #mainWindow .left-panel .nav .mochi-sticker-menu-btn::before,
 #mainWindow .left-panel .nav .mochi-sticker-menu-icon,
 #mainWindow .left-panel .nav .mochi-sticker-menu-new {animation:none!important;transition:none!important}
}


/* MOCHI PAINT.EXE — high visibility hand-drawn paint trails */
.left-panel .mochi-paint-spotlight{
 position:relative;isolation:isolate;display:flex;align-items:center;gap:9px;
 width:100%;min-height:78px;box-sizing:border-box;margin:12px 0 14px;padding:13px 10px;
 text-decoration:none;color:#fff;border:2px solid #fff8;border-radius:11px;
 background:linear-gradient(145deg,#0067b9 0%,#129ee9 39%,#6548df 73%,#e352ac 100%);
 box-shadow:0 0 0 2px #1377c4,0 7px 17px #006bb875,inset 0 2px #fff9,inset 0 -4px #1740a680;
 overflow:hidden;transform:rotate(-1deg);
 animation:mochiPaintFloat 4s ease-in-out infinite,mochiPaintBorder 5s ease-in-out infinite;
 transition:transform .22s,filter .22s,box-shadow .22s;
}
.left-panel .mochi-paint-spotlight::before{
 content:"";position:absolute;inset:-100% -65%;z-index:-1;pointer-events:none;
 background:linear-gradient(100deg,transparent 38%,#ffffff05 43%,#fff9 49%,#ffffff05 54%,transparent 60%);
 transform:translateX(-90%) rotate(13deg);animation:mochiPaintShine 5s ease-in-out infinite;
}
.left-panel .mochi-paint-spotlight::after{
 content:"";position:absolute;inset:4px;z-index:-1;border:1px dashed #ffffff80;border-radius:7px;pointer-events:none;
}
.left-panel .mochi-paint-spotlight:hover,
.left-panel .mochi-paint-spotlight:focus-visible{
 transform:translateY(-4px) rotate(1deg) scale(1.035);
 filter:saturate(1.25);box-shadow:0 0 0 3px #d5f7ff,0 12px 26px #137bceac,0 0 25px #d65cfa,inset 0 2px #fff;
 outline:none;
}
.mochi-paint-icon{font-size:29px;flex:none;z-index:2;filter:drop-shadow(0 2px 3px #033c88);animation:mochiPaintWiggle 3.1s ease-in-out infinite}
.mochi-paint-words{display:flex;flex-direction:column;gap:5px;min-width:0;z-index:2;text-align:left}
.mochi-paint-words strong{font-size:clamp(11px,1.08vw,15px);line-height:1.1;letter-spacing:.4px;text-shadow:1px 2px #103780,0 0 8px #fff9;font-weight:900}
.mochi-paint-words small{font-size:8px;line-height:1.25;letter-spacing:.1px;color:#fff9f2;font-weight:800;text-shadow:0 1px #26427a}
.mochi-paint-go{font-size:23px;font-weight:900;margin-left:auto;flex:none;z-index:2;animation:mochiPaintArrow 1.7s ease-in-out infinite}
.mochi-paint-spark{position:absolute;z-index:1;color:#fffbc1;pointer-events:none;text-shadow:0 0 10px #fff}
.mochi-paint-spark-a{top:1px;right:11px;animation:mochiPaintTwinkle 2.1s infinite}
.mochi-paint-spark-b{bottom:0;left:5px;animation:mochiPaintTwinkle 2.6s 1s infinite}
.mochi-paint-sketch-lines{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden}
.mochi-paint-sketch-lines i{position:absolute;left:-45%;width:40%;height:3px;border-radius:90% 15% 90% 20%;transform:rotate(-14deg);opacity:0;filter:drop-shadow(0 0 3px #fff);animation:mochiPaintStreak 4.2s linear infinite}
.mochi-paint-sketch-lines i:nth-child(1){top:15%;background:#ffe656;animation-delay:0s}
.mochi-paint-sketch-lines i:nth-child(2){top:38%;height:4px;background:#ff8bcb;animation-delay:.5s}
.mochi-paint-sketch-lines i:nth-child(3){top:66%;background:#a6ffac;animation-delay:1s}
.mochi-paint-sketch-lines i:nth-child(4){top:82%;height:2px;background:#fff;animation-delay:1.5s}
@keyframes mochiPaintStreak{0%,8%{left:-50%;opacity:0}13%{opacity:1}42%{left:115%;opacity:1}49%,100%{left:115%;opacity:0}}
@keyframes mochiPaintFloat{0%,100%{transform:rotate(-1deg) translateY(0)}50%{transform:rotate(.7deg) translateY(-2px)}}
@keyframes mochiPaintBorder{0%,100%{box-shadow:0 0 0 2px #1377c4,0 7px 17px #006bb875,inset 0 2px #fff9}50%{box-shadow:0 0 0 2px #b6edff,0 7px 20px #8c45e5a8,0 0 17px #57ccff,inset 0 2px #fff9}}
@keyframes mochiPaintShine{0%,60%{transform:translateX(-90%) rotate(13deg)}80%,100%{transform:translateX(90%) rotate(13deg)}}
@keyframes mochiPaintWiggle{0%,100%{transform:rotate(-10deg)}50%{transform:rotate(13deg) scale(1.12)}}
@keyframes mochiPaintArrow{0%,100%{transform:translateX(0)}50%{transform:translateX(4px)}}
@keyframes mochiPaintTwinkle{0%,100%{opacity:.3;transform:scale(.75) rotate(0)}50%{opacity:1;transform:scale(1.3) rotate(40deg)}}
@media(max-width:1050px){.mochi-paint-words strong{font-size:11px}.mochi-paint-icon{font-size:23px}.mochi-paint-go{font-size:18px}}
@media(prefers-reduced-motion:reduce){.mochi-paint-spotlight,.mochi-paint-spotlight::before,.mochi-paint-icon,.mochi-paint-go,.mochi-paint-spark,.mochi-paint-sketch-lines i{animation:none!important}}

/* MOBILE: Paint first in menu, without covering the other buttons */
.mochi-paint-mobile-top{display:none}
@media(max-width:768px){
  #mainWindow .left-panel .mochi-paint-mobile-top{display:block;position:relative;z-index:1;margin:12px 0 16px;clear:both}
  #mainWindow .left-panel .nav > .mochi-paint-spotlight{display:none!important}
  #mainWindow .left-panel .mochi-paint-mobile-top .mochi-paint-spotlight{
    width:100%;max-width:100%;min-height:84px;margin:0;box-sizing:border-box;
    transform:none!important;animation:none!important;position:relative;z-index:1;
  }
  #mainWindow .left-panel .mochi-paint-mobile-top .mochi-paint-spotlight:hover,
  #mainWindow .left-panel .mochi-paint-mobile-top .mochi-paint-spotlight:focus-visible{
    transform:none!important;
  }
  #mainWindow .left-panel .mochi-paint-mobile-top .mochi-paint-words strong{font-size:clamp(13px,4vw,18px)}
  #mainWindow .left-panel .mochi-paint-mobile-top .mochi-paint-words small{font-size:9px}
  #mainWindow .left-panel .mochi-paint-mobile-top .mochi-paint-icon{font-size:30px}
  #mainWindow .left-panel .mochi-paint-mobile-top .mochi-paint-go{font-size:24px}
}

/* Paint mobile: only one button, safely placed above the rest. */
@media(max-width:768px){
  #mainWindow .left-panel > .mochi-paint-spotlight.mochi-paint-on-mobile{
    display:flex!important;position:relative!important;z-index:1!important;
    width:100%!important;max-width:100%!important;min-height:80px!important;
    margin:12px 0 16px!important;box-sizing:border-box!important;
    transform:none!important;animation:none!important;clear:both;
  }
  #mainWindow .left-panel > .mochi-paint-spotlight.mochi-paint-on-mobile:hover{transform:none!important}
}

@media (prefers-reduced-motion: reduce) {
    .mochi-marquee {
        white-space: normal;
    }

    .mochi-marquee-track {
        display: block;
        padding-left: 0;
        text-align: center;
        white-space: normal;
        animation: none;
    }

    .online-dot,
    .mia-retro-ad,
    .mia-retro-ad * {
        animation: none !important;
    }
}
