.tiny-tag-page {
    --paper: #faf9f6;
    --ink: #11110f;
    --muted: #85847e;
    --line: #d8d6cf;
    --tag-accent: #c7ff32;
    --tag-solid: #11110f;
    --button-solid: #3246ff;
    --tag-solid-text: #fff;
    --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --serif: "Times New Roman", "Noto Serif SC", "Songti SC", serif;

    color: var(--ink);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    padding: 0 36px 0;
}

.tiny-tag-page a {
    color: inherit;
    text-decoration: none;
}

.tiny-tag-page button,
.tiny-tag-page input {
    font: inherit;
}

.tiny-tag-page > * {
    width: min(1440px, 100%);
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.tiny-tag-hero {
    padding: 90px 0 78px;
}

.tiny-tag-hero-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    align-items: end;
}

.tiny-tag-eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--muted);
    margin-bottom: 22px;
}

.tiny-tag-title {
    margin: 0;
    font-size: clamp(64px, 9vw, 150px);
    line-height: .82;
    letter-spacing: -.075em;
    font-weight: 800;
}

.tiny-tag-title span {
    display: block;
}

.tiny-tag-title .tiny-tag-outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--ink);
}

.tiny-tag-hero-desc {
    max-width: 520px;
    padding-bottom: 6px;
}

.tiny-tag-hero-desc p {
    margin: 0;
    font-size: clamp(20px, 2vw, 30px);
    line-height: 1.4;
    letter-spacing: -.02em;
    color: var(--ink);
}

.tiny-tag-meta {
    margin-top: 40px;
    display: flex;
    gap: 38px;
}

.tiny-tag-stat {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.tiny-tag-stat strong {
    font-size: 25px;
    font-weight: 500;
    letter-spacing: -.04em;
    color: var(--ink);
}

.tiny-tag-stat span {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.tiny-tag-hero-accent {
    position: absolute;
    right: 2%;
    top: 60px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--tag-accent);
    mix-blend-mode: multiply;
    opacity: .9;
}

.tiny-tag-toolbar {
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}

.tiny-tag-toolbar-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.tiny-tag-toolbar-label {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.tiny-tag-filters {
    display: flex;
    gap: 5px;
}

.tiny-tag-filter {
    border: 0;
    background: transparent;
    padding: 8px 12px;
    cursor: pointer;
    color: var(--muted);
    font-size: 11px;
    border-radius: 999px;
    transition: .25s ease;
}

.tiny-tag-filter:hover,
.tiny-tag-filter.active {
    background: var(--button-solid);
    color: var(--tag-solid-text);
}

.tiny-tag-toolbar-right {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
}



.tiny-tag-field {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 24px;
    row-gap: 18px;
}

.tiny-tag {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: 9px;
    cursor: pointer;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .25s ease, color .25s ease;
}

.tiny-tag-name {
    position: relative;
    letter-spacing: -.055em;
    line-height: .95;
    font-weight: 500;
}

.tiny-tag-count {
    font-size: 10px;
    letter-spacing: .03em;
    color: var(--muted);
    transform: translateY(-.3em);
    transition: color .25s ease;
}

.tiny-tag.xl .tiny-tag-name { font-size: clamp(46px, 5.5vw, 82px); font-weight: 650; }
.tiny-tag.lg .tiny-tag-name { font-size: clamp(35px, 4.2vw, 60px); font-weight: 600; }
.tiny-tag.md .tiny-tag-name { font-size: clamp(28px, 3vw, 45px); }
.tiny-tag.sm .tiny-tag-name { font-size: clamp(21px, 2.1vw, 32px); }
.tiny-tag.xs .tiny-tag-name { font-size: 19px; }
.tiny-tag.xs.solo .tiny-tag-name { font-size: 14px; color: var(--muted); }

.tiny-tag-field .tiny-tag:nth-child(5n+1) { margin-top: 20px; }
.tiny-tag-field .tiny-tag:nth-child(5n+2) { margin-top: 6px; }
.tiny-tag-field .tiny-tag:nth-child(5n+3) { margin-top: 14px; }
.tiny-tag-field .tiny-tag:nth-child(5n+4) { margin-top: 2px; }
.tiny-tag-field .tiny-tag:nth-child(5n+5) { margin-top: 10px; }

.tiny-tag.featured {
    padding: 9px 13px 11px;
    background: var(--tag-solid);
    color: var(--tag-solid-text);
}

.tiny-tag.featured .tiny-tag-count {
    color: color-mix(in srgb, var(--tag-solid-text) 60%, transparent);
}

.tiny-tag.accent-tag {
    padding: 8px 11px 9px;
    background: var(--tag-accent);
    color: var(--ink);
}

.tiny-tag::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width .3s ease;
}

.tiny-tag:hover {
    transform: translateY(-4px);
}

.tiny-tag:hover::after {
    width: 100%;
}

.tiny-tag:hover .tiny-tag-count {
    color: currentColor;
}

.tiny-tag-field:has(.tiny-tag:hover) .tiny-tag:not(:hover) {
    opacity: .35;
}

.tiny-tag-empty {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--muted);
    padding: 60px 0;
}

