@font-face {
    font-family: "NanumSquareRound";
    src: url("/assets/fonts/NanumSquareRound/NanumSquareRoundR.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "NanumSquareRound";
    src: url("/assets/fonts/NanumSquareRound/NanumSquareRoundB.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "NanumSquareRound";
    src: url("/assets/fonts/NanumSquareRound/NanumSquareRoundEB.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Material Symbols Rounded";
    src: url("/assets/fonts/material-icons/MaterialSymbolsRounded.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

:root {
    --bg: #f5f8ff;
    --panel: rgba(255, 255, 255, 0.9);
    --panel-strong: #ffffff;
    --text: #07111f;
    --muted: #64748b;
    --line: rgba(15, 23, 42, 0.12);
    --brand: #5b3dff;
    --brand-2: #00a7d8;
    --gold: #f4bd16;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
}

[data-bs-theme="dark"] {
    --bg: #050914;
    --panel: rgba(10, 19, 43, 0.86);
    --panel-strong: #0d1733;
    --text: #ffffff;
    --muted: #aab8d4;
    --line: rgba(143, 177, 255, 0.22);
    --brand: #7a4dff;
    --brand-2: #18d8ff;
    --gold: #ffd22e;
    --shadow: 0 20px 55px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    margin: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(91, 61, 255, 0.22), transparent 28rem),
        radial-gradient(circle at 82% 22%, rgba(0, 167, 216, 0.18), transparent 26rem),
        var(--bg);
    color: var(--text);
    font-family: "NanumSquareRound", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

.material-symbols-rounded {
    display: inline-block;
    font-family: "Material Symbols Rounded";
    font-size: 1.35rem;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    direction: ltr;
    white-space: nowrap;
    letter-spacing: normal;
    text-transform: none;
    vertical-align: -0.22em;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(18px);
}

.navbar {
    min-height: 74px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text);
    font-size: 22px;
    font-weight: 900;
}

.brand-mark {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
    background: linear-gradient(135deg, var(--brand), #a548ff);
    color: #fff;
}

.brand-logo {
    display: inline-grid;
    width: auto;
    max-width: 150px;
    height: 48px;
    place-items: center;
    flex: 0 0 auto;
}

.brand-logo img {
    display: block;
    width: auto;
    max-width: 150px;
    height: 48px;
    object-fit: contain;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.icon-btn,
.admin-link {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    color: var(--text);
}

.admin-link {
    width: auto;
    min-width: 58px;
    padding: 0 0.85rem;
    font-weight: 900;
    line-height: 1;
}

.mobile-menu-btn {
    display: none;
}

.icon-btn:hover,
.icon-btn:focus,
.admin-link:hover,
.admin-link:focus {
    border-color: var(--brand);
    background: color-mix(in srgb, var(--brand) 12%, var(--panel-strong));
    color: var(--text);
}

[data-bs-theme="dark"] .icon-btn,
[data-bs-theme="dark"] .admin-link {
    border-color: rgba(143, 177, 255, 0.55);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
}

[data-bs-theme="dark"] .icon-btn:hover,
[data-bs-theme="dark"] .icon-btn:focus,
[data-bs-theme="dark"] .admin-link:hover,
[data-bs-theme="dark"] .admin-link:focus {
    border-color: var(--brand-2);
    background: rgba(24, 216, 255, 0.12);
    color: #ffffff;
}

.mobile-menu-panel {
    width: min(360px, 66.666vw);
    border-left: 1px solid var(--line);
    background: var(--panel);
    color: var(--text);
}

.mobile-menu-panel .offcanvas-header {
    border-bottom: 1px solid var(--line);
}

.mobile-menu-panel .offcanvas-title {
    font-size: 1.15rem;
    font-weight: 900;
}

.mobile-menu-nav {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
}

.mobile-menu-nav button {
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-strong);
    color: var(--text);
    font-weight: 900;
    text-align: left;
}

.mobile-menu-nav button.is-active {
    border-color: var(--brand-2);
    background: color-mix(in srgb, var(--brand-2) 15%, var(--panel-strong));
}

.mobile-theme-toggle {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-strong);
    color: var(--text);
    font-weight: 900;
}

.mobile-theme-toggle .material-symbols-rounded {
    font-size: 1.35rem;
}

.onepage {
    width: min(1920px, 100%);
    margin: 0 auto;
    padding: 1rem;
}

.hero-section {
    display: grid;
    min-height: 420px;
    grid-template-columns: minmax(360px, 1.15fr) minmax(320px, 0.85fr);
    gap: 1rem;
    align-items: stretch;
}

.hero-copy,
.hero-stats,
.map-card,
.side-panel,
.install-card,
.admin-panel,
.admin-cards article {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.hero-copy {
    display: flex;
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 4vw, 4rem) clamp(2rem, 4vw, 4rem) clamp(2.8rem, 4.8vw, 5rem);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(236, 248, 255, 0.94)),
        radial-gradient(circle at 50% 38%, rgba(24, 216, 255, 0.14), transparent 14rem),
        var(--panel);
    color: #101827;
}

.section-kicker {
    margin: 0 0 0.5rem;
    color: var(--gold);
    font-weight: 900;
}

.hero-copy h1 {
    max-width: 900px;
    margin: 0 0 2rem;
    color: #6540c8;
    font-size: clamp(2.1rem, 3.4vw, 4.6rem);
    line-height: 1.05;
    font-weight: 900;
    text-align: center;
}

.hero-title-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.55rem, 1vw, 1rem);
    flex-wrap: nowrap;
    white-space: nowrap;
}

.hero-title-logo {
    display: inline-grid;
    max-width: 320px;
    height: 1.1em;
    place-items: center;
    flex: 0 0 auto;
    transform: translateY(-7px);
}

.hero-title-logo img {
    display: block;
    width: auto;
    max-width: 320px;
    height: 100%;
    object-fit: contain;
}

.hero-copy p {
    max-width: 720px;
    color: #202939;
    font-size: clamp(1rem, 1.3vw, 1.35rem);
    font-weight: 700;
}

.hero-eyebrow {
    margin: 0 0 0.35rem;
    color: #171923;
    font-size: clamp(1.05rem, 1.35vw, 1.55rem);
    font-weight: 900;
}

.hero-badge {
    align-self: center;
    margin: 0 0 2rem;
    color: #a86b08;
    font-size: clamp(1rem, 1.15vw, 1.25rem);
    font-weight: 900;
}

.hero-badge::before,
.hero-badge::after {
    display: inline-block;
    margin: 0 0.45rem;
    color: #bf7c10;
    content: "⌁";
}

.hero-main-copy {
    align-self: center;
    margin: 0;
    text-align: center;
    font-size: clamp(2.15rem, 3vw, 4rem) !important;
    line-height: 1.35;
    font-weight: 900 !important;
}

.hero-main-copy strong {
    background: linear-gradient(90deg, #d83d94, #ef4e72);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub-copy {
    align-self: center;
    margin: 1.8rem 0 0;
    text-align: center;
    font-size: clamp(1rem, 1.2vw, 1.35rem) !important;
    line-height: 1.55;
}

[data-bs-theme="dark"] .hero-copy {
    background:
        linear-gradient(180deg, rgba(14, 24, 52, 0.94), rgba(7, 13, 31, 0.96)),
        radial-gradient(circle at 46% 34%, rgba(77, 118, 185, 0.26), transparent 15rem),
        var(--panel);
    color: #f7faff;
}

[data-bs-theme="dark"] .hero-copy h1 {
    color: #b98cff;
}

[data-bs-theme="dark"] .hero-copy p,
[data-bs-theme="dark"] .hero-eyebrow,
[data-bs-theme="dark"] .hero-sub-copy {
    color: #f4f7ff;
}

[data-bs-theme="dark"] .hero-badge {
    color: #ffca63;
}

[data-bs-theme="dark"] .hero-badge::before,
[data-bs-theme="dark"] .hero-badge::after {
    color: #ffd97a;
}

[data-bs-theme="dark"] .hero-main-copy strong {
    background: linear-gradient(90deg, #ff65cc, #ff7446);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-actions {
    display: flex;
    justify-content: center;
    margin-top: 2.2rem;
    margin-bottom: 1.5rem;
}

.hero-actions .btn {
    min-width: min(280px, 100%);
    border: 0;
    border-radius: 8px;
    background: #5b3dff;
    padding: 0.95rem 1.5rem;
    box-shadow: 0 14px 28px rgba(91, 61, 255, 0.22);
    color: #fff;
    font-weight: 900;
    line-height: 1.1;
}

.hero-actions .btn:hover,
.hero-actions .btn:focus {
    background: #4c31df;
    color: #fff;
}

[data-bs-theme="dark"] .hero-actions .btn {
    background: #18d8ff;
    box-shadow: 0 16px 32px rgba(24, 216, 255, 0.18);
    color: #061325;
}

[data-bs-theme="dark"] .hero-actions .btn:hover,
[data-bs-theme="dark"] .hero-actions .btn:focus {
    background: #5fe7ff;
    color: #061325;
}

.hero-stats {
    position: relative;
    min-height: 220px;
    gap: 1rem;
    padding: 1rem;
    overflow: hidden;
}

.mobile-map-stats {
    display: none;
}

.hero-stats-track {
    position: relative;
    height: 100%;
    min-height: 100%;
}

.hero-stats-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    opacity: 0;
    transform: translateX(105%);
    transition: transform 0.56s ease, opacity 0.56s ease;
    pointer-events: none;
}

.hero-stats-slide.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.hero-stats-slide.is-leaving {
    opacity: 0;
    transform: translateX(-105%);
}

.hero-stats article {
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--panel-strong) 82%, transparent);
}

