/**
 * minimal 模版：店家詳情、會員頁等內頁
 * 沿用 default 的 HTML class，以淺色 design tokens 覆寫
 */

.fate-theme-minimal .minimal-page {
    --fg: var(--min-fg);
    --muted: var(--min-muted);
    --accent: var(--min-accent);
    --line: var(--min-line);
    --line-soft: var(--min-line-soft);
    --card: var(--min-card);
    --bg2: var(--min-bg-subtle);
    --radius: var(--min-radius);
    --shadow-sm: var(--min-shadow);
    --ok: #22863a;
    color: var(--fg);
}

.fate-theme-minimal .minimal-page--home .layout-shell {
    padding-top: 0;
}

.fate-theme-minimal .minimal-page--home .layout-main.minimal-home {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    min-width: 0;
}

.fate-theme-minimal .minimal-page--home .minimal-panel {
    margin-bottom: 0;
}

.fate-theme-minimal .minimal-body--inner {
    background: var(--min-bg);
}

/* ── 兩欄版型 ── */
.fate-theme-minimal .minimal-page .layout-shell {
    max-width: var(--min-wide);
    margin: 0 auto;
    padding: 0 1.25rem 1.35rem;
}

.fate-theme-minimal .minimal-page .layout-shell--detail {
    padding-top: 0.35rem;
}

.fate-theme-minimal .minimal-page .layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 17.75rem;
    gap: 0.85rem;
    align-items: start;
    padding-top: 0.85rem;
}

.fate-theme-minimal .minimal-page .layout-main {
    min-width: 0;
    max-width: 100%;
}

.fate-theme-minimal .minimal-page .layout-sidebar {
    position: sticky;
    top: calc(var(--min-header-h) + 0.35rem);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.fate-theme-minimal .minimal-page .sidebar-card {
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 1rem 1.05rem;
    box-shadow: var(--shadow-sm);
}

.fate-theme-minimal .minimal-page .sidebar-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin: 0 0 0.65rem;
    font-weight: 600;
}

.fate-theme-minimal .minimal-page .sidebar-member-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}

.fate-theme-minimal .minimal-page .sidebar-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--line-soft);
    flex-shrink: 0;
    background: var(--bg2);
}

.fate-theme-minimal .minimal-page .sidebar-member-head__text {
    min-width: 0;
    flex: 1;
}

.fate-theme-minimal .minimal-page .sidebar-user-name {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    line-height: 1.35;
}

.fate-theme-minimal .minimal-page .sidebar-user-meta {
    font-size: 0.82rem;
    color: var(--muted);
    margin: 0 0 0.85rem;
    word-break: break-all;
}

.fate-theme-minimal .minimal-page .sidebar-user-ncoin__label {
    color: var(--muted);
    font-weight: 500;
    margin-right: 0.15rem;
}

.fate-theme-minimal .minimal-page .sidebar-user-ncoin__amount,
.fate-theme-minimal .minimal-page .sidebar-social-list a,
.fate-theme-minimal .minimal-page .text-accent-link {
    color: var(--accent);
}

.fate-theme-minimal .minimal-page .sidebar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.fate-theme-minimal .minimal-page .sidebar-btn {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--line);
    font-size: 0.86rem;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    background: var(--min-accent-soft);
    color: var(--accent);
    font-weight: 500;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.fate-theme-minimal .minimal-page .sidebar-btn:hover {
    border-color: rgba(5, 80, 174, 0.35);
    background: rgba(5, 80, 174, 0.14);
}

.fate-theme-minimal .minimal-page .sidebar-btn--ghost {
    background: transparent;
    color: var(--muted);
}

.fate-theme-minimal .minimal-page .sidebar-search-label {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 0.35rem;
}

.fate-theme-minimal .minimal-page .sidebar-search-row {
    display: flex;
    gap: 0.45rem;
    align-items: stretch;
}

.fate-theme-minimal .minimal-page .sidebar-search,
.fate-theme-minimal .minimal-page .sidebar-submit {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--card);
    color: var(--fg);
    font-size: 0.88rem;
}

.fate-theme-minimal .minimal-page .sidebar-search {
    flex: 1;
    min-width: 0;
    padding: 0.45rem 0.55rem;
}

.fate-theme-minimal .minimal-page .sidebar-search:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--min-accent-soft);
}

.fate-theme-minimal .minimal-page .sidebar-submit {
    padding: 0.45rem 0.65rem;
    background: var(--min-accent-soft);
    color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
    font-weight: 600;
}

