        @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

        *,
        *::before,
        *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box
        }

        :root {
            --bg-primary: #fafafa;
            --bg-surface: #ffffff;
            --bg-surface-2: #f5f3f0;
            --bg-surface-3: #ebe8e3;
            --accent: #cb6363;
            --nickname: #cb6363;
            --text-primary: #1a1a1a;
            --text-secondary: #3d3a38;
            --text-muted: #837e79;
            --text-light: #c2bcb5;
            --border: rgba(26, 26, 26, 0.09);
            --shadow-soft: 0 4px 20px rgba(26, 26, 26, 0.06);
            --radius-sm: 6px;
            --radius: 12px;
            --radius-xl: 28px;
            --ease: cubic-bezier(0.22, 1, 0.36, 1);
            --t: 0.18s;
            --font: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
            --font-mono: 'Space Mono', 'Courier New', monospace
        }

        html.dark {
            --bg-primary: #000000;
            --bg-surface: #121212;
            --bg-surface-2: #1c1c1c;
            --bg-surface-3: #262626;
            --accent: #cb6363;
            --text-primary: #fafafa;
            --text-secondary: #c9c5c0;
            --text-muted: #7d7873;
            --text-light: #4a4642;
            --border: rgba(255, 255, 255, 0.09);
            --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.5)
        }

        html.dark body {
            background-image: radial-gradient(ellipse 60% 40% at 15% 0%, rgba(150, 47, 191, 0.10) 0%, transparent 55%), radial-gradient(ellipse 50% 35% at 90% 100%, rgba(254, 218, 117, 0.05) 0%, transparent 50%)
        }

        html.dark .menu-wrapper::after {
            background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.95))
        }

        html.dark .input-sec {
            background: linear-gradient(to bottom, #000000 75%, transparent)
        }

        html {
            -webkit-text-size-adjust: 100%;
            scroll-behavior: smooth
        }

        body {
            background: var(--bg-primary);
            font-family: var(--font);
            color: var(--text-secondary);
            line-height: 1.6;
            min-height: 100dvh;
            -webkit-font-smoothing: antialiased;
            padding: 0;
            margin: 0;
            background-image: radial-gradient(ellipse 60% 40% at 15% 0%, rgba(150, 47, 191, 0.05) 0%, transparent 55%), radial-gradient(ellipse 50% 35% at 90% 100%, rgba(250, 161, 58, 0.04) 0%, transparent 50%)
        }

        .container {
            max-width: 1080px;
            margin: 0 auto
        }

        .deco-dialog {
            background: var(--bg-primary)
        }

        h1,
        h2,
        h3 {
            font-family: var(--font-mono);
            color: var(--text-primary);
        }

        h1 {
            font-size: 2.6rem;
            font-weight: 800;
            line-height: 1.0;
            margin-bottom: 0.2rem
        }

        h1 span {
            background: var(--nickname);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text
        }

        h2 {
            font-size: 2rem;
            font-weight: 700;
            margin: 1.8rem 0 0.6rem;
            display: inline-flex;
            align-items: center;
        }

        h2::before {
            content: '';
            display: inline-block;
            width: 20px;
            height: 2px;
            background: var(--nickname);
            border-radius: 2px;
            flex-shrink: 0
        }

        h3 {
            font-size: 1.8rem;
            font-weight: 700;
            margin: 1rem 0 0.4rem
        }

        p {
            color: var(--text-secondary);
            margin-bottom: 0.75rem;
            line-height: 1.75;
            font-size: 0.95rem
        }

        ul,
        ol {
            padding-left: 1.4rem;
            margin: 0.3rem 0 0.65rem
        }

        li {
            color: var(--text-secondary);
            margin-bottom: 0.25rem;
            font-size: 0.95rem
        }
        /* header card */
        header {
            background:var(--bg-surface-2);
            padding: 10px 0;
            border-bottom: 1.5px solid var(--border);
        }

    

        .header-flex {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        /* brand */
     .brand-link {
    display: flex;
    align-items: center;
    gap: 5px;
}
        .brand-link a{
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.3rem;
            font-weight: 700;
            color: #0f172a;
            text-decoration: none;
        }

        .brand-link img {
            height: 1.5rem;
            width: 1.5rem;
        }
        .brand-link span{
            color: var(--text-secondary);
        }

        /* desktop nav */
        .nav-desktop {
            display: none;
            align-items: center;
            gap: 1.5rem;
        }

        .nav-desktop a {
            font-size: 0.875rem;
            font-weight: 500;
            color: #64748b;
            text-decoration: none;
            transition: color 0.2s ease;
            white-space: nowrap;
        }

        .nav-desktop a:hover,
        .nav-desktop a.active {
            color: #0f172a;
        }

        .nav-desktop a.active {
            color: #0f172a;
        }

        /* more button in desktop */
        .more-wrapper {
            position: relative;
        }

        .more-btn {
            display: flex;
            align-items: center;
            gap: 0.25rem;
            background: transparent;
            border: none;
            font-size: 0.875rem;
            font-weight: 500;
            color: #64748b;
            cursor: pointer;
            padding: 0;
            transition: color 0.2s ease;
            font-family: inherit;
        }

        .more-btn:hover {
            color: #0f172a;
        }

        .more-btn svg {
            width: 1rem;
            height: 1rem;
            stroke: var(--text-light);
            transition: transform 0.2s ease;
        }

        .more-btn[aria-expanded="true"] svg {
            transform: rotate(180deg);
        }

        .dropdown {
            position: absolute;
            top: calc(100% + 0.5rem);
            right: 0;
            background: white;
            border-radius: 0.75rem;
            padding: 0.5rem 0;
            min-width: 160px;
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-4px);
            transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
            z-index: 20;
            border: 1px solid #f1f5f9;
        }

        .dropdown.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown a {
            display: block;
            padding: 0.5rem 1.25rem;
            font-size: 0.875rem;
            font-weight: 500;
            color: #334155;
            text-decoration: none;
            transition: background 0.15s, color 0.15s;
        }

        .dropdown a:hover {
            background: #f1f5f9;
            color: #0f172a;
        }

        /* right side: hamburger only (no translate) */
        .right-actions {
           
            display: none;
        }

        .hamburger {
            display: flex;
            padding: 0.5rem;
            border-radius: 0.5rem;
            background: transparent;
            border:1.5px solid var(--border);
            cursor: pointer;
            transition: background 0.15s;
        }

        .hamburger:hover {
            background: #f1f5f9;
        }

        .hamburger svg {
            width: 1.25rem;
            height: 1.25rem;
            stroke: var(--text-light);
            stroke-width: 2;
            fill: none;
        }

        /* ----- mobile menu (hidden by default) ----- */
        .mobile-menu {
            display: none;
            background:var(--bg-surface);
            padding: 1rem 1.5rem;
            margin-top: 10px;
        }

        .mobile-menu.open {
            display: block;
        }

        .mobile-nav {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            max-height: 24rem;
            overflow-y: auto;
        }

        .mobile-nav a {
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--text-light);
            text-decoration: none;
            transition: color 0.2s;
        }

        .mobile-nav a:hover,
        .mobile-nav a.active {
            color: var(--text-muted);
        }

        .mobile-nav a.active {
            color: var(--text-muted);
        }

        .mobile-footer {
            padding-top: 1rem;
            margin-top: 1rem;
            border-top: 1px solid var(--border);
        }

        .footer-links {
            display: flex;
            gap: 1rem;
        }

        .footer-links a {
            font-size: 0.75rem;
            color: var(--text-light);
            text-decoration: none;
            transition: color 0.15s;
        }

        .footer-links a:hover {
            color: var(--text-muted);
        }



        .page-info {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 10px 10px 2px 10px;
        }

        .page-info p {
            max-width: 44rem;
            color: var(--text-muted);
            margin-top: 10px;
            margin-bottom: 0;
        }

        .btn-group {
            text-align: right;
        }

        .input-sec {
            position: sticky;
            top: 0;
            z-index: 999;
            padding: 0.5rem;
            background: linear-gradient(to bottom, var(--bg-primary) 75%, transparent)
        }

        .input {
            position: relative;
            background: var(--bg-surface);
            border-radius: var(--radius);
            border: 1.5px solid var(--accent);
            padding: 0.4rem;
            transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
            margin: 0 1% 5px 1%;
            overflow: hidden
        }

        .input:focus-within {
            border-color: var(--accent);
        }

        .input textarea {
            width: 100%;
            border: none;
            outline: none;
            resize: none;
            font-size: 1rem;
            font-family: var(--font);
            font-weight: 600;
            color: var(--text-primary);
            background: transparent;
            padding: 0.2rem 2.4rem 0.2rem 0.2rem;
            min-height: 44px;
            line-height: 1.5;
            text-align: center;
        }

        .input textarea::placeholder {
            color: var(--text-light);
            font-weight: 500
        }

        #inputCount {
            position: absolute;
            bottom: 0.2rem;
            right: 50px;
            font-family: var(--font-mono);
            font-size: 0.55rem;
            color: var(--text-muted);
            padding: 0.05rem 0.5rem;
            border-radius: var(--radius-sm);
            pointer-events: none;
            font-weight: 700
        }

        #clearInput,
        #bioIdeas {
            position: absolute;
            top: 0;
            right: 0;
            background: transparent;
            border: none;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--text-secondary);
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            touch-action: manipulation;
            transition: all var(--t) var(--ease);
            -webkit-tap-highlight-color: transparent
        }

        #clearInput:hover {
            background: #dc2743;
            color: white
        }

        #bioIdeas {
            right: 0;
    top: auto;
    width: auto;
    padding: 4px 10px;
    height: 26px;
    bottom: 0;
    background: var(--nickname);
    color: #fff;
    border: none;
    cursor: pointer;
    display: block;
    border-radius: 10px 0;
        }

        #bioIdeas:hover {
            filter: brightness(1.08)
        }

        #clearInput:active,
        #bioIdeas:active {
            transform: scale(0.88)
        }

        .share-it {
            display: flex;
            justify-content: flex-end;
            align-items: center;
        }

        .share-it span {
            font-size: 12px;
            text-transform: uppercase;
            font-weight: bold;
            font-family: system-ui;
        }

        #st-1 {
            z-index: 9 !important;
        }

        .share-url {
            display: flex;
            align-items: center;
            padding: 10px 0;
        }

        .share-url label {
            font-size: 12px;
            text-transform: uppercase;
            font-weight: 500;
            color: var(--text-muted);
            white-space: nowrap;
            font-family: var(--font-mono);
        }

        .share-url input {
            flex: 1;
            padding: 8px 12px;
            border: 1px solid var(--bg-surface-2);
            border-radius: 5px 0 0 5px;
            font-size: 13px;
            height: 35px;
            background: var(--bg-primary);
            color: var(--text-secondary);
            outline: none;
            font-family: var(--font-mono);
        }

        .share-url button {
            padding: 5px;
            background: var(--bg-surface-2);
            color: var(--text-muted);
            border: none;
            border-radius: 0 15px 15px 0;
            cursor: pointer;
            font-size: 13px;
            height: 35px;
            font-weight: 500;
            transition: background 0.3s;
            white-space: nowrap;
            font-family: var(--font-mono);
        }


        .menu-wrapper {
            display: flex;
            align-items: center;
            gap: 0.2rem;
            position: relative;
            width: 100%;
            background: var(--bg-surface);
            border-radius: var(--radius-xl);
            padding: 0.18rem 0.12rem;
            margin-bottom: 5px;
            border: 1px solid var(--border);
            overflow: hidden
        }

        #topMenu {
            display: flex;
            gap: 0.2rem;
            overflow-x: auto;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            padding: 0.15rem 0.1rem 0.2rem;
            flex: 1;
            align-items: center;
            scroll-behavior: smooth
        }

        #topMenu::-webkit-scrollbar {
            display: none
        }

        .nav-btn,
        .btn-group button {
            flex-shrink: 0;
            background: transparent;
            border: none;
            border-radius: var(--radius-xl);
            padding: 0.28rem 0.9rem;
            font-size: clamp(0.65rem, 1.3vw, 0.75rem);
            font-weight: 700;
            font-family: var(--font);
            color: var(--text-muted);
            cursor: pointer;
            touch-action: manipulation;
            white-space: nowrap;
            transition: all var(--t) var(--ease);
            min-height: 34px;
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
            -webkit-tap-highlight-color: transparent;
            user-select: none
        }

        .nav-btn i {
            font-style: normal;
            font-weight: 700
        }

        .nav-btn:hover,
        .btn-group button:hover {
            color: var(--text-primary);
            background: var(--bg-surface-2)
        }

        .nav-btn:active,
        .btn-group button:active {
            transform: scale(0.93)
        }

        .nav-btn.active,
        .deco-mood-chip.active {
            color: #fff;
            background: var(--nickname);
            font-weight: 700
        }

        .scroll-btn {
            background: var(--bg-surface-2);
            border: 1px solid var(--border);
            border-radius: 50%;
            padding: 0.15rem 0.4rem;
            font-size: 0.75rem;
            color: var(--text-secondary);
            cursor: pointer;
            touch-action: manipulation;
            min-height: 32px;
            min-width: 32px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all var(--t) var(--ease);
            -webkit-tap-highlight-color: transparent;
            user-select: none
        }

        .scroll-btn:hover {
            background: var(--accent);
            color: white;
            border-color: var(--accent)
        }

        .scroll-btn:active {
            transform: scale(0.9)
        }

        .scroll-btn:disabled {
            opacity: 0.2;
            pointer-events: none
        }



        .cat-name h2 {
            font-size: clamp(0.62rem, 1.6vw, 0.72rem);
            margin: 0;
            color: var(--text-muted)
        }

        .cat-name h2::before {
            width: 12px
        }

        .cat-name span {
            font-family: var(--font-mono);
            font-size: 0.6rem;
            color: var(--text-muted);
            padding: 0.06rem 0.6rem;
            font-weight: 700;
            margin-left: 6px;
        }
        /* Names List Container */
