:root {
    --bg: #f7faff;
    --card: rgba(255, 255, 255, .78);
    --card-solid: #ffffff;
    --line: #e6edf7;
    --text: #172033;
    --muted: #748197;
    --muted-2: #9aa6b7;
    --blue: #316cff;
    --blue-2: #68bdff;
    --green: #24c46b;
    --shadow: 0 24px 80px rgba(31, 54, 96, .12);
    --shadow-soft: 0 14px 42px rgba(20, 40, 74, .08);
    --radius-lg: 28px;
    --radius-md: 18px;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

a {
    color: var(--blue);
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.app-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% -12%, #e5f3ff 0, #f7faff 42%, #fbfdff 100%),
        linear-gradient(180deg, #f8fbff, #ffffff);
}

.glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(42px);
    opacity: .58;
}

.glow-a {
    width: 420px;
    height: 420px;
    left: 18%;
    top: -140px;
    background: #c9e8ff;
}

.glow-b {
    width: 360px;
    height: 360px;
    right: 9%;
    bottom: 8%;
    background: #ddd9ff;
}

.logo-orb {
    background: conic-gradient(from 210deg, #316cff, #68d7ff, #8d7cff, #316cff);
    box-shadow: 0 16px 38px rgba(49, 108, 255, .24);
}

.icon-btn {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: #53627a;
    background: rgba(255, 255, 255, .85);
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes bounce {
    0%, 80%, 100% {
        opacity: .55;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateY(-5px);
    }
}

/* Responsive helpers */
:root {
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 320px;
}
