/* 转校流程 / 转校需知 — 独立页样式 */
.ddu-transfer-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.ddu-transfer-page {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
    background: linear-gradient(180deg, #eef5ff 0%, #f7fbff 100%);
    min-height: 100vh;
    color: #1f2d3d;
    overflow-x: hidden;
    padding-bottom: 24px;
}

/* 装饰光晕：不用 filter:blur（iOS Safari 上极耗 GPU） */
.ddu-transfer-page .bg-blur {
    display: none;
}

.ddu-transfer-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 4px 0 14px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #3c78ff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 12px rgba(60, 120, 255, 0.08);
}

.ddu-transfer-page .container {
    padding: 0 16px 40px;
    max-width: 480px;
    margin: 0 auto;
}

.ddu-transfer-page .ddu-transfer-container-top {
    padding-top: 8px;
}

.ddu-transfer-page .glass-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 28px;
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: 0 4px 16px rgba(80, 130, 255, 0.1);
    overflow: hidden;
}

.ddu-transfer-page .glass-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
}

.ddu-transfer-page .card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #10233f;
}

.ddu-transfer-page .process-text {
    font-size: 15px;
    line-height: 1.85;
    color: #536275;
}

.ddu-transfer-page .guide-intro {
    margin-bottom: 0;
}

.ddu-transfer-page .guide-step-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ddu-transfer-page .guide-step-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e8eef5;
    box-shadow: 0 2px 10px rgba(60, 120, 255, 0.06);
}

.ddu-transfer-page .guide-step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82ff, #6bbcff);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
}

.ddu-transfer-page .guide-step-body {
    flex: 1;
    font-size: 15px;
    line-height: 1.75;
    color: #536275;
}

.ddu-transfer-page .guide-step-body strong {
    color: #183153;
    font-weight: 600;
}

.ddu-transfer-page .guide-step-body a {
    color: #3c78ff;
    word-break: break-all;
}

