:root {
    --background: #080907;
    --surface: rgba(25, 25, 18, 0.94);
    --surface-strong: rgba(34, 31, 20, 0.98);
    --surface-light: rgba(52, 46, 27, 0.9);

    --border: rgba(197, 157, 79, 0.33);
    --border-strong: rgba(227, 185, 94, 0.66);

    --gold: #e3b95e;
    --gold-light: #ffda83;
    --gold-dark: #8f6326;

    --green: #709348;
    --green-light: #a9c976;
    --green-dark: #26371d;

    --text: #fff4d7;
    --muted: #baaF91;
    --danger: #b9483f;

    --shadow:
        0 12px 35px rgba(0, 0, 0, 0.46),
        inset 0 1px 0 rgba(255, 226, 154, 0.04);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #090906;
}

body {
    min-height: 100vh;
    margin: 0;

    background:
        linear-gradient(
            rgba(7, 8, 5, 0.72),
            rgba(7, 7, 5, 0.88)
        ),
        url("/static/images/underground-bg.svg")
        center top / cover fixed;

    color: var(--text);
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

/* ---------------------------------------------------------
   Kopfbereich
--------------------------------------------------------- */

.app-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    border-bottom: 1px solid var(--border);

    background:
        linear-gradient(
            180deg,
            rgba(16, 19, 11, 0.98),
            rgba(9, 11, 7, 0.94)
        );

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.45);

    backdrop-filter: blur(12px);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 62px;
    gap: 12px;
}

.app-title {
    margin: 0;

    color: var(--gold-light);

    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.02em;

    text-shadow:
        0 0 15px rgba(227, 185, 94, 0.3);
}

.app-subtitle {
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.language-select {
    width: 78px;
    min-width: 78px;

    border-color: var(--border-strong);

    background-color: rgba(18, 19, 12, 0.95);
    color: var(--gold-light);

    font-weight: 800;
}

/* ---------------------------------------------------------
   Hero
--------------------------------------------------------- */

.hero-section {
    position: relative;
    min-height: 205px;
    overflow: hidden;

    border-bottom: 1px solid var(--border);

    background:
        url("/static/images/ant-hero.svg")
        center 54% / cover no-repeat;

    box-shadow:
        inset 0 -30px 55px rgba(0, 0, 0, 0.62);
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 8, 4, 0.95) 0%,
            rgba(5, 8, 4, 0.78) 42%,
            rgba(5, 8, 4, 0.22) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    min-height: 205px;
    padding-top: 24px;
    padding-bottom: 24px;
}

.hero-copy {
    max-width: 600px;
}

.hero-kicker {
    margin-bottom: 4px;

    color: var(--green-light);

    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.3em;
}

.hero-title {
    color: var(--gold-light);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(2rem, 9vw, 3.6rem);
    font-weight: 900;
    line-height: 0.98;

    text-shadow:
        0 2px 0 #503216,
        0 0 18px rgba(255, 207, 99, 0.3);
}

.hero-description {
    max-width: 480px;
    margin-top: 10px;

    color: #e8ddc0;

    font-size: 0.87rem;
    line-height: 1.45;
}

.hero-badge {
    display: none;
}

/* ---------------------------------------------------------
   Hauptbereich
--------------------------------------------------------- */

.app-container {
    padding-top: 13px;
    padding-bottom:
        calc(30px + env(safe-area-inset-bottom));
}

.app-card {
    position: relative;
    overflow: hidden;

    margin-bottom: 13px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            rgba(35, 34, 23, 0.96),
            rgba(18, 18, 13, 0.96)
        );

    box-shadow: var(--shadow);
}

.app-card::before {
    content: "";

    position: absolute;
    top: 0;
    right: 0;
    left: 0;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold),
            transparent
        );

    opacity: 0.62;
}

.app-card::after {
    content: "";

    position: absolute;
    right: -65px;
    bottom: -75px;

    width: 150px;
    height: 150px;

    border: 1px solid rgba(227, 185, 94, 0.08);
    border-radius: 50%;

    box-shadow:
        0 0 0 18px rgba(227, 185, 94, 0.025),
        0 0 0 38px rgba(227, 185, 94, 0.018);

    pointer-events: none;
}

