/* =========================
   RESET
========================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f3f4f6;
}

/* =========================
   HEADER
========================= */
.st-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.st-header-top {
    display: grid;
    grid-template-columns: 40px 1fr auto 1fr auto;
    align-items: center;
    padding: 10px 15px;
}

.st-menu-btn {
    grid-column: 1;
}

.st-logo {
    grid-column: 3;
    text-align: center;
}

.st-logo img {
    height: 40px;
}

.st-user {
    grid-column: 5;
    text-align: right;
}

/* =========================
   GNB
========================= */
.st-gnb {
    background: #fff;
}

.st-gnb ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.st-gnb a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    color: #111;
    text-decoration: none;
    padding: 12px 0;
}

.st-gnb a.on {
    border-bottom: 2px solid #22c55e;
    padding-bottom: 5px;
}

/* =========================
   LAYOUT
========================= */
.st-container {
    display: flex;
    width: 100%;
}

.st-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #111827;
    color: #fff;
    padding: 15px;
}

.st-content {
    flex: 1;
    width: 100%;
    min-width: 0;
    padding: 15px;
}

.card {
    width: 100%;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
}

/* =========================
   SUB MENU
========================= */
.st-sub-menu {
    margin-bottom: 10px;
}

.st-sub-menu a {
    margin-right: 10px;
    padding: 6px 10px;
    background: #e5e7eb;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.st-sub-menu .on {
    background: #2563eb;
    color: #fff;
}

/* =========================
   TREE PAGE
========================= */
.tree_page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 16px;
    box-sizing: border-box;
}

.tree_wrap {
    display: flex;
    gap: 14px;
    min-height: calc(100vh - 110px);
    padding: 0;
}

.panel {
    width: 360px;
    min-width: 360px;
    background: #1f2937;
    color: #fff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    box-sizing: border-box;
}

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.panel-toggle {
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 14px;
    cursor: pointer;
}

.panel h2 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.3;
}

.panel .desc {
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-line;
    color: #edf2f7;
    margin-bottom: 14px;
}

.panel .summary,
.panel .lvbox {
    background: rgba(255,255,255,.06);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.panel .summary p,
.panel .lvbox p {
    margin: 0 0 7px;
    font-size: 13px;
}

.panel .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.panel .actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.graph-area {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    position: relative;
}

.graph-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 14px 16px;
    border-bottom: 1px solid #eef2f7;
    background: #fff;
    position: relative;
    z-index: 5;
}

.graph-top .title {
    font-size: 14px;
    font-weight: 700;
}

#recommend_network {
    width: 100%;
    height: calc(100vh - 170px);
    min-height: 700px;
    background: #fff;
    border-radius: 10px;
}

/* =========================
   TOP NAV / BUTTON GROUP
========================= */
.top_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,.05);
    flex-wrap: wrap;
}

.top_nav_left,
.top_nav_right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.top_nav .nav_btn,
.btn_group .nav_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    box-sizing: border-box;
    color: #fff !important;
    white-space: nowrap;
    background: #4f6fdc;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.top_nav .nav_home,
.btn_group .nav_home {
    width: 42px;
    padding: 0;
    background: #1f2937;
}

.top_nav .nav_main,
.btn_group .nav_main {
    background: #2e57c8;
}

.top_nav .nav_sub,
.btn_group .nav_sub {
    background: #4f6fdc;
}

.btn_group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.top_nav_search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
}

.top_nav_search input[type=text] {
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    font-size: 13px;
    min-width: 220px;
    box-sizing: border-box;
}

.top_nav_search button {
    height: 42px;
    padding: 0 16px;
    border: none;
    border-radius: 10px;
    background: #dfe4f2;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* =========================
   TOOLBAR
========================= */
.toolbar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.toolbar-left {
    display: flex;
    gap: 6px;
}

.toolbar-right {
    margin-left: auto;
}

.toolbar form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
}

