/*
Theme Name: QYBall Theme
Theme URI: https://qyball.cn
Author: QYBall
Author URI: https://qyball.cn
Description: 全域篮球中文IP站主题，用于中国全域篮球技竞IP站，包含地方篮球地图、球队档案、技竞体系、赛事挑战、装备方案和积分榜展示。
Version: 1.0.1
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: qyball-theme
*/

:root {
    --color-ink: #151312;
    --color-ink-soft: #302927;
    --color-red: #b51622;
    --color-red-dark: #7d1118;
    --color-gold: #d7a53a;
    --color-gold-soft: #f0d28a;
    --color-paper: #f7f4ef;
    --color-white: #ffffff;
    --color-muted: #6f6761;
    --color-border: #e7ded3;
    --shadow-card: 0 14px 34px rgba(21, 19, 18, 0.12);
    --radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-ink);
    background: var(--color-paper);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--color-red);
}

p {
    margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 1rem;
    line-height: 1.18;
    font-weight: 800;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.25rem;
}

.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

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

.skip-link:focus {
    z-index: 1000;
    width: auto;
    height: auto;
    clip: auto;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    color: var(--color-white);
    background: var(--color-red);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(21, 19, 18, 0.96);
    border-bottom: 1px solid rgba(215, 165, 58, 0.24);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 74px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
}

.site-brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.site-brand .custom-logo {
    width: auto;
    max-width: 160px;
    max-height: 52px;
}

.site-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    color: var(--color-ink);
    background: var(--color-gold);
    font-weight: 900;
}

.site-brand__text {
    display: grid;
    gap: 2px;
    color: var(--color-white);
}

.site-brand__name {
    font-size: 1.05rem;
    font-weight: 900;
}

.site-brand__tagline {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
}

.site-nav {
    min-width: 0;
    max-width: 100%;
}

