        .list {
            position: fixed;
            width: 30px;
            height: 30px;
            bottom: 10px;
            left: 10px;
            z-index: 999;
            background: var(--image) center/cover no-repeat;
            image-rendering: pixelated;
            filter: opacity(.5);
            transition: filter .2s ease-in-out, transform .2s ease-in-out
        }

        .list:hover {
            filter: drop-shadow(2px 2px 1px rgb(0 0 0 / .377)) opacity(1);
            transform: rotate(10deg)
        }

        .status-discord,
        .icon,
        .widget-display,
        .widget-clock {
            overflow: hidden
        }

        .dot-box,
        .status-discord,
        .clock-container,
        .status-bubble,
        .username,
        .widget-display,
        .widget-social,
        .widget-clock,
        img {
            user-select: none
        }

        #large_image,
        #small_image,
        .emoji {
            image-rendering: auto
        }

        .big-avatar,
        .avatar-box::after,
        .bubble {
            position: absolute
        }

        .dot-box,
        .status-discord {
            background-color: #fff;
            height: 30px;
            width: 30px
        }

        .status-discord *,
        .meta p,
        body,
        footer p {
            margin: 0
        }

        .dot,
        .ping {
            width: 20px;
            inset: 0;
            height: 20px
        }

        .status-discord,
        .container,
        .widget .content,
        body,
        header {
            display: flex
        }

        .status-discord .empty,
        .status-discord p {
            visibility: hidden
        }

        .date,
        .day {
            min-width: max-content
        }

        .status-discord p,
        .date,
        .follow,
        .time {
            font-weight: 700
        }

        .big-avatar,
        .avatar-box::after {
            box-shadow: rgb(0 0 0 / .2) 0 0 4px 0
        }

        .status-bubble,
        * {
            box-sizing: border-box
        }

        #large_image,
        #small_image {
            background: var(--image) center/cover no-repeat
        }

        .cookie::before,
        .hairclip::before,
        .pin,
        .poppy::after {
            image-rendering: pixelated
        }

        .clock-container,
        .mctooltip .tooltip,
        .vignette,
        img {
            pointer-events: none
        }

        @font-face {
            font-family: 'Minecraft Rus';
            src: local('Minecraft Rus Regular'), local('Minecraft');
            font-weight: 400;
            font-style: normal
        }

        :root {
            --text-color-about-me: #000000;
            --text-color: #101113;
            --sub-text-color: #353535;
            --c-repat: 4;
            --bento-width-total: calc(var(--pixel) * var(--c-repat) + var(--gap-px) * (var(--c-repat) - 1));
            --repeat: 8;
            --pixel: 175px;
            --gap-px: 40px;
            --cal: calc(var(--pixel) * var(--repeat) + var(--gap-px) * (var(--repeat) - 1))
        }

        ::-webkit-scrollbar {
            background-color: #fff0;
            width: 0
        }

        .container,
        body,
        html {
            width: 100%
        }

        ::-webkit-scrollbar-track {
            background: 0 0
        }

        ::-webkit-scrollbar-thumb {
            background: #f0b281;
            border-radius: 10px
        }

        ::selection {
            background-color: #8d5aff
        }

        .ping,
        .avatar-box::after,
        .bubble {
            background-color: #fff0
        }

        * {
            -webkit-user-drag: none;
            -moz-user-drag: none;
            -ms-user-drag: none;
            -khtml-user-drag: none;
            -o-user-drag: none
        }

        html {
            min-height: max-content;
            scroll-behavior: smooth
        }

        body {
            min-height: 100%
        }

        body::before {
            content: "";
            position: fixed;
            inset: 0;
            margin: -15px;
            z-index: -1;
            background-color: #fff;
        background-image: url("bgc.gif");


            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            filter: blur(3px)
        }

        .container {
            align-content: center;
            justify-content: center;
            flex-direction: row;
            height: fit-content;
            padding: clamp(24px, 6vw, 64px)
        }

        header {
            position: relative;
            width: calc(100% - var(--bento-width-total));
            max-width: 820px;
            flex-grow: 1;
            min-height: var(--cal);
            font-family: "Playpen Sans", cursive;
            z-index: 1
        }

        .about-me {
            max-width: 500px;
            margin-right: 30px;
            margin-bottom: 32px;
            position: sticky;
            height: fit-content;
            top: 128px;
            left: 64px;
            color: var(--text-color-about-me)
        }

        .about-me * {
            transition: transform .2s ease-in-out, scale .2s ease-in-out, visibility, opacity .5s
        }

        #back-to-top,
        .big-avatar,
        .bento {
            transition: transform .2s ease-in-out
        }

        .avatar-box {
            position: relative;
            width: 184px;
            height: 184px
        }

        .avatar-box::after {
            z-index: 5;
            content: "";
            inset: 0;
            border-radius: 50%
        }

        .bubble::after,
        .bubble::before {
            content: "";
            box-shadow: rgb(0 0 0 / .1) 0 0 2px 0
        }

        .big-avatar {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100%;
            height: 100%;
            border: 1px solid #fff;
            border-radius: 50%;
            object-fit: cover
        }

        .hairclip,
        .hairclip::before {
            width: 40px;
            height: 40px;
            position: absolute
        }

        .hairclip {
            top: 20px;
            left: 5px;
            z-index: 7
        }

        .dot-box,
        .avatar-pendant {
            z-index: 6;
            position: absolute
        }

        .hairclip::before {
            content: "";
            inset: 0;
            margin: auto;
            background: url("bgh.gif") 0 0/40px 80px no-repeat;
            border: 1px solid #fff;
            filter: drop-shadow(0 0 12px rgb(0 0 0 / .377));
            transform: rotate(20deg);
            transition: transform .3s
        }

        .pin,
        .poppy::after {
            filter: drop-shadow(0 2px 1px rgb(0 0 0 / .377))
        }

        .avatar-pendant,
        .bubble-trigger .position,
        .bubble::after,
        .bubble::before {
            transform: translate(-50%, -50%)
        }

        .avatar-box:active .hairclip::before,
        .avatar-box:hover .hairclip::before,
        .bubble-trigger.active .hairclip::before {
            background-position: 0 -40px;
            transform: rotate(-20deg)
        }

        .dot-box {
            border-radius: 50%;
            bottom: 14px;
            right: 14px
        }

        .status-discord {
            flex-direction: row;
            position: absolute;
            left: 0;
            bottom: 0;
            border-radius: 30px;
            padding: 5px;
            transition: width .5s ease-in-out
        }

        .dot,
        .ping,
        .bubble::after,
        .bubble::before {
            border-radius: 50%;
            position: absolute
        }

        .status-discord .empty {
            width: 25px;
            height: 20px
        }

        .status-discord p {
            font-size: .8em;
            white-space: nowrap;
            text-align: center
        }

        .avatar-box:hover .status-discord {
            width: max-content;
            min-width: fit-content
        }

        .avatar-box:hover .status-discord p,
        .bubble-trigger.active .position {
            visibility: visible
        }

        .ping {
            margin: auto;
            animation: 1s cubic-bezier(0, 0, .2, 1) infinite ping
        }

        @keyframes ping {

            75%,
            to {
                transform: scale(2);
                opacity: 0
            }
        }

        .dot {
            margin: auto;
            background-color: gray
        }

        .avatar-pendant {
        position: absolute;
        top: 7%;              /* chỉnh vị trí cao thấp */
        left: 50%;             /* căn giữa theo chiều ngang */
        width: 160%;           /* mũ to hơn avatar một chút */
        height: auto;          /* giữ tỉ lệ gốc */
        z-index: 6;
        transform: translate(-50%, -50%);
        pointer-events: none;  /* tránh click trúng mũ */
    }
        .bubble-trigger {
            cursor: pointer
        }

        .bubble-trigger .position {
            visibility: hidden;
            position: absolute;
            height: 0;
            width: 0;
            top: 78px;
            left: 122%;
            display: flex;
            justify-content: flex-start
        }

        .bubble::after,
        .bubble::before,
        .status-bubble,
        .widget>p {
            background-color: #fff;
            z-index: 1
        }

        .bubble::after {
            top: -1px;
            left: 21px;
            width: 20px;
            height: 20px
        }

        .bubble::before {
            top: -16px;
            left: 5px;
            width: 10px;
            height: 10px
        }

        .status-bubble {
            position: absolute;
            max-width: 254px;
            width: max-content;
            height: fit-content;
            border: 10px solid #fff;
            border-radius: 12px;
            word-wrap: break-word;
            font-size: .9em;
            color: var(--text-color);
            box-shadow: rgb(0 0 0 / .1) 0 1px 2px 0
        }

        .status-bubble img {
            object-fit: contain;
            float: left;
            shape-outside: url(khunganh.jpg);
            shape-margin: 3px
        }

        .emoji {
            display: none;
            width: 32px;
            height: 32px;
            object-fit: contain
        }

        .status-bubble .status-content {
            width: 100%;
            height: fit-content
        }

        .status-bubble::after {
            display: none;
            content: "~Hanabi~";
            position: absolute;
            bottom: 0;
            right: 0;
            width: fit-content;
            height: fit-content;
            color: #fff;
            font-weight: 700;
            background-color: #d51740;
            border-radius: 10px;
            padding: 0 5px
        }

        .pin {
            height: 30px !important;
            width: 30px !important;
            font-family: serif;
            font-size: 30px
        }

        #mail meta *,
        .follow,
        .name,
        .username,
        footer p {
            width: fit-content
        }

        #wallhack meta *,
        #dysphoria meta * {
            width: fit-content
        }

        footer p {
            height: fit-content;
            text-align: center;
            width: 100%;
            max-width: 100%;
        }

        .footer-tile {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            width: 100%;
            padding: 10px;
            box-sizing: border-box;
        }

        .banana-cat-huhu {
            width: 64px;
            height: 64px;
            transform: scaleX(-1);
            background: var(--image) center/cover no-repeat
        }

        .icon-1 {
            position: absolute;
            top: -20px;
            right: -20px;
            background: url(bgc4.gif) center/cover no-repeat;
            transform: rotate(30deg)
        }

        .icon-2 {
            position: absolute;
            bottom: -25px;
            left: -20px;
            background: url(bgc5.gif) center/cover no-repeat;
            transform: scaleX(-1) rotate(50deg)
        }

        .username {
            margin: 30px 0 0;
            display: flex;
            flex-direction: row;
            align-items: center;
            height: fit-content
        }

        .carousel-item,
        .icon {
            justify-content: center
        }

        .name {
            font-size: 2em;
            margin: 0
        }

        .cookie,
        .poppy {
            width: 40px;
            height: 40px;
            position: relative
        }

        .item {
            cursor: pointer
        }

        .poppy {
            display: inline-block;
            margin-left: 4px
        }

        .poppy::after {
            inset: 0;
            margin: auto;
            content: "";
            position: absolute;
            background: url('catttt.gif') center/cover no-repeat;
            
            width: 70px;
            height: 70px;
            animation: 5s infinite wobble
        }
        

        .cookie::before,
        .mctooltip .tooltip {
            filter: drop-shadow(2px 2px 1px rgb(0 0 0 / .377))
        }

        .link {
            text-decoration: none;
            color: #fcf5c2;
            font-weight: 700
        }

        @keyframes wobble {

            0%,
            100% {
                transform: rotate(0)
            }

            25% {
                transform: rotate(15deg)
            }

            50% {
                transform: rotate(-15deg)
            }

            75% {
                transform: rotate(10deg)
            }
        }

        .mememe .line {
            margin: 16px 0 !important
        }

        .cookie {
            display: inline;
            z-index: 7;
            margin-left: 5px
        }

        #img3,
        .hidden {
            display: none
        }

        .bento,
        .wrapper {
            width: fit-content;
            height: fit-content
        }

        .carousel-item img,
        .widget-display img {
            width: 100%;
            height: 100%;
            object-fit: cover
        }

        .cookie::before {
            content: "";
            position: absolute;
            inset: 0;
            margin: auto;
            width: 32px;
            height: 32px;
            background: url('bgc6.gif') center/cover no-repeat;
            object-fit: cover;
            transition: background .5s ease-in-out
        }
            


        @keyframes shake {

            0%,
            100% {
                transform: rotate(0)
            }

            25%,
            75% {
                transform: rotate(-5deg)
            }

            50% {
                transform: rotate(5deg)
            }
        }

        .cookie.shake::before {
            content: "";
            animation: .5s ease-in-out 4 shake
        }

        .about-me>p {
            font-size: 1.2em
        }

        .mememe * {
            text-shadow: 0 0 1.5px rgb(0 0 0 / .6)
        }

        .wrapper {
            z-index: 0;
            min-height: fit-content
        }

        .bento {
            display: grid;
            grid-template-columns: repeat(4, 175px);
            grid-template-rows: repeat(var(--repeat), 175px) 67.5px;
            grid-template-areas: "c c c c" "c c c c" "d d h1 h1" "s1 s2 h1 h1" "h2 h2 s3 s4" "h2 h2 s5 s6" "s7 s8 m m" "w w dy dy" "f f f f";
            gap: 40px;
            font-family: "Playpen Sans", cursive
        }

        .widget-clock {
            grid-area: c;
            background-image: url("bgh.gif");
            background-position: center;
            background-size: cover;
            position: relative;
            text-align: center;
            color: #fff
        }

        .vignette {
            z-index: 1;
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 50%;
            background: linear-gradient(to top, rgb(0 0 0 / .7), #fff0);
            opacity: .5
        }

        .widget-display:active p,
        .widget-display:hover p,
        .widget-social:hover .follow,
        .widget-clock:active p,
        .widget-clock:hover p {
            opacity: 1
        }

        .clock-container,
        .date,
        .day {
            position: absolute;
            left: 50%;
            transform: translate(-50%, -50%)
        }

        .clock-container {
            top: 34%;
            max-width: fit-content;
            max-height: fit-content;
            text-align: center;
            color: #fff
        }

        .clock-container span {
            filter: drop-shadow(0 0 6px rgb(0 0 0 / .6))
        }

        .time {
            opacity: .7;
            font-size: 10em;
            font-family: "Poetsen One", sans-serif
        }

        .day {
            bottom: -156px;
            font-size: 8em;
            font-style: italic;
            font-family: "Great Vibes", cursive
        }

        .date {
            bottom: -136px;
            font-size: 3.5em;
            font-family: "Passion One", sans-serif;
            font-style: normal
        }

        .widget {
              
            padding: 24px;
            background-color: hwb(0 100% 0% / .314);
            border-radius: 20px;
            outline: rgb(128 128 128 / .16) solid 1px;
            backdrop-filter: blur(15px);
            transition: background-color .2s ease-in-out, transform .2s ease-in-out
        }

        .widget:active {
            transform: scale(.95)
        }

        .widget:hover {
            background-color: hwb(0 68% 32% / .063)
        }

        .widget-display {
            position: relative;
            padding: 0 !important;
            cursor: not-allowed
        }

        .widget-display img {
            transition: filter .2s ease-in-out
        }

        .carousel {
            position: relative;
            width: 390px;
            height: 390px !important;
            grid-area: h1
        }

        .carousel-inner {
            display: flex;
            transition: transform .5s ease-in-out
        }

        .carousel-item {
            min-width: 100%;
            height: 390px !important;
            display: flex;
            align-items: center
        }

        .carousel-item img {
            image-rendering: smooth;
            display: block;
            margin: auto
        }

        .carousel-control {
            position: absolute;
            height: 56px !important;
            top: 50%;
            transform: translateY(-50%);
            background-color: #fff0;
            border: none;
            color: #fff;
            font-size: 2rem;
            cursor: pointer;
            padding: .5rem;
            border-radius: 50%;
            opacity: .4;
            transition: opacity .2s ease-in-out
        }

        .follow,
        .widget>p {
            opacity: 0;
            transition: opacity .2s ease-in-out
        }

        .carousel-control:hover {
            opacity: .8
        }

        .carousel .carousel-control svg {
            filter: drop-shadow(2px 2px 2px rgb(0 0 0 / .5))
        }

        .prev {
            left: 10px
        }

        .next {
            right: 10px
        }

        .carousel-indicators {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px
        }

        .discord-rpc,
        #mail,
        #wallhack,
        #dysphoria,
        #small_image,
        .widget-social {
            position: relative
        }

        .discord-rpc .free {
            width: max-content;
            height: fit-content;
            position: absolute;
            transform: translate(50%, 50%);
            bottom: 36%;
            right: 50%;
            color: #000b
        }

        .indicator {
            width: 10px;
            height: 10px;
            background-color: rgb(141 141 141 / .314);
            border-radius: 50%;
            cursor: pointer
        }

        .indicator.active {
            background-color: rgb(92 92 92 / .637)
        }

        #img1 {
            grid-area: h1
        }

        #img2 {
            grid-area: h2
        }

        .widget>p {
            color: var(--text-color);
            border-radius: 15px;
            padding: 8px;
            position: absolute;
            bottom: 0;
            left: 0;
            margin: 16px;
            font-size: .89em;
            outline: rgb(128 128 128 / .322) solid 1px
        }

        .meta p {
            color: var(--sub-text-color)
        }

        .meta b {
            font-size: .9em;
            white-space: nowrap
        }

        .widget-social {
            grid-area: auto;
            display: flex;
            flex-direction: column;
            text-decoration: none;
            color: var(--text-color)
        }

        .icon {
            display: flex;
            align-items: center;
            border-radius: 10px;
            box-shadow: rgb(0 0 0 / .2) 0 0 2px 0
        }

        #scroll-to-bento {
            visibility: hidden;
            border: none;
            cursor: pointer
        }

        .tooltip {
            border-radius: 5px
        }

        .icon,
        .icon img {
            width: 40px;
            height: 40px
        }

        img[src^="./src/assets/images/social/"] {
            width: 30px !important;
            height: 30px !important
        }

        img[src^="./src/assets/images/social/instagram.svg"] {
            width: 40px !important;
            height: 40px !important
        }

        #back-to-top img,
        footer .footer-box {
            width: 100%;
            height: 100%
        }

        .meta {
            margin-top: 8px;
            overflow-x: hidden
        }

        .meta p {
            font-size: .8em;
            padding: 0
        }

        .follow {
            position: absolute;
            bottom: 24px;
            left: 24px;
            padding: 7px 14px;
            color: #fff;
            font-size: .7em;
            height: fit-content;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: calc(100% - 48px);
        }

        /* Mobile optimization for follow button */
        @media (max-width: 768px) {
            .follow {
                padding: 8px 12px;
                font-size: .65em;
                bottom: 20px;
                left: 20px;
                max-width: calc(100% - 40px);
                min-width: 60px;
            }
        }

        @media (max-width: 480px) {
            .follow {
                padding: 6px 10px;
                font-size: .6em;
                bottom: 18px;
                left: 18px;
                max-width: calc(100% - 36px);
                min-width: 50px;
            }
        }

        footer {
            grid-area: f;
            padding: 15px 20px !important
        }

        footer .footer-box {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
        }

        #scroll-to-bento {
            z-index: 1000;
            position: fixed;
            bottom: 0;
            left: 50%;
            width: 100vw;
            height: fit-content;
            transform: translateX(-50%);
            background-color: #fff0;
            padding: 10px;
            filter: drop-shadow(0 0 4px rgb(0 0 0 / .5));
            transition: box-shadow .3s, opacity .3s
        }

        #back-to-top,
        .tooltip {
            z-index: 1000;
            padding: 5px;
            position: fixed
        }

        #scroll-to-bento svg {
            width: 50px;
            color: #fff
        }

        #back-to-top {
            position: fixed;
            bottom: -200px;
            right: 0;
            width: 100px;
            min-height: 230px;
            border: none;
            background: none;
            z-index: 1000;
            cursor: pointer;
            box-sizing: border-box;
            transition: transform 0.2s ease-in-out;
            background: url(koba1.gif) top/cover no-repeat;
            image-rendering: inherit;
            padding: 0;
            transition: 0.5s;
            filter: drop-shadow(0 0 2px rgb(0 0 0 / .5))
        }

        .discord-rpc {
            grid-area: d;
            user-select: none
        }

        .widget.discord-rpc {
            display: flex;
            max-height: 175px !important;
            background-color: hwb(0 100% 0% / .314);
            border-radius: 20px;
            outline: rgb(128 128 128 / .16) solid 1px;
            backdrop-filter: blur(20px);
            transition: background-color .2s ease-in-out, transform .2s ease-in-out;
            font-family: "Playpen Sans", cursive;
            line-height: 1.4
        }

        .widget-social.discord-rpc {
            display: flex;
            flex-direction: column;
            text-decoration: none;
            color: var(--text-color);
            position: relative
        }

        .discord {
            display: flex;
            flex-direction: column;
            gap: 8px;
            box-sizing: border-box;
            width: 100%;
            height: 100%;
            justify-content: space-between;
            font-size: 1
        }

        .discord .content {
            display: flex;
            flex-direction: row;
            align-items: center;
            font-size: .9em
        }

        .discord .content .icon {
            position: relative;
            flex-shrink: 0;
            border-radius: 0;
            box-shadow: unset !important
        }

        .discord .content .avatar {
            border-radius: 10px;
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
            width: 100%;
            height: 100%
        }

        .discord .meta {
            align-self: center;
            margin-top: 0;
            margin-left: 14px;
            width: 100%;
            min-width: 0
        }

        .discord .color-dot {
            position: absolute;
            right: 1px;
            bottom: 1px
        }

        .color-dot {
            border-radius: 50%;
            width: .6em;
            height: .6em
        }

        .discord .rpc {
            display: flex;
            flex-direction: row
        }

        .discord .image-container {
            display: flex;
            position: relative
        }

        .discord .large-image {
            border-radius: 10px;
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
            width: 72px;
            height: 72px
        }

        .discord .small-image {
            position: absolute;
            right: -4px;
            bottom: -4px;
            border-radius: 50%;
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
            width: 28px;
            height: 28px
        }

        .discord .timebar-container {
            display: flex;
            align-items: center;
            gap: 8px;
            width: 100%;
            font-family: Consolas, monospace
        }

        .discord .timebar-background {
            flex: 1;
            border-radius: 2px;
            background-color: #0004;
            height: 4px
        }

        .discord .timebar-progress {
            border-radius: inherit;
            background-color: #000;
            height: inherit
        }

        .widget.discord-rpc .icon {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            overflow: hidden;
            color: #fff
        }

        .overflow {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap
        }

        .bold {
            font-weight: 700
        }

        .timestamp {
            color: #43a25a;
            font-weight: 700;
            font-family: Consolas, monospace
        }

        .opaque {
            color: #353535
        }

        #large_image {
            border-radius: 10px;
            width: 72px;
            height: 72px !important
        }

        #small_image {
            top: -22px;
            left: 50px;
            border-radius: 50%;
            width: 30px;
            height: 30px !important
        }

        #mail {
            grid-area: m
        }

        #wallhack {
            grid-area: w
        }

        #dysphoria {
            grid-area: dy
        }

        #mail #img-widget,
        #wallhack #img-widget,
        #dysphoria #img-widget {
            position: absolute;
            height: 127px;
            width: 177px;
            top: 24px;
            right: 24px;
            bottom: 24px;
            object-fit: cover;
            border-radius: 10px;
            outline: rgb(104 104 104 / .411) solid 1px
        }

        .mctooltip {
            font-family: "Minecraft Rus"
        }

        .tooltip {
            transition: opacity .2s
        }

        .mctooltip img {
            -ms-interpolation-mode: nearest-neighbor;
            image-rendering: pixelated
        }

        .mctooltip .tooltip {
            font-size: medium;
            padding: .31em;
            border: 7px solid #fff0;
            border-radius: 13px;
            border-image: url(khunganh2.gif) 30% repeat;
            color: #fcfcfc;
            background-color: #1e0f1e;
            position: absolute;
            z-index: 999;
            display: none;
            opacity: .935;
            text-shadow: .11em .11em #303030;
            word-spacing: .2em;
            line-height: 1.4em;
            -webkit-user-select: none;
            -khtml-user-select: none;
            -moz-user-select: -moz-none;
            -o-user-select: none;
            user-select: none
        }

        .mctooltip div span {
            vertical-align: top
        }

        @media (width <1260px) {
            #spriteXingHui {
                display: none
            }

            .container {
                flex-direction: column;
                justify-content: flex-start;
                align-items: center;
                height: fit-content
            }

            header {
                min-width: 820px;
                max-width: 820px;
                width: 820px;
                min-height: 100vh
            }

            .about-me {
                width: max-content;
                max-width: 100%;
                margin: 0 0 10px;
                padding: 0 16px
            }

            .wrapper {
                padding-top: 20px
            }

            #scroll-to-bento {
                visibility: visible
            }

            header a path {
                box-shadow: rgb(0 0 0 / .2) 0 0 2px 0
            }
        }

        @media (width <900px) {

            .dot-box,
            .status-discord {
                height: 20px;
                width: 20px
            }

            .bubble-trigger.active .status-discord p,
            .widget>p {
                visibility: hidden
            }

            .follow,
            .widget>p {
                opacity: 1
            }

            header {
                min-width: 380px;
                max-width: 380px;
                width: 380px;
                height: 100vh
            }

            .about-me {
                top: 64px;
                margin-bottom: 32px;
                padding: 0 16px
            }

            .avatar-box {
                width: 120px;
                height: 120px
            }

            .big-avatar {
                width: 100%;
                height: 100%
            }

            .hairclip,
            .hairclip::before,
            .poppy::after {
                width: 30px;
                height: 30px
            }

            .hairclip {
                top: 10;
                left: -5px
            }

            .hairclip::before {
                background-size: 30px 60px
            }

            .avatar-box:active .hairclip::before,
            .avatar-box:hover .hairclip::before,
            .bubble-trigger.active .hairclip::before {
                background-position: 0 -30px;
                transform: rotate(-20deg)
            }

            .status-bubble {
                max-width: 210px;
                width: max-content;
                max-height: fit-content;
                white-space: normal
            }

            .avatar-pendant {
                width: 140px;
                height: 140px
            }

            .dot-box {
                border-radius: 50%;
                background-color: #fff;
                position: absolute;
                bottom: 14px;
                right: 4px
            }

            .status-discord {
                border-radius: 30px;
                padding: 5px;
                width: max-content;
                min-width: fit-content
            }

            .status-discord p {
                font-size: .5em;
                visibility: visible
            }

            .status-discord .empty {
                width: 15px;
                height: 10px
            }

            .bubble-trigger.active .status-discord {
                width: 20px;
                min-width: initial
            }

            .dot,
            .ping {
                width: 13px;
                height: 13px
            }

            .name {
                font-size: 1.6em
            }

            .poppy {
                width: 30px !important;
                height: 30px !important
            }

            .about-me>p {
                font-size: 1em
            }

            .bento {
                column-gap: 24px;
                row-gap: 24px;
                grid-template-columns: repeat(2, 178px);
                grid-template-rows: repeat(10, 178px);
                grid-template-areas: "c c " "d d" "s1 s2" "s3 s4" "h1 h2" "s5 s6" "s7 s8" "m m" "w w" "dy dy" "f f"
            }

            .clock-container {
                position: absolute;
                top: 5px;
                left: 50%;
                transform: translateX(-50%);
                min-width: fit-content;
                min-height: fit-content;
                text-align: center;
                color: #fff;
                pointer-events: none
            }

            .time {
                font-size: 80px
            }

            .day {
                bottom: -86px;
                left: 50%;
                font-size: 67px
            }

            .date {
                bottom: -75px;
                left: 50%;
                font-size: 30px
            }

            .carousel,
            .carousel-item {
                height: 380px !important;
                width: 380px !important
            }

            #mail #img-widget {
                height: 130px;
                width: 150px;
                top: 24px;
                right: 24px
            }

            .tooltip {
                position: fixed;
                z-index: 1000;
                padding: 5px;
                border-radius: 5px;
                transition: opacity .2s
            }

            .mctooltip img {
                -ms-interpolation-mode: nearest-neighbor;
                image-rendering: pixelated
            }

            .mctooltip .tooltip {
                font-size: .9em;
                padding: .31em;
                border: 7px solid #fff0;
                border-radius: 13px;
                border-image: url(./khunganh2.gif) 30% repeat;
                opacity: .935;
                pointer-events: none;
                text-shadow: .11em .11em #303030;
                word-spacing: .2em;
                line-height: 1.4em
            }

            .footer-tile {
                display: flex;
                flex-direction: row-reverse
            }
        }
        

