.borrowing-page {
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--app-bg, #f5f7f9);
}

.borrowing-page .borrowing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    height: calc(52px + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 0px) 8px 0;
    box-sizing: border-box;
    background: #ffffff;
    border-bottom: 1px solid var(--app-line, #e5ebf5);
    box-shadow: 0 2px 12px rgba(33, 63, 124, 0.04);
}

.borrowing-page .borrowing-back,
.borrowing-page .borrowing-header-spacer {
    width: 48px;
    height: 48px;
}

.borrowing-page .borrowing-back {
    border: 0;
    background: transparent;
    color: var(--app-text, #24314f);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.borrowing-page .borrowing-title {
    min-width: 0;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    color: var(--app-text, #24314f);
}

.borrowing-page .borrowing-container {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding: calc(68px + env(safe-area-inset-top, 0px)) 18px calc(40px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    overflow: hidden;
}

.borrowing-page .borrowing-bg-lines {
    pointer-events: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42%;
    background:
        radial-gradient(ellipse 120% 80% at 50% 100%, rgba(47, 115, 246, 0.08) 0%, transparent 70%),
        linear-gradient(180deg, transparent 0%, rgba(47, 115, 246, 0.04) 100%);
}

.borrowing-page .borrowing-bg-lines::before,
.borrowing-page .borrowing-bg-lines::after {
    content: '';
    position: absolute;
    left: -10%;
    right: -10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(47, 115, 246, 0.2), transparent);
    transform: rotate(-4deg);
}

.borrowing-page .borrowing-bg-lines::before {
    bottom: 28%;
}

.borrowing-page .borrowing-bg-lines::after {
    bottom: 18%;
    opacity: 0.6;
}

.borrowing-page .borrowing-body {
    position: relative;
    z-index: 1;
}

.borrowing-page .borrowing-entry {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    margin-bottom: 22px;
    border: 1px solid var(--app-line, #e5ebf5);
    border-radius: 12px;
    background: #ffffff;
    color: var(--app-text, #24314f);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--app-shadow, 0 8px 28px rgba(33, 63, 124, 0.07));
}

.borrowing-page .borrowing-entry-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
}

.borrowing-page .borrowing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.borrowing-page .borrowing-provider {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 92px;
    padding: 14px 12px;
    border: 1px solid var(--app-line, #e5ebf5);
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    box-shadow: var(--app-shadow, 0 8px 28px rgba(33, 63, 124, 0.07));
}

.borrowing-page .borrowing-provider-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

html.device-pc .borrowing-page {
    background: #262b4b;
}

html.device-pc .borrowing-page .borrowing-container {
    padding-top: 24px;
}