.hero-stats article[data-map-type] {
    cursor: pointer;
}

.hero-stats .material-symbols-rounded {
    color: var(--brand);
    font-size: clamp(2.2rem, 3vw, 3.3rem);
}

.hero-stats strong {
    color: var(--brand);
    font-size: clamp(2rem, 3.4vw, 4rem);
    font-weight: 900;
}

.hero-stats span,
.feature-list li {
    color: var(--text);
    font-weight: 800;
}

.hero-stats-slide article:first-child {
    background: linear-gradient(145deg, rgba(244, 239, 255, 0.98), rgba(236, 247, 255, 0.96));
}

.hero-stats-slide article:last-child {
    background: linear-gradient(145deg, rgba(255, 240, 236, 0.98), rgba(239, 248, 255, 0.96));
}

.hero-stats article > span:last-child {
    color: #1e293b;
    font-size: clamp(1rem, 1.2vw, 1.35rem);
}

[data-bs-theme="dark"] .hero-stats .material-symbols-rounded,
[data-bs-theme="dark"] .hero-stats strong,
[data-bs-theme="dark"] .hero-stats article > span:last-child {
    color: #fff;
}

[data-bs-theme="dark"] .hero-stats-slide article:first-child {
    background: linear-gradient(145deg, #44359f, #7052d8);
}

[data-bs-theme="dark"] .hero-stats-slide article:last-child {
    background: linear-gradient(145deg, #ef4a3d, #ff6a22);
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(520px, 1.35fr) minmax(340px, 0.65fr);
    gap: 1rem;
    margin-top: 1rem;
}

.map-card,
.side-panel {
    padding: 1rem;
}

.section-heading,
.admin-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-top-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-home-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--panel-strong) 82%, transparent);
    color: var(--muted);
    font-weight: 900;
}

.admin-home-link:hover,
.admin-home-link:focus {
    border-color: var(--brand-2);
    color: var(--text);
}

.admin-home-link .material-symbols-rounded {
    font-size: 1.15rem;
}

.section-heading h2,
.side-panel h2,
.admin-main h1 {
    margin: 0;
    font-size: clamp(1.15rem, 1.35vw, 1.25rem);
    font-weight: 900;
}

.map-title-brand,
.section-title-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.map-title-logo,
.section-title-logo {
    display: inline-grid;
    max-width: 150px;
    height: 40px;
    place-items: center;
    flex: 0 0 auto;
}