.widget-social.music-player {
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    height: 100%;
    grid-area: w; /* Đảm bảo chiếm đúng grid area w */
}

.player-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 6px;
}

.album-art {
    width:50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto 6px;
    flex-shrink: 0;
}

.album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-info {
    flex: 1;
    text-align: center;
    min-height: 0;
}

.song-title {
    font-weight: bold;
    font-size: 0.7em;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
    line-height: 1.1;
}

.artist-name {
    font-size: 0.6em;
    color: var(--sub-text-color);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.progress-container {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 4px;
    position: relative;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: rgba(0,0,0,0.1);
    border-radius: 2px;
    margin-bottom: 3px;
    cursor: pointer;
    position: relative;
}

.progress {
    height: 100%;
    background-color: #f0b281;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s;
}

/* ===== CÁC GIÁ TRỊ CÓ THỂ THAY ĐỔI ===== */
:root {
    /* Kích thước gif handles */
    --handle-size: 30px;           /* Kích thước ô chứa gif (20px = nhỏ, 30px = vừa, 40px = to) */
    --gif-size: 45px;              /* Kích thước gif bên trong (16px = nhỏ, 24px = vừa, 32px = to) */
    
    /* Vị trí theo chiều dọc */
    --handle-top-offset: -35px;    /* Lùi lên trên (-15px = lùi ít, -25px = lùi nhiều, 0px = ngang thanh) */
    
    /* Vị trí gif cố định */
    --fixed-right-offset: 5px;   /* Vị trí gif trắng (-10px = sát cuối, -20px = xa cuối, 0px = ở cuối) */
    
    /* Hình dạng */
    --handle-border-radius: 3px;   /* Độ bo góc (3px = vuông, 10px = tròn vừa, 50% = tròn hoàn toàn) */
    --gif-border-radius: 2px;      /* Độ bo góc gif bên trong */
    
    /* Màu sắc */
    --moving-bg-color: transparent; /* Màu nền gif di chuyển (transparent = trong suốt, #000 = đen) */
    --fixed-bg-color: transparent;  /* Màu nền gif cố định (transparent = trong suốt, #fff = trắng) */
    
    /* Hiệu ứng */
    --handle-shadow: none;         /* Shadow cho gif cố định (none = không shadow, 0 2px 4px rgba(0,0,0,0.2) = có shadow) */
    --transition-speed: 0.1s;      /* Tốc độ di chuyển (0.1s = nhanh, 0.3s = chậm) */
}

/* Gif di chuyển theo tiến độ */
.progress-handle-moving {
    position: absolute;
    top: var(--handle-top-offset);
    left: 0%;
    transform: translateX(-50%);
    width: var(--handle-size);
    height: var(--handle-size);
    background: var(--moving-bg-color);
    border-radius: var(--handle-border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: left var(--transition-speed) ease;
}

.progress-handle-moving img {
    width: var(--gif-size);
    height: var(--gif-size);
    border-radius: var(--gif-border-radius);
    object-fit: cover;
    background: transparent;
    border: none;
    outline: none;
}

/* Gif đứng yên ở cuối */
.progress-handle-fixed {
    position: absolute;
    top: var(--handle-top-offset);
    right: var(--fixed-right-offset);
    transform: translateX(50%);
    width: var(--handle-size);
    height: var(--handle-size);
    background: var(--fixed-bg-color);
    border-radius: var(--handle-border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: var(--handle-shadow);
}

.progress-handle-fixed img {
    width: var(--gif-size);
    height: var(--gif-size);
    border-radius: var(--gif-border-radius);
    object-fit: cover;
    background: transparent;
    border: none;
    outline: none;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.55em;
    color: var(--sub-text-color);
}

.controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    flex-shrink: 0;
}

.controls button {
    background: none;
    border: none;
    font-size: 12px;
    cursor: pointer;
    color: var(--text-color);
    transition: color 0.2s, transform 0.2s;
    padding: 2px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.controls button:hover {
    color: #f0b281;
    transform: scale(1.1);
}

#play-btn {
    font-size: 14px;
    width: 28px;
    height: 28px;
}

.playlist-toggle {
    position: absolute;
    top: 6px;
    right: 6px;
}

#playlist-btn {
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    color: var(--sub-text-color);
    transition: color 0.2s;
    padding: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#playlist-btn:hover {
    color: #f0b281;
    background: rgba(0,0,0,0.08);
}

.playlist {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0 0 20px 20px;
    max-height: 240px;
    overflow-y: auto;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 100;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.1);
}