.app-card .card-body {
    position: relative;
    z-index: 1;
    padding: 16px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;

    margin: 0 0 15px;

    color: var(--gold-light);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 1.12rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.section-title::before {
    content: "";

    display: block;

    width: 5px;
    height: 22px;

    border-radius: 2px;

    background:
        linear-gradient(
            180deg,
            var(--gold-light),
            var(--gold-dark)
        );

    box-shadow:
        0 0 10px rgba(227, 185, 94, 0.36);
}

/* ---------------------------------------------------------
   Profile
--------------------------------------------------------- */

.profile-list {
    display: flex;
    gap: 9px;

    overflow-x: auto;

    padding: 2px 1px 7px;

    scrollbar-color:
        var(--gold-dark)
        rgba(0, 0, 0, 0.2);
}

.profile-card {
    flex: 0 0 auto;

    min-width: 145px;
    padding: 11px 12px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background:
        linear-gradient(
            145deg,
            rgba(66, 58, 35, 0.88),
            rgba(31, 29, 20, 0.95)
        );

    color: var(--text);
    text-align: left;

    box-shadow:
        inset 0 1px 0 rgba(255, 224, 146, 0.05);

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

.profile-card:active {
    transform: scale(0.98);
}

.profile-card.active {
    border-color: var(--gold-light);

    background:
        linear-gradient(
            145deg,
            rgba(115, 85, 34, 0.8),
            rgba(47, 39, 22, 0.95)
        );

    box-shadow:
        0 0 14px rgba(227, 185, 94, 0.18),
        inset 0 0 15px rgba(255, 211, 104, 0.06);
}

.profile-name {
    display: block;

    color: var(--gold-light);

    font-weight: 900;
}

.profile-speed {
    display: block;

    margin-top: 3px;

    color: var(--muted);
    font-size: 0.78rem;
}

/* ---------------------------------------------------------
   Buffs
--------------------------------------------------------- */

.buff-list {
    display: grid;
    gap: 9px;
}

.buff-option {
    display: flex;
    align-items: center;
    gap: 11px;

    min-height: 58px;
    padding: 11px 12px;

    border: 1px solid var(--border);
    border-radius: 9px;

    background:
        linear-gradient(
            145deg,
            rgba(59, 53, 33, 0.78),
            rgba(27, 27, 19, 0.93)
        );

    cursor: pointer;
}

.buff-option:has(input:checked) {
    border-color: var(--green-light);

    background:
        linear-gradient(
            145deg,
            rgba(71, 101, 46, 0.66),
            rgba(29, 45, 24, 0.94)
        );

    box-shadow:
        inset 0 0 14px rgba(137, 185, 87, 0.08),
        0 0 12px rgba(112, 147, 72, 0.1);
}

.buff-option input {
    flex: 0 0 auto;

    width: 21px;
    height: 21px;

    border-color: var(--border-strong);
    background-color: rgba(8, 10, 6, 0.8);
}

.buff-option input:checked {
    border-color: var(--green-light);
    background-color: var(--green);
}

.buff-label {
    display: block;

    color: var(--text);

    font-weight: 800;
}

.buff-value {
    display: block;

    color: var(--muted);

    font-size: 0.78rem;
}

.effective-speed-box {
    margin-top: 13px;
    padding: 16px;

    border: 1px solid var(--border-strong);
    border-radius: 10px;

    background:
        radial-gradient(
            circle at center,
            rgba(180, 127, 42, 0.18),
            rgba(29, 24, 13, 0.76)
        );

    box-shadow:
        inset 0 0 22px rgba(255, 193, 73, 0.04),
        0 0 16px rgba(227, 185, 94, 0.05);

    text-align: center;
}

.effective-speed-label {
    color: var(--muted);

    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.effective-speed-value {
    margin: 4px 0;

    color: var(--gold-light);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 2.45rem;
    font-weight: 900;
    line-height: 1.05;

    text-shadow:
        0 0 15px rgba(227, 185, 94, 0.25);
}

/* ---------------------------------------------------------
   Modi
--------------------------------------------------------- */

.mode-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.mode-button {
    min-height: 49px;
    padding: 7px 4px;

    border: 1px solid var(--border);
    border-radius: 7px;

    background:
        linear-gradient(
            180deg,
            rgba(59, 53, 34, 0.88),
            rgba(27, 26, 18, 0.96)
        );

    color: #d8ceb3;

    font-size: 0.82rem;
    font-weight: 900;

    box-shadow:
        inset 0 1px 0 rgba(255, 220, 134, 0.05);
}

.mode-button.active {
    border-color: var(--gold-light);

    background:
        linear-gradient(
            180deg,
            var(--gold-light),
            #a96f27
        );

    color: #201507;

    box-shadow:
        0 0 14px rgba(227, 185, 94, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* ---------------------------------------------------------
   Formulare
--------------------------------------------------------- */

.form-label {
    color: #d8ceb3;
    font-size: 0.84rem;
    font-weight: 700;
}

.form-control,
.form-select,
.input-group-text {
    border-color: var(--border);

    background-color: rgba(8, 10, 6, 0.82);
    color: var(--text);

    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.35);
}

.form-control::placeholder {
    color: #746d5b;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold);

    background-color: rgba(11, 12, 8, 0.95);
    color: var(--text);

    box-shadow:
        0 0 0 0.2rem rgba(227, 185, 94, 0.14);
}

.form-select option {
    background: #17180f;
    color: var(--text);
}

/* ---------------------------------------------------------
   Buttons
--------------------------------------------------------- */

.btn-primary,
.btn-success {
    border-color: #e6bd65;

    background:
        linear-gradient(
            180deg,
            #f0cc78,
            #a96f28
        );

    color: #211506;

    font-weight: 900;

    box-shadow:
        0 4px 0 #674315,
        0 8px 17px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-success:hover,
.btn-success:focus {
    border-color: #ffe09a;
    background:
        linear-gradient(
            180deg,
            #f7d98f,
            #bc7e2e
        );
    color: #211506;
}

.btn-primary:active,
.btn-success:active {
    transform: translateY(2px);

    box-shadow:
        0 2px 0 #674315,
        0 4px 10px rgba(0, 0, 0, 0.22);
}

.btn-outline-secondary,
.btn-outline-light {
    border-color: var(--border-strong);
    color: #d7c9aa;
}

.btn-outline-secondary:hover,
.btn-outline-light:hover {
    border-color: var(--gold-light);
    background: rgba(227, 185, 94, 0.12);
    color: var(--gold-light);
}

/* ---------------------------------------------------------
   Ergebnisse mobil
--------------------------------------------------------- */

.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
    margin-bottom: 13px;
}

.mobile-results {
    display: grid;
    gap: 10px;
}

.result-card {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            rgba(52, 47, 30, 0.94),
            rgba(23, 23, 16, 0.98)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 226, 150, 0.04);
}

.result-card.missing {
    opacity: 0.48;
}

.result-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 12px;

    border-bottom: 1px solid var(--border);

    background:
        linear-gradient(
            90deg,
            rgba(110, 75, 31, 0.35),
            rgba(31, 31, 20, 0.35)
        );
}

.result-tier {
    color: var(--gold-light);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 1.25rem;
    font-weight: 900;

    text-shadow:
        0 0 10px rgba(227, 185, 94, 0.18);
}

.result-cp {
    color: #e9ddbd;
    font-weight: 900;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.result-field {
    padding: 9px 11px;

    border-right: 1px solid rgba(197, 157, 79, 0.2);
    border-bottom: 1px solid rgba(197, 157, 79, 0.2);
}

.result-field:nth-child(2n) {
    border-right: 0;
}

.result-field-label {
    display: block;

    color: var(--muted);

    font-size: 0.7rem;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.result-field-value {
    display: block;

    margin-top: 2px;

    color: var(--text);

    font-size: 0.94rem;
    font-weight: 800;
}

/* ---------------------------------------------------------
   Desktop-Tabelle
--------------------------------------------------------- */

.desktop-table {
    display: none;
}

.table {
    min-width: 980px;

    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(227, 185, 94, 0.035);
    --bs-table-hover-bg: rgba(227, 185, 94, 0.075);
    --bs-table-color: var(--text);
}

.table thead th {
    border-color: var(--border);

    color: var(--gold-light);

    font-size: 0.76rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.table tbody td {
    border-color: rgba(197, 157, 79, 0.18);
}

/* ---------------------------------------------------------
   Meldungen
--------------------------------------------------------- */

.alert {
    border-color: var(--border);

    background: rgba(39, 35, 22, 0.97);
    color: var(--text);

    box-shadow: var(--shadow);
}

.alert-success {
    border-color: rgba(112, 147, 72, 0.65);
    background: rgba(38, 66, 29, 0.96);
}

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */

@media (max-width: 420px) {
    .hero-section,
    .hero-content {
        min-height: 190px;
    }

    .hero-description {
        max-width: 290px;
        font-size: 0.8rem;
    }

    .mode-button {
        font-size: 0.75rem;
    }

    .app-card .card-body {
        padding: 14px;
    }
}

@media (min-width: 768px) {
    .hero-section,
    .hero-content {
        min-height: 285px;
    }

    .hero-content {
        align-items: center;
    }

    .hero-badge {
        display: flex;
        align-items: center;
        gap: 9px;

        padding: 12px 16px;

        border: 1px solid rgba(227, 185, 94, 0.5);
        border-radius: 8px;

        background: rgba(24, 21, 13, 0.7);
        color: var(--gold-light);

        font-weight: 900;

        box-shadow:
            0 8px 20px rgba(0, 0, 0, 0.3);
    }

    .hero-badge-icon {
        font-size: 1.35rem;
    }

    .app-container {
        padding-top: 24px;
    }

    .app-card {
        margin-bottom: 20px;
    }

    .app-card .card-body {
        padding: 22px;
    }

    .buff-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .mobile-results {
        display: none;
    }

    .desktop-table {
        display: block;
    }
}

@media (min-width: 1100px) {
    .app-container,
    .hero-content {
        max-width: 1000px;
    }
}

/* ---------------------------------------------------------
   Sprache, Shop und Footer
--------------------------------------------------------- */

.language-select {
    padding-left: 0.6rem;
    padding-right: 1.8rem;
    font-size: 1.25rem;
    line-height: 1;
    text-align: center;
}

.app-footer {
    padding:
        22px
        12px
        calc(28px + env(safe-area-inset-bottom));

    border-top: 1px solid var(--border);

    background:
        linear-gradient(
            180deg,
            rgba(13, 13, 9, 0.94),
            rgba(6, 7, 5, 0.98)
        );

    text-align: center;
}

.official-shop-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 48px;
    padding: 11px 18px;

    border: 1px solid var(--border-strong);
    border-radius: 9px;

    background:
        linear-gradient(
            180deg,
            rgba(224, 184, 91, 0.18),
            rgba(112, 75, 30, 0.22)
        );

    color: var(--gold-light);

    font-weight: 900;
    text-decoration: none;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 7px 18px rgba(0, 0, 0, 0.28);
}

.official-shop-link:hover,
.official-shop-link:focus {
    border-color: var(--gold-light);
    color: #fff0bd;
    transform: translateY(-1px);
}

.shop-icon {
    font-size: 1.2rem;
}

.fan-project-notice {
    max-width: 720px;
    margin: 17px auto 0;

    color: var(--muted);

    font-size: 0.76rem;
    line-height: 1.5;
}

/* ---------------------------------------------------------
   Feldhilfen
--------------------------------------------------------- */

.field-label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
}

.field-help-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;
    padding: 0;

    border: 1px solid var(--border-strong);
    border-radius: 50%;

    background:
        linear-gradient(
            180deg,
            rgba(227, 185, 94, 0.22),
            rgba(112, 75, 30, 0.2)
        );

    color: var(--gold-light);

    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;

    cursor: pointer;
}

.field-help-button:hover,
.field-help-button:focus {
    border-color: var(--gold-light);
    background: rgba(227, 185, 94, 0.25);
    color: #fff4ca;
}

.help-modal-content {
    border: 1px solid var(--border-strong);
    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            rgba(38, 35, 23, 0.99),
            rgba(17, 17, 12, 0.99)
        );

    color: var(--text);

    box-shadow: var(--shadow);
}

.help-modal-content .modal-header {
    border-bottom-color: var(--border);
}

.help-gif-container {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: rgba(6, 7, 5, 0.65);
}

.help-gif {
    display: block;

    width: 100%;
    height: auto;
    max-height: 65vh;

    object-fit: contain;
}

.help-gif-missing {
    padding: 28px 14px;

    color: var(--muted);

    text-align: center;
}

/* =========================================================
   Spezialameisen und Sternstufen
========================================================= */

.special-ant-section {
    padding-top: 4px;
    border-top: 1px solid rgba(227, 185, 94, 0.18);
}

.special-ant-heading {
    margin: 0 0 5px;

    color: var(--gold-light);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 1rem;
    font-weight: 900;
}

.special-ant-description {
    margin: 0 0 13px;

    color: var(--muted);

    font-size: 0.78rem;
    line-height: 1.45;
}

.special-ant-selector {
    display: grid;
    gap: 12px;
}

.special-ant-row {
    padding: 12px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            rgba(52, 47, 30, 0.86),
            rgba(22, 22, 15, 0.96)
        );
}