.toolbar input[type=text] {
    height: 36px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    min-width: 180px;
    box-sizing: border-box;
}

.toolbar button,
.toolbar a {
    height: 36px;
    line-height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    border: 0;
    background: #eef2ff;
    color: #1e3a8a;
    text-decoration: none;
    font-size: 13px;
    display: inline-block;
    box-sizing: border-box;
}

.toolbar .on {
    background: #1d4ed8;
    color: #fff;
}

/* =========================
   LIST
========================= */
.st-list {
    width: 100%;
}

.st-item {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.st-item-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.st-item-top .date {
    font-size: 12px;
    color: #6b7280;
}

.st-item-top .price {
    font-size: 16px;
    font-weight: bold;
    color: #2563eb;
}

.st-item-body .line {
    display: flex;
    font-size: 13px;
    margin-bottom: 4px;
}

.st-item-body .label {
    width: 70px;
    color: #9ca3af;
}

/* =========================
   STORE MAP
========================= */
.store-layout {
    display: flex;
    gap: 15px;
    height: calc(100vh - 220px);
}

.map-area {
    flex: 2;
    height: 100%;
}

#map {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: #eee;
}

.list-area {
    flex: 1;
    height: 100%;
    max-height: 500px;
    overflow-y: auto;
    background: #f9fafb;
    border-radius: 12px;
    padding: 10px;
}

/* =========================
   COMMON BUTTON
========================= */
.st-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.st-btn.gray {
    background: #6b7280;
}

.st-btn.light {
    background: #e5e7eb;
    color: #111;
}

.st-btn.green {
    background: #22c55e;
}

/* =========================
   FOOTER
========================= */
.st-footer {
    text-align: center;
    padding: 10px;
    background: #f3f4f6;
    margin-top: 20px;
    font-size: 12px;
}

