:root {
    --bg: #faf6f1;
    --bg-gradient: radial-gradient(circle at 12% 8%, rgba(255, 164, 81, 0.18) 0, transparent 45%),
        radial-gradient(circle at 80% 0%, rgba(255, 209, 178, 0.2) 0, transparent 42%),
        linear-gradient(180deg, #fefcfb 0%, #f7f2ec 100%);
    --surface: #ffffff;
    --surface-soft: #fff2e5;
    --surface-alt: #ffe3cc;
    --border-subtle: rgba(225, 162, 120, 0.28);
    --border-strong: rgba(255, 113, 27, 0.45);
    --text-primary: #1f2933;
    --text-secondary: #4a515b;
    --text-muted: rgba(76, 88, 102, 0.65);
    --accent: #ff6200;
    --accent-strong: #e04b00;
    --accent-soft: rgba(255, 98, 0, 0.16);
    --accent-gradient: linear-gradient(135deg, #ff8441 0%, #ff6200 100%);
    --warning: #f97316;
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shadow-soft: 0 28px 60px -40px rgba(15, 23, 42, 0.65);
    --shadow-tiny: 0 6px 18px rgba(15, 23, 42, 0.08);
    --font-display: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --section-gap: clamp(18px, 3.2vw, 24px);
}

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

html {
    scroll-behavior: smooth;
}

html,
body {
    overscroll-behavior-y: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    min-height: 100vh;
    background: var(--bg);
    background-image: var(--bg-gradient);
    color: var(--text-primary);
    font-family: var(--font-display);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.18s ease;
}

a,
a:focus-visible {
    color: var(--accent-strong);
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 188, 136, 0.24);
    box-shadow: 0 12px 32px -28px rgba(31, 41, 51, 0.28);
}

.header-inner {
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 24px;
}

.logo {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.logo span {
    margin-left: -0.06em;
    color: var(--accent);
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    font-weight: 600;
    color: var(--text-primary);
}

.nav a:focus-visible {
    outline: 3px solid rgba(34, 211, 238, 0.4);
    outline-offset: 2px;
}

.container {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto 80px;
}

.caption-hub {
    margin-top: clamp(28px, 6vw, 64px);
}

.nav a::after {
    content: "";
    position: absolute;
    inset: auto 0 -6px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 999px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.nav a[href="#saved-stickers"],
.nav a[href="/index.html#saved-stickers"] {
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 98, 0, 0.08);
    color: var(--accent-strong);
    border: 1px solid rgba(255, 122, 36, 0.32);
}

.nav a[href="#saved-stickers"]::after,
.nav a[href="/index.html#saved-stickers"]::after {
    display: none;
}

.nav a[href="#saved-stickers"]:hover,
.nav a[href="#saved-stickers"]:focus-visible,
.nav a[href="/index.html#saved-stickers"]:hover,
.nav a[href="/index.html#saved-stickers"]:focus-visible {
    background: rgba(255, 98, 0, 0.16);
    color: var(--accent-strong);
}

@media (max-width: 420px) {
    @supports not (-webkit-touch-callout: none) {
        .header-inner {
            padding: 14px 18px;
            gap: clamp(10px, 4vw, 16px);
        }

        .logo {
            font-size: clamp(1.28rem, 5vw, 1.5rem);
        }

        .nav {
            flex: 1 1 auto;
            display: flex;
            justify-content: flex-end;
            gap: clamp(8px, 3.2vw, 14px);
            flex-wrap: nowrap;
            white-space: nowrap;
        }

        .nav a {
            flex: 0 1 auto;
            font-size: clamp(0.78rem, 3vw, 0.92rem);
            padding: 4px 0;
        }

        .nav a[href="#saved-stickers"],
        .nav a[href="/index.html#saved-stickers"] {
            padding: 4px 12px;
        }
    }
}

.count-badge {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    padding: 2px 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8a3d, #ff6200);
    color: #fff7f0;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 8px;
}

main {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto 80px;
}


.hero {
    margin-top: 24px;
    margin-bottom: 22px;
}

.hero__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    padding: 24px 26px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 188, 136, 0.35);
    box-shadow: 0 14px 44px -32px rgba(31, 41, 51, 0.32);
    align-items: stretch;
}

.hero__inner--compact {
    grid-template-columns: 1fr;
    width: 100%;
    text-align: left;
}

.hero__content {
    display: flex;
    flex-direction: column;
    gap: 0;
    color: var(--text-primary);
    justify-content: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 98, 0, 0.12);
    color: var(--accent-strong);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero__title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    max-width: 40ch;
    margin: 0 0 16px;
}

.hero__lede {
    color: var(--text-secondary);
    font-size: 1.02rem;
    max-width: 60ch;
    margin: 0 0 20px;
}

.hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
}

.hero__points--inline {
    justify-content: flex-start;
}

.hero__point {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 140, 64, 0.14);
    color: var(--accent-strong);
    font-size: 0.86rem;
    letter-spacing: 0.01em;
    box-shadow: inset 0 0 0 1px rgba(255, 178, 120, 0.22);
}


.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 0;
}

.hero__cta.hero__cta--homepage {
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: clamp(12px, 2vw, 16px);
}

.hero__cta.hero__cta--homepage .btn {
    flex: 0 0 auto;
}

.page-hero__content h1 {
    margin: 0;
    line-height: 1.15;
}

.page-hero__content h1 + .page-hero__lede {
    margin-top: 18px;
}

.page-hero__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.page-hero__links .btn {
    flex: 1 1 auto;
    min-width: 172px;
    justify-content: center;
}

