/* Die kleine Studio-Karte in der Seitenleiste (02.12.2026).
   Zeichen und Name, darunter eine leise Zeile, eingerueckt unter den
   Namen. Steht als eigene Datei in public/, weil das Projekt beim Deploy
   nicht mit Vite gebaut wird.

   Nur oben/unten polstern: links und rechts kommen von px-5 im Markup.
   Eine Kurzform "padding: 9px 0 10px" hat px-5 ueberschrieben, Logo und
   Text klebten am Kartenrand. */
.studio-card--facts {
    gap: 0;
    padding-top: 12px;
    padding-bottom: 12px;
}

.studio-card--facts .studio-card__badge {
    display: inline-flex;
    max-width: 100%;
}

/* 24 px Logo + 7 px Abstand im Badge: die Zeile steht genau unter dem
   Namen. */
.studio-card__line2 {
    margin: 0 0 0 31px !important;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px !important; /* eine globale p-Regel setzt 24px */
    color: #80868f;
}

html.dark .studio-card__line2 {
    color: #8b919a;
}

/* The game facts under "owned by ..." on phone and in the app (2026-12-02,
   his note), smaller, scrolling sideways to the card's edges. */
.studio-card__specs {
    margin: 10px -20px 0;
    /* Starts under the studio logo (his note, 2026-12-02): the card's
       20px padding, no indent. */
    padding-left: 20px !important;
}
.game-specs.is-small { gap: 6px 6px; justify-items: start; }
.game-specs.is-small .game-spec {
    /* As wide as its text: the grid column is as wide as its widest chip,
       justify-items: start keeps the shorter one from stretching. */
    width: max-content;
    padding: 5px 10px;
    gap: 5px;
    font-size: 12.5px;
}
.game-specs.is-small .game-spec__icon { width: 14px; height: 14px; flex: none; }
.game-specs.is-small .game-spec__label { font-size: 10px; }

/* Studio left, "Played" right, one row (2026-12-02, his note). */
.studio-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}
.studio-card__row .studio-card__badge { min-width: 0; }
.studio-card__played { flex: none; }
.studio-card__played label { margin: 0; }
/* The label one pixel lower than the shared checkbox puts it. */
.studio-card__played label p {
    position: relative;
    top: 1px;
    margin: 0;
}
/* Same box as on the tinted band before: theme hairline, theme fill. */
.studio-card__played input[type="checkbox"] {
    border-color: rgb(var(--color-theme) / 0.35) !important;
    background-color: hsl(var(--b1) / 0.6) !important;
}
.studio-card__played input[type="checkbox"]:hover { border-color: rgb(var(--color-theme) / 0.6) !important; }
.studio-card__played input[type="checkbox"]:checked {
    border-color: rgb(var(--color-theme)) !important;
    background-color: rgb(var(--color-theme)) !important;
}
