/*----------------header----------------*/
body {
    background: #f2f3f6;
}

.skip-to {
    position: absolute;
    top: -99px;
    left: 0;
    background: #333;
    color: #fff;
    width: 100%;
    padding: 10px 0;
    text-align: center;
    text-decoration: none;
    z-index: 999;
}

.skip-to:hover,
.skip-to:focus,
.skip-to:active {
    display: block;
    top: 0;
}

header {
    --login-width: 55px;
    position: relative;
    z-index: 98;
    width: 100%;
    height: var(--header-h);
    margin: 0 auto;
    top: 0;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.logo-wrap {
    position: relative;
    height: 100%;
}

.nav-wrap {
    height: 100%;
    padding: 0 var(--side-space);
    width: 100%;
    box-sizing: border-box;
    z-index: 20;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.logo {
    width: 180px;
    height: var(--header-h);
    background: var(--logo);
    z-index: 1111;
    position: absolute;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.logo a {
    display: block;
    width: 100%;
    height: 100%;
}

.menu_wrap {
    text-align: center;
    position: fixed;
    height: var(--header-h);
    left: 50%;
    top: 0;
    transition: all 0.3s;
    z-index: 111111;
}

.d_menu {
    --d-menu-h: 50px;
    display: flex;
    justify-content: center;
    border: 1px solid #ddd;
    width: inherit;
    border-radius: 100px;
    background: #fff;
    box-shadow: 2px 4px 36px rgb(0 0 0 / 3%);
}

.d_menu>li {
    display: inline-block;
    padding: 0 28px;
    height: var(--d-menu-h);
    line-height: var(--d-menu-h);
    text-align: center;
    position: relative;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    border-radius: 100px;
    white-space: nowrap;
}

.d_menu>li i {
    font-weight: normal;
}

.d_menu>li.current {
    color: var(--primary);
}

.d_menu>li.on {
    background: var(--dark);
    color: #fff;
    box-shadow: 4px 4px 12px rgb(var(--dark-rgb) / 30%);
}

.d_menu>li>a {
    font-size: var(--text-lg);
    font-weight: 600;
    position: relative;
    text-transform: uppercase;
}

.d_menu>li:hover ul {
    opacity: 1;
    pointer-events: auto;
    margin-left: calc((var(--menu-width) / 2) * -1);
}

.d_menu>li.current ul {
    opacity: 1;
    pointer-events: auto;
    margin-left: calc((var(--menu-width) / 2) * -1);
}

.d_menu ul {
    --menu-width: 240px;
    position: absolute;
    top: var(--d-menu-h);
    left: 50%;
    margin-left: calc((var(--menu-width) / 2 + 20px) * -1);
    border-radius: 5px;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: 0.5s all 0.1s;
    -moz-transition: 0.5s all 0.1s;
    -ms-transition: 0.5s all 0.1s;
    -o-transition: 0.5s all 0.1s;
    transition: 0.5s all 0.1s;
    padding-top: 40px;
    padding-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.d_menu ul li {
    position: relative;
    text-align: center;
    min-width: var(--menu-width);
    --padding: 10px;
    line-height: 1.5;
    padding: 0 32px;
}

.d_menu ul::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    right: 0;
    bottom: 0;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgb(var(--dark-rgb) / 10%);
}

.d_menu ul li a {
    position: relative;
    z-index: 1;
    text-align: left;
}

.d_menu ul li::before {
    background: #f2f3f6;
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: -5px;
    top: -5px;
    border-radius: 8px;
    transition: all 0.3s;
    opacity: 0;
}

.d_menu ul li:hover::before {
    opacity: 1;
}

.d_menu ul li a p {
    color: var(--dark);
    display: block;
    width: 100%;
    font-weight: 500;
    font-size: var(--text-lg);
    font-weight: 700;
}

.d_menu ul li a p::after {
    font-family: remixicon !important;
    content: '\ea6c';
    margin-left: 4px;
    font-weight: 300;
    transition: all 0.3s;
}

.d_menu ul li div {
    font-size: 0.9rem;
    color: #666;
}

.menu_wrap::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.d_menu>li:has(ul):hover {
    position: relative;
}

.menu_wrap:has(.d_menu > li.current > ul)::before {
    opacity: 1;
}

/* mobile menu */


.burger_box {
    z-index: 111;
    width: var(--header-h);
    height: var(--header-h);
    position: relative;
}

.burger_box {
    position: fixed;
    top: 0;
    right: var(--side-space);
    z-index: 111;
    width: 20px;
    height: var(--header-h);
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    display: none;
}




.sidenav {
    --sd-space: 30px;
    display: none;
    background: #f2f3f6;
    position: fixed;
    z-index: 11;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    padding-top: var(--header-h);
}

body.menuOpen {
    height: 100vh;
    overflow: hidden;
}

.sidenav.sideOpen {
    display: block;
}

.menu-icon-container {
    width: 100%;
    height: 100%;
}

.menu-icon {
    opacity: 1;
    z-index: 100;
    color: #7d7d7d;
    font-size: 1.3rem;
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-align: center;
}

.menu-icon_box {
    display: block;
    --ham-width: 20px;
    width: var(--ham-width);
    height: calc(var(--ham-width) - 6px);
    right: 0;
    margin-top: -9px;
}

.menu-text {
    position: absolute;
    bottom: 15px;
    font-size: 14px;
    width: 24px;
    text-align: center;
    right: -2px;
}

.menu-icon_line {
    background: #000;
    display: inline-block;
    height: 2px;
    position: absolute;
    left: 0;
    width: 100%;

    &.menu-icon_line--1 {
        top: 0;
    }

    &.menu-icon_line--2 {
        top: 50%;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    &.menu-icon_line--3 {
        bottom: 0;
    }
}

.menu-icon.opened .menu-icon_box {
    transform: scale3d(0.9, 0.9, 0.9);
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    margin-top: calc(var(--ham-width)/1 * -1);
    margin-left: calc(var(--ham-width)/2 * -1);
}

.menu-icon.opened .menu-icon_line {
    top: 15px;

    &.menu-icon_line--1 {
        transform: rotate3d(0, 0, 1, 45deg);
        -webkit-transform: rotate3d(0, 0, 1, 45deg);
    }

    &.menu-icon_line--2 {
        opacity: 0;
    }

    &.menu-icon_line--3 {
        transform: rotate3d(0, 0, 1, -45deg);
        -webkit-transform: rotate3d(0, 0, 1, -45deg);
    }
}

.side_menu {
    height: 100%;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.sd-menu-con {
    position: absolute;
    height: calc(100% - var(--header-h));
    width: 100%;
    overflow-y: auto;
}


/*모바일 1차메뉴*/
.sd-menu-wrap {
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 0 20px;
    max-height: 100%;
}


.sd-menu-w {
    width: 100%;
    padding: 24px 0;
}

.sd-menu-list {
    position: relative;
    cursor: pointer;
}

.sd-menu-list> :is(a, span) {
    font-size: 18px;
    font-weight: 700;
    margin-top: var(--sd-space);
    display: block;
    color: var(--gray1);
    margin-bottom: 5px;
}

.sd-menu-list:last-child> :is(a, span) {
    padding-bottom: 0;
}


.sd-menu-list:last-child.on:before {
    height: 100% !important;
}


/*모바일 2차메뉴*/
.sd-smenu {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: var(--radius-s);
    padding: 0 20px;
    box-shadow: var(--shadow);
}

.sd-smenu li {
    font-size: 1.5rem;
    position: relative;
    text-align: left;
    border-bottom: 1px dashed #ddd;
}

.sd-smenu li a {
    font-weight: 700 !important;
    padding: 16px 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.sd-smenu li a span {
    height: 32px;
    display: flex;
    align-items: center;
    font-weight: 300;
    color: var(--gray2);
    font-size: 20px;
}

.sd-smenu li a::after {
    font-family: remixicon !important;
    content: "\ea6e";
    font-weight: 100;
    position: absolute;
    right: 0;
    opacity: 0.2;
}

.sd-smenu li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}



.sd-account>a {
    background: linear-gradient(270deg, rgba(46, 125, 50, 1) 0%, rgb(33 95 48) 100%);
    gap: 12px;
    padding: 20px;
    border-radius: var(--radius-s);
}

.account-img {
    width: 40px;
    height: 40px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

.account-info {
    flex: 1;
    color: #fff;
}

.account-info p {
    font-size: 24px;
    font-weight: 600;
}

.account-info div {
    background: rgb(0 0 0 / 40%);
    border-radius: 40px;
    padding: 4px 8px 4px 12px;
    font-size: var(--text-base)
}

.btn-logout {
    margin-top: var(--sd-space);
    border: 1px solid;
    width: 100%;
    padding: 20px;
    text-align: center;
    font-size: 1.15rem;
    border-radius: var(--radius-s)
}


/* opened 상태일 때 "메뉴" 표시 */
.menu-icon.opened .menu-text::after {
    content: "닫기";
    font-size: 12px;
}

.menu-icon.closed .menu-text::after {
    content: "메뉴";
    font-size: 12px;
}




.lnb {
    position: absolute;
    right: 0px;
}

.lnb a {
    width: var(--login-width);
    height: var(--login-width);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 12px;
    color: #7d7d7d;
}

.lnb a i {
    font-size: 20px;
    width: 100%;
    height: 30px;
    display: block;
    color: #000;
}

.lnb a:hover {
    background: var(--dark);
    color: #fff;
}

.lnb a:hover i {
    color: #fff;
}

.profile-container {
    position: relative;
    color: #595959;
    /* display: none; */
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #bec1e1, #446acf);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: var(--text-xs);
}

.profile-info {
    text-align: left;
}

.lnb .profile-info {
    max-width: 50px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.profile-name {
    font-weight: 600;
    font-size: var(--text-xs);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: none;
}

.member-dropdown-items {
    border-bottom: 1px solid #eee;
}

.member-dropdown-items:last-child {
    border-bottom: none;
}

.member-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    width: 160px;
    border: 1px solid rgb(0 0 0/ 5%);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
    background: #fff;
}

.member-dropdown-menu i {
    font-size: 1rem;
    opacity: 0.5;
}

.member-dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.member-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    background: #fff;
    font-weight: 500;
}

.member-dropdown-item:hover {
    background: #f2f3f6;
}

.member-dropdown-menu:hover i {
    opacity: 0.6;
}




.logo-menu {
    position: absolute;
    width: 90px;
    right: 50px;
    bottom: 0;
    opacity: 0.1;
}



/*스크롤했을때 변화*/
.scroll .menu_wrap {
    --header-h: 80px;
}



.scroll :is(.d_menu>li, .logo, .lang) {
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}


.menu-sns {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 50px;
}

.menu-sns li {
    margin-right: 10px;
    opacity: 0.5;
}

.menu-sns li:hover {
    opacity: 1;
}

.menu-sns li img {
    width: 36px;
}

/* 반응형 */
@media screen and (max-width:1200px) {

    .logo {
        width: 150px;
    }

    .d_menu>li {
        padding: 0 20px;
    }
}

@media screen and (max-width:900px) {

    .d_menu,
    .lnb {
        display: none;
    }


    .burger_box {
        display: block;
    }

    header {
        /* position: fixed; */
        --login-width: 24px;
        /* background: #fff; */
    }

    .main-container,
    .sub-top-wrap {
        margin-top: 100px !important;
    }
}


@media screen and (max-width:600px) {
    .menu-icon_box {
        margin-top: -9px;
    }

    .menu-text {
        bottom: 9px;
    }

    .menu-icon.opened .menu-icon_box {
        margin-top: -25px !important;
    }

    .main-container,
    .sub-top-wrap {
        margin-top: 70px !important;
    }

    .logo {
        width: 130px;
    }
}

@media screen and (max-width:360px) {}


/*글자크기 조절*/
.font-control-trigger {
    border-radius: 4px;
    font-size: 12px;
    position: absolute;
    right: calc(var(--login-width) + 20px);
    text-align: center;
    z-index: 111;
    cursor: pointer;
}

.font-control-ex {
    margin: 0 auto;
    transition: all 0.2s;
    font-size: 20px;
    font-weight: bold;
    color: #000;
}

.font-control-ex span {
    font-size: 60%;
    opacity: 0.8;
}

.font-modal-overlay {
    position: absolute;
    z-index: 10000;
    opacity: 0;
    right: 0;
    top: calc(var(--header-h) - 20px);
    transition: opacity 0.3s ease;
    pointer-events: none;

}

.font-control-label {
    color: #7d7d7d;
}

.font-modal-overlay.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.font-modal {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    pointer-events: none;
}

.font-modal-overlay.active .font-modal {
    transform: scale(1);
    pointer-events: auto;
}

.font-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0px;
}

.font-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.font-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    font-size: 24px;
    color: #666;
}

.font-modal-close:hover {
    background: #f5f5f5;
}

.font-modal-body {
    padding: 24px;
}

.font-size-options {
    display: flex;
    justify-content: space-between;
    gap: 4px;
}

.font-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 10px;
    border: 1px solid #e0e0e0;
    background: #f2f3f6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    justify-content: space-around;
}

.font-option:hover {
    border-color: #bbb;
    background: #f9f9f9;
}

.font-option.active {
    border-color: #0073E4;
    background: #E6F3FF;
}

.font-option .font-char {
    font-weight: bold;
    color: #333;
    transition: font-size 0.2s;
}

.font-option[data-size="90"] .font-char {
    font-size: 18px;
}

.font-option[data-size="100"] .font-char {
    font-size: 22px;
}

.font-option[data-size="110"] .font-char {
    font-size: 26px;
}

.font-option[data-size="130"] .font-char {
    font-size: 30px;
}

.font-option[data-size="150"] .font-char {
    font-size: 34px;
}

.font-option .font-label {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}

.font-option.active .font-label {
    color: #0073E4;
    font-weight: 600;
}

@media (max-width: 600px) {
    .font-modal {
        width: 95%;
        max-width: none;
        margin: 20px;
    }

    .font-size-options {
        gap: 8px;
    }

    .font-option {
        padding: 16px 8px;
        gap: 8px;
    }

    .font-option .font-label {
        font-size: 11px;
    }

    .font-control-ex {
        font-size: 17px;
        line-height: 1.3;
    }
}



/*위로가기 버튼*/
#tothetop {
    cursor: pointer;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;

    display: flex;
    width: 50px;
    height: 50px;
    text-align: center;
    background: rgb(255 255 255 / 20%);
    border-radius: 8px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem
}


#tothetop:hover {
    background: var(--primary)
}
















