:root {
    --primary: #6c5ce7;
    --primary-dark: #5649c0;
    --primary-soft: #857bec;
    --bg: #f4f5fb;
    --panel: #ffffff;
    --text: #2d3436;
    --muted: #636e72;
    --line: rgba(108, 92, 231, 0.25);
    --head-width: 134px;
    --radius: 10px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    user-select: none;
    overflow: hidden;
}

[hidden] {
    display: none !important;
}

button {
    font: inherit;
    cursor: pointer;
}

input,
select {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.noscript-warning {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    z-index: 3000;
}

.device-warning-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.device-warning-content {
    background: var(--panel);
    border-radius: 12px;
    padding: 28px;
    max-width: 90%;
    width: 380px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.device-warning-content h2 {
    margin: 0 0 12px;
}

.device-warning-content p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 22px;
}
