
/* =========================================================
   EMOJI COPY AND PASTE — CharacterCounter.com
   ========================================================= */


/* =========================================================
   PAGE BASE
   ========================================================= */

.emoji-page {
    width: 100%;
    padding: 105px 15px 35px;

    color: #333;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

.emoji-page,
.emoji-page *,
.emoji-page *::before,
.emoji-page *::after {
    box-sizing: border-box;
}

.emoji-page [hidden] {
    display: none !important;
}

.emoji-page button,
.emoji-page input {
    font-family: "Roboto", Arial, sans-serif;
}

.emoji-page a {
    color: #1155cc;
    text-decoration: none;
}

.emoji-page a:hover {
    text-decoration: underline;
}


/* =========================================================
   MAIN PAGE LAYOUT
   ========================================================= */

.emoji-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;

    align-items: start;
    gap: 28px;

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.emoji-main {
    width: 100%;
    min-width: 0;
}

.emoji-tool {
    width: 100%;
    min-width: 0;
}


/* =========================================================
   PAGE HEADING
   ========================================================= */

.emoji-heading {
    margin: 0 0 20px;
    text-align: center;
}

.emoji-heading h1 {
    margin: 0 0 9px;
    padding: 0;

    color: #333;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;

    overflow-wrap: break-word;
}

.emoji-heading p {
    max-width: 750px;
    margin: 0 auto;

    color: #555;
    font-size: 16px;
    line-height: 1.5;
}


/* =========================================================
   JAVASCRIPT / DATA LOADING NOTICE
   ========================================================= */

.emoji-notice {
    margin: 0 0 16px;
    padding: 12px 14px;

    border: 1px solid #e3cf9b;
    border-radius: 7px;

    background: #fff9eb;
    color: #665022;

    font-size: 14px;
    line-height: 1.5;
}

#emojiLoadError {
    margin-top: 16px;
}


/* =========================================================
   SEARCH AND FILTER CONTROLS
   ========================================================= */

.emoji-controls {
    width: 100%;
    min-width: 0;
    margin: 0 0 17px;
}

.emoji-search-label {
    display: block;
    margin: 0 0 7px;

    color: #444;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}


/* =========================================================
   SEARCH BOX
   ========================================================= */

.emoji-search-box {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 48px;
    margin: 0;

    border: 2px solid #c9ced6;
    border-radius: 9px;

    background: #fff;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.emoji-search-box:hover {
    border-color: #aeb4bd;
}

.emoji-search-box:focus-within {
    border-color: #5f6368;
    box-shadow: 0 0 0 2px rgba(95, 99, 104, 0.08);
}

.emoji-search-box > i {
    position: absolute;
    top: 50%;
    left: 15px;

    color: #818891;
    font-size: 20px;
    line-height: 1;

    transform: translateY(-50%);
    pointer-events: none;
}

.emoji-search-box input {
    display: block;

    width: 100%;
    height: 46px;
    min-width: 0;

    margin: 0;
    padding: 10px 46px;

    border: 0;
    border-radius: 8px;
    outline: none;

    background: transparent;
    color: #222;

    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;

    appearance: none;
    -webkit-appearance: none;
}

.emoji-search-box input::placeholder {
    color: #8a8f98;
    opacity: 1;
}

.emoji-search-box input::-webkit-search-cancel-button,
.emoji-search-box input::-webkit-search-decoration {
    display: none;
}


/* =========================================================
   CLEAR SEARCH BUTTON
   ========================================================= */

.emoji-clear {
    position: absolute;
    top: 50%;
    right: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 6px;

    background: transparent;
    color: #777;

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

.emoji-clear i {
    font-size: 19px;
    line-height: 1;
}

.emoji-clear:hover {
    background: #f0f1f3;
    color: #333;
}

.emoji-clear:focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
}


/* =========================================================
   CATEGORY FILTERS — NO HORIZONTAL SCROLL
   ========================================================= */

/*
   Category buttons wrap onto additional rows.

   No horizontal scrollbar, clipped categories,
   or hidden overflow.
*/

.emoji-filters {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;

    gap: 7px;

    width: 100%;
    min-width: 0;

    margin: 13px 0 8px;
    padding: 0;

    overflow: visible;
}

.emoji-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    min-height: 35px;
    margin: 0;
    padding: 7px 11px;

    border: 1px solid #dce0e5;
    border-radius: 7px;

    background: #f7f8fa;
    color: #454b53;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;

    text-align: center;
    white-space: nowrap;

    cursor: pointer;
    user-select: none;

    -webkit-tap-highlight-color: transparent;

    transition:
        border-color 0.15s ease,
        background-color 0.15s ease,
        color 0.15s ease;
}