/*--------------------- index ---------------------*/

.con-mb {
    --header-h: 60px;
    position: relative;
    margin: 0 auto;
    width: min(var(--mb-width), 100%);
    font-size: 16px;
    background: url(../../images/stadt/main/main_bg.jpg) no-repeat center/cover;
    height: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.con-mb::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(15, 70, 50, 0.9) 0%, rgba(15, 70, 50, 0.30) 100%);
}

.con-mb .con {
    max-width: 100%;
    padding: 0 20px;
}

.con-mb .menu_wrap {
    display: none;
}

.con-mb header {
    background: none !important;
    position: fixed;
    max-width: 500px;
    left: 50%;
    transform: translateX(-50%);
}

.con-mb .logo {
    width: 130px;
}

.con-mb .burger_box {
    display: block !important;
}

.con-mb .font-modal {
    width: 95%;
    max-width: none;
    margin: 20px;
}

.con-mb.font-size-options {
    gap: 8px;
}

.con-mb.font-option {
    padding: 16px 8px;
    gap: 8px;
}

.con-mb .font-option .font-label {
    font-size: 11px;
}

.con-mb .font-control-ex {
    font-size: 17px;
    line-height: 1.3;
}

.con-mb .lnb {
    display: none;
}

.con-mb .nav-wrap {
    padding: 0 20px;
}