.map-title-logo img,
.section-title-logo img {
    display: block;
    width: auto;
    max-width: 150px;
    height: 40px;
    object-fit: contain;
}

.map-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 38px;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-strong);
    color: var(--text);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.map-all-btn:hover,
.map-all-btn:focus {
    border-color: var(--brand-2);
    background: color-mix(in srgb, var(--brand-2) 16%, var(--panel-strong));
}

.map-all-btn .material-symbols-rounded {
    font-size: 1.15rem;
}

.map-filter-menu {
    min-width: 140px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-strong);
    box-shadow: var(--shadow);
    padding: 0.35rem;
}

.map-filter-menu .dropdown-item {
    border-radius: 6px;
    color: var(--text);
    font-weight: 900;
}

.map-filter-menu .dropdown-item:hover,
.map-filter-menu .dropdown-item:focus,
.map-filter-menu .dropdown-item.active {
    background: color-mix(in srgb, var(--brand-2) 16%, var(--panel-strong));
    color: var(--text);
}

.map-status {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 800;
}

.map-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #dcecff;
}

.kakao-map {
    width: 100%;
    height: min(62vh, 680px);
    min-height: 500px;
}

.station-marker {
    position: relative;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    transform: translateY(-8px);
    font: inherit;
    pointer-events: auto;
    cursor: pointer;
}

.station-marker-photo {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    overflow: hidden;
    border: 2px solid #ff4f78;
    border-radius: 50%;
    background: linear-gradient(135deg, #4632d8, #1ec8ff);
    box-shadow: 0 4px 10px rgba(11, 21, 50, 0.28);
    color: #fff;
}

.station-marker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

.station-marker-photo .material-symbols-rounded {
    font-size: 1.55rem;
}

.station-marker-fallback {
    display: none;
}

.station-marker-photo em {
    position: absolute;
    right: 50%;
    bottom: -1px;
    transform: translateX(50%);
    padding: 0.05rem 0.22rem;
    border-radius: 3px;
    background: #ff443d;
    color: #fff;
    font-size: 0.45rem;
    font-style: normal;
    font-weight: 900;
    line-height: 1.1;
}

.station-marker-label {
    display: grid;
    min-width: 78px;
    margin-top: 0.26rem;
    padding: 0.24rem 0.36rem;
    border-radius: 6px;
    background: #ff4b57;
    box-shadow: 0 4px 10px rgba(11, 21, 50, 0.2);
    color: #fff;
    text-align: center;
}

.station-marker-label strong {
    font-size: 0.62rem;
    font-weight: 900;
    line-height: 1.15;
}

.station-marker-label span {
    margin-top: 0.08rem;
    font-size: 0.48rem;
    font-weight: 800;
    opacity: 0.92;
}

.station-marker-center .station-marker-photo {
    border-color: #7b5cff;
    background: linear-gradient(135deg, #5c3bdc, #8b5cf6);
}

.station-marker-center .station-marker-label {
    background: #6d4de3;
}

.station-marker-center .station-marker-photo em {
    background: #6d4de3;
}

.station-marker-pending .station-marker-photo {
    border-color: #ffd166;
    background: linear-gradient(135deg, #34405b, #ffb703);
}

.station-marker-pending .station-marker-label {
    background: #f59e0b;
}

.station-marker-pending .station-marker-photo em {
    background: #f59e0b;
    color: #fff;
}

.station-detail-card {
    position: absolute;
    right: auto;
    bottom: 1rem;
    left: 1rem;
    z-index: 30;
    width: min(390px, calc(100% - 2rem));
    min-height: 114px;
    padding: 0.9rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: color-mix(in srgb, var(--panel-strong) 94%, transparent);
    box-shadow: var(--shadow);
    color: var(--text);
    opacity: 0;
    transform: translateY(12px);
    transition: transform 0.28s ease, opacity 0.28s ease;
}

[data-bs-theme="dark"] .station-detail-card {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(22, 27, 34, 0.94);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
    color: #f8fafc;
}

.station-detail-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.station-detail-card.is-fading-out {
    opacity: 0;
    transform: translateY(12px);
}

.station-detail-left {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 0.95rem;
    align-items: center;
    min-width: 0;
}

.station-detail-avatar {
    width: 88px;
    height: 88px;
    overflow: hidden;
    border-radius: 9px;
    background: color-mix(in srgb, var(--panel-strong) 78%, #111827);
}

.station-detail-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

.station-detail-text {
    display: grid;
    gap: 0.28rem;
    min-width: 0;
}

.station-detail-text strong {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.2;
}

.station-detail-text strong em {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 0.18rem 0.42rem;
    border-radius: 5px;
    background: #2563eb;
    color: #fff;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
}

.station-detail-pending .station-detail-text strong em {
    background: #f59e0b;
    color: #111827;
}

.station-detail-text span,
.station-detail-text p {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.35;
}

.station-detail-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--text);
}

.station-detail-placeholder .material-symbols-rounded {
    font-size: 2.8rem;
}

.map-info-panel {
    display: grid;
    gap: 0.2rem;
    margin-top: 0.8rem;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--panel-strong) 88%, transparent);
}

.map-info-panel strong {
    color: var(--gold);
}

.map-info-panel span {
    color: var(--muted);
    font-weight: 700;
}

