/* 蓝白玻璃侧栏；样式仅作用于下载卡片。 */
body.single-post .sidebar-area.ios-download-panel.gr-download-glass {
    --dl-blue: #0868d7;
    --dl-ink: #182b48;
    --dl-muted: #5e7392;
    padding: 20px;
    border: 1px solid rgba(121, 164, 255, .48) !important;
    border-radius: 24px;
    background: radial-gradient(ellipse at 100% 0, rgba(182, 207, 255, .35), transparent 55%),
        radial-gradient(ellipse at 0 65%, rgba(210, 235, 255, .32), transparent 65%), rgba(255, 255, 255, .77) !important;
    box-shadow: 0 12px 36px rgba(57, 97, 164, .09), inset 0 1px 0 rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    color: var(--dl-ink);
}
.gr-download-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.gr-download-symbol {
    display: grid; place-items: center; flex: 0 0 42px; height: 42px;
    border: 1px solid #c6dfff; border-radius: 14px; background: #eaf3ff; color: var(--dl-blue);
}
.gr-download-heading h3 { margin: 0; color: var(--dl-ink); font-size: 18px; font-weight: 750; line-height: 1.4; }
.gr-download-heading p { margin: 3px 0 0; color: var(--dl-muted); font-size: 11px; line-height: 1.5; }
.gr-download-badge {
    margin-left: auto; padding: 3px 8px; flex-shrink: 0;
    border: 1px solid #c7ddff; border-radius: 7px; color: #0961bf; background: #eaf2ff; font-size: 10px; font-weight: 650;
}
.gr-drive-list { display: grid; gap: 10px; }
.gr-drive-card {
    padding: 13px; border: 1px solid rgba(166, 199, 255, .65); border-radius: 16px;
    background: linear-gradient(130deg, rgba(255, 255, 255, .95), rgba(229, 240, 255, .56));
    box-shadow: 0 4px 12px rgba(55, 101, 170, .04), inset 0 1px 0 white;
}
.gr-drive-top { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; }
.gr-drive-top img { width: 36px; height: 36px; padding: 5px; object-fit: contain; border-radius: 10px; background: #fff; }
.gr-drive-info { min-width: 0; flex: 1; }
.gr-drive-info h4 { margin: 0 0 2px; color: var(--dl-ink); font-size: 14px; font-weight: 700; line-height: 1.45; }
.gr-drive-code { color: var(--dl-muted); font-size: 11px; overflow-wrap: anywhere; }
.gr-drive-code strong { margin-left: 4px; color: #245997; font-family: inherit; font-weight: 650; letter-spacing: 1px; }
.gr-drive-arrow { color: #7798c0; flex-shrink: 0; }
.gr-drive-link, .gr-drive-qr-toggle {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px;
    padding: 8px 12px; border: 1px solid rgba(28, 113, 231, .2); border-radius: 10px;
    background: linear-gradient(105deg, #0876ee, #4164e7); color: #fff;
    font-size: 13px; font-weight: 650; text-decoration: none;
    box-shadow: 0 4px 10px rgba(28, 103, 224, .17); cursor: pointer;
    transition: box-shadow .18s ease, filter .18s ease;
}
.gr-drive-link:hover, .gr-drive-qr-toggle:hover { color: #fff; filter: brightness(1.06); box-shadow: 0 6px 16px rgba(28, 103, 224, .26); }
.gr-drive-link:focus-visible, .gr-drive-qr-toggle:focus-visible { outline: 3px solid #145dcc; outline-offset: 3px; }
.gr-download-empty { margin: 0; padding: 24px 10px; text-align: center; color: var(--dl-ink); font-size: 14px; line-height: 1.8; }
.gr-download-empty span { color: var(--dl-muted); font-size: 12px; }
.gr-drive-qr-toggle { display: none; width: 100%; font-family: inherit; }
.gr-drive-qr[hidden] { display: none !important; }
.gr-drive-qr { margin-top: 12px; text-align: center; }
.gr-drive-qr-image {
    display: inline-block; padding: 12px; border: 1px solid #d5e3f7; border-radius: 12px;
    background: #fff; line-height: 0;
}
.gr-drive-qr-image img, .gr-drive-qr-image canvas { width: 156px; height: 156px; margin: 0 auto; max-width: 100%; }
.gr-drive-qr p { margin: 8px 0 0; color: var(--dl-muted); font-size: 11px; line-height: 1.6; }
@media (min-width: 769px) {
    .gr-qr-ready .gr-drive-link { display: none; }
    .gr-qr-ready .gr-drive-qr-toggle { display: flex; }
}
@media (max-width: 768px) { .gr-drive-qr { display: none; } }
[data-theme="dark"] body.single-post .sidebar-area.ios-download-panel.gr-download-glass {
    --dl-ink: #edf4ff; --dl-muted: #afc0d8;
    background: radial-gradient(ellipse at 100% 0, rgba(54, 93, 162, .25), transparent 60%), rgba(27, 38, 56, .9) !important;
    border-color: rgba(113, 159, 234, .35) !important; box-shadow: 0 12px 36px rgba(0, 0, 0, .15);
}
[data-theme="dark"] .gr-drive-card { background: linear-gradient(130deg, #263850, #202f46); border-color: #425d81; box-shadow: none; }
[data-theme="dark"] .gr-download-symbol, [data-theme="dark"] .gr-download-badge { background: #263d60; color: #a8d0ff; border-color: #456695; }
[data-theme="dark"] .gr-drive-code strong { color: #bad9ff; }
@media (max-width: 640px) {
    body.single-post .sidebar-area.ios-download-panel.gr-download-glass { padding: 18px; border-radius: 20px; }
    .gr-drive-link, .gr-drive-qr-toggle { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .gr-drive-link, .gr-drive-qr-toggle { transition: none; } }
