/* ===================================
   專案自訂樣式 - 找公廁 Toilet Finder
   ================================== */

/* ===== 顏色變數 ===== */
:root {
    --primary-color: #FF7B00;
    --secondary-color: #199E9D;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --text-primary: #000000;
    --text-secondary: #656565;
    --text-muted: #939393;
    --border-color: #e0e0e0;
    --article-gradient-start: #edfff3;
    --article-gradient-end: #eaf8e0;

    /* 字體大小變數 */
    --size-12: .75rem;
    --size-13: .8125rem;
    --size-14: .875rem;
    --size-15: .9375rem;
    --size-16: 1rem;
    --size-18: 1.125rem;
    --size-20: 1.25rem;
    --size-22: 1.375rem;
    --size-28: 1.75rem;
    --size-30: 1.875rem;
}

/* ===== 全域樣式 ===== */
body {
    background-color: var(--light-bg);
    font-family: 'Noto Sans TC', 'Noto Sans CJK TC', -apple-system, BlinkMacSystemFont, sans-serif; 
}

a,
a:hover {
    text-decoration: none;
}

/* ===== 無障礙輔助 ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

| accesskey |=======================================*/:focus-visible {
    outline: #EEC552 dotted 5px !important;
}

#linkGotoContent {
    position: absolute;
    color: #ffffff;
    padding: 0.3rem 1rem;
    background: rgba(22, 113, 155, 0.33);
    border: 1px solid #ffffff;
    border-radius: 10px;
    left: 18%;
    top: 30px;
    z-index: 10000;
}

header,
footer {
    position: relative;
}

a[accesskey] {
    position: absolute;
    z-index: 10000;
}

#AU[accesskey] {
    color: #4a4a4a00;
}

#AC[accesskey] {
    color: #4a4a4a00;
    left: 10px;
}


#AU:focus,
#AC:focus {
    color: #00416f;
}

#AZ:focus {
    color: #ffffff;
}

@media (max-width: 991px) {
    #AU[accesskey] {
        color: #0b5f99;
        top: 0;
    }
}

@media (max-width: 768px) {
    #AU[accesskey] {
        color: #0b5f99;
        top: 0;
        margin: 0;
        padding: 0;
    }
}

/* ===== 導航欄樣式 ===== */

.header-top {
    background-color: var(--secondary-color);
        box-shadow: 0 3px 4px rgb(0 0 0 / 28%);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

}

/* navbar-brand 作為 h1 的樣式重置 */
.navbar-brand {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: normal;
    line-height: normal;
}

.navbar-brand a {
    display: inline-block;
    text-decoration: none;
}

header .navbar {
    padding: 10px 0;
    position: relative;
}

header .navbar-nav .nav-link {
    border-bottom: 1px dashed rgba(255, 255, 255, .5);
    padding-left: 10px;
    font-size: var(--size-18);
    color: var(--white);
}

header .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: 0;
}

header .navbar-nav .nav-link:hover {
    color: var(--white);
    opacity: .8;
}

header .navbar-toggler {
    border: 0;
    width: 40px;
    height: 40px;
    border-radius: 50% 0 50% 50%;
    text-align: center;
    padding: 0;
    color: #000000;
    vertical-align: bottom;
}

header .navbar-toggler:hover {
    color: var(--primary-color);
}

header .navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(25, 158, 157, 1);
}

header .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    border-top: 1px solid #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0 1rem 0.5rem;
}

/* ================ 
漢堡按鈕
================== */
.navbar .navbar-toggler {
    border-color: rgba(0, 0, 0, 0);
    padding: 0px;
    position: absolute;
    right: 1rem;
}

.navbar .navbar-toggler label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 30px;
    cursor: pointer;
    margin-bottom: 0px;
}