.site-nav__list,
.footer-nav__list {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-nav__list {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-nav__list a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 6px 10px;
    color: rgba(255, 255, 255, 0.82);
    border-radius: var(--radius);
    font-size: 0.92rem;
    white-space: nowrap;
}

.site-nav--primary {
    flex: 1 1 auto;
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item > a {
    color: var(--color-white);
    background: rgba(181, 22, 34, 0.72);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 800;
    line-height: 1.25;
}

.button--gold {
    color: var(--color-ink);
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.button--light {
    color: var(--color-ink);
    background: var(--color-white);
    border-color: var(--color-white);
}

.button--ghost {
    color: var(--color-white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.42);
}

.button:hover {
    transform: translateY(-1px);
    color: var(--color-white);
    background: var(--color-red);
    border-color: var(--color-red);
}

.section-kicker {
    margin-bottom: 10px;
    color: var(--color-gold);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.section {
    padding: 72px 0;
}

.section--light {
    background: var(--color-paper);
}

.section--paper {
    background: #fffaf2;
}

.section--dark {
    color: var(--color-white);
    background: var(--color-ink);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 18px;
    margin-bottom: 28px;
}

.section-heading p {
    max-width: 720px;
    color: var(--color-muted);
}

.section-heading--inverse p {
    color: rgba(255, 255, 255, 0.72);
}

.section-heading .section-kicker {
    grid-column: 1 / -1;
    margin-bottom: -8px;
}

.section-link {
    color: var(--color-red);
    font-weight: 800;
    white-space: nowrap;
}

.hero {
    min-height: calc(88vh - 74px);
    color: var(--color-white);
    background:
        linear-gradient(120deg, rgba(21, 19, 18, 0.96) 0%, rgba(57, 20, 17, 0.96) 58%, rgba(125, 17, 24, 0.9) 100%),
        var(--color-ink);
    overflow: hidden;
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    align-items: center;
    gap: 48px;
    padding: 76px 0 66px;
}

.hero__content {
    max-width: 760px;
}

.hero__lead {
    max-width: 620px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.18rem;
}

.hero__court {
    position: relative;
    min-height: 420px;
    border: 1px solid rgba(240, 210, 138, 0.5);
    border-radius: var(--radius);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        rgba(255, 255, 255, 0.04);
    background-size: 36px 36px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.hero__court::before {
    content: "";
    position: absolute;
    inset: 44px;
    border: 2px solid rgba(240, 210, 138, 0.55);
    border-radius: var(--radius);
}

.hero__court-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 142px;
    height: 142px;
    border: 2px solid rgba(240, 210, 138, 0.82);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.hero__court-line {
    position: absolute;
    left: 50%;
    width: 2px;
    height: 40%;
    background: rgba(240, 210, 138, 0.58);
}

.hero__court-line--top {
    top: 44px;
}

.hero__court-line--bottom {
    bottom: 44px;
}

.hero__court-ball {
    position: absolute;
    right: 54px;
    bottom: 58px;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: var(--color-red);
    border: 3px solid var(--color-gold);
    box-shadow: inset 18px 0 0 rgba(0, 0, 0, 0.16);
}

.hero__court-ball::before,
.hero__court-ball::after {
    content: "";
    position: absolute;
    background: rgba(255, 255, 255, 0.42);
}

.hero__court-ball::before {
    top: 41px;
    left: 8px;
    width: 68px;
    height: 2px;
}

.hero__court-ball::after {
    top: 8px;
    left: 41px;
    width: 2px;
    height: 68px;
}

.province-grid,
.feature-grid,
.gear-grid,
.card-grid {
    display: grid;
    gap: 18px;
}

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

.province-card,
.feature-card,
.gear-card {
    display: grid;
    align-content: space-between;
    min-height: 138px;
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.province-card span,
.feature-card span,
.gear-card span {
    color: var(--color-ink);
    font-size: 1.35rem;
    font-weight: 900;
}

.province-card strong,
.gear-card strong {
    color: var(--color-red);
    font-size: 0.92rem;
}

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

.feature-card {
    min-height: 116px;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(240, 210, 138, 0.24);
    box-shadow: none;
}

.feature-card span {
    color: var(--color-white);
}

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

.gear-card {
    min-height: 150px;
    color: var(--color-white);
    background: var(--color-ink-soft);
    border-color: rgba(240, 210, 138, 0.26);
}

.gear-card span {
    color: var(--color-white);
    font-size: 1.12rem;
}

.gear-card strong {
    color: var(--color-gold-soft);
}

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

.card-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.content-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--color-ink);
}

.content-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--color-gold);
    font-weight: 900;
    background:
        linear-gradient(135deg, rgba(181, 22, 34, 0.48), transparent 45%),
        var(--color-ink);
}

.content-card__body {
    padding: 20px;
}

.content-card__meta {
    margin-bottom: 8px;
    color: var(--color-muted);
    font-size: 0.86rem;
}

.content-card__title {
    margin-bottom: 10px;
    font-size: 1.18rem;
}

.content-card__excerpt {
    color: var(--color-muted);
    font-size: 0.95rem;
}

.content-card__link {
    display: inline-flex;
    margin-top: 8px;
    color: var(--color-red);
    font-weight: 800;
}

.empty-state {
    padding: 28px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-white);
}

.empty-state h2 {
    font-size: 1.35rem;
}

.archive-hero,
.single-layout__hero,
.page-layout__hero {
    padding: 56px 0;
    color: var(--color-white);
    background:
        linear-gradient(120deg, rgba(21, 19, 18, 0.98), rgba(125, 17, 24, 0.88)),
        var(--color-ink);
}

.archive-hero h1,
.single-layout__hero h1,
.page-layout__hero h1 {
    max-width: 900px;
}

.archive-hero__desc,
.single-layout__excerpt {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.08rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.86);
}

.breadcrumb__sep {
    color: rgba(255, 255, 255, 0.36);
}

.single-layout__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    padding: 56px 0;
}

.single-layout__body--narrow {
    display: block;
    max-width: 880px;
}

.single-layout__content,
.page-layout__content {
    min-width: 0;
}

.single-layout__thumb {
    margin: 0 0 28px;
    overflow: hidden;
    border-radius: var(--radius);
}