.fate-theme-minimal .minimal-page .sidebar-hint {
    font-size: 0.74rem;
    color: var(--muted);
    margin: 0.55rem 0 0;
    line-height: 1.45;
}

.fate-theme-minimal .minimal-page .sidebar-social-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.fate-theme-minimal .minimal-page .sidebar-social-list a {
    text-decoration: none;
    font-size: 0.84rem;
    word-break: break-word;
}

.fate-theme-minimal .minimal-page .sidebar-social-list a:hover {
    text-decoration: underline;
}

/* ── 麵包屑 ── */
.fate-theme-minimal .minimal-page .store-bc {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0 0 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.fate-theme-minimal .minimal-page .store-bc a {
    color: var(--accent);
    text-decoration: none;
}

.fate-theme-minimal .minimal-page .store-bc a:hover {
    text-decoration: underline;
}

.fate-theme-minimal .minimal-page .store-bc__sep {
    opacity: 0.45;
}

.fate-theme-minimal .minimal-page .store-bc__cur {
    color: var(--fg);
}

/* ── 通用面板 ── */
.fate-theme-minimal .minimal-page .store-panel,
.fate-theme-minimal .minimal-page .store-card-fate {
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.fate-theme-minimal .minimal-page .store-panel {
    padding: 1.25rem 1.35rem;
}

.fate-theme-minimal .minimal-page .store-panel--warn {
    border-color: rgba(212, 167, 44, 0.45);
    background: #fffbeb;
}

.fate-theme-minimal .minimal-page .store-panel--muted {
    color: var(--muted);
}

.fate-theme-minimal .minimal-page .store-card-fate {
    margin-bottom: 1.1rem;
    overflow: hidden;
    padding: 0;
}

.fate-theme-minimal .minimal-page .store-card-fate__cover {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    background: var(--bg2);
}

.fate-theme-minimal .minimal-page .store-card-fate__cover--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
}

.fate-theme-minimal .minimal-page .store-card-fate__body,
.fate-theme-minimal .minimal-page .store-card-fate--photos,
.fate-theme-minimal .minimal-page .store-card-fate--block {
    padding: 1rem 1.05rem 1.05rem;
}

.fate-theme-minimal .minimal-page .store-header-row-fate {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px dashed var(--line-soft);
}

.fate-theme-minimal .minimal-page .store-title-fate,
.fate-theme-minimal .minimal-page .page-title {
    font-size: clamp(1.22rem, 2.8vw, 1.55rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.25rem;
    letter-spacing: -0.02em;
    color: var(--fg);
}

.fate-theme-minimal .minimal-page .store-sub-fate,
.fate-theme-minimal .minimal-page .sub,
.fate-theme-minimal .minimal-page .store-meta-foot {
    color: var(--muted);
    font-size: 0.88rem;
}

.fate-theme-minimal .minimal-page .store-rating-fate__star {
    color: #d4a017;
}

.fate-theme-minimal .minimal-page .store-share-fate {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.fate-theme-minimal .minimal-page .store-share-fate__btn {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid var(--line);
    background: var(--bg2);
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
}

.fate-theme-minimal .minimal-page .store-share-fate__btn:hover {
    border-color: rgba(5, 80, 174, 0.35);
    background: var(--min-accent-soft);
}

.fate-theme-minimal .minimal-page .store-info-fate {
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
    margin-bottom: 0.85rem;
}

.fate-theme-minimal .minimal-page .store-info-item-fate {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.42rem 0.55rem;
    border-radius: 10px;
    border: 1px solid rgba(5, 80, 174, 0.12);
    background: var(--min-accent-soft);
    font-size: 0.86rem;
    line-height: 1.45;
}

.fate-theme-minimal .minimal-page .store-info-item-fate__glyph {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 800;
    background: rgba(5, 80, 174, 0.12);
    color: var(--accent);
}

.fate-theme-minimal .minimal-page .store-info-item-fate__body a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.fate-theme-minimal .minimal-page .store-info-item-fate__body a:hover {
    text-decoration: underline;
}

.fate-theme-minimal .minimal-page .store-hours-card__table th,
.fate-theme-minimal .minimal-page .store-hours-card__table td {
    border-color: var(--line-soft);
    padding: 0.28rem 0.45rem 0.28rem 0;
}

.fate-theme-minimal .minimal-page .store-hours-card__table th {
    background: var(--bg2);
    color: var(--muted);
    font-weight: 600;
}

.fate-theme-minimal .minimal-page .store-hours-card__tag {
    color: var(--accent);
    background: var(--min-accent-soft);
    border: 1px solid rgba(5, 80, 174, 0.2);
}

.fate-theme-minimal .minimal-page .store-features-fate {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding-top: 0.65rem;
    margin-bottom: 0.85rem;
    border-top: 1px solid var(--line-soft);
}

.fate-theme-minimal .minimal-page .store-badge-fate {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    border: 1px solid var(--line);
    background: var(--bg2);
    color: var(--muted);
}

.fate-theme-minimal .minimal-page .store-badge-fate--accent {
    color: var(--accent);
    border-color: rgba(5, 80, 174, 0.28);
    background: var(--min-accent-soft);
}

.fate-theme-minimal .minimal-page .store-badge-fate--ok {
    color: var(--ok);
    border-color: rgba(34, 134, 58, 0.35);
    background: #edf7ed;
}

.fate-theme-minimal .minimal-page .store-disclaimer-fate {
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--muted);
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    background: var(--bg2);
    border: 1px solid var(--line-soft);
}

.fate-theme-minimal .minimal-page .store-section-fate-h {
    font-size: 1.02rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.fate-theme-minimal .minimal-page .store-photos-grid-fate {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
    gap: 0.5rem;
}

.fate-theme-minimal .minimal-page .store-photo-tile-fate {
    position: relative;
    padding-top: 75%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    background: var(--bg2);
}

.fate-theme-minimal .minimal-page .store-photo-tile-fate a {
    position: absolute;
    inset: 0;
}

.fate-theme-minimal .minimal-page .store-photo-tile-fate img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.fate-theme-minimal .minimal-page .store-photo-tile-fate a:hover img {
    transform: scale(1.04);
}

.fate-theme-minimal .minimal-page .store-photos-more-fate {
    margin-top: 0.65rem;
    padding: 0.4rem 0.85rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: 1px solid rgba(5, 80, 174, 0.28);
    background: var(--min-accent-soft);
    color: var(--accent);
}

.fate-theme-minimal .minimal-page .store-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--bg2);
    color: var(--fg);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.fate-theme-minimal .minimal-page .store-btn--primary {
    background: var(--accent);
    border-color: var(--min-accent-hover);
    color: #fff;
}

.fate-theme-minimal .minimal-page .store-btn--ghost {
    background: transparent;
    color: var(--muted);
}

/* ── Tab ── */
.fate-theme-minimal .minimal-page .store-extra-tabs {
    margin-top: 1.1rem;
}

.fate-theme-minimal .minimal-page .store-extra-tabs > .store-tabs {
    display: flex;
    gap: 0.35rem;
    padding: 0.65rem 0.85rem 0;
    border-bottom: 1px solid var(--line-soft);
    margin: 0;
    flex-wrap: wrap;
}

.fate-theme-minimal .minimal-page .store-tabs__btn {
    appearance: none;
    font: inherit;
    cursor: pointer;
    padding: 0.5rem 0.95rem;
    border: 1px solid transparent;
    border-radius: 10px 10px 0 0;
    background: transparent;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: -1px;
}

.fate-theme-minimal .minimal-page .store-tabs__btn:hover {
    color: var(--fg);
    background: var(--bg2);
}

.fate-theme-minimal .minimal-page .store-tabs__btn.is-active {
    color: var(--accent);
    background: var(--card);
    border-color: var(--line-soft);
    border-bottom-color: var(--card);
}

.fate-theme-minimal .minimal-page .store-tabs__badge {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--min-accent-soft);
    color: var(--accent);
}

.fate-theme-minimal .minimal-page .store-tab-panel {
    display: none;
}

.fate-theme-minimal .minimal-page .store-tab-panel.is-active {
    display: block;
}

.fate-theme-minimal .minimal-page .store-tab-panel__inner {
    padding: 0.85rem 0.9rem 1rem;
}

/* ── 技師 ── */
.fate-theme-minimal .minimal-page .masseur-section {
    margin-top: 0;
}

.fate-theme-minimal .minimal-page .masseur-head {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.fate-theme-minimal .minimal-page .masseur-count {
    color: var(--muted);
    font-size: 0.85rem;
}

.fate-theme-minimal .minimal-page .masseur-rows {
    list-style: none;
    margin: 0.55rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.fate-theme-minimal .minimal-page .masseur-row,
.fate-theme-minimal .minimal-page .masseur-card {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: var(--card);
    padding: 0.5rem 0.62rem;
    box-shadow: var(--shadow-sm);
    min-width: 0;
}

.fate-theme-minimal .minimal-page .masseur-row__main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.55rem;
}

.fate-theme-minimal .minimal-page .masseur-row__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg2);
    border: 1px solid var(--line-soft);
    font-size: 1.15rem;
}

