:root {
    --nl-bg: #0a0a0f;
    --nl-surface: #13131a;
    --nl-surface-elevated: #1a1a24;
    --nl-border: rgba(255, 255, 255, 0.06);
    --nl-text: #f4f4f5;
    --nl-text-muted: #71717a;
    --nl-text-subtle: #52525b;
    --nl-accent: #f59e0b;
    --nl-accent-glow: rgba(245, 158, 11, 0.4);
    --nl-red: #ef4444;
    --nl-red-glow: rgba(239, 68, 68, 0.3);
    --nl-radius: 16px;
    --nl-radius-sm: 10px;
    --nl-transition: cubic-bezier(0.4, 0, 0.2, 1);
}

.niliu-lottery-main {
    background: var(--nl-bg);
    min-height: 100vh;
    padding: 0 0 80px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--nl-text);
    -webkit-font-smoothing: antialiased;
}

.nl-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.nl-hero {
    position: relative;
    padding: 48px 40px;
    margin-bottom: 24px;
    border-radius: var(--nl-radius);
    background: var(--nl-surface);
    overflow: hidden;
    border: 1px solid var(--nl-border);
}

.nl-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.nl-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: nlOrbFloat 20s infinite;
}

.nl-hero__orb--1 {
    width: 280px;
    height: 280px;
    background: var(--nl-accent);
    top: -80px;
    right: -40px;
}

.nl-hero__orb--2 {
    width: 200px;
    height: 200px;
    background: var(--nl-red);
    bottom: -60px;
    left: 10%;
    animation-delay: -7s;
}

@keyframes nlOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.05); }
}

.nl-hero__content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nl-hero__cover {
    flex-shrink: 0;
    width: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.nl-hero__cover img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.nl-hero__text {
    flex: 1;
}

.nl-hero__title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nl-hero__desc {
    font-size: 15px;
    color: var(--nl-text-muted);
    margin: 0 0 16px;
    line-height: 1.6;
}

.nl-vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--nl-accent);
    margin-bottom: 12px;
}

.nl-vip-badge .fa {
    font-size: 11px;
}

.nl-hero__countdown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--nl-border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--nl-text-muted);
}

.nl-hero__countdown svg {
    opacity: 0.6;
}

.nl-hero__countdown-time {
    font-weight: 600;
    color: var(--nl-accent);
}

.nl-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    margin-bottom: 24px;
    background: var(--nl-surface);
    border: 1px solid var(--nl-border);
    border-radius: var(--nl-radius-sm);
    overflow: hidden;
}

.nl-notice__tag {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    color: var(--nl-accent);
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.2);
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nl-notice__track {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.nl-notice__scroll {
    display: inline-block;
    animation: nlScroll 20s linear infinite;
}

.nl-notice__item {
    display: inline-block;
    margin-right: 40px;
    font-size: 13px;
    color: var(--nl-text-muted);
}

.nl-notice__item strong {
    color: var(--nl-accent);
    font-weight: 600;
}

@keyframes nlScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.nl-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.nl-main {
    flex: 1;
    min-width: 0;
}

.nl-sidebar {
    width: 260px;
    flex-shrink: 0;
}

.nl-card--sticky {
    position: sticky;
    top: 80px;
}

.nl-activity-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nl-activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.2s;
}

.nl-activity-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--nl-border);
}

.nl-activity-item__cover {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--nl-surface-elevated);
}

.nl-activity-item__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nl-activity-item__cover--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nl-text-subtle);
}

.nl-activity-item__info {
    flex: 1;
    min-width: 0;
}