@media (max-width: 640px) {
    .page-hero__links {
        flex-direction: column;
        align-items: stretch;
    }

    .page-hero__links .btn {
        width: 100%;
    }

    .hero__cta.hero__cta--homepage {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: clamp(10px, 4vw, 16px);
    }

    .hero__cta.hero__cta--homepage .btn {
        flex: 1 1 clamp(120px, 43vw, 200px);
        min-width: 0;
    }

    .sticker-packs-page .page-hero__links {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .sticker-packs-page .page-hero__links .btn {
        width: auto;
        flex: 1 1 clamp(120px, 43vw, 200px);
    }

    .all-stickers-page .page-hero__links {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .all-stickers-page .page-hero__links .btn {
        width: auto;
        flex: 1 1 clamp(120px, 43vw, 200px);
        min-width: 0;
    }

    .emoji-catalog .page-hero__links {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: flex-start;
    }

    .emoji-catalog .page-hero__links .btn {
        width: auto;
        flex: 1 1 clamp(120px, 43vw, 200px);
        min-width: 0;
    }
}

.sticker-packs-page .page-hero__links {
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: clamp(10px, 3vw, 14px);
}

.sticker-packs-page .page-hero__links .btn {
    flex: 1 1 clamp(120px, 42vw, 220px);
    max-width: clamp(140px, 48vw, 240px);
    min-width: 0;
    text-align: center;
    padding-inline: clamp(14px, 2.4vw, 20px);
}

.all-stickers-page .page-hero__links {
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: clamp(10px, 3vw, 14px);
}

.all-stickers-page .page-hero__links .btn {
    flex: 1 1 clamp(130px, 40vw, 230px);
    max-width: clamp(150px, 44vw, 240px);
    min-width: 0;
    text-align: center;
    padding-inline: clamp(14px, 2.6vw, 22px);
}

@media (max-width: 520px) {
    .sticker-packs-page .page-hero__links {
        gap: clamp(8px, 2.4vw, 10px);
    }

    .sticker-packs-page .page-hero__links .btn {
        font-size: 0.9rem;
        padding-inline: clamp(12px, 4vw, 18px);
    }

    .all-stickers-page .page-hero__links {
        gap: clamp(8px, 2.8vw, 12px);
    }

    .all-stickers-page .page-hero__links .btn {
        font-size: 0.9rem;
        padding-inline: clamp(12px, 4vw, 18px);
    }

    .emoji-catalog .page-hero__links {
        gap: clamp(8px, 3vw, 12px);
    }

    .emoji-catalog .page-hero__links .btn {
        font-size: 0.9rem;
        padding-inline: clamp(12px, 4vw, 18px);
    }

    .all-stickers__pagination {
        gap: clamp(12px, 4vw, 18px);
    }

    .all-stickers__pager {
        padding: 4px 8px;
        font-size: clamp(1rem, 6vw, 1.3rem);
    }

    .all-stickers__page-status {
        flex: 0 0 auto;
    }
}

.sticker-packs-page {
    display: flex;
    flex-direction: column;
    gap: var(--section-gap);
    --section-gap: clamp(16px, 3vw, 22px);
}

.sticker-packs-page > * {
    margin: 0;
}

.sticker-packs-page .card {
    margin: 0;
}

.sticker-packs-page .sticker-pack-directory {
    margin: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--accent-gradient);
    color: #fff9f3;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 16px 28px -20px rgba(255, 113, 27, 0.6);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 34px -26px rgba(255, 113, 27, 0.55);
}

.btn:focus-visible {
    outline: 3px solid rgba(34, 211, 238, 0.5);
    outline-offset: 2px;
}

.btn.secondary {
    background: #fff8f1;
    color: var(--accent-strong);
    border: 1px solid rgba(255, 140, 64, 0.3);
    box-shadow: 0 12px 24px -20px rgba(31, 41, 51, 0.25);
}

.btn.ghost {
    background: rgba(255, 98, 0, 0.12);
    color: var(--accent-strong);
    border: 1px solid rgba(255, 122, 36, 0.32);
}

.btn:disabled {
    opacity: 0.45;
    cursor: default;
    box-shadow: none;
    transform: none;
}

@media (min-width: 960px) {
    .hero__inner {
        padding: 34px 36px;
        gap: 26px;
        width: 100%;
    }

    .hero__content {
        padding-right: 16px;
    }
}
.captions-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 20px;
}

.caption-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 900px) {
    .caption-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.caption-card {
    background: linear-gradient(180deg, #fff9f3 0%, #fff4ea 100%);
    border: 1px solid rgba(255, 188, 136, 0.38);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px -42px rgba(31, 41, 51, 0.55);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.caption-card__header h2 {
    margin: 6px 0;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
}

.caption-card__header p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.caption-card__icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 228, 208, 0.6);
    font-size: 1.35rem;
}

.caption-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.caption-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 98, 0, 0.12);
    color: var(--accent-strong);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 122, 36, 0.32);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.caption-link:hover,
.caption-link:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 98, 0, 0.22);
    box-shadow: 0 16px 32px -26px rgba(255, 122, 36, 0.55);
}

.caption-note {
    margin-top: -12px;
}

.caption-page {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 24px;
    padding-bottom: 72px;
    padding-block: 24px 72px;
    overflow-anchor: none;
    contain: layout paint;
}

.caption-page__hero {
    position: relative;
    overflow: hidden;
}

.caption-page__hero::before {
    content: "";
    position: absolute;
    inset: auto auto -120px -140px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle at bottom left, rgba(255, 98, 0, 0.18), transparent 70%);
    pointer-events: none;
}

.caption-page__hero::after {
    content: "";
    position: absolute;
    inset: -120px -120px auto auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle at top right, rgba(255, 140, 64, 0.22), transparent 70%);
    pointer-events: none;
}

.caption-page__hero > * {
    position: relative;
    z-index: 1;
}

.caption-page__hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(31, 41, 51, 0.65);
}

.caption-page__hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.caption-page__grid {
    display: grid;
    gap: 22px;
    overflow-anchor: none;
}

@media (min-width: 860px) {
    .caption-page__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.caption-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: auto;
}

@media (min-width: 860px) {
    .caption-section {
        min-height: 100%;
    }
}

.caption-section__header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.caption-section__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 18px;
    background: rgba(255, 140, 64, 0.12);
    font-size: 1.6rem;
    color: var(--accent-strong);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.caption-section h2 {
    margin: 0 0 6px;
    font-size: 1.24rem;
    letter-spacing: -0.01em;
}

.caption-section p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.96rem;
    line-height: 1.55;
}

.caption-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    overflow-anchor: none;
}

.caption-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 188, 136, 0.38);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    overflow-anchor: none;
}