.con-mb .burger_box {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
}

.con-mb .menu-text {
    bottom: 10px;
}

.con-mb .font-control-trigger {
    right: 40px;
}

.con-mb .sidenav {
    max-width: 500px;
    left: 50%;
    transform: translateX(-50%);
}

.con-mb .footer-con {
    padding: 20px;
}

.con-mb .f-con {
    display: block;
}


.con-mb .footer-con {
    background: none;
    color: #000;
}

.con-mb .f-con {
    margin-top: 0;
    padding-top: 2px;
    border-top: none;
    text-align: center;
    color: #fff;
}

.con-mb .f-info {
    font-size: 13px;
}

.con-mb .f-copy {
    font-size: 12px;
    margin-top: 0;
}

.con-mb .f-menu ul li a {
    color: rgb(255 255 255 / 70%);
    font-size: 14px;
}

.main-wrap {
    width: calc(100% - 60px);
    margin: 0 auto;
}

.main-quick-wrap {
    position: relative;
    width: 100%;
    background: #fff;
    border-radius: 20px 20px 0 0;
    height: 60dvh;
}

.main-quick {
    background: #fff;
    border-radius: 20px;
    color: #000;
    height: 50%;
}

.main-quick a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    position: relative;
    height: 100%;
}

.main-quick.quick02 {
    background: #20854E;
    color: #fff;
    border-radius: 20px 20px 0 0;
}