.nl-activity-item__name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--nl-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.nl-activity-item__status {
    font-size: 11px;
    padding: 1px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.nl-activity-item__status--running {
    color: #22c55e;
    background: rgba(34,197,94,0.1);
}

.nl-activity-item__status--pending {
    color: #3b82f6;
    background: rgba(59,130,246,0.1);
}

.nl-activity-item__status--ended {
    color: var(--nl-text-subtle);
    background: rgba(148,163,184,0.1);
}

.nl-body {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.nl-body__wheel {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.nl-body__side {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nl-wheel-frame {
    position: relative;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: linear-gradient(160deg, #c0392b 0%, #a93226 40%, #922b21 70%, #7b241c 100%);
    padding: 20px;
    box-shadow:
        0 0 0 4px #d4a017,
        0 0 0 6px #a07910,
        0 0 20px 6px rgba(212,160,23,0.15),
        0 8px 32px rgba(0,0,0,0.3);
}

.nl-wheel-dots {
    display: none;
}

.nl-wheel-wrap {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    box-shadow:
        0 0 0 3px #d4a017,
        inset 0 0 6px rgba(0,0,0,0.08);
}

#lottery-wheel {
    display: block;
    border-radius: 50%;
}

.nl-wheel-pointer {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
    width: 28px;
    height: 32px;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.35));
}

.nl-wheel-pointer::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 20px solid #d4a017;
}

.nl-wheel-pointer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: radial-gradient(circle at 40% 35%, #fff5cc, #FFD700 40%, #d4a017 80%, #a07910);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(212,160,23,0.4);
}

.lottery-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #fff5cc, #FFD700 30%, #f0b90b 60%, #d4950c 100%);
    border: 3px solid rgba(255,255,255,0.3);
    color: #7a3b10;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow:
        0 3px 10px rgba(212,160,23,0.5),
        0 1px 3px rgba(0,0,0,0.15),
        inset 0 1px 2px rgba(255,255,255,0.4),
        inset 0 -2px 4px rgba(139,69,19,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 2px;
    z-index: 10;
}

.lottery-btn:hover {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow:
        0 5px 16px rgba(212,160,23,0.65),
        0 1px 3px rgba(0,0,0,0.15),
        inset 0 1px 2px rgba(255,255,255,0.4);
}

.lottery-btn:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.lottery-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: translate(-50%, -50%);
}

.lottery-btn.spinning .btn-text {
    animation: nlPulse 0.7s ease-in-out infinite;
}

@keyframes nlPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.nl-info-card {
    width: 360px;
    background: var(--nl-surface);
    border: 1px solid var(--nl-border);
    border-radius: var(--nl-radius);
    padding: 16px 24px;
}

.nl-info-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.nl-info-divider {
    width: 1px;
    height: 32px;
    background: var(--nl-border);
    flex-shrink: 0;
}

.nl-info-item {
    text-align: center;
}

.nl-info-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--nl-accent);
    line-height: 1.2;
}

.nl-info-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 4px;
}

.nl-info-label {
    font-size: 12px;
    color: var(--nl-text-muted);
    white-space: nowrap;
}

.nl-info-daily {
    font-size: 10px;
    color: var(--nl-text-subtle);
    background: rgba(255,255,255,0.05);
    padding: 1px 6px;
    border-radius: 10px;
    white-space: nowrap;
}

.nl-btn-buy {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 11px 20px;
    background: linear-gradient(135deg, #f59f54 10%, #ff6922 100%);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255,105,34,0.3);
    letter-spacing: 0.5px;
}

.nl-btn-buy:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255,105,34,0.45);
    filter: brightness(1.05);
}

.nl-btn-buy:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255,105,34,0.3);
}

.nl-login-tip {
    font-size: 14px;
    color: var(--nl-text-muted);
    padding: 4px 0;
}

.nl-login-tip a {
    color: var(--nl-accent);
    text-decoration: none;
    font-weight: 600;
}

.nl-card {
    background: var(--nl-surface);
    border: 1px solid var(--nl-border);
    border-radius: var(--nl-radius);
    padding: 20px;
}

.nl-card__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--nl-text);
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--nl-border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nl-card__title::before {
    content: '';
    width: 3px;
    height: 14px;
    background: linear-gradient(180deg, var(--nl-accent), var(--nl-red));
    border-radius: 2px;
    flex-shrink: 0;
}

.nl-task {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.nl-task:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.nl-task.is-done {
    opacity: 0.4;
}

.nl-task__icon {
    width: 34px;
    height: 34px;
    background: rgba(245,158,11,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nl-accent);
    margin-right: 12px;
    flex-shrink: 0;
    font-size: 16px;
}

.nl-task__info {
    flex: 1;
}

.nl-task__name {
    display: block;
    font-size: 14px;
    color: var(--nl-text);
}

.nl-task__progress {
    font-size: 12px;
    color: var(--nl-text-subtle);
}

.nl-task__reward {
    color: var(--nl-accent);
    font-weight: 700;
    font-size: 14px;
}

.nl-task__reward--claimed {
    color: var(--nl-text-subtle);
    font-weight: 500;
    font-size: 12px;
}

.nl-task__reward--locked {
    color: var(--nl-text-subtle);
    font-weight: 500;
    opacity: 0.5;
}

.nl-task.is-claimed {
    opacity: 0.6;
}

.nl-task__claim-btn {
    padding: 4px 14px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--nl-accent), #ef4444);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.15s;
}