.caption-item,
.caption-item * {
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.caption-item--copyable {
    cursor: pointer;
    touch-action: manipulation;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.caption-item--copyable:hover {
    border-color: rgba(255, 140, 64, 0.42);
    background: rgba(255, 248, 238, 0.9);
    box-shadow: 0 18px 44px -34px rgba(31, 41, 55, 0.48);
    transform: translateY(-1px);
}

.caption-item--copied {
    border-color: rgba(34, 197, 94, 0.4);
    background: rgba(240, 255, 244, 0.96);
}

.caption-item__text {
    flex: 1 1 240px;
    font-size: 0.97rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.caption-copy {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.caption-copy:hover,
.caption-copy:focus-visible {
    background: rgba(255, 98, 0, 0.22);
    box-shadow: 0 14px 30px -24px rgba(255, 122, 36, 0.55);
    transform: translateY(-1px);
}

.caption-tip-card {
    background: linear-gradient(180deg, rgba(241, 238, 255, 0.82) 0%, rgba(228, 240, 255, 0.82) 100%);
    border: 1px solid rgba(121, 105, 255, 0.28);
}

.caption-tip-card ul {
    margin: 16px 0 0;
    padding-left: 20px;
    display: grid;
    gap: 10px;
    color: var(--text-secondary);
}

@media (max-width: 599px) {
    .caption-item {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 12px 14px;
    }

    .caption-item__text {
        flex: 1 1 auto;
        width: auto;
        font-size: 0.9rem;
        line-height: 1.45;
    }

}

.caption-hero {
    display: grid;
    gap: clamp(10px, 2.6vw, 16px);
    padding: clamp(24px, 4vw, 36px);
    background: radial-gradient(circle at top left, rgba(255, 214, 170, 0.55) 0%, rgba(255, 241, 225, 0.6) 38%, rgba(255, 255, 255, 0.78) 100%);
    border: 1px solid rgba(255, 188, 136, 0.32);
    border-radius: var(--radius-md);
    box-shadow: 0 24px 60px -42px rgba(31, 41, 51, 0.48);
}

.caption-hero__eyebrow {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: rgba(31, 41, 51, 0.65);
    margin: 0;
}

.caption-hero h1 {
    margin: 0;
    font-size: clamp(1.95rem, 3.4vw, 2.9rem);
    letter-spacing: -0.02em;
    max-width: 22ch;
}

#captions-hub-title {
    font-size: clamp(1.45rem, 2.5vw, 2.1rem);
}

.caption-hero__lede {
    margin: 0;
    max-width: 58ch;
    color: rgba(31, 41, 51, 0.78);
    font-size: clamp(0.98rem, 2.4vw, 1.04rem);
    line-height: 1.6;
}

#caption-hub-hero .caption-hero__lede {
    max-width: none;
}

@media (min-width: 768px) {
    #caption-hub-hero .caption-hero__lede {
        white-space: nowrap;
    }
}

.caption-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.dictionary-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
}

.dictionary-links li {
    margin: 0;
}

.dictionary-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 140, 64, 0.26);
    background: rgba(255, 98, 0, 0.12);
    color: var(--accent-strong);
    font-weight: 600;
    font-size: 0.94rem;
    line-height: 1;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    text-decoration: none;
}

.dictionary-links a:hover,
.dictionary-links a:focus-visible {
    background: rgba(255, 98, 0, 0.22);
    box-shadow: 0 16px 38px -30px rgba(255, 122, 36, 0.55);
    transform: translateY(-1px);
}

.dictionary-links a:focus-visible {
    outline: 3px solid rgba(34, 211, 238, 0.4);
    outline-offset: 3px;
}

.dictionary-links a:active {
    transform: translateY(0);
    box-shadow: 0 10px 24px -20px rgba(255, 122, 36, 0.45);
}



.card {
    background: linear-gradient(180deg, #fff9f3 0%, #fff5ec 100%);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 188, 136, 0.38);
    box-shadow: 0 12px 30px -26px rgba(31, 41, 51, 0.38);
    padding: 26px;
    margin-bottom: 24px;
}

.faq-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
}

.faq-card::before {
    content: "";
    position: absolute;
    inset: -120px -60px auto auto;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle at top right, rgba(255, 140, 64, 0.32), transparent 65%);
    pointer-events: none;
}

.faq-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 188, 136, 0.4);
    border-radius: inherit;
    pointer-events: none;
}

.faq-card .card__header {
    margin-bottom: 22px;
}

.faq-card .card__heading {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 52ch;
}

.faq-card .card__lede {
    margin: 0;
    color: var(--text-secondary);
    max-width: 48ch;
}

.faq-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.faq-item {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.faq-item[open] {
    border-color: var(--border-strong);
    background: rgba(255, 249, 242, 0.92);
    box-shadow: 0 18px 36px -32px rgba(255, 122, 36, 0.45);
}

.faq-question {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 22px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.45;
    cursor: pointer;
    list-style: none;
    outline: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "";
    margin-left: auto;
    margin-top: 6px;
    width: 11px;
    height: 11px;
    border-right: 2px solid var(--accent-strong);
    border-bottom: 2px solid var(--accent-strong);
    transform: rotate(45deg);
    transition: transform 0.18s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(225deg);
}

.faq-question:focus-visible {
    outline: 3px solid rgba(34, 211, 238, 0.4);
    outline-offset: 4px;
}

.faq-question:hover {
    background: rgba(255, 140, 64, 0.08);
}

.faq-item[open] .faq-question {
    background: rgba(255, 140, 64, 0.06);
}

.faq-question__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 140, 64, 0.12);
    color: var(--accent-strong);
    font-size: 1.4rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.faq-item[open] .faq-question__icon {
    background: rgba(255, 140, 64, 0.2);
    box-shadow: 0 12px 28px -22px rgba(255, 140, 64, 0.45);
    transform: translateY(-2px);
}

.faq-question__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 auto;
}

.faq-question__tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(31, 41, 51, 0.08);
    color: rgba(31, 41, 51, 0.7);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
}

.faq-answer {
    padding: 16px 22px 22px;
    color: var(--text-secondary);
    font-size: 0.97rem;
    border-top: 1px solid rgba(255, 188, 136, 0.32);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 244, 232, 0.9));
}