.fate-theme-minimal .minimal-page .masseur-row__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fate-theme-minimal .minimal-page .masseur-row__name {
    font-weight: 700;
    font-size: 0.92rem;
}

.fate-theme-minimal .minimal-page .masseur-row__date {
    color: var(--muted);
    font-size: 0.68rem;
}

.fate-theme-minimal .minimal-page .masseur-vote-btn {
    padding: 0.3rem 0.55rem;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--bg2);
    color: var(--fg);
    font: inherit;
    font-size: 0.78rem;
    cursor: pointer;
}

.fate-theme-minimal .minimal-page .masseur-vote-btn.is-active {
    border-color: var(--accent);
    background: var(--min-accent-soft);
    color: var(--accent);
}

.fate-theme-minimal .minimal-page .masseur-row__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.28rem;
    margin-left: auto;
}

.fate-theme-minimal .minimal-page .masseur-favorite-btn {
    padding: 0.3rem 0.55rem;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--bg2);
    color: var(--fg);
    font: inherit;
    font-size: 0.78rem;
    cursor: pointer;
}

.fate-theme-minimal .minimal-page .masseur-favorite-btn.is-active {
    border-color: rgba(220, 80, 120, 0.45);
    background: rgba(220, 80, 120, 0.1);
    color: #c44;
}

