:root {
    --blue: #eaf4ff;
    --soft: #f7fbff;
    --cream: #faf8f2;
    --gray: #6b7280;
    --light: #e5e7eb;
    --accent: #6aa9ff;
}

* {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #eaf4ff, #faf8f2);
    display: flex;
    justify-content: center;
    padding: 20px;
}

.app {
    width: 100%;
    max-width: 520px;
}

.card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

h1 {
    text-align: center;
    margin-top: 0;
}

button {
    border: none;
    border-radius: 10px;
    padding: 14px 18px;
    background: var(--accent);
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.secondary {
    background: #9ca3af;
}

.center {
    text-align: center;
}

.options {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option {
    border: 1px solid var(--light);
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.option.selected {
    border-color: var(--accent);
    background: var(--soft);
}

.progress {
    height: 8px;
    background: #edf2f7;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
}

.bar {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width .3s;
}

.nav {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.result-score {
    font-size: 32px;
    text-align: center;
    font-weight: bold;
    color: #2563eb;
}

.result-level {
    font-size: 20px;
    text-align: center;
    margin: 10px 0;
}

.report {
    background: #f1f7ff;
    padding: 16px;
    border-radius: 10px;
    margin-top: 20px;
}

.analysis {
    background: #f9fafb;
    padding: 14px;
    border-radius: 10px;
    margin-top: 15px;
}

.small {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 30px;
    text-align: center;
}

.hidden {
    display: none;
}