/**
 * minimal 模版 — 全站共用（首頁、頂欄、列表、表單元件）
 */

.fate-theme-minimal {
    --min-bg: #f4f6f9;
    --min-bg-subtle: #eef1f6;
    --min-fg: #1b1f24;
    --min-muted: #5f6b7a;
    --min-accent: #0550ae;
    --min-accent-hover: #033d8b;
    --min-accent-soft: rgba(5, 80, 174, 0.08);
    --min-line: #d8dee8;
    --min-line-soft: #e8ecf2;
    --min-card: #fff;
    --min-radius: 12px;
    --min-radius-sm: 8px;
    --min-shadow: 0 1px 2px rgba(27, 31, 36, 0.04), 0 4px 16px rgba(27, 31, 36, 0.06);
    --min-shadow-hover: 0 2px 4px rgba(27, 31, 36, 0.06), 0 8px 24px rgba(27, 31, 36, 0.08);
    --min-header-h: 3.25rem;
    --min-content: 52rem;
    --min-wide: 72rem;
    --min-font: "Noto Sans TC", "Segoe UI", system-ui, sans-serif;
}

.fate-theme-minimal *,
.fate-theme-minimal *::before,
.fate-theme-minimal *::after {
    box-sizing: border-box;
}

.fate-theme-minimal body {
    margin: 0;
    font-family: var(--min-font);
    font-size: 15px;
    line-height: 1.55;
    color: var(--min-fg);
    background: var(--min-bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ── 頂欄 ── */
.fate-theme-minimal .minimal-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--min-line-soft);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.fate-theme-minimal .minimal-header__inner {
    max-width: var(--min-wide);
    margin: 0 auto;
    padding: 0 1.25rem;
    min-height: var(--min-header-h);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
}

.fate-theme-minimal .minimal-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 0.45rem;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.fate-theme-minimal .minimal-brand__main {
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 0.95rem;
}

.fate-theme-minimal .minimal-brand__sub {
    font-size: 0.82rem;
    color: var(--min-muted);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fate-theme-minimal .minimal-brand:hover .minimal-brand__main {
    color: var(--min-accent);
}

.fate-theme-minimal .minimal-nav {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
}

.fate-theme-minimal .minimal-nav__link {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    border-radius: var(--min-radius-sm);
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--min-muted);
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease;
}

.fate-theme-minimal .minimal-nav__link:hover {
    color: var(--min-accent);
    background: var(--min-accent-soft);
}

.fate-theme-minimal .minimal-nav__link--active {
    color: var(--min-accent);
    background: var(--min-accent-soft);
    font-weight: 600;
}

/* 相容舊 class（過渡用） */
.fate-theme-minimal .bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--min-line-soft);
}

.fate-theme-minimal .wrap {
    max-width: var(--min-content);
    margin: 0 auto;
    padding: 1.5rem 1.25rem 2.5rem;
}

/* ── 首頁版型 ── */
.fate-theme-minimal .minimal-main {
    max-width: var(--min-content);
    margin: 0 auto;
    padding: 1.5rem 1.25rem 2.5rem;
}

.fate-theme-minimal .minimal-hero {
    margin-bottom: 1.35rem;
}

.fate-theme-minimal .minimal-hero__title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.fate-theme-minimal .minimal-hero__lead {
    margin: 0;
    font-size: 0.92rem;
    color: var(--min-muted);
    line-height: 1.55;
}

/* ── 面板（搜尋 + 篩選） ── */
.fate-theme-minimal .minimal-panel {
    background: var(--min-card);
    border: 1px solid var(--min-line-soft);
    border-radius: var(--min-radius);
    box-shadow: var(--min-shadow);
    padding: 1rem 1.05rem;
    margin-bottom: 1.25rem;
}

.fate-theme-minimal .minimal-search {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.fate-theme-minimal .minimal-search__input {
    flex: 1;
    min-width: 0;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--min-line);
    border-radius: var(--min-radius-sm);
    background: var(--min-bg-subtle);
    color: var(--min-fg);
    font: inherit;
    font-size: 0.9rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

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

.fate-theme-minimal .minimal-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.85rem;
    align-items: center;
    font-size: 0.86rem;
}