.main-quick span {
    background: #000;
    color: #fff;
    width: 48px;
    height: 48px;
    display: block;
    text-align: center;
    line-height: 48px;
    border-radius: 100px;
    font-size: 30px;
}

.main-quick.quick02 span {
    color: #20854E;
    background: #fff;
}

.main-quick img {
    position: absolute;
    right: 40px;
    bottom: 40px;
    width: 70px;
    height: 70px;
    opacity: 0.3;
}

.main-quick .quick-title {
    font-size: 32px;
}

.main-title {
    color: #fff;
    position: relative;
    padding-bottom: 60px;
    height: 40dvh;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.main-title h1 {
    font-size: 28px;
    margin: 8px 0;
}

.main-title p {
    opacity: 0.4;
    font-weight: 300;
}

.menu-icon_line {
    background: #fff;
}

.menu-text {
    color: #fff;
}

.menuOpen .menu-icon_line {
    background: #000;
}

.menuOpen .menu-text {
    color: #7d7d7d;
}

.logo,
.font-control-wrap {
    display: none
}

.menuOpen .logo,
.menuOpen .font-control-wrap {
    display: block;
}

.nav-wrap {
    height: 60px;
}



















/*260317*/

.page {
    padding-top: var(--si-top);
    padding-bottom: calc(var(--nav-h) + var(--si-bottom));
    padding-left: var(--si-left);
    padding-right: var(--si-right);
    min-height: 100dvh;
    width: min(var(--mb-width), 100%);
    margin: 0 auto;
    box-shadow: 0 0 80px rgb(0 0 0 / 20%);
    background: #fff;
}

.page.about {
    background: url(../../images/stadt/common/bg-about.svg) no-repeat center/cover;
    display: flex;
    flex-direction: column;
}

.page.participate {
    background: url(../../images/stadt/common/bg-participate.svg) no-repeat center/cover;
    display: flex;
    flex-direction: column;
}

.m-weather {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 10px;
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 16px;
    font-weight: 600;
    position: relative;

}

.weather-wrap {
    padding: 1px;
    border-radius: 999px;
    background: #4C4D56;
    background: linear-gradient(124deg, rgba(76, 77, 86, 0) 20%, rgba(76, 77, 86, 0.1) 50%, rgba(76, 77, 86, 0.2) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .02)
}

.m-location {
    padding: 4px 20px 0;
}

.loc-row {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}

.loc-sub {
    margin-top: 4px;
    color: var(--gray2);
}

.main-cards-wrap {
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex: 1;
}

.main-cards {
    padding: 20px 20px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    ;
    gap: 16px;
}

.main-cards img {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
}



.m-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    align-items: baseline;
    padding: 22px 24px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    gap: 10px;
    text-align: left;
    min-height: 120px;
    height: calc(60dvh/3);
}

.page.participate .m-card {
    justify-content: space-between;
}

.m-card p {
    padding-right: 100px;
    opacity: 0.5;
    font-size: 15px;
}

.m-card-row {
    display: flex;
    gap: 16px;
    width: 100%;
}

.m-card-row .m-card {
    flex: 1;
    height: 25.5dvh;
}

.m-card.about01 {
    width: 100% !important;
    height: 20dvh;
}

.m-card.parti01 {
    background: linear-gradient(to bottom, var(--navy), #1f2a3d);
    color: #fff;
}


.m-card.about04 {
    background: #fff;
    width: 100%;
    min-height: 50px;
    height: 10dvh;
    padding: 16px 24px;
    background: url(../../images/stadt/common/map_bg2.jpg) no-repeat center/cover;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 4dvh;
    ;
}


.card-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.4px;
}

.card-title i {
    opacity: 0.5;
}

.card-desc {
    font-size: 12px;
    color: var(--text-2);
    line-height: 1.55;
}

.card-arrow {
    flex-shrink: 0;
    font-size: 18px;
    color: var(--text-3);
    transition: transform .2s, color .2s;
}

.m-card:hover .card-arrow {
    transform: translateX(3px);
    color: var(--text-2);
}



/*하단 네비*/
.bottom-nav {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 50%;
    right: 0;
    height: calc(var(--nav-h) + var(--si-bottom));
    background: rgba(255, 255, 255, .92);
    border-top: 1px solid #eee;
    padding-bottom: var(--si-bottom);
    z-index: 200;
    max-width: var(--mb-width);
    transform: translateX(-50%);
}

.nav-inner {
    display: flex;
    height: var(--nav-h);
    background: #fff;
}

.nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: opacity .15s;
}

.nav-btn .nt {
    font-size: 14px;
    color: #8A8A8E;
}

.nav-btn.active .nt {
    color: #000;
    font-weight: 700;
}

.nav-btn::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: var(--icon-off);
}

.nav-btn.active::before {
    background-image: var(--icon-on);
}

[data-icon="home"] {
    --icon-off: url('../../images/stadt/common/ic-nav-home-outline.svg');
    --icon-on: url('../../images/stadt/common/ic-nav-home-filled.svg');
}

[data-icon="event"] {
    --icon-off: url('../../images/stadt/common/ic-nav-event-outline.svg');
    --icon-on: url('../../images/stadt/common/ic-nav-event-filled.svg');
}