.side-panel {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.swap-panel {
    position: relative;
    min-height: 620px;
    overflow: hidden;
}

.swap-slide {
    position: absolute;
    inset: 0;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateX(105%);
    transition: transform 520ms ease, opacity 520ms ease;
}

.swap-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.swap-slide.is-leaving {
    opacity: 0;
    transform: translateX(-105%);
}

.profit-section h2 {
    margin-bottom: 0.8rem;
}

.profit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.profit-card {
    display: grid;
    min-height: 150px;
    align-content: center;
    justify-items: center;
    gap: 0.25rem;
    padding: 0.9rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-align: center;
    background: rgba(255, 255, 255, 0.94);
}

.profit-card:nth-child(3) {
    grid-column: span 2;
}

.profit-card .material-symbols-rounded {
    margin-bottom: 0.15rem;
    font-size: clamp(2rem, 2.3vw, 2.8rem);
}

.profit-card strong {
    font-size: clamp(0.98rem, 1vw, 1.16rem);
    font-weight: 900;
}

.profit-card small,
.profit-card em {
    color: #475569;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 700;
}

.profit-card em {
    margin-top: 0.25rem;
    color: #64748b;
}

.profit-card b {
    font-size: clamp(1rem, 1vw, 1.18rem);
    font-weight: 900;
}

.profit-purple {
    background: linear-gradient(145deg, rgba(246, 232, 255, 0.96), rgba(239, 244, 255, 0.96));
}

.profit-purple,
.profit-purple .material-symbols-rounded,
.profit-purple strong,
.profit-purple b {
    color: #f060ff;
}

.profit-cyan {
    background: linear-gradient(145deg, rgba(221, 247, 255, 0.96), rgba(239, 248, 255, 0.96));
}

.profit-cyan,
.profit-cyan .material-symbols-rounded,
.profit-cyan strong,
.profit-cyan b {
    color: #23d9ff;
}

.profit-gold {
    background: linear-gradient(145deg, rgba(255, 248, 219, 0.97), rgba(255, 242, 226, 0.96));
}

.profit-gold,
.profit-gold .material-symbols-rounded,
.profit-gold strong,
.profit-gold b {
    color: #ffd21f;
}

.profit-blue {
    background: linear-gradient(145deg, rgba(222, 242, 255, 0.96), rgba(236, 246, 255, 0.96));
}

.profit-blue,
.profit-blue .material-symbols-rounded,
.profit-blue strong,
.profit-blue b {
    color: #19c9ff;
}

.profit-pink {
    background: linear-gradient(145deg, rgba(255, 232, 249, 0.96), rgba(247, 239, 255, 0.96));
}

.profit-pink,
.profit-pink .material-symbols-rounded,
.profit-pink strong,
.profit-pink b {
    color: #ff5bc4;
}

.profit-banner {
    margin-top: 0.55rem;
    padding: 1rem;
    border: 1px solid color-mix(in srgb, #e052ff 45%, var(--line));
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(250, 232, 255, 0.96), rgba(239, 246, 255, 0.96));
    text-align: center;
}

.profit-banner strong {
    color: #ff5cff;
    font-size: clamp(1.05rem, 1.35vw, 1.55rem);
    font-weight: 900;
}

.profit-banner p {
    margin: 0.35rem 0 0;
    color: #a46a00;
    font-weight: 900;
}

[data-bs-theme="dark"] .profit-card {
    background: rgba(13, 23, 51, 0.9);
}

[data-bs-theme="dark"] .profit-card small {
    color: #d5def2;
}

[data-bs-theme="dark"] .profit-card em {
    color: #aebdd9;
}

[data-bs-theme="dark"] .profit-purple {
    background: linear-gradient(145deg, rgba(95, 31, 138, 0.88), rgba(21, 25, 67, 0.95));
}

[data-bs-theme="dark"] .profit-cyan {
    background: linear-gradient(145deg, rgba(0, 112, 148, 0.84), rgba(12, 27, 58, 0.96));
}

[data-bs-theme="dark"] .profit-gold {
    background: linear-gradient(145deg, rgba(113, 76, 19, 0.86), rgba(28, 23, 27, 0.96));
}

[data-bs-theme="dark"] .profit-blue {
    background: linear-gradient(145deg, rgba(0, 88, 142, 0.82), rgba(11, 25, 55, 0.96));
}

[data-bs-theme="dark"] .profit-pink {
    background: linear-gradient(145deg, rgba(112, 31, 97, 0.86), rgba(30, 20, 54, 0.96));
}

[data-bs-theme="dark"] .profit-banner {
    background: linear-gradient(145deg, rgba(84, 25, 106, 0.88), rgba(28, 21, 62, 0.96));
}

[data-bs-theme="dark"] .profit-banner p {
    color: #ffe15c;
}

.graph-section h2 {
    margin-bottom: 0.8rem;
}

.chart-panel {
    display: grid;
    flex: 1 1 auto;
    min-height: 320px;
    place-items: center;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--panel-strong) 88%, transparent);
}

.chart-panel canvas {
    width: 100% !important;
    max-height: 100%;
}

.invest-section {
    gap: 0.75rem;
}

.invest-section h2 {
    margin-bottom: 0.25rem;
}

.invest-formula,
.invest-limit,
.invest-value {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(232, 244, 255, 0.94));
}

.invest-formula {
    display: grid;
    grid-template-columns: 0.82fr 1fr auto 1fr auto 1.1fr;
    gap: 0.45rem;
    align-items: center;
    padding: 0.8rem;
}

.invest-label {
    color: #475569;
    font-weight: 900;
}

.invest-box {
    display: grid;
    gap: 0.15rem;
    justify-items: center;
    padding: 0.75rem 0.55rem;
    border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line));
    border-radius: 8px;
    background: rgba(91, 61, 255, 0.12);
    text-align: center;
}

.invest-box span {
    color: #6540c8;
    font-weight: 800;
}

.invest-box strong {
    color: #0f172a;
    font-size: clamp(1rem, 1.1vw, 1.28rem);
    font-weight: 900;
}

.invest-total {
    background: rgba(0, 167, 216, 0.16);
}

.invest-formula > b {
    color: #0f172a;
    font-size: 1.4rem;
}

.invest-limit {
    display: grid;
    grid-template-columns: 0.78fr minmax(0, 1.5fr) minmax(118px, 0.95fr);
    gap: 0.6rem;
    align-items: center;
    padding: 0.9rem;
}

.invest-limit strong {
    color: #b88600;
    font-size: clamp(1rem, 1.15vw, 1.32rem);
    font-weight: 900;
    white-space: nowrap;
}

.invest-limit p {
    margin: 0.3rem 0 0;
    color: #b88600;
    font-size: clamp(0.98rem, 1.1vw, 1.25rem);
    font-weight: 900;
    white-space: nowrap;
}

.profit-visual {
    position: relative;
    display: flex;
    height: 76px;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 0.22rem;
    padding-top: 12px;
}