.nl-task__claim-btn:hover {
    opacity: 0.85;
    transform: scale(1.03);
}

.nl-task__claim-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.nl-record {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.nl-record:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.nl-record__info {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nl-record__name {
    font-size: 14px;
    color: var(--nl-text);
    white-space: nowrap;
}

.nl-record__detail {
    font-size: 11px;
    color: var(--nl-accent);
    background: rgba(245,158,11,0.08);
    padding: 1px 7px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nl-record__time {
    font-size: 12px;
    color: var(--nl-text-subtle);
    margin-left: auto;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-fill-address {
    padding: 4px 10px;
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: 6px;
    color: var(--nl-accent);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    margin-left: 8px;
    white-space: nowrap;
}

.btn-fill-address:hover {
    background: rgba(245,158,11,0.2);
}

.nl-empty {
    text-align: center;
    color: var(--nl-text-subtle);
    font-size: 14px;
    padding: 20px 0 8px;
    margin: 0;
}

.nl-load-more {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--nl-border);
    border-radius: 8px;
    color: var(--nl-text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.nl-load-more:hover {
    background: rgba(255,255,255,0.08);
    color: var(--nl-text);
}

.nl-load-more:disabled {
    cursor: default;
    opacity: 0.5;
}

.nl-load-more.is-end {
    border: none;
    background: none;
    opacity: 0.4;
    font-size: 12px;
}

.nl-rules {
    font-size: 13px;
    line-height: 1.9;
    color: var(--nl-text-muted);
}

.nl-rules p {
    margin: 0 0 6px;
}

.lottery-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--nl-surface);
    border: 1px solid var(--nl-border);
    border-radius: 20px;
    padding: 36px 28px;
    width: 90%;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: nlModalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes nlModalIn {
    0% { opacity: 0; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}

.result-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24, var(--nl-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px var(--nl-accent-glow);
    position: relative;
}

.result-icon::after {
    content: '';
    width: 28px;
    height: 28px;
    border-left: 4px solid #fff;
    border-bottom: 4px solid #fff;
    transform: rotate(-45deg) translate(2px, -4px);
    border-radius: 2px;
}

#result-modal.result-none .result-icon {
    background: var(--nl-surface-elevated);
    box-shadow: none;
}

#result-modal.result-none .result-icon::after {
    width: 24px;
    height: 24px;
    border: none;
    border-right: 4px solid var(--nl-text-subtle);
    border-top: 4px solid var(--nl-text-subtle);
    transform: rotate(-45deg) translate(0, 0);
    border-radius: 0 4px 0 0;
}

.result-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--nl-text);
    margin: 0 0 8px;
}

.result-prize {
    font-size: 22px;
    color: var(--nl-accent);
    font-weight: 700;
    margin: 0 0 24px;
}

.btn-close-modal {
    display: inline-block;
    padding: 12px 48px;
    background: linear-gradient(135deg, var(--nl-accent), #d97706);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px var(--nl-accent-glow);
}

.btn-close-modal:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.modal-address {
    text-align: left;
    max-width: 420px;
}

.modal-address h3 {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--nl-text);
    margin: 0 0 24px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--nl-text-muted);
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--nl-border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--nl-text);
    transition: all 0.2s;
    box-sizing: border-box;
}

.form-group input::placeholder {
    color: var(--nl-text-subtle);
}

.form-group input:focus {
    outline: none;
    border-color: rgba(245,158,11,0.5);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}

.form-row {
    display: flex;
    gap: 8px;
}