/* =========================
   MOBILE FINAL
========================= */
@media (max-width: 768px) {

    .tree_page {
        padding: 10px !important;
    }

    .st-content {
        width: 100%;
        padding: 10px;
    }

    .st-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        z-index: 999;
        background: #0f172a;
        transform: translateX(-100%);
        transition: 0.3s;
    }

    .st-sidebar.open {
        transform: translateX(0);
    }

    .st-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 998;
        display: none;
    }

    .st-overlay.show {
        display: block;
    }

    .st-gnb ul {
        flex-wrap: wrap;
        gap: 10px;
    }

    .st-gnb li {
        flex: 1 1 45%;
    }

    .st-gnb a {
        display: flex;
        text-align: center;
        background: #374151;
        padding: 10px;
        border-radius: 8px;
        color: #fff;
    }

    .st-gnb a.on {
        background: #22c55e;
        color: #111;
    }

    /* 상단 메뉴: 2열 */
    .top_nav {
        padding: 10px !important;
        gap: 10px !important;
    }

    .top_nav_left {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .top_nav_left .nav_btn {
        width: 100% !important;
        height: 52px !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
    }

    .top_nav_left .nav_home {
        width: 100% !important;
    }

    .top_nav_left .nav_btn:last-child {
        grid-column: 1 / 3 !important;
    }

    .top_nav_right,
    .top_nav_search {
        width: 100% !important;
    }

    .top_nav_search {
        display: flex !important;
        gap: 8px !important;
    }

    .top_nav_search input[type=text] {
        flex: 1 !important;
        min-width: 0 !important;
        height: 52px !important;
    }

    .top_nav_search button {
        width: 74px !important;
        height: 52px !important;
    }

    /* 두번째 버튼그룹: 3열 */
    .btn_group{
        display:grid !important;
        grid-template-columns:repeat(3, 1fr) !important;

        gap:14px 10px !important;  /* 🔥 줄간격 확실히 */
        margin-top:10px !important;
    }

    .btn_group .nav_btn{
        width:100% !important;

        height:52px !important;
        padding:0 !important;

        display:flex !important;
        align-items:center !important;
        justify-content:center !important;

        font-size:14px !important;

        border-radius:10px !important;
    }

    /* 🔥 마지막 버튼 중앙 */
    .btn_group .nav_btn:last-child{
        grid-column:2 / 3;
    }

    /* 트리 */
    .tree_wrap {
        flex-direction: column !important;
        gap: 12px !important;
        min-height: auto !important;
        padding: 0 !important;
    }

    .panel {
        width: 100% !important;
        min-width: 0 !important;
        max-height: 260px !important;
        overflow-y: auto !important;
        padding: 18px !important;
    }

    .panel.closed {
        max-height: 74px !important;
        overflow: hidden !important;
    }

    .graph-area {
        width: 100% !important;
        min-width: 0 !important;
    }

    .graph-top {
        display: grid !important;
        grid-template-columns: 64px 1fr !important;
        gap: 8px !important;
        align-items: start !important;
        padding: 14px !important;
    }

    .graph-top .title {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    .toolbar {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .toolbar form {
        display: flex !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .toolbar input[type=text] {
        flex: 1 !important;
        min-width: 0 !important;
        height: 46px !important;
    }

    .toolbar button,
    .toolbar a {
        height: 46px !important;
        line-height: 46px !important;
        padding: 0 14px !important;
        font-size: 14px !important;
    }

    #recommend_network {
        width: 100% !important;
        height: 68vh !important;
        min-height: 520px !important;
    }

    /* 지도 */
    .store-layout {
        flex-direction: column;
        height: auto;
    }

    .map-area {
        width: 100%;
		height: 270px; /* 모바일 고정 */
    }

    #map {
        width: 100%;
		height: 270px; /* 모바일 고정 */
        aspect-ratio: 1 / 1;
    }

    .list-area {
        height: auto;
        max-height: none;
    }
}

/* =========================
   모바일 추천트리 버튼 3열
========================= */
@media (max-width:768px){

    .top_nav{
        display:block !important;
    }

    .top_nav_left{
        display:grid !important;
        grid-template-columns:repeat(3, 1fr) !important;
        gap:14px 10px !important;
        width:100% !important;
    }

	.top_nav_left .nav_btn {
		display: inline-flex;      /* flex → inline-flex로 수정 */
		align-items: center;
		gap: 6px;

		padding: 8px 14px;         /* 🔥 패딩 복구 */
		margin-right: 6px;

		border-radius: 6px;
		background: #f5f6fa;
	}

	.top_nav_left .nav_btn:hover {
		background: #e9ecf3;
	}

    /* 🔥 검색영역도 같이 정리 */
    .top_nav_right{
        width:100% !important;
        margin-top:14px !important;
    }

    .top_nav_search{
        display:flex !important;
        gap:8px !important;
        width:100% !important;
    }

    .top_nav_search input{
        flex:1 !important;
        min-width:0 !important;
    }

    .top_nav_search button{
        width:70px !important;
        flex-shrink:0 !important;
    }

}

.nav_btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    text-decoration: none;
}