.ddu-transfer-page .guide-sub-list {
    list-style: none;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ddu-transfer-page .guide-sub-list li {
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.7;
    color: #536275;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e8eef5;
}

.ddu-transfer-page .guide-sub-list li strong {
    color: #3c78ff;
    font-weight: 600;
}

.ddu-transfer-page .guide-highlight {
    padding: 12px 14px;
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.7;
    color: #536275;
    background: #fff8e6;
    border-radius: 12px;
    border: 1px solid #fde68a;
}

.ddu-transfer-page .guide-figure {
    margin: 12px 0 0;
}

.ddu-transfer-page .guide-figure img {
    display: block;
    width: 100%;
    border-radius: 12px;
    border: 1px solid #e8eef5;
    box-shadow: 0 2px 10px rgba(60, 120, 255, 0.06);
}

.ddu-transfer-page .guide-warn-box {
    margin-top: 10px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.7;
    color: #92400e;
    background: #fff8e6;
    border-radius: 12px;
    border: 1px solid #fde68a;
}

.ddu-transfer-page .guide-warn-box strong {
    color: #b45309;
    font-weight: 600;
}

.ddu-transfer-page .guide-key-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ddu-transfer-page .guide-key-list li {
    position: relative;
    padding: 10px 12px 10px 32px;
    font-size: 14px;
    line-height: 1.7;
    color: #536275;
    background: #f0fdf4;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
}

.ddu-transfer-page .guide-key-list li::before {
    content: '✓';
    position: absolute;
    left: 12px;
    top: 10px;
    font-weight: 700;
    color: #16a34a;
}

.ddu-transfer-page .guide-fail-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ddu-transfer-page .guide-fail-list li {
    position: relative;
    padding: 10px 12px 10px 32px;
    font-size: 14px;
    line-height: 1.7;
    color: #536275;
    background: #fef2f2;
    border-radius: 12px;
    border: 1px solid #fecaca;
}

.ddu-transfer-page .guide-fail-list li::before {
    content: '✕';
    position: absolute;
    left: 12px;
    top: 10px;
    font-weight: 700;
    color: #dc2626;
}

.ddu-transfer-page .guide-quote {
    margin-top: 10px;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
    color: #183153;
    font-weight: 600;
    background: #eef5ff;
    border-radius: 12px;
    border: 1px solid #dbeafe;
}

.ddu-transfer-page .guide-note-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ddu-transfer-page .guide-note-item {
    position: relative;
    padding: 12px 12px 12px 36px;
    font-size: 14px;
    line-height: 1.7;
    color: #536275;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e8eef5;
}

.ddu-transfer-page .guide-note-item::before {
    content: '注';
    position: absolute;
    left: 10px;
    top: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #3c78ff;
}

.ddu-transfer-page .school-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ddu-transfer-page .school-item {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    border-radius: 22px;
    text-decoration: none;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    background: #ffffff;
    border: 1px solid #e8eef5;
    box-shadow: 0 2px 10px rgba(60, 120, 255, 0.08);
}

.ddu-transfer-page .school-item:active {
    opacity: 0.88;
}

.ddu-transfer-page .school-left {
    display: flex;
    flex-direction: column;
}

.ddu-transfer-page .school-name {
    font-size: 17px;
    font-weight: 700;
    color: #183153;
}

.ddu-transfer-page .school-address {
    margin-top: 8px;
    font-size: 14px;
    color: #6b7b90;
    line-height: 1.6;
}

.ddu-transfer-page .arrow {
    font-size: 24px;
    color: #7aa8ff;
    font-weight: 300;
}

.ddu-transfer-page .footer-tip {
    text-align: center;
    margin-top: 20px;
    color: #7a8aa0;
    font-size: 13px;
    line-height: 1.8;
}

.ddu-transfer-page .bottom-bar {
    position: sticky;
    bottom: 18px;
    padding: 0 16px;
    margin-top: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.ddu-transfer-page .contact-btn {
    display: block;
    width: 100%;
    height: 58px;
    line-height: 58px;
    text-align: center;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #3b82ff, #6bbcff);
    color: white;
    font-size: 17px;
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(59, 130, 255, 0.28);
    cursor: pointer;
    text-decoration: none;
}

/* 地图操作面板（不跳转当前页） */
.ddu-map-sheet {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

.ddu-map-sheet.open {
    display: flex;
}

/* iOS：弹层用合成层，减轻打开时的重绘 */
@supports (-webkit-touch-callout: none) {
    .ddu-map-sheet-panel {
        transform: translateZ(0);
    }
    .ddu-transfer-page .bottom-bar {
        position: relative;
        bottom: auto;
    }
}

.ddu-map-sheet-mask {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.ddu-map-sheet-panel {
    position: relative;
    width: 100%;
    max-width: 480px;
    padding: 12px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 32px rgba(30, 60, 120, 0.15);
}

.ddu-map-sheet-handle {
    width: 40px;
    height: 4px;
    margin: 0 auto 14px;
    border-radius: 999px;
    background: #d1d5db;
}

.ddu-map-sheet-title {
    font-size: 18px;
    font-weight: 700;
    color: #10233f;
    margin-bottom: 8px;
}

.ddu-map-sheet-address {
    font-size: 15px;
    line-height: 1.6;
    color: #536275;
    margin-bottom: 10px;
}

.ddu-map-sheet-tip {
    font-size: 12px;
    line-height: 1.6;
    color: #7a8aa0;
    margin-bottom: 16px;
}

.ddu-map-app-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.ddu-map-app-btn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
}

.ddu-map-app-btn--amap {
    background: linear-gradient(135deg, #2f7cf6, #5aa3ff);
    box-shadow: 0 4px 14px rgba(47, 124, 246, 0.28);
}

.ddu-map-app-btn--baidu {
    background: linear-gradient(135deg, #e53935, #ff6f60);
    box-shadow: 0 4px 14px rgba(229, 57, 53, 0.25);
}

.ddu-map-app-btn--tencent {
    background: linear-gradient(135deg, #12b886, #38d9a9);
    box-shadow: 0 4px 14px rgba(18, 184, 134, 0.25);
}

.ddu-map-sheet-btn {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 6px;
}

.ddu-map-sheet-btn--copy {
    background: #f1f5f9;
    color: #475569;
}

.ddu-map-sheet-cancel {
    width: 100%;
    height: 44px;
    border: none;
    background: transparent;
    color: #6b7b90;
    font-size: 15px;
    cursor: pointer;
}

.ddu-map-toast {
    position: fixed;
    left: 50%;
    bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%) translateY(12px);
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(16, 35, 63, 0.88);
    color: #fff;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 300;
}

.ddu-map-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