.form-row .form-group {
    flex: 1;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.form-actions .btn-cancel {
    flex: 1;
    padding: 11px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--nl-border);
    border-radius: 8px;
    color: var(--nl-text-muted);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.form-actions .btn-cancel:hover {
    background: rgba(255,255,255,0.1);
}

.form-actions .btn-submit {
    flex: 1;
    padding: 11px;
    background: linear-gradient(135deg, var(--nl-accent), #d97706);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.form-actions .btn-submit:hover {
    opacity: 0.9;
}

body:not(.dark-theme) .niliu-lottery-main {
    --nl-bg: #f5f7fa;
    --nl-surface: #ffffff;
    --nl-surface-elevated: #f1f5f9;
    --nl-border: rgba(0, 0, 0, 0.06);
    --nl-text: #0f172a;
    --nl-text-muted: #64748b;
    --nl-text-subtle: #94a3b8;
}

body:not(.dark-theme) .nl-hero__title {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body:not(.dark-theme) .nl-info-daily {
    background: rgba(0,0,0,0.04);
}

body:not(.dark-theme) .nl-activity-item {
    background: rgba(0,0,0,0.01);
}

body:not(.dark-theme) .nl-activity-item:hover {
    background: rgba(0,0,0,0.03);
    border-color: var(--nl-border);
}

@media (max-width: 1100px) {
    .nl-sidebar {
        display: none;
    }
}

@media (max-width: 900px) {
    .nl-body {
        flex-direction: column;
    }

    .nl-body__wheel {
        width: 100%;
    }

    .nl-info-card {
        width: 100%;
    }

    .nl-hero__content {
        flex-direction: column;
        text-align: center;
    }

    .nl-hero__cover {
        width: 160px;
    }

    .nl-hero {
        padding: 32px 24px;
    }

    .nl-hero__title {
        font-size: 26px;
    }

    .nl-record__info {
        flex-wrap: wrap;
    }

    .nl-record__time {
        width: 100%;
        margin-left: 0;
        margin-top: 2px;
    }
}

@media (max-width: 480px) {
    .niliu-lottery-main {
        padding-bottom: 60px;
    }

    .nl-hero {
        padding: 24px 16px;
    }

    .nl-hero__title {
        font-size: 22px;
    }

    .nl-hero__cover {
        width: 120px;
    }

    .nl-wheel-frame {
        width: 320px;
        height: 320px;
        padding: 18px;
    }

    .nl-wheel-wrap {
        width: 284px;
        height: 284px;
    }

    #lottery-wheel {
        width: 284px;
        height: 284px;
    }

    .lottery-btn {
        width: 64px;
        height: 64px;
        font-size: 15px;
    }

    .nl-wheel-pointer {
        top: 8px;
        width: 24px;
        height: 28px;
    }

    .nl-wheel-pointer::before {
        border-left-width: 10px;
        border-right-width: 10px;
        border-top-width: 17px;
    }

    .nl-wheel-pointer::after {
        width: 14px;
        height: 14px;
    }

    .nl-info-card {
        width: 100%;
        padding: 14px 16px;
    }

    .nl-info-stats {
        gap: 16px;
    }

    .nl-info-value {
        font-size: 22px;
    }

    .nl-card {
        padding: 16px;
    }

    .nl-record__info {
        flex-wrap: wrap;
    }

    .nl-record__time {
        width: 100%;
        margin-left: 0;
        margin-top: 2px;
    }
}

.nl-toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.nl-toast__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--nl-surface, #fff);
    border: 1px solid var(--nl-border, rgba(0,0,0,0.06));
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    font-size: 14px;
    color: var(--nl-text, #0f172a);
    white-space: nowrap;
    pointer-events: auto;
    animation: nlToastIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nl-toast__item.is-out {
    animation: nlToastOut 0.25s ease forwards;
}

.nl-toast__item--warning {
    border-color: rgba(245,158,11,0.3);
    color: var(--nl-accent, #f59e0b);
}

.nl-toast__item--error {
    border-color: rgba(239,68,68,0.3);
    color: var(--nl-red, #ef4444);
}

.nl-toast__item--success {
    border-color: rgba(34,197,94,0.3);
    color: #22c55e;
}

@keyframes nlToastIn {
    0% { opacity: 0; transform: translateY(-16px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes nlToastOut {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-16px) scale(0.9); }
}

.modal-confirm {
    max-width: 340px;
}

.confirm-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(245,158,11,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.confirm-icon::after {
    content: '!';
    font-size: 28px;
    font-weight: 700;
    color: var(--nl-accent, #f59e0b);
    line-height: 1;
}

.confirm-msg {
    font-size: 15px;
    color: var(--nl-text);
    margin: 0 0 24px;
    line-height: 1.6;
}

.confirm-actions {
    display: flex;
    gap: 10px;
}

.confirm-actions .btn-confirm-cancel {
    flex: 1;
    padding: 11px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--nl-border);
    border-radius: 10px;
    color: var(--nl-text-muted);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.confirm-actions .btn-confirm-cancel:hover {
    background: rgba(0,0,0,0.04);
}

.confirm-actions .btn-confirm-ok {
    flex: 1;
    padding: 11px;
    background: linear-gradient(135deg, var(--nl-accent), #d97706);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.confirm-actions .btn-confirm-ok:hover {
    opacity: 0.9;
}