.special-ant-name {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
    margin-bottom: 9px;

    color: var(--text);

    font-size: 0.9rem;
    font-weight: 900;
}

.special-ant-stage-text {
    color: var(--gold-light);

    font-size: 0.75rem;
    font-weight: 800;
}

.star-stage-options {
    display: flex;
    gap: 7px;

    overflow-x: auto;

    padding: 2px 1px 7px;

    scroll-snap-type: x proximity;
    scrollbar-color:
        var(--gold-dark)
        rgba(0, 0, 0, 0.2);
}

.star-stage-button {
    flex: 0 0 auto;

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

    min-width: 66px;
    min-height: 61px;
    padding: 6px;

    border: 1px solid rgba(227, 185, 94, 0.23);
    border-radius: 8px;

    background:
        linear-gradient(
            180deg,
            rgba(46, 42, 27, 0.96),
            rgba(20, 20, 14, 0.98)
        );

    color: var(--text);

    scroll-snap-align: start;

    box-shadow:
        inset 0 1px 0 rgba(255, 230, 157, 0.04);
}

.star-stage-button.active {
    border-color: var(--gold-light);

    background:
        linear-gradient(
            180deg,
            rgba(119, 86, 32, 0.72),
            rgba(44, 35, 19, 0.98)
        );

    box-shadow:
        0 0 13px rgba(227, 185, 94, 0.22),
        inset 0 0 12px rgba(255, 216, 117, 0.06);
}