.entry-content {
    color: #27221f;
    font-size: 1.03rem;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content h2,
.entry-content h3 {
    margin-top: 2rem;
}

.entry-content a {
    color: var(--color-red);
    font-weight: 700;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.4rem;
}

.entry-content img {
    border-radius: var(--radius);
}

.info-card {
    position: sticky;
    top: 96px;
    padding: 22px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.qyball-ranking-wrap,
.qyball-mobile-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.qyball-ranking-table {
    width: 100%;
    min-width: 680px;
    margin: 18px 0 30px;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid rgba(215, 165, 58, 0.32);
    border-radius: var(--radius);
    background: #17171b;
    color: var(--color-white);
}

.qyball-ranking-table th,
.qyball-ranking-table td {
    padding: 13px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    vertical-align: middle;
}

.qyball-ranking-table th {
    color: var(--color-gold);
    background: #0d0d0f;
    font-size: 0.9rem;
}

.qyball-ranking-table td {
    color: rgba(255, 255, 255, 0.82);
}

.qyball-ranking-table a {
    color: var(--color-white);
    font-weight: 800;
}

.qyball-score-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 5px 10px;
    color: #0d0d0f;
    background: var(--color-gold);
    border-radius: 999px;
    font-weight: 900;
}

.qyball-ranking-empty {
    padding: 18px;
    color: var(--color-white);
    background: #17171b;
    border: 1px solid rgba(215, 165, 58, 0.32);
    border-radius: var(--radius);
}

.qyball-profile-card {
    margin: 0 0 28px;
    padding: 24px;
    color: var(--color-white);
    background:
        linear-gradient(135deg, rgba(125, 17, 24, 0.32), rgba(13, 13, 15, 0.98)),
        #17171b;
    border: 1px solid rgba(215, 165, 58, 0.38);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.qyball-profile-card--wide {
    position: relative;
}

.qyball-profile-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.qyball-profile-card__head h2 {
    margin-bottom: 0;
    font-size: 1.55rem;
}

.qyball-profile-card__alias {
    display: inline-flex;
    padding: 6px 12px;
    color: #0d0d0f;
    background: var(--color-gold);
    border-radius: 999px;
    font-weight: 900;
}

.qyball-meta-grid,
.qyball-skill-score-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.qyball-skill-score-grid {
    margin-top: 14px;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    align-items: stretch;
}

.qyball-meta-card {
    min-width: 0;
    padding: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
}

.qyball-meta-card span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
}

.qyball-meta-card strong {
    display: block;
    color: var(--color-white);
    font-size: 1rem;
    line-height: 1.35;
    word-break: break-word;
}

.qyball-meta-card--score {
    min-width: 0;
    text-align: center;
    background: rgba(215, 165, 58, 0.16);
    border-color: rgba(215, 165, 58, 0.56);
}

.qyball-skill-score-grid .qyball-meta-card span {
    white-space: nowrap;
}

.qyball-meta-card--score strong {
    color: var(--color-gold);
    font-size: 2rem;
    line-height: 1.1;
    word-break: normal;
}

.qyball-meta-card--highlight {
    border-color: rgba(181, 22, 34, 0.62);
}

.qyball-meta-card--mini {
    text-align: center;
}

.qyball-cta-box {
    margin: 26px 0;
    padding: 20px 22px;
    color: var(--color-white);
    background: #17171b;
    border-left: 4px solid var(--color-red);
    border-radius: var(--radius);
}

.qyball-cta-box p:last-child {
    margin-bottom: 0;
}

.info-card h2 {
    font-size: 1.18rem;
}

.info-card dl,
.info-card dd {
    margin: 0;
}

.info-card dl {
    display: grid;
    gap: 14px;
}

.info-card dt {
    color: var(--color-muted);
    font-size: 0.84rem;
}

.info-card dd {
    font-weight: 800;
}

.info-card a {
    color: var(--color-red);
}

.related-section {
    padding-top: 56px;
}

.bottom-cta,
.submit-band {
    padding: 54px 0;
    color: var(--color-white);
    background: var(--color-red-dark);
}

.bottom-cta__inner,
.submit-band__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
}

.bottom-cta p,
.submit-band p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.78);
}

.page-layout__content {
    max-width: 880px;
    padding: 56px 0;
}