.nameslist {
    margin-top: 10px;
}

/* List styling - INLINE */
.nameslist ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    align-items: center;
}

/* Each list item - INLINE */
.nameslist li {
    display: inline-flex;
    align-items: center;
    padding: 2px 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 5px;
    transition: all 0.2s ease;
    gap: 2px;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    min-height: 34px;
    flex-shrink: 0;
    flex-direction: column;
}

/* Hover effect */
.nameslist li:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

/* Active/click effect */
.nameslist li:active {
    transform: scale(0.95);
    background: #bbdefb;
}

/* Name paragraph */
.nameslist li p {
    margin: 0;
    pointer-events: none;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    color: inherit;
}

/* Character count span */
.nameslist li span {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 400;
    color: var(--text-muted);
    user-select: none;
}


/* Copy notification toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #ffffff;
    color: #2c3e50;
    padding: 12px 30px;
    border-radius: 50px;
    border: 1px solid #64b5f6;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    z-index: 9999;
    white-space: nowrap;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


        .font,
        .qList p {
            background: var(--bg-surface);
            border-radius: var(--radius);
            border: 1.5px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
            position: relative;
            margin-bottom: 8px;
            overflow: hidden;
        }

        .font:hover {
            border-color: var(--accent);
        }

        .font:hover span {
            display: block
        }

        .font p {
            font-size: 1.1rem;
            margin: 0;
            word-break: break-word;
            line-height: 1.5;
            color: var(--text-secondary);
            flex: 1;
            font-weight: 500;
            font-family: -apple-system, BlinkMacSystemFont, sans-serif;
            padding: 12px;
            cursor: pointer;
            text-align: center;
            transition: color var(--t) var(--ease)
        }

        .font p:hover {
            color: var(--accent)
        }

        .dark .font p:hover,
        .dark .font .alert:hover {
            color: #fff
        }

        .font div {
            width: 100%;
            position: relative;
        }

        .font span {
            position: absolute;
            bottom: 0;
            right: 0;
            pointer-events: none;
            user-select: none;
            font-family: var(--font-mono);
            font-size: 0.58rem;
            color: var(--text-muted);
            padding: 0.04rem 0.5rem;
            margin-left: 3px;
        }

        .alert {
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--bg-surface);
            color: var(--accent);
        }

        .font button,
        .otools a {
            background: var(--bg-surface-2);
            border: none;
            padding: 0.26rem 0.8rem;
            font-size: clamp(0.6rem, 1.2vw, 0.7rem);
            font-weight: 700;
            font-family: var(--font-mono);
            color: var(--text-muted);
            cursor: pointer;
            touch-action: manipulation;
            height: 100%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: all var(--t) var(--ease);
            flex-shrink: 0;
            -webkit-tap-highlight-color: transparent;
            user-select: none;
        }

        .font button:hover,
        .otools a:hover {
            background: var(--nickname);
            color: white;
        }

        .font button:active,
        .otools a:active {
            transform: scale(0.9)
        }

        .deco-cards-container {
            overflow: scroll;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }


        .deco-loadmore-wrap {
            margin: 5px 5px 10px 5px;
            display: flex;
            justify-content: center;
        }

        .deco-loadmore-btn {
            background: var(--nickname);
            border: none;
            border-radius: var(--radius-xl);
            padding: 0.7rem 1.8rem;
            font-family: var(--font);
            font-size: 1rem;
            font-weight: 700;
            color: #fff;
            cursor: pointer;
            touch-action: manipulation;
            transition: all var(--t) var(--ease);
            -webkit-tap-highlight-color: transparent;
            user-select: none;
        }

        .deco-loadmore-btn:active {
            transform: scale(0.95);
            box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .load-more-trigger {
            text-align: center;
            color: var(--text-muted);
            font-size: 0.78rem;
            font-family: var(--font-mono);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem
        }

        .spinner {
            width: 18px;
            height: 18px;
            border: 2px solid var(--border);
            border-top-color: var(--accent);
            border-radius: 50%;
            animation: spin 0.7s linear infinite;
            display: inline-block
        }

        @keyframes spin {
            to {
                transform: rotate(360deg)
            }
        }



        .random-card-grid {
            display: block
        }

        #decoDialogClose {
            color: var(--text-secondary)
        }

        .cat-name {
            margin: 10px;
        }

        .regen {
            position: fixed;
            bottom: 20%;
            right: 0;
            display: flex;
            gap: 6px;
            flex-direction: column;
            align-items: flex-end;
            z-index: 99;
        }

        .regen svg {
            width: 20px;
            height: 20px;
        }

        .regen button {
            padding: 10px 12px;
            border-radius: 50% 0 0 50%;
            cursor: pointer;
            border: 1px solid var(--border);
            border-right: none;
            background: var(--bg-surface);
            font-size: 1rem;
            color: var(--text-secondary);
            box-shadow: var(--shadow-soft);
            transition: all var(--t) var(--ease);
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
            user-select: none
        }

        .regen button:hover {
            background: var(--nickname);
            color: white;
            border-color: transparent
        }

        #regen {
            display: flex;
            flex-direction: column;
            font-size: 12px;
            padding: 10px;
            border-radius: 50% 0 0 50%;
            align-items: center;
        }

        .info-text {
            padding: 0 12px
        }

        .info-text img {
            max-width: 720px;
            border-radius: var(--radius);
            border: 1px solid var(--border);
            box-shadow: var(--shadow-soft)
        }

        #bottomMenu {
            margin-top: 15px;
        }

        footer {
            padding: 10px;
        }

        footer .container {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }

        footer .container p {
            color: var(--text-muted);
        }

        .menu-wrapper {
            position: relative;
            overflow: hidden
        }

        .menu-wrapper::after {
            content: '';
            position: absolute;
            right: 0;
            top: 0;
            bottom: 0;
            width: 18px;
            pointer-events: none;
            background: linear-gradient(to right, transparent, var(--bg-surface));
            opacity: 0;
            transition: opacity 0.3s;
            border-radius: 0 var(--radius-xl) var(--radius-xl) 0
        }

        .menu-wrapper:not(:has(.scroll-right:disabled))::after {
            opacity: 1
        }

        #themeToggle {
            background: var(--bg-surface);
    border: none;
    border-radius: 10px;
    font-size: 0.8rem;
    height: 30px;
    padding: 5px 8px;
    cursor: pointer;
    display: flex;
    color: var(--text-secondary);
    align-items: center;
    justify-content: center;
    transition: all var(--t) var(--ease);
    -webkit-tap-highlight-color: transparent;
    font-family: var(--font-mono);
        }


        .info-div .image-box img,
        .feat {
            width: 100%;
            height: auto;
        }

        .info {
            margin: 10px;
        }


        .deco-dialog {
            width: 600px;
            max-height: 75vh;
            display: flex;
            flex-direction: column;
            border-radius: 16px 16px 0 0;
            box-shadow: 0 8px 32px rgba(108, 92, 231, 0.12);
            overflow: hidden;
            transition: background 0.3s ease, border-color 0.3s ease;
        }

        .deco-layout-row {
            display: flex;
            flex-direction: row;
            position: relative;
        }

        .deco-main {
            flex: 1;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 6px;
            padding-right: 4px;
            min-width: 0;
        }

        .vmenu {
            flex: 0 0 auto;
            width: 85px;
            display: flex;
            flex-direction: column;
            padding: 6px 4px;
            position: sticky;
            top: 120px;
            align-self: flex-start;
            height: fit-content;
            max-height: calc(90vh - 240px);
            background: transparent;
            z-index: 5;
        }

        .deco-dialog .vmenu {
            top: 10px;
        }

        .deco-mood-chip {
            background: transparent;
            border: 1px solid transparent;
            border-radius: 30px;
            padding: 9px 0;
            font-size: 12px;
            font-weight: bold;
            color: var(--text-muted);
            text-align: center;
            cursor: pointer;
            line-height: 1.3;
            flex-shrink: 0;
            touch-action: manipulation;
            transition: all 0.15s;
            user-select: none;
        }



        .deco-mood-bar {
            flex: 1;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 3px;
            padding: 4px 0;
        }

        .mood-scroll-btn {
            background: transparent;
            border: none;
            border-radius: 8px;
            color: var(--accent);
            font-size: 13px;
            padding: 6px 0;
            cursor: pointer;
            flex-shrink: 0;
            line-height: 1.4;
            touch-action: manipulation;
            user-select: none;
            padding: 0;
            height: 30px;
            width: 100%;
        }

        .mood-scroll-btn:disabled {
            opacity: 0.2;
            cursor: default;
        }

        #decoDialog .deco-layout-row {
            padding: 0 1rem;
        }

        #decoDialog .deco-loadmore-wrap {
            margin-bottom: 2.5rem;
        }

        /* arts sec */
        .art-main {
            display: flex;
        }

        .art-content {
            flex: 1;
        }

        .art-content .item {
            display: inline-block;
            align-items: center;
            background: var(--bg-surface);
            border: 1.5px solid var(--border);
            border-radius: 10px;
            margin: 5px;
            cursor: pointer;
            transition: all 0.25s ease;
            aspect-ratio: 1;
            user-select: none;
            min-width: 55px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .art-content .item div {
            font-size: 1rem;
            padding: 5px;
        }



        .art-content .emos .item div {
            font-size: 1rem;
        }

        .emos .item {
            aspect-ratio: 0 !important;
            padding: 2px;
        }


        .arts textarea {
            min-height: 100px;
            background: var(--bg-surface);
            color: var(--text-secondary);
            border: none;
            font-size: 12px;
            border-radius: 10px;
            padding: 10px;
            font-family: Arial, sans-serif;
        }

        .art-content .item:hover {
            border-color: var(--accent);
        }

        .copied-alert {
            position: absolute;
            display: flex;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background: var(--bg-surface);
            color: var(--accent);
            font-weight: 700;
            font-size: 12px;
            align-items: center;
            justify-content: center;
        }



        @media (prefers-reduced-motion:reduce) {

            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                transition-duration: 0.01ms !important
            }
        }

        .otools a {
            display: inline-block;
            min-height: auto;
            padding: 10px;
            margin: 3px;
            text-decoration: none;
            border-radius: var(--radius-xl);
        }

        .top-point ul {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            list-style: none;
            padding-left: 0;
        }

        .top-point li {
            font-size: 1.1rem;
            font-weight: bold;
            width: 210px;
        }

        @media (min-width:720px) {

             .nav-desktop {
                display: flex;
            }
            .hamburger {
                display: none;
            }
            .mobile-menu {
                display: none !important;
            }
            .mobile-menu.open {
                display: none !important;
            }
            #fontslist {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 5px
            }

            #fontslist .cat-name,
            #fontsrandom .cat-name,
            .load-more-trigger,
            .deco-loadmore-wrap,
            .menu-wrapper {
                grid-column: 1 / -1
            }

            .info-div {
                display: flex;
                align-items: flex-start;
                gap: 30px;
            }

            .image-box {
                flex: 0 0 40%;
            }

            .text-box {
                flex: 0 0 60%;
                padding-right: 10px;
            }

            .feat {
                width: 720px;
            }

            .info-div .image-box img {
                width: 100%;
            }


        }

        @media (max-width:600px) {

           .right-actions{display: flex;
            align-items: center;
            gap: 1rem;
        }

            .brand a {
                font-size: 1.1rem;
            }

            .deco-dialog {
                width: 100%;
            }

            .container {
                margin: 0 1rem;
            }

            .font p,.deco-loadmore-btn {
                font-size: 0.85rem;
            }
            


        }