.faq-answer p {
    margin: 14px 0 10px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer a {
    font-weight: 600;
    color: var(--accent-strong);
}

@media (min-width: 920px) {
    .faq-list {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 920px) {
    .all-stickers-page .faq-list {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 920px) {
    .sticker-packs-page .faq-list {
        grid-template-columns: 1fr;
    }
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.usage-card .card__header,
.about-card .card__header {
    align-items: center;
    gap: 18px;
}

.usage-card .card__heading,
.about-card .card__heading {
    flex: 1 1 auto;
}

.usage-card .card__header .btn,
.about-card .card__header .btn {
    position: static;
    margin-left: auto;
    transform: none;
}

.about-card p {
    color: var(--text-secondary);
    max-width: 68ch;
    margin-bottom: 18px;
}

.about-card .usage-card__grid {
    margin-top: 6px;
}

.card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 18px;
}

.card__header--saved {
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
}

.card__header--saved .card__heading,
.card__header--saved h2 {
    flex: 1;
    min-width: 0;
}

.saved-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.card__heading {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.card__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 140, 64, 0.14);
    color: var(--accent-strong);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.card__heading h2 {
    margin: 0;
}

.card__header--sticker {
    align-items: center;
    gap: 16px 24px;
}

.card__header--emoji {
    align-items: center;
    gap: 16px;
}

.saved-share-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 111, 20, 0.14);
    border: 1px solid rgba(255, 140, 64, 0.32);
    color: var(--accent-strong);
    box-shadow: none;
    gap: 0;
    position: relative;
}

.saved-share-btn .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.saved-share-btn .btn-icon svg {
    width: 18px;
    height: 18px;
}

.saved-share-btn[data-share-state="disabled"] {
    opacity: 0.4;
    cursor: not-allowed;
}

.saved-share-btn[data-share-state="loading"] .btn-icon {
    opacity: 0.25;
}

.saved-share-btn[data-share-state="loading"]::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-top-color: transparent;
    opacity: 0.7;
    animation: share-spin 0.9s linear infinite;
}

.saved-share-btn[data-share-state="success"] {
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.4);
}

.saved-share-btn[data-share-state="error"] {
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.35);
}

.saved-share-btn[data-share-state="idle"] {
    box-shadow: none;
}

.card-actions .saved-remove-btn {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.28);
    color: #dc2626;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.card-actions .saved-remove-btn:hover,
.card-actions .saved-remove-btn:focus-visible {
    background: rgba(239, 68, 68, 0.18);
}

.btn.btn-saved {
    white-space: nowrap;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--accent-strong);
    border: 1px solid rgba(255, 140, 64, 0.3);
    box-shadow: 0 16px 30px -26px rgba(255, 122, 36, 0.45);
}

.btn.btn-saved:hover {
    background: rgba(255, 255, 255, 0.98);
}

.btn-emoji-catalog {
    background: rgba(248, 250, 252, 0.92);
    color: var(--text-primary);
    border: 1px solid rgba(148, 163, 184, 0.34);
    box-shadow: 0 18px 36px -30px rgba(15, 23, 42, 0.45);
    font-size: 0.88rem;
    padding: 10px 18px;
    white-space: nowrap;
}

.btn-emoji-catalog:hover {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 40px -32px rgba(15, 23, 42, 0.5);
}

.sticker-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
    margin-bottom: 20px;
    border-radius: 18px;
    background: linear-gradient(140deg, rgba(255, 250, 243, 0.86), rgba(255, 239, 220, 0.82));
    border: 1px solid rgba(255, 188, 136, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.sticker-studio__cta {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sticker-studio__cta .btn {
    min-width: 220px;
    justify-content: center;
}

.sticker-field {
    flex: 1 1 220px;
    display: flex;
}

.sticker-field--cta .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 12px;
}

.sticker-field--cta .btn .btn-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.sticker-field input,
.sticker-field select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: rgba(248, 250, 252, 0.9);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: border 0.18s ease, box-shadow 0.18s ease;
}

.sticker-field input:focus,
.sticker-field select:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.16);
}

.card.alt {
    background: #ffffff;
}

.section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.section-kicker {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 98, 0, 0.12);
    color: var(--accent-strong);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-header h2 {
    margin: 6px 0 6px;
    font-size: 1.45rem;
    letter-spacing: -0.01em;
}

.section-subhead {
    max-width: 46ch;
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.section-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.link-button {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.link-button:hover,
.link-button:focus-visible {
    color: var(--accent-strong);
}

.tool-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0 20px;
}

.tool-filters input,
.tool-filters select {
    flex: 1 1 220px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: rgba(248, 250, 252, 0.85);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: border 0.18s ease, box-shadow 0.18s ease;
}

.tool-filters input:focus,
.tool-filters select:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.emoji-search {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0 20px;
}

.emoji-search input {
    flex: 1 1 240px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: rgba(248, 250, 252, 0.85);
    font-size: 1rem;
    color: var(--text-primary);
}

.emoji-search input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.emoji-search button {
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: rgba(248, 250, 252, 0.75);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.emoji-search button:hover {
    background: rgba(237, 242, 247, 0.95);
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 14px;
    max-height: min(65vh, 480px);
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-gutter: stable both-edges;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.6) transparent;
}

.emoji-grid::-webkit-scrollbar {
    width: 8px;
}

.emoji-grid::-webkit-scrollbar-track {
    background: transparent;
}

.emoji-grid::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.6);
    border-radius: 999px;
}

.emoji-globe-embed {
    margin-top: 30px;
    border-radius: 28px;
    overflow: hidden;
    background: #0d0d0d;
    border: 1px solid rgba(15, 23, 42, 0.35);
    box-shadow: 0 28px 60px -40px rgba(15, 23, 42, 0.6);
}

.emoji-globe-embed iframe {
    display: block;
    width: 100%;
    height: clamp(360px, 60vh, 620px);
    border: 0;
    background: #0d0d0d;
}


.emoji-catalog {
    display: flex;
    flex-direction: column;
    --section-gap: clamp(18px, 3vw, 26px);
    gap: var(--section-gap);
    padding-bottom: 56px;
    margin-top: var(--section-gap);
}

.emoji-catalog > * {
    margin: 0;
}

.emoji-catalog .card,
.emoji-catalog .schema-guidance {
    margin: 0;
}

.emoji-catalog .page-hero__links {
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: clamp(10px, 2.6vw, 16px);
}

.emoji-catalog .page-hero__links .btn {
    flex: 0 0 auto;
    min-width: 0;
    padding-inline: clamp(14px, 2.4vw, 20px);
}

.emoji-browser-intro .card__lede {
    max-width: 48ch;
}


.emoji-catalog__index {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 12px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(255, 188, 136, 0.26);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 20px 46px -36px rgba(31, 41, 55, 0.5);
}

.emoji-catalog__index-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 12px;
    border-radius: 16px;
    font-size: 1.6rem;
    color: var(--text-primary);
    text-decoration: none;
    border: 1px solid rgba(255, 188, 136, 0.0);
    background: rgba(255, 252, 248, 0.95);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border 0.18s ease, background 0.18s ease;
}