.emoji-filter:hover {
    border-color: #b8c0ca;
    background: #eceff3;
    color: #222;
}

.emoji-filter.is-active,
.emoji-filter[aria-pressed="true"] {
    border-color: #454b54;
    background: #454b54;
    color: #fff;

    font-weight: 600;
}

.emoji-filter.is-active:hover,
.emoji-filter[aria-pressed="true"]:hover {
    border-color: #343941;
    background: #343941;
    color: #fff;
}

.emoji-filter:focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
}


/* =========================================================
   SEARCH RESULT COUNT
   ========================================================= */

/*
   Hidden when not searching or filtering.
   JavaScript displays the count when needed.
*/

.emoji-results {
    min-height: 20px;
    margin: 10px 0 0;

    color: #727982;
    font-size: 13px;
    line-height: 1.5;
}

.emoji-results:empty,
.emoji-results[hidden] {
    display: none !important;

    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
}


/* =========================================================
   EMOJI CATEGORY SECTIONS
   ========================================================= */

.emoji-sections {
    display: flex;
    flex-direction: column;

    gap: 18px;

    width: 100%;
    min-width: 0;
}

.emoji-category {
    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 15px 16px 17px;

    border: 1px solid #dce1e7;
    border-radius: 10px;

    background: #fff;
}

.emoji-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

    gap: 8px 12px;

    width: 100%;
    min-width: 0;

    margin: 0 0 13px;
}

.emoji-category-header h2 {
    flex: 1 1 auto;

    margin: 0;
    padding: 0;

    color: #333;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
}

.emoji-category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 30px;
    min-height: 25px;

    padding: 3px 9px;

    border-radius: 6px;

    background: #f1f3f5;
    color: #757d86;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;

    font-variant-numeric: tabular-nums;
}

