        :root {
            --bg: #00695C;
            --mc: #004D40;
            --sc: #000;
            --lbgc: #ffffff;
            --radius: 15px;
            font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
        }

        * {
            box-sizing: border-box
        }

        html,
        body {
            height: 100%
        }

        body {
            margin: 0;
            background: #E0F2F1;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            color: #111827;
            padding-bottom: 36px;
            line-height: 1.5;
        }

        .fAr,
        .Afr {
            display: none;
        }

        header {
            background: var(--bg);
            color: #fff;
            box-shadow: 0 6px 6px 0 rgb(0 0 0 / 35%);
        }

        header .inner {
            max-width: 970px;
            margin: 0 auto;
            padding: 0 16px;
            display: flex;
            flex-direction: column;
        }

        #topMenu {
            display: flex;
            flex-direction: row;
            align-items: center;
            overflow-x: auto;
            overflow-y: hidden;
            white-space: nowrap;
            scroll-behavior: smooth;
            height: 50px;
            background: #004D40;
        }

        #topMenu a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 8px 14px;
            border-radius: 18px;
            font-size: 1rem;
            text-decoration: none;
            color: #ffffff7a;
            font-family: var(--ftfamily);
        }

        #topMenu a:hover,
        #topMenu a.active {
            color: #ffffff;
        }

        #topMenu {
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        #topMenu::-webkit-scrollbar {
            height: 0px;
            display: none;
        }

        nav a,
        #menusec a,
        .floatmenu a {
            scroll-snap-align: start;
            display: inline-block;
            white-space: nowrap;
            padding: 4px 10px;
            border-radius: 20px;
            text-decoration: none;
            margin: 3px;
            background: #fff;
            color: #ffffff93;
            border: 1px solid transparent;
            font-size: 1rem;
        }

        nav a:hover,
        #menusec a:hover,
        .floatmenu a:hover {
            border-color: var(--sc);
            color: var(--sc);
            box-shadow: 0px 1px 3px -1px rgba(0, 0, 0, 0.5);
        }

        #results {
            width: 100%;
        }

        .font-list h2 {
            margin: 5px;
            font-size: 17px;
            color: #444;
            text-transform: uppercase;
        }

        #fMN {
            overflow: scroll;
        }

        .floatmenu {
            height: 100%;
            text-align: right;
            display: inline-block;
            margin-top: 10%;
            overflow: scroll;
            padding-right: 30px;
        }

        .floatmenu a {
            color: #000;
            font-size: 1.2rem;
        }

        #menusec a {
            margin-top: 8px;
            color: #444;
            font-size: 1.1rem;
            padding: 10px;
            box-shadow: none;
            background: #ffffff45;
        }

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

        button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 35px;
            height: 45px;
            border: none;
            background: transparent;
            cursor: pointer;
            font-size: 18px;
            line-height: 1;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
        }

        h1.entry-title {
            margin: 5px;
        }

        /* Input area */
        .input-section {
            position: sticky;
            top: 0;
            z-index: 40;
        }

        .input-section div {
            width: 100%;
            position: relative;
            display: flex;
            padding: 5px;
            align-items: baseline;
            justify-content: center;
        }

        button#menu {
            font-size: 2rem;
            height: 45px;
            width: 45px;
        }

        .input-section input {
            flex: 1;
            width: 100%;
            padding: 17px;
            font-size: 1.2rem;
            border: 2px solid #444;
            outline: none;
            background: #fff;
            border-radius: 25px;
            /* 🔥 Inside shadow */
            box-shadow:
                inset 0 2px 4px rgba(0, 0, 0, 0.15),
                inset 0 -1px 2px rgba(255, 255, 255, 0.6);
            transition: box-shadow .12s ease, transform .12s ease;
        }

        /* Focus state */
        .input-section input:focus {
            box-shadow:
                inset 0 3px 6px rgba(0, 0, 0, 0.18),
                0 0 0 2px rgba(0, 0, 0, 0.15);
        }

        /* Optional hover polish */
        .input-section input:hover {
            transform: translateY(-1px);
        }

        .input-text i {
            position: absolute;
            right: 40px;
            bottom: 10px;
            font-size: 12px;
            color: #777;
            z-index: 9;
        }

        #randomcloud {
            display: inline-block;
            text-align: center;
            margin: 0;
            padding: 0;
            width: 100%;
            height: 80px;
            overflow: hidden;
        }

        #randomcloud li {
            display: inline-block;
        }

        #randomcloud div {
            color: #444;
            font-size: 25px !important;
            padding: 2px;
            cursor: pointer;
            background: transparent;
            border: none;
        }

        #randomcloud .font:hover,
        #randomcloud .font:focus {
            color: #000;
            border: none;
            background: transparent;
        }

        #randomcloud div:hover {
            color: #000;
            background: #f1f1f1;
        }

        #randomcloud #item1 div {
            font-size: 10px;
        }

        #randomcloud #item2 div {
            font-size: 13px;
        }

        #randomcloud #item3 div {
            font-size: 17px;
        }

        #randomcloud #item4 div {
            font-size: 22px;
        }

        #randomcloud #item5 div {
            font-size: 28px;
        }

        .font-size-controller {
            width: 100%;
            text-align: right;
            padding: 0 30px 0;
        }

        .font-size-controller label {
            font-size: 14px;
            font-weight: 600;
            color: #333;
            width: 100px;
            text-transform: uppercase;
        }

        .font-size-controller input[type="range"] {
            width: 200px;
            height: 6px;
            background: linear-gradient(to right, #111, #555);
            border-radius: 10px;
            outline: none;
            appearance: none;
            -webkit-appearance: none;
            cursor: pointer;
        }

        /* Chrome / Edge / Safari thumb */
        .font-size-controller input[type="range"]::-webkit-slider-thumb {
            appearance: none;
            -webkit-appearance: none;
            width: 18px;
            height: 18px;
            background: #111;
            border-radius: 50%;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
            transition: transform 0.15s ease;
        }

        .font-size-controller input[type="range"]::-webkit-slider-thumb:hover {
            transform: scale(1.1);
        }

        /* Firefox thumb */
        .font-size-controller input[type="range"]::-moz-range-thumb {
            width: 18px;
            height: 18px;
            background: #111;
            border-radius: 50%;
            border: none;
            cursor: pointer;
        }

        /* Firefox track */
        .font-size-controller input[type="range"]::-moz-range-track {
            height: 6px;
            background: #555;
            border-radius: 10px;
        }

        /* Value text */
        #fontSizeValue {
            font-weight: 700;
            color: #000;
        }

        /* Overlay clear button styles */
        .clear-overlay {
            position: absolute;
            right: 10px;
            top: 50%;
            background: #ffffff75;
            transform: translateY(-50%);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 10px;
            height: 40px;
            width: 40px;
            border-radius: 20px;
            cursor: pointer;
            font-weight: 700;
            color: var(--mc);
            z-index: 10;
        }

        .clear-overlay:hover {
            box-shadow: 0 12px 30px rgba(11, 116, 222, 0.12);
        }

        .share-section {
            position: relative;
            display: flex;
            justify-content: flex-end;
            align-items: center;
        }

        .share-section span {
            color: #444;
            margin-right: 5px;
            text-transform: uppercase;
            font-size: 13px;
        }

        .share-options {
            display: flex;
            gap: 4px;
            flex-wrap: wrap;
        }

        .btn {
            padding: 12px 16px;
            width: auto;
            color: #fff;
            background: #fff;
            position: relative;
            border-radius: 10px;
            border: 0;
            cursor: pointer;
            font-weight: 600;
            box-shadow: 0 8px 22px rgba(11, 116, 222, 0.12);
            transition: transform .12s ease, box-shadow .12s ease;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(11, 116, 222, 0.14);
        }

        .btn.secondary {
            background: transparent;
            border: 1px solid rgba(11, 116, 222, 0.16);
            color: var(--mc);
            box-shadow: none;
        }

        .btn.closeit {
            color: #c40707;
            border: 2px solid #c40707;
        }

        .btn.copyit {
            color: #19b454;
            border: 2px solid #19b454;
        }

        .flourish-popup {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.55);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 999;
        }

        .flourish-popup.hidden {
            display: none;
        }

        .popup-box {
            background: var(--mc);
            color: #fff;
            width: 90%;
            max-width: 500px;
            max-height: 70vh;
            border-radius: 12px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        .popup-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 0 0 16px;
            background: #1c1c1c;
            position: relative;
        }

        .popup-header h3 {
            margin: 0;
            font-size: 16px;
        }

        #flourishList {
            padding: 12px;
            overflow-y: auto;
            list-style: none;
            margin: 0;
            flex: 1;
        }

        #flourishList .freefirestylishname {
            padding: 5px;
        }

        #flourishList .count {
            display: flex;
            justify-content: flex-end;
            font-size: 11px;
            opacity: 0.7;
            left: 15px;
            bottom: 10px;
        }

        #flourishList .font {
            font-size: 17px !important;
            color: #000;
            padding: 12px;
            border-radius: 25px;
        }

        #flourishList .freefirestylishname:hover p {
            color: var(--mc);
        }

        #flourishList .copied-alert {
            position: absolute;
            right: 10px;
            bottom: 8px;
            font-size: 11px;
            color: #6cffb3;
            opacity: 0;
            transition: opacity 0.2s;
        }

        #flourishList li.copied .copied-alert {
            opacity: 1;
        }

        .popup-header button {
            background: none;
            border: none;
            color: #fff;
            cursor: pointer;
            font-size: 14px;
            width: 50px;
        }

        .popup-header button:hover {
            scale: 1.4;
        }

        .flourishit {
            text-align: center;
            padding: 5px;
        }

        #flourishRegenerate {
            color: #fff;
            background: #000;
            padding: 15px 20px;
            border-radius: 25px;
            font-size: 1.1rem;
            border: none;
            cursor: pointer;
            width: auto;
            transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
        }

        /* hover effect */
        #flourishRegenerate:hover {
            background: #000;
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
        }

        /* click / press effect */
        #flourishRegenerate:active {
            transform: scale(0.95);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
        }

        /* optional: remove blue outline on click */
        #flourishRegenerate:focus {
            outline: none;
        }

        .select-flourish {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 5px 0;
            flex-wrap: wrap;
            justify-content: center;
        }

        .select-flourish label {
            font-size: 1rem;
            font-weight: 500;
            color: #fff;
        }

        #flourishSelect {
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            padding: 10px 38px 10px 16px;
            font-size: 1rem;
            border-radius: 18px;
            background-color: #ffffff;
            color: #000;
            cursor: pointer;
            background-image:
                linear-gradient(45deg, transparent 50%, #000 50%),
                linear-gradient(135deg, #000 50%, transparent 50%),
                linear-gradient(to right, transparent, transparent);
            background-position:
                calc(100% - 20px) calc(50% - 4px),
                calc(100% - 14px) calc(50% - 4px),
                100% 0;
            background-size:
                6px 6px,
                6px 6px,
                2.5em 2.5em;
            background-repeat: no-repeat;
            transition:
                border-color 0.2s ease,
                box-shadow 0.2s ease,
                transform 0.1s ease;
        }

        /* hover */
        #flourishSelect:hover {
            box-shadow: 0 6px 14px rgba(15, 99, 82, 0.25);
        }

        /* focus */
        #flourishSelect:focus {
            outline: none;
            border-color: #000;
            box-shadow: 0 0 0 3px rgba(19, 138, 114, 0.25);
        }

        .grid ul {
            margin: 0;
            padding: 0;
        }

        .flurshit:hover {
            background-color: var(--mc);
            color: #fff;
        }

        .stylishfonts li {
            list-style: none;
            position: relative;
            margin-bottom: 5px;
        }

        .stylishfonts li .font {
            border-radius: 25px 0 0 25px;
            padding: 5px 0 15px;
            font-size: 1.5rem;
            border-top: 1px solid #bcbcbc;
            border-left: 1px solid #bcbcbc;
            border-bottom: 1px solid #bcbcbc;
            cursor: pointer;
            user-select: none;
            text-align: center;
            width: 100%;
            overflow: auto;
            position: relative;
            background: #fff;
            color: #444;
            resize: none;
            white-space: normal;
            word-break: break-word;
            /* smooth interaction */
            transition:
                transform 0.12s ease,
                box-shadow 0.12s ease,
                background-color 0.12s ease,
                border-color 0.12s ease;
        }

        /* Hover / focus */
        .stylishfonts li .font:hover,
        .stylishfonts li .font:focus {
            border-color: var(--sc);
            background: var(--lbgc);
            color: #000;
            outline: none;
        }

        /* CLICK / TAP effect */
        .stylishfonts li .font:active {
            transform: scale(0.97);
            box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12) inset;
            background: var(--lbgc);
        }

        .stylishfonts p {
            position: absolute;
            bottom: 5px;
            left: 10px;
            z-index: 2;
            display: flex;
            align-items: baseline;
            pointer-events: none;
            font-size: 0.7rem;
            color: #777;
            margin: 0 7px;
            padding: 0;
            cursor: default;
        }

        .freefirestylishname {
            display: flex;
        }

        .flurshit {
            background: var(--bg);
            border-radius: 0 25px 25px 0;
            cursor: pointer;
            display: flex;
            align-items: center;
            padding: 5px 10px 15px 7px;
            color: #ffffff87;
            font-size: 14px;
        }

        .buttons {
            display: flex;
            position: fixed;
            right: 0;
            bottom: 130px;
            flex-direction: column;
            background: #f1f1f1;
            border-radius: 20px 0 0 20px;
            box-shadow: 0px 1px 3px -1px rgba(0, 0, 0, 0.5);
            z-index: 99;
        }

        .buttons button:hover {
            scale: 1.1;
        }

        #bulbBtn svg {
            stroke: #f97304;
        }

        svg {
            width: 20px;
            height: 20px;
            stroke: #555;
            stroke-width: 1.6;
            fill: none;
        }

        footer {
            margin-top: 28px;
            background: var(--mc);
            color: #fff;
            padding: 18px 0;
        }

        footer .inner {
            max-width: 970px;
            margin: 0 auto;
            padding: 0 16px;
            display: flex;
            justify-content: space-between;
            gap: 12px;
            align-items: center;
        }

        footer a {
            color: rgba(255, 255, 255, 0.95);
            text-decoration: underline
        }

        .content-sec h3 {
            margin: 3px;
        }

        .close-button {
            top: 10px;
            position: fixed;
            right: 10px;
            padding: 8px 16px;
            font-size: 30px;
            border: none;
            border-radius: 20px;
            color: #444;
            background: #fff;
        }

        .copied-info {
            position: absolute;
            top: 8px;
            left: 10px;
            background: #e1a100;
            color: #000;
            font-size: 12px;
            padding: 4px 8px;
            border-radius: 12px;
            opacity: 0.9;
            pointer-events: none;
            animation: fadeInOut 0.1s ease;
        }

        @keyframes fadeInOut {
            from {
                opacity: 0;
                transform: translateY(4px);
            }

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

        .copied {
            background: var(--mc);
            opacity: 0.9;
            color: #fff;
            display: block;
            width: 220px;
            padding: 15px 0 15px 15px;
            position: fixed;
            border-radius: 20px 0 0 20px;
            top: 10%;
            right: 0;
            z-index: 999;
            box-shadow: 0 6px 6px 0 rgb(0 0 0 / 35%);
        }

        .copied p {
            margin: 0;
            max-height: 100px;
            overflow: scroll;
        }

        .ads {
            display: block;
            width: 100%;
            margin: 10px 0;
            height: auto;
            clear: both;
        }

        .loader {
            position: fixed;
            bottom: 15%;
            left: 10%;
            width: 120px;
            height: 20px;
            background: linear-gradient(#000 50%, #0000 0), linear-gradient(#0000 50%, #000 0), linear-gradient(#000 50%, #0000 0), linear-gradient(#0000 50%, #000 0), linear-gradient(#000 50%, #0000 0), linear-gradient(#0000 50%, #000 0) #ddd;
            background-size: calc(100%/6 + 1px) 200%;
            background-repeat: no-repeat;
            animation: l12 2s infinite;
        }

        @keyframes l12 {
            0% {
                background-position: calc(0*100%/5) 100%, calc(1*100%/5) 0%, calc(2*100%/5) 100%, calc(3*100%/5) 0%, calc(4*100%/5) 100%, calc(5*100%/5) 0%
            }

            16.67% {
                background-position: calc(0*100%/5) 0%, calc(1*100%/5) 0%, calc(2*100%/5) 100%, calc(3*100%/5) 0%, calc(4*100%/5) 100%, calc(5*100%/5) 0%
            }

            33.33% {
                background-position: calc(0*100%/5) 0%, calc(1*100%/5) 100%, calc(2*100%/5) 100%, calc(3*100%/5) 0%, calc(4*100%/5) 100%, calc(5*100%/5) 0%
            }

            50% {
                background-position: calc(0*100%/5) 0%, calc(1*100%/5) 100%, calc(2*100%/5) 0%, calc(3*100%/5) 0%, calc(4*100%/5) 100%, calc(5*100%/5) 0%
            }

            66.67% {
                background-position: calc(0*100%/5) 0%, calc(1*100%/5) 100%, calc(2*100%/5) 0%, calc(3*100%/5) 100%, calc(4*100%/5) 100%, calc(5*100%/5) 0%
            }

            83.33% {
                background-position: calc(0*100%/5) 0%, calc(1*100%/5) 100%, calc(2*100%/5) 0%, calc(3*100%/5) 100%, calc(4*100%/5) 0%, calc(5*100%/5) 0%
            }

            100% {
                background-position: calc(0*100%/5) 0%, calc(1*100%/5) 100%, calc(2*100%/5) 0%, calc(3*100%/5) 100%, calc(4*100%/5) 0%, calc(5*100%/5) 100%
            }
        }

        .page-load-status,
        .aryapage {
            display: none;
            align-items: center;
            width: 100%;
        }

        .loadmore {
            text-align: center;
        }

        #randombutton {
            width: auto;
            border-radius: 20px;
            padding: 25px;
            margin-top: 10px;
            background: var(--bg);
            color: white;
        }
        #randombutton:hover{
            background: var(--mc);
        }

        .info-text img {
            max-width: 100%;
        }

        .f-m-q,
        .f-m {
            position: fixed;
            top: 0;
            width: 100%;
            height: 100%;
            background: var(--bg);
            align-items: center;
            transition: right 0.3s;
            z-index: 9999;
            display: none;
        }

        .info-text ul {
            overflow: scroll;
        }

        /* Responsive */
        @media (max-width:920px) {
            .brand h1 {
                font-size: 1.5rem;
            }

            .info-text,
            #menusec {
                padding: 0 2%;
                overflow: hidden;
            }

            .font-list {
                padding: 0 2%;
            }

            .grid ul {
                grid-template-columns: 1fr;
                margin: 3%;
            }
        }

        @media (min-width:720px) {

            nav a,
            #menusec a,
            .floatmenu a {
                padding: 10px;
            }

            #randomcloud {
                height: 90px;
            }

            ul#randomcloud {
                margin-top: 10px;
            }
        }