[data-icon="info"] {
    --icon-off: url('../../images/stadt/common/ic-nav-info-outline.svg');
    --icon-on: url('../../images/stadt/common/ic-nav-info-filled.svg');
}

[data-icon="user"] {
    --icon-off: url('../../images/stadt/common/ic-nav-user-outline.svg');
    --icon-on: url('../../images/stadt/common/ic-nav-user-filled.svg');
}

[data-icon="back"] {
    --icon-off: url('../../images/stadt/common/ic-nav-prev.svg');
    --icon-off: url('../../images/stadt/common/ic-nav-prev.svg');
}

[data-icon="forward"] {
    --icon-off: url('../../images/stadt/common/ic-nav-next.svg');
    --icon-off: url('../../images/stadt/common/ic-nav-next.svg');
}

[data-icon="reset"] {
    --icon-off: url('../../images/stadt/common/ic-nav-reset.svg');
    --icon-off: url('../../images/stadt/common/ic-nav-reset.svg');
}

.btn-back {
    border: none;
    background: none;
    cursor: pointer;
    padding: 4px;
    font-size: 20px;
    color: #111;
}

.btn-menu {
    border: none;
    background: #1a1a1a;
    color: #fff;
    border-radius: 8px;
    padding: 8px 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    line-height: 1;
}


/*게시판*/
.search-box {
    display: flex;
    align-items: center;
    border: 1.5px solid #333;
    border-radius: 12px;
    height: 56px;
    gap: 10px;
    background: #fff;
    margin-top: 10px;
    padding: 0 16px;
}

.search-box input {
    width: 100%;
    height: 100%;
    font-size: 16px;
}

.search-box i {
    font-weight: 600;
    font-size: 18px;
}



.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.list-header .count {
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

/* 게시판-리스트*/
.board-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sort-btn {
    background: none;
}

.board-list {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid #dedede;
}

.board-list a {
    background: #fff;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px
}

.board-tags {
    display: flex;
    gap: 6px;
    align-items: center;
}

.tag {
    font-size: 13px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.tag-dept {
    background: var(--navy);
    color: #fff;
}

.tag-hot {
    background: var(--red);
    color: #fff;
}

.board-title {
    font-size: var(--text-lg);
    font-weight: 700;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    word-break: break-all;
}

.board-date {
    font-size: 14px;
    color: #999;
}

.board-list-con {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.board-step {
    background: #dce8f5;
    border-radius: 100px;
    text-align: center;
    width: 60px;
    height: 60px;
    font-size: 15px;
    color: #3a6fb0;
    font-weight: 600;
    line-height: 1.3;
    align-items: center;
    justify-content: center;
    display: flex;
}

.board-step.step1 {
    background: rgb(var(--secondary-rgb) / 12%);
    color: var(--secondary);
}

.board-step.step2 {
    background: rgb(var(--orange-rgb) / 14%);
    color: var(--orange);
}

.board-step.step3 {
    background: rgb(var(--primary-light-rgb) / 16%);
    color: rgb(var(--primary-light-rgb) / 100%);
}

.board-step.step4 {
    background: #e4e4e4;
    color: #999;
}




/* 페이지네이션 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 24px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn.active {
    border: 1px solid var(--dark);
    color: var(--dark);
    font-weight: 600;
}

.page-btn.arrow img {
    width: 65%;
}


.sub-header {
    --space: 16px;
    padding: 0 var(--side-space);
}

.sub-header .navbar {
    height: 60px;
    display: flex;
    align-items: center;
}


.sub-con {
    padding: var(--side-space);
    padding-top: 0;
}

.sub-con.bg-con {
    background: #f2f3f6;
    padding: var(--side-space) !important;

    margin-top: var(--side-space);
    border-radius: 24px 24px 0 0
}


.sub-con.top-line {
    padding-top: var(--side-space);
    border-top: 4px solid #f5f5f5;
}




/*상태바*/

.progress-bar {
    display: flex;
    align-items: flex-start;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    gap: 24px;
    margin-bottom: 20px;
}

.progress-bar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: #EFEFEF;
    z-index: 0;
    border-radius: 100px;
}

.progress-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 6px;
    background: var(--primary-light);
    z-index: 1;
    width: 0%;
    border-radius: 100px;
}

.progress-bar.step-1::after {
    width: calc(25% - 17px);
}

.progress-bar.step-2::after {
    width: 50%;
}

.progress-bar.step-3::after {
    width: calc(75% + 6px);
}

.progress-bar.step-4::after {
    width: 100%;
}

.progress-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.pg-dot {
    width: 4px;
    height: 10px;
    border-radius: 100px;
    background: #EFEFEF;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: -1;
}

.pg-label {
    font-size: 14px;
    font-weight: 400;
    color: #999;
    text-align: center;
    white-space: nowrap;
    width: 100%;
    display: block;
    background: #F2F2F2;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    position: relative;
    padding: 2px
}

.progress-bar.step-1 .progress-step:nth-child(-n+0) .pg-dot,
.progress-bar.step-2 .progress-step:nth-child(-n+1) .pg-dot,
.progress-bar.step-3 .progress-step:nth-child(-n+2) .pg-dot,
.progress-bar.step-4 .progress-step:nth-child(-n+3) .pg-dot {
    background: var(--primary-light);
}

.progress-bar.step-1 .progress-step:nth-child(-n+0) .pg-label,
.progress-bar.step-2 .progress-step:nth-child(-n+1) .pg-label,
.progress-bar.step-3 .progress-step:nth-child(-n+2) .pg-label,
.progress-bar.step-4 .progress-step:nth-child(-n+3) .pg-label {
    color: var(--primary-light);
    border-color: rgb(var(--primary-light-rgb) / 50%);
    background: #fff;
}

.progress-bar.step-1 .progress-step:nth-child(1) .pg-dot,
.progress-bar.step-2 .progress-step:nth-child(2) .pg-dot,
.progress-bar.step-3 .progress-step:nth-child(3) .pg-dot,
.progress-bar.step-4 .progress-step:nth-child(4) .pg-dot {
    background: #EFEFEF;
}

.progress-bar.step-1 .progress-step:nth-child(1) .pg-dot,
.progress-bar.step-2 .progress-step:nth-child(2) .pg-dot,
.progress-bar.step-3 .progress-step:nth-child(3) .pg-dot,
.progress-bar.step-4 .progress-step:nth-child(4) .pg-dot {
    background: var(--primary-light);
}

.progress-bar.step-1 .progress-step:nth-child(1) .pg-label::before,
.progress-bar.step-2 .progress-step:nth-child(2) .pg-label::before,
.progress-bar.step-3 .progress-step:nth-child(3) .pg-label::before,
.progress-bar.step-4 .progress-step:nth-child(4) .pg-label::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 8px;
    height: 8px;
    background: var(--primary-light);
    transform: translateX(-50%) rotate(45deg);
    border-radius: 0 0 2px 0;
}

