/* Digital business card — academic TMA identity */
:root {
    --bc-ink: #041824;
    --bc-navy: #062a40;
    --bc-teal: #0a4d6e;
    --bc-cyan: #1a7ea3;
    --bc-gold: #c9a15b;
    --bc-gold-soft: #e8d2a4;
    --bc-paper: #f4f0e8;
    --bc-cream: #fffaf2;
    --bc-muted: rgba(4, 24, 36, 0.62);
    --bc-serif: "Cormorant Garamond", "Noto Serif Georgian", Georgia, serif;
    --bc-sans: "IBM Plex Sans", "Noto Sans Georgian", system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body.tma-bcard {
    margin: 0;
    min-height: 100%;
    background: var(--bc-ink);
    color: var(--bc-ink);
    font-family: var(--bc-sans);
    -webkit-font-smoothing: antialiased;
}

.tma-bcard__scene {
    position: relative;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: clamp(16px, 3vw, 28px);
    background:
        radial-gradient(ellipse 80% 50% at 10% -10%, rgba(26, 126, 163, 0.35), transparent 55%),
        radial-gradient(ellipse 60% 45% at 100% 20%, rgba(201, 161, 91, 0.18), transparent 50%),
        linear-gradient(165deg, #03131f 0%, #062a40 42%, #08324c 70%, #041824 100%);
}

.tma-bcard__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.55;
    animation: bcFloat 12s ease-in-out infinite;
}

.tma-bcard__glow--a {
    width: min(420px, 70vw);
    height: min(420px, 70vw);
    top: -8%;
    left: -6%;
    background: rgba(26, 126, 163, 0.45);
}

.tma-bcard__glow--b {
    width: min(360px, 60vw);
    height: min(360px, 60vw);
    right: -8%;
    bottom: 8%;
    background: rgba(201, 161, 91, 0.22);
    animation-delay: -4s;
}

.tma-bcard__pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.12;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

.tma-bcard__top,
.tma-bcard__foot {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    flex-wrap: wrap;
}

.tma-bcard__brand img {
    display: block;
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.tma-bcard__langs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.tma-bcard__langs a {
    color: inherit;
    text-decoration: none;
}

.tma-bcard__langs a.is-active,
.tma-bcard__langs a:hover {
    color: var(--bc-gold-soft);
}

.tma-bcard__stage {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 40px) 0;
}

.tma-bcard__card {
    width: min(100%, 440px);
    padding: clamp(22px, 4vw, 34px) clamp(20px, 4vw, 32px) clamp(24px, 4vw, 36px);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(244, 240, 232, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.35),
        0 12px 28px rgba(4, 24, 36, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    animation: bcRise 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tma-bcard__ribbon {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.tma-bcard__ribbon span {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(6, 42, 64, 0.07);
    color: var(--bc-teal);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tma-bcard__portrait-wrap {
    position: relative;
    width: min(210px, 58vw);
    margin: 0 auto 22px;
}

.tma-bcard__portrait {
    position: relative;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--bc-gold);
    box-shadow:
        0 0 0 8px rgba(201, 161, 91, 0.16),
        0 18px 40px rgba(4, 24, 36, 0.22);
    background: linear-gradient(145deg, #0a4d6e, #062a40);
    animation: bcPortrait 900ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

.tma-bcard__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.tma-bcard__portrait--initial {
    display: grid;
    place-items: center;
    color: var(--bc-gold-soft);
    font-family: var(--bc-serif);
    font-size: 4.5rem;
    font-weight: 600;
}

.tma-bcard__seal {
    position: absolute;
    right: 4px;
    bottom: 4px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #dfc48a, #b8893d);
    color: #3a2608;
    box-shadow: 0 8px 18px rgba(4, 24, 36, 0.25);
}

.tma-bcard__identity {
    text-align: center;
}

.tma-bcard__org-kicker {
    margin: 0 0 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bc-cyan);
}

.tma-bcard__identity h1 {
    margin: 0;
    font-family: var(--bc-serif);
    font-size: clamp(1.85rem, 5vw, 2.35rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: var(--bc-navy);
}

.tma-bcard__role {
    margin: 10px 0 0;
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(6, 42, 64, 0.82);
}

.tma-bcard__unit {
    margin: 12px 0 0;
    font-size: 0.86rem;
    line-height: 1.4;
    color: var(--bc-muted);
}

.tma-bcard__unit span {
    display: block;
    margin-bottom: 2px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(6, 42, 64, 0.45);
}

.tma-bcard__org-block {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin: 22px 0 0;
    padding: 14px 14px;
    border-radius: 16px;
    background: rgba(6, 42, 64, 0.05);
    border: 1px solid rgba(6, 42, 64, 0.08);
}

.tma-bcard__org-logo {
    width: 56px;
    height: auto;
    object-fit: contain;
}

.tma-bcard__org-block span {
    display: block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(6, 42, 64, 0.45);
}

.tma-bcard__org-block strong {
    display: block;
    margin-top: 2px;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--bc-navy);
}

.tma-bcard__contacts {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.tma-bcard__contact {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 11px 12px;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(6, 42, 64, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tma-bcard__contact:hover,
.tma-bcard__contact:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(26, 126, 163, 0.28);
    box-shadow: 0 10px 22px rgba(6, 42, 64, 0.08);
}

.tma-bcard__contact-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(145deg, #0a4d6e, #062a40);
    color: #fff;
}

.tma-bcard__contact-icon svg {
    width: 18px;
    height: 18px;
}

.tma-bcard__contact em {
    display: block;
    font-style: normal;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(6, 42, 64, 0.45);
}

.tma-bcard__contact strong {
    display: block;
    margin-top: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    word-break: break-word;
    color: var(--bc-navy);
}

.tma-bcard__actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.tma-bcard__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 0;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: filter 160ms ease, transform 160ms ease, background 160ms ease;
}

.tma-bcard__btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.tma-bcard__btn--primary {
    background: linear-gradient(180deg, #dfc48a, #c9a15b);
    color: #2a1a05;
    box-shadow: 0 10px 24px rgba(201, 161, 91, 0.35);
}

.tma-bcard__btn--primary:hover,
.tma-bcard__btn--primary:focus-visible {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.tma-bcard__btn--ghost {
    background: rgba(6, 42, 64, 0.06);
    color: var(--bc-navy);
    border: 1px solid rgba(6, 42, 64, 0.12);
}

.tma-bcard__btn--ghost:hover,
.tma-bcard__btn--ghost:focus-visible,
.tma-bcard__btn--ghost.is-copied {
    background: rgba(6, 42, 64, 0.1);
}

.tma-bcard__share-hint {
    margin: 14px 0 0;
    text-align: center;
    font-size: 0.72rem;
    line-height: 1.4;
    color: rgba(6, 42, 64, 0.42);
    word-break: break-all;
}

.tma-bcard__qr-dialog {
    border: 0;
    padding: 0;
    background: transparent;
    max-width: calc(100vw - 32px);
}

.tma-bcard__qr-dialog::backdrop {
    background: rgba(4, 24, 36, 0.62);
    backdrop-filter: blur(6px);
}

.tma-bcard__qr-panel {
    width: min(320px, 100%);
    margin: 0 auto;
    padding: 22px 20px 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, #fffaf2, #f4f0e8);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.tma-bcard__qr-panel h2 {
    margin: 0 0 14px;
    font-family: var(--bc-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--bc-navy);
}

.tma-bcard__qr-frame {
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    padding: 12px;
    width: fit-content;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(6, 42, 64, 0.08);
}

.tma-bcard__qr-frame img,
.tma-bcard__qr-frame canvas {
    display: block;
    width: 220px;
    height: 220px;
}

.tma-bcard__qr-url {
    margin: 0 0 14px;
    font-size: 0.72rem;
    line-height: 1.4;
    color: rgba(6, 42, 64, 0.5);
    word-break: break-all;
}

.tma-bcard__qr-close {
    width: 100%;
}

.tma-bcard__partners {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(6, 42, 64, 0.1);
    text-align: center;
}

.tma-bcard__partners-label {
    display: block;
    margin-bottom: 12px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(6, 42, 64, 0.45);
}

.tma-bcard__partners-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px 24px;
}

.tma-bcard__partners-row img {
    display: block;
    max-height: 72px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.95;
}

.tma-bcard__projects {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(6, 42, 64, 0.1);
}

.tma-bcard__projects-label {
    display: block;
    margin-bottom: 16px;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(6, 42, 64, 0.45);
}

.tma-bcard__projects-list {
    display: grid;
    gap: 18px;
}

.tma-bcard__project {
    display: block;
    padding: 0 0 4px;
    color: inherit;
    text-decoration: none;
    border: 0;
    background: transparent;
    border-radius: 0;
    transition: opacity 160ms ease;
}

a.tma-bcard__project:hover,
a.tma-bcard__project:focus-visible {
    opacity: 0.92;
}

a.tma-bcard__project:hover .tma-bcard__project-title,
a.tma-bcard__project:focus-visible .tma-bcard__project-title {
    color: var(--bc-teal);
}

.tma-bcard__project + .tma-bcard__project {
    padding-top: 18px;
    border-top: 1px solid rgba(6, 42, 64, 0.08);
}

.tma-bcard__project-head {
    text-align: center;
}

.tma-bcard__project-role {
    display: block;
    margin-bottom: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bc-teal);
}

.tma-bcard__project-title {
    margin: 0;
    font-family: var(--bc-serif);
    font-size: clamp(1.15rem, 3.6vw, 1.35rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--bc-navy);
    letter-spacing: 0.01em;
}

.tma-bcard__project-desc {
    margin: 10px 0 0;
    text-align: center;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--bc-muted);
}

.tma-bcard__project-contrib {
    margin: 12px auto 0;
    max-width: 34rem;
    padding-top: 12px;
    border-top: 1px solid rgba(201, 161, 91, 0.35);
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(4, 24, 36, 0.72);
}

.tma-bcard__project-contrib em {
    display: block;
    margin-bottom: 4px;
    font-style: normal;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(6, 42, 64, 0.42);
}

.tma-bcard__project-marks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 16px;
    padding: 14px 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 242, 0.55));
    border-top: 1px solid rgba(6, 42, 64, 0.08);
    border-bottom: 1px solid rgba(6, 42, 64, 0.08);
}

.tma-bcard__project-mark {
    display: grid;
    place-items: center;
    min-width: 108px;
    max-width: 148px;
    flex: 1 1 108px;
    padding: 4px 14px;
    position: relative;
}

.tma-bcard__project-mark + .tma-bcard__project-mark::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: rgba(6, 42, 64, 0.12);
}

.tma-bcard__project-mark img {
    display: block;
    width: 100%;
    max-width: 120px;
    height: 72px;
    object-fit: contain;
}

/* Temporary theme overrides (active within date range) */
.tma-bcard__scene--temp {
    background:
        radial-gradient(ellipse 80% 50% at 10% -10%, color-mix(in srgb, var(--bc-temp-accent, #1a7ea3) 35%, transparent), transparent 55%),
        radial-gradient(ellipse 60% 45% at 100% 20%, color-mix(in srgb, var(--bc-temp-accent, #c9a15b) 22%, transparent), transparent 50%),
        linear-gradient(165deg, var(--bc-temp-bg, #03131f) 0%, color-mix(in srgb, var(--bc-temp-bg, #062a40) 88%, #000) 100%);
}

.tma-bcard__scene--temp .tma-bcard__card {
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--bc-temp-card-bg, #fffaf2) 98%, #fff),
        var(--bc-temp-card-bg, #f4f0e8)
    );
    color: var(--bc-temp-text, var(--bc-ink));
}

.tma-bcard__scene--temp .tma-bcard__ribbon span {
    color: var(--bc-temp-accent, var(--bc-teal));
    background: color-mix(in srgb, var(--bc-temp-accent, #0a4d6e) 12%, transparent);
}

.tma-bcard__scene--temp .tma-bcard__portrait {
    border-color: var(--bc-temp-accent, var(--bc-gold));
    box-shadow:
        0 0 0 8px color-mix(in srgb, var(--bc-temp-accent, #c9a15b) 18%, transparent),
        0 18px 40px rgba(4, 24, 36, 0.22);
}

.tma-bcard__scene--temp .tma-bcard__role,
.tma-bcard__scene--temp .tma-bcard__org-kicker {
    color: var(--bc-temp-accent, var(--bc-teal));
}

.tma-bcard__scene--temp .tma-bcard__btn--primary {
    background: var(--bc-temp-accent, var(--bc-navy));
    border-color: var(--bc-temp-accent, var(--bc-navy));
}

.tma-bcard__foot {
    justify-content: center;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.78rem;
    text-align: center;
}

.tma-bcard__foot a {
    color: rgba(255, 248, 232, 0.82);
    text-decoration: none;
}

.tma-bcard__foot a:hover,
.tma-bcard__foot a:focus-visible {
    color: var(--bc-gold-soft);
}

@keyframes bcRise {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bcPortrait {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bcFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(18px); }
}

/* Desktop: wide landscape academic layout */
@media (min-width: 960px) {
    .tma-bcard__scene {
        padding: 16px 24px;
    }

    .tma-bcard__brand img {
        height: 44px;
    }

    .tma-bcard__stage {
        padding: 8px 0;
        align-items: center;
    }

    .tma-bcard__card {
        width: min(100%, 920px);
        display: grid;
        grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1.12fr);
        grid-template-areas: "intro panel";
        padding: 0;
        overflow: hidden;
        border-radius: 24px;
        min-height: 0;
    }

    .tma-bcard__card-intro {
        grid-area: intro;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: 22px 22px 20px;
        text-align: center;
        background:
            linear-gradient(165deg, rgba(255, 252, 247, 0.98) 0%, rgba(244, 240, 232, 0.96) 100%);
        border-right: 1px solid rgba(6, 42, 64, 0.08);
    }

    .tma-bcard__card-intro::after {
        content: "";
        position: absolute;
        top: 8%;
        bottom: 8%;
        right: 0;
        width: 2px;
        background: linear-gradient(180deg, transparent, var(--bc-gold), transparent);
        opacity: 0.7;
    }

    .tma-bcard__card-panel {
        grid-area: panel;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0;
        padding: 22px 24px 20px;
        background:
            linear-gradient(180deg, rgba(255, 250, 242, 0.92), rgba(248, 244, 236, 0.98));
    }

    .tma-bcard__card-panel:has(.tma-bcard__card-extra) {
        justify-content: flex-start;
    }

    .tma-bcard__card-extra {
        margin-top: 12px;
        padding: 0;
        border-top: 0;
        background: transparent;
        flex: 0 0 auto;
    }

    .tma-bcard__ribbon {
        justify-content: center;
        margin-bottom: 12px;
        width: 100%;
    }

    .tma-bcard__portrait-wrap {
        width: 200px;
        margin: 0 auto 14px;
    }

    .tma-bcard__seal {
        width: 44px;
        height: 44px;
        right: 2px;
        bottom: 2px;
    }

    .tma-bcard__identity {
        text-align: center;
        width: 100%;
    }

    .tma-bcard__org-kicker {
        margin-bottom: 4px;
    }

    .tma-bcard__identity h1 {
        font-size: clamp(1.75rem, 2.1vw, 2.15rem);
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .tma-bcard__role {
        margin-top: 6px;
        font-size: 0.98rem;
        max-width: none;
    }

    .tma-bcard__unit {
        margin-top: 8px;
        font-size: 0.86rem;
    }

    .tma-bcard__org-block {
        margin-top: 14px;
        width: 100%;
        max-width: 280px;
        padding: 12px 14px;
        text-align: left;
    }

    .tma-bcard__org-logo {
        width: 56px;
    }

    .tma-bcard__org-block strong {
        font-size: 0.9rem;
    }

    .tma-bcard__contacts {
        display: grid;
        gap: 10px;
        margin-top: 0;
        flex: 0 0 auto;
        align-content: start;
    }

    .tma-bcard__contact {
        padding: 12px 14px;
        border-radius: 14px;
        min-height: 0;
    }

    .tma-bcard__contact-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .tma-bcard__contact-icon svg {
        width: 18px;
        height: 18px;
    }

    .tma-bcard__contact strong {
        font-size: 0.94rem;
    }

    .tma-bcard__actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-top: 16px;
        padding-top: 0;
    }

    .tma-bcard__btn {
        min-height: 44px;
        font-size: 0.8rem;
        padding: 8px 10px;
    }

    .tma-bcard__share-hint {
        margin-top: 8px;
        margin-bottom: 0;
        text-align: left;
        font-size: 0.72rem;
    }

    .tma-bcard__partners {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

    .tma-bcard__partners-label,
    .tma-bcard__projects-label {
        text-align: left;
        margin-bottom: 8px;
        letter-spacing: 0.14em;
    }

    .tma-bcard__partners-row {
        justify-content: flex-start;
        gap: 16px 24px;
    }

    .tma-bcard__partners-row img {
        max-height: 72px;
        max-width: 180px;
    }

    .tma-bcard__projects {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(6, 42, 64, 0.08);
    }

    .tma-bcard__projects-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .tma-bcard__project + .tma-bcard__project {
        padding-top: 0;
        border-top: 0;
    }

    .tma-bcard__project {
        padding: 14px 14px 12px;
        border: 1px solid rgba(6, 42, 64, 0.08);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.55);
    }

    .tma-bcard__project-head,
    .tma-bcard__project-desc,
    .tma-bcard__project-contrib {
        text-align: left;
    }

    .tma-bcard__project-title {
        font-size: 1.2rem;
    }

    .tma-bcard__project-desc {
        margin-top: 6px;
        font-size: 0.88rem;
    }

    .tma-bcard__project-contrib {
        margin: 8px 0 0;
        padding-top: 8px;
        max-width: none;
        font-size: 0.84rem;
    }

    .tma-bcard__project-marks {
        justify-content: flex-start;
        margin-top: 10px;
        padding: 10px 8px;
        border-radius: 10px;
    }

    .tma-bcard__project-mark {
        flex: 0 1 auto;
        min-width: 100px;
        padding: 2px 12px;
    }

    .tma-bcard__project-mark img {
        height: 60px;
        max-width: 128px;
    }

    .tma-bcard__foot {
        justify-content: space-between;
        text-align: left;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .tma-bcard__actions {
        grid-template-columns: 1fr;
    }

    .tma-bcard__brand img {
        height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tma-bcard__card,
    .tma-bcard__portrait,
    .tma-bcard__glow {
        animation: none;
    }
}