.fate-theme-minimal .minimal-page .masseur-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--bg2);
    font-size: 0.76rem;
    cursor: pointer;
    font-family: inherit;
}

.fate-theme-minimal .minimal-page .masseur-tag.is-active {
    border-color: var(--accent);
    background: var(--min-accent-soft);
    color: var(--accent);
}

.fate-theme-minimal .minimal-page .masseur-flash--ok {
    background: #edf7ed;
    color: var(--ok);
    border: 1px solid #a8d5ab;
}

.fate-theme-minimal .minimal-page .masseur-flash--bad {
    background: #fdecea;
    color: #c0392b;
    border: 1px solid #f5b4b4;
}

.fate-theme-minimal .minimal-page .forum-entry-link {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--accent);
    background: var(--min-accent-soft);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
}

.fate-theme-minimal .minimal-page .crowd-report-tag {
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--bg2);
    font-size: 0.78rem;
}

.fate-theme-minimal .minimal-page .crowd-report-action {
    color: var(--accent);
    font-weight: 600;
}

/* ── 會員頁 ── */
.fate-theme-minimal .minimal-page .page-head {
    margin: 0 0 1rem;
}

.fate-theme-minimal .minimal-page .member-profile-head .sub {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.fate-theme-minimal .minimal-page .member-profile-msg {
    border-radius: var(--radius);
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.75rem;
    font-size: 0.88rem;
}

.fate-theme-minimal .minimal-page .member-profile-msg--ok {
    background: #edf7ed;
    border: 1px solid #a8d5ab;
    color: var(--ok);
}

.fate-theme-minimal .minimal-page .member-profile-msg--warn {
    background: #fff8e6;
    border: 1px solid #e6d08a;
    color: #7a5c00;
}

.fate-theme-minimal .minimal-page .member-profile-msg--bad {
    background: #fdecea;
    border: 1px solid #f5b4b4;
    color: #c0392b;
}

.fate-theme-minimal .minimal-page .member-profile-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.65rem 0.85rem 0;
    border-bottom: 1px solid var(--line-soft);
}

.fate-theme-minimal .minimal-page .member-profile-tabs__btn {
    appearance: none;
    font: inherit;
    cursor: pointer;
    padding: 0.5rem 0.85rem;
    border: 1px solid transparent;
    border-radius: 10px 10px 0 0;
    background: transparent;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 600;
    margin-bottom: -1px;
}

.fate-theme-minimal .minimal-page .member-profile-tabs__btn.is-active {
    background: var(--card);
    color: var(--accent);
    border-color: var(--line-soft);
    border-bottom-color: var(--card);
}

.fate-theme-minimal .minimal-page .member-profile-tab-panel {
    display: none;
}