.navbar .navbar-toggler label span {
    background: #ffffff;
    border-radius: 10px;
    height: 4px;
    margin: 3px 0;
    -webkit-transition: 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    transition: 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.navbar .navbar-toggler span:nth-of-type(1) {
    width: 50%;
}

.navbar .navbar-toggler span:nth-of-type(2) {
    width: 100%;
}

.navbar .navbar-toggler span:nth-of-type(3) {
    width: 75%;
}

.navbar .navbar-toggler input[type=checkbox] {
    display: none;
}

.navbar .navbar-toggler input[type=checkbox]:checked~span:nth-of-type(1) {
    -webkit-transform-origin: bottom;
    transform-origin: bottom;
    -webkit-transform: rotatez(45deg) translate(5px, 0px);
    transform: rotatez(45deg) translate(5px, 0px);
}

.navbar .navbar-toggler input[type=checkbox]:checked~span:nth-of-type(2) {
    -webkit-transform-origin: top;
    transform-origin: top;
    -webkit-transform: rotatez(-45deg);
    transform: rotatez(-45deg);
}

.navbar .navbar-toggler input[type=checkbox]:checked~span:nth-of-type(3) {
    -webkit-transform-origin: bottom;
    transform-origin: bottom;
    width: 50%;
    -webkit-transform: translate(14px, -6px) rotatez(45deg);
    transform: translate(14px, -6px) rotatez(45deg);
}

/* ===== 主視覺區 ===== */
.hero-section {
    margin-top: 0;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
}


/* ===== 首頁 - 功能區 ===== */
.menu-section {
    position: relative;
    margin-top: -24px;
}

.index-search-title {
    background: var(--primary-color);
    color: #ffffff;
    display: inline-block;
    font-weight: 700;
    font-size: var(--size-22);
    letter-spacing: 1px;
    padding: 0.25rem 0;
    border-radius: 70px;
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-bottom: 0;
    width: 213px;
    text-align: center;
}

.index-search-title img {
    margin-left: 4px;
    margin-right: 4px;
    vertical-align: sub;
}

.search-card {
    background: linear-gradient(180deg, var(--white) 0%, #f0f0f0 100%);
    border: 3px solid var(--primary-color);
    border-radius: 24px;
    box-shadow: 0 8.75px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
}

.search-card-title {
    font-size: var(--size-22);
    margin-bottom: 0;
    font-weight: 700;
    line-height: 1.25;
}

.search-card .text-muted {
    font-size: var(--size-15);
    margin-bottom: 0;
}

.search-item {
    display: block;
    transition: background-color 0.3s ease;
    padding: 1rem 0;
}

.search-item:hover {
    background-color: rgba(25, 158, 157, 0.05);
}

.search-item img {
    margin-bottom: 8px;
}

.search-card .border-end {
    border-color: var(--white) !important;
}

/* ===== 快捷功能區 ===== */
.quick-links {
    margin-top: 20px;
    margin-bottom: 20px;
}

.quick-links .card {
    border-radius: 30px;
    border: none;
    transition: all 0.3s ease;
    height: 110px;
    box-shadow: 0 4px 8.75px rgba(0, 0, 0, 0.05);
    border: 1px solid #ffffff;
}

.quick-links .card:hover .quick-link-title {
    color: var(--primary-color);
}

.quick-link-card {
    display: block;
}

.quick-links .card-body img {
    margin-bottom: 6px;
    padding: 0;
}

.quick-links .card-body {
    font-size: var(--size-18);
}

.quick-link-title {
    font-weight: 600;
    margin: 0;
}


/* ===== 文章卡片區 ===== */
.article-card {
    border-radius: 30px;
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

.article-link {
    display: block;
    height: 100%;
    color: inherit;
}

.article-link:hover .card-title {
    color: var(--primary-color);
}

.article-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 30px 30px 0 0;
    background: linear-gradient(180deg, var(--article-gradient-start) 0%, var(--article-gradient-end) 100%);
}

.article-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px 30px 0 0;
    transition: transform 0.4s ease;
}

.article-card:hover .article-image-wrapper img {
    transform: scale(1.05);
}

.article-card .card-title {
    color: var(--primary-color);
    transition: color 0.3s ease;
    font-size: var(--size-20);
    margin-bottom: 4px;
}

.article-card .card-text {
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: var(--size-16);
}

.article-card .card-body {
    padding-bottom: 20px;
}



/* ===== Footer 樣式 ===== */
.footer-section {
    padding: 16px 0;
}

.footer-section p {
    color: #6c6c6c;
    font-size: var(--size-12);
    margin-bottom: 0;
    text-align: center;
}

/* ===================================
   地圖查詢頁面
   ================================== */

/* 地圖容器 */
.map-section {
    position: relative;
    height: 100vh;
    /* overflow: hidden; */
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.map-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.map-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 漸層遮罩 */
.map-gradient-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: linear-gradient(180deg, rgba(93, 93, 93, 0.5) 0%, rgba(195, 195, 195, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.map-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 177px;
    background: linear-gradient(0deg, rgba(93, 93, 93, 0.5) 0%, rgba(195, 195, 195, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

/* 搜尋控制區 */
.map-controls {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0 8px;
}

/* 搜尋框 */
.search-box {
    position: relative;
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 4px 8.75px rgba(0, 0, 0, 0.1);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.search-box i.far {
    font-size: var(--size-16);
    flex-shrink: 0;
    color: var(--secondary-color);
}

.search-box .form-control {
    border: none;
    padding: 0;
    font-size: var(--size-16);
    color: var(--text-primary);
    background: transparent;
    box-shadow: none;
}

.search-box .form-control::placeholder {
    color: #cbcbcb;
}

.search-box .form-control:focus {
    outline: none;
    box-shadow: none;
}

/* 地圖頁面的品牌篩選按鈕 */

.btn-filter {
    background: var(--white);
    border: none;
    border-radius: 6px;
    padding: 12px 16px;
    box-shadow: 0 4px 8.75px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--size-16);
    color: var;
    font-weight: 400;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-filter:hover {
    background: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: #252525;
}

.btn-filter i {
    font-size: var(--size-16);
    color: var(--secondary-color);
}

/* 我的位置按鈕 */
.btn-location {
    position: fixed;
    top:150px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: var(--white);
    border: none;
    border-radius: 6px;
    box-shadow: 0 1px 3.5px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.btn-location:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.btn-location i {
    font-size: 14px;
    color: var(--text-primary);
}

/* 地圖標記 */
.Restroom-marker-inner {
    width: 42px;
    height: 42px;
    border-radius: 50px;
    background: transparent;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.Restroom-marker-inner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.leaflet-popup-content .open-popup-store-detail-btn {
    margin-top: 6px;
    border: 0;
    background: #199E9D;
    color: #ffffff;
    border-radius: 6px;
    padding: 4px 10px;
}

/* 地圖圖例 */
.map-legend {
    position: absolute;
    top: 17%;
    left: 20px;
    transform: translateY(-10%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 12px 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 150px;
    max-height: 70vh;
    overflow-y: auto;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--size-14);
    color: var(--text-primary);
    line-height: 1.25;
    white-space: nowrap;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-dot-man {
    background-color: #4BA5ED;
}

.legend-dot-woman {
    background-color: #FFB1B2;
}

.legend-dot-accessible {
    background-color: #FFD220;
}

.legend-dot-child {
    background-color: #EC9DCE;
}

.legend-dot-mix {
    background-color: #C5AEFE;
}

.legend-dot-gender {
    background-color: #78C2B9;
}
/* 店家資訊卡片 - Swiper 輪播 */
.store-info-section {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.store-info-section.show {
    transform: translateY(0);
}

.store-info-section>.container-fluid {
    padding: 0;
}

.store-swiper {
    width: 100%;
    padding-bottom: 8px;
}

.store-swiper .swiper-wrapper {
    padding-bottom: 8px;
}

.store-swiper .swiper-slide {
    width: auto;
    max-width: calc(100% - 48px);
    padding: 0;
    background: transparent;
}

.store-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 8.75px rgba(0, 0, 0, 0.1);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    width: 100%;
    min-height: 124px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swiper-slide-active .store-card {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.store-card-header {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.store-brand {
    flex-shrink: 0;
}

/* 地圖頁面的品牌圖示（方形） */
.store-brand .brand-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50px;
    box-shadow: 0 2px 3.5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-top: 4px;
}

.store-brand .brand-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.store-details {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.store-distance {
    display: inline-block;
    font-size: var(--size-14);
    color: #636363;
    margin-bottom: 0;
    line-height: 1.25;
}

/* 地圖頁面的店名樣式 */
.store-card .store-name {
    font-size: var(--size-20);
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    line-height: 1;
}

/* 地圖頁面的地址樣式 */
.store-card .store-address {
    font-size: var(--size-15);
    color: #636363;
    margin: 0;
    margin-left: 0;
    padding-right: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    align-items: baseline;
}

.store-card .store-address i {
    color: var(--secondary-color);
    font-size: var(--size-20);
    flex-shrink: 0;
}

.store-actions {
    position: absolute;
    bottom: 16px;
    right: 16px;
}

.btn-action {
    width: 32px;
    height: 32px;
    background: var(--secondary-color);
    border: none;
    border-radius: 7px 7px 7px 16px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.btn-action:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.btn-action i {
    font-size: var(--size-14);
}


/* 品牌篩選側邊欄 - 通用樣式 */
.brand-sidebar {
    position: fixed;
     right: -100%;
　　top: 0 !important;
    bottom: 0 !important;
    height: 100% !important; /* 覆蓋掉原本的 height: 100vh */
    width: 85%;
    max-width: 360px;
    background: #F9F9F9;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    display: grid !important;
    grid-template-rows: auto 1fr auto;
    transition: right 0.3s ease;
}

.brand-sidebar.active {
    right: 0;
}

.sidebar-header {
    padding: 8px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.sidebar-title {
    font-size: var(--size-20);
    font-weight: 400;
    color: var(--text-primary);
    margin: 0;
}

.btn-close-sidebar {
    width: 34px;
    height: 34px;
    background: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;

}

.btn-close-sidebar:hover {
    background: var(--light-bg);
    color: var(--text-primary);
}

.btn-close-sidebar i {
    font-size: var(--size-20);
}

.sidebar-tools {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.btn-select-all,
.btn-clear-all {
    flex: 1;
    padding: 8px 10px;
    font-size: var(--size-14);
    border: 1px solid var(--border-color);
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
}

.btn-select-all {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-clear-all {
    background: #f3f3f3;
    color: var(--text-primary);
}

.sidebar-content {
    flex: 1;
    overflow-y: auto !important;
    height: 100%;
    padding: 16px;
    padding-bottom: 20px;
}

.brand-category {
    margin-bottom: 24px;
}

.category-title {
    font-size: var(--size-15);
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.brand-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.brand-item {
    position: relative;
    display: block;
    align-items: center;
    text-align: center;
}

.brand-item .brand-check {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.brand-card {
    flex: 1;
    background: var(--white);
    border-radius: 50px;
    padding: 0px;
    align-items: center;
    gap: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 3.5px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.brand-card:hover {
    border-color: var(--border-color);
}

.brand-label {
    flex: 1;
    font-size: var(--size-15);
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1;
    word-break: keep-all;
}

.brand-check-mark {
    position: absolute;
    right: 6px;
    bottom: 20%;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.brand-item .brand-check:checked~.brand-check-mark {
    background: var(--primary-color);
    border-color: var(--primary-color);
    opacity: 1;
}

.brand-item .brand-check:checked+.brand-card {
    border: 2px solid var(--white);
}

.brand-check-mark i {
    font-size: var(--size-13);
    color: var(--white);
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border-color);
    gap: 12px;
    background: #ffffff;
    flex-shrink: 0;
}

.btn {
    border-radius: 6px;
    font-size: var(--size-16);
    padding: 11px;
    min-width: 70px;
}

.btn:hover {
    background: #e0e0e0;
}

.btn-cancel {
    background: #F3F3F3;
    color: var(--text-primary);
}

.btn-cancel:hover {
    background: #e0e0e0;
}

.btn-apply {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-apply:hover {
    background: var(--primary-color);
    box-shadow: none;
    color: var(--white);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===================================
   單一店家頁面樣式 (mapsearch02)
   ================================== */

/* 返回按鈕 */
.btn-back {
    background: var(--white);
    border: none;
    width: 48px;
    height: 48px;
    min-width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 3.5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 0;

}

.btn-back:hover {
    transform: translateY(-1px);
    background: var(--white);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-back:active,
.btn-back:first-child:active {
    background: #ffffff;
}

.btn-back i {
    color: var(--secondary-color);
    font-size: var(--size-16);
}

.btn:first-child:active {
    color: #707070;
    border-color: #707070;
    box-shadow: none;
}

/* 單一店家卡片樣式 */
.store-card-single {
    max-width: none;
    width: 100%;
    min-height: auto;
    padding: 20px;
    gap: 8px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    position: relative;
}

.store-card-single .btn-close-card {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    padding: 0;
}

.store-card-single .btn-close-card:hover {
    background: var(--light-bg);
    color: var(--text-primary);
}

.store-card-single .btn-close-card i {
    font-size: var(--size-18);
}

.store-card-single .store-card-header {
    margin-bottom: 4px;
    padding-right: 36px;
}

.store-card-single .store-address {
    padding-right: 0;
    white-space: normal;
}

/* 店家資訊項目 */
.store-info-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: var(--size-15);
    color: #636363;
    margin: 0;
    align-items: center;
}

.store-info-item i {
    color: var(--secondary-color);
    font-size: var(--size-16);
    flex-shrink: 0;
    margin-top: 2px;
}

.store-info-item span {
    flex: 1;
    line-height: 1.5;
}

/* 服務項目區域 */
.store-services {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #e9e9e9;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f7f7;
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: var(--size-14);
    font-weight: 500;
}

.service-badge i {
    font-size: var(--size-14);
}

/* 操作按鈕群組 */
.store-actions-group {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid #e9e9e9;
}

.store-icon {
    align-self: start;
}

.btn-action-icon {
    gap: 4px;
    background: #F3F3F3;
    transition: all 0.3s ease;
}

.btn-action-icon:hover {
    background: #e6e6e6;
}

.btn-action-icon i{
    font-size:var(--size-16);
    padding-right: 5px;
}
 .btn-detail-navigation i {
     padding-left: 5px;
 }
.btn-action-icon.btn-report {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-custom-primary {
    background: var(--secondary-color);
    border-radius: 6px;
    color: var(--white);
    transition: all 0.3s ease;
}



.btn-custom-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 8.75px rgba(212, 235, 0, 0.3);
}

.btn-custom-primary i {
    font-size: var(--size-16);
}

/* 純文字操作項 */
.store-action-text {
    /* display: flex;
    align-items: center;
    justify-content: center; */
    padding: 12px 16px;
    background: var(--white);
    font-size: var(--size-16);
    font-weight: 400;
    color: var(--primary-color);
    text-align: center;
    line-height: 1.5;
}

/* 電話資訊樣式調整 */
.store-card-single .store-info-item {
    margin-bottom: 0;
}

.store-card-single .store-info-item span {
    font-weight: 400;
}

.btn-feedback {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F3F3F3;
    color: var(--primary-color);
    text-align: center;
    line-height: 36px;
    font-size: var(--size-16);
    position: absolute;
    right: 20px;
    bottom: 98px;
}

/* ===================================
   循環杯服務 Modal (Bootstrap 5)
   ================================== */

/* 小型居中 Modal 樣式 */
#cupServiceModal .modal-dialog {
    max-width: 480px;
    border-radius: 16px;
}

#cupServiceModal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    position: relative;
}

#cupServiceModal .btn-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
}

#cupServiceModal .modal-body {
    padding: 48px 32px 24px;
}

#cupServiceModal .modal-footer {
    padding: 0 32px 32px;
}

.modal-title {
    font-size: var(--size-20);
    font-weight: 400;
    color: var(--text-primary);
    margin: 0 0 8px;
    line-height: 1.5;
}

.modal-subtitle {
    font-size: var(--size-16);
    color: #636363;
    margin: 0;
    line-height: 1.5;
}

.btn-modal-cancel,
.btn-modal-confirm {
    flex: 1;
    max-width: 180px;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: var(--size-16);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-modal-cancel {
    background: #f3f3f3;
    color: var(--text-primary);
}

.btn-modal-cancel:hover {
    background: #e6e6e6;
}

.btn-modal-confirm {
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
}

.btn-modal-confirm:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(212, 235, 0, 0.3);
    color: var(--white);
}

/* 借還說明 Modal (居中) */
#borrowInfoModal .modal-dialog {
    max-width: 540px;
    max-height: 90vh;
}

#borrowInfoModal .modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    max-height: 90vh;
    position: relative;
}

#borrowInfoModal .btn-close,
#feedbackModal .btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

#borrowInfoModal .modal-header {
    background: var(--white);
    padding: 20px 20px 0;
    flex-shrink: 0;
}

.brand-info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.brand-logo-modal {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: var(--white);
    border-radius: 8px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.brand-logo {
    width: 100%;
    height: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.brand-name {
    font-size: var(--size-20);
    font-weight: 400;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.25;
}

.modal-brand-title {
    font-size: var(--size-20);
    font-weight: 400;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.25;
}

#borrowInfoModal .modal-body {
    padding: 20px;
    overflow-y: auto;
    max-height: calc(90vh - 100px);
}

.borrow-info-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-image {
    width: 100%;
    text-align: center;
}

.info-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.info-text {
    font-size: var(--size-15);
    color: var(--text-primary);
    line-height: 1.6;
}

.info-text p {
    margin: 0 0 12px;
}

.info-text p:last-child {
    margin-bottom: 0;
}

.text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.text-link:hover {
    text-decoration: underline;
}

.info-link {
    margin-top: 8px;
}

.link-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: var(--size-15);
    font-weight: 500;
    transition: all 0.3s ease;
}

.link-with-icon:hover {
    color: #147b7a;
}

.link-with-icon i {
    font-size: var(--size-14);
}

/* ===================================
   門市查詢頁面
   ================================== */

/* 頁面標題區 */
.wrapper {
    background: #F9F9F9;
}

/* 搜尋區域 */
.search-section {
    padding: 0;
}

.result-count {
    font-size: var(--size-14);
    color: #636363;
    margin: 0;
}

/* ===== 分頁導航 ===== */
.pagination {
    margin-top: 2rem;
    margin-bottom: 2rem;
    gap: 3px;
    flex-wrap: wrap;
}

.pagination .page-item .page-link {
    color: var(--text-primary);
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0.875rem;
    font-size: var(--size-16);
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 40px;
    height: 40px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.pagination .page-item .page-link:hover {
    background-color: rgba(25, 158, 157, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination .page-item .page-link:focus {
    box-shadow: 0 0 0 0.15rem rgba(25, 158, 157, 0.3);
    z-index: 3;
}

/* Active 當前頁面 */
.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
}

.pagination .page-item.active .page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* Disabled 停用狀態（上一頁/下一頁禁用） */
.pagination .pagination-prev.disabled .page-link,
.pagination .pagination-next.disabled .page-link {
    color: var(--text-muted);
    background-color: var(--light-bg);
    border-color: var(--border-color);
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination .pagination-prev.disabled .page-link:hover,
.pagination .pagination-next.disabled .page-link:hover {
    background-color: var(--light-bg);
    border-color: var(--border-color);
    color: var(--text-muted);
}

/* 上一頁/下一頁特殊樣式 */
.pagination .pagination-prev .page-link,
.pagination .pagination-next .page-link {
    padding: 0.5rem 0.875rem;
    min-width: 40px;
}

.pagination .pagination-prev .page-link i,
.pagination .pagination-next .page-link i {
    font-size: var(--size-16);
    line-height: 1;
}

/* 省略號樣式 */
.pagination .page-item.disabled span.page-link {
    color: var(--text-muted);
    background-color: transparent;
    border-color: transparent;
    cursor: default;
    opacity: 1;
    pointer-events: none;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: auto;
    padding: 0.5rem 0.5rem;
}

.pagination .page-item.disabled span.page-link:hover {
    background-color: transparent;
    border-color: transparent;
}

/* RWD: 手機版調整 */
@media (max-width: 767.98px) {
    .pagination {
        gap: 3px;
    }

    .pagination .page-item .page-link {
        padding: 0.375rem 0.625rem;
        font-size: var(--size-14);
        min-width: 36px;
        height: 36px;
    }

    .pagination .pagination-prev .page-link,
    .pagination .pagination-next .page-link {
        padding: 0.375rem 0.625rem;
        min-width: 36px;
    }

    .pagination .pagination-prev .page-link i,
    .pagination .pagination-next .page-link i {
        font-size: var(--size-14);
    }

    .pagination .page-item.disabled span.page-link {
        height: 36px;
        padding: 0.375rem 0.375rem;
    }
}

/* 門市列表 */
.store-list-section {
    padding: 0 0 40px;
}

.store-list-card {
    display: block;
    background: var(--white);
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.store-list-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* 確保 Bootstrap col 不會被文字內容撐開 */
.store-list-card .col {
    min-width: 0;
}

.store-list-brand {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.store-list-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.store-list-info {
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.store-list-city {
    display: inline-block;
    font-size: var(--size-14);
    color: #636363;
    background: #f3f3f3;
    padding: 5px 10px;
    border-radius: 15px;
    margin-bottom: 2px;
    line-height: 1;
}

.store-list-name {
    font-size: var(--size-22);
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 4px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.store-list-address {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: var(--size-14);
    color: #636363;
    margin: 0;
    line-height: 1.6;
}

.store-list-address i {
    color: var(--primary-color);
    font-size: var(--size-14);
    flex-shrink: 0;
    margin-top: 2px;
}

.store-list-arrow {
    color: #c7c7c7;
    font-size: var(--size-18);
}

/* 門市查詢頁面 - 篩選區域樣式 */
.filter-section {
    margin-bottom: 24px;
}

.filter-section-title {
    font-size: var(--size-16);
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 10px;
}

.filter-region {
    padding: 0 4px;
}

.region-select {
    font-size: var(--size-15);
    color: var(--text-primary);
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 10px 34px 10px 12px;
    background-color: var(--white);
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 12px;
}

.region-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(25, 158, 157, 0.1);
}

/* 搜尋表單區的 input 樣式 (與 select 一致) */
.search-form-section .form-control {
    font-size: var(--size-15);
    color: var(--text-primary);
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 10px 12px;
    background-color: var(--white);
}

.search-form-section .form-control::placeholder {
    color: #b8b8b8;
}

.search-form-section .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(25, 158, 157, 0.1);
}

.search-form-section .btn {
    padding: 9px 11px;
}

/* ===================================
   門市查詢頁面 (storesearch.html)
   ================================== */


.form-section-title {
    font-size: var(--size-16);
    font-weight: 500;
    color: var(--text-primary);
    margin: 16px 0 12px;
}


/* 查詢按鈕 */
.search-button-wrapper {
    margin-top: 24px;
    padding: 0 4px;
    margin-bottom: 24px;
}


.btn-listback {
    color: #252525;
}

.btn-listback i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* 查詢列表標題區 */
.store-list-header {
    padding: 16px 0 12px;
}



/* ===================================
   活動列表頁面
   ================================== */

/* 活動標題區 */
.page-head {
    padding: 12px;
}

.page-head-title {
    font-size: var(--size-20);
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.page-head-title img {
    width: 28px;
    height: 28px;
    margin-right: 8px;
}

/* 活動列表 */
.activity-list-section {
    padding: 0 0 40px;
}

.activity-list-card {
    display: block;
    background: var(--white);
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.activity-list-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.activity-list-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
}

.activity-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-list-content {
    padding: 8px 8px 8px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.activity-list-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.activity-list-content .tag {
    display: inline-block;
    font-size: var(--size-14);
    padding: 3px 10px;
    border-radius: 15px;
    line-height: 1.2;
}

.activity-list-content .tag-discount {
    background-color: #D1F9E3;
    color: #25A4A1;
}

.activity-list-content .tag-news {
    background-color: #F7FBCD;
    color: #967300;
}

.activity-list-content .date {
    font-size: var(--size-14);
    color: #636363;
}

.activity-list-content .title {
    font-size: var(--size-22);
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-list-arrow {
    color: #c7c7c7;
    font-size: var(--size-18);
    padding: 0 8px;
}

/* ===================================
   服務指引頁面
   ================================== */

/* 文章內容區 */
.post-content-section {
    padding: 0 0 40px;
}

.post-content {
    background: var(--white);
    padding: 24px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

/* ===================================
   常見問題頁面
   ================================== */

/* 常見問題列表 */
.faq-list-section {
    padding: 0 0 40px;
}

/* FAQ Accordion 樣式 */
.faq-item {
    background: var(--white);
    border: none;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.accordion-item:first-of-type,
.accordion-item:last-of-type {
    border-radius: 12px;
}

.faq-item .accordion-header {
    margin: 0;
}

.faq-item .accordion-button {
    font-size: var(--size-18);
    font-weight: 500;
    color: var(--text-primary);
    background-color: var(--white);
    padding: 16px 20px;
    border: none;
    box-shadow: none;
    position: relative;
}

.faq-item .accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
}

.faq-item .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.faq-item .accordion-button::after {
    content: "\f078";
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    background-image: none;
    width: auto;
    height: auto;
    font-size: var(--size-13);
    color: var(--primary-color);
}

.faq-item .accordion-button:not(.collapsed)::after {
    content: "\f077";
    color: var(--white);
    transform: none;
}


.faq-item .accordion-collapse {
    border: none;
    background: #ffffff;
}

.faq-item .accordion-body {
    padding: 16px;
    font-size: var(--size-16);
    color: #000000;
    line-height: 1.5;
}

.faq-item .accordion-body p {
    margin: 0 0 12px;
}

.faq-item .accordion-body p:last-child {
    margin-bottom: 0;
}


.cppage {
    padding: 0 12px;
}

.cppage .date {
    font-size: var(--size-14);
    color: #636363;
}

.cppage .title {
    font-size: var(--size-22);
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 10px;
}


.feedback-form {
    color: #636363;
}

.feedback-form .form-label {
    margin-bottom: 0;
}

.feedback-form .store-name {
    font-size: var(--size-20);
    font-weight: 500;
    color: var(--primary-color);
}

/* ===== 響應式設計 ===== */

@media (min-width: 768px) {
    .hero-section {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .brand-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
    }

}

@media (max-width: 767.98px) {

    /* 活動列表縮圖在手機版調整 */
    .activity-list-thumb {
        width: 100px;
        height: 100px;
        margin-right: 10px;
    }

    .activity-list-title {
        font-size: var(--size-15);
    }

    .activity-list-arrow {
        padding: 0 4px;
        font-size: var(--size-16);
    }

    /* 文章內容區在手機版調整 */
    .post-content {
        padding: 20px 16px;
    }

    /* 手機版隱藏地圖圖例 */
    .map-legend {
        display: none;
    }

    .store-card .store-name {
        font-size: var(--size-18);
    }

}

/* ===================================
   店家詳細資料 Modal
   =================================== */

.store-detail-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.store-detail-item {
    padding: 10px;
    background: #eeeeee;
    border-radius: 10px;
}

.store-detail-item:last-child {
    margin-bottom: 10px;
}

.store-detail-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--size-16);
    color: var(--text-secondary);
    margin-bottom: 2px;
    opacity: 0.8;
}

.store-detail-label i {
    font-size: var(--size-28);
    color: var(--secondary-color);
    flex-shrink: 0;
    width: 35px;
    text-align: center;
}

.store-detail-value {
    font-size: var(--size-15);
    color: var(--text-secondary);
    line-height: 1.5;
    padding-left: 40px;
}

.store-detail-item .store-detail-value+.store-detail-value {
    margin-top: 0;
}

/* ===================================
   意見回饋 Modal - 自訂 Checkbox 選項
   =================================== */

/* 選項區塊 */
.feedback-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 待選標簽卡片 */
.feedback-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f2f2f2;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: var(--size-18);
    color: var(--text-secondary);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    user-select: none;
}

/* Icon 占位區塊 (未來加圖用) */
.feedback-option-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: auto;
    flex-shrink: 0;
}

.feedback-option-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 選取狀態 - 綠色 */
.feedback-check:checked+.feedback-option {
    background: #e8f6f5;
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
}

.leaflet-popup-content .open-popup-store-detail-btn {
    margin-top: 6px;
    border: 0;
    background: #199E9D;
    color: #ffffff;
    border-radius: 6px;
    padding: 4px 10px;
}
/* ===================================
   定位提示泡泡 (Coach Mark) 純 CSS 版
   =================================== */
.coach-mark-bubble {
    position:fixed ;
    top: 150px; /* 與按鈕 top 相同以對齊 */
    right: 64px; /* 按鈕 right(20) + 寬度(32) + 間距(12) */
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: var(--size-14);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 11;
    pointer-events: none; /* 重要：讓滑鼠點擊可以穿透泡泡，不會擋住下方的地圖操作 */
    
    /* 同時執行兩個動畫：左右浮動、進場與淡出 */
    animation: 
        floatBubble 1.5s infinite alternate ease-in-out,
        showAndFadeOut 6s forwards;
}

/* 泡泡右側的三角形指標 */
.coach-mark-bubble::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px; /* 將三角形往右推出 */
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--secondary-color);
}

/* 動畫 1：左右微幅浮動 */
@keyframes floatBubble {
    0% { transform: translateX(0); }
    100% { transform: translateX(-4px); }
}

/* 動畫 2：網頁載入時顯示，6秒後自動淡出隱藏 */
@keyframes showAndFadeOut {
    0% { opacity: 0; visibility: visible; }
    10% { opacity: 1; }  /* 0.6秒時完全顯示 */
    80% { opacity: 1; }  /* 停留顯示到 4.8秒 */
    100% { opacity: 0; visibility: hidden; } /* 6秒時完全透明並隱藏 */
}

/* 手機版微調 */
@media (max-width: 767.98px) {
    .coach-mark-bubble {
        font-size: var(--size-13);
        padding: 6px 10px;
    }
}