.profit-visual span {
    width: 16px;
    border: 1px solid #ffb229;
    border-radius: 50% / 18%;
    background: repeating-linear-gradient(
        to bottom,
        #ffd55a 0,
        #ffd55a 8px,
        #d98a13 9px,
        #f5aa22 14px
    );
    box-shadow: 0 0 10px rgba(255, 190, 45, 0.3);
}

.profit-visual span:nth-child(1) {
    height: 16px;
}

.profit-visual span:nth-child(2) {
    height: 24px;
}

.profit-visual span:nth-child(3) {
    height: 32px;
}

.profit-visual span:nth-child(4) {
    height: 46px;
}

.profit-visual span:nth-child(5) {
    height: 58px;
}

.invest-value {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(170px, 0.55fr);
    gap: 0.75rem;
    align-items: center;
    padding: 0.9rem;
}

.invest-value strong {
    color: #6540c8;
    font-size: clamp(1rem, 1.18vw, 1.35rem);
    font-weight: 900;
}

.invest-value p {
    margin: 0.35rem 0 0;
    color: #334155;
    font-weight: 800;
}

.invest-share {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-self: center;
    overflow: hidden;
    min-height: 70px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(91, 61, 255, 0.1);
}

.invest-share span {
    display: grid;
    gap: 0.2rem;
    place-items: center;
    padding: 0.55rem 0.4rem;
    color: #2563eb;
    font-weight: 900;
}

.invest-share span + span {
    border-left: 1px solid var(--line);
    color: #ff58cf;
}

.invest-share strong {
    display: block;
    color: inherit;
    font-size: clamp(1.2rem, 1.45vw, 1.75rem);
}

.roadmap-panel {
    padding: 0.9rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(234, 245, 255, 0.94));
}

.roadmap-line {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
    margin-top: 0.75rem;
}

.roadmap-line::before {
    position: absolute;
    top: 54px;
    right: 7%;
    left: 7%;
    height: 3px;
    background: linear-gradient(90deg, #7f39ff, #a43cff);
    content: "";
}

.roadmap-line article {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 0.18rem;
    text-align: center;
}

.roadmap-line article:not(:last-child)::after {
    position: absolute;
    top: 48px;
    right: -10px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #9c42ff;
    content: "";
}

.roadmap-line strong {
    color: #0f172a;
    font-weight: 900;
}

.roadmap-line span {
    color: #475569;
    font-size: 0.82rem;
    font-weight: 800;
}

.roadmap-line i {
    position: relative;
    z-index: 1;
    display: grid;
    width: 48px;
    height: 48px;
    margin: 0.25rem 0 0.3rem;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #8d36ff, #16b9ff);
    box-shadow: 0 0 20px rgba(113, 67, 255, 0.55);
    color: #fff;
    font-size: 1.6rem;
    font-style: normal;
}

.roadmap-line p {
    margin: 0;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.35;
}

[data-bs-theme="dark"] .invest-formula,
[data-bs-theme="dark"] .invest-limit,
[data-bs-theme="dark"] .invest-value {
    background: linear-gradient(145deg, rgba(10, 20, 45, 0.92), rgba(17, 25, 61, 0.95));
}

[data-bs-theme="dark"] .invest-label {
    color: #b7c5e7;
}

[data-bs-theme="dark"] .invest-box {
    background: rgba(60, 45, 112, 0.45);
}

[data-bs-theme="dark"] .invest-box span {
    color: #d8c9ff;
}

[data-bs-theme="dark"] .invest-box strong,
[data-bs-theme="dark"] .invest-formula > b,
[data-bs-theme="dark"] .roadmap-line strong {
    color: #ffffff;
}

[data-bs-theme="dark"] .invest-total {
    background: rgba(14, 88, 130, 0.45);
}

[data-bs-theme="dark"] .invest-limit strong,
[data-bs-theme="dark"] .invest-limit p {
    color: #ffd82f;
}

[data-bs-theme="dark"] .invest-value strong {
    color: #bba6ff;
}

[data-bs-theme="dark"] .invest-value p {
    color: #dbe5ff;
}

[data-bs-theme="dark"] .invest-share {
    background: rgba(44, 39, 101, 0.5);
}

[data-bs-theme="dark"] .invest-share span {
    color: #b9d8ff;
}

[data-bs-theme="dark"] .invest-share span + span {
    color: #ff58cf;
}

[data-bs-theme="dark"] .roadmap-panel {
    background: linear-gradient(145deg, rgba(6, 18, 46, 0.95), rgba(12, 18, 48, 0.96));
}

[data-bs-theme="dark"] .roadmap-line span {
    color: #e5eaff;
}

[data-bs-theme="dark"] .roadmap-line p {
    color: #dce6ff;
}

.feature-list {
    display: grid;
    gap: 0.7rem;
    padding: 0;
    margin: 1rem 0 0;
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--panel-strong) 80%, transparent);
}

.feature-list .material-symbols-rounded {
    color: var(--brand-2);
}

.form-control {
    border-color: var(--line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--panel-strong) 90%, transparent);
    color: var(--text);
}

.form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--brand) 22%, transparent);
}

.consult-modal .modal-content {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel-strong);
    color: var(--text);
    box-shadow: var(--shadow);
}

.consult-modal .modal-header,
.consult-modal .modal-footer {
    border-color: var(--line);
}

.consult-modal .modal-title {
    font-size: 1.35rem;
    font-weight: 900;
}

.consult-modal .modal-body {
    display: grid;
    gap: 0.85rem;
}

.consult-modal .form-label {
    display: grid;
    gap: 0.35rem;
    margin: 0;
    color: var(--text);
    font-weight: 900;
}

.region-select-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.region-select-grid.region-select-single {
    grid-template-columns: 1fr;
}

.consult-modal .btn-primary {
    min-width: 140px;
    border: 0;
    background: var(--brand);
    font-weight: 900;
}