.emoji-category-description {
    margin: -4px 0 13px;

    color: #666;
    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   EMOJI GRID
   ========================================================= */

.emoji-grid {
    display: grid;

    grid-template-columns:
        repeat(9, minmax(0, 1fr));

    gap: 7px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    /*
       Native emoji fonts provide colored
       platform-appropriate emoji rendering.
    */

    font-family:
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Noto Color Emoji",
        "Twemoji Mozilla",
        sans-serif;

    font-size: 29px;
    line-height: 1.5;

    overflow-wrap: anywhere;
}


/* =========================================================
   EMOJI TILE WRAPPER
   ========================================================= */

/*
   JavaScript may wrap an emoji button in
   .emoji-tile-wrap when skin-tone options exist.

   The emoji button is the main copy action.

   Any optional skin-tone control is a separate
   sibling button, not nested inside a button.
*/

.emoji-tile-wrap {
    position: relative;

    display: flex;
    align-items: stretch;
    justify-content: center;

    width: 100%;
    min-width: 0;
    min-height: 58px;
}


/* =========================================================
   EMOJI BUTTONS
   ========================================================= */

.emoji-grid button.emoji-tile,
.emoji-grid > button {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;

    height: 58px;
    min-height: 58px;

    margin: 0;
    padding: 5px;

    border: 1px solid #e1e5ea;
    border-radius: 7px;

    background: #fafbfc;
    color: #252a30;

    font-family:
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Noto Color Emoji",
        "Twemoji Mozilla",
        sans-serif;

    font-size: 29px;
    font-weight: 400;
    line-height: 1.2;

    text-align: center;
    white-space: nowrap;

    cursor: pointer;
    user-select: none;

    -webkit-tap-highlight-color: transparent;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}

.emoji-grid button.emoji-tile:hover,
.emoji-grid > button:hover {
    border-color: #aeb9c5;
    background: #edf2f7;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.emoji-grid button.emoji-tile:active,
.emoji-grid > button:active {
    transform: scale(0.96);
    background: #e5ebf2;
}

.emoji-grid button.emoji-tile:focus-visible,
.emoji-grid > button:focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;

    z-index: 2;
}


/* =========================================================
   EMOJI GLYPH
   ========================================================= */

/*
   The emoji itself is kept in an inner span.

   This allows JavaScript to display temporary
   copy feedback without changing the original
   emoji value.
*/

.emoji-glyph {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;

    font-family:
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Noto Color Emoji",
        "Twemoji Mozilla",
        sans-serif;

    font-size: inherit;
    font-weight: 400;
    line-height: 1.2;

    text-align: center;
    white-space: nowrap;

    pointer-events: none;
}


/* =========================================================
   COPY CONFIRMATION — DIRECTLY ON EMOJI TILE
   ========================================================= */

/*
   No separate bottom-screen notification.

   When copying succeeds, JavaScript adds
   .is-copied to the clicked emoji button.

   The tile temporarily displays "Copied!".
*/

.emoji-grid button.emoji-tile.is-copied,
.emoji-grid > button.is-copied,
.emoji-grid button.emoji-tile.copied {
    border-color: #91b99a;
    background: #eaf6ed;
    color: #276438;

    box-shadow: none;
}

.emoji-grid button.emoji-tile.is-copied::after,
.emoji-grid > button.is-copied::after,
.emoji-grid button.emoji-tile.copied::after {
    content: "Copied!";

    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 3px;

    border-radius: 6px;

    background: #eaf6ed;
    color: #276438;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;

    text-align: center;

    pointer-events: none;
    z-index: 3;
}


/* =========================================================
   COPY FAILURE
   ========================================================= */

.emoji-grid button.emoji-tile.is-error,
.emoji-grid > button.is-error,
.emoji-grid button.emoji-tile.copy-failed {
    border-color: #d9a1a1;
    background: #fff2f2;
    color: #a13b3b;
}

.emoji-grid button.emoji-tile.is-error::after,
.emoji-grid > button.is-error::after,
.emoji-grid button.emoji-tile.copy-failed::after {
    content: "Failed";

    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 3px;

    border-radius: 6px;

    background: #fff2f2;
    color: #a13b3b;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;

    pointer-events: none;
    z-index: 3;
}


/* =========================================================
   SKIN-TONE BUTTON ON AN EMOJI TILE
   ========================================================= */

/*
   Small secondary button for emojis that
   support skin-tone variations.

   The main emoji button still copies instantly.
*/

.emoji-grid button.emoji-tone-trigger {
    position: absolute;

    right: 2px;
    bottom: 2px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 19px;
    height: 19px;
    min-width: 19px;
    min-height: 19px;

    margin: 0;
    padding: 0;

    border: 1px solid #d5dce4;
    border-radius: 5px;

    background: rgba(255, 255, 255, 0.96);
    color: #59626e;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 12px;
    line-height: 1;

    cursor: pointer;

    z-index: 4;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease;
}

.emoji-grid button.emoji-tone-trigger:hover {
    border-color: #a5b2c2;
    background: #e8edf4;
}

.emoji-grid button.emoji-tone-trigger:focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
}


/* =========================================================
   SKIN-TONE VARIANT PICKER
   ========================================================= */