.nav_btn .icon {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.left_box .btn,
.left_box button {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 8px 12px;        /* 🔥 핵심 */
    border-radius: 6px;

    background: #2f3a4c;
    color: #fff;
}

.icon {
    display: inline-block;
    width: 18px;
    text-align: center;

    line-height: 1;           /* 🔥 이거 없으면 위아래 밀림 */
}

.top_nav .nav_btn,
.btn_group .nav_btn {
    height: auto;              /* 🔥 변경 */
    padding: 10px 16px;        /* 🔥 변경 */
}

@media (max-width:768px){

    .top_nav_left .nav_btn{
        background: #4f6fdc !important;   /* 🔥 원래 색 유지 */
        color:#fff !important;
    }

    .top_nav_left .nav_main{
        background:#2e57c8 !important;
    }

    .top_nav_left .nav_sub{
        background:#4f6fdc !important;
    }

    .top_nav_left .nav_btn.active,
    .top_nav_left .nav_btn.on{
        background:#22c55e !important;   /* 선택된 버튼 */
    }

}

.top_nav_left .nav_btn{
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

/* PC에서도 버튼 스타일 강제 통일 */
.top_nav .nav_btn,
.btn_group .nav_btn {

    background: linear-gradient(135deg, #4f6fdc, #5b7cff) !important;
    color: #fff !important;

    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,.12);

}

.top_nav .nav_btn.on,
.top_nav .nav_btn.active {
    background: #22c55e !important;
}

.top_nav .nav_btn:hover {
    background: linear-gradient(135deg, #3f5ed0, #4f6fdc) !important;
}

.st-sub-menu a {

    background: linear-gradient(135deg, #4f6fdc, #5b7cff) !important;
    color: #fff !important;

    border-radius: 10px;
    padding: 10px 14px;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    box-shadow: 0 3px 10px rgba(0,0,0,.12);
}

.st-sub-menu a.on {
    background: #22c55e !important;
    color:#fff !important;
}

.st-sub-menu a:hover {
    background: linear-gradient(135deg, #3f5ed0, #4f6fdc) !important;
}

@media (max-width: 768px) {
    #map {
        height: 270px !important;
    }
}

#store-list {
    max-height: 400px;
    overflow-y: auto;
}

.store-layout {
    display: flex;
    gap: 20px;
}

.map-area {
    flex: 1;
}

#map {
    width: 100%;
    height: 300px;
}

.list-area {
    width: 300px;
    overflow-y: auto;
}


/* 모바일 */
@media (max-width: 768px){

    .store-layout {
        display: block;
    }

    #map {
        height: 220px;
    }

    .list-area {
        width: 100%;
        max-height: 300px;
        margin-top: 10px;
    }
}

/* ================================
   WITHSTAR MEMBER LOGIN
================================ */

.ws-login-wrap {
    max-width: 420px;
    margin: 42px auto 80px;
    padding: 0 16px;
}

.ws-login-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 30px 24px;
    box-shadow: 0 10px 28px rgba(0,0,0,.07);
}

.ws-login-title {
    text-align: center;
    margin-bottom: 24px;
}

.ws-login-title h2 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 800;
}

.ws-login-title p {
    margin: 0;
    font-size: 14px;
    color: #777;
}

.ws-form-group {
    margin-bottom: 14px;
}

.ws-form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
}

.ws-form-group input {
    width: 100%;
    height: 46px;
    padding: 0 13px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 15px;
}

.ws-btn-primary {
    width: 100%;
    height: 48px;
    margin-top: 8px;
    border: 0;
    border-radius: 14px;
    background: #111827;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.ws-login-links {
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
}

.ws-login-links a {
    color: #333;
    text-decoration: none;
}

.ws-login-links span {
    color: #bbb;
    margin: 0 7px;
}

/* ================================
   WITHSTAR HEADER FIX
================================ */

.st-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.st-header-top {
    position: relative;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
}

.st-header-left {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
}

.st-menu-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    font-size: 18px;
    cursor: pointer;
}

.st-star-logo a {
    display: block;
    font-size: 15px;
    font-weight: 900;
    color: #111827;
    text-decoration: none;
    letter-spacing: -.5px;
}

.st-star-logo span {
    color: #00a68a;
}

.st-logo-center {
    text-align: center;
}

.st-logo-center img {
    max-height: 66px;
    width: auto;
    display: block;
}

.st-user {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
}

.st-logout-btn {
    font-size: 14px;
    color: #111827;
    text-decoration: none;
    font-weight: 700;
}

/* GNB */
/* =========================
   LIGHT MENU
========================= */

.st-gnb {
    background: #f8fafc;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 14px;
}

.st-gnb ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.st-gnb li {
    margin: 0;
    padding: 0;
}