.consult-modal .btn-primary:hover,
.consult-modal .btn-primary:focus {
    background: color-mix(in srgb, var(--brand) 86%, #000);
}

[data-bs-theme="dark"] .consult-modal .btn-close {
    filter: invert(1) grayscale(100%);
}

.toast-stack {
    position: fixed;
    top: 90px;
    right: 1rem;
    z-index: 2000;
    display: grid;
    width: min(360px, calc(100vw - 2rem));
    gap: 0.6rem;
}

.nft-toast {
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-strong);
    box-shadow: var(--shadow);
    color: var(--text);
    font-weight: 800;
}

.install-body,
.admin-body {
    min-height: 100vh;
}

.install-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 1rem;
}

.install-card {
    width: min(980px, 100%);
    padding: clamp(1.2rem, 3vw, 2.2rem);
}

.auth-card {
    width: min(460px, 100%);
}

.install-card h1,
.install-card h2 {
    font-weight: 900;
}

.form-section {
    padding: 1rem 0;
    border-top: 1px solid var(--line);
}

.form-help {
    margin: 0.65rem 0 0;
    color: var(--muted);
}

.admin-logo-preview {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-strong);
}

.admin-logo-preview span {
    color: var(--muted);
    font-weight: 900;
}

.admin-logo-preview img {
    display: block;
    max-width: 180px;
    max-height: 54px;
    object-fit: contain;
}

.admin-layout {
    display: grid;
    min-height: 100vh;
    grid-template-columns: 260px 1fr;
}

.admin-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem;
    border-right: 1px solid var(--line);
    background: var(--panel);
}

.admin-sidebar strong {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 900;
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.8rem;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 900;
}

.admin-sidebar .material-symbols-rounded {
    font-size: 1.25rem;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
    background: color-mix(in srgb, var(--brand) 18%, transparent);
    color: var(--text);
}

.admin-sidebar-group {
    display: grid;
    gap: 0.35rem;
    margin: 0.6rem 0;
    padding: 0.7rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.admin-sidebar-title {
    padding: 0 0.8rem;
    color: var(--gold);
    font-size: 0.86rem;
    font-weight: 900;
}

.admin-sidebar a.admin-station-link {
    padding: 0.58rem 0.8rem;
    font-size: 0.92rem;
}

.admin-sidebar a.admin-station-link span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-sidebar-empty {
    padding: 0.35rem 0.8rem;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.admin-main {
    padding: 1rem;
}

.admin-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-cards article,
.admin-panel {
    padding: 1rem;
}

.admin-cards span {
    color: var(--muted);
    font-weight: 800;
}

.admin-cards strong {
    display: block;
    color: var(--brand-2);
    font-size: 2.2rem;
    font-weight: 900;
}

.consult-name-cell {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 900;
}

.consult-avatar {
    display: inline-grid;
    width: 57px;
    height: 57px;
    flex: 0 0 57px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: color-mix(in srgb, var(--brand) 18%, var(--panel-strong));
    color: var(--text);
    object-fit: cover;
}

.consult-avatar-empty .material-symbols-rounded {
    font-size: 1.25rem;
}

.admin-status-pill {
    display: inline-flex;
    min-height: 31px;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.7rem;
    border: 1px solid color-mix(in srgb, var(--brand-2) 54%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand-2) 14%, transparent);
    color: var(--brand-2);
    font-size: 0.86rem;
    font-weight: 900;
    white-space: nowrap;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 31px;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 900;
    white-space: nowrap;
}

.status-approved {
    border: 1px solid rgba(34, 211, 238, 0.55);
    background: rgba(34, 211, 238, 0.12);
    color: #22d3ee;
}

.status-pending {
    border: 1px solid rgba(255, 209, 102, 0.55);
    background: rgba(255, 209, 102, 0.13);
    color: #ffd166;
}

.admin-row-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.admin-station-detail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.admin-station-detail article {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-strong);
}

.admin-station-detail span {
    display: block;
    color: var(--muted);
    font-weight: 800;
}

.admin-station-detail strong {
    display: block;
    margin-top: 0.3rem;
    font-size: 1.4rem;
    font-weight: 900;
}

