
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: #f032f0;
    background: linear-gradient(180deg, rgba(240, 50, 240, 1) 26%, rgba(215, 163, 230, 1) 51%, rgba(255, 130, 232, 1) 76%);
    background-image: url(https://dl.glitter-graphics.com/pub/514/514873kwpj8sc5kp.gif);
    background-size: 40%;
    background-blend-mode: overlay;
    min-height: 100vh;
    font-family: sans-serif;
    cursor: url("mouse.gif"), auto;
    font-size: 20px;
}


.page-container {
    display: flex;
    gap: clamp(20px, 4vw, 50px);
    padding: 0;
    align-items: stretch;
    flex-wrap: nowrap;
    max-width: 100%;
    margin: 0 auto;
}

/* ===== 左 ===== */
.left-sidebar {
    flex: 0 0 clamp(180px, 22vw, 400px);
    min-width: 150px;
    max-width: 400px;
    background-image: url('https://dl.glitter-graphics.com/pub/3557/3557855f75ag46j7u.gif') !important;
    background-size: 100% auto !important;
    background-repeat: repeat !important;
    border-right: 0.5px solid #ffd8e8; 
    padding: 8px 4px;
    overflow-y: auto;
    align-self: stretch;
}

.left-sidebar .menu-gif {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    gap: 6px;
    margin-left: 0;
}

.left-sidebar .menu-gif a {
    display: block;
    flex-shrink: 0;
}

.left-sidebar .menu-gif img {
    width: 100%;
    max-width: 234px;
    height: auto;
    display: block;
}