.qyball-static-form,
.entry-content form {
    display: grid;
    gap: 14px;
    max-width: 680px;
    padding: 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.qyball-static-form p,
.entry-content form p {
    margin: 0;
}

.qyball-static-form label,
.entry-content form label {
    color: var(--color-ink);
    font-weight: 800;
}

.qyball-static-form input,
.qyball-static-form select,
.qyball-static-form textarea,
.entry-content input,
.entry-content select,
.entry-content textarea {
    width: 100%;
    min-height: 44px;
    margin-top: 6px;
    padding: 10px 12px;
    color: var(--color-ink);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fffdf8;
    font: inherit;
}

.qyball-static-form textarea,
.entry-content textarea {
    resize: vertical;
}

.qyball-static-form button,
.entry-content button,
.entry-content input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    color: var(--color-white);
    border: 0;
    border-radius: var(--radius);
    background: var(--color-red);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-white);
    font-weight: 800;
}

.pagination .current,
.pagination a:hover {
    color: var(--color-white);
    background: var(--color-red);
    border-color: var(--color-red);
}

.site-footer {
    color: rgba(255, 255, 255, 0.78);
    background: var(--color-ink);
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 44px 0 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__brand {
    margin-bottom: 8px;
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 900;
}

.site-footer__desc {
    max-width: 520px;
}

.footer-nav__list {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-nav__list a {
    display: inline-flex;
    padding: 6px 8px;
    color: rgba(255, 255, 255, 0.78);
}

.footer-nav__list a:hover {
    color: var(--color-gold);
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0 26px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.9rem;
}

@media (max-width: 980px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 1.85rem;
    }

    .site-header__inner,
    .site-footer__inner,
    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-header__inner {
        padding: 12px 0;
    }

    .site-nav__list {
        justify-content: flex-start;
    }

    .hero {
        min-height: auto;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        padding: 56px 0 40px;
    }

    .hero__court {
        min-height: 300px;
    }

    .province-grid,
    .feature-grid,
    .gear-grid,
    .card-grid,
    .card-grid--two,
    .card-grid--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .single-layout__body,
    .bottom-cta__inner,
    .submit-band__inner {
        grid-template-columns: 1fr;
    }

    .info-card {
        position: static;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.55rem;
    }

    .container {
        width: min(100% - 24px, 1160px);
    }

    .section,
    .bottom-cta,
    .submit-band {
        padding: 44px 0;
    }

    .section-heading {
        display: block;
    }

    .section-link {
        display: inline-flex;
        margin-top: 4px;
    }

    .site-brand {
        min-width: 0;
    }

    .site-brand__tagline {
        display: none;
    }

    .site-nav {
        width: 100%;
        overflow-x: visible;
    }

    .site-nav__list {
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
        gap: 4px;
        padding-bottom: 0;
    }

    .site-nav__list a {
        min-height: 32px;
        padding: 4px 8px;
        font-size: 0.8rem;
    }

    .hero__inner {
        gap: 30px;
        padding-top: 44px;
    }

    .hero__lead {
        font-size: 1rem;
    }

    .hero__court {
        min-height: 240px;
    }

    .hero__court-ball {
        width: 64px;
        height: 64px;
        right: 34px;
        bottom: 38px;
    }

    .hero__court-ball::before {
        top: 30px;
        left: 7px;
        width: 48px;
    }

    .hero__court-ball::after {
        top: 7px;
        left: 30px;
        height: 48px;
    }

    .province-grid,
    .feature-grid,
    .gear-grid,
    .card-grid,
    .card-grid--two,
    .card-grid--three {
        grid-template-columns: 1fr;
    }

    .province-card,
    .feature-card,
    .gear-card {
        min-height: 106px;
    }

    .archive-hero,
    .single-layout__hero,
    .page-layout__hero {
        padding: 40px 0;
    }

    .single-layout__body,
    .page-layout__content {
        padding: 40px 0;
    }

    .qyball-ranking-table {
        min-width: 620px;
    }

    .qyball-meta-grid,
    .qyball-skill-score-grid {
        grid-template-columns: 1fr;
    }

    .qyball-skill-score-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qyball-profile-card {
        padding: 18px;
    }

    .qyball-meta-card--score strong {
        font-size: 1.6rem;
    }

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

    .button,
    .button-row .button {
        width: 100%;
    }

    .qyball-static-form,
    .entry-content form {
        padding: 18px;
    }
}

@media (max-width: 420px) {
    .qyball-skill-score-grid {
        grid-template-columns: 1fr;
    }
}