.emoji-catalog__index-icon {
    font-size: clamp(1.6rem, 4vw, 2rem);
    line-height: 1;
}

.emoji-catalog__index-link:hover,
.emoji-catalog__index-link:focus-visible {
    outline: none;
    transform: translateY(-2px);
    border-color: rgba(255, 140, 64, 0.32);
    background: rgba(255, 249, 242, 0.98);
    box-shadow: 0 14px 28px -22px rgba(255, 122, 36, 0.35);
}

.emoji-catalog__sections {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.emoji-catalog__section {
    margin: 0;
}

.emoji-catalog__section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.emoji-catalog__section-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.emoji-catalog__section-title-icon {
    font-size: clamp(1.8rem, 3.4vw, 2.2rem);
}

.emoji-catalog__section-header h2 {
    margin: 0;
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
}

.emoji-catalog__section-count {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.6);
    white-space: nowrap;
}

.emoji-catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
    gap: 14px;
    justify-items: center;
}

.emoji-catalog__callout {
    margin-top: 18px;
    padding: 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 188, 136, 0.3);
    background: rgba(255, 246, 236, 0.88);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.emoji-catalog__callout-title {
    margin: 0;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.emoji-catalog__callout-copy {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.55;
}

.emoji-catalog__callout-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.emoji-catalog__callout-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 162, 120, 0.4);
    font-weight: 600;
    color: var(--accent-strong);
}

.emoji-catalog__callout-link:hover,
.emoji-catalog__callout-link:focus-visible {
    border-color: rgba(255, 140, 64, 0.5);
    background: rgba(255, 244, 236, 0.98);
    outline: none;
}

.emoji-catalog__backtop {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
}

.emoji-catalog__backtop-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.28);
    color: var(--text-primary);
    font-weight: 600;
}

.emoji-catalog__backtop-link:hover,
.emoji-catalog__backtop-link:focus-visible {
    border-color: rgba(255, 140, 64, 0.42);
    background: rgba(255, 248, 240, 0.92);
    outline: none;
}

.emoji-catalog__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 22px;
    border: 1px solid rgba(226, 232, 240, 0.85);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
    box-shadow: 0 14px 32px -26px rgba(15, 23, 42, 0.45);
    cursor: pointer;
    transition: transform 0.14s ease, box-shadow 0.14s ease, border 0.14s ease;
}

.emoji-catalog__item:hover,
.emoji-catalog__item:focus-visible {
    transform: translateY(-3px) scale(1.03);
    border-color: rgba(79, 70, 229, 0.42);
    box-shadow: 0 26px 38px -28px rgba(79, 70, 229, 0.35);
    outline: none;
}

.emoji-catalog__item:active {
    transform: translateY(0) scale(0.98);
}

.emoji-catalog__char {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1;
}

.emoji-catalog__empty {
    margin: 0;
    padding: 12px 0;
    color: rgba(15, 23, 42, 0.7);
    text-align: center;
}

.emoji-catalog__grid .emoji-catalog__empty {
    grid-column: 1 / -1;
    padding: 18px 12px;
    justify-self: stretch;
    background: rgba(248, 250, 252, 0.95);
    border-radius: 18px;
    border: 1px dashed rgba(148, 163, 184, 0.42);
}

@media (max-width: 640px) {
    .emoji-globe-embed {
        margin-top: 20px;
        border-radius: 22px;
        box-shadow: 0 22px 48px -32px rgba(15, 23, 42, 0.45);
    }

    .emoji-globe-embed iframe {
        height: min(72vh, 540px);
        border-radius: inherit;
    }
}

.scrollable-grid {
    max-height: min(65vh, 520px);
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-gutter: stable both-edges;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.6) transparent;
}

.scrollable-grid::-webkit-scrollbar {
    width: 8px;
}

.scrollable-grid::-webkit-scrollbar-track {
    background: transparent;
}

.scrollable-grid::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.6);
    border-radius: 999px;
}

.emoji-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 14px;
    border-radius: 18px;
    background: rgba(255, 247, 236, 0.92);
    gap: 8px;
    cursor: pointer;
    min-height: 112px;
    border: 1px solid rgba(255, 178, 120, 0.35);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.emoji-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -24px rgba(31, 41, 51, 0.45);
}

.emoji-item span.emoji-char {
    font-size: 1.9rem;
}

.emoji-item span.emoji-name {
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-align: center;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.card-grid--fixed {
    grid-template-columns: repeat(auto-fill, minmax(200px, 220px));
    justify-content: flex-start;
}

.sticker-grid,
#stickerResults,
#savedStickerList {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 18px;
    overflow-anchor: none;
    contain: layout paint;
}

@media (min-width: 900px) {
    .sticker-grid,
    #stickerResults,
    #savedStickerList {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .sticker-grid,
    #stickerResults,
    #savedStickerList {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .sticker-grid,
    #stickerResults,
    #savedStickerList {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

.sticker-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 176, 120, 0.28);
    background: linear-gradient(160deg, rgba(255, 249, 241, 0.96), rgba(255, 238, 220, 0.9));
    box-shadow: 0 18px 44px -34px rgba(31, 41, 55, 0.55);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
    overflow-anchor: none;
    contain: layout paint;
    -webkit-tap-highlight-color: transparent;
}

.sticker-card,
.sticker-card * {
    -webkit-user-select: none;
    user-select: none;
}

.sticker-card .card-actions .btn,
.sticker-card .card-actions .btn * {
    touch-action: manipulation;
}

.sticker-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 140, 64, 0.42);
    box-shadow: 0 26px 46px -30px rgba(31, 41, 55, 0.55);
}

.sticker-card img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: contain;
    background: linear-gradient(140deg, rgba(226, 232, 240, 0.45), rgba(244, 250, 255, 0.6));
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.15);
}

.sticker-card .card-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-top: 2px;
}

.sticker-card .card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sticker-card .card-tag {
    font-size: 0.7rem;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255, 140, 64, 0.14);
    color: var(--accent-strong);
    letter-spacing: 0.02em;
}

.card-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: stretch;
}

.card-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 9px 12px;
    font-size: 0.82rem;
    border-radius: 12px;
    justify-content: center;
    gap: 8px;
}

.card-actions .btn .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.card-actions .btn .btn-icon svg {
    width: 100%;
    height: 100%;
}

.card-actions .btn .btn-label {
    display: inline-flex;
    align-items: center;
}

.card-actions .btn.icon-only {
    flex: 0 0 48px;
    padding: 10px;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}