.fate-theme-minimal .minimal-page .member-profile-tab-panel.is-active {
    display: block;
}

.fate-theme-minimal .minimal-page .member-profile-tab-panel__inner {
    padding: 0.95rem 0.9rem 1.1rem;
}

.fate-theme-minimal .minimal-page .member-profile-card,
.fate-theme-minimal .minimal-page .member-profile-tabs-wrap {
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.fate-theme-minimal .minimal-page .member-profile-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1rem;
    padding: 0.95rem 0.9rem;
}

.fate-theme-minimal .minimal-page .member-profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--line-soft);
}

.fate-theme-minimal .minimal-page .member-profile-ncoin__amount {
    color: var(--accent);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.fate-theme-minimal .minimal-page .member-profile-form input,
.fate-theme-minimal .minimal-page .member-profile-form textarea,
.fate-theme-minimal .minimal-page .member-profile-form select {
    width: 100%;
    max-width: 100%;
    padding: 0.45rem 0.55rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--card);
    color: var(--fg);
    font: inherit;
    font-size: 0.88rem;
}

.fate-theme-minimal .minimal-page .member-profile-form input:focus,
.fate-theme-minimal .minimal-page .member-profile-form textarea:focus,
.fate-theme-minimal .minimal-page .member-profile-form select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--min-accent-soft);
}

.fate-theme-minimal .minimal-page .member-profile-btn,
.fate-theme-minimal .minimal-page .member-profile-btn--primary {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--bg2);
    color: var(--fg);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.fate-theme-minimal .minimal-page .member-profile-btn--primary {
    background: var(--accent);
    border-color: var(--min-accent-hover);
    color: #fff;
}

.fate-theme-minimal .minimal-page .member-profile-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
}

.fate-theme-minimal .minimal-page .member-profile-ncoin-hist {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}

.fate-theme-minimal .minimal-page .member-profile-ncoin-hist th,
.fate-theme-minimal .minimal-page .member-profile-ncoin-hist td {
    padding: 0.45rem 0.55rem;
    border-bottom: 1px solid var(--line-soft);
    text-align: left;
}

.fate-theme-minimal .minimal-page .member-profile-ncoin-hist th {
    background: var(--bg2);
    color: var(--muted);
    font-weight: 600;
}

.fate-theme-minimal .minimal-page .member-profile-ncoin-hist__amt--debit {
    color: #c0392b;
}

.fate-theme-minimal .minimal-page .member-profile-ncoin-pager a,
.fate-theme-minimal .minimal-page .member-profile-ncoin-pager span {
    display: inline-flex;
    padding: 0.3rem 0.55rem;
    border-radius: 6px;
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--accent);
    font-size: 0.84rem;
}

.fate-theme-minimal .minimal-page code.inline {
    background: rgba(27, 31, 36, 0.06);
    padding: 0.08em 0.3em;
    border-radius: 4px;
    font-size: 0.88em;
    color: var(--accent);
}

.fate-theme-minimal .minimal-page .member-thread-fav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.fate-theme-minimal .minimal-page .member-thread-fav-card {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.8rem 0.95rem;
    background: var(--card);
}

.fate-theme-minimal .minimal-page .member-thread-fav-card__title a {
    color: var(--fg);
    text-decoration: none;
}

.fate-theme-minimal .minimal-page .member-thread-fav-card__title a:hover {
    color: var(--accent);
}

.fate-theme-minimal .minimal-page .member-thread-fav-unfav-btn {
    font-size: 0.78rem;
    cursor: pointer;
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
    border: 1px solid var(--line);
    background: var(--bg-subtle);
    color: var(--muted);
}

/* ── RWD ── */
@media (max-width: 960px) {
    .fate-theme-minimal .minimal-page .layout {
        grid-template-columns: 1fr;
    }

    .fate-theme-minimal .minimal-page .layout-sidebar {
        position: static;
    }

    .fate-theme-minimal .minimal-page .masseur-rows {
        gap: 0.42rem;
    }
}