@media (min-width: 1201px) and (orientation: landscape) {
    html,
    body {
        height: 100%;
        overflow: hidden;
    }

    .site-header {
        position: relative;
        flex: 0 0 auto;
    }

    .navbar {
        min-height: 72px;
    }

    .onepage {
        display: grid;
        width: 100%;
        height: calc(100vh - 73px);
        grid-template-columns: minmax(320px, 3fr) minmax(520px, 4fr) minmax(320px, 3fr);
        grid-template-rows: minmax(0, 1fr);
        grid-template-areas:
            "hero map side";
        gap: 0.65rem;
        padding: 0.65rem;
        overflow: hidden;
    }

    .hero-section {
        grid-area: hero;
        display: grid;
        min-width: 0;
        min-height: 0;
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr) 225px;
        gap: 0.85rem;
        overflow: hidden;
    }

    .hero-copy,
    .hero-stats,
    .map-card,
    .side-panel {
        min-height: 0;
    }

    .hero-copy {
        overflow: hidden;
        justify-content: center;
        gap: clamp(0.8rem, 1.08vw, 1.25rem);
        padding: 1.35rem clamp(1.35rem, 1.65vw, 1.85rem) 1.35rem;
    }

    .hero-copy h1 {
        max-width: none;
        margin-bottom: clamp(0.75rem, 1vw, 1.1rem);
        font-size: clamp(1.85rem, 2vw, 2.45rem);
    }

    .hero-copy p {
        font-size: clamp(0.86rem, 0.88vw, 0.98rem);
    }

    .hero-eyebrow {
        margin-bottom: 0.25rem;
        font-size: clamp(0.98rem, 1.05vw, 1.18rem);
    }

    .hero-badge {
        margin-bottom: clamp(0.75rem, 1vw, 1.15rem);
        font-size: clamp(0.92rem, 0.98vw, 1.08rem);
    }

    .hero-main-copy {
        font-size: clamp(2.1rem, 2.58vw, 3.15rem) !important;
        line-height: 1.25;
    }

    .hero-sub-copy {
        margin-top: clamp(0.85rem, 1.08vw, 1.2rem);
        font-size: clamp(0.95rem, 1vw, 1.08rem) !important;
        line-height: 1.45;
    }

    .hero-actions {
        display: flex;
        margin-top: clamp(1rem, 1.35vw, 1.6rem);
        margin-bottom: clamp(0.75rem, 1vw, 1.15rem);
    }

    .hero-actions .btn {
        min-width: min(290px, 92%);
        padding: 0.9rem 1.35rem;
        font-size: 1.06rem;
    }

    .hero-stats {
        min-height: 0;
        gap: 0.65rem;
        padding: 0.65rem;
        overflow: hidden;
    }

    .hero-stats-slide {
        gap: 0.65rem;
    }

    .hero-stats article {
        min-height: 0;
        padding: 0.65rem;
        align-content: center;
        gap: 0.48rem;
    }

    .hero-stats .material-symbols-rounded {
        font-size: clamp(2rem, 2.45vw, 3rem);
    }

    .hero-stats strong {
        font-size: clamp(2.4rem, 3vw, 3.8rem);
        line-height: 1;
    }

    .hero-stats article > span:last-child {
        font-size: clamp(0.95rem, 1.05vw, 1.2rem);
        line-height: 1.1;
    }

    .content-grid {
        display: contents;
        margin-top: 0;
    }

    .map-card {
        grid-area: map;
        display: flex;
        flex-direction: column;
        padding: 0.8rem;
        overflow: hidden;
    }

    .map-card .section-heading {
        flex: 0 0 auto;
        margin-bottom: 0.65rem;
    }

    .map-shell {
        flex: 1 1 auto;
        min-height: 0;
    }

    .kakao-map {
        height: 100%;
        min-height: 0;
    }

    .map-info-panel {
        flex: 0 0 auto;
        margin-top: 0.55rem;
        padding: 0.65rem 0.75rem;
    }

    .side-panel {
        grid-area: side;
        display: block;
        padding: 0.8rem;
        overflow: hidden;
    }

    .swap-panel {
        height: 100%;
        min-height: 0;
    }

    .profit-section {
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) minmax(120px, 0.2fr);
        gap: 0.65rem;
    }

    .profit-grid {
        grid-template-rows: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
        min-height: 0;
    }

    .profit-card {
        min-height: 0;
        padding: 0.85rem 0.6rem;
    }

    .profit-card small,
    .profit-card em {
        font-size: 0.72rem;
    }

    .profit-banner {
        display: grid;
        min-height: 120px;
        align-content: center;
        padding: 1rem;
        margin-top: 0;
    }

    .chart-panel {
        min-height: 0;
    }

    .invest-section {
        display: grid;
        grid-template-rows: auto repeat(3, minmax(104px, 0.88fr)) minmax(176px, 1.25fr);
        gap: 0.5rem;
    }

    .invest-formula,
    .invest-limit,
    .invest-value,
    .roadmap-panel {
        min-height: 0;
    }

    .invest-formula,
    .invest-limit,
    .invest-value,
    .roadmap-panel {
        padding: 0.65rem;
    }

    .roadmap-panel {
        padding-bottom: 0.95rem;
    }

    .invest-formula,
    .invest-limit,
    .invest-value {
        height: 100%;
    }

    .invest-value strong {
        font-size: clamp(0.95rem, 1vw, 1.15rem);
    }

    .invest-value p {
        font-size: 0.8rem;
    }

    .invest-share {
        min-height: 68px;
    }

    .invest-share strong {
        font-size: clamp(1.1rem, 1.28vw, 1.55rem);
    }

    .profit-visual {
        height: 68px;
    }

    .profit-visual span {
        width: 16px;
    }

    .roadmap-line i {
        width: 42px;
        height: 42px;
        font-size: 1.4rem;
        transform: translateY(-2px);
    }

    .roadmap-line p {
        font-size: 0.76rem;
        line-height: 1.28;
    }

    .roadmap-line::before {
        top: 70px;
    }

    .roadmap-line article:not(:last-child)::after {
        top: 64px;
    }

}

