* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; min-height: 100%; min-height: 100dvh; }
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, .suggest-box::-webkit-scrollbar { width: 0; height: 0; display: none; }
body {
    font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    color: #fff;
    position: relative;
}
html.custom-cursor, html.custom-cursor * { cursor: none !important; }
.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    object-fit: cover;
    z-index: -2;
    will-change: transform;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.50);
    z-index: -1;
    pointer-events: none;
    transition: background 0.35s ease;
}
body.dim-off::before { background: rgba(0, 0, 0, 0); }
.container {
    width: 92%;
    max-width: 520px;
    margin: 0 auto;
    padding: 28px 0 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
}
.card {
    width: 100%;
    background: rgba(10, 10, 15, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: opacity 0.35s ease;
    animation: floatUp 0.6s ease;
}
@keyframes floatUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.avatar-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
    position: relative;
}
.avatar-link {
    display: inline-block;
    position: relative;
    text-decoration: none;
}
.avatar-link::after {
    content: '点击跳转小希直播间';
    position: absolute;
    left: 50%;
    bottom: -32px;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.72);
    color: #ffd1e8;
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 0.78rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 126, 179, 0.35);
}
.avatar-link:hover::after { opacity: 1; }
.avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 182, 193, 0.9);
    box-shadow: 0 0 24px rgba(255, 105, 180, 0.55);
    transition: transform 0.5s ease-in-out;
}
.avatar-link:hover .avatar { transform: rotate(360deg); }
h1 {
    font-weight: 800;
    text-align: center;
    margin: 0 0 10px;
    font-size: 1.9rem;
    color: #ffe6f0;
    text-shadow: 0 2px 8px rgba(255, 105, 180, 0.7);
}
.subtitle {
    text-align: center;
    font-size: 0.92rem;
    color: #ffd1e8;
    margin-bottom: 22px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 18px;
    margin: 8px 0;
    border: none;
    border-radius: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 70%);
    transform: translateX(-100%);
}
.btn:hover::after { animation: shine 0.8s ease; }
@keyframes shine { to { transform: translateX(100%); } }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, #ff7eb3 0%, #ff758c 100%); box-shadow: 0 8px 24px rgba(255, 117, 140, 0.45); }
.btn-secondary { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); box-shadow: 0 8px 24px rgba(161, 140, 209, 0.45); }
.btn-success { background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%); color: #0a3d2e; box-shadow: 0 8px 24px rgba(132, 250, 176, 0.35); }
.btn-danger { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); color: #6b1c23; }
.btn-warning { background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); color: #5c3d1a; box-shadow: 0 8px 24px rgba(246, 211, 101, 0.35); }
.btn-disabled { background: linear-gradient(135deg, #9a9a9a 0%, #cfcfcf 100%); color: #555; opacity: 0.7; box-shadow: none; cursor: not-allowed; pointer-events: none; }
.btn-small { padding: 8px 14px; font-size: 0.85rem; border-radius: 12px; width: auto; margin: 2px; }
.help {
    margin-top: 20px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    border-left: 4px solid #ff7eb3;
}
.help summary {
    cursor: pointer;
    font-weight: 700;
    color: #ffe6f0;
    user-select: none;
}
.help[open] summary { margin-bottom: 10px; }
.help h3 { margin: 0 0 10px; font-size: 1rem; color: #ffd1e8; }
.help ol { margin: 0; padding-left: 20px; font-size: 0.88rem; line-height: 1.75; color: #ffe6f0; }
.help li { margin-bottom: 6px; }
.form-group { margin-bottom: 16px; }
label { display: block; margin-bottom: 6px; font-size: 0.9rem; color: #ffd1e8; font-weight: bold; }
input[type="text"], input[type="number"], input[type="date"], select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.22);
    color: #fff;
    font-size: 0.98rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); cursor: pointer; }
.datetime-row { display: flex; gap: 10px; }
.date-input { flex: 1.6; }
.time-select { flex: 1; }
input:focus, select:focus { border-color: #ff7eb3; box-shadow: 0 0 0 3px rgba(255, 126, 179, 0.25); }
input:read-only { background: rgba(255, 255, 255, 0.10); color: #ffd1e8; }
select option { background: #2a1f3d; color: #fff; }
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-card {
    flex: 1 1 calc(50% - 10px);
    min-width: 120px;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(0, 0, 0, 0.15);
}
.radio-card:hover { border-color: rgba(255, 126, 179, 0.6); }
.radio-card.active { border-color: #ff7eb3; background: rgba(255, 126, 179, 0.18); }
.radio-card input { display: none; }
.radio-card .price { font-size: 0.8rem; color: #ffd1e8; }
.elf-group .radio-card { flex: 1 1 calc(33.333% - 10px); min-width: 90px; border-color: rgba(255, 126, 179, 0.5); background: rgba(255, 126, 179, 0.08); font-weight: 700; }
.elf-group .radio-card:hover { border-color: #ff7eb3; background: rgba(255, 126, 179, 0.16); box-shadow: 0 0 12px rgba(255, 126, 179, 0.3); }
.elf-group .radio-card.active { border-color: #ff7eb3; background: rgba(255, 126, 179, 0.28); box-shadow: 0 0 14px rgba(255, 126, 179, 0.4); }
.elf-group .radio-card { position: relative; }
.elf-group .radio-card.active::after {
    content: '✓';
    position: absolute;
    top: 4px;
    right: 8px;
    color: #ff7eb3;
    font-weight: 800;
    font-size: 0.95rem;
    text-shadow: 0 0 8px rgba(255, 105, 180, 0.8);
}
.elf-group .radio-card.elf-card { min-width: 0; padding: 8px; }
.elf-card { overflow: hidden; }
.elf-card .elf-pic {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: 9px;
    transition: transform 0.25s ease;
}
.elf-card:hover .elf-pic { transform: scale(1.03); }
.elf-card .elf-pic + .elf-name { margin-top: 6px; font-size: 0.92rem; }
.elf-group .radio-card.active::after { top: 12px; right: 12px; }
.elf-preview {
    max-width: 340px;
    margin: 12px auto 0;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 126, 179, 0.35);
    cursor: zoom-in;
}
.elf-preview-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.elf-preview-name { padding: 7px 10px 8px; font-size: 0.85rem; color: #ffd1e8; text-align: center; }
.zoom-tip { margin-left: 8px; font-size: 0.72rem; color: rgba(255, 255, 255, 0.5); }
.zoom-overlay {
    position: fixed;
    inset: 0;
    z-index: 999990;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.93);
    overflow: hidden;
    touch-action: none;
    animation: zoomFade 0.2s ease;
}
@keyframes zoomFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
.zoom-img {
    max-width: 92vw;
    max-height: 86vh;
    border-radius: 10px;
    user-select: none;
    -webkit-user-drag: none;
    transform-origin: center center;
    will-change: transform;
}
.zoom-close {
    position: absolute;
    top: max(14px, env(safe-area-inset-top));
    right: 14px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.zoom-hint {
    position: absolute;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
}
.hint { font-size: 0.8rem; color: #ffd1e8; margin-top: 4px; }
.alert {
    padding: 12px 16px;
    border-radius: 14px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    animation: shake 0.4s ease;
}
@keyframes shake { 0%,100%{transform:translateX(0);} 25%{transform:translateX(-6px);} 75%{transform:translateX(6px);} }
.alert-error { background: rgba(255, 107, 107, 0.25); border: 1px solid rgba(255, 107, 107, 0.5); }
.alert-success { background: rgba(132, 250, 176, 0.2); border: 1px solid rgba(132, 250, 176, 0.45); color: #d4ffe9; }
.alert-warn {
    background: rgba(255, 187, 92, 0.14);
    border: 1px solid rgba(255, 187, 92, 0.55);
    color: #ffe3b8;
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    line-height: 1.7;
}
.alert-last {
    background: rgba(255, 92, 124, 0.18);
    border: 2px solid rgba(255, 92, 124, 0.7);
    color: #ffc2d1;
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 0 16px rgba(255, 92, 124, 0.35);
}
.alert-info {
    background: rgba(143, 211, 244, 0.14);
    border: 1px solid rgba(143, 211, 244, 0.45);
    color: #d6f0ff;
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    text-align: center;
}
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.65);
    animation: modalFadeIn 0.25s ease;
    padding: 20px;
}
@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 85dvh;
    overflow-y: auto;
    background: linear-gradient(160deg, rgba(26, 18, 42, 0.96) 0%, rgba(14, 12, 24, 0.97) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 22px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 28px rgba(255, 126, 179, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    animation: modalPopIn 0.3s ease;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.modal-box::-webkit-scrollbar { width: 0; height: 0; display: none; }
@keyframes modalPopIn {
    from { opacity: 0; transform: scale(0.9) translateY(16px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.front-elf-box {
    background: linear-gradient(160deg, rgba(74, 40, 88, 0.94) 0%, rgba(36, 24, 58, 0.96) 100%);
    border: 1px solid rgba(255, 126, 179, 0.6);
    border-radius: 22px;
    padding: 26px 22px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 32px rgba(255, 126, 179, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.front-elf-title {
    color: #ffe6f0;
    font-weight: 800;
    font-size: 1.08rem;
    line-height: 1.6;
    text-align: center;
    text-shadow: 0 2px 8px rgba(255, 105, 180, 0.6);
}
.front-elf-counts {
    color: #ffd1e8;
    font-size: 0.85rem;
    margin-top: 10px;
    text-align: center;
}
.confirm-msg {
    color: #ffe6f0;
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: center;
}
.confirm-btns { display: flex; gap: 10px; margin-top: 20px; }
.confirm-btns .btn { margin: 0; }
.menu-btns { display: flex; gap: 10px; margin-top: 8px; }
.menu-btns .btn { flex: 1; width: auto; margin: 8px 0 0; }
.menu-card { position: relative; }
.menu-logout {
    position: absolute;
    top: 16px;
    right: 20px;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.78rem;
    color: #ffb3c6;
    text-decoration: none;
    background: rgba(255, 92, 124, 0.14);
    border: 1px solid rgba(255, 92, 124, 0.4);
    transition: background 0.2s, color 0.2s;
}
.menu-logout:hover { background: rgba(255, 92, 124, 0.3); color: #fff; }
.game-help-list { margin: 8px 0 0; padding-left: 20px; font-size: 0.88rem; line-height: 1.75; color: #ffe6f0; }
.game-help-list li { margin-bottom: 6px; }
.game-help-list ul { padding-left: 18px; font-size: 0.88rem; line-height: 1.75; color: #ffe6f0; }
.help-img { display: inline-block; width: 100%; max-width: 320px; margin-top: 8px; }
.help-img img {
    display: block;
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    cursor: zoom-in;
    transition: transform 0.2s, filter 0.2s;
}
.help-img img:hover { transform: translateY(-2px); filter: brightness(1.1); }
.help-img-caption { padding: 6px 0 2px; text-align: center; }
.help-img-caption .zoom-tip { margin-left: 0; }
.order-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}
.order-tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 16px;
    background: rgba(0,0,0,0.35);
    border: 2px solid rgba(255,255,255,0.3);
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
}
.order-tab:hover { border-color: rgba(255, 126, 179, 0.6); background: rgba(255, 255, 255, 0.06); }
.order-tab.active { background: rgba(255, 126, 179, 0.22); border-color: #ff7eb3; box-shadow: 0 0 16px rgba(255, 126, 179, 0.35); }
.order-list { display: none; }
.order-list.active { display: block; }
.page-nav {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin: 14px 0 6px;
    flex-wrap: wrap;
}
.page-btn {
    min-width: 36px;
    height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.28);
    background: rgba(0,0,0,0.35);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
}
.page-btn:hover:not(.active) { border-color: rgba(255,126,179,0.6); background: rgba(255,255,255,0.06); }
.page-btn.active { background: rgba(255,126,179,0.28); border-color: #ff7eb3; box-shadow: 0 0 14px rgba(255,126,179,0.4); }
.order-item {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    margin-bottom: 10px;
    border-radius: 16px;
    background: rgba(0,0,0,0.42);
    border: 1px solid rgba(255,255,255,0.25);
}
.order-item.me {
    background: linear-gradient(135deg, rgba(255,126,179,0.45) 0%, rgba(255,117,140,0.45) 100%);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 22px rgba(255, 126, 179, 0.55);
}
.order-item.me .order-name { text-shadow: 0 0 10px rgba(255,255,255,0.5); }
.order-rank {
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem;
    background: rgba(255,255,255,0.28); margin-right: 12px;
}
.order-info { flex: 1; }
.order-name { font-weight: 700; font-size: 1.08rem; }
.order-sub { font-size: 0.78rem; color: #ffd1e8; margin-top: 4px; }
.copy-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; margin-left: 3px; padding: 0;
    background: rgba(255, 255, 255, 0.12);
    border: none; border-radius: 5px;
    color: #ffd1e8; vertical-align: middle;
    transition: background 0.2s, color 0.2s;
}
.copy-btn:hover { background: rgba(255, 126, 179, 0.45); color: #fff; }
.copy-btn svg { width: 11px; height: 11px; }
.copy-btn.copied { background: rgba(82, 196, 26, 0.55); color: #fff; }
.order-meta { font-size: 0.78rem; color: #ffd1e8; margin-top: 4px; }
.order-elf {
    flex-shrink: 0;
    margin-left: 10px;
    padding: 6px 10px;
    border-radius: 12px;
    background: rgba(255,126,179,0.16);
    border: 1px solid rgba(255,126,179,0.45);
    text-align: right;
    min-width: 92px;
}
.order-elf .oe-row { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; line-height: 1.5; }
.order-elf .oe-k { font-size: 0.68rem; color: #ffd1e8; white-space: nowrap; }
.order-elf .oe-v { font-size: 0.8rem; font-weight: 700; color: #fff; white-space: nowrap; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.table-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.table-actions .btn { width: auto; margin: 0; }
.admin-table th, .admin-table td { padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,0.12); text-align: left; }
.admin-table th { color: #ffd1e8; font-weight: bold; }
.admin-table tr:hover { background: rgba(255,255,255,0.05); }
.pos-input {
    width: 52px;
    padding: 4px 6px;
    text-align: center;
    font-size: 0.8rem;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
}
.pos-input:focus {
    outline: none;
    border-color: rgba(255,126,179,0.7);
    box-shadow: 0 0 0 2px rgba(255,126,179,0.18);
}
.admin-actions { white-space: nowrap; }
.toggle-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    color: #cfc3de;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: all 0.2s ease;
}
.toggle-pill:hover { border-color: rgba(255, 126, 179, 0.6); color: #fff; }
.toggle-pill.on {
    color: #0a3d2e;
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(132, 250, 176, 0.35);
}
.season-chip {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffe6b3;
    background: rgba(255, 215, 130, 0.12);
    border: 1px solid rgba(255, 215, 130, 0.5);
    box-shadow: 0 0 14px rgba(255, 215, 130, 0.25);
    white-space: nowrap;
}
.badge {
    display: inline-block; padding: 3px 8px; border-radius: 10px; font-size: 0.7rem;
    background: rgba(255,126,179,0.35); margin-left: 4px;
}
.badge-passed { background: rgba(82, 196, 26, 0.55); }
.topbar {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px;
}
.topbar a { color: #ffd1e8; text-decoration: none; font-size: 0.85rem; }
.topbar a:hover { text-decoration: underline; }
.divider { height: 1px; background: rgba(255,255,255,0.15); margin: 18px 0; }
.section-title { font-size: 1.15rem; margin: 0 0 14px; color: #ffe6f0; }
.empty-tip { text-align: center; color: #ffd1e8; font-size: 0.9rem; padding: 20px; }
.checkbox-wrap { display: flex; align-items: center; gap: 8px; margin: 10px 0; }
.checkbox-wrap input { width: 18px; height: 18px; accent-color: #ff7eb3; }
.checkbox-wrap label { margin: 0; color: #ffe6f0; }
.pass-toggle-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0 0 16px; }
.pass-input { display: none; }
.pass-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    margin: 0; padding: 12px 28px; border-radius: 999px;
    cursor: pointer; user-select: none;
    font-weight: 700; font-size: 1.05rem; color: #ffe6f0;
    background: rgba(0,0,0,0.22);
    border: 2px solid rgba(255,126,179,0.45);
    transition: all 0.25s ease;
    white-space: nowrap; flex-shrink: 0;
}
.pass-toggle:hover { border-color: #ff7eb3; box-shadow: 0 0 14px rgba(255,126,179,0.35); transform: translateY(-1px); }
.pass-toggle.off { opacity: 0.45; filter: grayscale(0.6); cursor: not-allowed; }
.pass-toggle.off:hover { border-color: rgba(255,126,179,0.45); box-shadow: none; transform: none; }
.pass-dot {
    width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.55);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s ease;
}
.pass-dot svg { width: 12px; height: 12px; opacity: 0; transform: scale(0.3); transition: all 0.2s ease; }
.pass-input:checked + .pass-toggle {
    background: linear-gradient(135deg, #ff9a56 0%, #ff5e78 100%);
    border-color: rgba(255,255,255,0.65); color: #fff;
    box-shadow: 0 0 22px rgba(255,117,140,0.55);
}
.pass-input:checked + .pass-toggle .pass-dot { border-color: #fff; background: rgba(255,255,255,0.28); }
.pass-input:checked + .pass-toggle .pass-dot svg { opacity: 1; transform: scale(1); }
.pass-hint {
    font-size: 0.82rem; color: #ffd1e8; text-align: center; line-height: 1.5;
    background: rgba(255,154,86,0.12);
    border: 1px dashed rgba(255,154,86,0.55);
    padding: 8px 14px; border-radius: 12px;
}
.pass-toggle.sm { padding: 8px 18px; font-size: 0.9rem; gap: 8px; }
.pass-toggle.sm .pass-dot { width: 18px; height: 18px; }
.pass-toggle.sm .pass-dot svg { width: 10px; height: 10px; }
.suggest-wrap { position: relative; }
.suggest-box {
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    background: rgba(32, 22, 44, 0.96);
    border: 1px solid rgba(255, 126, 179, 0.4);
    border-radius: 12px;
    max-height: 180px;
    overflow-y: auto;
    touch-action: pan-y;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 60;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    display: none;
}
.suggest-box.open { display: block; }
.suggest-item {
    padding: 11px 14px;
    color: #ffe6f0;
    font-size: 0.95rem;
    cursor: pointer;
}
.suggest-item:active, .suggest-item:hover { background: rgba(255, 126, 179, 0.28); }
.field-error {
    color: #ff8fa8;
    background: rgba(255, 92, 124, 0.15);
    border: 1px solid rgba(255, 92, 124, 0.45);
    padding: 8px 12px;
    border-radius: 12px;
    margin-top: 10px;
    font-size: 0.85rem;
    text-align: center;
}
@media (min-width: 600px) {
    .container { max-width: 760px; padding-top: 46px; }
    h1 { font-size: 2.8rem; }
    .subtitle { font-size: 1.1rem; }
    .btn { font-size: 1.15rem; padding: 16px 22px; }
    .help { font-size: 1.02rem; }
    .help ol { font-size: 0.98rem; }
    .game-help-list, .game-help-list ul { font-size: 0.98rem; }
    input, select { font-size: 1.05rem; padding: 14px 16px; }
    .avatar { width: 128px; height: 128px; }
    .card { padding: 34px; border-radius: 28px; }
    .order-tab { font-size: 1.08rem; padding: 14px; }
}
@media (min-width: 900px) {
    .container { max-width: 960px; }
    h1 { font-size: 3.2rem; }
    .subtitle { font-size: 1.2rem; }
    .btn { font-size: 1.25rem; padding: 18px 24px; }
    .card { padding: 42px; }
    .avatar { width: 150px; height: 150px; }
    .order-tab { font-size: 1.15rem; padding: 16px; }
}
@media (min-width: 1200px) {
    .container { max-width: 1080px; }
    h1 { font-size: 3.6rem; }
    .card { padding: 48px; }
    .avatar { width: 170px; height: 170px; }
}
@media (max-height: 660px) {
    .container { padding-top: 10px; padding-bottom: 14px; }
    .card { padding: 16px 20px; }
    .avatar { width: 72px; height: 72px; }
    .avatar-wrap { margin-bottom: 10px; }
    h1 { font-size: 1.5rem; margin-bottom: 6px; }
    .subtitle { margin-bottom: 12px; }
    .btn { padding: 12px 18px; font-size: 0.95rem; }
    .menu-btns { gap: 8px; }
    .help { margin-top: 10px; padding: 12px; }
    .order-tab { padding: 10px; }
    input, select { padding: 10px 12px; }
    .form-group { margin-bottom: 10px; }
}