@media (max-width: 767px) {
    .fate-theme-minimal .minimal-page .layout-shell,
    .fate-theme-minimal .minimal-page .layout-shell--detail {
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }

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

    .fate-theme-minimal .minimal-page .store-extra-tabs.store-card-fate--block {
        padding: 0;
    }

    .fate-theme-minimal .minimal-page .store-extra-tabs > .store-tabs {
        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;
    }

    .fate-theme-minimal .minimal-page .store-extra-tabs > .store-tabs::-webkit-scrollbar {
        display: none;
    }

    .fate-theme-minimal .minimal-page .store-tabs__btn {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 0.4rem 0.65rem;
        font-size: 0.82rem;
        border-radius: 999px;
        border: 1px solid var(--line-soft);
        border-bottom: 1px solid var(--line-soft);
        margin-bottom: 0.45rem;
    }

    .fate-theme-minimal .minimal-page .store-tabs__btn.is-active {
        border-bottom-color: rgba(5, 80, 174, 0.35);
    }

    .fate-theme-minimal .minimal-page .store-tab-panel__inner {
        padding: 0.55rem 0.55rem 0.7rem;
    }

    .fate-theme-minimal .minimal-page .masseur-rows {
        gap: 0.42rem;
    }

    .fate-theme-minimal .minimal-page .masseur-row,
    .fate-theme-minimal .minimal-page .masseur-card {
        padding: 0.45rem 0.5rem;
    }

    .fate-theme-minimal .minimal-page .masseur-row__main {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        grid-template-areas:
            "avatar info"
            "actions actions";
        column-gap: 0.45rem;
        row-gap: 0.32rem;
    }

    .fate-theme-minimal .minimal-page .masseur-avatar-wrap { grid-area: avatar; }
    .fate-theme-minimal .minimal-page .masseur-row__info { grid-area: info; flex: none; width: auto; }
    .fate-theme-minimal .minimal-page .masseur-row__actions {
        grid-area: actions;
        flex-basis: auto;
        width: 100%;
        margin-left: 0;
        padding: 0.3rem 0.32rem;
        justify-content: space-between;
        border-radius: 8px;
        background: rgba(0, 0, 0, 0.03);
        border: 1px solid var(--line-soft);
    }

    .fate-theme-minimal .minimal-page .masseur-row__avatar {
        width: 40px;
        height: 40px;
    }

    .fate-theme-minimal .minimal-page .masseur-field,
    .fate-theme-minimal .minimal-page .masseur-edit-form,
    .fate-theme-minimal .minimal-page .masseur-photo-editor {
        max-width: none;
    }

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

@media (max-width: 720px) {
    .fate-theme-minimal .minimal-page .layout-shell {
        padding: 0 0.85rem 1.5rem;
    }

    .fate-theme-minimal .minimal-page .member-profile-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0.35rem;
    }

    .fate-theme-minimal .minimal-page .member-profile-tabs::-webkit-scrollbar {
        display: none;
    }

    .fate-theme-minimal .minimal-page .member-profile-tabs__btn {
        flex: 0 0 auto;
        white-space: nowrap;
        border-radius: 999px;
        margin-bottom: 0.55rem;
        font-size: 0.82rem;
    }

    .fate-theme-minimal .minimal-page .member-profile-tabs-wrap {
        overflow: visible;
    }

    .fate-theme-minimal .minimal-page .member-profile-summary {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .fate-theme-minimal .minimal-page .member-profile-stores-head {
        flex-direction: column;
    }

    .fate-theme-minimal .minimal-page .member-profile-stores-head__actions {
        width: 100%;
        flex-direction: column;
    }

    .fate-theme-minimal .minimal-page .member-profile-stores-head__actions .member-profile-btn {
        width: 100%;
        text-align: center;
    }

    .fate-theme-minimal .minimal-page .store-header-row-fate {
        flex-direction: column;
    }

    .fate-theme-minimal .minimal-page .store-card-fate__cover {
        height: 140px;
    }

    .fate-theme-minimal .minimal-page .masseur-row__main {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        grid-template-areas:
            "avatar info"
            "actions actions";
        column-gap: 0.45rem;
        row-gap: 0.32rem;
    }

    .fate-theme-minimal .minimal-page .masseur-avatar-wrap { grid-area: avatar; }
    .fate-theme-minimal .minimal-page .masseur-row__info { grid-area: info; flex: none; width: auto; }
    .fate-theme-minimal .minimal-page .masseur-row__actions {
        grid-area: actions;
        flex-basis: auto;
        width: 100%;
        margin-left: 0;
        padding: 0.3rem 0.32rem;
        justify-content: space-between;
        border-radius: 8px;
        background: rgba(0, 0, 0, 0.03);
        border: 1px solid var(--line-soft);
    }

    .fate-theme-minimal .minimal-page .masseur-row__avatar {
        width: 40px;
        height: 40px;
    }
}