.fate-theme-minimal .minimal-toolbar__group {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.fate-theme-minimal .minimal-toolbar__label {
    color: var(--min-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.fate-theme-minimal .minimal-select,
.fate-theme-minimal .minimal-btn {
    font: inherit;
    font-size: 0.86rem;
    border-radius: var(--min-radius-sm);
    border: 1px solid var(--min-line);
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.fate-theme-minimal .minimal-select {
    padding: 0.42rem 0.6rem;
    background: var(--min-card);
    color: var(--min-fg);
}

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

.fate-theme-minimal .minimal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.42rem 0.75rem;
    background: var(--min-bg-subtle);
    color: var(--min-fg);
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
}

.fate-theme-minimal .minimal-btn:hover {
    border-color: var(--min-accent);
    color: var(--min-accent);
    background: var(--min-accent-soft);
}

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

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

.fate-theme-minimal .minimal-stats {
    margin-left: auto;
    font-size: 0.82rem;
    color: var(--min-muted);
}

.fate-theme-minimal .minimal-stats strong {
    color: var(--min-fg);
    font-weight: 700;
}

.fate-theme-minimal .minimal-search-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
    margin-bottom: 1rem;
    padding: 0.55rem 0.75rem;
    border-radius: var(--min-radius-sm);
    background: var(--min-accent-soft);
    border: 1px solid rgba(5, 80, 174, 0.15);
    font-size: 0.86rem;
    color: var(--min-fg);
}

.fate-theme-minimal .minimal-search-summary a {
    color: var(--min-accent);
    font-weight: 600;
    text-decoration: none;
}

.fate-theme-minimal .minimal-search-summary a:hover {
    text-decoration: underline;
}

.fate-theme-minimal .minimal-search-summary--fuzzy {
    border-color: rgba(180, 120, 0, 0.35);
    background: rgba(255, 193, 7, 0.12);
}

.fate-theme-minimal .minimal-search-summary__badge {
    display: inline-block;
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(180, 120, 0, 0.4);
    background: rgba(255, 193, 7, 0.2);
    color: #8a5a00;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.fate-theme-minimal .minimal-search-summary__title {
    font-weight: 700;
    color: var(--min-fg);
}

.fate-theme-minimal .minimal-search-summary--fuzzy .minimal-search-summary__title {
    color: #8a5a00;
}

.fate-theme-minimal .minimal-search-summary__hint {
    flex: 1 0 100%;
    font-size: 0.8rem;
    color: #8a5a00;
    line-height: 1.45;
}

.fate-theme-minimal .minimal-search-fuzzy-label {
    margin: 0 0 0.85rem;
    padding: 0.45rem 0.7rem;
    border-radius: var(--min-radius-sm);
    border: 1px dashed rgba(180, 120, 0, 0.35);
    background: rgba(255, 193, 7, 0.08);
    font-size: 0.84rem;
    color: var(--min-muted);
}

.fate-theme-minimal .minimal-search-fuzzy-label strong {
    color: #8a5a00;
}

/* ── 店家列表 ── */
.fate-theme-minimal .minimal-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fate-theme-minimal .minimal-card {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    background: var(--min-card);
    border: 1px solid var(--min-line-soft);
    border-radius: var(--min-radius);
    box-shadow: var(--min-shadow);
    padding: 0.85rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.fate-theme-minimal .minimal-card:hover {
    border-color: rgba(5, 80, 174, 0.22);
    box-shadow: var(--min-shadow-hover);
}

.fate-theme-minimal .minimal-card__media {
    position: relative;
    flex-shrink: 0;
    width: 96px;
    text-decoration: none;
}

.fate-theme-minimal .minimal-card__thumb,
.fate-theme-minimal .minimal-card__thumb-ph {
    width: 96px;
    height: 96px;
    border-radius: var(--min-radius-sm);
    object-fit: cover;
    display: block;
    background: var(--min-bg-subtle);
    border: 1px solid var(--min-line-soft);
}

.fate-theme-minimal .minimal-card__thumb-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--min-muted);
    letter-spacing: 0.04em;
}

.fate-theme-minimal .minimal-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.fate-theme-minimal .minimal-card__title {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.fate-theme-minimal .minimal-card__title a {
    color: inherit;
    text-decoration: none;
}

.fate-theme-minimal .minimal-card__title a:hover {
    color: var(--min-accent);
}

.fate-theme-minimal .minimal-card__meta {
    font-size: 0.84rem;
    color: var(--min-muted);
    line-height: 1.45;
    word-break: break-word;
}

.fate-theme-minimal .minimal-card__foot {
    margin-top: auto;
    padding-top: 0.35rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
    font-size: 0.78rem;
    color: var(--min-muted);
}

.fate-theme-minimal .minimal-card__id {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.fate-theme-minimal .minimal-card__link {
    color: var(--min-accent);
    font-weight: 600;
    text-decoration: none;
}

.fate-theme-minimal .minimal-card__link:hover {
    text-decoration: underline;
}

.fate-theme-minimal .home-listing-nav {
    display: flex;
    gap: 0.45rem;
    margin: 0;
}

.fate-theme-minimal .home-listing-nav__btn {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--min-line);
    border-radius: var(--min-radius-sm);
    background: var(--min-bg-subtle);
    color: var(--min-muted);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
}

.fate-theme-minimal .home-listing-nav__btn.is-active {
    color: var(--min-fg);
    border-color: var(--min-accent);
    background: var(--min-accent-soft);
}

.fate-theme-minimal .minimal-card__rating {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    left: auto;
    right: 0.35rem;
    bottom: 0.35rem;
    padding: 0.16rem 0.48rem;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 800;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #222;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.fate-theme-minimal .minimal-card__rating-star {
    color: #f59e0b;
    font-size: 0.82rem;
    line-height: 1;
}

.fate-theme-minimal .minimal-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    border: 1px solid var(--min-line);
    background: var(--min-bg-subtle);
    color: var(--min-muted);
}

.fate-theme-minimal .minimal-empty {
    text-align: center;
    padding: 3rem 1.25rem;
    border: 1px dashed var(--min-line);
    border-radius: var(--min-radius);
    background: var(--min-card);
    color: var(--min-muted);
    box-shadow: var(--min-shadow);
}

.fate-theme-minimal .minimal-empty a {
    color: var(--min-accent);
    font-weight: 600;
}

.fate-theme-minimal .minimal-empty code {
    color: var(--min-accent);
    font-size: 0.88em;
}

/* ── 分頁 ── */
.fate-theme-minimal .minimal-pager {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    align-items: center;
    font-size: 0.86rem;
}

.fate-theme-minimal .minimal-pager a,
.fate-theme-minimal .minimal-pager span {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 0.7rem;
    border-radius: var(--min-radius-sm);
    border: 1px solid var(--min-line);
    background: var(--min-card);
    text-decoration: none;
    color: var(--min-accent);
    font-weight: 500;
}

.fate-theme-minimal .minimal-pager span.disabled {
    opacity: 0.45;
    pointer-events: none;
    color: var(--min-muted);
}

.fate-theme-minimal .minimal-pager span.cur {
    font-weight: 700;
    color: var(--min-fg);
    background: var(--min-bg-subtle);
}

.fate-theme-minimal .fate-site-footer {
    max-width: var(--min-wide);
    border-top-color: var(--min-line-soft);
    color: var(--min-muted);
}

.fate-theme-minimal .fate-site-footer__stats {
    color: var(--min-muted);
}

.fate-theme-minimal .fate-site-footer__stats-num {
    color: var(--min-fg);
}

.fate-theme-minimal .fate-site-footer a,
.fate-theme-minimal code.inline {
    color: var(--min-accent);
}

/* ── 本週熱門輪播（淺色版） ── */
.fate-theme-minimal .minimal-weekly {
    position: relative;
    border-radius: var(--min-radius);
    overflow: hidden;
    border: 1px solid var(--min-line-soft);
    box-shadow: var(--min-shadow);
    margin: 0 0 1.25rem;
    background: var(--min-card);
    min-height: 220px;
}

.fate-theme-minimal .minimal-weekly__track {
    position: relative;
    width: 100%;
    min-height: 220px;
}

.fate-theme-minimal .minimal-weekly__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease;
}