.progress-bar.step-1 .progress-step:nth-child(1) .pg-label,
.progress-bar.step-2 .progress-step:nth-child(2) .pg-label,
.progress-bar.step-3 .progress-step:nth-child(3) .pg-label,
.progress-bar.step-4 .progress-step:nth-child(4) .pg-label {
    color: #fff;
    font-weight: 600;
    background: var(--primary-light);
    border-color: var(--primary-light);
}


.board-view .tag {
    padding: 3px 8px;
    font-size: 14px;
    margin-bottom: 4px;
}

.project-info-wrap {
    background: rgb(var(--primary-light-rgb)/ 8%);
    gap: 4px;
    padding: 20px;
    border-radius: 12px;
}

.project-info {
    justify-content: flex-end;
    width: 100%;
}

.project-info dt {
    width: 70px;
    opacity: 0.5;
    font-weight: 600;
}

.project-info dd {
    flex: 1;
    font-weight: 500;
}

.pj-state span {
    color: var(--primary);
    padding: 2px 6px;
    margin-right: 4px;
    border-radius: 100px;
    font-size: 14px;
    border: 1px solid;
}

.pj-state {
    color: var(--primary);
    font-weight: 600 !important;
}

.board-view-title {
    font-size: var(--text-2xl)
}


.view-map .root_daum_roughmap .wrap_map,
.view-map .root_daum_roughmap {
    width: 100% !important;
    height: 200px !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #ddd !important;
}


.view-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sub-tit {
    font-size: var(--text-base);
    font-weight: 600;
}

.sub-tit span {
    opacity: 0.4;
    font-size: var(--text-sm)
}