/* ===== 右===== */
.right-sidebar {
    flex: 0 0 clamp(140px, 18vw, 480px);
    min-width: 120px;
    max-width: 480px;
    background-image: url('https://dl.glitter-graphics.com/pub/701/701387m35e2mytyw.gif') !important;
    background-size: 100% auto !important;
    background-repeat: repeat !important;
    border-left: 0.5px solid #ffd8e8;
    padding: 8px 4px;
    overflow-y: auto;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.right-sidebar .top-gif {
    width: 100%;
    max-width: 240px;
    height: auto;
    display: block;
    margin: 0 auto 12px auto;
}

/* ===== 中===== */
.main-wrap {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    color: #ffffff;
    padding: clamp(16px, 3vw, 32px);
    box-sizing: border-box;
    border-radius: 16px;
    border: 1px solid transparent;
    background: transparent !important;
    margin: 0;
}

/* ===== 标题 ===== */
h1 {
    color: #ffc8dd;
    font-size: clamp(48px, 1.5vw, 16px);
    text-align: center;
    text-shadow: 0 0 13px #ffc8dd, 0 0 10px #ff99bb;
    animation: blinkFade 4.5s infinite;
    margin-bottom: 20px;
}

@keyframes blinkFade {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
}

@font-face {
    src: url(https://dl.dropbox.com/s/gavkuhehligvhz8/PsycheLover-Regular.otf);
    font-family: psyche;
}
#psyche {
    font-family: psyche;
    font-size: 1.2em;
}

@font-face {
    src: url(https://dl.dropbox.com/s/1479f8x52y3z5u4/rainyhearts.ttf);
    font-family: hearts;
}
#hearts {
    font-family: hearts;
    font-size: 1.3em;
}

@font-face {
    font-family: sant joan;
    src: url(https://dl.dropbox.com/s/o5umfqvcshf0ugj/SantJoanDespiRegular.woff);
}
#power {
    font-family: sant joan;
    font-size: 2em;
}

@font-face {
    font-family: jogan;
    src: url(https://dl.dropbox.com/s/rfewjyytwfgqcfc/jogan.otf);
}
#jogan {
    font-family: jogan;
}

.welcome-area {
    display: flex;
    gap: clamp(12px, 3vw, 30px);
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.welcome-area .avatar {
    flex: 0 0 auto;
    max-width: 290px;
    width: clamp(120px, 25vw, 240px);
}
.welcome-area .avatar img {
    width: 100%;
    height: auto;
    display: block;
}

.welcome-area .welcome-text {
    flex: 1 1 200px;
    min-width: 140px;
    font-size: 36px !important;
    margin-top: clamp(10px, 3vh, 35px);
    text-align: left;
    line-height: 1.7;
}

.divider-line {
    width: 100%;
    max-width: 100%;
    height: 18px;
    margin: 4vh auto;
    background-image: url('https://dl.glitter-graphics.com/pub/549/549109aby6teywy3.gif');
    background-repeat: repeat-x;
    background-size: auto 100%;
}

.stamp-deer-row {
    display: flex;
    align-items: flex-start;
    gap: clamp(12px, 2vw, 30px);
    margin: 4vh 0;
    width: 100%;
    flex-wrap: wrap;
}

.stamp-area {
    flex: 1 1 300px;
    min-width: 0;
    max-width: 100%;
}

.stamp-area h4 {
    color: #F792B9;
    margin: 0 0 10px 0;
    font-size: 18px;
    text-align: center;
    word-break: break-word;
}
.stamp-area h4 a {
    text-decoration: none;
}
.stamp-area h4 img {
    vertical-align: middle;
    height: 1.2em;
    width: auto;
}

.stamp-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    min-width: 0;
    max-width: 100%;
}

.stamp-grid img {
    border: none;
    height: auto;
    max-width: 100%;
    flex-shrink: 0;
}

.stamp-grid img[style*="width:190px"] {
    width: clamp(100px, 14vw, 190px) !important;
}
.stamp-grid img[style*="width:120px"] {
    width: clamp(80px, 10vw, 120px) !important;
}

.stamp-grid img[src*="3780727uxqzufw6n3"] {
    flex-basis: 100% !important;
    width: clamp(100px, 14vw, 190px) !important;
    margin-top: 4px;
}

.deer-globe-wrap {
    flex: 0 0 auto;
    max-width: 370px;
    width: clamp(120px, 30vw, 370px);
    margin-left: auto;
    text-align: center;
}

.deer-globe-wrap img {
    width: 100%;
    height: auto;
    max-width: 370px;
    cursor: pointer;
    display: block;
}

.deer-globe-wrap .fade-text {
    margin-top: 12px;
    font-size: 16px;
    opacity: 0;
    display: none;
    word-break: break-word;
}
.deer-globe-wrap .fade-text a {
    color: #FFF200;
    text-decoration: none;
}
.deer-globe-wrap .fade-text img {
    display: inline;
    width: auto;
    height: 1.2em;
    vertical-align: middle;
}

.update-log {
    height: clamp(200px, 40vh, 350px);
    max-width: 90%;
    overflow-y: auto;
    border: 1px solid rgba(255, 210, 230, 0.25);
    border-radius: 8px;
    padding: 10px;
    color: #ffffff;
    margin: 10px auto;
    background-image: url('https://dl.glitter-graphics.com/pub/493/493275s8wrn8jsb5.gif');
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
}

.update-log .log-title {
    font-size: 42px;
    font-family: hearts;
    margin-bottom: 8px;
}

.update-log .log-content {
    font-size: 12px;
    line-height: 1.6;
}

.footer-note {
    margin-top: 50px;
    padding: 15px;
    text-align: center;
    font-size: 16px !important;
    color: #ffc8e0;
    line-height: 1.8;
    word-break: break-word;
}
.footer-note b img {
    vertical-align: middle;
    height: 1.2em;
    width: auto;
}

#plusfall {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}
.plus {
    position: absolute;
    width: 6px;
    height: 6px;
    animation: plusFall 1.8s linear forwards;
}
.plus::before,
.plus::after {
    content: "";
    position: absolute;
    background: var(--color);
    left: 0;
    top: 0;
}
.plus::before {
    width: 1px;
    height: 6px;
    left: 2px;
}
.plus::after {
    width: 6px;
    height: 1px;
    top: 2px;
}

@keyframes plusFall {
    0% { transform: translate(0, 0); opacity: 1; }
    100% { transform: translate(var(--dx), var(--dy)); opacity: 0; }
}

@media (max-width: 900px) {
    .page-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .left-sidebar {
        flex: 1 1 100%;
        max-width: 100%;
        border-right: none;
        border-bottom: 0.5px solid #ffd8e8;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
        padding: 6px;
    }
    .left-sidebar .menu-gif {
        margin-left: 0;
        flex: 0 1 auto;
        min-width: 100px;
    }
    .left-sidebar .menu-gif img {
        max-width: 160px;
    }

    .right-sidebar {
        flex: 1 1 100%;
        max-width: 100%;
        border-left: none;
        border-top: 0.5px solid #ffd8e8;
    }

    .main-wrap {
        flex: 1 1 100%;
        padding: 16px;
    }

    .welcome-area {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .welcome-area .welcome-text {
        text-align: center;
        margin-top: 10px;
        font-size: 36px !important;
    }

    .stamp-deer-row {
        flex-direction: column;
        align-items: center;
    }
    .deer-globe-wrap {
        margin-left: 0;
    }

    .update-log .log-title {
        font-size: 32px;
    }
    .update-log .log-content {
        font-size: 18px;
    }
    .footer-note {
        font-size: 16px !important;
    }
    .stamp-area h4 {
        font-size: 18px;
    }
    .deer-globe-wrap .fade-text {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
        font-size: 16px;
    }
    .page-container {
        padding: 0;
        gap: 6px;
    }
    .main-wrap {
        padding: 10px;
        border-radius: 10px;
    }
    .left-sidebar .menu-gif img {
        max-width: 120px;
    }
    .stamp-grid img[style*="width:190px"] {
        width: clamp(70px, 22vw, 130px) !important;
    }
    .stamp-grid img[style*="width:120px"] {
        width: clamp(60px, 18vw, 100px) !important;
    }
    .update-log {
        height: 180px;
    }
    .update-log .log-title {
        font-size: 32px;
    }
    .update-log .log-content {
        font-size: 18px;
    }
    .deer-globe-wrap {
        width: 80vw;
        max-width: 280px;
    }
    .welcome-area .welcome-text {
        font-size: 36px !important;
    }
    h1 {
        font-size: 48px;
    }
    .footer-note {
        font-size: 16px !important;
    }
    .stamp-area h4 {
        font-size: 18px;
    }
    .deer-globe-wrap .fade-text {
        font-size: 24px;
    }
}

	@-webkit-keyframes snowflakes-fall {
		0% {
			top: -10%
		}
		100% {
			top: 100%
		}
	}
	
	@-webkit-keyframes snowflakes-shake {
		0%,
		100% {
			-webkit-transform: translateX(0);
			transform: translateX(0)
		}
		50% {
			-webkit-transform: translateX(80px);
			transform: translateX(80px)
		}
	}
	
	@keyframes snowflakes-fall {
		0% {
			top: -10%
		}
		100% {
			top: 100%
		}
	}
	
	@keyframes snowflakes-shake {
		0%,
		100% {
			transform: translateX(0)
		}
		50% {
			transform: translateX(80px)
		}
	}
	
	.snowflake {
		position: fixed;
		top: -10%;
		z-index: 9999;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
		-webkit-animation-name: snowflakes-fall, snowflakes-shake;
		-webkit-animation-duration: 10s, 3s;
		-webkit-animation-timing-function: linear, ease-in-out;
		-webkit-animation-iteration-count: infinite, infinite;
		-webkit-animation-play-state: running, running;
		animation-name: snowflakes-fall, snowflakes-shake;
		animation-duration: 10s, 3s;
		animation-timing-function: linear, ease-in-out;
		animation-iteration-count: infinite, infinite;
		animation-play-state: running, running
	}
	
	.snowflake:nth-of-type(0) {
		left: 1%;
		-webkit-animation-delay: 0s, 0s;
		animation-delay: 0s, 0s
	}
	
	.snowflake:nth-of-type(1) {
		left: 10%;
		-webkit-animation-delay: 1s, 1s;
		animation-delay: 1s, 1s
	}
	
	.snowflake:nth-of-type(2) {
		left: 20%;
		-webkit-animation-delay: 6s, .5s;
		animation-delay: 6s, .5s
	}
	
	.snowflake:nth-of-type(3) {
		left: 30%;
		-webkit-animation-delay: 4s, 2s;
		animation-delay: 4s, 2s
	}
	
	.snowflake:nth-of-type(4) {
		left: 40%;
		-webkit-animation-delay: 2s, 2s;
		animation-delay: 2s, 2s
	}
	
	.snowflake:nth-of-type(5) {
		left: 50%;
		-webkit-animation-delay: 8s, 3s;
		animation-delay: 8s, 3s
	}
	
	.snowflake:nth-of-type(6) {
		left: 60%;
		-webkit-animation-delay: 6s, 2s;
		animation-delay: 6s, 2s
	}
	
	.snowflake:nth-of-type(7) {
		left: 70%;
		-webkit-animation-delay: 2.5s, 1s;
		animation-delay: 2.5s, 1s
	}
	
	.snowflake:nth-of-type(8) {
		left: 80%;
		-webkit-animation-delay: 1s, 0s;
		animation-delay: 1s, 0s
	}
	
	.snowflake:nth-of-type(9) {
		left: 90%;
		-webkit-animation-delay: 3s, 1.5s;
		animation-delay: 3s, 1.5s
	}
	
	.snowflake:nth-of-type(10) {
		left: 25%;
		-webkit-animation-delay: 2s, 0s;
		animation-delay: 2s, 0s
	}
	
	.snowflake:nth-of-type(11) {
		left: 65%;
		-webkit-animation-delay: 4s, 2.5s;
		animation-delay: 4s, 2.5s
	}