@media (max-width: 1200px) {
    #themeToggle,
    .admin-link {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-grid;
    }

    .mobile-menu-panel {
        width: 33.333vw;
        min-width: 300px;
    }

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

    .onepage {
        display: block;
        min-height: calc(100svh - 73px);
        padding: 0.55rem;
    }

    .hero-section,
    .side-panel,
    .map-card {
        display: none;
    }

    body.mobile-view-map .map-card,
    body.mobile-view-profit .side-panel {
        display: flex;
    }

    body.mobile-view-profit .side-panel {
        display: block;
        height: calc(100svh - 84px);
        overflow: hidden;
    }

    body.mobile-view-participate .hero-section {
        display: grid;
    }

    .content-grid {
        display: block;
        margin-top: 0;
    }

    .map-card {
        min-height: calc(100svh - 84px);
        height: calc(100svh - 84px);
        padding: 0.55rem;
        flex-direction: column;
    }

    .map-card .section-heading {
        flex: 0 0 auto;
        margin-bottom: 0.55rem;
    }

    .map-shell {
        flex: 1 1 auto;
        min-height: 0;
        height: auto;
    }

    .kakao-map {
        height: 100%;
        min-height: 0;
    }

    body.mobile-view-map .mobile-map-stats {
        display: block;
        flex: 0 0 128px;
        min-height: 128px;
        margin-top: 0.55rem;
        padding: 0.45rem;
    }

    .mobile-map-stats .hero-stats-slide {
        gap: 0.55rem;
    }

    .mobile-map-stats article {
        min-height: 0;
        padding: 0.55rem;
        align-content: center;
        gap: 0.25rem;
    }

    .mobile-map-stats .material-symbols-rounded {
        font-size: clamp(1.65rem, 4vw, 2.25rem);
    }

    .mobile-map-stats strong {
        font-size: clamp(1.9rem, 5.8vw, 3rem);
        line-height: 1;
    }

    .mobile-map-stats article > span:last-child {
        font-size: clamp(0.82rem, 2.7vw, 1rem);
        line-height: 1.12;
    }

    .side-panel {
        min-height: calc(100svh - 84px);
        padding: 0.55rem;
        overflow-y: auto;
    }

    body.mobile-view-profit .swap-panel {
        height: 100%;
        min-height: 0;
        overflow: hidden;
    }

    body.mobile-view-profit .swap-slide {
        height: 100%;
        min-height: 0;
        overflow: hidden;
    }

    body.mobile-view-profit .invest-section {
        display: grid;
        height: 100%;
        min-height: 0;
        grid-template-rows: auto minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.22fr);
        gap: 0.55rem;
    }

    body.mobile-view-profit .profit-section {
        display: grid;
        height: 100%;
        min-height: 0;
        grid-template-rows: auto minmax(0, 1fr) auto;
        gap: 0.55rem;
    }

    body.mobile-view-profit .profit-section h2 {
        margin: 0;
        font-size: clamp(1.2rem, 5.2vw, 1.5rem);
        line-height: 1.1;
    }

    body.mobile-view-profit .profit-grid {
        min-height: 0;
        gap: 0.45rem;
    }

    body.mobile-view-profit .profit-card {
        min-height: 0;
        padding: 0.55rem 0.45rem;
    }

    body.mobile-view-profit .profit-card .material-symbols-rounded {
        font-size: 1.75rem;
    }

    body.mobile-view-profit .profit-card strong,
    body.mobile-view-profit .profit-card b {
        font-size: 0.92rem;
        line-height: 1.2;
    }

    body.mobile-view-profit .profit-card small,
    body.mobile-view-profit .profit-card em {
        font-size: 0.66rem;
    }

    body.mobile-view-profit .profit-banner {
        margin-top: 0;
        padding: 0.65rem;
    }

    body.mobile-view-profit .profit-banner strong {
        font-size: 1rem;
        line-height: 1.25;
    }

    body.mobile-view-profit .profit-banner p {
        font-size: 0.78rem;
    }

    body.mobile-view-profit .invest-section h2 {
        margin: 0;
        font-size: clamp(1.2rem, 5.2vw, 1.5rem);
        line-height: 1.1;
    }

    body.mobile-view-profit .invest-formula,
    body.mobile-view-profit .invest-limit,
    body.mobile-view-profit .invest-value,
    body.mobile-view-profit .roadmap-panel {
        min-height: 0;
        padding: 0.65rem;
    }

    body.mobile-view-profit .invest-formula {
        grid-template-columns: 0.72fr 1fr auto 1fr auto 1.1fr;
        gap: 0.32rem;
    }

    body.mobile-view-profit .invest-label {
        font-size: 0.86rem;
        line-height: 1.25;
    }

    body.mobile-view-profit .invest-box {
        padding: 0.55rem 0.32rem;
    }

    body.mobile-view-profit .invest-box span,
    body.mobile-view-profit .invest-box strong {
        font-size: 0.92rem;
        line-height: 1.25;
    }

    body.mobile-view-profit .invest-limit {
        grid-template-columns: 0.7fr minmax(0, 1.45fr) minmax(74px, 0.8fr);
        gap: 0.35rem;
    }

    body.mobile-view-profit .invest-limit strong,
    body.mobile-view-profit .invest-limit p {
        font-size: 0.96rem;
        white-space: normal;
    }

    body.mobile-view-profit .profit-visual {
        height: 54px;
        gap: 0.14rem;
    }

    body.mobile-view-profit .profit-visual span {
        width: 12px;
    }

    body.mobile-view-profit .invest-value {
        grid-template-columns: minmax(0, 1fr) minmax(128px, 0.68fr);
        gap: 0.45rem;
    }

    body.mobile-view-profit .invest-value strong {
        font-size: 0.95rem;
        line-height: 1.25;
    }

    body.mobile-view-profit .invest-value p {
        font-size: 0.76rem;
        line-height: 1.28;
    }

    body.mobile-view-profit .invest-share {
        min-height: 64px;
    }

    body.mobile-view-profit .roadmap-line {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.18rem;
        margin-top: 0.55rem;
    }

    body.mobile-view-profit .roadmap-line::before {
        display: block;
        top: 63px;
        right: 9%;
        left: 9%;
        height: 2px;
    }

    body.mobile-view-profit .roadmap-line article:not(:last-child)::after {
        display: block;
        top: 58px;
        right: -7px;
        border-top-width: 6px;
        border-bottom-width: 6px;
        border-left-width: 9px;
    }

    body.mobile-view-profit .roadmap-line article {
        gap: 0.12rem;
        padding: 0;
    }

    body.mobile-view-profit .roadmap-line i {
        width: 38px;
        height: 38px;
        margin: 0.16rem 0 0.2rem;
        font-size: 1.2rem;
    }

    body.mobile-view-profit .roadmap-line strong {
        font-size: 0.9rem;
    }

    body.mobile-view-profit .roadmap-line span {
        font-size: 0.76rem;
    }

    body.mobile-view-profit .roadmap-line p {
        font-size: 0.68rem;
        line-height: 1.2;
    }

    .hero-section {
        min-height: calc(100svh - 84px);
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr) auto;
        gap: 0.55rem;
        overflow-y: auto;
    }
}

@media (max-width: 768px) {
    .mobile-menu-panel {
        width: min(360px, 66.666vw);
        min-width: 0;
    }

    .region-select-grid {
        grid-template-columns: 1fr;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .admin-cards {
        grid-template-columns: 1fr;
    }

    .onepage {
        padding: 0.45rem;
    }

    .map-card {
        min-height: calc(100svh - 80px);
        height: calc(100svh - 80px);
    }

    body.mobile-view-profit .side-panel {
        height: calc(100svh - 80px);
    }

    .map-shell {
        height: auto;
    }

    .kakao-map {
        height: 100%;
    }

    body.mobile-view-map .mobile-map-stats {
        flex-basis: 124px;
        min-height: 124px;
    }

    body.mobile-view-profit .invest-section {
        gap: 0.45rem;
    }

    body.mobile-view-profit .invest-formula,
    body.mobile-view-profit .invest-limit,
    body.mobile-view-profit .invest-value,
    body.mobile-view-profit .roadmap-panel {
        padding: 0.58rem;
    }
}
