.yg-bank-page {
    --yg-navy: #062760;
    --yg-blue: #1e70e0;
    --yg-ink: #071d3b;
    --yg-text: #52667d;
    --yg-muted: #8191a5;
    --yg-line: #dce6f0;
    --yg-soft: #f3f7fc;
    color: var(--yg-ink);
    background: #fff;
}

.yg-bank-page,
.yg-bank-page * {
    box-sizing: border-box;
}

.yg-bank-page a {
    text-decoration: none;
}

.yg-bank-breadcrumb-band .container,
.yg-bank-directory .container {
    width: min(100% - 40px, 1200px);
    max-width: 1200px;
}

.yg-bank-breadcrumb-band .yg-breadcrumb-band-title > span {
    display: block;
    margin-bottom: 7px;
    color: #a8d1ff;
    font-size: 12px;
    font-weight: 700;
}

.yg-bank-breadcrumb-band .yg-breadcrumb-band-title h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 4.2vw, 56px);
    font-weight: 760;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.yg-bank-breadcrumb-band .yg-breadcrumb-band-title p {
    max-width: 650px;
    margin: 13px 0 0;
    color: rgba(230, 241, 255, .78);
    font-size: 14px;
    line-height: 1.65;
}

.yg-bank-directory {
    padding: 68px 0 88px;
    background: var(--yg-soft);
}

.yg-bank-records {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.yg-bank-record {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 32px;
    border: 1px solid var(--yg-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(6, 39, 96, .055);
}

.yg-bank-record::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--yg-navy) 0 42%, var(--yg-blue) 42% 100%);
    content: "";
}

.yg-bank-identity {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--yg-line);
}

.yg-bank-logo {
    display: flex;
    width: 180px;
    height: 62px;
    align-items: center;
    justify-content: flex-start;
    flex: 0 1 180px;
}

.yg-bank-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 58px;
    object-fit: contain;
    object-position: left center;
}

.yg-bank-logo > i {
    color: var(--yg-blue);
    font-size: 38px;
}

.yg-bank-identity > div:last-child {
    min-width: 0;
    text-align: right;
}

.yg-bank-identity span {
    display: block;
    color: var(--yg-muted);
    font-size: 9px;
    font-weight: 700;
}

.yg-bank-identity h3 {
    margin: 5px 0 0;
    color: var(--yg-ink);
    font-size: 19px;
    font-weight: 760;
    line-height: 1.2;
}

.yg-bank-details {
    min-width: 0;
}

.yg-bank-definition-list {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(90px, .65fr) minmax(90px, .65fr);
    gap: 22px;
    margin: 0;
    padding: 25px 0;
}

.yg-bank-definition-list div {
    min-width: 0;
}

.yg-bank-definition-list dt {
    margin-bottom: 6px;
    color: var(--yg-muted);
    font-size: 9px;
    font-weight: 700;
}

.yg-bank-definition-list dd {
    margin: 0;
    color: var(--yg-ink);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.yg-iban-list {
    border-top: 1px solid var(--yg-line);
}

.yg-iban-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    border-bottom: 1px solid var(--yg-line);
}

.yg-iban-row:last-child {
    border-bottom: 0;
}

.yg-iban-currency span {
    display: block;
    color: var(--yg-blue);
    font-size: 12px;
    font-weight: 800;
}

.yg-iban-currency small {
    display: block;
    margin-top: 2px;
    color: var(--yg-muted);
    font-size: 8px;
    font-weight: 700;
}

.yg-iban-row > strong {
    min-width: 0;
    color: var(--yg-ink);
    font-size: 13px;
    font-weight: 730;
    line-height: 1.4;
    letter-spacing: .01em;
    overflow-wrap: anywhere;
}

.yg-copy-iban {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #cbd9e8;
    border-radius: 8px;
    color: var(--yg-navy);
    background: #fff;
    font: inherit;
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.yg-copy-iban span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.yg-copy-iban i {
    font-size: 17px;
}

.yg-copy-iban:hover {
    color: #fff;
    border-color: var(--yg-navy);
    background: var(--yg-navy);
}

.yg-copy-iban.is-copied {
    color: #09683f;
    border-color: #b9e2cf;
    background: #eaf8f1;
}

.yg-copy-iban:focus-visible {
    outline: 3px solid rgba(30, 112, 224, .2);
    outline-offset: 2px;
}

.yg-bank-empty {
    grid-column: 1 / -1;
    padding: 55px;
    border: 1px solid var(--yg-line);
    border-radius: 16px;
    background: #fff;
    text-align: center;
}

.yg-bank-empty h3 {
    margin: 0;
    font-size: 25px;
}

.yg-bank-empty p {
    margin: 8px 0 18px;
    color: var(--yg-text);
}

.yg-bank-empty a {
    color: var(--yg-blue);
    font-weight: 700;
}

@media (max-width: 1050px) {
    .yg-bank-records {
        grid-template-columns: 1fr;
    }

    .yg-bank-record {
        max-width: 760px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 680px) {
    .yg-bank-breadcrumb-band .container,
    .yg-bank-directory .container {
        width: min(100% - 28px, 1200px);
    }

    .yg-bank-breadcrumb-band .yg-breadcrumb-band-title h1 {
        font-size: clamp(32px, 10vw, 41px);
    }

    .yg-bank-breadcrumb-band .yg-breadcrumb-band-title p {
        font-size: 12.5px;
    }

    .yg-bank-directory {
        padding: 38px 0 60px;
    }

    .yg-bank-record {
        padding: 25px 20px 17px;
        border-radius: 13px;
    }

    .yg-bank-identity {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .yg-bank-logo {
        width: 165px;
        height: 54px;
        flex-basis: 54px;
    }

    .yg-bank-identity > div:last-child {
        text-align: left;
    }

    .yg-bank-definition-list {
        grid-template-columns: 1fr 1fr;
        gap: 17px;
    }

    .yg-bank-definition-list div:first-child {
        grid-column: 1 / -1;
    }

    .yg-iban-row {
        grid-template-columns: 43px minmax(0, 1fr) 40px;
        gap: 9px;
    }

    .yg-iban-row > strong {
        font-size: 11px;
    }

    .yg-copy-iban {
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .yg-copy-iban {
        transition: none;
    }
}
