/* ==========================================================================
   Global Reset & Base Settings
   ========================================================================== */
[v-cloak] { display: none; }

* { 
    box-sizing: border-box; 
    outline: none; 
    user-select: none; /* Prevent text selection on touchscreens */
    -webkit-tap-highlight-color: transparent; 
}

html, body {
    margin: 0; 
    padding: 0; 
    width: 100%; 
    height: 100%;
    overflow: hidden; /* Disable overall page scrolling, only allow internal area scrolling */
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
}

/* Ensure Vue root element occupies full viewport height, crucial for layout success */
#app {
    width: 100%;
    height: 100%;
}

/* Background Decoration Layer */
.app-background {
    position: absolute; 
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    z-index: 0;
}

/* Decorative Halo */
.app-background::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%; width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