.st-gnb a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 44px;
    padding: 0 18px;

    background: #ffffff;
    border: 1px solid #dbe3ec;
    border-radius: 14px;

    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    text-decoration: none;

    box-shadow: 0 2px 8px rgba(0,0,0,.04);

    transition: all .15s ease;
}

.st-gnb a:hover {
    transform: translateY(-1px);
    background: #f1f5f9;
}

.st-gnb a.on {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

/* SIDEBAR 기본 숨김 */
.st-sidebar {
    position: fixed;
    top: 0;
    left: -260px;
    width: 220px;
    height: 100vh;
    background: #111827;
    color: #fff;
    z-index: 9999;
    transition: left .25s ease;
    padding: 18px 14px;
    box-sizing: border-box;
}

.st-sidebar.open {
    left: 0;
}

.st-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 9998;
}

.st-overlay.open {
    display: block;
}

.st-sidebar-title {
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 14px;
}

.st-sidebar-close {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 6px;
    background: #fff;
    color: #111827;
}

.side-menu a {
    display: block;
    padding: 11px 4px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

/* MOBILE */
@media (max-width: 768px) {
    .st-header-top {
        height: 70px;
        padding: 0 12px;
    }

    .st-logo-center img {
        max-height: 48px;
    }

    .st-star-logo a {
        font-size: 13px;
    }

    .st-user {
        right: 12px;
    }

    .st-gnb {
        padding: 10px 8px;
        overflow-x: auto;
    }

    .st-gnb ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }

    .st-gnb a {
        min-width: auto;
        width: 100%;
        height: 38px;
        font-size: 14px;
        border-radius: 12px;
    }
}

/* =========================
   LIGHT SIDEBAR
========================= */

.st-sidebar {
    position: fixed;
    top: 0;
    left: -280px;

    width: 240px;
    height: 100vh;

    background: #ffffff;

    z-index: 9999;

    transition: left .25s ease;

    box-shadow: 4px 0 24px rgba(0,0,0,.08);

    padding: 20px 16px;

    box-sizing: border-box;
}

.st-sidebar.open {
    left: 0;
}

.st-sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 22px;
}

.st-sidebar-title {
    font-size: 22px;
    font-weight: 900;
    color: #111827;
    letter-spacing: -.5px;
}

.st-sidebar-title span {
    color: #00a68a;
}

.st-sidebar-close {
    width: 34px;
    height: 34px;

    border: 1px solid #dbe3ec;
    border-radius: 10px;

    background: #fff;

    font-size: 18px;
    color: #111827;

    cursor: pointer;
}

.side-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.side-menu a {
    display: flex;
    align-items: center;

    height: 48px;

    padding: 0 16px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 14px;

    color: #0f172a;
    font-size: 15px;
    font-weight: 800;

    text-decoration: none;

    transition: all .15s ease;
}

.side-menu a:hover {
    background: #f1f5f9;
    transform: translateX(2px);
}

.side-menu a.on {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

.st-overlay {
    display: none;

    position: fixed;
    inset: 0;

    background: rgba(15,23,42,.28);

    backdrop-filter: blur(2px);

    z-index: 9998;
}

.st-overlay.open {
    display: block;
}

.st-sidebar-title span {
    color: #00a68a;
}

.ws-auto-login {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 14px;
    font-size: 14px;
    color: #555;
}

.ws-auto-login input {
    width: 16px;
    height: 16px;
}

.ws-login-sns {
    margin-top: 18px;
}

.ws-btn-kakao {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 14px;
    background: #fee500;
    color: #191919;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.ws-join-guide {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 18px;
}

.ws-join-step {
    padding: 11px 14px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 14px;
    font-weight: 800;
}

.ws-join-step.on {
    background: #0f172a;
    color: #fff;
}

.ws-join-info {
    margin: 16px 0 20px;
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ws-join-info p {
    margin: 4px 0;
    font-size: 14px;
    color: #334155;
}

.ws-btn-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
}

.ws-agree-box {
    margin: 18px 0;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.ws-agree-box label {
    display: block;
    margin: 10px 0;
    font-size: 14px;
    color: #334155;
}

.ws-agree-box input {
    margin-right: 6px;
}

.ws-terms-wrap {
    max-width: 860px;
    margin: 40px auto 80px;
    padding: 0 16px;
}

.ws-terms-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
}

.ws-terms-title {
    text-align: center;
    margin-bottom: 26px;
}

.ws-terms-title h2 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 900;
}