.project-con div {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.project-con div span {
    background: #f2f3f6;
    padding: 2px 8px;
    border-radius: 100px;
}





/* 녹음 중 바 */
.rec-box {
    background: #fff3f2;
    border: 1px solid #ffc9c6;
    border-radius: 12px;
    padding: 10px 16px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rec-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rec-timer {
    font-size: 14px;
    color: #FF5F57;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.rec-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF5F57;
    margin-left: auto;
    animation: pulse 1.2s ease-in-out infinite;
}

.rec-status {
    font-size: 13px;
    color: #FF5F57;
    font-weight: 600;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.wave-wrap {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 16px;
}

.wbar {
    border-radius: 4px;
    width: 3px;
}

.wbar:nth-child(1) {
    background: #FF5F57;
    animation: w1 1.7s ease-in-out infinite;
}

.wbar:nth-child(2) {
    background: #ff7068;
    animation: w2 1.3s ease-in-out infinite;
}

.wbar:nth-child(3) {
    background: #ff8179;
    animation: w3 1.9s ease-in-out infinite;
}

.wbar:nth-child(4) {
    background: #ff918a;
    animation: w4 1.1s ease-in-out infinite;
}

.wbar:nth-child(5) {
    background: #ffa19b;
    animation: w5 1.5s ease-in-out infinite;
}

.wbar:nth-child(6) {
    background: #ffb1ac;
    animation: w6 1.8s ease-in-out infinite;
}

.wbar:nth-child(7) {
    background: #ffc1bd;
    animation: w7 1.2s ease-in-out infinite;
}

@keyframes w1 {
    0% {
        height: 3px
    }

    15% {
        height: 10px
    }

    30% {
        height: 5px
    }

    50% {
        height: 14px
    }

    65% {
        height: 6px
    }

    80% {
        height: 12px
    }

    100% {
        height: 3px
    }
}

@keyframes w2 {
    0% {
        height: 11px
    }

    20% {
        height: 4px
    }

    40% {
        height: 16px
    }

    55% {
        height: 6px
    }

    75% {
        height: 13px
    }

    90% {
        height: 4px
    }

    100% {
        height: 11px
    }
}

@keyframes w3 {
    0% {
        height: 5px
    }

    25% {
        height: 15px
    }

    45% {
        height: 7px
    }

    60% {
        height: 16px
    }

    80% {
        height: 4px
    }

    100% {
        height: 5px
    }
}

@keyframes w4 {
    0% {
        height: 16px
    }

    10% {
        height: 8px
    }

    30% {
        height: 14px
    }

    50% {
        height: 5px
    }

    70% {
        height: 13px
    }

    85% {
        height: 9px
    }

    100% {
        height: 16px
    }
}

@keyframes w5 {
    0% {
        height: 6px
    }

    20% {
        height: 13px
    }

    35% {
        height: 4px
    }

    55% {
        height: 11px
    }

    70% {
        height: 16px
    }

    90% {
        height: 5px
    }

    100% {
        height: 6px
    }
}

@keyframes w6 {
    0% {
        height: 13px
    }

    15% {
        height: 5px
    }

    35% {
        height: 9px
    }

    50% {
        height: 16px
    }

    68% {
        height: 6px
    }

    85% {
        height: 14px
    }

    100% {
        height: 13px
    }
}

@keyframes w7 {
    0% {
        height: 4px
    }

    20% {
        height: 12px
    }

    38% {
        height: 6px
    }

    55% {
        height: 15px
    }

    72% {
        height: 5px
    }

    88% {
        height: 11px
    }

    100% {
        height: 4px
    }
}

/* 변환 중 */
.trans-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 8px;
    background: #e8f4ff;
    border: 1px solid #b3d9ff;
    border-radius: 12px;
    padding: 10px 16px;
    height: 100px;
    justify-content: center;
}

.trans-text {
    font-size: 14px;
    color: #0088FF;
}

.dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0088FF;
    animation: db .7s ease-in-out infinite;
    margin: 0 2px;
}

.dot:nth-child(2) {
    animation-delay: .15s;
}

.dot:nth-child(3) {
    animation-delay: .3s;
}

@keyframes db {

    0%,
    100% {
        transform: translateY(0);
        opacity: .35;
    }

    50% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

.input-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.vbwrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.vbtn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.vbtn i {
    font-size: 24px;
    font-weight: 300;
}

.vbtn.idle {
    background: #0088FF;
}

.vbtn.rec {
    background: #FF5F57;
    box-shadow: 0 6px 28px rgba(255, 95, 87, 0.45);
    animation: rg 1.3s ease-in-out infinite;
}

.vbtn.rec span {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: #fff;
    display: block;
}

.vbtn.trans {
    background: #0088FF;
    box-shadow: 0 6px 20px rgba(0, 136, 255, 0.35);
}

@keyframes rg {

    0%,
    100% {
        box-shadow: 0 6px 20px rgba(255, 95, 87, 0.4);
    }

    50% {
        box-shadow: 0 6px 40px rgba(255, 95, 87, 0.75), 0 0 0 10px rgba(255, 95, 87, 0.08);
    }
}

.vlbl {
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    white-space: pre-line;
}

.vlbl.idle {
    color: #0088FF;
}

.vlbl.rec {
    color: #FF5F57;
    animation: lp 1.3s ease-in-out infinite;
}

.vlbl.trans {
    color: #0088FF;
}

@keyframes lp {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.ripple {
    position: absolute;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 95, 87, 0.45);
    animation: ro 1.1s ease-out forwards;
    pointer-events: none;
}

@keyframes ro {
    0% {
        transform: scale(1);
        opacity: .9;
    }

    100% {
        transform: scale(3.2);
        opacity: 0;
    }
}


.ta-wrap {
    flex: 1;
}

.mta {
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 12px 14px;
    color: #111827;
    font-size: 14px;
    font-family: 'Noto Sans KR', sans-serif;
    resize: none;
    outline: none;
    line-height: 1.65;
    height: 100px;
    display: block;
}

.mta::placeholder {
    color: #9ca3af;
}


.mta:focus {
    border-color: #0088FF;
}

.mta.rc {
    border-color: #FF5F57;
    background: #fff3f2;
}

.mta.trans {
    border-color: #b3d9ff;
    background: #f0f8ff;
}

.comment-write-btn {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-top: 8px;

}

.char-count {
    font-size: 12px;
    color: #9ca3af;
}

.sbtn {
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    background: #333;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
}

.sbtn:disabled {
    opacity: 0.3;
    cursor: default;
}



/*댓글*/
.comment-list {
    background: #f2f3f6;
    padding: 16px;
    border-radius: 8px;
}


.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgb(var(--primary-light-rgb)/ 20%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar i {
    color: var(--primary-light);
    font-size: 11px;
}

.username {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 6px;
}

.my-badge {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-light);
    background: #fff;
    border-radius: 10px;
    padding: 0 7px;
}

.actions {
    display: flex;
    gap: 8px;
}

.btn-edit,
.btn-delete {
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    padding: 2px 8px;
    background: rgb(0 0 0 / 8%);
    border-radius: 4px;
}

.btn-edit {
    color: #555;
}

.btn-delete {
    color: var(--red);
}

.comment-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comment-con {
    font-size: 15px;
    color: #333a52;
}

.comment-time {
    margin-top: 8px;
    font-size: 14px;
    color: #aab0c8;
}

.cm-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cm-list .pagination {
    margin: 8px 0;
}

.cm-list .page-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
}

.hidden-comments {
    display: none;
}

.hidden-comments.visible {
    display: flex;
}

.view-all-wrapper {
    position: relative;
    overflow: hidden;
}



.view-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
    background: #fff;
    border: none;
    border: 1px solid #000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 12px;
}


.cm-list-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cm-list-wrap .view-all-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1;
}

.blur-overlay {
    position: absolute;
    bottom: 40px;
    right: -1px;
    left: -1px;
    height: 50%;
    background: #FFF;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%);
    max-height: 120px;
}


.no-comment {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #aab0c8;
    gap: 10px;
    border-radius: 12px;
}

.no-comment i {
    font-size: 36px;
}

.no-comment p {
    font-size: 14px;
    text-align: center;
    line-height: 1.6;
}










/*내정보*/
.page.mypage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.member-con {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 40px;
}

