{"id":6966,"date":"2026-01-08T00:00:51","date_gmt":"2026-01-08T00:00:51","guid":{"rendered":"https:\/\/themeton.com\/?page_id=6966"},"modified":"2026-01-22T05:02:23","modified_gmt":"2026-01-22T05:02:23","slug":"folklore","status":"publish","type":"page","link":"https:\/\/themeton.com\/tools\/font-generator\/folklore\/","title":{"rendered":"Folklore Font Generator : Airy Cottagecore Script Styles"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"6966\" class=\"elementor elementor-6966\">\n\t\t\t\t<div class=\"elementor-element elementor-element-43e96e5b e-con-full e-flex e-con e-parent\" data-id=\"43e96e5b\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7f9d9035 elementor-widget elementor-widget-shortcode\" data-id=\"7f9d9035\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><!-- START OF FILE Paste January 21, 2026 - 5:00PM -->\r\n\r\n<link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/6.4.0\/css\/all.min.css\">\r\n\r\n<style>\r\n    .pg-tool-wrapper {\r\n        \/* TYPOGRAPHY - Storybook & Organic *\/\r\n        --primary-font: \"Georgia\", \"Palatino Linotype\", \"Book Antiqua\", serif;\r\n        --body-font: \"Garamond\", \"Times New Roman\", serif;\r\n        \r\n        \/* PALETTE: Folklore & Cottagecore (Sage, Parchment, Earth) *\/\r\n        --theme-deep: #2f3e30; \/* Dark Forest Green *\/\r\n        --theme-ocean: #f7f3e8; \/* Antique Parchment *\/\r\n        --theme-surface: #e6e0cf; \/* Aged Paper Border *\/\r\n        \r\n        \/* ACCENTS *\/\r\n        --theme-accent-1: #8f5e3e; \/* Wood\/Earth Brown *\/\r\n        --theme-accent-2: #6b8c6e; \/* Sage\/Moss Green *\/\r\n        --theme-accent-3: #d4a373; \/* Soft Gold\/Wheat *\/\r\n        \r\n        --theme-text-main: #3e3228; \/* Dark Sepia Ink *\/\r\n        --theme-text-muted: #786b5e; \/* Faded Ink *\/\r\n        \r\n        \/* SHADOWS & DEPTH *\/\r\n        --shadow-deep: 0 15px 30px -5px rgba(47, 62, 48, 0.4), 0 0 5px rgba(143, 94, 62, 0.1);\r\n        --shadow-glow: 0 0 20px rgba(107, 140, 110, 0.3); \r\n        \r\n        \/* METRICS *\/\r\n        --transition-snap: all 0.2s ease-out;\r\n        --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);\r\n        \r\n        font-family: var(--body-font);\r\n        color: var(--theme-text-main);\r\n        line-height: 1.6;\r\n        width: 100%;\r\n        overflow-x: hidden;\r\n        \r\n        \/* BACKGROUND: Forest Floor \/ Paper Grain *\/\r\n        background: var(--theme-deep); \r\n        background-image: \r\n            radial-gradient(circle at 20% 20%, rgba(107, 140, 110, 0.15) 0%, transparent 40%),\r\n            radial-gradient(circle at 80% 80%, rgba(212, 163, 115, 0.1) 0%, transparent 40%),\r\n            repeating-linear-gradient(0deg, transparent 0px, transparent 1px, rgba(255,255,255,0.02) 1px, rgba(255,255,255,0.02) 2px);\r\n        background-attachment: fixed;\r\n    }\r\n\r\n    .pg-tool-wrapper * { box-sizing: border-box; }\r\n\r\n    \/* !IMPORTANT SAFETY FOR WORDPRESS *\/\r\n    .pg-container {\r\n        max-width: 1200px !important;\r\n        width: 100% !important;\r\n        margin: 0 auto !important;\r\n        padding-top: 40px !important;\r\n        padding-left: 20px !important;\r\n        padding-right: 20px !important;\r\n    }\r\n\r\n    .pg-background-container {\r\n        position: relative;\r\n        background: transparent;\r\n        padding-bottom: 40px; \r\n    }\r\n\r\n    .pg-hero-content-wrapper {\r\n        position: relative;\r\n        z-index: 2;\r\n        padding-top: 60px;\r\n        text-align: center;\r\n    }\r\n\r\n    \/* TITLE STYLE: Storybook Heading *\/\r\n    .pg-main-title {\r\n        font-family: var(--primary-font);\r\n        font-size: 3.5rem;\r\n        font-weight: 400; \/* Classic Serif weight *\/\r\n        line-height: 1.2;\r\n        letter-spacing: 1px;\r\n        margin-bottom: 20px;\r\n        position: relative;\r\n        display: inline-block;\r\n        font-style: italic;\r\n        \r\n        \/* Earthy Gradient *\/\r\n        background: linear-gradient(to right, #e6dace 20%, #d4a373 50%, #e6dace 80%);\r\n        -webkit-background-clip: text;\r\n        -webkit-text-fill-color: transparent;\r\n        \r\n        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);\r\n    }\r\n    \r\n    .pg-subtitle {\r\n        font-family: var(--body-font);\r\n        font-size: 1.2rem;\r\n        color: #d1d5db; \/* Light grey for visibility on dark BG *\/\r\n        max-width: 750px;\r\n        margin: 0 auto 50px;\r\n        font-weight: 400;\r\n        border-top: 1px solid var(--theme-accent-2);\r\n        border-bottom: 1px solid var(--theme-accent-2);\r\n        padding: 15px 0;\r\n        background: rgba(47, 62, 48, 0.6);\r\n    }\r\n\r\n    \/* TOOL UI - ANTIQUE BOOK \/ SCROLL LOOK *\/\r\n    .pg-generator-card {\r\n        background: var(--theme-ocean);\r\n        border: 8px solid var(--theme-surface); \r\n        outline: 1px solid rgba(0,0,0,0.1);\r\n        width: 100%;\r\n        max-width: 1200px !important;\r\n        margin: 0 auto;\r\n        box-shadow: var(--shadow-deep); \r\n        overflow: hidden;\r\n        display: flex;\r\n        flex-direction: column;\r\n        transition: var(--transition-smooth);\r\n        position: relative;\r\n        border-radius: 4px; \/* Book corners *\/\r\n    }\r\n    \r\n    \/* Decorative Corners (CSS) *\/\r\n    .pg-generator-card::before {\r\n        content: '';\r\n        position: absolute;\r\n        top: 10px; left: 10px; right: 10px; bottom: 10px;\r\n        border: 1px solid var(--theme-accent-2);\r\n        pointer-events: none;\r\n        border-radius: 2px;\r\n        opacity: 0.5;\r\n    }\r\n\r\n    .pg-controls-wrapper {\r\n        padding: 40px;\r\n        background: #fdfbf7; \/* Slightly lighter page *\/\r\n        border-bottom: 1px solid #e0d8c0;\r\n        display: grid;\r\n        grid-template-columns: 1.8fr 1.2fr;\r\n        gap: 40px;\r\n        align-items: end;\r\n    }\r\n\r\n    .pg-input-wrapper { \r\n        position: relative; \r\n        height: 100%;\r\n    }\r\n\r\n    .pg-text-input {\r\n        width: 100% !important;\r\n        height: 100% !important;\r\n        min-height: 160px !important;\r\n        padding: 25px !important;\r\n        border: 1px solid #d4cbb3 !important;\r\n        border-radius: 2px !important;\r\n        font-family: var(--primary-font) !important;\r\n        font-size: 2rem !important;\r\n        font-weight: 400 !important;\r\n        font-style: italic !important;\r\n        transition: var(--transition-snap);\r\n        background: #fff !important; \r\n        color: var(--theme-text-main) !important;\r\n        box-sizing: border-box !important;\r\n        margin: 0 !important;\r\n        outline: none !important;\r\n        resize: none !important;\r\n        direction: ltr;\r\n        box-shadow: inset 0 0 15px rgba(143, 94, 62, 0.05) !important;\r\n        background-image: url('data:image\/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxmaWx0ZXIgaWQ9Im4iPjxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjUiIHN0aXRjaFRpbGVzPSJub1N0aXRjaCIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNuKSIgb3BhY2l0eT0iMC4wNSIvPjwvc3ZnPg==') !important; \/* Paper texture *\/\r\n    }\r\n    .pg-text-input:focus {\r\n        border-color: var(--theme-accent-2) !important;\r\n        box-shadow: 0 0 10px rgba(107, 140, 110, 0.3) !important;\r\n    }\r\n    .pg-text-input::placeholder { color: #a89f91 !important; font-style: italic; }\r\n\r\n    .pg-features-group {\r\n        display: flex;\r\n        flex-direction: column;\r\n        gap: 25px;\r\n    }\r\n\r\n    .pg-filter-label {\r\n        font-size: 0.85rem;\r\n        font-weight: 600;\r\n        color: var(--theme-accent-1);\r\n        text-transform: uppercase;\r\n        letter-spacing: 1.5px;\r\n        margin-bottom: 12px;\r\n        display: block;\r\n        font-family: var(--body-font);\r\n    }\r\n\r\n    .pg-btn-row { \r\n        display: flex; \r\n        gap: 12px; \r\n        flex-wrap: wrap; \r\n    }\r\n\r\n    .pg-toggle-btn {\r\n        background: transparent;\r\n        border: 1px solid #d4cbb3;\r\n        padding: 10px 22px;\r\n        color: var(--theme-text-muted);\r\n        font-size: 0.95rem;\r\n        font-weight: 400;\r\n        cursor: pointer;\r\n        transition: var(--transition-snap);\r\n        display: inline-flex;\r\n        align-items: center;\r\n        gap: 8px;\r\n        border-radius: 50px;\r\n        font-family: var(--primary-font);\r\n    }\r\n    .pg-toggle-btn:hover {\r\n        background: var(--theme-accent-2);\r\n        color: #fff;\r\n        border-color: var(--theme-accent-2);\r\n    }\r\n    .pg-toggle-btn.active {\r\n        background: var(--theme-accent-1);\r\n        color: #fff;\r\n        border-color: var(--theme-accent-1);\r\n        box-shadow: 0 4px 10px rgba(143, 94, 62, 0.2);\r\n    }\r\n\r\n    .pg-action-btn {\r\n        width: 48px !important;\r\n        height: 48px !important;\r\n        background: #fff !important;\r\n        border: 1px solid var(--theme-accent-2) !important;\r\n        color: var(--theme-accent-2) !important;\r\n        font-size: 1.4rem !important;\r\n        cursor: pointer !important;\r\n        transition: var(--transition-snap) !important;\r\n        display: flex !important;\r\n        align-items: center !important;\r\n        justify-content: center !important;\r\n        border-radius: 50% !important;\r\n        font-family: \"Segoe UI Emoji\", \"Noto Color Emoji\", \"Apple Color Emoji\", \"Segoe UI\", Tahoma, sans-serif !important;\r\n        line-height: 1 !important;\r\n        margin: 0 !important;\r\n        padding: 0 !important;\r\n        box-sizing: border-box !important;\r\n    }\r\n    .pg-action-btn:hover {\r\n        background: var(--theme-accent-2) !important;\r\n        color: #fff !important;\r\n        transform: translateY(-3px) rotate(10deg) !important; \r\n        box-shadow: 0 5px 15px rgba(107, 140, 110, 0.4) !important;\r\n    }\r\n\r\n    \/* RESULTS - STORYBOOK PAGES *\/\r\n    .pg-results-area {\r\n        padding: 40px;\r\n        background: #f7f3e8;\r\n        position: relative;\r\n    }\r\n    \r\n    .pg-result-list {\r\n        display: grid;\r\n        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));\r\n        gap: 25px;\r\n        margin-bottom: 40px;\r\n        position: relative;\r\n        z-index: 1;\r\n    }\r\n\r\n    .pg-result-card {\r\n        background: #fff;\r\n        border: 1px solid #e6e0cf;\r\n        padding: 24px;\r\n        position: relative;\r\n        cursor: pointer;\r\n        transition: var(--transition-snap);\r\n        display: flex;\r\n        flex-direction: column;\r\n        justify-content: space-between;\r\n        min-height: 160px;\r\n        border-radius: 4px;\r\n        overflow: hidden;\r\n    }\r\n    \r\n    \/* Hover - Lift like a page turning *\/\r\n    .pg-result-card:hover {\r\n        transform: translateY(-5px) rotate(0.5deg);\r\n        border-color: var(--theme-accent-2);\r\n        box-shadow: 5px 10px 20px rgba(47, 62, 48, 0.15);\r\n        background: #fcfcfc;\r\n    }\r\n    \r\n    \/* Floral Corner *\/\r\n    .pg-result-card::after {\r\n        content: '\u2767';\r\n        position: absolute;\r\n        bottom: 5px;\r\n        right: 10px;\r\n        font-size: 1.5rem;\r\n        color: var(--theme-surface);\r\n        font-family: serif;\r\n        transition: 0.3s;\r\n    }\r\n    .pg-result-card:hover::after {\r\n        color: var(--theme-accent-2);\r\n    }\r\n\r\n    .pg-card-header {\r\n        display: flex;\r\n        justify-content: space-between;\r\n        align-items: center;\r\n        margin-bottom: 15px;\r\n        padding-bottom: 12px;\r\n        border-bottom: 1px dashed #e6e0cf;\r\n    }\r\n\r\n    .pg-card-tag {\r\n        font-size: 0.7rem;\r\n        text-transform: uppercase;\r\n        letter-spacing: 1px;\r\n        color: var(--theme-deep);\r\n        background: transparent;\r\n        border: 1px solid var(--theme-accent-2);\r\n        padding: 3px 10px;\r\n        font-weight: 600;\r\n        font-family: var(--primary-font);\r\n        border-radius: 50px;\r\n    }\r\n    .pg-result-card:hover .pg-card-tag { background: var(--theme-accent-2); color: #fff; }\r\n\r\n    .pg-copy-hint {\r\n        font-size: 0.8rem;\r\n        color: var(--theme-accent-1);\r\n        opacity: 0;\r\n        transition: 0.2s;\r\n        font-weight: 500;\r\n        display: flex;\r\n        align-items: center;\r\n        gap: 6px;\r\n        font-family: var(--primary-font);\r\n        font-style: italic;\r\n    }\r\n    .pg-result-card:hover .pg-copy-hint { opacity: 1; }\r\n\r\n    .pg-card-preview {\r\n        font-family: var(--primary-font); \/* Serif for display *\/\r\n        font-size: 1.6rem;\r\n        color: var(--theme-text-main);\r\n        word-break: break-all;\r\n        line-height: 1.4;\r\n        font-weight: 400;\r\n        text-align: center;\r\n        padding: 10px 0;\r\n        max-height: 160px;\r\n        overflow-y: auto;\r\n        scrollbar-width: thin;\r\n        scrollbar-color: var(--theme-accent-2) transparent;\r\n        direction: ltr; \r\n    }\r\n    \r\n    .pg-card-preview::-webkit-scrollbar { width: 4px; }\r\n    .pg-card-preview::-webkit-scrollbar-track { background: #f7f3e8; }\r\n    .pg-card-preview::-webkit-scrollbar-thumb { background-color: var(--theme-accent-2); border-radius: 4px; }\r\n\r\n    .pg-load-more-wrapper { text-align: center; position: relative; z-index: 1; }\r\n    .pg-btn-load {\r\n        background: transparent;\r\n        color: var(--theme-accent-1);\r\n        border: 1px solid var(--theme-accent-1);\r\n        padding: 14px 40px;\r\n        font-weight: 500;\r\n        cursor: pointer;\r\n        transition: var(--transition-snap);\r\n        font-size: 1rem;\r\n        display: inline-flex;\r\n        align-items: center;\r\n        gap: 10px;\r\n        font-family: var(--primary-font);\r\n        border-radius: 50px;\r\n        text-transform: uppercase;\r\n        letter-spacing: 1px;\r\n    }\r\n    .pg-btn-load:hover {\r\n        background: var(--theme-accent-1);\r\n        color: #fff;\r\n        box-shadow: 0 0 20px rgba(143, 94, 62, 0.3);\r\n    }\r\n\r\n    \/* SECTIONS *\/\r\n    .pg-section { \r\n        padding: 80px 0; \r\n        background: transparent !important; \r\n    }\r\n    \r\n    .pg-section-heading {\r\n        text-align: center;\r\n        margin-bottom: 60px;\r\n        max-width: 100%;\r\n        display: flex;\r\n        flex-direction: column;\r\n        gap: 10px;\r\n        align-items: center;\r\n    }\r\n    .pg-section-heading h2 {\r\n        font-family: var(--primary-font);\r\n        font-size: 3rem;\r\n        font-weight: 400;\r\n        color: var(--theme-accent-3); \r\n        letter-spacing: 0px;\r\n        line-height: 1;\r\n        font-style: italic;\r\n    }\r\n    .pg-section-heading p {\r\n        font-size: 1.1rem;\r\n        color: #d1d5db;\r\n        max-width: 600px;\r\n    }\r\n\r\n    .pg-info-card {\r\n        background: rgba(247, 243, 232, 0.9); \r\n        padding: 30px;\r\n        border: 1px solid #e6e0cf; \r\n        transition: var(--transition-smooth);\r\n        text-align: center;\r\n        position: relative;\r\n        overflow: hidden;\r\n        height: 100%;\r\n        display: flex;\r\n        flex-direction: column;\r\n        align-items: center;\r\n        border-radius: 4px;\r\n        box-shadow: 0 5px 15px rgba(0,0,0,0.1);\r\n    }\r\n    \r\n    .pg-info-card:hover {\r\n        transform: translateY(-8px);\r\n        border-color: var(--theme-accent-2);\r\n        background: #fff;\r\n    }\r\n    \r\n    .pg-info-icon {\r\n        font-size: 2rem;\r\n        margin-bottom: 20px;\r\n        color: var(--theme-accent-2);\r\n        background: rgba(107, 140, 110, 0.1);\r\n        width: 64px;\r\n        height: 64px;\r\n        display: inline-flex;\r\n        align-items: center;\r\n        justify-content: center;\r\n        border-radius: 50%;\r\n        transition: var(--transition-snap);\r\n        border: 1px solid var(--theme-accent-2);\r\n    }\r\n    .pg-info-card:hover .pg-info-icon {\r\n        background: var(--theme-accent-2);\r\n        color: #fff;\r\n    }\r\n    \r\n    .pg-info-card h3 { \r\n        font-size: 1.4rem; \r\n        margin-bottom: 10px; \r\n        font-weight: 500; \r\n        color: var(--theme-text-main); \r\n        font-family: var(--primary-font);\r\n        letter-spacing: 0px;\r\n    }\r\n    .pg-info-card p { \r\n        font-size: 1rem; \r\n        color: var(--theme-text-muted); \r\n        line-height: 1.6; \r\n    }\r\n\r\n    \/* Grids *\/\r\n    .pg-grid-6 {\r\n        display: grid;\r\n        grid-template-columns: repeat(3, 1fr);\r\n        gap: 30px;\r\n    }\r\n\r\n    .pg-grid-4 {\r\n        display: grid;\r\n        grid-template-columns: repeat(4, 1fr);\r\n        gap: 25px;\r\n    }\r\n\r\n    \/* TOAST *\/\r\n    .pg-toast {\r\n        visibility: hidden;\r\n        min-width: 280px;\r\n        background: var(--theme-accent-2);\r\n        color: #fff;\r\n        text-align: center;\r\n        border-radius: 50px;\r\n        padding: 16px 28px;\r\n        position: fixed;\r\n        z-index: 999;\r\n        left: 50%;\r\n        bottom: 40px;\r\n        transform: translateX(-50%) translateY(20px);\r\n        font-weight: 500;\r\n        box-shadow: 0 10px 30px rgba(47, 62, 48, 0.4);\r\n        opacity: 0;\r\n        transition: all 0.2s;\r\n        display: flex;\r\n        align-items: center;\r\n        justify-content: center;\r\n        gap: 12px;\r\n        font-family: var(--primary-font);\r\n        letter-spacing: 1px;\r\n    }\r\n    .pg-toast.show { \r\n        visibility: visible; \r\n        opacity: 1; \r\n        transform: translateX(-50%) translateY(0);\r\n    }\r\n\r\n    \/* RESPONSIVE *\/\r\n    @media (max-width: 800px) {\r\n        .pg-container { \r\n            padding-top: 20px !important; \r\n            padding-left: 10px !important; \r\n            padding-right: 10px !important; \r\n        }\r\n\r\n        .pg-hero-content-wrapper { padding-top: 30px; }\r\n        .pg-main-title { font-size: 2.5rem; margin-bottom: 15px; }\r\n        .pg-subtitle { font-size: 0.95rem; margin-bottom: 30px; border: none; background: rgba(0,0,0,0.4); }\r\n\r\n        .pg-generator-card { width: 100% !important; border-width: 4px; }\r\n        .pg-controls-wrapper { \r\n            grid-template-columns: 1fr; \r\n            gap: 20px; \r\n            padding: 10px;\r\n        }\r\n\r\n        .pg-text-input { \r\n            min-height: 120px !important; \r\n            font-size: 1.5rem !important; \r\n            padding: 15px !important; \r\n        }\r\n\r\n        .pg-features-group {\r\n            flex-direction: row;\r\n            flex-wrap: wrap;\r\n            justify-content: space-between;\r\n            gap: 10px;\r\n        }\r\n        \r\n        .pg-filter-label { margin-bottom: 4px; font-size: 0.75rem; }\r\n\r\n        .pg-btn-row {  \r\n            overflow-x: auto; \r\n            gap: 8px; \r\n            padding: 5px; \r\n            scrollbar-width: none; \r\n        }\r\n        .pg-btn-row::-webkit-scrollbar { display: none; }\r\n\r\n        .pg-toggle-btn { padding: 8px 14px; font-size: 0.8rem; white-space: nowrap; }\r\n        .pg-action-btn { width: 40px !important; height: 40px !important; font-size: 1.1rem !important; flex-shrink: 0; }\r\n\r\n        .pg-results-area { padding: 15px; }\r\n        .pg-result-list { grid-template-columns: 1fr; gap: 15px; }\r\n        .pg-result-card { padding: 20px; min-height: auto; }\r\n        .pg-card-preview { font-size: 1.3rem; padding: 5px 0; }\r\n\r\n        .pg-section { padding: 50px 0; }\r\n        \r\n        .pg-grid-6, .pg-grid-4 { \r\n            grid-template-columns: repeat(2, 1fr);\r\n            gap: 15px; \r\n        }\r\n        \r\n        .pg-info-card { \r\n            padding: 20px !important; \r\n            display: flex;\r\n            flex-direction: column; \r\n            align-items: center; \r\n            text-align: center;\r\n            gap: 10px;\r\n        }\r\n        .pg-info-icon { margin-bottom: 10px; width: 50px; height: 50px; font-size: 1.4rem; flex-shrink: 0; }\r\n        \r\n        .pg-section-heading { \r\n            margin-bottom: 30px;\r\n            padding-bottom: 15px;\r\n        }\r\n        .pg-section-heading h2 { font-size: 2rem; }\r\n    }\r\n<\/style>\r\n\r\n<div class=\"pg-tool-wrapper\">\r\n\r\n    <div class=\"pg-background-container\">\r\n        \r\n        <div class=\"pg-container pg-hero-content-wrapper\">\r\n            <h1 class=\"pg-main-title\">Folklore Font Generator: Airy Cottagecore Script Styles<\/h1>\r\n            <p class=\"pg-subtitle\">Wander into the woods... Transform your text into storybook serifs, mythic scripts, and whimsical styles inspired by nature and ancient tales.<\/p>\r\n            \r\n            <div class=\"pg-generator-card\">\r\n                \r\n                <div class=\"pg-controls-wrapper\">\r\n                    <div class=\"pg-input-wrapper\">\r\n                        <textarea class=\"pg-text-input\" id=\"pgInputText\" placeholder=\"Once upon a time... (Type here)\"><\/textarea>\r\n                    <\/div>\r\n                    \r\n                    <div class=\"pg-features-group\">\r\n                        <div>\r\n                            <span class=\"pg-filter-label\">Chapter<\/span>\r\n                            <div class=\"pg-btn-row\">\r\n                                <button class=\"pg-toggle-btn active\" id=\"pgBtnAll\">All Tales<\/button>\r\n                                <button class=\"pg-toggle-btn\" id=\"pgBtnStory\">Storybook<\/button>\r\n                                <button class=\"pg-toggle-btn\" id=\"pgBtnMythic\">Mythic<\/button>\r\n                                <button class=\"pg-toggle-btn\" id=\"pgBtnNature\">Nature<\/button>\r\n                                <button class=\"pg-toggle-btn\" id=\"pgBtnCottage\">Cottage<\/button>\r\n                            <\/div>\r\n                        <\/div>\r\n\r\n                        <div>\r\n                            <span class=\"pg-filter-label\">Charms<\/span>\r\n                            <div class=\"pg-btn-row\">\r\n                                <button class=\"pg-action-btn\" data-insert=\"\ud83c\udf3f\" title=\"Leaf\">\ud83c\udf3f<\/button>\r\n                                <button class=\"pg-action-btn\" data-insert=\"\ud83c\udf44\" title=\"Mushroom\">\ud83c\udf44<\/button>\r\n                                <button class=\"pg-action-btn\" data-insert=\"\u2728\" title=\"Sparkle\">\u2728<\/button>\r\n                                <button class=\"pg-action-btn\" data-insert=\"\ud83e\uddda\" title=\"Fairy\">\ud83e\uddda<\/button>\r\n                                <button class=\"pg-action-btn\" data-insert=\"\ud83d\udcd6\" title=\"Book\">\ud83d\udcd6<\/button>\r\n                            <\/div>\r\n                        <\/div>\r\n                    <\/div>\r\n                <\/div>\r\n\r\n                <div class=\"pg-results-area\">\r\n                    <div class=\"pg-result-list\" id=\"pgResultList\">\r\n                    <\/div>\r\n                    \r\n                    <div class=\"pg-load-more-wrapper\">\r\n                        <button class=\"pg-btn-load\" id=\"pgLoadMoreBtn\"><i class=\"fa-solid fa-feather\"><\/i> Read More Pages<\/button>\r\n                    <\/div>\r\n                <\/div>\r\n            <\/div>\r\n        <\/div>\r\n    <\/div>\r\n\r\n\t    <section class=\"pg-section\">\r\n        <div class=\"pg-container\">\r\n\t\t\t\t\t\t\r\n\t\t\t\t<\/div>\r\n\t<\/section>\r\n\t\r\n    <section class=\"pg-section\">\r\n        <div class=\"pg-container\">\r\n            <div class=\"pg-section-heading\">\r\n                <h2>The Library of Lore<\/h2>\r\n                <p>Typography plucked from the pages of history and fantasy.<\/p>\r\n            <\/div>\r\n            \r\n            <div class=\"pg-grid-6\">\r\n                <div class=\"pg-info-card\">\r\n                    <div class=\"pg-info-icon\"><i class=\"fa-solid fa-book-open\"><\/i><\/div>\r\n                    <div>\r\n                        <h3>Storybook Serif<\/h3>\r\n                        <p>Warm, legible text that feels like reading a classic novel by candlelight.<\/p>\r\n                    <\/div>\r\n                <\/div>\r\n                <div class=\"pg-info-card\">\r\n                    <div class=\"pg-info-icon\"><i class=\"fa-solid fa-pen-fancy\"><\/i><\/div>\r\n                    <div>\r\n                        <h3>Mythic Script<\/h3>\r\n                        <p>Hand-drawn, organic lettering that whispers of magic and old gods.<\/p>\r\n                    <\/div>\r\n                <\/div>\r\n                <div class=\"pg-info-card\">\r\n                    <div class=\"pg-info-icon\"><i class=\"fa-solid fa-tree\"><\/i><\/div>\r\n                    <div>\r\n                        <h3>Forest Whispers<\/h3>\r\n                        <p>Text surrounded by leaves, trees, and the quiet of the woods.<\/p>\r\n                    <\/div>\r\n                <\/div>\r\n                <div class=\"pg-info-card\">\r\n                    <div class=\"pg-info-icon\"><i class=\"fa-solid fa-wand-magic-sparkles\"><\/i><\/div>\r\n                    <div>\r\n                        <h3>Fairy Dust<\/h3>\r\n                        <p>Sparkling, delicate characters for the whimsical at heart.<\/p>\r\n                    <\/div>\r\n                <\/div>\r\n                <div class=\"pg-info-card\">\r\n                    <div class=\"pg-info-icon\"><i class=\"fa-solid fa-scroll\"><\/i><\/div>\r\n                    <div>\r\n                        <h3>Grimm's Tales<\/h3>\r\n                        <p>Darker, gothic Fraktur styles for the mysterious side of folklore.<\/p>\r\n                    <\/div>\r\n                <\/div>\r\n                <div class=\"pg-info-card\">\r\n                    <div class=\"pg-info-icon\"><i class=\"fa-solid fa-house-chimney\"><\/i><\/div>\r\n                    <div>\r\n                        <h3>Cottage Life<\/h3>\r\n                        <p>Cozy, rounded, and welcoming text for the simple life.<\/p>\r\n                    <\/div>\r\n                <\/div>\r\n            <\/div>\r\n        <\/div>\r\n    <\/section>\r\n\r\n    <section class=\"pg-section\">\r\n        <div class=\"pg-container\">\r\n            <div class=\"pg-section-heading\">\r\n                <h2>Weaving Stories<\/h2>\r\n                <p>Where to use these enchanting styles.<\/p>\r\n            <\/div>\r\n            <div class=\"pg-grid-4\">\r\n                <div class=\"pg-info-card\">\r\n                    <div class=\"pg-info-icon\"><i class=\"fa-brands fa-instagram\"><\/i><\/div>\r\n                    <div>\r\n                        <h3>Aesthetic Bios<\/h3>\r\n                        <p>Perfect for Cottagecore, Dark Academia, and nature accounts.<\/p>\r\n                    <\/div>\r\n                <\/div>\r\n                <div class=\"pg-info-card\">\r\n                    <div class=\"pg-info-icon\"><i class=\"fa-solid fa-feather-pointed\"><\/i><\/div>\r\n                    <div>\r\n                        <h3>Poetry & Writing<\/h3>\r\n                        <p>Share your stanzas with typography that matches the mood.<\/p>\r\n                    <\/div>\r\n                <\/div>\r\n                <div class=\"pg-info-card\">\r\n                    <div class=\"pg-info-icon\"><i class=\"fa-solid fa-gamepad\"><\/i><\/div>\r\n                    <div>\r\n                        <h3>RPG Names<\/h3>\r\n                        <p>Create authentic character names for fantasy games.<\/p>\r\n                    <\/div>\r\n                <\/div>\r\n                <div class=\"pg-info-card\">\r\n                    <div class=\"pg-info-icon\"><i class=\"fa-solid fa-envelope\"><\/i><\/div>\r\n                    <div>\r\n                        <h3>Digital Letters<\/h3>\r\n                        <p>Send messages that feel like hand-written notes from a friend.<\/p>\r\n                    <\/div>\r\n                <\/div>\r\n            <\/div>\r\n        <\/div>\r\n    <\/section>\r\n\r\n    <div id=\"pgToast\" class=\"pg-toast\"><i class=\"fa-solid fa-star\"><\/i> COLLECTED!<\/div>\r\n\r\n<\/div>\r\n\r\n\r\n<script>\r\ndocument.addEventListener('DOMContentLoaded', () => {\r\n    \r\n    \/\/ MAPPINGS - Defined FIRST\r\n    const ALPHABET = \"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\";\r\n    \r\n    \/\/ Font Maps - Defined BEFORE they are used in STYLES\r\n    const mapScript = \"\ud835\udcea\ud835\udceb\ud835\udcec\ud835\udced\ud835\udcee\ud835\udcef\ud835\udcf0\ud835\udcf1\ud835\udcf2\ud835\udcf3\ud835\udcf4\ud835\udcf5\ud835\udcf6\ud835\udcf7\ud835\udcf8\ud835\udcf9\ud835\udcfa\ud835\udcfb\ud835\udcfc\ud835\udcfd\ud835\udcfe\ud835\udcff\ud835\udd00\ud835\udd01\ud835\udd02\ud835\udd03\ud835\udcd0\ud835\udcd1\ud835\udcd2\ud835\udcd3\ud835\udcd4\ud835\udcd5\ud835\udcd6\ud835\udcd7\ud835\udcd8\ud835\udcd9\ud835\udcda\ud835\udcdb\ud835\udcdc\ud835\udcdd\ud835\udcde\ud835\udcdf\ud835\udce0\ud835\udce1\ud835\udce2\ud835\udce3\ud835\udce4\ud835\udce5\ud835\udce6\ud835\udce7\ud835\udce8\ud835\udce90123456789\";\r\n    const mapScriptBold = \"\ud835\udc82\ud835\udc83\ud835\udc84\ud835\udc85\ud835\udc86\ud835\udc87\ud835\udc88\ud835\udc89\ud835\udc8a\ud835\udc8b\ud835\udc8c\ud835\udc8d\ud835\udc8e\ud835\udc8f\ud835\udc90\ud835\udc91\ud835\udc92\ud835\udc93\ud835\udc94\ud835\udc95\ud835\udc96\ud835\udc97\ud835\udc98\ud835\udc99\ud835\udc9a\ud835\udc9b\ud835\udc68\ud835\udc69\ud835\udc6a\ud835\udc6b\ud835\udc6c\ud835\udc6d\ud835\udc6e\ud835\udc6f\ud835\udc70\ud835\udc71\ud835\udc72\ud835\udc73\ud835\udc74\ud835\udc75\ud835\udc76\ud835\udc77\ud835\udc78\ud835\udc79\ud835\udc7a\ud835\udc7b\ud835\udc7c\ud835\udc7d\ud835\udc7e\ud835\udc7f\ud835\udc80\ud835\udc81\ud835\udfce\ud835\udfcf\ud835\udfd0\ud835\udfd1\ud835\udfd2\ud835\udfd3\ud835\udfd4\ud835\udfd5\ud835\udfd6\ud835\udfd7\";\r\n    const mapSerifBold = \"\ud835\udc1a\ud835\udc1b\ud835\udc1c\ud835\udc1d\ud835\udc1e\ud835\udc1f\ud835\udc20\ud835\udc21\ud835\udc22\ud835\udc23\ud835\udc24\ud835\udc25\ud835\udc26\ud835\udc27\ud835\udc28\ud835\udc29\ud835\udc2a\ud835\udc2b\ud835\udc2c\ud835\udc2d\ud835\udc2e\ud835\udc2f\ud835\udc30\ud835\udc31\ud835\udc32\ud835\udc33\ud835\udc00\ud835\udc01\ud835\udc02\ud835\udc03\ud835\udc04\ud835\udc05\ud835\udc06\ud835\udc07\ud835\udc08\ud835\udc09\ud835\udc0a\ud835\udc0b\ud835\udc0c\ud835\udc0d\ud835\udc0e\ud835\udc0f\ud835\udc10\ud835\udc11\ud835\udc12\ud835\udc13\ud835\udc14\ud835\udc15\ud835\udc16\ud835\udc17\ud835\udc18\ud835\udc19\ud835\udfce\ud835\udfcf\ud835\udfd0\ud835\udfd1\ud835\udfd2\ud835\udfd3\ud835\udfd4\ud835\udfd5\ud835\udfd6\ud835\udfd7\";\r\n    const mapDoubleStruck = \"\ud835\udd52\ud835\udd53\ud835\udd54\ud835\udd55\ud835\udd56\ud835\udd57\ud835\udd58\ud835\udd59\ud835\udd5a\ud835\udd5b\ud835\udd5c\ud835\udd5d\ud835\udd5e\ud835\udd5f\ud835\udd60\ud835\udd61\ud835\udd62\ud835\udd63\ud835\udd64\ud835\udd65\ud835\udd66\ud835\udd67\ud835\udd68\ud835\udd69\ud835\udd6a\ud835\udd6b\ud835\udd38\ud835\udd39\u2102\ud835\udd3b\ud835\udd3c\ud835\udd3d\ud835\udd3e\u210d\ud835\udd40\ud835\udd41\ud835\udd42\ud835\udd43\ud835\udd44\u2115\ud835\udd46\u2119\u211a\u211d\ud835\udd4a\ud835\udd4b\ud835\udd4c\ud835\udd4d\ud835\udd4e\ud835\udd4f\ud835\udd50\u2124\ud835\udfd8\ud835\udfd9\ud835\udfda\ud835\udfdb\ud835\udfdc\ud835\udfdd\ud835\udfde\ud835\udfdf\ud835\udfe0\ud835\udfe1\";\r\n    const mapFraktur = \"\ud835\udd1e\ud835\udd1f\ud835\udd20\ud835\udd21\ud835\udd22\ud835\udd23\ud835\udd24\ud835\udd25\ud835\udd26\ud835\udd27\ud835\udd28\ud835\udd29\ud835\udd2a\ud835\udd2b\ud835\udd2c\ud835\udd2d\ud835\udd2e\ud835\udd2f\ud835\udd30\ud835\udd31\ud835\udd32\ud835\udd33\ud835\udd34\ud835\udd35\ud835\udd36\ud835\udd37\ud835\udd04\ud835\udd05\u212d\ud835\udd07\ud835\udd08\ud835\udd09\ud835\udd0a\u210c\u2111\ud835\udd0d\ud835\udd0e\ud835\udd0f\ud835\udd10\ud835\udd11\ud835\udd12\ud835\udd13\ud835\udd14\u211c\ud835\udd16\ud835\udd17\ud835\udd18\ud835\udd19\ud835\udd1a\ud835\udd1b\ud835\udd1c\u21280123456789\";\r\n    const mapFrakturBold = \"\ud835\udd86\ud835\udd87\ud835\udd88\ud835\udd89\ud835\udd8a\ud835\udd8b\ud835\udd8c\ud835\udd8d\ud835\udd8e\ud835\udd8f\ud835\udd90\ud835\udd91\ud835\udd92\ud835\udd93\ud835\udd94\ud835\udd95\ud835\udd96\ud835\udd97\ud835\udd98\ud835\udd99\ud835\udd9a\ud835\udd9b\ud835\udd9c\ud835\udd9d\ud835\udd9e\ud835\udd9f\ud835\udd6c\ud835\udd6d\ud835\udd6e\ud835\udd6f\ud835\udd70\ud835\udd71\ud835\udd72\ud835\udd73\ud835\udd74\ud835\udd75\ud835\udd76\ud835\udd77\ud835\udd78\ud835\udd79\ud835\udd7a\ud835\udd7b\ud835\udd7c\ud835\udd7d\ud835\udd7e\ud835\udd7f\ud835\udd80\ud835\udd81\ud835\udd82\ud835\udd83\ud835\udd84\ud835\udd850123456789\";\r\n    const mapMono = \"\ud835\ude8a\ud835\ude8b\ud835\ude8c\ud835\ude8d\ud835\ude8e\ud835\ude8f\ud835\ude90\ud835\ude91\ud835\ude92\ud835\ude93\ud835\ude94\ud835\ude95\ud835\ude96\ud835\ude97\ud835\ude98\ud835\ude99\ud835\ude9a\ud835\ude9b\ud835\ude9c\ud835\ude9d\ud835\ude9e\ud835\ude9f\ud835\udea0\ud835\udea1\ud835\udea2\ud835\udea3\ud835\ude70\ud835\ude71\ud835\ude72\ud835\ude73\ud835\ude74\ud835\ude75\ud835\ude76\ud835\ude77\ud835\ude78\ud835\ude79\ud835\ude7a\ud835\ude7b\ud835\ude7c\ud835\ude7d\ud835\ude7e\ud835\ude7f\ud835\ude80\ud835\ude81\ud835\ude82\ud835\ude83\ud835\ude84\ud835\ude85\ud835\ude86\ud835\ude87\ud835\ude88\ud835\ude89\ud835\udff6\ud835\udff7\ud835\udff8\ud835\udff9\ud835\udffa\ud835\udffb\ud835\udffc\ud835\udffd\ud835\udffe\ud835\udfff\";\r\n    const mapSmallCaps = \"\u1d00\u0299\u1d04\u1d05\u1d07\u0493\u0262\u029c\u026a\u1d0a\u1d0b\u029f\u1d0d\u0274\u1d0f\u1d18\u01eb\u0280s\u1d1b\u1d1c\u1d20\u1d21x\u028f\u1d22\u1d00\u0299\u1d04\u1d05\u1d07\u0493\u0262\u029c\u026a\u1d0a\u1d0b\u029f\u1d0d\u0274\u1d0f\u1d18\u01eb\u0280s\u1d1b\u1d1c\u1d20\u1d21x\u028f\u1d220123456789\";\r\n    const mapWide = \"\uff41\uff42\uff43\uff44\uff45\uff46\uff47\uff48\uff49\uff4a\uff4b\uff4c\uff4d\uff4e\uff4f\uff50\uff51\uff52\uff53\uff54\uff55\uff56\uff57\uff58\uff59\uff5a\uff21\uff22\uff23\uff24\uff25\uff26\uff27\uff28\uff29\uff2a\uff2b\uff2c\uff2d\uff2e\uff2f\uff30\uff31\uff32\uff33\uff34\uff35\uff36\uff37\uff38\uff39\uff3a\uff10\uff11\uff12\uff13\uff14\uff15\uff16\uff17\uff18\uff19\";\r\n    const mapBold = \"\ud835\udc1a\ud835\udc1b\ud835\udc1c\ud835\udc1d\ud835\udc1e\ud835\udc1f\ud835\udc20\ud835\udc21\ud835\udc22\ud835\udc23\ud835\udc24\ud835\udc25\ud835\udc26\ud835\udc27\ud835\udc28\ud835\udc29\ud835\udc2a\ud835\udc2b\ud835\udc2c\ud835\udc2d\ud835\udc2e\ud835\udc2f\ud835\udc30\ud835\udc31\ud835\udc32\ud835\udc33\ud835\udc00\ud835\udc01\ud835\udc02\ud835\udc03\ud835\udc04\ud835\udc05\ud835\udc06\ud835\udc07\ud835\udc08\ud835\udc09\ud835\udc0a\ud835\udc0b\ud835\udc0c\ud835\udc0d\ud835\udc0e\ud835\udc0f\ud835\udc10\ud835\udc11\ud835\udc12\ud835\udc13\ud835\udc14\ud835\udc15\ud835\udc16\ud835\udc17\ud835\udc18\ud835\udc19\ud835\udfce\ud835\udfcf\ud835\udfd0\ud835\udfd1\ud835\udfd2\ud835\udfd3\ud835\udfd4\ud835\udfd5\ud835\udfd6\ud835\udfd7\"; \r\n\r\n    const STYLES = [\r\n        \/\/ --- STORYBOOK ---\r\n        { name: \"Classic Tale\", type: \"map\", map: mapSerifBold, tag: \"Story\" },\r\n        { name: \"Chapter Header\", type: \"map\", map: mapSmallCaps, tag: \"Story\" },\r\n        { name: \"Once Upon\", type: \"map\", map: mapDoubleStruck, tag: \"Story\" },\r\n        { name: \"Wide Serif\", type: \"map\", map: mapWide, tag: \"Story\" },\r\n        { name: \"Old Press\", type: \"map\", map: mapMono, tag: \"Story\" },\r\n        \r\n        \/\/ --- MYTHIC ---\r\n        { name: \"Elven Script\", type: \"map\", map: mapScript, tag: \"Mythic\" },\r\n        { name: \"High Elven\", type: \"map\", map: mapScriptBold, tag: \"Mythic\" },\r\n        { name: \"Ancient Rune\", type: \"map\", map: mapFraktur, tag: \"Mythic\" },\r\n        { name: \"Dark Magic\", type: \"map\", map: mapFrakturBold, tag: \"Mythic\" },\r\n        { name: \"Stardust\", type: \"combine\", mark: \"\\u036f\", tag: \"Mythic\" }, \/\/ Zigzag\/magic mark\r\n        \r\n        \/\/ --- NATURE \/ FOREST ---\r\n        { name: \"Leaves\", type: \"surround\", prefix: \"\ud83c\udf43 \", suffix: \" \ud83c\udf43\", tag: \"Nature\" },\r\n        { name: \"Forest\", type: \"surround\", prefix: \"\ud83c\udf32 \", suffix: \" \ud83c\udf32\", tag: \"Nature\" },\r\n        { name: \"Floral\", type: \"surround\", prefix: \"\ud83c\udf38 \", suffix: \" \ud83c\udf38\", tag: \"Nature\" },\r\n        { name: \"Seedling\", type: \"surround\", prefix: \"\ud83c\udf31 \", suffix: \" \ud83c\udf31\", tag: \"Nature\" },\r\n        { name: \"Mushrooms\", type: \"surround\", prefix: \"\ud83c\udf44 \", suffix: \" \ud83c\udf44\", tag: \"Nature\" },\r\n        { name: \"Garden\", type: \"map-surround\", map: mapScript, prefix: \"\ud83c\udf3f \", suffix: \" \ud83c\udf3f\", tag: \"Nature\" },\r\n        \r\n        \/\/ --- COTTAGE \/ WHIMSICAL ---\r\n        { name: \"Cottagecore\", type: \"map-surround\", map: mapMono, prefix: \"\ud83c\udfe1 \", suffix: \" \ud83c\udfe1\", tag: \"Cottage\" },\r\n        { name: \"Tea Time\", type: \"map-surround\", map: mapDoubleStruck, prefix: \"\ud83e\uded6 \", suffix: \" \u2615\", tag: \"Cottage\" },\r\n        { name: \"Cozy Knit\", type: \"map-surround\", map: mapScriptBold, prefix: \"\ud83e\uddf6 \", suffix: \" \ud83e\uddf6\", tag: \"Cottage\" },\r\n        { name: \"Baking\", type: \"surround\", prefix: \"\ud83c\udf5e \", suffix: \" \ud83c\udf5e\", tag: \"Cottage\" },\r\n        { name: \"Honey\", type: \"surround\", prefix: \"\ud83c\udf6f \", suffix: \" \ud83c\udf6f\", tag: \"Cottage\" },\r\n        { name: \"Soft Star\", type: \"surround\", prefix: \"\u2727 \", suffix: \" \u2727\", tag: \"Cottage\" },\r\n        \r\n        \/\/ --- MIXED VARIATIONS (100+) ---\r\n        { name: \"Fairy Wings\", type: \"map-surround\", map: mapScript, prefix: \"\ud83e\uddda \", suffix: \" \ud83e\uddda\", tag: \"Mythic\" },\r\n        { name: \"Bookworm\", type: \"map-surround\", map: mapSerifBold, prefix: \"\ud83d\udcd6 \", suffix: \" \ud83d\udcd6\", tag: \"Story\" },\r\n        { name: \"Witchy\", type: \"map-surround\", map: mapFraktur, prefix: \"\ud83c\udf19 \", suffix: \" \ud83c\udf19\", tag: \"Mythic\" },\r\n        { name: \"Potion\", type: \"map-surround\", map: mapMono, prefix: \"\ud83e\uddea \", suffix: \" \ud83e\uddea\", tag: \"Mythic\" },\r\n        { name: \"Crystal\", type: \"map-surround\", map: mapDoubleStruck, prefix: \"\ud83d\udd2e \", suffix: \" \ud83d\udd2e\", tag: \"Mythic\" },\r\n        { name: \"Quill Pen\", type: \"map-surround\", map: mapScriptBold, prefix: \"\u2712\ufe0f \", suffix: \"\", tag: \"Story\" },\r\n        { name: \"Scroll\", type: \"map-surround\", map: mapFrakturBold, prefix: \"\ud83d\udcdc \", suffix: \" \ud83d\udcdc\", tag: \"Story\" },\r\n        { name: \"Candlelight\", type: \"map-surround\", map: mapSerifBold, prefix: \"\ud83d\udd6f\ufe0f \", suffix: \"\", tag: \"Cottage\" },\r\n        { name: \"Owl Wisdom\", type: \"map-surround\", map: mapSmallCaps, prefix: \"\ud83e\udd89 \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Fox\", type: \"map-surround\", map: mapMono, prefix: \"\ud83e\udd8a \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Bear\", type: \"map-surround\", map: mapBold, prefix: \"\ud83d\udc3b \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Deer\", type: \"map-surround\", map: mapWide, prefix: \"\ud83e\udd8c \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Butterfly\", type: \"map-surround\", map: mapScript, prefix: \"\ud83e\udd8b \", suffix: \" \ud83e\udd8b\", tag: \"Nature\" },\r\n        { name: \"Bee\", type: \"map-surround\", map: mapMono, prefix: \"\ud83d\udc1d \", suffix: \" \ud83d\udc1d\", tag: \"Nature\" },\r\n        { name: \"Ladybug\", type: \"map-surround\", map: mapSmallCaps, prefix: \"\ud83d\udc1e \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Snail\", type: \"map-surround\", map: mapScriptBold, prefix: \"\ud83d\udc0c \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Frog\", type: \"map-surround\", map: mapDoubleStruck, prefix: \"\ud83d\udc38 \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Sunflower\", type: \"map-surround\", map: mapSerifBold, prefix: \"\ud83c\udf3b \", suffix: \" \ud83c\udf3b\", tag: \"Nature\" },\r\n        { name: \"Daisy\", type: \"map-surround\", map: mapMono, prefix: \"\ud83c\udf3c \", suffix: \" \ud83c\udf3c\", tag: \"Nature\" },\r\n        { name: \"Rose\", type: \"map-surround\", map: mapFraktur, prefix: \"\ud83c\udf39 \", suffix: \" \ud83c\udf39\", tag: \"Nature\" },\r\n        { name: \"Tulip\", type: \"map-surround\", map: mapScript, prefix: \"\ud83c\udf37 \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Hibiscus\", type: \"map-surround\", map: mapWide, prefix: \"\ud83c\udf3a \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Maple\", type: \"map-surround\", map: mapBold, prefix: \"\ud83c\udf41 \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Falling Leaf\", type: \"map-surround\", map: mapSmallCaps, prefix: \"\ud83c\udf42 \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Herb\", type: \"map-surround\", map: mapMono, prefix: \"\ud83c\udf3f \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Clover\", type: \"map-surround\", map: mapDoubleStruck, prefix: \"\ud83c\udf40 \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Moon Phase\", type: \"map-surround\", map: mapFraktur, prefix: \"\ud83c\udf11 \", suffix: \" \ud83c\udf15\", tag: \"Mythic\" },\r\n        { name: \"Starry Night\", type: \"map-surround\", map: mapMono, prefix: \"\u2728 \", suffix: \" \u2728\", tag: \"Mythic\" },\r\n        { name: \"Comet\", type: \"map-surround\", map: mapWide, prefix: \"\u2604\ufe0f \", suffix: \"\", tag: \"Mythic\" },\r\n        { name: \"Sparkler\", type: \"map-surround\", map: mapScriptBold, prefix: \"\u2747\ufe0f \", suffix: \"\", tag: \"Mythic\" },\r\n        { name: \"Castle\", type: \"map-surround\", map: mapSerifBold, prefix: \"\ud83c\udff0 \", suffix: \" \ud83c\udff0\", tag: \"Story\" },\r\n        { name: \"Crown\", type: \"map-surround\", map: mapFrakturBold, prefix: \"\ud83d\udc51 \", suffix: \" \ud83d\udc51\", tag: \"Story\" },\r\n        { name: \"Sword\", type: \"map-surround\", map: mapFraktur, prefix: \"\u2694\ufe0f \", suffix: \" \u2694\ufe0f\", tag: \"Story\" },\r\n        { name: \"Shield\", type: \"map-surround\", map: mapDoubleStruck, prefix: \"\ud83d\udee1\ufe0f \", suffix: \"\", tag: \"Story\" },\r\n        { name: \"Bow\", type: \"map-surround\", map: mapMono, prefix: \"\ud83c\udff9 \", suffix: \"\", tag: \"Story\" },\r\n        { name: \"Key\", type: \"map-surround\", map: mapFraktur, prefix: \"\ud83d\udddd\ufe0f \", suffix: \" \ud83d\udddd\ufe0f\", tag: \"Story\" },\r\n        { name: \"Letter\", type: \"map-surround\", map: mapScript, prefix: \"\ud83d\udc8c \", suffix: \"\", tag: \"Cottage\" },\r\n        { name: \"Envelope\", type: \"map-surround\", map: mapMono, prefix: \"\u2709\ufe0f \", suffix: \"\", tag: \"Cottage\" },\r\n        { name: \"Package\", type: \"map-surround\", map: mapSmallCaps, prefix: \"\ud83d\udce6 \", suffix: \"\", tag: \"Cottage\" },\r\n        { name: \"Ribbon\", type: \"map-surround\", map: mapScriptBold, prefix: \"\ud83c\udf80 \", suffix: \" \ud83c\udf80\", tag: \"Cottage\" },\r\n        { name: \"Balloon\", type: \"map-surround\", map: mapDoubleStruck, prefix: \"\ud83c\udf88 \", suffix: \"\", tag: \"Cottage\" },\r\n        { name: \"Picnic\", type: \"map-surround\", map: mapMono, prefix: \"\ud83e\uddfa \", suffix: \"\", tag: \"Cottage\" },\r\n        { name: \"Bread\", type: \"map-surround\", map: mapSerifBold, prefix: \"\ud83e\udd56 \", suffix: \"\", tag: \"Cottage\" },\r\n        { name: \"Cheese\", type: \"map-surround\", map: mapWide, prefix: \"\ud83e\uddc0 \", suffix: \"\", tag: \"Cottage\" },\r\n        { name: \"Apple\", type: \"map-surround\", map: mapScript, prefix: \"\ud83c\udf4e \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Peach\", type: \"map-surround\", map: mapScriptBold, prefix: \"\ud83c\udf51 \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Cherry\", type: \"map-surround\", map: mapBold, prefix: \"\ud83c\udf52 \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Strawberry\", type: \"map-surround\", map: mapSmallCaps, prefix: \"\ud83c\udf53 \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Grapes\", type: \"map-surround\", map: mapDoubleStruck, prefix: \"\ud83c\udf47 \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Melon\", type: \"map-surround\", map: mapMono, prefix: \"\ud83c\udf49 \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Lemon\", type: \"map-surround\", map: mapWide, prefix: \"\ud83c\udf4b \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Rain\", type: \"map-surround\", map: mapScript, prefix: \"\ud83c\udf27\ufe0f \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Sun\", type: \"map-surround\", map: mapBold, prefix: \"\u2600\ufe0f \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Cloud\", type: \"map-surround\", map: mapDoubleStruck, prefix: \"\u2601\ufe0f \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Snow\", type: \"map-surround\", map: mapMono, prefix: \"\u2744\ufe0f \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Rainbow\", type: \"map-surround\", map: mapScriptBold, prefix: \"\ud83c\udf08 \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Umbrella\", type: \"map-surround\", map: mapSmallCaps, prefix: \"\u2602\ufe0f \", suffix: \"\", tag: \"Nature\" },\r\n        { name: \"Music\", type: \"map-surround\", map: mapScript, prefix: \"\ud83c\udfb5 \", suffix: \" \ud83c\udfb5\", tag: \"Cottage\" },\r\n        { name: \"Violin\", type: \"map-surround\", map: mapSerifBold, prefix: \"\ud83c\udfbb \", suffix: \"\", tag: \"Cottage\" },\r\n        { name: \"Art\", type: \"map-surround\", map: mapMono, prefix: \"\ud83c\udfa8 \", suffix: \"\", tag: \"Cottage\" },\r\n        { name: \"Yarn\", type: \"map-surround\", map: mapScriptBold, prefix: \"\ud83e\uddf6 \", suffix: \"\", tag: \"Cottage\" },\r\n        { name: \"Thread\", type: \"map-surround\", map: mapSmallCaps, prefix: \"\ud83e\uddf5 \", suffix: \"\", tag: \"Cottage\" },\r\n        { name: \"Pin\", type: \"map-surround\", map: mapDoubleStruck, prefix: \"\ud83d\udccd \", suffix: \"\", tag: \"Cottage\" },\r\n        { name: \"Scissors\", type: \"map-surround\", map: mapFraktur, prefix: \"\u2702\ufe0f \", suffix: \"\", tag: \"Cottage\" },\r\n        { name: \"Bell\", type: \"map-surround\", map: mapWide, prefix: \"\ud83d\udd14 \", suffix: \"\", tag: \"Story\" },\r\n        { name: \"Clock\", type: \"map-surround\", map: mapMono, prefix: \"\ud83d\udd70\ufe0f \", suffix: \"\", tag: \"Story\" },\r\n        { name: \"Hourglass\", type: \"map-surround\", map: mapSerifBold, prefix: \"\u23f3 \", suffix: \"\", tag: \"Story\" },\r\n        { name: \"Map\", type: \"map-surround\", map: mapFrakturBold, prefix: \"\ud83d\uddfa\ufe0f \", suffix: \"\", tag: \"Story\" },\r\n        { name: \"Compass\", type: \"map-surround\", map: mapDoubleStruck, prefix: \"\ud83e\udded \", suffix: \"\", tag: \"Story\" },\r\n        { name: \"Anchor\", type: \"map-surround\", map: mapBold, prefix: \"\u2693 \", suffix: \"\", tag: \"Story\" },\r\n        { name: \"Ghost\", type: \"map-surround\", map: mapMono, prefix: \"\ud83d\udc7b \", suffix: \"\", tag: \"Mythic\" },\r\n        { name: \"Skull\", type: \"map-surround\", map: mapFraktur, prefix: \"\ud83d\udc80 \", suffix: \"\", tag: \"Mythic\" },\r\n        { name: \"Web\", type: \"map-surround\", map: mapSmallCaps, prefix: \"\ud83d\udd78\ufe0f \", suffix: \"\", tag: \"Mythic\" },\r\n        { name: \"Spider\", type: \"map-surround\", map: mapBold, prefix: \"\ud83d\udd77\ufe0f \", suffix: \"\", tag: \"Mythic\" },\r\n        { name: \"Bat\", type: \"map-surround\", map: mapDoubleStruck, prefix: \"\ud83e\udd87 \", suffix: \"\", tag: \"Mythic\" },\r\n        { name: \"Dragon\", type: \"map-surround\", map: mapFrakturBold, prefix: \"\ud83d\udc09 \", suffix: \" \ud83d\udc09\", tag: \"Mythic\" },\r\n        { name: \"Unicorn\", type: \"map-surround\", map: mapScript, prefix: \"\ud83e\udd84 \", suffix: \" \ud83e\udd84\", tag: \"Mythic\" },\r\n        { name: \"Mermaid\", type: \"map-surround\", map: mapScriptBold, prefix: \"\ud83e\udddc\u200d\u2640\ufe0f \", suffix: \"\", tag: \"Mythic\" },\r\n        { name: \"Genie\", type: \"map-surround\", map: mapWide, prefix: \"\ud83e\uddde \", suffix: \"\", tag: \"Mythic\" },\r\n        { name: \"Zombie\", type: \"map-surround\", map: mapMono, prefix: \"\ud83e\udddf \", suffix: \"\", tag: \"Mythic\" },\r\n        { name: \"Elf\", type: \"map-surround\", map: mapSmallCaps, prefix: \"\ud83e\udddd \", suffix: \"\", tag: \"Mythic\" },\r\n        { name: \"Wizard\", type: \"map-surround\", map: mapFraktur, prefix: \"\ud83e\uddd9 \", suffix: \"\", tag: \"Mythic\" },\r\n        { name: \"Vampire\", type: \"map-surround\", map: mapFrakturBold, prefix: \"\ud83e\udddb \", suffix: \"\", tag: \"Mythic\" },\r\n        { name: \"Angel\", type: \"map-surround\", map: mapScript, prefix: \"\ud83d\udc7c \", suffix: \"\", tag: \"Mythic\" },\r\n        { name: \"Heart\", type: \"map-surround\", map: mapScriptBold, prefix: \"\u2764\ufe0f \", suffix: \"\", tag: \"Cottage\" },\r\n        { name: \"Broken Heart\", type: \"map-surround\", map: mapMono, prefix: \"\ud83d\udc94 \", suffix: \"\", tag: \"Story\" },\r\n        { name: \"Kiss\", type: \"map-surround\", map: mapSerifBold, prefix: \"\ud83d\udc8b \", suffix: \"\", tag: \"Cottage\" },\r\n        { name: \"Ring\", type: \"map-surround\", map: mapDoubleStruck, prefix: \"\ud83d\udc8d \", suffix: \"\", tag: \"Story\" },\r\n        { name: \"Gem\", type: \"map-surround\", map: mapWide, prefix: \"\ud83d\udc8e \", suffix: \"\", tag: \"Story\" },\r\n        { name: \"Peace\", type: \"map-surround\", map: mapSmallCaps, prefix: \"\u262e\ufe0f \", suffix: \"\", tag: \"Cottage\" },\r\n        { name: \"Yin Yang\", type: \"map-surround\", map: mapMono, prefix: \"\u262f\ufe0f \", suffix: \"\", tag: \"Mythic\" },\r\n        { name: \"Om\", type: \"map-surround\", map: mapScript, prefix: \"\ud83d\udd49\ufe0f \", suffix: \"\", tag: \"Mythic\" },\r\n        { name: \"Cross\", type: \"map-surround\", map: mapFraktur, prefix: \"\u271d\ufe0f \", suffix: \"\", tag: \"Story\" },\r\n        { name: \"Star of David\", type: \"map-surround\", map: mapFrakturBold, prefix: \"\u2721\ufe0f \", suffix: \"\", tag: \"Story\" },\r\n        { name: \"Wheel\", type: \"map-surround\", map: mapDoubleStruck, prefix: \"\u2638\ufe0f \", suffix: \"\", tag: \"Mythic\" },\r\n        { name: \"Atom\", type: \"map-surround\", map: mapMono, prefix: \"\u269b\ufe0f \", suffix: \"\", tag: \"Mythic\" }\r\n    ];\r\n    \r\n    \/\/ Fallback\/Extra Maps for definitions (if needed) are already defined above.\r\n\r\n    const inputEl = document.getElementById('pgInputText');\r\n    const resultList = document.getElementById('pgResultList');\r\n    const loadMoreBtn = document.getElementById('pgLoadMoreBtn');\r\n    const toast = document.getElementById('pgToast');\r\n    \r\n    const btnAll = document.getElementById('pgBtnAll');\r\n    const btnStory = document.getElementById('pgBtnStory');\r\n    const btnMythic = document.getElementById('pgBtnMythic');\r\n    const btnNature = document.getElementById('pgBtnNature');\r\n    const btnCottage = document.getElementById('pgBtnCottage');\r\n    const actionBtns = document.querySelectorAll('.pg-action-btn');\r\n\r\n    let visibleLimit = 16; \r\n    let currentFilter = 'all';\r\n\r\n    const mapChar = (c, map) => {\r\n        const idx = ALPHABET.indexOf(c);\r\n        const mapArr = Array.from(map);\r\n        return (idx !== -1 && mapArr[idx]) ? mapArr[idx] : c;\r\n    };\r\n\r\n    const transformText = (text, style) => {\r\n        if (!text) return \"\";\r\n        let chars = Array.from(text);\r\n        let result = \"\";\r\n\r\n        if (style.type === \"map\") {\r\n            result = chars.map(c => mapChar(c, style.map)).join(\"\");\r\n        }\r\n        else if (style.type === \"surround\") {\r\n            result = style.prefix + text + style.suffix;\r\n        }\r\n        else if (style.type === \"map-surround\") {\r\n            let mapped = chars.map(c => mapChar(c, style.map)).join(\"\");\r\n            result = style.prefix + mapped + style.suffix;\r\n        }\r\n        else if (style.type === \"combine\") {\r\n            result = chars.map(c => c + style.mark).join(\"\");\r\n        }\r\n        else if (style.type === \"spaced\") {\r\n            result = chars.join(\" \");\r\n        }\r\n        else if (style.type === \"join\") {\r\n            result = chars.join(style.joiner);\r\n        }\r\n        else {\r\n            result = text;\r\n        }\r\n        return result;\r\n    };\r\n\r\n    const render = () => {\r\n        resultList.innerHTML = '';\r\n        const inputText = inputEl.value || \"Once upon a time\";\r\n        \r\n        let filtered = STYLES;\r\n        if(currentFilter !== 'all') {\r\n            filtered = STYLES.filter(s => s.tag === currentFilter);\r\n        }\r\n\r\n        const limit = Math.min(visibleLimit, filtered.length);\r\n\r\n        for(let i=0; i<limit; i++) {\r\n            const style = filtered[i];\r\n            const finalText = transformText(inputText, style);\r\n\r\n            const card = document.createElement('div');\r\n            card.className = 'pg-result-card';\r\n            \r\n            card.innerHTML = `\r\n                <div class=\"pg-card-header\">\r\n                    <span class=\"pg-card-tag\">${style.name}<\/span>\r\n                    <div class=\"pg-copy-hint\"><i class=\"fa-regular fa-copy\"><\/i> Copy<\/div>\r\n                <\/div>\r\n                <div class=\"pg-card-preview\">${finalText}<\/div>\r\n            `;\r\n            \r\n            card.addEventListener('click', () => copyToClipboard(finalText));\r\n            resultList.appendChild(card);\r\n        }\r\n\r\n        loadMoreBtn.style.display = (visibleLimit >= filtered.length) ? 'none' : 'inline-flex';\r\n    };\r\n\r\n    const copyToClipboard = (text) => {\r\n        if(navigator.clipboard) {\r\n            navigator.clipboard.writeText(text).then(() => showToast());\r\n        } else {\r\n            const ta = document.createElement(\"textarea\");\r\n            ta.value = text;\r\n            document.body.appendChild(ta);\r\n            ta.select();\r\n            document.execCommand(\"copy\");\r\n            ta.remove();\r\n            showToast();\r\n        }\r\n    };\r\n\r\n    const showToast = () => {\r\n        toast.classList.add('show');\r\n        setTimeout(() => toast.classList.remove('show'), 2000);\r\n    };\r\n\r\n    inputEl.addEventListener('input', render);\r\n    \r\n    actionBtns.forEach(btn => {\r\n        btn.addEventListener('click', () => {\r\n            const symbol = btn.dataset.insert;\r\n            inputEl.value += symbol;\r\n            render();\r\n        });\r\n    });\r\n\r\n    const setFilter = (filter, btn) => {\r\n        currentFilter = filter;\r\n        [btnAll, btnStory, btnMythic, btnNature, btnCottage].forEach(b => b.classList.remove('active'));\r\n        btn.classList.add('active');\r\n        visibleLimit = 16; \r\n        render();\r\n    };\r\n\r\n    btnAll.addEventListener('click', () => setFilter('all', btnAll));\r\n    btnStory.addEventListener('click', () => setFilter('Story', btnStory));\r\n    btnMythic.addEventListener('click', () => setFilter('Mythic', btnMythic));\r\n    btnNature.addEventListener('click', () => setFilter('Nature', btnNature));\r\n    btnCottage.addEventListener('click', () => setFilter('Cottage', btnCottage));\r\n\r\n    loadMoreBtn.addEventListener('click', () => {\r\n        visibleLimit += 16;\r\n        render();\r\n    });\r\n\r\n    render();\r\n});\r\n<\/script><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":3,"featured_media":0,"parent":7051,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"footnotes":""},"class_list":["post-6966","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/themeton.com\/wp-json\/wp\/v2\/pages\/6966","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/themeton.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/themeton.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/themeton.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/themeton.com\/wp-json\/wp\/v2\/comments?post=6966"}],"version-history":[{"count":4,"href":"https:\/\/themeton.com\/wp-json\/wp\/v2\/pages\/6966\/revisions"}],"predecessor-version":[{"id":6971,"href":"https:\/\/themeton.com\/wp-json\/wp\/v2\/pages\/6966\/revisions\/6971"}],"up":[{"embeddable":true,"href":"https:\/\/themeton.com\/wp-json\/wp\/v2\/pages\/7051"}],"wp:attachment":[{"href":"https:\/\/themeton.com\/wp-json\/wp\/v2\/media?parent=6966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}