.card-actions .btn.icon-only .btn-icon {
    width: 20px;
    height: 20px;
}

.card-actions .btn.icon-only[data-share-state="loading"] .btn-icon,
.card-actions .btn.icon-only[data-copy-state="loading"] .btn-icon {
    opacity: 0.28;
}

.card-actions .btn.icon-only[data-share-state="loading"]::after,
.card-actions .btn.icon-only[data-copy-state="loading"]::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-top-color: transparent;
    opacity: 0.7;
    animation: share-spin 0.9s linear infinite;
}

.card-actions .btn.icon-only[data-share-state="success"],
.card-actions .btn.icon-only[data-copy-state="success"] {
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.4);
}

.card-actions .btn.icon-only[data-share-state="fallback"],
.card-actions .btn.icon-only[data-copy-state="fallback"] {
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.35);
}

.card-actions .btn.icon-only[data-share-state="error"],
.card-actions .btn.icon-only[data-copy-state="error"] {
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.35);
}

.card-actions .btn.icon-only[data-share-state="loading"],
.card-actions .btn.icon-only[data-share-state="success"],
.card-actions .btn.icon-only[data-share-state="fallback"],
.card-actions .btn.icon-only[data-share-state="error"],
.card-actions .btn.icon-only[data-copy-state="loading"],
.card-actions .btn.icon-only[data-copy-state="success"],
.card-actions .btn.icon-only[data-copy-state="fallback"],
.card-actions .btn.icon-only[data-copy-state="error"] {
    transition: box-shadow 0.18s ease, opacity 0.18s ease;
}

@keyframes share-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.small-note,
.section-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 12px;
}

#saved-stickers.card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

#savedStickerEmpty {
    margin-top: 18px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 140, 64, 0.12);
    color: var(--accent-strong);
    text-align: center;
}

.site-footer {
    width: 100%;
    margin: 80px 0 0;
    padding: 68px 0 34px;
    background: radial-gradient(circle at 14% -8%, rgba(255, 192, 138, 0.32) 0, rgba(255, 192, 138, 0) 60%),
        radial-gradient(circle at 86% 12%, rgba(255, 216, 182, 0.34) 0, rgba(255, 216, 182, 0) 58%),
        linear-gradient(180deg, rgba(255, 245, 235, 0.98) 0%, rgba(255, 229, 201, 0.98) 100%);
    color: rgba(31, 41, 51, 0.92);
    border-top: 1px solid rgba(255, 170, 120, 0.35);
}

.site-footer__inner {
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    gap: 42px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: flex-start;
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 360px;
}

.footer-logo {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.footer-logo span {
    margin-left: -0.08em;
    color: var(--accent);
}

.footer-tagline {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.site-footer__columns {
    display: grid;
    gap: 32px 48px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-heading {
    font-size: 0.96rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(76, 88, 102, 0.72);
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    font-size: 0.98rem;
}

.footer-links a {
    color: var(--accent-strong);
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #ff8441;
}

.site-footer__bottom {
    width: min(1100px, calc(100% - 48px));
    margin: 48px auto 0;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 168, 112, 0.26);
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.site-footer__bottom a {
    color: var(--accent);
}

@media (max-width: 720px) {
    .site-footer {
        padding: 54px 0 30px;
    }

    .site-footer__inner {
        gap: 36px;
    }

    .site-footer__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 20px;
        justify-items: stretch;
    }
}

@media (max-width: 900px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: space-between;
        text-align: left;
        width: calc(100% - 24px);
        padding: 14px 20px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 12px;
    }

    .nav a[href="#saved-stickers"] {
        order: 5;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 20px;
    }
}

.all-stickers-page {
    width: min(1240px, calc(100% - 40px));
    padding-top: 44px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: var(--section-gap);
    --section-gap: clamp(16px, 3vw, 22px);
    overscroll-behavior-y: none;
}

.all-stickers__pagination {
    margin-top: clamp(24px, 4vw, 32px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: clamp(18px, 4vw, 28px);
    font-weight: 600;
    color: var(--text-secondary);
}

.all-stickers__pager {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: none;
    color: var(--accent-strong);
    font-size: clamp(1.1rem, 4vw, 1.35rem);
    font-weight: 600;
    transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.all-stickers__pager:hover:not(:disabled),
.all-stickers__pager:focus-visible:not(:disabled) {
    transform: translateY(-1px);
    background: rgba(255, 140, 64, 0.12);
    border-color: rgba(255, 140, 64, 0.32);
    outline: 3px solid rgba(34, 211, 238, 0.45);
    outline-offset: 2px;
}

.all-stickers__pager:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.all-stickers__page-status {
    min-width: 90px;
    text-align: center;
    color: var(--text-secondary);
    white-space: nowrap;
}

.all-stickers__panel {
    padding: 30px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 246, 238, 0.96) 0%, rgba(255, 239, 225, 0.94) 100%);
    border: 1px solid rgba(255, 188, 136, 0.38);
    box-shadow: 0 28px 60px -46px rgba(31, 41, 51, 0.48);
    margin: 0;
}

.all-stickers-page > * {
    margin: 0;
}

.all-stickers-page .card {
    margin: 0;
}

.all-stickers__panel .card__header {
    margin-bottom: 18px;
}

.all-stickers__panel-note {
    margin: 6px 0 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.all-stickers__header-spacer {
    height: 12px;
    width: 100%;
    pointer-events: none;
}

.all-stickers-page .btn.btn-saved {
    display: none;
}

.all-stickers__filters {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px 24px;
    border-radius: 22px;
    background: linear-gradient(140deg, rgba(255, 250, 243, 0.92), rgba(255, 236, 214, 0.9));
    border: 1px solid rgba(255, 200, 152, 0.32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.all-stickers__filters-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.all-stickers__field {
    flex: 1 1 220px;
    min-width: 0;
}

.all-stickers__field select {
    width: 100%;
    padding: 11px 18px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: #fff;
    font-size: 0.94rem;
    color: var(--text-primary);
    appearance: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    min-width: 0;
}

.all-stickers__field--sort {
    flex: 0 1 160px;
    max-width: 200px;
}

.all-stickers__search input {
    width: 100%;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: #ffffff;
    font-size: 1rem;
    color: var(--text-primary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.all-stickers__search input::placeholder {
    color: rgba(76, 88, 102, 0.55);
}

.all-stickers__grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

/* pagination styles moved below */

.all-stickers__saved-placeholder {
    display: none !important;
}

.sticker-packs-page {
    width: min(1240px, calc(100% - 40px));
    padding-top: 44px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sticker-packs-page .card__header.card__header--sticker {
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.sticker-packs-page .card__header.card__header--sticker .card__heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 580px;
}

.sticker-packs-page .card__header.card__header--sticker .small-note {
    margin-top: 0;
    max-width: 48ch;
}

.sticker-pack-directory {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 26px;
}

.sticker-pack-directory__empty {
    margin: 0;
    padding: 24px;
    text-align: center;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    border: 1px dashed rgba(255, 188, 136, 0.48);
}

.sticker-pack-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 252, 248, 0.98) 0%, rgba(255, 238, 221, 0.94) 100%);
    border: 1px solid rgba(255, 188, 136, 0.36);
    box-shadow: 0 26px 60px -48px rgba(31, 41, 51, 0.5);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
}

.sticker-pack-card:hover,
.sticker-pack-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 34px 68px -46px rgba(31, 41, 51, 0.45);
}

.sticker-pack-card__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.sticker-pack-card__header h2 {
    margin: 0;
    font-size: clamp(1.08rem, 2.4vw, 1.32rem);
    letter-spacing: -0.01em;
}

.sticker-pack-card__count {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.58);
    white-space: nowrap;
}

.sticker-pack-card__thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.sticker-pack-card__thumbs img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(255, 200, 152, 0.28);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}



.sticker-pack-card__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
    width: 100%;
    margin-top: 12px;
}