/*
   Floating picker populated by JavaScript.

   Default position is centered.

   JavaScript can set viewport coordinates
   using left and top and add .is-positioned
   to place the picker near the clicked emoji.
*/

.emoji-variant-picker {
    position: fixed;

    top: 50%;
    left: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 7px;

    width: max-content;
    max-width: calc(100vw - 24px);

    margin: 0;
    padding: 11px;

    border: 1px solid #d8dfe7;
    border-radius: 10px;

    background: #fff;

    box-shadow:
        0 5px 24px rgba(0, 0, 0, 0.16);

    transform: translate(-50%, -50%);

    z-index: 1000;
}

.emoji-variant-picker.is-positioned {
    transform: none;
}

.emoji-variant-picker button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;

    margin: 0;
    padding: 4px;

    border: 1px solid #e1e5ea;
    border-radius: 7px;

    background: #fafbfc;
    color: #333;

    font-family:
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Noto Color Emoji",
        "Twemoji Mozilla",
        sans-serif;

    font-size: 27px;
    line-height: 1.2;

    cursor: pointer;

    transition:
        border-color 0.15s ease,
        background-color 0.15s ease,
        transform 0.15s ease;
}

.emoji-variant-picker button:hover {
    border-color: #aeb9c5;
    background: #edf2f7;
}

.emoji-variant-picker button:active {
    transform: scale(0.96);
}

.emoji-variant-picker button:focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
}

.emoji-variant-picker button.is-selected {
    border-color: #4f657e;
    background: #e8eef6;
}

.emoji-variant-picker button.is-copied {
    border-color: #91b99a;
    background: #eaf6ed;
}


/* =========================================================
   RECENTLY COPIED EMOJIS
   ========================================================= */

#emoji-recent {
    border-color: #dce1e7;
    background: #fff;
}

#emoji-recent .emoji-category-header {
    margin-bottom: 13px;
}

#emojiRecentGrid:empty {
    display: none;
}


/* =========================================================
   EMPTY SEARCH RESULTS
   ========================================================= */

.emoji-empty {
    width: 100%;

    margin: 15px 0 0;
    padding: 25px 16px;

    border: 1px solid #e1e5ea;
    border-radius: 9px;

    background: #fafbfc;
    color: #777;

    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}


/* =========================================================
   SCREEN-READER-ONLY TEXT
   ========================================================= */

/*
   Accessibility announcement for clipboard actions.

   This element is not visibly displayed.
*/

.emoji-sr-only {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* =========================================================
   SEO CONTENT
   ========================================================= */

.emoji-content {
    width: 100%;
    min-width: 0;

    margin: 34px 0 0;

    color: #414141;
    font-size: 15px;
    line-height: 1.75;
}

.emoji-content h2 {
    margin: 30px 0 11px;
    padding: 0;

    color: #333;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.35;
}

.emoji-content h2:first-child {
    margin-top: 0;
}

.emoji-content h3 {
    margin: 22px 0 8px;
    padding: 0;

    color: #333;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.emoji-content p {
    margin: 0 0 15px;

    color: #484848;
    font-size: 15px;
    line-height: 1.75;
}

.emoji-content ol,
.emoji-content ul {
    margin: 0 0 18px;
    padding-left: 25px;
}

.emoji-content li {
    margin: 0 0 8px;

    color: #484848;
    font-size: 15px;
    line-height: 1.7;
}

.emoji-content strong {
    font-weight: 700;
}

.emoji-content a {
    color: #1155cc;
    font-weight: 500;
    text-decoration: none;
}

.emoji-content a:hover {
    text-decoration: underline;
}

.emoji-content a:focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: 3px;
    border-radius: 2px;
}


/* =========================================================
   RELATED TOOLS
   ========================================================= */

.emoji-related {
    width: 100%;

    margin: 33px 0 0;
    padding: 20px 22px;

    border: 1px solid #dce1e7;
    border-radius: 9px;

    background: #fafbfc;
}

