        /* ================================================================
   NOVA UI — Complete Design System
   Theme: Deep Space · Coral Accent · Modern Sans
================================================================ */

        @import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Serif+Display:ital@0;1&family=DM+Mono:wght@400;500&display=swap');

        /* ================================================================
   TOKENS — Light Mode
================================================================ */
        :root {
          --maxw: 1200px;

          /* Brand */
          --ac: #ff6b47;
          --ac-light: #ff8c6e;
          --ac-dark: #e54e2c;
          --ac-tint: rgba(255, 107, 71, 0.10);
          --ac-ring: rgba(255, 107, 71, 0.22);

          /* Neutrals */
          --n-0: #ffffff;
          --n-50: #f9f9fb;
          --n-100: #f2f2f6;
          --n-150: #e8e8ee;
          --n-200: #d8d8e2;
          --n-300: #b8b8cc;
          --n-400: #8888a4;
          --n-500: #606080;
          --n-600: #404060;
          --n-700: #282848;
          --n-800: #181830;
          --n-900: #0e0e20;

          /* Semantic */
          --bg: var(--n-50);
          --bg-alt: var(--n-100);
          --surface: var(--n-0);
          --surface-2: var(--n-50);
          --surface-3: var(--n-100);

          --text-1: var(--n-900);
          --text-2: var(--n-600);
          --text-3: var(--n-400);
          --text-4: var(--n-300);

          --bd: rgba(0, 0, 0, 0.07);
          --bd-md: rgba(0, 0, 0, 0.12);
          --bd-hi: rgba(0, 0, 0, 0.20);

          /* Elevation */
          --e-1: 0 1px 3px rgba(14, 14, 32, 0.06), 0 1px 2px rgba(14, 14, 32, 0.04);
          --e-2: 0 4px 12px rgba(14, 14, 32, 0.08), 0 1px 4px rgba(14, 14, 32, 0.05);
          --e-3: 0 12px 40px rgba(14, 14, 32, 0.12), 0 4px 12px rgba(14, 14, 32, 0.07);
          --e-ac: 0 4px 18px rgba(255, 107, 71, 0.25);

          /* Radii */
          --r-xs: 3px;
          --r-sm: 6px;
          --r-md: 10px;
          --r-lg: 16px;
          --r-xl: 24px;
          --r-2xl: 36px;
          --r-pill: 9999px;

          /* Type */
          --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
          --serif: 'DM Serif Display', Georgia, serif;
          --mono: 'DM Mono', 'Fira Code', monospace;

          /* Motion */
          --t-fast: 120ms;
          --t-base: 200ms;
          --t-slow: 320ms;
          --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
          --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
          --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        /* ================================================================
   TOKENS — Dark Mode
================================================================ */
        .dark {
          --bg: #0c0c1a;
          --bg-alt: #111124;
          --surface: #161630;
          --surface-2: #1c1c3a;
          --surface-3: #222244;

          --text-1: #eeeef8;
          --text-2: #9898b8;
          --text-3: #6060808;
          --text-4: #404060;

          --bd: rgba(255, 255, 255, 0.06);
          --bd-md: rgba(255, 255, 255, 0.10);
          --bd-hi: rgba(255, 255, 255, 0.16);

          --e-1: 0 1px 3px rgba(0, 0, 0, 0.35);
          --e-2: 0 4px 12px rgba(0, 0, 0, 0.50);
          --e-3: 0 12px 40px rgba(0, 0, 0, 0.65), 0 4px 12px rgba(0, 0, 0, 0.40);
        }

        /* ================================================================
   GLOBAL TRANSITION
================================================================ */
        *,
        *::before,
        *::after {
          box-sizing: border-box;
          margin: 0;
          padding: 0;
          transition:
            background-color var(--t-base) var(--ease),
            border-color var(--t-base) var(--ease),
            color var(--t-fast) var(--ease),
            box-shadow var(--t-base) var(--ease);
        }

        .loader,
        .loader * {
          transition: none !important;
        }

        /* ================================================================
   BASE
================================================================ */
        html,
        body {
          height: 100%;
        }

        a {
          text-decoration: none;
        }

        body {
          font-family: var(--sans);
          font-size: 15px;
          line-height: 1.65;
          color: var(--text-1);
          background-color: var(--bg);
          -webkit-font-smoothing: antialiased;
          -moz-osx-font-smoothing: grayscale;
          padding-bottom: 100px;
        }

        h1 {
          font-family: var(--serif);
          font-size: 2.1rem;
          font-weight: 400;
          font-style: italic;
          color: var(--text-1);
          line-height: 1.2;
        }

        h2 {
          font-family: var(--sans);
          font-size: 1.28rem;
          font-weight: 600;
          color: var(--text-3);
          letter-spacing: 0.12em;
          text-transform: uppercase;
        }

        h3 {
          font-family: var(--sans);
          font-size: 0.85rem;
          font-weight: 600;
          color: var(--text-2);
        }

        /* ================================================================
   LAYOUT
================================================================ */
        .container {
          max-width: var(--maxw);
          margin: 0 auto;
          padding: 0 28px;
        }

        /* ================================================================
   HEADER
================================================================ */
        header {
          background: var(--n-900);
          position: relative;
          z-index: 50;
          border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }

        .dark header {
          background: #08081a;
        }

        header .inner {
          max-width: var(--maxw);
          margin: 0 auto;
          padding: 0 28px;
          height: 58px;
          display: flex;
          align-items: center;
          justify-content: space-between;
          gap: 16px;
        }

        header a {
          color: rgba(255, 255, 255, 0.38);
          padding: 5px 11px;
          font-size: 0.72rem;
          font-weight: 500;
          letter-spacing: 0.07em;
          text-transform: uppercase;
          border-radius: var(--r-sm);
          transition: color var(--t-fast), background var(--t-fast);
        }

        header a:hover {
          color: var(--ac);
          background: rgba(255, 107, 71, 0.10);
        }

        /* ================================================================
   THEME TOGGLE
================================================================ */
        #themeToggle {
          display: inline-flex;
          align-items: center;
          gap: 7px;
          padding: 7px 16px;
          border-radius: var(--r-pill);
          border: 1px solid rgba(255, 255, 255, 0.12);
          background: rgba(255, 255, 255, 0.06);
          color: rgba(255, 255, 255, 0.50);
          font-family: var(--sans);
          font-size: 0.68rem;
          font-weight: 600;
          letter-spacing: 0.09em;
          text-transform: uppercase;
          cursor: pointer;
          flex-shrink: 0;
        }

        #themeToggle:hover {
          background: var(--ac);
          border-color: var(--ac);
          color: #fff;
          box-shadow: var(--e-ac);
        }

        #themeToggle .icon-moon {
          display: inline;
        }

        #themeToggle .icon-sun {
          display: none;
        }

        #themeToggle .label-dark {
          display: inline;
        }

        #themeToggle .label-light {
          display: none;
        }

        .dark #themeToggle .icon-moon {
          display: none;
        }

        .dark #themeToggle .icon-sun {
          display: inline;
        }

        .dark #themeToggle .label-dark {
          display: none;
        }

        .dark #themeToggle .label-light {
          display: inline;
        }

        /* ================================================================
   TOP NAV
================================================================ */
        #topMenu {
          display: flex;
          align-items: center;
          gap: 5px;
          padding: 14px 0;
          overflow-x: auto;
          white-space: nowrap;
          scrollbar-width: none;
        }

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

        #topMenu a {
          display: inline-flex;
          align-items: center;
          padding: 6px 16px;
          border-radius: var(--r-pill);
          font-size: 0.70rem;
          font-weight: 600;
          letter-spacing: 0.07em;
          text-transform: uppercase;
          color: var(--text-3);
          border: 1px solid var(--bd-md);
          background: var(--surface);
          white-space: nowrap;
          box-shadow: var(--e-1);
        }

        #topMenu a:hover,
        #topMenu a.active {
          background: var(--ac);
          border-color: var(--ac);
          color: #fff;
          box-shadow: var(--e-ac);
          transform: translateY(-1px);
        }

        #topMenu h3 {
          font-size: 0.60rem;
          color: var(--text-4);
          margin: 0 8px;
          flex-shrink: 0;
        }

        /* ================================================================
   STICKY INPUT
================================================================ */
        .input-section {
          display: flex;
          position: sticky;
          top: 0;
          z-index: 40;
          gap: 10px;
          align-items: center;
          padding: 14px 28px;
          background: rgba(249, 249, 251, 0.82);
          backdrop-filter: blur(20px) saturate(180%);
          -webkit-backdrop-filter: blur(20px) saturate(180%);
          border-bottom: 1px solid var(--bd);
          margin-left: -28px;
          margin-right: -28px;
        }

        .dark .input-section {
          background: rgba(12, 12, 26, 0.88);
        }

        .input-section div {
          width: 100%;
          position: relative;
        }

        .input-section input {
          width: 100%;
          padding: 14px 50px 14px 20px;
          border-radius: var(--r-pill);
          border: 1.5px solid var(--bd-md);
          background: var(--surface);
          font-family: var(--sans);
          font-size: 0.95rem;
          font-weight: 400;
          color: var(--text-1);
          outline: none;
          box-shadow: var(--e-1);
          letter-spacing: 0.01em;
        }

        .input-section input::placeholder {
          color: var(--text-4);
        }

        .input-section input:focus {
          border-color: var(--ac);
          box-shadow: 0 0 0 3px var(--ac-ring), var(--e-2);
        }

        #input-count {
          position: absolute;
          right: 22px;
          bottom: 5px;
          font-size: 10px;
          font-weight: 600;
          color: var(--text-4);
          letter-spacing: 0.06em;
          font-family: var(--mono);
        }

        .clear-overlay {
          position: absolute;
          right: 5px;
          top: 50%;
          transform: translateY(-50%);
          display: inline-flex;
          align-items: center;
          justify-content: center;
          width: 34px;
          height: 34px;
          border-radius: 50%;
          cursor: pointer;
          color: var(--text-3);
          background: transparent;
        }

        .clear-overlay:hover {
          color: var(--ac);
          background: var(--ac-tint);
        }

        /* ================================================================
   BUTTONS
================================================================ */
        .btn {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          gap: 7px;
          padding: 12px 26px;
          border-radius: var(--r-pill);
          border: 1.5px solid transparent;
          font-family: var(--sans);
          font-size: 0.72rem;
          font-weight: 700;
          letter-spacing: 0.09em;
          text-transform: uppercase;
          cursor: pointer;
          background: var(--ac);
          color: #fff;
          box-shadow: var(--e-ac);
          white-space: nowrap;
        }

        .btn:hover {
          background: var(--ac-dark);
          transform: translateY(-2px);
          box-shadow: 0 8px 28px rgba(255, 107, 71, 0.40);
        }

        .btn:active {
          transform: scale(0.97);
        }

        .btn.secondary {
          background: var(--surface);
          color: var(--text-2);
          border-color: var(--bd-md);
          box-shadow: var(--e-1);
        }

        .btn.secondary:hover {
          background: var(--surface-2);
          border-color: var(--bd-hi);
          color: var(--text-1);
        }

        .btn.closeit {
          background: transparent;
          color: #ff6060;
          border-color: rgba(255, 60, 60, 0.25);
          box-shadow: none;
        }

        .btn.closeit:hover {
          background: rgba(255, 60, 60, 0.08);
        }

        button#menu {
          width: 42px;
          height: 42px;
          border-radius: var(--r-md);
          border: 1.5px solid var(--bd-md);
          background: var(--surface);
          color: var(--text-2);
          font-size: 1.1rem;
          box-shadow: var(--e-1);
        }

        button#menu:hover {
          background: var(--ac-tint);
          border-color: var(--ac);
          color: var(--ac);
        }

        button,
        #othertools a {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          border: none;
          cursor: pointer;
          background: transparent;
          font-family: var(--sans);
          font-size: 15px;
          line-height: 1;
          -webkit-tap-highlight-color: transparent;
          touch-action: manipulation;
        }

        /* ================================================================
   RANDOM CLOUD
================================================================ */
        #randomcloud {
          text-align: center;
          height: 120px;
          overflow: auto;
          scrollbar-width: none;
          overflow: hidden;
        }

        #randomcloud::-webkit-scrollbar {
          display: none;
        }

        #randomcloud li {
          background: transparent;
          border: none;
          box-shadow: none;
          display: inline-block;
        }

        #randomcloud p {
          color: var(--text-3);
          font-size: 20px;
          padding: 5px;
          margin: 0 5px;
          cursor: pointer;
          font-family: var(--sans);
          background: transparent;
          transition: color var(--t-fast), transform var(--t-base) var(--bounce);
        }

        #randomcloud p:hover {
          color: var(--ac);
          transform: scale(1.18);
        }

        #randombutton {
          display: inline-flex;
          align-items: center;
          gap: 8px;
          padding: 13px 28px;
          margin-top: 14px;
          background: var(--n-900);
          color: var(--ac);
          border-radius: var(--r-pill);
          border: 1.5px solid rgba(255, 107, 71, 0.30);
          font-family: var(--serif);
          font-style: italic;
          font-size: 1rem;
          cursor: pointer;
          box-shadow: var(--e-2);
        }

        .dark #randombutton {
          background: var(--surface-2);
        }

        #randombutton:hover {
          background: var(--ac);
          color: #fff;
          border-color: var(--ac);
          transform: translateY(-2px);
          box-shadow: var(--e-ac);
        }

        /* ================================================================
   FONT SIZE CONTROLLER
================================================================ */
        .font-size-controller {
          display: flex;
          align-items: center;
          gap: 14px;
          justify-content: flex-end;
          padding: 10px 0;
        }

        .font-size-controller label {
          font-size: 0.64rem;
          font-weight: 700;
          color: var(--text-4);
          text-transform: uppercase;
          letter-spacing: 0.13em;
        }

        .font-size-controller input[type="range"] {
          width: 160px;
          height: 3px;
          background: var(--surface-3);
          border-radius: var(--r-pill);
          outline: none;
          appearance: none;
          -webkit-appearance: none;
          cursor: pointer;
        }

        .font-size-controller input[type="range"]::-webkit-slider-thumb {
          appearance: none;
          width: 14px;
          height: 14px;
          background: var(--ac);
          border: 2px solid #fff;
          border-radius: 50%;
          box-shadow: var(--e-2);
          cursor: grab;
          transition: transform var(--t-fast) var(--bounce);
        }

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

        /* ================================================================
   RESULTS GRID
================================================================ */
        #results {
          width: 100%;
        }

        .grid ul {
          display: grid;
          padding: 0;
          margin: 0;
          gap: 10px;
          grid-template-columns: repeat(3, 1fr);
          list-style: none;
        }



        .cursiveafontlist h2 {
          margin-bottom: 12px;
          padding-left: 2px;
        }

        .cursiveafontlist li {
          display: flex;
          align-items: stretch;
          position: relative;
          border-radius: var(--r-lg);
          overflow: hidden;
          border: 1px solid var(--bd);
          background: var(--surface);
          box-shadow: var(--e-1);
          transition:
            border-color var(--t-base),
            box-shadow var(--t-base),
            transform var(--t-base) var(--ease-out);
        }

        .cursiveafontlist li:hover {
          border-color: var(--ac);
          transform: translateY(-3px);
          box-shadow: var(--e-2), 0 0 0 1px var(--ac);
        }

        .cursiveafontlist li p {
          padding: 14px 0 24px 16px;
          color: var(--text-1);
          cursor: pointer;
          user-select: none;
          width: 100%;
          white-space: normal;
          word-break: break-word;
          font-family: var(--sans);
          background: transparent;
          border: none;
          line-height: 1.55;
          z-index: 1;

        }

        .cursiveafontlist li p:hover,
        .cursiveafontlist li p:focus {
          outline: none;
          background: var(--ac-tint);
        }

        .cursiveafontlist li div,
        #flourishList li div {
          position: absolute;
          bottom: 5px;
          left: 16px;
          display: flex;
          gap: 10px;
          flex-direction: row-reverse;
          user-select: none;
          -webkit-user-select: none;
          z-index: 0;
        }

        .cursiveafontlist li i,
        #flourishList li i {
          font-size: 10px;
          color: var(--text-4);
          letter-spacing: 0.07em;
          text-transform: uppercase;
          font-style: normal;
          font-family: var(--sans);
          font-family: var(--mono);
        }

        .cursiveafontlist li i:nth-of-type(2) {
          background: var(--surface-2);
          padding: 0 5px;
          border-radius: 5px;
        }

        .cursiveafontlist li button {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          flex-shrink: 0;
          padding: 0 14px;
          font-size: 10px;
          font-weight: 700;
          color: var(--text-3);
          background: var(--surface-2);
          border: none;
          border-left: 1px solid var(--bd);
          cursor: pointer;
          font-family: var(--sans);
          letter-spacing: 0.08em;
          text-transform: uppercase;
          min-width: 60px;
        }

        .cursiveafontlist li button:hover {
          background: var(--ac);
          color: #fff;
        }

        .cursiveafontlist li button {
          font-size: 18px;
        }

        /* ================================================================
   FLOATING ACTION BUTTONS
================================================================ */
        .buttons {
          position: fixed;
          right: 18px;
          bottom: 90px;
          z-index: 99;
          display: flex;
          flex-direction: column-reverse;
          gap: 6px;
        }

        .buttons button {
          width: 46px;
          height: 46px;
          border-radius: var(--r-lg);
          background: var(--surface);
          border: 1px solid var(--bd-md);
          box-shadow: var(--e-2);
          display: inline-flex;
          align-items: center;
          justify-content: center;
          cursor: pointer;
          color: var(--text-2);
        }

        .buttons button:hover {
          background: var(--ac);
          border-color: var(--ac);
          color: #fff;
          transform: scale(1.08) translateY(-1px);
          box-shadow: var(--e-ac);
        }

        #bulbBtn {
          color: var(--ac);
        }

        #bulbBtn:hover {
          color: #fff;
        }

        svg {
          width: 18px;
          height: 18px;
          stroke: currentColor;
          stroke-width: 1.75;
          fill: none;
        }

        /* ================================================================
   OTHER TOOLS
================================================================ */
        #othertools a {
          padding: 8px 16px;
          background: var(--surface);
          color: var(--text-2);
          border-radius: var(--r-md);
          font-size: 0.76rem;
          font-weight: 600;
          border: 1px solid var(--bd);
          letter-spacing: 0.04em;
          text-transform: uppercase;
          box-shadow: var(--e-1);
        }

        #othertools a:hover {
          background: var(--n-900);
          color: var(--ac);
          border-color: transparent;
          box-shadow: var(--e-2);
        }

        .dark #othertools a:hover {
          background: var(--surface-3);
          color: var(--ac);
          border-color: rgba(255, 107, 71, 0.25);
        }

        /* ================================================================
   SIDE DRAWER
================================================================ */
        .f-m {
          position: fixed;
          top: 0;
          right: 0;
          width: 290px;
          height: 100%;
          background: var(--surface);
          border-left: 1px solid var(--bd-md);
          box-shadow: -12px 0 50px rgba(0, 0, 0, 0.14);
          z-index: 9999;
          display: none;
          overflow-y: auto;
          padding: 24px 18px;
        }

        .floatmenu h3 {
          font-size: 0.60rem;
          font-weight: 700;
          color: var(--text-4);
          text-transform: uppercase;
          letter-spacing: 0.15em;
          margin-bottom: 10px;
        }

        .floatmenu a,
        .right-menu a {
          display: inline-block;
          padding: 8px 14px;
          border-radius: var(--r-md);
          font-size: 0.82rem;
          font-weight: 500;
          color: var(--text-2);
          background: var(--surface-2);
          border: 1px solid var(--bd);
          margin: 4px;
          white-space: nowrap;
          transition: all var(--t-base) var(--ease);
        }

        .floatmenu a:hover,
        .right-menu a:hover {
          background: var(--ac-tint);
          border-color: var(--ac);
          color: var(--ac);
        }

        .close-button {
          position: fixed;
          top: 14px;
          right: 14px;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          width: 36px;
          height: 36px;
          font-size: 15px;
          border: 1px solid var(--bd-md);
          border-radius: var(--r-md);
          color: var(--text-2);
          background: var(--surface);
          box-shadow: var(--e-1);
          cursor: pointer;
          z-index: 10000;
          padding: 0;
        }

        .close-button:hover {
          background: var(--ac);
          border-color: var(--ac);
          color: #fff;
          box-shadow: var(--e-ac);
        }

        /* ================================================================
   COPIED TOAST
================================================================ */
        .copied {
          display: flex;
          flex-direction: column;
          gap: 4px;
          padding: 14px 16px;
          position: fixed;
          top: 14%;
          right: 0;
          z-index: 9999;
          width: 200px;
          background: var(--n-900);
          color: var(--ac);
          border-radius: var(--r-xl) 0 0 var(--r-xl);
          border: 1px solid rgba(255, 107, 71, 0.22);
          border-right: none;
          box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.22);
          animation: slideIn 0.22s var(--bounce);
        }

        @keyframes slideIn {
          from {
            transform: translateX(110%);
            opacity: 0;
          }

          to {
            transform: translateX(0);
            opacity: 1;
          }
        }

        .copied textarea {
          background: transparent;
          border: none;
          color: rgba(255, 107, 71, 0.75);
          font-family: var(--mono);
          font-size: 0.74rem;
          resize: none;
          outline: none;
          padding: 4px;
        }

        .copied-btn {
          position: absolute;
          top: 8px;
          left: 12px;
          background: var(--ac);
          color: #fff;
          border-radius: var(--r-pill);
          padding: 3px 10px;
          font-size: 0.62rem;
          font-weight: 700;
          border: none;
          letter-spacing: 0.09em;
          text-transform: uppercase;
        }

        /* ================================================================
   LOADER
================================================================ */
        .loader {
          width: 36px;
          height: 36px;
          border: 2.5px solid var(--surface-3);
          border-top-color: var(--ac);
          border-radius: 50%;
          animation: spin 0.60s linear infinite;
        }

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

        .page-load-status,
        .aryapage {
          display: none;
          align-items: center;
          justify-content: center;
          width: 100%;
          margin: 24px 0;
        }

        /* ================================================================
   POPUP / MODAL
================================================================ */
        .flourish-popup {
          position: fixed;
          inset: 0;
          background: rgba(14, 14, 32, 0.55);
          backdrop-filter: blur(8px);
          display: flex;
          align-items: center;
          justify-content: center;
          z-index: 999;
          animation: fadeIn 0.18s ease;
        }

        @keyframes fadeIn {
          from {
            opacity: 0;
          }

          to {
            opacity: 1;
          }
        }

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

        .popup-box {
          background: var(--surface);
          width: 92%;
          max-width: 450px;
          max-height: 72vh;
          border-radius: var(--r-xl);
          overflow: hidden;
          display: flex;
          flex-direction: column;
          box-shadow: var(--e-3), 0 0 0 1px var(--bd-md);
          animation: popIn 0.24s var(--bounce);
        }

        .popup-box::before {
          content: '';
          display: block;
          height: 3px;
          background: var(--ac);
          flex-shrink: 0;
        }

        @keyframes popIn {
          from {
            transform: scale(0.93) translateY(10px);
            opacity: 0;
          }

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

        .popup-header {
          display: flex;
          justify-content: space-between;
          align-items: center;
          background: var(--surface-2);
          border-bottom: 1px solid var(--bd);
          padding: 6px 18px;
        }

        .popup-header h3 {
          font-family: var(--serif);
          font-size: 1.05rem;
          font-weight: 400;
          font-style: italic;
          color: var(--text-1);
          padding: 10px 0;
        }

        .popup-header button {
          background: none;
          border: none;
          color: var(--text-3);
          font-size: 14px;
          padding: 10px;
          border-radius: var(--r-sm);
          cursor: pointer;
        }

        .popup-header button:hover {
          background: var(--ac-tint);
          color: var(--ac);
        }

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

        #flourishList li {
          margin-bottom: 8px;
          position: relative;
          border-radius: var(--r-md);
          overflow: hidden;
          border: 1px solid var(--bd);
          background: var(--surface-2);
          transition: all var(--t-base) var(--bounce);
        }

        #flourishList li:hover {
          border-color: var(--ac);
          transform: translateY(-1px);
          box-shadow: var(--e-1), 0 0 0 1px var(--ac);
        }

        #flourishList .count {
          display: flex;
          justify-content: flex-end;
          font-size: 10px;
          color: var(--text-4);
          padding: 2px 10px;
          font-weight: 600;
          font-family: var(--mono);
          text-transform: uppercase;
        }

        #flourishList li p {
          font-size: 1rem !important;
          color: var(--text-1);
          border: none;
          background: transparent;
          text-align: center;
          padding: 10px 14px;
          font-family: var(--sans);
          cursor: pointer;
        }

        #flourishList li p:hover {
          color: var(--ac);
        }

        .flourishit {
          padding: 14px 18px;
          text-align: center;
          border-top: 1px solid var(--bd);
          background: var(--surface-2);
        }

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

        .select-flourish label {
          font-size: 0.72rem;
          font-weight: 600;
          color: var(--text-2);
          text-transform: uppercase;
          letter-spacing: 0.08em;
        }

        #flourishSelect {
          appearance: none;
          padding: 8px 22px 8px 14px;
          font-size: 0.82rem;
          font-family: var(--sans);
          font-weight: 500;
          border-radius: var(--r-pill);
          border: 1.5px solid var(--bd-md);
          background: var(--surface);
          color: var(--text-1);
          cursor: pointer;
          outline: none;
        }

        #flourishSelect:focus {
          border-color: var(--ac);
          box-shadow: 0 0 0 3px var(--ac-ring);
        }

        #flourishRegenerate {
          padding: 12px 26px;
          border-radius: var(--r-pill);
          background: var(--ac);
          color: #fff;
          font-family: var(--serif);
          font-style: italic;
          font-size: 1.05rem;
          border: none;
          cursor: pointer;
          box-shadow: var(--e-ac);
        }

        #flourishRegenerate:hover {
          background: var(--ac-dark);
          transform: translateY(-2px);
          box-shadow: 0 8px 28px rgba(255, 107, 71, 0.40);
        }

        #flourishRegenerate:active {
          transform: scale(0.96);
        }

        /* ================================================================
   INFO / ARTICLE
================================================================ */
        .info-text {
          font-family: var(--sans);
          line-height: 1.82;
          color: var(--text-2);
          padding: 52px 48px;
          background: var(--surface);
          margin-top: 24px;
          border-radius: var(--r-2xl);
          border: 1px solid var(--bd);
          box-shadow: var(--e-2);
          white-space: normal;
          word-break: break-word;
        }

        .info-text img {
          max-width: 100%;
          border-radius: var(--r-lg);
        }

        .info-text ul {
          overflow: auto;
        }

        .info-text h1 {
          font-family: var(--serif);
          font-size: 2.5rem;
          font-style: italic;
          font-weight: 400;
          color: var(--text-1);
          text-align: center;
          margin-bottom: 36px;
          padding-bottom: 20px;
          border-bottom: 1px solid var(--bd-md);
          background: none;
          -webkit-text-fill-color: var(--text-1);
        }

        .info-text h2 {
          font-family: var(--sans);
          font-size: 1.25rem;
          font-weight: 700;
          color: var(--text-1);
          margin-top: 44px;
          margin-bottom: 14px;
          text-transform: none;
          letter-spacing: -0.2px;
          position: relative;
          padding-left: 16px;
        }

        .info-text h2::before {
          content: '';
          position: absolute;
          left: 0;
          top: 3px;
          bottom: 3px;
          width: 3px;
          background: var(--ac);
          border-radius: 2px;
        }

        .info-text h3 {
          font-size: 1rem;
          font-weight: 600;
          color: var(--text-2);
          margin-top: 24px;
          margin-bottom: 8px;
        }

        .info-text p {
          font-size: 1rem;
          margin-bottom: 18px;
          color: var(--text-2);
        }

        .info-text ul,
        .info-text ol {
          margin-bottom: 22px;
          padding-left: 22px;
        }

        .info-text li {
          font-size: 1rem;
          margin-bottom: 7px;
        }

        .info-text strong {
          color: var(--text-1);
          font-weight: 600;
        }

        .info-text code {
          background: var(--surface-3);
          color: var(--ac);
          padding: 2px 7px;
          border-radius: var(--r-xs);
          font-family: var(--mono);
          font-size: 0.84rem;
          word-break: break-all;
          border: 1px solid var(--bd);
        }

        .info-text .example-box {
          background: var(--surface-2);
          border-left: 3px solid var(--ac);
          border-radius: 0 var(--r-md) var(--r-md) 0;
          padding: 20px 22px;
          margin: 24px 0;
          box-shadow: var(--e-1);
        }

        .info-text .example-title {
          font-size: 0.68rem;
          font-weight: 700;
          color: var(--ac);
          text-transform: uppercase;
          letter-spacing: 0.14em;
          margin: 14px 0 6px;
        }

        .info-text .example-title:first-child {
          margin-top: 0;
        }

        .info-text .example-box ol {
          list-style-type: decimal;
          margin-bottom: 10px;
        }

        .info-text .example-box li {
          font-size: 1rem;
          color: var(--text-1);
          background: var(--surface);
          padding: 8px 14px;
          margin-bottom: 5px;
          border-radius: var(--r-sm);
          border: 1px solid var(--bd);
        }

        /* ================================================================
   FOOTER
================================================================ */
        footer {
          margin-top: 60px;
          background: var(--n-900);
          padding: 28px 0;
          position: relative;
        }

        .dark footer {
          background: #06060f;
        }

        footer::before {
          content: '';
          display: block;
          height: 2px;
          background: var(--ac);
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
        }

        footer .inner {
          max-width: var(--maxw);
          margin: 0 auto;
          padding: 0 28px;
          display: flex;
          justify-content: space-between;
          align-items: center;
          gap: 12px;
          flex-wrap: wrap;
        }

        footer a {
          color: var(--ac);
          font-family: var(--serif);
          font-style: italic;
          font-size: 1.05rem;
          transition: opacity var(--t-fast);
        }

        footer a:hover {
          opacity: 0.70;
        }

        footer p,
        footer span {
          color: rgba(255, 255, 255, 0.28);
          font-size: 0.76rem;
          letter-spacing: 0.04em;
        }

        footer .footer-page a {
          font-style: normal;
          display: flex;
          align-items: center;
          gap: 10px;
          padding: 10px;
        }

        /* ================================================================
   ADS
================================================================ */
        .ads {
          grid-column: 1 / -1;
          display: block;
          width: 100%;
          margin: 12px 0;
          border-radius: var(--r-md);
          background: var(--surface-2);
          border: 1px dashed var(--bd-md);
          overflow: hidden;
        }

        /* ================================================================
   MISC
================================================================ */
        .fAr {
          display: none;
        }

        #fMN {
          overflow: auto;
        }

        #menu {
          color: var(--text-2);
        }

        .loadmore {
          text-align: center;
          padding: 16px 0;
        }

        .entry-header {
          width: 100%;
          text-align: center;
        }

        .entry-header p {
          color: var(--text-3);
        }

        .material-symbols-outlined {
          font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
        }

        /* ================================================================
   RESPONSIVE
================================================================ */
        @media (max-width: 940px) {
          .grid ul {
            grid-template-columns: repeat(2, 1fr);
          }
        }

        @media (max-width: 640px) {
          h1 {
            font-size: 1.55rem;
          }

          #randomcloud {
            height: 200px;
          }

          .container {
            padding: 0 16px;
            max-width: 100%;
          }

          .input-section {
            margin-left: -16px;
            margin-right: -16px;
            padding-left: 16px;
            padding-right: 16px;
          }

          .f-m {
            width: 100%;
          }

          .font-size-controller input[type="range"] {
            width: 120px;
          }

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

          .info-text {
            padding: 28px 20px;
            border-radius: var(--r-xl);
          }

          .info-text h1 {
            font-size: 1.85rem;
          }

          .floatmenu a {
            display: block;
          }
        }