:root {
    --accent-text-shade: black;
    --like-color: #c2185b;
}

:root[data-theme="dark"] {
    --accent-text-shade: white;
    --like-color: #ff8ab4;
}

html,
body {
    height: auto;
    min-height: 100%;
    overflow: auto;
    color: var(--color-text);
}

html {
    background-color: var(--color-surface);
}

body {
    box-sizing: border-box;
    padding-left: calc(100vw - 100%);
    background: none;
}

main {
    max-width: 520px;
    margin: 0 auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding: var(--top-pad, 32px) 16px 32px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.intro {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 16px;
    text-align: center;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    position: relative;
}

.theme-toggle {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 1;
}

.top-bar-button.theme-toggle {
    width: 30px;
    height: 30px;
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

h1 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 28px;
    letter-spacing: -0.5px;
}

.logo {
    flex-shrink: 0;
    box-sizing: border-box;
    width: 56px;
    height: 56px;
    border: 2px solid var(--color-black);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
}

.logo svg,
.logo img {
    width: 46px;
    height: 46px;
}

.tagline {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--color-text-muted);
}

.tagline a {
    color: var(--color-link);
    font-weight: bold;
    text-decoration: none;
}

.tagline a:hover {
    text-decoration: underline;
}

.tools {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tools > * {
    animation: slide-in 0.35s ease backwards;
}

.tools > :nth-child(2) {
    animation-delay: 0.05s;
}
.tools > :nth-child(3) {
    animation-delay: 0.1s;
}
.tools > :nth-child(4) {
    animation-delay: 0.15s;
}
.tools > :nth-child(5) {
    animation-delay: 0.2s;
}
.tools > :nth-child(6) {
    animation-delay: 0.25s;
}

.tool {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    overflow: hidden;
    isolation: isolate;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}

.tool::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: var(--accent);
    opacity: 0.1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.tool.active {
    transform: translateX(4px);
    border-color: var(--accent);
    box-shadow: -4px 2px 0 var(--accent);
}

.tool.active::before {
    transform: scaleX(1);
}

.tool:active {
    transform: translateX(4px) scale(0.98);
}

.tool-icon {
    flex-shrink: 0;
    box-sizing: border-box;
    width: 56px;
    height: 56px;
    border: 2px solid var(--color-black);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    color: var(--color-text);
}

.tool-icon svg,
.tool-icon img {
    width: 46px;
    height: 46px;
    overflow: visible;
}

.tool-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tool-name {
    font-weight: bold;
    font-size: 15px;
    color: inherit;
    text-decoration: none;
    outline: none;
    -webkit-user-drag: none;
}

.tool-name::after {
    content: "";
    position: absolute;
    inset: 0;
}

.tool:has(.tool-name:focus-visible) {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.tool-side {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.tool-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tool-side .like {
    --heart-x: 17px;
    gap: 5px;
    height: 28px;
    padding: 0 9px;
}

.tool-path {
    position: relative;
    flex-shrink: 0;
    font-family: ui-monospace, Consolas, monospace;
    font-weight: bold;
    font-size: 14px;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 4px;
    color: var(--color-white);
    background: var(--accent);
    border: 1px solid var(--accent);
    box-shadow: 0 1px 0 color-mix(in srgb, var(--accent) 60%, black);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.tool.active .tool-path {
    transform: translateY(-1px);
    box-shadow: 0 3px 0 color-mix(in srgb, var(--accent) 60%, black);
}

.tool-desc {
    font-size: 13px;
    color: var(--color-text-muted);
}

main {
    position: relative;
    z-index: 1;
}

html.panning,
html.panning * {
    cursor: grabbing !important;
}

main.placed {
    transition: padding-top 0.45s ease;
}

.tool {
    touch-action: pan-y;
    -webkit-user-drag: none;
}

.peek {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 0;
    height: min(420px, 45vh);
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
    mask-image: linear-gradient(to bottom, #000 55%, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.peek.active {
    opacity: 0.85;
}

@property --floor-accent {
    syntax: "<color>";
    inherits: false;
    initial-value: #ffffff;
}

.floor {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    z-index: 0;
    height: min(320px, 35vh);
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--floor-accent) 22%, var(--color-surface)));
    opacity: 0;
    transition:
        opacity 0.4s ease,
        --floor-accent 0.4s ease;
}

.floor.active {
    opacity: 1;
}

.peek img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation:
        fade-in 1s ease both,
        peek-pan 6s linear both;
}

@keyframes peek-pan {
    from {
        transform: scale(1.2) translateX(3%);
    }
    to {
        transform: scale(1.2) translateX(-3%);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
}

.tool .ripple {
    position: absolute;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.35;
    transform: scale(0);
    pointer-events: none;
    animation: ripple 0.5s ease-out forwards;
}

@keyframes ripple {
    to {
        transform: scale(1);
        opacity: 0;
    }
}

.intro-meta {
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px -4px -4px 0;
}

.visitors-total,
.tool-visitors {
    font-size: 12px;
    color: var(--color-text-muted);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.visitors-total.loaded,
.tool-visitors.loaded {
    opacity: 1;
}

.like {
    --like: var(--like-color);
    --heart: var(--accent, #e5383b);
    --heart-x: 18px;
    position: relative;
    z-index: 1;
    gap: 5px;
    height: 30px;
    padding: 0 10px;
    border-radius: 4px;
    border: 1px solid var(--like);
    background-color: var(--color-surface);
    color: var(--like);
    font-weight: bold;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 1px 0 color-mix(in srgb, var(--like) 60%, black);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.15s ease,
        background-color 0.15s ease,
        color 0.15s ease;
}

.like:not(.loaded) {
    visibility: hidden;
}

.like.loaded {
    animation: like-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes like-in {
    from {
        opacity: 0;
        transform: scale(0.6);
    }
}

.like svg {
    width: 16px;
    height: 16px;
    fill: var(--color-white);
    stroke: var(--color-text);
    transition: fill 0.15s ease;
}

.like-count:empty {
    display: none;
}

.like:hover {
    background-color: color-mix(in srgb, var(--like) 8%, var(--color-surface));
    box-shadow: 0 3px 0 color-mix(in srgb, var(--like) 60%, black);
    transform: translateY(-1px);
}

.like:active {
    transform: none;
    box-shadow: 0 1px 0 color-mix(in srgb, var(--like) 60%, black);
}

.like.liked,
.like.liked:hover {
    background-color: color-mix(in srgb, var(--like) 22%, var(--color-surface));
}

.like.liked svg {
    fill: var(--heart);
}

@media (hover: hover) {
    .like:hover svg {
        animation: like-beat 0.9s ease-in-out infinite;
    }
}

.like.pop svg {
    animation: like-pop 0.4s ease;
}

@keyframes like-beat {
    0%,
    40%,
    100% {
        transform: scale(1);
    }
    15% {
        transform: scale(1.2);
    }
    28% {
        transform: scale(1.08);
    }
}

@keyframes like-pop {
    0% {
        transform: scale(0.6);
    }
    50% {
        transform: scale(1.4);
    }
}

.like-burst {
    position: absolute;
    left: var(--heart-x);
    top: 50%;
    width: 5px;
    height: 5px;
    margin: -2.5px;
    border-radius: 50%;
    background: var(--heart);
    box-shadow: 0 0 0 1px var(--color-black);
    pointer-events: none;
    animation: like-burst 0.5s ease-out forwards;
}

@keyframes like-burst {
    from {
        transform: rotate(var(--angle)) translateY(-6px) scale(1);
    }
    to {
        transform: rotate(var(--angle)) translateY(-20px) scale(0.2);
        opacity: 0;
    }
}

.footer {
    --accent: var(--color-proposition);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bar {
    flex-wrap: wrap;
    align-items: center;
}

.kofi {
    margin-left: auto;
    gap: 8px;
    height: 40px;
    padding: 0 14px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.kofi svg {
    width: 24px;
    height: 24px;
}

.kofi:hover {
    background-color: color-mix(in srgb, #ff5a16 12%, var(--color-button-bg));
    border-color: #ff5a16;
    box-shadow: 0 3px 0 #ff5a16;
    transform: translateY(-2px);
}

.kofi:active {
    transform: translateY(0);
    box-shadow: 0 1px 0 #ff5a16;
}

@media (max-width: 480px) {
    .footer-bar {
        flex-wrap: nowrap;
    }

    .footer-bar .info-toggle,
    .mod-panel .info-row .info-toggle {
        flex: 1 1 0;
    }

    .kofi {
        flex-shrink: 0;
        width: 40px;
        padding: 0;
        justify-content: center;
    }

    .kofi-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

.about-body {
    color: var(--color-text-muted);
}

.about-body h2 {
    margin: 12px 0 2px;
    font-size: 14px;
}

.about-body h2 a {
    color: color-mix(in srgb, var(--accent) 70%, var(--accent-text-shade));
    text-decoration: none;
}

.about-body h2 a:hover {
    text-decoration: underline;
}

.about-body p {
    margin: 10px 0 0;
}

.about-body h2 + p {
    margin-top: 0;
}

.about-body .about-legal {
    margin-top: 14px;
    font-size: 12px;
}

.changelog-body h4 {
    margin: 6px 0 1px;
    font-size: 13px;
    color: color-mix(in srgb, var(--accent) 70%, var(--accent-text-shade));
}

.changelog-body .log-head + h4 {
    margin-top: 2px;
}

.changelog-body h4 a {
    color: inherit;
    text-decoration: none;
}

.changelog-body h4 a:hover {
    text-decoration: underline;
}

.tool-group {
    display: flex;
    flex-direction: column;
}

.tool-group > .tool {
    z-index: 1;
}

.tool-group:has(.mod-drawer.open) > .tool {
    border-radius: 4px 4px 0 0;
}

.mod-drawer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s ease;
}

.mod-drawer.open {
    grid-template-rows: 1fr;
}

.mod-drawer-inner {
    min-height: 0;
    overflow: hidden;
}

.mod-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    background: color-mix(in srgb, var(--accent) 6%, var(--color-surface));
    border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--color-border));
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: inset 0 6px 6px -6px var(--color-shade);
    opacity: 0;
    transform: translateY(-8px);
    transition:
        opacity 0.3s ease 0.15s,
        transform 0.3s ease 0.15s;
}

.mod-drawer.open .mod-panel {
    opacity: 1;
    transform: none;
}

.mod-head {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.mod-title {
    white-space: nowrap;
    font-weight: bold;
    font-size: 14px;
}

.mod-version {
    font-family: ui-monospace, Consolas, monospace;
    font-weight: bold;
    font-size: 14px;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 4px;
    color: var(--color-white);
    background: var(--accent);
    border: 1px solid var(--accent);
    box-shadow: 0 1px 0 color-mix(in srgb, var(--accent) 60%, black);
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mod-stats {
    margin-left: auto;
    font-size: 12px;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mod-repo {
    flex-shrink: 0;
    gap: 5px;
    height: 30px;
    padding: 0 10px;
    border-radius: 4px;
    border: 1px solid var(--color-text);
    background-color: var(--color-surface);
    color: var(--color-text);
    font-weight: bold;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 1px 0 color-mix(in srgb, var(--color-text) 60%, black);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease;
}

.mod-repo:hover {
    background-color: color-mix(in srgb, var(--color-text) 8%, var(--color-surface));
    box-shadow: 0 3px 0 color-mix(in srgb, var(--color-text) 60%, black);
    transform: translateY(-1px);
}

.mod-repo:active {
    transform: none;
    box-shadow: 0 1px 0 color-mix(in srgb, var(--color-text) 60%, black);
}

.mod-repo svg {
    width: 16px;
    height: 16px;
}

.mod-repo:not(.loaded) {
    visibility: hidden;
}

.mod-repo.loaded {
    animation: like-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mod-repo-counts {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mod-repo-counts[hidden] {
    display: none;
}

.mod-repo-count {
    display: flex;
    align-items: center;
    gap: 3px;
}

.mod-repo-count + .mod-repo-count {
    padding-left: 6px;
    border-left: 1px solid color-mix(in srgb, var(--color-text) 35%, transparent);
}

.mod-repo .mod-repo-count svg {
    width: 13px;
    height: 13px;
}

.mod-repo .mod-repo-fork svg {
    width: 15px;
    height: 15px;
    stroke: var(--color-text);
    stroke-width: 1.75;
}

.mod-repo .mod-repo-fork circle {
    r: 3.75px;
    fill: var(--accent);
}

.mod-repo .mod-repo-star svg {
    fill: #f5b301;
    stroke: var(--color-text);
}

.mod-blurb {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--color-text-muted);
}

.mod-variants {
    display: flex;
    gap: 8px;
}

.mod-variant {
    --variant: var(--accent);
    --variant-text: var(--color-white);
    flex: 1 1 0;
    min-width: 0;
    height: 40px;
    gap: 8px;
    justify-content: flex-start;
    background-color: var(--variant);
    border-color: color-mix(in srgb, var(--variant) 70%, black);
    color: var(--variant-text);
    box-shadow: 0 2px 0 color-mix(in srgb, var(--variant) 60%, black);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        filter 0.15s ease;
}

.mod-variant:hover {
    background-color: var(--variant);
    filter: brightness(1.12);
    transform: translateY(-1px);
    box-shadow: 0 3px 0 color-mix(in srgb, var(--variant) 60%, black);
}

.mod-variant:active {
    transform: translateY(1px);
    box-shadow: 0 1px 0 color-mix(in srgb, var(--variant) 60%, black);
}

.mod-variant:disabled,
.mod-variant:disabled:hover {
    background-color: var(--variant);
    filter: none;
    transform: none;
}

.mod-variant svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.mod-variant-name {
    min-width: 0;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mod-variant-size {
    margin-left: auto;
    font-size: 12px;
    opacity: 0.75;
    white-space: nowrap;
}

.info-row {
    display: flex;
    gap: 8px;
}

.info-toggle {
    justify-content: flex-start;
    min-width: 0;
    gap: 8px;
    height: 40px;
    padding: 0 10px 0 4px;
    font-weight: bold;
    -webkit-tap-highlight-color: transparent;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.info-toggle::after {
    content: "›";
    margin-left: auto;
    font-size: 18px;
    font-weight: normal;
    line-height: 1;
    color: var(--color-text-muted);
    transition:
        transform 0.2s ease,
        color 0.2s ease;
}

.info-toggle:hover,
.info-toggle[aria-expanded="true"] {
    background-color: color-mix(in srgb, var(--accent) 12%, var(--color-button-bg));
    border-color: var(--accent);
}

.info-toggle:hover {
    box-shadow: 0 3px 0 var(--accent);
    transform: translateY(-2px);
}

.info-toggle:active {
    transform: translateY(0);
    box-shadow: 0 1px 0 var(--accent);
}

.info-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.info-toggle:hover::after,
.info-toggle[aria-expanded="true"]::after {
    color: var(--accent);
}

.info-toggle[aria-expanded="true"]::after {
    transform: rotate(90deg);
}

.info-icon {
    flex-shrink: 0;
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-black);
    border-radius: 4px;
    background: var(--color-white);
}

.info-icon img {
    width: 22px;
    height: 22px;
}

.info-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.info-toggle:hover .info-label,
.info-toggle[aria-expanded="true"] .info-label {
    color: color-mix(in srgb, var(--accent) 70%, var(--accent-text-shade));
}

.info-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--color-border));
    border-radius: 4px;
    background: var(--color-surface);
    box-shadow: 0 2px 6px var(--color-bounds);
    animation: details-in 0.25s ease;
}

.info-panel::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
}

.info-panel-body {
    max-height: min(340px, 50dvh);
    overflow-y: auto;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.5;
}

.info-panel-body > :first-child {
    margin-top: 0;
}

.info-status {
    margin: 0;
    color: var(--color-text-muted);
}

.no-select .info-panel,
.no-select .info-panel * {
    -webkit-user-select: text;
    user-select: text;
}

@keyframes details-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
}

.info-panel-body ul {
    margin: 0;
    padding-left: 16px;
}

.info-panel-body li {
    margin-bottom: 2px;
}

.info-panel-body .swatch {
    box-shadow: 0 0 0 1px var(--color-swatch-edge) inset;
}

.log-entry {
    position: relative;
    padding: 0 0 12px 18px;
}

.log-entry::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 10px;
    bottom: -2px;
    border-left: 2px solid color-mix(in srgb, var(--accent) 30%, var(--color-surface));
}

.log-entry:last-child {
    padding-bottom: 0;
}

.log-entry:last-child::before {
    display: none;
}

.log-entry::after {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    background: var(--color-surface);
}

.log-entry::after {
    transition:
        background-color 0.15s ease,
        transform 0.15s ease;
}

.log-entry:hover::after {
    background: var(--accent);
    transform: scale(1.25);
}

.log-entry:first-child::after {
    background: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}

.log-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
    font-weight: bold;
}

.log-tag {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 11px;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 3px;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.log-entry:first-child .log-tag {
    color: var(--color-white);
    background: var(--accent);
}

.log-text {
    margin: 2px 0 0;
    color: var(--color-text-muted);
}

.legend-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
}

.legend-group h3 {
    margin: 0 0 4px;
    padding-bottom: 3px;
    border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, var(--color-surface));
    font-size: 13px;
    color: color-mix(in srgb, var(--accent) 70%, var(--accent-text-shade));
}

.legend-group > ul {
    padding-left: 0;
    list-style: none;
}

.legend-group li ul {
    padding-left: 16px;
    list-style: disc;
}

.legend-group .swatch {
    margin-right: 2px;
    transition: transform 0.15s ease;
}

.legend-group li {
    margin: 0 -4px 1px;
    padding: 0 4px;
    border-radius: 3px;
    transition: background-color 0.15s ease;
}

.legend-group li:hover {
    background: color-mix(in srgb, var(--accent) 10%, var(--color-surface));
}

.legend-group li:hover > .swatch {
    transform: scale(1.3);
}

.legend-group.wide {
    grid-column: 1 / -1;
}

@media (max-width: 520px) {
    .mod-updated {
        display: none;
    }

    .mod-version {
        flex-shrink: 0;
    }
}

@media (max-width: 400px) {
    .mod-variants {
        flex-direction: column;
    }

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

    .mod-variant {
        flex: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .like-burst {
        display: none;
    }
}