.emoji-related h2 {
    margin: 0 0 13px;

    color: #333;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
}

.emoji-related ul {
    margin: 0 0 15px;
    padding-left: 21px;
}

.emoji-related li {
    margin: 0 0 8px;

    font-size: 14px;
    line-height: 1.65;
}

.emoji-related li:last-child {
    margin-bottom: 0;
}

.emoji-related p {
    margin: 0;

    color: #555;
    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   RAPTIVE SIDEBAR
   ========================================================= */

.emoji-sidebar {
    position: relative;

    width: 300px;
    min-width: 300px;
    min-height: 600px;

    margin: 0;
    padding: 0;
}

.emoji-sidebar:empty {
    background: transparent;
}


/* =========================================================
   ANCHOR SCROLLING
   ========================================================= */

.emoji-category {
    scroll-margin-top: 85px;
}


/* =========================================================
   RESPONSIVE — LARGE LAPTOPS
   ========================================================= */

@media (max-width: 1200px) {

    .emoji-layout {
        gap: 22px;
    }

    .emoji-grid {
        grid-template-columns:
            repeat(8, minmax(0, 1fr));
    }

    .emoji-grid button.emoji-tile,
    .emoji-grid > button {
        height: 56px;
        min-height: 56px;
        font-size: 28px;
    }

    .emoji-tile-wrap {
        min-height: 56px;
    }

}


/* =========================================================
   RESPONSIVE — TABLETS AND SMALL LAPTOPS
   ========================================================= */

@media (max-width: 960px) {

    .emoji-page {
        padding-top: 95px;
    }

    .emoji-layout {
        display: block;
        max-width: 850px;
    }

    .emoji-main {
        width: 100%;
    }

    .emoji-sidebar {
        display: none;
    }

    .emoji-grid {
        grid-template-columns:
            repeat(9, minmax(0, 1fr));
    }

    .emoji-grid button.emoji-tile,
    .emoji-grid > button {
        height: 58px;
        min-height: 58px;
        font-size: 29px;
    }

    .emoji-tile-wrap {
        min-height: 58px;
    }

}


/* =========================================================
   RESPONSIVE — TABLETS
   ========================================================= */

@media (max-width: 760px) {

    .emoji-page {
        padding: 92px 13px 30px;
    }

    .emoji-heading {
        margin-bottom: 19px;
    }

    .emoji-heading h1 {
        font-size: 29px;
    }

    .emoji-heading p {
        font-size: 15px;
    }

    .emoji-category {
        padding: 14px;
    }

    .emoji-grid {
        grid-template-columns:
            repeat(8, minmax(0, 1fr));

        gap: 7px;
    }

    .emoji-grid button.emoji-tile,
    .emoji-grid > button {
        height: 55px;
        min-height: 55px;
        font-size: 28px;
    }

    .emoji-tile-wrap {
        min-height: 55px;
    }

    .emoji-content {
        margin-top: 30px;
    }

    .emoji-content h2 {
        font-size: 22px;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .emoji-page {
        padding: 87px 11px 27px;
    }

    .emoji-heading {
        margin-bottom: 18px;
    }

    .emoji-heading h1 {
        margin-bottom: 8px;
        font-size: 27px;
    }

    .emoji-heading p {
        max-width: 500px;

        font-size: 14px;
        line-height: 1.5;
    }

    .emoji-controls {
        margin-bottom: 15px;
    }

    .emoji-search-box {
        min-height: 46px;
    }

    .emoji-search-box input {
        height: 44px;
        font-size: 14px;
    }

    .emoji-filters {
        gap: 6px;
        margin-top: 12px;
    }

    .emoji-filter {
        min-height: 34px;
        padding: 7px 10px;

        font-size: 12px;
    }

    .emoji-sections {
        gap: 14px;
    }

    .emoji-category {
        padding: 13px 12px 15px;
        border-radius: 9px;
    }

    .emoji-category-header {
        margin-bottom: 12px;
    }

    .emoji-category-header h2 {
        font-size: 18px;
    }

    .emoji-grid {
        grid-template-columns:
            repeat(7, minmax(0, 1fr));

        gap: 6px;
    }

    .emoji-grid button.emoji-tile,
    .emoji-grid > button {
        height: 52px;
        min-height: 52px;

        padding: 3px;

        font-size: 27px;
    }

    .emoji-tile-wrap {
        min-height: 52px;
    }

    .emoji-grid button.emoji-tone-trigger {
        width: 17px;
        height: 17px;
        min-width: 17px;
        min-height: 17px;

        right: 1px;
        bottom: 1px;

        font-size: 11px;
    }

    .emoji-content {
        margin-top: 28px;
    }

    .emoji-content h2 {
        margin-top: 26px;
        font-size: 21px;
    }

    .emoji-content h3 {
        font-size: 17px;
    }

    .emoji-related {
        padding: 17px 16px;
    }

    .emoji-variant-picker {
        gap: 6px;
        padding: 9px;
    }

    .emoji-variant-picker button {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;

        font-size: 25px;
    }

}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .emoji-page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .emoji-heading h1 {
        font-size: 26px;
    }

    .emoji-heading p {
        font-size: 14px;
    }

    .emoji-category {
        padding: 12px 10px 14px;
    }

    .emoji-grid {
        grid-template-columns:
            repeat(6, minmax(0, 1fr));

        gap: 6px;
    }

    .emoji-grid button.emoji-tile,
    .emoji-grid > button {
        height: 51px;
        min-height: 51px;

        font-size: 26px;
    }

    .emoji-tile-wrap {
        min-height: 51px;
    }

    .emoji-category-header h2 {
        font-size: 17px;
    }

    .emoji-category-count {
        min-height: 23px;
        padding: 3px 7px;

        font-size: 11px;
    }

    .emoji-filter {
        font-size: 12px;
        padding: 7px 9px;
    }

    .emoji-content {
        font-size: 14px;
    }

    .emoji-content p,
    .emoji-content li {
        font-size: 14px;
    }

    .emoji-content h2 {
        font-size: 20px;
    }

    .emoji-related h2 {
        font-size: 19px;
    }

}


/* =========================================================
   RESPONSIVE — NARROW MOBILE
   ========================================================= */

@media (max-width: 390px) {

    .emoji-heading h1 {
        font-size: 25px;
    }

    .emoji-grid {
        grid-template-columns:
            repeat(5, minmax(0, 1fr));
    }

    .emoji-grid button.emoji-tile,
    .emoji-grid > button {
        height: 52px;
        min-height: 52px;

        font-size: 26px;
    }

    .emoji-tile-wrap {
        min-height: 52px;
    }

    .emoji-filter {
        min-height: 33px;

        padding: 6px 8px;
        font-size: 11.5px;
    }

}


/* =========================================================
   RESPONSIVE — VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 340px) {

    .emoji-page {
        padding-left: 8px;
        padding-right: 8px;
    }

    .emoji-heading h1 {
        font-size: 23px;
    }

    .emoji-category {
        padding: 10px 8px 12px;
    }

    .emoji-grid {
        grid-template-columns:
            repeat(5, minmax(0, 1fr));

        gap: 4px;
    }

    .emoji-grid button.emoji-tile,
    .emoji-grid > button {
        height: 45px;
        min-height: 45px;

        font-size: 23px;
    }

    .emoji-tile-wrap {
        min-height: 45px;
    }

    .emoji-category-header h2 {
        font-size: 16px;
    }

    .emoji-variant-picker button {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;

        font-size: 23px;
    }

}


/* =========================================================
   REDUCED MOTION ACCESSIBILITY
   ========================================================= */

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

    .emoji-page *,
    .emoji-page *::before,
    .emoji-page *::after {
        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}


/* =========================================================
   END — EMOJI COPY AND PASTE CSS
   ========================================================= */