.ws-terms-title p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.ws-terms-content {
    font-size: 15px;
    line-height: 1.8;
    color: #1f2937;
}

.ws-terms-content h3 {
    margin: 30px 0 10px;
    font-size: 19px;
    font-weight: 900;
    color: #111827;
}

.ws-terms-content h4 {
    margin: 18px 0 6px;
    font-size: 16px;
    font-weight: 800;
}

.ws-terms-content p {
    margin: 6px 0;
}

.ws-terms-content ul,
.ws-terms-content ol {
    margin: 8px 0 14px 20px;
    padding: 0;
}

.ws-terms-bottom {
    margin-top: 30px;
}

.ws-phone-cert-row {
    margin: -4px 0 14px;
}

.ws-btn-sub,
.ws-btn-check {
    width: 100%;
    height: 42px;
    border: 1px solid #dbe3ec;
    border-radius: 12px;
    background: #f8fafc;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.ws-btn-check {
    background: #eef6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.ws-mt-14 {
    margin-top: 14px;
}

.ws-id-check-row {
    margin-top: -4px;
    margin-bottom: 10px;
}

.ws-check-msg {
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
}

.ws-check-msg.success {
    color: #2563eb;
}

.ws-check-msg.fail {
    color: #dc2626;
}

.ws-find-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ws-find-card {
    display: block;
    padding: 18px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    text-decoration: none;
    color: #111827;
}

.ws-find-card strong {
    display: block;
    font-size: 17px;
    font-weight: 900;
    margin-bottom: 6px;
}

.ws-find-card span {
    display: block;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.quick-menu{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.quick-menu .quick-btn,
.quick-menu button.quick-btn,
.quick-menu a.quick-btn{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    min-width:90px !important;
    height:42px !important;

    padding:0 16px !important;

    background:#111827 !important;
    color:#fff !important;

    border:0 !important;
    border-radius:12px !important;

    font-size:14px !important;
    font-weight:600 !important;

    text-decoration:none !important;

    cursor:pointer !important;

    box-sizing:border-box !important;

    appearance:none !important;
    -webkit-appearance:none !important;
}

.quick-menu .quick-btn:hover{
    opacity:0.9;
}

.myo_page_head{

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:20px;

    margin-bottom:20px;

}

.myo_quick_btns{

    display:flex;
    flex-wrap:wrap;
    gap:8px;

    margin-left:auto;

}

.myo_quick_btns a{

    background:#111827 !important;

    color:#fff !important;

    border:1px solid #111827 !important;

    text-decoration:none !important;

}

.myo_quick_btns a:hover{

    background:#000 !important;

    color:#fff !important;

}

@media (max-width:768px){

    .myo_page_head{

        display:block;

    }

    .myo_page_head .page_action{

        margin-top:15px;

    }

    .myo_quick_btns{

        margin-top:14px;

    }

    .myo_quick_btns .btn-lg{

        width:100%;

    }

}

.myo_page_head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:20px;
}

.myo_quick_btns{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-left:auto;
    justify-content:flex-end;
}

.myo_quick_btns a{
    background:#111827 !important;
    color:#fff !important;
    border:1px solid #111827 !important;
    text-decoration:none !important;
}

.myo_quick_btns a:hover{
    background:#000 !important;
    color:#fff !important;
}

@media (max-width:768px){

    .myo_page_head{
        display:block;
    }

    .myo_quick_btns{
        margin-top:14px;
    }

    .myo_quick_btns .btn-lg{
        width:100%;
    }

}

