/* 手機版全站字級再 +1 級（html root +0.06rem；其餘 rem 字級隨之等比放大） */

@media (max-width: 767px) {
    html {
        font-size: calc(100% + 0.06rem) !important;
    }

    /* 首頁店家卡：手機僅顯示縣市／區域，隱藏完整地址 */
    .meta-line--address,
    .minimal-card__meta--address {
        display: none !important;
    }

    /* 首頁店家卡：相片上已有評分，隱藏標題下方 Google 評分行 */
    .card .card-body > .card-rating-row,
    .minimal-card__body > .card-rating-row {
        display: none !important;
    }

    /* ── 首頁列表 / 卡片（最小字級 +2 級覆寫，再隨 html root 等比放大） ── */
    .meta-line,
    .card-rating-row__cnt,
    .badge-rating,
    .fate-theme-minimal .minimal-card__meta,
    .fate-theme-minimal .minimal-card__rating {
        font-size: 0.8rem !important;
    }

    .card-foot,
    .fate-theme-minimal .minimal-card__foot {
        font-size: 0.78rem !important;
    }

    .card-foot a,
    .card-rating-row,
    .toolbar label,
    .toolbar .stats,
    .fate-theme-minimal .minimal-toolbar__label,
    .fate-theme-minimal .minimal-stats,
    .fate-theme-minimal .minimal-card__link,
    .fate-mobile-bar__sheet-title,
    .sidebar-hint,
    .forum-store-board__cities-hint,
    .forum-classic-table td::before,
    .fate-site-footer__cc {
        font-size: 0.84rem !important;
    }

    .toolbar select,
    .toolbar > form .btn-link,
    .fate-theme-minimal .minimal-select,
    .fate-theme-minimal .minimal-toolbar > form .minimal-btn,
    .sidebar-search-label,
    .fate-mobile-search-form__label,
    .fate-mobile-search-form__hint,
    .fate-mobile-search-form__submit,
    .forum-store-board__cities-label,
    .fate-site-footer,
    .fate-site-footer__stats {
        font-size: 0.9rem !important;
    }

    .fate-weekly-slider__sub {
        font-size: 0.77rem !important;
    }

    /* ── 論壇微字 ── */
    .forum-tag,
    .forum-store-compact__badge,
    .crowd-reports__hint,
    .crowd-report-tag__members {
        font-size: 0.8rem !important;
    }

    .forum-store-compact__row--info,
    .forum-thread-item__branch,
    .forum-thread-item__meta,
    .forum-thread-item__stat,
    .forum-board-mods__user,
    .forum-classic-table__last-time,
    .forum-post__edited,
    .forum-reward-note,
    .forum-masseur-hint,
    .forum-masseur-default-photo__label,
    .forum-masseur-photo-brush-label,
    .forum-masseur-tags-board__hint,
    .masseur-tags__help,
    .forum-board-notice__time,
    .forum-paid-buyers__time,
    .forum-admin-item__meta,
    .forum-post__time,
    .forum-post__role,
    .forum-panel__hint,
    .forum-entry-link {
        font-size: 0.88rem !important;
    }

    .masseur-tag,
    .masseur-tag__n {
        font-size: 0.88rem !important;
    }

    /* ── 店家 / 技師 / 會員頁 ── */
    .store-hero__badge-sub,
    .masseur-hint,
    .masseur-default-photo__label,
    .masseur-reward-note,
    .masseur-review-pager__info,
    .masseur-review__date,
    .masseur-review__edited,
    .member-fav-card__meta,
    .member-thread-fav-card__type,
    .member-thread-fav-card__meta,
    .member-profile-hint {
        font-size: 0.9rem !important;
    }

    .store-pre--json,
    .masseur-row__date,
    .fate-theme-minimal .minimal-page .sidebar-hint {
        font-size: 0.88rem !important;
    }

    /* ── 店家詳情 Tab 內容：減少多層 padding／雙欄占寬 ── */
    .layout-shell--detail {
        padding-left: 0.65rem !important;
        padding-right: 0.65rem !important;
    }

    .store-card-fate__body,
    .store-card-fate--photos:not(.store-extra-tabs) {
        padding: 0.65rem 0.6rem !important;
    }

    .store-extra-tabs.store-card-fate--block {
        padding: 0 !important;
        margin-bottom: 0.85rem;
    }

    .store-extra-tabs > .store-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0.3rem;
        padding: 0.45rem 0.55rem 0;
        margin: 0;
    }

    .store-extra-tabs > .store-tabs::-webkit-scrollbar {
        display: none;
    }

    .store-tabs__btn {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 0.4rem 0.65rem !important;
        font-size: 0.82rem !important;
    }

    .store-tabs__badge {
        margin-left: 0.25rem;
        padding: 0.04rem 0.35rem;
        font-size: 0.68rem !important;
    }

    .store-tab-panel__inner {
        padding: 0.55rem 0.55rem 0.7rem !important;
    }

    .store-info-fate {
        gap: 0.35rem;
        margin-bottom: 0.65rem;
    }

    .store-info-item-fate {
        padding: 0.35rem 0.45rem;
        gap: 0.4rem;
    }

    .store-info-item-fate__glyph {
        width: 1.15rem;
        height: 1.15rem;
        font-size: 0.62rem;
    }

    .masseur-rows {
        gap: 0.42rem !important;
        margin: 0.5rem 0 0.75rem !important;
    }

    .masseur-row {
        padding: 0.45rem 0.5rem !important;
    }

    .masseur-row__main {
        gap: 0.38rem 0.45rem !important;
    }

    .masseur-row__actions {
        flex-basis: 100% !important;
        margin-left: 0 !important;
        justify-content: flex-start !important;
        padding-left: calc(46px + 0.45rem) !important;
    }

    .masseur-row__avatar {
        width: 46px !important;
        height: 46px !important;
        font-size: 1.05rem !important;
    }

    .masseur-tags__group {
        padding: 0.45rem 0.5rem;
    }

    .masseur-create {
        padding: 0.6rem 0.55rem !important;
    }

    .masseur-field,
    .masseur-edit-form,
    .masseur-photo-editor {
        max-width: none !important;
    }

    .masseur-section--forum .masseur-forum-hint {
        padding: 0.45rem 0.55rem;
        margin-bottom: 0.55rem;
    }

    .store-photos-grid-fate {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    .store-map-tab .store-map-embed {
        margin-left: 0;
        margin-right: 0;
    }

    .store-hours-card__table th,
    .store-hours-card__table td {
        padding: 0.35rem 0.4rem;
    }

    /* ── 會員頁 Tab：減少外層與內層雙重 padding ── */
    .member-profile-tabs-wrap.member-profile-card {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 0 !important;
    }

    .member-profile-tabs {
        padding-left: 0.55rem !important;
        padding-right: 0.55rem !important;
    }

    .member-profile-tab-panel__inner {
        padding: 0.55rem 0.55rem 0.7rem !important;
    }

    /* ── 收藏技師 Tab：單欄排版、操作列全寬 ── */
    .member-fav-head {
        gap: 0.55rem !important;
        margin-bottom: 0.65rem !important;
    }

    .member-fav-public-form {
        padding: 0.45rem 0.5rem !important;
    }

    .member-fav-list {
        gap: 0.55rem !important;
    }

    .member-fav-card {
        padding: 0.6rem 0.55rem !important;
        border-radius: 10px;
    }

    .member-fav-card__top {
        grid-template-columns: auto minmax(0, 1fr) !important;
        gap: 0.55rem 0.65rem !important;
        align-items: start !important;
    }

    .member-fav-card__avatar {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }

    .member-fav-card__body {
        min-width: 0;
    }

    .member-fav-card__store {
        word-break: break-word;
    }

    .member-fav-card__side {
        grid-column: 1 / -1 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: stretch !important;
        justify-content: stretch !important;
        gap: 0.35rem !important;
        padding-left: 0 !important;
        width: 100%;
    }

    .member-fav-exp-form,
    .member-fav-unfav-form {
        flex: 1 1 8rem;
        min-width: 0;
        margin: 0;
    }

    .member-fav-exp-btn,
    .member-fav-card__side .member-profile-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .member-fav-card__tags {
        margin-top: 0.55rem;
        padding-top: 0.55rem;
    }

    .member-fav-card__tags .masseur-tags {
        gap: 0.35rem;
    }

    .masseur-tags__all .masseur-tags__group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.32rem;
    }

    .masseur-tags__all .masseur-tags__head {
        width: 100%;
    }

    .masseur-tags__all .masseur-tags__list {
        width: 100%;
        flex: 0 1 auto;
    }

    .member-fav-card__reviews .masseur-review-form textarea {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }
}
