/* welcome.css —— 首次进入的欢迎弹窗（只出现一次，必须勾选才能进入） */
.wl-mask {
    position: absolute; inset: 0; z-index: 99990;
    display: flex; align-items: center; justify-content: center;
    padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
    background: rgba(40, 34, 38, .46);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    opacity: 0; transition: opacity .35s ease;
    font-family: var(--hand, inherit);
}
.wl-mask.wl-in { opacity: 1; }
.wl-mask.wl-out { opacity: 0; pointer-events: none; }

.wl-card {
    --wl-ink: #2b2629; --wl-sub: #7d7378; --wl-line: #e9e2e5;
    --wl-pink: #d98fa8; --wl-pink-bg: #fbeff3; --wl-paper: #fdfbfb;
    position: relative; width: 100%; max-width: 340px; max-height: 100%;
    display: flex; flex-direction: column;
    background: var(--wl-paper); color: var(--wl-ink);
    border: 1px solid var(--wl-line); border-radius: 22px;
    box-shadow: 0 18px 50px rgba(30, 20, 26, .22);
    transform: translateY(10px) scale(.985); transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.wl-mask.wl-in .wl-card { transform: none; }

.wl-scroll { position: relative; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 20px 22px 6px; overscroll-behavior: contain; }

.wl-script { font-family: "XSJ Chorus", "Snell Roundhand", "Apple Chancery", "Segoe Script", "Brush Script MT", cursive; font-style: italic; font-weight: 400; color: var(--wl-pink); letter-spacing: .02em; }
.wl-orn { text-align: center; font-size: 11px; letter-spacing: .5em; color: #d9bcc7; margin-bottom: 2px; }
.wl-orn-b { margin: 8px 0 4px; }
.wl-brand { text-align: center; font-size: 40px; line-height: 1.1; margin-bottom: 0; }
.wl-title { text-align: center; font-size: 19px; font-weight: 700; letter-spacing: .3em; text-indent: .3em; margin: 2px 0 4px; }
.wl-face { text-align: center; font-size: 12px; letter-spacing: .08em; color: #b9a3ad; margin-bottom: 16px; }
.wl-cn { position: absolute; font-style: normal; color: #e3c3cf; font-size: 15px; pointer-events: none; }
.wl-cn1 { top: 12px; left: 16px; } .wl-cn2 { top: 14px; right: 18px; }
.wl-sign { text-align: center; font-size: 22px; margin-top: 18px; }

/* 使用要求：放最前、最醒目 */
.wl-req { background: var(--wl-pink-bg); border: 1px solid #f0d3dc; border-radius: 14px; padding: 14px 14px 12px; }
.wl-req-h { display: flex; align-items: baseline; justify-content: space-between; font-size: 14px; font-weight: 700; margin: 0 0 8px; color: var(--wl-ink); }
.wl-req-h .wl-script, .wl-sec h3 .wl-script { font-size: 17px; }
.wl-req ul { list-style: none; margin: 0; padding: 0; }
.wl-req li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.7; font-weight: 600; }
.wl-req li + li { margin-top: 4px; }
.wl-req li::before { content: "♡"; position: absolute; left: 0; top: 0; color: var(--wl-pink); font-weight: 400; }
.wl-req small { display: block; font-size: 12px; font-weight: 400; color: var(--wl-sub); line-height: 1.5; }

.wl-sec { margin-top: 16px; }
.wl-sec h3 { display: flex; align-items: baseline; justify-content: space-between; font-size: 13px; font-weight: 700; margin: 0 0 6px; color: var(--wl-ink); border-bottom: 1px dashed var(--wl-line); padding-bottom: 4px; }
.wl-sec p { margin: 0; font-size: 13px; line-height: 1.75; color: var(--wl-sub); }
.wl-sec b { color: var(--wl-ink); font-weight: 600; }

.wl-qq { display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: #f3eff1; color: var(--wl-ink); font-weight: 600; letter-spacing: .03em; user-select: all; -webkit-user-select: all; }

.wl-foot { padding: 14px 22px 20px; border-top: 1px solid var(--wl-line); margin-top: 14px; background: var(--wl-paper); border-radius: 0 0 22px 22px; }

.wl-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 12px; line-height: 1.55; color: var(--wl-sub); -webkit-tap-highlight-color: transparent; }
.wl-check input { position: absolute; opacity: 0; pointer-events: none; }
.wl-box {
    flex: none; width: 20px; height: 20px; margin-top: 0; border: 1.5px solid #cfc5ca; border-radius: 6px; background: #fff;
    display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s;
}
.wl-box svg { width: 13px; height: 13px; stroke: #fff; stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .25s ease .05s; }
.wl-check input:checked + .wl-box { background: var(--wl-ink); border-color: var(--wl-ink); }
.wl-check input:checked + .wl-box svg { stroke-dashoffset: 0; }
.wl-check input:focus-visible + .wl-box { outline: 2px solid var(--wl-pink); outline-offset: 2px; }
.wl-check span.wl-txt { padding-top: 1px; }

.wl-btn {
    display: block; width: 100%; margin-top: 14px; padding: 12px 0; border: 0; border-radius: 999px;
    font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .1em;
    background: var(--wl-ink); color: #fff; cursor: pointer; transition: opacity .2s, transform .15s, background .2s;
    -webkit-tap-highlight-color: transparent;
}
.wl-btn[aria-disabled="true"] { background: #e4dde0; color: #a89ea4; cursor: not-allowed; }
.wl-btn:not([aria-disabled="true"]):active { transform: scale(.97); }
.wl-hint { text-align: center; font-size: 11px; color: #b3a8ae; margin-top: 8px; min-height: 16px; letter-spacing: .04em; }

.wl-shake { animation: wl-shake .38s ease; }
@keyframes wl-shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

@media (prefers-reduced-motion: reduce) {
    .wl-mask, .wl-card, .wl-box, .wl-box svg, .wl-btn { transition: none; }
    .wl-shake { animation: none; }
}
@media (max-height: 560px) { .wl-scroll { padding-top: 16px; } .wl-title { margin-bottom: 12px; } }