.fate-theme-minimal .minimal-weekly__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.fate-theme-minimal .minimal-weekly__link {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    color: inherit;
    text-decoration: none;
    position: relative;
}

.fate-theme-minimal .minimal-weekly__cover {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    background: var(--min-bg-subtle);
}

.fate-theme-minimal .minimal-weekly__cover--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--min-muted);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}

.fate-theme-minimal .minimal-weekly__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(244, 246, 249, 0) 20%, rgba(27, 31, 36, 0.72) 100%);
    pointer-events: none;
}

.fate-theme-minimal .minimal-weekly__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.85rem 1rem 1rem;
    color: #fff;
    z-index: 3;
}

.fate-theme-minimal .minimal-weekly__label {
    position: absolute;
    left: 0.75rem;
    top: 0.65rem;
    z-index: 4;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--min-line-soft);
    color: var(--min-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.fate-theme-minimal .minimal-weekly__sub {
    position: absolute;
    left: 0.75rem;
    top: 2.2rem;
    z-index: 4;
    max-width: calc(100% - 5rem);
    margin: 0;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.35;
}

.fate-theme-minimal .minimal-weekly__rank {
    display: inline-flex;
    min-width: 1.5rem;
    height: 1.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--min-accent);
    color: #fff;
    font-weight: 800;
    font-size: 0.76rem;
    margin-right: 0.4rem;
}