.sticker-pack-card__actions .btn,
.sticker-pack-card__actions .btn.ghost {
    justify-content: center;
    padding: 10px 16px;
    white-space: nowrap;
}

.sticker-pack-card__actions .btn:not(.ghost) {
    flex: 1 1 auto;
    min-width: 0;
}

.sticker-pack-card__actions .btn .btn-label {
    font-size: 0.9rem;
}


.sticker-pack-card__actions .btn .btn-icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    color: inherit;
}

.sticker-pack-card__actions .btn.ghost .btn-icon {
    margin-right: 0;
}

.sticker-pack-card__actions .btn.ghost {
    gap: 0;
    padding: 10px;
    width: 44px;
    flex: 0 0 44px;
}

.sticker-pack-card__actions .btn .btn-icon svg {
    width: 100%;
    height: 100%;
}

@media (min-width: 900px) {
    .all-stickers-page #stickerResults {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .sticker-packs-page {
        width: calc(100% - 32px);
        padding-top: clamp(18px, 5vw, 28px);
        gap: var(--section-gap);
    }

    .sticker-packs-page .card__header.card__header--sticker {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 18px;
    }

    .sticker-packs-page .card__header.card__header--sticker .card__heading {
        align-items: center;
        max-width: none;
    }

    .sticker-packs-page .card__header.card__header--sticker .small-note {
        margin-top: 6px;
    }

    .sticker-packs-page .card__header.card__header--sticker .btn {
        width: 100%;
        justify-content: center;
    }

    .sticker-pack-directory {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 18px;
    }

    .sticker-pack-card {
        padding: 20px;
        gap: 16px;
    }

    .sticker-pack-card__header h2 {
        font-size: clamp(1.02rem, 3vw, 1.22rem);
    }

    .sticker-pack-card__thumbs {
        gap: 8px;
    }

    .sticker-pack-card__actions {
        gap: 8px;
        flex-wrap: nowrap;
    }

    .all-stickers-page {
        width: calc(100% - 32px);
    }

    .all-stickers__panel {
        padding: 24px;
    }

    .all-stickers__panel .card__header {
        margin-bottom: 16px;
    }

    .all-stickers__header-spacer {
        height: 10px;
    }

    .all-stickers__filters {
        padding: 18px;
        gap: 14px;
        margin-top: 6px;
    }

    .all-stickers__filters-row {
        gap: 12px;
    }

    .all-stickers__field {
        flex: 1 1 200px;
    }

    .all-stickers__field--sort {
        flex: 0 1 150px;
        max-width: 180px;
    }

    /* pagination styles handled globally */
}

    .usage-card__grid,
    .usage-guide__grid {
        display: grid;
        gap: 22px;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        align-items: stretch;
    }

    .usage-card__item,
    .usage-guide__panel {
        background: rgba(255, 255, 255, 0.65);
        border: 1px solid rgba(255, 188, 136, 0.3);
        border-radius: 18px;
        padding: 18px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    }

    .usage-card__item h3,
    .usage-guide__panel h3 {
        margin-bottom: 8px;
        font-size: 1.05rem;
        letter-spacing: -0.01em;
    }

    .usage-card__item p,
    .usage-guide__panel p,
    .usage-guide__lede,
    .usage-guide__tip,
    .usage-guide__tips li {
        color: var(--text-secondary);
        line-height: 1.7;
    }

    .usage-guide-page {
        display: flex;
        flex-direction: column;
        gap: 26px;
        padding-top: 28px;
    }

    .usage-guide__intro {
        position: relative;
    }

    .usage-guide__cta {
        display: inline-flex;
        flex-wrap: wrap;
        gap: 12px;
        align-items: center;
    }

    .usage-guide__lede {
        margin-top: 12px;
    }

    .usage-guide__section {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .usage-guide__steps {
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding-left: 20px;
        margin: 0;
        font-size: 0.98rem;
        color: var(--text-secondary);
        list-style: disc;
        line-height: 1.7;
    }

    .usage-guide__steps li {
        padding-left: 6px;
    }

    .usage-guide__bullets li strong {
        color: var(--text-primary);
    }

    .usage-guide__tip {
        background: rgba(255, 140, 64, 0.1);
        border-left: 4px solid rgba(255, 140, 64, 0.45);
        border-radius: 14px;
        padding: 14px 18px;
        font-size: 0.95rem;
    }

    .usage-guide__tips {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding-left: 20px;
        font-size: 0.96rem;
    }

    .usage-guide__tips li {
        padding-left: 4px;
    }

    .usage-guide__tips code {
        background: rgba(15, 23, 36, 0.08);
        padding: 2px 6px;
        border-radius: 6px;
        font-size: 0.9em;
    }

    .usage-card .btn,
    .usage-guide__intro .btn {
        box-shadow: 0 12px 26px -22px rgba(31, 41, 51, 0.4);
    }

    .usage-card .btn:hover,
    .usage-guide__intro .btn:hover {
        box-shadow: 0 20px 32px -26px rgba(31, 41, 51, 0.35);
    }

    .usage-guide__section .card__header {
        margin-bottom: 6px;
    }

    .usage-guide__panel strong {
        color: var(--text-primary);
    }

    .usage-guide__panel p + p {
        margin-top: 10px;
    }

    .usage-guide__panel ul {
        margin-top: 12px;
        padding-left: 18px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .usage-guide__panel ul li {
        color: var(--text-secondary);
    }

    .usage-card__item ul {
        margin-top: 10px;
        padding-left: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        list-style: disc;
    }

    .usage-card__item li {
        color: var(--text-secondary);
        line-height: 1.6;
    }

    @media (max-width: 880px) {
        .usage-guide__cta {
            justify-content: flex-start;
        }
    }

@media (max-width: 640px) {
    main {
        width: calc(100% - 24px);
    }

    .sticker-packs-page {
        width: calc(100% - 24px);
        padding-top: 22px;
        gap: 16px;
    }

    .usage-card .card__header .btn {
        padding: 10px 20px;
        font-size: 0.94rem;
    }

    .sticker-pack-directory {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sticker-pack-card {
        padding: 14px 14px 16px;
        border-radius: 18px;
    }

    .sticker-pack-card__thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;
    }

    .sticker-pack-card__thumbs img {
        border-radius: 11px;
    }

    .sticker-pack-card__actions {
        margin-top: 6px;
    }

    .sticker-studio__cta {
        margin-top: 22px;
    }

    .sticker-studio__cta .btn {
        width: 100%;
    }

    .card__header--saved {
        position: relative;
        padding-right: 56px;
    }

    .card__header--saved .saved-actions {
        position: absolute;
        top: 0;
        right: 0;
    }

    .all-stickers__filters {
        padding: 16px;
        gap: 12px;
        margin-top: 6px;
    }

    .all-stickers__header-spacer {
        height: 8px;
    }

    .all-stickers__filters-row {
        gap: 10px;
    }

    .all-stickers__field {
        flex: 1 1 160px;
    }

    .all-stickers__field--sort {
        flex: 0 1 140px;
        max-width: 160px;
    }

    .all-stickers__field select {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .sticker-pack-card__header {
        flex-direction: column;
        align-items: center;
        gap: 4px;
        text-align: center;
        width: 100%;
    }

    .sticker-pack-card__count {
        font-size: 0.74rem;
    }

    .sticker-pack-card__actions {
        grid-template-columns: 1fr auto;
        gap: 8px;
    }

    .all-stickers-page {
        width: calc(100% - 24px);
    }

    .all-stickers__pagination {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: clamp(10px, 6vw, 16px);
    }

    .all-stickers__pager {
        padding: 3px 6px;
        font-size: clamp(0.95rem, 6.8vw, 1.2rem);
    }

    .all-stickers__page-status {
        font-size: 0.9rem;
    }

    .header-inner {
        gap: 12px;
        padding: 12px 16px;
    }

    .logo {
        font-size: 1.25rem;
    }

    .nav {
        gap: 10px;
    }

    .nav a {
        font-size: 0.88rem;
    }

    .hero {
        margin-top: 18px;
        margin-bottom: 18px;
    }

    .hero__inner {
        padding: 20px;
        gap: 16px;
    }

    .hero__points {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .hero__point {
        width: 100%;
        justify-content: flex-start;
    }

    .hero__title {
        font-size: clamp(1.5rem, 6vw, 1.85rem);
    }

    .hero__cta {
        flex-direction: column;
        align-items: stretch;
    }

    .card {
        padding: 22px;
    }

    .tool-filters input,
    .tool-filters select,
    .emoji-search input {
        flex: 1 1 100%;
    }

    .sticker-card {
        padding: 14px;
        gap: 10px;
    }

    .sticker-card img {
        border-radius: 12px;
    }

    .card-actions {
        flex-wrap: wrap;
        gap: 8px;
    }

    .card-actions .btn {
        flex: 1 1 100%;
        font-size: 0.82rem;
    }

    .card-actions .btn.icon-only {
        flex: 0 0 44px;
        padding: 8px;
    }

    .card__header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn.btn-saved {
        width: 100%;
    }

    .card__header--sticker {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .card__header--emoji {
        align-items: flex-start;
        gap: 12px;
    }

    .btn-emoji-catalog {
        width: 100%;
        justify-content: center;
    }

    .card__header--sticker .card__heading {
        flex: 1 1 auto;
    }

    .card__header--sticker .btn.btn-saved {
        width: auto;
        margin-left: auto;
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .sticker-controls {
        padding: 16px;
    }

    .emoji-catalog {
        gap: 20px;
        padding-bottom: 44px;
    }

    .emoji-catalog__index {
        grid-template-columns: repeat(auto-fit, minmax(52px, 1fr));
        gap: 8px;
        padding: 14px 16px;
    }

    .emoji-catalog__index-link {
        height: 52px;
        padding: 10px;
        font-size: 1.4rem;
    }

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

    .usage-guide__cta {
        width: 100%;
    }

    .usage-guide__intro .btn {
        width: 100%;
    }

    .usage-card .card__header {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .usage-card .card__heading {
        flex: 1 1 auto;
    }

    .usage-card .card__header .btn {
        width: auto;
        min-width: 0;
        align-self: flex-start;
    }

    .about-card .card__header {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .about-card .card__heading {
        flex: 1 1 auto;
    }

    .about-card .card__header .btn {
        width: auto;
        min-width: 0;
        align-self: flex-start;
    }

    .usage-guide__grid,
    .usage-card__grid {
        grid-template-columns: 1fr;
    }

    .usage-guide__tip {
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .usage-card .card__header .btn {
        padding: 8px 16px;
        font-size: 0.88rem;
    }

    .about-card .card__header .btn {
        padding: 9px 18px;
        font-size: 0.92rem;
    }

    .sticker-pack-card__thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }

    .sticker-pack-card__actions {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }

    .sticker-pack-card__actions .btn.ghost {
        justify-self: center;
    }
}

@media (max-width: 640px) {
    #emoji-tools .card__header {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    #emoji-tools .card__heading {
        flex: 1 1 auto;
    }

    #emoji-tools .btn-emoji-catalog {
        width: auto;
        min-width: 0;
        padding: 7px 14px;
        font-size: 0.78rem;
        line-height: 1.2;
    }
}