:root {
    --bg-color: #fcfcfc;
    --map-bg: #f3f3f3;
    --map-stroke: #e0e0e0;
    --brand-color: #ff6b00;
    --brand-soft: #fff1e6;
    --text-primary: #222;
    --text-secondary: #666;
    --border-color: #eee;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Pretendard', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow: hidden;
}

#app {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Minimal Header */
.header {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 10;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-color);
    letter-spacing: -0.01em;
}

.tagline {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 2px;
}

/* 2D Map Container */
#map-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Minimal Search */
.search-overlay {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 10;
    width: 280px;
}

.search-bar {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2px;
    transition: all 0.2s;
}

.search-bar:focus-within {
    border-color: var(--brand-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#uni-search {
    width: 100%;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    background: transparent;
}

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    max-height: 240px;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.search-results.hidden {
    display: none;
}

.result-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 0.85rem;
    border-bottom: 1px solid #f9f9f9;
}

.result-item:hover {
    background-color: var(--brand-soft);
    color: var(--brand-color);
}

/* Minimal Uni Card */
.uni-card {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: var(--white);
    padding: 24px 32px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    width: calc(100% - 80px);
    max-width: 360px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.uni-card.hidden {
    transform: translate(-50%, 100px);
    opacity: 0;
}

#card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

#card-region {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.btn-primary {
    background: var(--brand-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
}

@media (max-width: 600px) {
    .header { top: 20px; left: 20px; }
    .search-overlay { top: auto; bottom: 20px; left: 20px; right: 20px; width: auto; }
    .uni-card { bottom: 100px; }
}