.playlist.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.playlist-header {
    padding: 8px 12px 6px;
    font-weight: bold;
    font-size: 0.8em;
    color: var(--text-color);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.playlist-items {
    padding: 4px;
}

.playlist-item {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 0.8em;
    color: var(--text-color);
    border-radius: 6px;
    margin: 2px 0;
    transition: background-color 0.2s;
}

.playlist-item:hover {
    background-color: rgba(240, 178, 129, 0.2);
}

.playlist-item.active {
    background-color: rgba(240, 178, 129, 0.3);
    font-weight: bold;
}

.playlist-item-title {
    font-weight: 500;
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-item-artist {
    font-size: 0.95em;
    color: var(--sub-text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive adjustments for mobile */
@media (width < 900px) {
    #music-player {
        padding: 10px !important;
    }
    
    .album-art {
        width: 50px;
        height: 50px;
    }
    
    .song-title {
        font-size: 0.65em;
    }
    
    .artist-name {
        font-size: 0.55em;
    }
    
    .controls button {
        font-size: 11px;
        width: 22px;
        height: 22px;
    }
    
    #play-btn {
        font-size: 13px;
        width: 26px;
        height: 26px;
    }
    
    .time-info {
        font-size: 0.5em;
    }
}


#secret-letter .icon span {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    60% { transform: translateY(-3px); }
}

#secret-letter:hover .follow {
    background-color: #FF1493;
    transform: scale(1.05);
    transition: all 0.3s ease;
}
#secret-letter .follow {
    background-color: #FF69B4;
    color: #fff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    opacity: 1 !important; /* luôn hiện, không phụ thuộc hover */
    pointer-events: auto;
}
#secret-letter .meta {
    z-index: 1;
    position: relative;
    display: block;
}

#secret-letter .meta-container {
    position: relative; /* đảm bảo z-index của các phần tử con hoạt động đúng */
    display: grid;
    grid-template-columns: 56px 1fr auto;
    grid-auto-rows: min-content;
    column-gap: 12px;
    align-items: center;
    min-height: 120px;
}

#secret-letter .secret-decoration {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    transition: opacity 0.3s ease;
    z-index: 1;
}

#secret-letter:hover .secret-decoration {
    opacity: 0.5;
}

#secret-letter:hover b {
    color: #FF1493;
}
#secret-letter {
    grid-area: dy; /* Chiếm vùng dy giống ô nhạc */
}