.login-con-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.login-logo {
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.login-logo .hero-icon {
    width: 64px;
    height: 64px;
    background: rgb(var(--primary-light-rgb)/ 10%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-logo .hero-icon i {
    font-size: 32px;
    color: var(--primary-light);
}

.login-logo .logo-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.45;
}

.login-logo .logo-desc {
    color: #666;
    line-height: 1.6;
}

.login-content {
    width: 100%;
}

.login-form-con {
    width: 100%;
}

.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
}


.login-input {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.login-input>div {
    position: relative;
    width: 100%;
}

.login-input label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
    padding-left: 2px;
    color: #666;
}

.login-input .input-icon {
    position: absolute;
    left: 14px;
    top: 37px;
    font-size: 18px;
    color: #ccc;
    pointer-events: none;
}

.login-input .form-control {
    width: 100%;
    height: 52px;
    padding: 0 14px 0 42px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    outline: none;
}

.login-input .form-control::placeholder {
    color: #aaa;
}

.login-input .form-control:focus {
    border-color: var(--green-mid);
    background: #fff;
}

#tel-error {
    color: var(--red);
    font-size: 12px;
    margin-top: 5px;
    display: none;
    padding-left: 2px;
}

.login-btn {
    margin-top: 4px;
}

.login-btn button {
    width: 100%;
    height: 52px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: 0.2s;
}

.login-btn button:active {
    transform: scale(0.98);
    background: #2f6637;
}


.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.divider span {
    flex: 1;
    height: 1px;
    background: #ddd;
}

.divider p {
    font-size: 13px;
    color: var(--gray2);
    white-space: nowrap;
}

.sns-btn {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sns-btn .kakao-btn {
    width: 100%;
    height: 52px;
    background: #FEE500;
    color: #373737;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: filter 0.2s, transform 0.1s;
}

.sns-btn .kakao-btn:active {
    transform: scale(0.98);
    filter: brightness(0.96);
}

.sns-btn .kakao-btn i {
    font-size: 20px;
}

.signup-row {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 16px;
    color: #666;
}

.signup-row a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1.5px solid var(--green-light);
}



.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--primary);
    border-radius: 12px;
    padding: 10px 12px;
    transition: 0.15s;
    box-sizing: border-box;
}

.download-btn:hover {
    background: rgb(var(--primary-rgb) / 5%);
    border-color: var(--primary);
}

.download-icon {
    width: 36px;
    height: 36px;
    background: rgb(var(--primary-rgb) / 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.download-icon i {
    font-size: 18px;
    color: #fff
}

.download-text {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    text-align: left;
}

.download-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    color: var(--primary);
    background: rgb(var(--primary-rgb) / 10%);
    padding: 3px 8px;
    border-radius: 4px;
}










/*마이페이지*/


.mypage-profile {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 20px;
    position: relative;
    overflow: hidden;
    width:100%
}
.mypage-profile.login {margin-top: 0 !important; margin-bottom: 20px;}
.mypage-profile.login::before {display:none;}

.mypage-profile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(var(--primary-light-rgb) / 8%);
    pointer-events: none;
}

.mypage-sparkle {
    position: absolute;
    color: rgb(var(--primary-light-rgb) / 40%);
    font-size: 16px;
    animation: mypage-sparkle-pulse 2.5s ease-in-out infinite;
}

.mypage-sparkle:nth-child(1) {
    top: 28px;
    left: 52px;
    animation-delay: 0s;
}

.mypage-sparkle:nth-child(2) {
    top: 50px;
    right: 60px;
    animation-delay: 0.8s;
    font-size: 11px;
}

.mypage-sparkle:nth-child(3) {
    bottom: 42px;
    left: 68px;
    animation-delay: 1.5s;
    font-size: 10px;
}

.mypage-sparkle:nth-child(4) {
    bottom: 48px;
    right: 72px;
    animation-delay: 0.4s;
}

@keyframes mypage-sparkle-pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}





.myprofile-avatar {
    --eye-white: #ffffff;
    --eye-dark: #464a5e;
    --mouth-white: #ffffff;
    --float-speed: 3s;
    --blink-speed: 4s;

    position: relative;
    width: 110px;
    height: 110px;
    animation: avatar-float var(--float-speed) ease-in-out infinite;
    
}
.avatar-wrap {transform: scale(0.8);}

.myprofile-avatar-body {
    width: 100%;
    height: 100%;
    background-image: url('../../images/stadt/common/flower-shape.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.myprofile-avatar-face {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.myprofile-avatar-eyes {
    display: flex;
    gap: 4px;
    margin-bottom: 5px;
}

.myprofile-avatar-eye {
    width: 17px;
    height: 19px;
    background-color: var(--eye-white);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    animation: avatar-blink var(--blink-speed) infinite;
}

.myprofile-avatar-pupil {
    width: 10px;
    height: 12px;
    background-color: var(--eye-dark);
    border-radius: 50%;
    position: absolute;
    top: 20%;
    left: 10%;
}

.myprofile-avatar-mouth {
    width: 24px;
    height: 12px;
    background:#fff;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-top: 2px;
}

@keyframes avatar-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(2deg);
    }
}

@keyframes avatar-blink {

    0%,
    90%,
    100% {
        transform: scaleY(1);
    }

    95% {
        transform: scaleY(0.1);
    }
}












.mypage-name {
    position: relative;
    z-index: 1;
    font-size: 20px;
    font-weight: 600;
    color:var(--primary);
}

.mypage-menu {
    flex: 1;
    position: relative;
}
.mypage-menu::before {content:''; position: absolute; bottom: 0; left: var(--side-space); right:var(--side-space);height: 1px; background: #eee;;}


.mypage-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: var(--side-space);
    text-decoration: none;
    width: 100%;
}


.mypage-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mypage-menu-icon i {
    font-size: 18px;
    color: var(--gray2);
}

.mypage-menu-text {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.mypage-menu i {
    font-size: 20px;
    flex-shrink: 0;
}




