Загрузка данных


@media (max-width: 760px) {
    .page-shell {
        width: min(100% - 20px, 680px);
        padding-top: 28px;
    }

    .hero {
        align-items: flex-start;
        padding-left: 8px;
        padding-right: 8px;
    }

    .hero-mark {
        display: none;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 15vw, 4rem);
    }

    .hero p {
        margin-top: 14px;
    }

    .converter-card,
    .result-card,
    .panel {
        padding: 20px;
        border-radius: 20px;
    }

    .converter-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .swap-btn {
        margin: -2px auto;
        transform: none;
    }

    .swap-btn:hover {
        transform: none;
    }

    .swap-btn:hover span {
        transform: translateY(-1px);
    }

    .app-status {
        max-width: 48%;
    }

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

    .chart-container {
        height: 260px;
    }

    .chart-status {
        position: static;
        margin-top: 8px;
    }

    .site-footer {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 430px) {
    .page-shell {
        width: min(100% - 14px, 680px);
    }

    .hero {
        margin-bottom: 20px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .card-heading,
    .panel-heading,
    .result-main {
        align-items: flex-start;
        flex-direction: column;
    }

    .app-status {
        max-width: 100%;
        text-align: left;
    }

    .result-main {
        gap: 8px;
    }

    .result-change {
        text-align: left;
    }

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

    .currency-input-row {
        grid-template-columns: minmax(70px, 0.8fr) minmax(0, 1.7fr);
        gap: 8px;
    }

    .currency-input-row > * {
        min-width: 0;
    }

    .amount-input {
        width: 100%;
        min-width: 0;
    }

    .currency-dropdown {
        width: 100%;
        min-width: 0;
    }

    .currency-dropdown-button {
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .currency-dropdown-current {
        min-width: 0;
        overflow: hidden;
    }

    .currency-dropdown-current .currency-flag,
    .currency-dropdown-current .currency-code {
        flex-shrink: 0;
    }

    .currency-dropdown-current .currency-name {
        min-width: 0;
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}