.fate-theme-minimal .minimal-weekly__title {
    margin: 0.25rem 0 0.2rem;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.3;
    font-weight: 700;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.fate-theme-minimal .minimal-weekly__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    font-size: 0.8rem;
    opacity: 0.95;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.fate-theme-minimal .minimal-weekly__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(27, 31, 36, 0.35);
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.fate-theme-minimal .minimal-weekly__nav--prev {
    left: 0.5rem;
}

.fate-theme-minimal .minimal-weekly__nav--next {
    right: 0.5rem;
}

.fate-theme-minimal .minimal-weekly__dots {
    position: absolute;
    right: 0.65rem;
    top: 0.65rem;
    z-index: 4;
    display: inline-flex;
    gap: 0.3rem;
}

.fate-theme-minimal .minimal-weekly__dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.fate-theme-minimal .minimal-weekly__dot.is-active {
    background: #fff;
    transform: scale(1.15);
}

.fate-theme-minimal code.inline {
    background: rgba(27, 31, 36, 0.06);
    padding: 0.1em 0.35em;
    border-radius: 4px;
    font-size: 0.88em;
}

/* ── 手機 ── */
@media (max-width: 767px) {
    .fate-theme-minimal .home-listing-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0.4rem;
        margin-bottom: 0.65rem;
        padding-bottom: 0.1rem;
    }

    .fate-theme-minimal .home-listing-nav::-webkit-scrollbar {
        display: none;
    }

    .fate-theme-minimal .home-listing-nav__btn {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 0.82rem;
        padding: 0.38rem 0.85rem;
    }

    .fate-theme-minimal .minimal-toolbar {
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.4rem;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.12rem;
    }

    .fate-theme-minimal .minimal-toolbar::-webkit-scrollbar {
        display: none;
    }

    .fate-theme-minimal .minimal-toolbar__group,
    .fate-theme-minimal .minimal-toolbar > form,
    .fate-theme-minimal .minimal-stats {
        flex: 0 0 auto;
        min-width: 0;
    }

    .fate-theme-minimal .minimal-toolbar__group {
        flex-direction: row;
        align-items: center;
        gap: 0.28rem;
    }

    .fate-theme-minimal .minimal-toolbar__label {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 0.72rem;
    }

    .fate-theme-minimal .minimal-select {
        width: auto;
        min-width: 4.8rem;
        max-width: none;
        flex-shrink: 0;
        font-size: 0.8rem;
        padding: 0.38rem 0.48rem;
    }

    .fate-theme-minimal .minimal-toolbar > form {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
    }

    .fate-theme-minimal .minimal-toolbar > form .minimal-btn {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 0.8rem;
        padding: 0.38rem 0.55rem;
    }

    .fate-theme-minimal .minimal-stats {
        margin-left: 0;
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 0.72rem;
        line-height: 1.2;
    }

    .fate-theme-minimal .minimal-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .fate-theme-minimal .minimal-card {
        flex-direction: column;
        gap: 0.45rem;
        padding: 0.5rem;
    }

    .fate-theme-minimal .minimal-card__media {
        width: 100%;
    }

    .fate-theme-minimal .minimal-card__thumb,
    .fate-theme-minimal .minimal-card__thumb-ph {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .fate-theme-minimal .minimal-card__title {
        font-size: 0.84rem;
        line-height: 1.3;
    }

    .fate-theme-minimal .minimal-card__meta {
        font-size: 0.68rem;
        line-height: 1.35;
    }

    .fate-theme-minimal .minimal-card__foot {
        font-size: 0.66rem;
        gap: 0.25rem;
    }

    .fate-theme-minimal .minimal-card__link {
        font-size: 0.72rem;
    }

    .fate-theme-minimal .minimal-card__rating {
        font-size: 0.68rem;
        padding: 0.14rem 0.32rem;
    }
}

@media (max-width: 640px) {
    .fate-theme-minimal .minimal-header__inner {
        padding: 0.55rem 0.85rem;
    }

    .fate-theme-minimal .minimal-brand__sub {
        display: none;
    }

    .fate-theme-minimal .minimal-nav {
        flex: 1 0 100%;
        margin-left: 0;
        padding-top: 0.35rem;
        border-top: 1px solid var(--min-line-soft);
    }

    .fate-theme-minimal .minimal-main {
        padding: 1rem 0.85rem 2rem;
    }

    .fate-theme-minimal .minimal-card {
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .fate-theme-minimal .minimal-card__media,
    .fate-theme-minimal .minimal-card__thumb,
    .fate-theme-minimal .minimal-card__thumb-ph {
        width: 80px;
        height: 80px;
    }

}

/* 站內 BLOG */
.fate-theme-minimal html body.fate-body--blog .minimal-page--blog,
html.fate-theme-minimal body.fate-body--blog .minimal-page--blog {
    padding-top: 0.85rem;
    padding-bottom: 0.35rem;
}
.fate-theme-minimal html body.fate-body--blog .minimal-page--blog .layout-shell.layout-shell--blog,
html.fate-theme-minimal body.fate-body--blog .minimal-page--blog .layout-shell.layout-shell--blog {
    margin-bottom: 1.25rem;
    padding-top: 0.35rem;
    padding-bottom: 0.75rem;
}
.fate-theme-minimal .blog-page,
.fate-theme-minimal .blog-post-article {
    max-width: none;
    margin: 0;
    padding: 0;
}
.fate-theme-minimal .blog-post-article__card {
    background: var(--min-surface, #fff);
    border-color: var(--min-line-soft, rgba(0, 0, 0, 0.08));
    box-shadow: var(--shadow-sm, 0 2px 12px rgba(15, 23, 42, 0.06));
}
.fate-theme-minimal .blog-post-article__back {
    color: var(--min-accent, #2563eb);
}
.fate-theme-minimal .blog-post-article__body {
    color: var(--min-fg, #1a1a1a);
    border-top-color: var(--min-line-soft, rgba(0, 0, 0, 0.08));
}
.fate-theme-minimal .blog-post-article__badge--ann {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    border-color: rgba(245, 158, 11, 0.28);
}
.fate-theme-minimal .blog-post-article__badge--cat {
    background: rgba(37, 99, 235, 0.08);
    color: var(--min-accent, #2563eb);
    border-color: rgba(37, 99, 235, 0.2);
}
.fate-theme-minimal .blog-card {
    background: var(--min-surface, #fff);
    border-color: var(--min-line-soft, rgba(0, 0, 0, 0.08));
}
.fate-theme-minimal .blog-compose {
    background: rgba(37, 99, 235, 0.04);
    border-color: rgba(37, 99, 235, 0.18);
}
.fate-theme-minimal .blog-field input[type="text"],
.fate-theme-minimal .blog-field select,
.fate-theme-minimal .blog-field textarea.blog-editor-field {
    background: #fff;
    border-color: var(--min-line-soft, rgba(0, 0, 0, 0.12));
    color: var(--min-fg, #1a1a1a);
}
.fate-theme-minimal .blog-cats__link {
    color: var(--min-accent, #2563eb);
    border-color: rgba(37, 99, 235, 0.22);
}
.fate-theme-minimal .blog-btn {
    color: var(--min-accent, #2563eb);
    border-color: rgba(37, 99, 235, 0.28);
    background: rgba(37, 99, 235, 0.06);
}
.fate-theme-minimal .sidebar-announce-list__link:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--min-accent, #2563eb);
}
.fate-theme-minimal .blog-card__excerpt,
.fate-theme-minimal .blog-post-article__meta,
.fate-theme-minimal .blog-empty {
    color: var(--min-muted, #64748b);
}