.star-stage-visual {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 25px;

    white-space: nowrap;
}

.star-stage-number {
    margin-top: 2px;

    color: var(--muted);

    font-size: 0.68rem;
    font-weight: 800;
}

.star-stage-button.active .star-stage-number {
    color: var(--gold-light);
}

.ant-star {
    display: inline-block;

    margin: 0 -1px;

    font-family:
        Arial,
        sans-serif;

    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1;

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Stufe 0: schwarzer, leerer Stern */
.ant-star-empty {
    color: #0b0b09;

    -webkit-text-stroke:
        1px
        #9c8451;

    text-shadow:
        0 0 2px rgba(255, 211, 106, 0.36),
        0 1px 2px rgba(0, 0, 0, 0.9);
}

/* Stufe 1–5: goldene volle Sterne */
.ant-star-gold {
    color: #ffd14d;

    -webkit-text-stroke:
        0.7px
        #7f5512;

    text-shadow:
        0 0 5px rgba(255, 202, 54, 0.55),
        0 1px 1px rgba(0, 0, 0, 0.8);
}

/* Stufe 6–8: rote volle Sterne */
.ant-star-red {
    color: #ed3346;

    -webkit-text-stroke:
        0.7px
        #72101c;

    text-shadow:
        0 0 6px rgba(255, 38, 66, 0.62),
        0 1px 1px rgba(0, 0, 0, 0.85);
}

/* Profilkarten */

.profile-ant-stars {
    display: grid;
    gap: 3px;

    margin-top: 7px;
    padding-top: 6px;

    border-top: 1px solid rgba(227, 185, 94, 0.14);
}

.profile-ant-star-line {
    display: flex;
    align-items: center;
    gap: 3px;

    min-height: 17px;

    color: var(--muted);

    font-size: 0.62rem;
    font-weight: 800;
}

.profile-ant-star-line .ant-star {
    font-size: 0.72rem;
}

@media (min-width: 768px) {
    .special-ant-selector {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .special-ant-row {
        min-width: 0;
    }
}

/* =========================================================
   Bilder der Spezialameisen
========================================================= */

.special-ant-identity {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
}

.special-ant-image {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    box-shadow:
        0 0 0 2px rgba(10, 10, 7, 0.72),
        0 0 12px rgba(227, 185, 94, 0.16);
}

.profile-ant-image {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-right: 2px;
    border: 1px solid rgba(227, 185, 94, 0.5);
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    box-shadow:
        0 0 0 1px rgba(5, 5, 3, 0.8),
        0 0 5px rgba(227, 185, 94, 0.12);
}

.profile-ant-star-line {
    min-height: 22px;
}

@media (max-width: 420px) {
    .special-ant-image {
        width: 42px;
        height: 42px;
    }
}