.tiny-tag-pagination {
    display: flex;
    justify-content: center;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.tiny-tag-pagination .page-numbers {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.tiny-tag-pagination .page-numbers li {
    margin: 0;
}

.tiny-tag-pagination .page-numbers li > .page-numbers {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    border: 1px solid transparent;
    transition: .2s ease;
}

.tiny-tag-pagination .page-numbers li > .page-numbers:hover {
    color: var(--ink);
    border-color: var(--ink);
}

.tiny-tag-pagination .page-numbers li > .page-numbers.current {
    background: var(--tag-solid);
    color: var(--tag-solid-text);
    border-color: var(--tag-solid);
}

.tiny-tag-footer {
    border-top: 1px solid var(--line);
    padding: 24px 0 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.tiny-tag-footer span {
    font-family: var(--sans);
}

@media (max-width: 900px) {
    .tiny-tag-page {
        padding: 0 18px;
    }

    .tiny-tag-hero {
        padding: 60px 0 56px;
    }

    .tiny-tag-hero-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tiny-tag-title {
        font-size: clamp(58px, 18vw, 110px);
    }

    .tiny-tag-hero-desc p {
        font-size: 22px;
    }

    .tiny-tag-hero-accent {
        width: 70px;
        height: 70px;
        right: 4%;
        top: 44px;
    }

    .tiny-tag-toolbar {
        min-height: auto;
        padding: 16px 0;
        gap: 14px;
        flex-direction: column;
        align-items: stretch;
    }

    .tiny-tag-toolbar-left {
        justify-content: space-between;
    }

    .tiny-tag-content {
        padding-top: 46px;
    }

    .tiny-tag-field {
        column-gap: 16px;
        row-gap: 16px;
    }

    .tiny-tag.xl .tiny-tag-name { font-size: 44px; }
    .tiny-tag.lg .tiny-tag-name { font-size: 36px; }
    .tiny-tag.md .tiny-tag-name { font-size: 29px; }
    .tiny-tag.sm .tiny-tag-name { font-size: 24px; }
    .tiny-tag.xs .tiny-tag-name { font-size: 18px; }
}

@media (max-width: 500px) {
    .tiny-tag-page {
        padding: 0 14px;
    }

    .tiny-tag-title {
        font-size: 64px;
    }

    .tiny-tag-field {
        column-gap: 13px;
        row-gap: 13px;
    }

    .tiny-tag-toolbar-right {
        display: none;
    }
}

html[data-bs-theme="dark"] .tiny-tag-page,
body.dark-open .tiny-tag-page {
    --paper: #17181a;
    --ink: #e7e5df;
    --muted: #8a8d93;
    --line: #ffffff;
    --button-solid: #ffffff;
    --tag-accent: #c7ff32;
    --tag-solid: #e7e5df;
    --tag-solid-text: #17181a;
}

html[data-bs-theme="dark"] .tiny-tag-hero-accent,
body.dark-open .tiny-tag-hero-accent {
    mix-blend-mode: normal;
    box-shadow: 0 0 0 1px rgba(255,255,255,.12);
}

html[data-bs-theme="dark"] .tiny-tag-title .tiny-tag-outline,
body.dark-open .tiny-tag-title .tiny-tag-outline {
    -webkit-text-stroke-color: var(--ink);
}

html[data-bs-theme="dark"] .tiny-tag.accent-tag,
body.dark-open .tiny-tag.accent-tag {
    color: #11110f;
}