:root {
    --mint-bg: #f5f7f4;
    --mint-surface: #ffffff;
    --mint-ink: #17211f;
    --mint-muted: #66736f;
    --mint-line: #dce5df;
    --mint-teal: #0f766e;
    --mint-teal-2: #14b8a6;
    --mint-coral: #e85d4f;
    --mint-gold: #f2b84b;
    --mint-shadow: 0 12px 28px rgba(23, 33, 31, 0.08);
    --mint-max: 500px;
}

html,
body {
    min-height: 100%;
    background: var(--mint-bg);
    color: var(--mint-ink);
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

[x-cloak] {
    display: none !important;
}

.mint-icons {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.mint-page {
    width: 100%;
    max-width: var(--mint-max);
    min-height: 100vh;
    margin: 0 auto;
    background: var(--mint-bg);
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
}

.mint-page--reader {
    max-width: 500px;
    padding-bottom: 0;
    background: #101816;
    color: #edf7f3;
}

.mint-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 10px 16px;
    background: rgba(245, 247, 244, 0.92);
    border-bottom: 1px solid rgba(220, 229, 223, 0.78);
    backdrop-filter: blur(14px);
}

.mint-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.mint-brand__mark,
.mint-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--mint-teal);
    color: #fff;
    flex: 0 0 auto;
}

.mint-brand__mark svg,
.mint-icon-btn svg {
    width: 20px;
    height: 20px;
}

.mint-brand__logo {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.mint-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    max-width: 64px;
    max-height: 64px;
    flex: 0 0 64px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: #f8fffc;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.mint-avatar img {
    width: 100%;
    height: 100%;
    max-width: 64px;
    max-height: 64px;
    object-fit: cover;
}

.mint-permanent-link {
    color: inherit;
}

.mint-brand__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mint-brand__text strong {
    font-size: 17px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mint-brand__text span {
    margin-top: 2px;
    font-size: 11px;
    color: var(--mint-muted);
}

.mint-search-link,
.mint-chip,
.mint-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    border: 1px solid var(--mint-line);
    background: var(--mint-surface);
    color: var(--mint-muted);
}

.mint-search-link {
    min-width: 94px;
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
}

.mint-search-link svg,
.mint-chip svg,
.mint-pill svg {
    width: 16px;
    height: 16px;
}

.mint-hero {
    padding: 18px 16px 8px;
}

.mint-hero__panel {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 8px;
    background: #13322d;
    color: #f3fffb;
    box-shadow: var(--mint-shadow);
}

.mint-hero h1 {
    margin: 0;
    font-size: 26px;
    line-height: 1.18;
    letter-spacing: 0;
}

.mint-hero p {
    margin: 0;
    color: rgba(243, 255, 251, 0.72);
    line-height: 1.65;
    font-size: 14px;
}

.mint-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mint-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: var(--mint-teal);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.mint-btn svg {
    width: 17px;
    height: 17px;
}

.mint-btn--light {
    background: #eef9f5;
    color: var(--mint-teal);
}

.mint-btn--coral {
    background: var(--mint-coral);
}

.mint-btn--ghost {
    background: transparent;
    color: var(--mint-teal);
    border: 1px solid var(--mint-line);
}

.mint-section {
    padding: 16px 16px 18px;
}

.mint-section + .mint-section {
    padding-top: 18px;
}

.mint-section__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.mint-section__head > div {
    min-width: 0;
    flex: 1 1 auto;
}

.mint-section__head h2,
.mint-section__head h1 {
    margin: 0;
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: 0;
}

.mint-section__head p {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--mint-muted);
}

.mint-more {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--mint-teal);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.mint-more svg {
    width: 15px;
    height: 15px;
}

.mint-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 34px;
    border: 1px solid var(--mint-line);
    border-radius: 8px;
    background: #fff;
    color: var(--mint-teal);
    font-size: 13px;
    font-weight: 800;
}

.mint-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 12px 10px;
}

.mint-card {
    display: block;
    min-width: 0;
}

.mint-card a {
    display: block;
    min-width: 0;
}

.mint-cover {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    background: #dfe8e2;
    box-shadow: 0 10px 22px rgba(23, 33, 31, 0.1);
}

.mint-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mint-badge {
    position: absolute;
    left: 7px;
    top: 7px;
    z-index: 2;
    padding: 3px 6px;
    border-radius: 6px;
    background: var(--mint-coral);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.mint-episode-badge {
    position: absolute;
    left: 7px;
    right: 7px;
    bottom: 7px;
    z-index: 2;
    display: block;
    min-width: 0;
    padding: 4px 6px;
    overflow: hidden;
    border-radius: 6px;
    background: rgba(23, 33, 31, 0.78);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mint-card__title {
    display: -webkit-box;
    min-height: 38px;
    margin: 8px 0 0;
    overflow: hidden;
    color: var(--mint-ink);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.45;
    word-break: break-word;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mint-card__meta {
    display: block;
    min-height: 15px;
    margin-top: 3px;
    color: var(--mint-muted);
    font-size: 11px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mint-tabbar {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    max-width: var(--mint-max);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.94);
    border-top: 1px solid var(--mint-line);
    box-shadow: 0 -8px 24px rgba(23, 33, 31, 0.08);
    backdrop-filter: blur(16px);
}

.mint-tabbar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 48px;
    border: 0;
    background: transparent;
    color: var(--mint-muted);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.mint-tabbar__item svg {
    width: 22px;
    height: 22px;
}

.mint-tabbar__item.is-active {
    color: var(--mint-teal);
}

.mint-favorite-btn.is-favorited {
    color: var(--mint-coral);
}

.mint-favorite-btn.is-favorited svg {
    fill: currentColor;
}

.mint-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 16px 10px;
    scrollbar-width: none;
}

.mint-tabs::-webkit-scrollbar {
    display: none;
}

.mint-chip {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.mint-chip.is-active {
    border-color: var(--mint-teal);
    background: #e7f6f2;
    color: var(--mint-teal);
}

.mint-panel {
    margin: 0 16px 14px;
    padding: 16px;
    border: 1px solid var(--mint-line);
    border-radius: 8px;
    background: var(--mint-surface);
    box-shadow: 0 8px 20px rgba(23, 33, 31, 0.05);
}

.mint-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mint-media {
    position: relative;
    flex: 0 0 92px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    background: #dfe8e2;
}

.mint-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mint-row__body {
    min-width: 0;
    flex: 1;
}

.mint-row__body h2,
.mint-row__body h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

.mint-row__body p {
    margin: 7px 0 0;
    color: var(--mint-muted);
    font-size: 13px;
    line-height: 1.55;
}

.mint-statline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 14px;
}

.mint-stat {
    padding: 10px 8px;
    border-radius: 8px;
    background: #eef3ef;
    text-align: center;
}

.mint-stat strong {
    display: block;
    font-size: 15px;
    color: var(--mint-ink);
}

.mint-stat span {
    display: block;
    margin-top: 3px;
    color: var(--mint-muted);
    font-size: 11px;
}

.mint-summary {
    color: var(--mint-muted);
    font-size: 14px;
    line-height: 1.75;
}

.mint-chapters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.mint-chapter {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 6px;
    overflow: hidden;
    border-radius: 8px;
    background: #eef3ef;
    color: var(--mint-ink);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.mint-chapter.is-paid {
    color: var(--mint-coral);
}

.mint-filter {
    padding: 12px 16px 4px;
}

.mint-filter__search {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--mint-line);
    border-radius: 8px;
    background: var(--mint-surface);
}

.mint-filter__search svg {
    width: 18px;
    height: 18px;
    color: var(--mint-teal);
}

.mint-filter__search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--mint-ink);
    font-size: 15px;
}

.mint-filter__group {
    margin-top: 12px;
}

.mint-filter__group strong {
    display: block;
    margin-bottom: 8px;
    color: var(--mint-muted);
    font-size: 12px;
}

.mint-topic-shell {
    max-height: 84px;
    overflow: hidden;
}

.mint-topic-shell.is-expanded {
    max-height: none;
}

.mint-topic-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mint-topic-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--mint-teal);
    font-size: 13px;
    font-weight: 800;
}

.mint-list {
    display: grid;
    gap: 12px;
}

.mint-empty {
    padding: 26px 16px;
    border: 1px dashed var(--mint-line);
    border-radius: 8px;
    color: var(--mint-muted);
    text-align: center;
}

.mint-form {
    display: grid;
    gap: 12px;
}

.mint-field {
    display: grid;
    gap: 6px;
}

.mint-field span {
    color: var(--mint-muted);
    font-size: 12px;
    font-weight: 700;
}

.mint-field input {
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--mint-line);
    border-radius: 8px;
    background: #fff;
    color: var(--mint-ink);
    font-size: 15px;
}

.mint-login {
    display: grid;
    align-content: center;
    min-height: 100vh;
    padding: 28px 18px;
    background: #10221f;
    color: #f8fffc;
}

.mint-login__box {
    display: grid;
    gap: 18px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.mint-login__brand h1 {
    margin: 12px 0 8px;
    font-size: 30px;
    line-height: 1.15;
}

.mint-login__brand p {
    margin: 0;
    color: rgba(248, 255, 252, 0.72);
    line-height: 1.7;
}

.mint-login__panel {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.mint-login__panel .mint-field input {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.96);
}

.mint-reader-bar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    padding: 8px 14px;
    background: rgba(16, 24, 22, 0.94);
    border-bottom: 1px solid rgba(237, 247, 243, 0.1);
    backdrop-filter: blur(16px);
}

.mint-reader-bar h1 {
    margin: 0;
    min-width: 0;
    overflow: hidden;
    color: #f8fffc;
    font-size: 15px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mint-reader-meta {
    margin: 0;
    color: rgba(237, 247, 243, 0.6);
    font-size: 12px;
}

.mint-reader-content {
    padding: 14px 0 86px;
}

.mint-reader-figure {
    width: 100%;
    min-height: 40vh;
    margin: 0 auto 8px;
    background: #101816;
}

.mint-reader-content img {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    background: #1c2825;
}

.mint-reader-tools {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    max-width: 500px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    background: rgba(16, 24, 22, 0.94);
    border-top: 1px solid rgba(237, 247, 243, 0.1);
}

.mint-reader-tools a,
.mint-reader-tools button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #edf7f3;
    font-size: 13px;
    font-weight: 700;
}

.mint-pay-options {
    display: grid;
    gap: 10px;
}

.mint-pay-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 60px;
    padding: 12px;
    border: 1px solid var(--mint-line);
    border-radius: 8px;
    background: #fff;
}

.mint-pay-option.is-active {
    border-color: var(--mint-teal);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.mint-pay-option strong {
    color: var(--mint-coral);
    font-size: 18px;
}

.mint-pay-option span {
    color: var(--mint-muted);
    font-size: 12px;
}

.mint-home-action {
    min-height: 48px;
}

.mint-reader-figure {
    min-height: 0;
    margin: 0 auto;
    line-height: 0;
}

.mint-reader-content img {
    display: block;
    margin: 0 auto;
    vertical-align: top;
}

@media (min-width: 768px) {
    body {
        background: #e8eee9;
    }
    .mint-page {
        box-shadow: 0 0 0 1px rgba(23, 33, 31, 0.06);
    }
}

/* Mint: light magazine channel layout */
:root {
    --mint-bg: #f7fff9;
    --mint-surface: #ffffff;
    --mint-ink: #16322d;
    --mint-muted: #607a74;
    --mint-line: #d7eee5;
    --mint-teal: #16a085;
    --mint-teal-2: #72d7c4;
    --mint-coral: #ff6f61;
    --mint-gold: #f7bf4f;
    --mint-shadow: 0 10px 24px rgba(22, 160, 133, 0.1);
    --mint-max: 540px;
}

html,
body {
    background: #edfbf2;
    color: var(--mint-ink);
}

body {
    background: #edfbf2;
}

.mint-page {
    background: var(--mint-bg);
}

.mint-header {
    background: rgba(247, 255, 249, 0.94);
    border-bottom-color: var(--mint-line);
}

.mint-brand__mark,
.mint-icon-btn {
    background: #e6fff5;
    color: var(--mint-teal);
    border: 1px solid var(--mint-line);
}

.mint-brand__text strong,
.mint-section__head h1,
.mint-section__head h2,
.mint-row__body h2,
.mint-row__body h3,
.mint-card__title,
.mint-stat strong {
    color: var(--mint-ink);
}

.mint-brand__text span,
.mint-section__head p,
.mint-row__body p,
.mint-summary,
.mint-card__meta,
.mint-stat span,
.mint-filter__group strong {
    color: var(--mint-muted);
}

.mint-search-link,
.mint-chip,
.mint-pill {
    border-color: var(--mint-line);
    background: #ffffff;
    color: var(--mint-muted);
}

.mint-hero {
    padding: 14px 14px 4px;
}

.mint-hero__panel {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--mint-line);
    background: #ffffff;
    color: var(--mint-ink);
}

.mint-hero h1 {
    color: var(--mint-ink);
    font-size: 24px;
}

.mint-hero p {
    color: var(--mint-muted);
}

.mint-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mint-btn {
    min-height: 42px;
    background: var(--mint-teal);
    color: #fff;
}

.mint-btn--light {
    background: #e6fff5;
    color: var(--mint-teal);
}

.mint-btn--coral {
    background: var(--mint-coral);
}

.mint-btn--ghost {
    border-color: var(--mint-line);
    color: var(--mint-teal);
}

.mint-section {
    padding: 14px 14px 18px;
}

.mint-section__head {
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--mint-line);
    border-radius: 8px;
    background: #ffffff;
}

.mint-more {
    color: var(--mint-teal);
}

.mint-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 12px;
}

.mint-card a {
    display: grid;
    gap: 7px;
    min-height: 100%;
    padding: 8px;
    border: 1px solid var(--mint-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(22, 160, 133, 0.08);
}

.mint-cover {
    aspect-ratio: 4 / 5;
    border-radius: 8px;
    background: #dff8ef;
    box-shadow: none;
}

.mint-badge {
    background: var(--mint-coral);
    color: #fff;
}

.mint-episode-badge {
    background: rgba(22, 50, 45, 0.78);
}

.mint-card__title {
    min-height: 36px;
    margin-top: 0;
}

.mint-panel {
    border-color: var(--mint-line);
    background: #ffffff;
    box-shadow: var(--mint-shadow);
}

.mint-row {
    align-items: center;
}

.mint-media {
    flex-basis: 96px;
    background: #dff8ef;
}

.mint-icon-btn[style],
.mint-brand__mark[style] {
    background: var(--mint-gold) !important;
    color: #19312b;
}

.mint-stat {
    background: #eafff6;
}

.mint-chapter {
    background: #eafff6;
    color: var(--mint-ink);
}

.mint-chapter.is-paid,
.mint-favorite-btn.is-favorited {
    color: var(--mint-coral);
}

.mint-filter {
    padding-top: 14px;
}

.mint-filter__search,
.mint-field input {
    border-color: var(--mint-line);
    background: #fff;
    color: var(--mint-ink);
}

.mint-filter__group {
    padding: 12px;
    border: 1px solid var(--mint-line);
    border-radius: 8px;
    background: #ffffff;
}

.mint-chip.is-active,
.mint-pay-option.is-active {
    border-color: var(--mint-teal);
    background: #e6fff5;
    color: var(--mint-teal);
}

.mint-topic-shell {
    max-height: 94px;
}

.mint-empty {
    border-color: var(--mint-line);
    background: #ffffff;
}

.mint-tabbar {
    background: rgba(255, 255, 255, 0.96);
    border-top-color: var(--mint-line);
}

.mint-tabbar__item {
    color: var(--mint-muted);
}

.mint-tabbar__item.is-active {
    color: var(--mint-teal);
}

.mint-login {
    background: #edfbf2;
    color: var(--mint-ink);
}

.mint-login__brand p {
    color: var(--mint-muted);
}

.mint-login__panel {
    border-color: var(--mint-line);
    background: #ffffff;
}

.mint-login__panel .mint-field input {
    border-color: var(--mint-line);
    background: #fbfffd;
}

.mint-page--reader {
    max-width: 500px;
    background: #f7fff9;
    color: var(--mint-ink);
}

.mint-reader-bar {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--mint-line);
}

.mint-reader-bar h1 {
    color: var(--mint-ink);
}

.mint-reader-meta {
    color: var(--mint-muted);
}

.mint-reader-content,
.mint-reader-figure {
    min-height: 0;
    margin: 0 auto;
    line-height: 0;
    background: #f7fff9;
}

.mint-reader-content img {
    display: block;
    margin: 0 auto;
    vertical-align: top;
    background: #dff8ef;
}

.mint-reader-tools {
    background: rgba(255, 255, 255, 0.96);
    border-top-color: var(--mint-line);
}

.mint-reader-tools a,
.mint-reader-tools button {
    color: var(--mint-teal);
}

.mint-pay-option {
    border-color: var(--mint-line);
    background: #ffffff;
}

.mint-pay-option strong {
    color: var(--mint-coral);
}

@media (min-width: 768px) {
    body {
        background: #dff8ef;
    }
    .mint-page {
        box-shadow: 0 0 0 1px rgba(22, 160, 133, 0.1), 0 16px 48px rgba(22, 160, 133, 0.12);
    }
}

.mint-status-pill {
    flex: 0 0 auto;
    min-width: 0;
    width: auto;
    height: auto;
    min-height: 32px;
    padding: 7px 10px;
    line-height: 1.2;
    white-space: nowrap;
}

.mint-latest-pill {
    min-width: 0;
    width: auto;
    height: auto;
    min-height: 32px;
    max-width: 100%;
    padding: 7px 10px;
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
}

.mint-reader-content {
    cursor: pointer;
}

.mint-reader-bar,
.mint-reader-tools {
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.mint-reader-tools {
    grid-template-columns: repeat(4, 1fr);
}

.mint-reader-tools a,
.mint-reader-tools button,
.mint-reader-tools span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--mint-teal);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.mint-reader-tools span {
    opacity: 0.45;
    cursor: default;
}

body.mint-reader-immersive .mint-reader-bar {
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
}

body.mint-reader-immersive .mint-reader-tools {
    transform: translate(-50%, 115%);
    opacity: 0;
    pointer-events: none;
}

/* Mint platform refresh: independent journal/library structure. */
.mint-page--platform {
    max-width: 500px;
    background: #f8fffb;
}

.mint-journal-top {
    position: sticky;
    top: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
    padding: 12px clamp(14px, 3vw, 30px);
    border-bottom: 1px solid #cfe7de;
    background: rgba(248, 255, 251, 0.96);
    backdrop-filter: blur(16px);
}

.mint-journal-brand,
.mint-journal-links,
.mint-journal-links a,
.mint-book-nav__home {
    display: inline-flex;
    align-items: center;
}

.mint-journal-brand {
    gap: 12px;
    min-width: 0;
}

.mint-journal-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border: 1px solid #bfe3d7;
    border-radius: 8px;
    background: #103c36;
    color: #f7fffb;
}

.mint-journal-brand__mark img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.mint-journal-brand__mark svg,
.mint-journal-links svg,
.mint-book-nav__home svg {
    width: 20px;
    height: 20px;
}

.mint-journal-brand__text {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.mint-journal-brand__text strong {
    overflow: hidden;
    color: #12322e;
    font-size: 20px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mint-journal-brand__text em {
    display: -webkit-box;
    overflow: hidden;
    color: #6b7e79;
    font-size: 10px;
    font-style: normal;
    line-height: 1.15;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.mint-journal-links {
    gap: 8px;
    flex: 0 0 auto;
}

.mint-journal-links a,
.mint-book-nav__home {
    gap: 6px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #cfe7de;
    border-radius: 8px;
    background: #ffffff;
    color: #18483f;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.mint-journal-main,
.mint-dossier,
.mint-library-layout,
.mint-desk,
.mint-account,
.mint-checkout {
    padding: clamp(14px, 3vw, 30px);
}

.mint-edition {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(220px, 0.7fr);
    gap: 18px;
    padding: clamp(18px, 4vw, 34px);
    border: 1px solid #cde8df;
    border-radius: 8px;
    background: linear-gradient(135deg, #113a34 0%, #f8fffb 62%);
    color: #f8fffb;
}

.mint-edition__lead {
    display: grid;
    align-content: center;
    gap: 14px;
    max-width: 620px;
}

.mint-edition__kicker,
.mint-board-head span,
.mint-slice-title span,
.mint-index-head span,
.mint-copy-block header span {
    color: #e85d4f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.mint-edition h1 {
    margin: 0;
    font-size: clamp(30px, 6vw, 58px);
    line-height: 1.03;
}

.mint-edition p {
    max-width: 560px;
    margin: 0;
    color: rgba(248, 255, 251, 0.78);
    font-size: 15px;
    line-height: 1.8;
}

.mint-edition__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mint-edition__rail {
    display: grid;
    gap: 10px;
    align-content: center;
}

.mint-edition__rail a {
    display: grid;
    gap: 3px;
    padding: 14px;
    border: 1px solid #cfe7de;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #173d37;
}

.mint-edition__rail strong {
    font-size: 20px;
}

.mint-edition__rail span {
    color: #6b7e79;
    font-size: 12px;
}

.mint-bulletin {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
    padding: 12px 16px;
    border-left: 4px solid #e85d4f;
    background: #fff7f5;
    color: #4d514f;
}

.mint-bulletin p {
    margin: 0;
    line-height: 1.6;
}

.mint-bulletin a,
.mint-board-head a,
.mint-slice-title a,
.mint-index-head a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #0f766e;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.mint-bulletin svg,
.mint-board-head svg,
.mint-slice-title svg,
.mint-index-head svg {
    width: 16px;
    height: 16px;
}

.mint-front-board {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
    gap: 18px;
    margin-top: 22px;
    padding: clamp(16px, 3vw, 24px);
    border: 1px solid #d5e7e1;
    border-radius: 8px;
    background: #ffffff;
}

.mint-board-head,
.mint-slice-title,
.mint-index-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
}

.mint-board-head {
    grid-column: 1 / -1;
}

.mint-board-head h2,
.mint-slice-title h2,
.mint-index-head h1,
.mint-index-head h2,
.mint-copy-block h2 {
    margin: 3px 0 0;
    color: #143630;
    font-size: 24px;
    line-height: 1.2;
}

.mint-index-head p {
    margin: 4px 0 0;
    color: #607a74;
    font-size: 13px;
}

.mint-feature-story a {
    display: grid;
    grid-template-columns: minmax(128px, 0.7fr) minmax(0, 1fr);
    gap: 16px;
    min-height: 100%;
}

.mint-feature-story__cover,
.mint-rank-ledger__cover,
.mint-spine-card__cover,
.mint-result-card__cover,
.mint-dossier-cover {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #dff8ef;
}

.mint-feature-story__cover {
    aspect-ratio: 3 / 4;
}

.mint-feature-story__cover img,
.mint-rank-ledger__cover img,
.mint-spine-card__cover img,
.mint-result-card__cover img,
.mint-dossier-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mint-feature-story__body {
    display: grid;
    align-content: center;
    gap: 10px;
    min-width: 0;
}

.mint-feature-story__body em {
    color: #e85d4f;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.mint-feature-story__body h3 {
    margin: 0;
    color: #143630;
    font-size: 26px;
    line-height: 1.2;
}

.mint-feature-story__body p {
    margin: 0;
    color: #607a74;
    font-size: 14px;
    line-height: 1.75;
}

.mint-rank-ledger {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mint-rank-ledger a,
.mint-result-card a,
.mint-account-list a {
    display: grid;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.mint-rank-ledger a {
    grid-template-columns: 34px 54px minmax(0, 1fr);
    padding: 8px;
    border-bottom: 1px solid #e4f0eb;
}

.mint-rank-ledger__no {
    color: #244a73;
    font-size: 15px;
    font-weight: 900;
}

.mint-rank-ledger__cover {
    width: 54px;
    aspect-ratio: 3 / 4;
}

.mint-rank-ledger__text {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.mint-rank-ledger__text strong,
.mint-spine-card__body strong,
.mint-result-card__body strong,
.mint-account-list strong {
    overflow: hidden;
    color: #143630;
    font-size: 14px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mint-rank-ledger__text em,
.mint-spine-card__body small,
.mint-result-card__body small,
.mint-account-list em {
    overflow: hidden;
    color: #607a74;
    font-size: 12px;
    font-style: normal;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mint-channel-slice {
    margin-top: 22px;
    padding: clamp(14px, 3vw, 22px) 0;
    border-top: 1px solid #d5e7e1;
}

.mint-channel-slice--alt {
    background: #f3fbf7;
}

.mint-spine-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(132px, 168px);
    gap: 14px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.mint-spine-row::-webkit-scrollbar {
    display: none;
}

.mint-spine-row--wrap {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    overflow: visible;
}

.mint-spine-card a {
    display: grid;
    gap: 9px;
    min-width: 0;
}

.mint-spine-card__cover {
    display: block;
    aspect-ratio: 3 / 4.15;
}

.mint-spine-card__cover em {
    position: absolute;
    left: 7px;
    top: 7px;
    z-index: 2;
    padding: 3px 6px;
    border-radius: 6px;
    background: #e85d4f;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.mint-spine-card__body {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.mint-dock {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(100%, 500px);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    border-top: 1px solid #cfe7de;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -8px 24px rgba(22, 50, 45, 0.08);
    backdrop-filter: blur(16px);
}

.mint-dock__item {
    display: grid;
    grid-template-columns: 28px auto;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 46px;
    color: #607a74;
    font-size: 12px;
    font-weight: 900;
}

.mint-dock__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #eef9f5;
}

.mint-dock svg {
    width: 18px;
    height: 18px;
}

.mint-dock__item.is-active {
    color: #0f766e;
}

.mint-dock__item.is-active .mint-dock__icon {
    background: #143630;
    color: #ffffff;
}

.mint-book-nav {
    position: sticky;
    top: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px clamp(14px, 3vw, 30px);
    border-bottom: 1px solid #cfe7de;
    background: rgba(248, 255, 251, 0.96);
    backdrop-filter: blur(16px);
}

.mint-book-nav .mint-icon-btn {
    margin-right: auto;
}

.mint-dossier-mast {
    display: grid;
    grid-template-columns: minmax(168px, 260px) minmax(0, 1fr);
    gap: clamp(18px, 4vw, 34px);
    align-items: end;
    padding: clamp(16px, 4vw, 30px);
    border: 1px solid #cfe7de;
    border-radius: 8px;
    background: #ffffff;
}

.mint-dossier-cover {
    margin: 0;
    aspect-ratio: 3 / 4;
    box-shadow: 0 16px 34px rgba(22, 50, 45, 0.16);
}

.mint-dossier-copy {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.mint-dossier-copy h1 {
    margin: 0;
    color: #143630;
    font-size: clamp(28px, 5vw, 46px);
    line-height: 1.08;
}

.mint-dossier-tags {
    margin: 0;
    color: #607a74;
    font-size: 14px;
    line-height: 1.6;
}

.mint-dossier-states {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mint-dossier-facts,
.mint-passport__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.mint-dossier-facts div,
.mint-passport__stats div {
    padding: 10px;
    border: 1px solid #d5e7e1;
    border-radius: 8px;
    background: #f4fbf8;
}

.mint-dossier-facts dt,
.mint-passport__stats dt {
    color: #607a74;
    font-size: 12px;
}

.mint-dossier-facts dd,
.mint-passport__stats dd {
    margin: 3px 0 0;
    color: #143630;
    font-size: 16px;
    font-weight: 900;
}

.mint-copy-block,
.mint-chapter-index,
.mint-library-filter,
.mint-library-results,
.mint-desk-panel,
.mint-passport,
.mint-checkout-hero,
.mint-plan-board,
.mint-pay-ledger,
.mint-submit-strip {
    margin-top: 18px;
    padding: clamp(14px, 3vw, 22px);
    border: 1px solid #d5e7e1;
    border-radius: 8px;
    background: #ffffff;
}

.mint-copy-block header {
    margin-bottom: 10px;
}

.mint-copy-block p,
.mint-checkout-hero p,
.mint-submit-strip p {
    margin: 0;
    color: #607a74;
    font-size: 14px;
    line-height: 1.8;
}

.mint-chapter-ledger {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.mint-chapter-ledger a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #d5e7e1;
    border-radius: 8px;
    background: #f8fffb;
    color: #143630;
    font-size: 13px;
    font-weight: 800;
}

.mint-chapter-ledger span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mint-chapter-ledger em {
    color: #0f766e;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
}

.mint-chapter-ledger a.is-paid,
.mint-chapter-ledger a.is-paid em {
    color: #e85d4f;
}

.mint-action-bar {
    max-width: 500px;
}

.mint-library-layout,
.mint-desk {
    display: grid;
    grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.mint-library-filter {
    position: sticky;
    top: 84px;
}

.mint-library-filter h1,
.mint-checkout-hero h1,
.mint-passport h1 {
    margin: 4px 0 14px;
    color: #143630;
    font-size: 30px;
    line-height: 1.15;
}

.mint-library-search,
.mint-captcha-row {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.mint-library-search {
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid #cfe7de;
    border-radius: 8px;
    background: #f8fffb;
}

.mint-library-search svg {
    width: 18px;
    height: 18px;
    color: #0f766e;
}

.mint-library-search input,
.mint-filter-block button,
.mint-token-cloud button {
    border: 0;
    background: transparent;
    font: inherit;
}

.mint-library-search input {
    width: 100%;
    outline: 0;
    color: #143630;
    font-size: 15px;
}

.mint-filter-block {
    margin-top: 14px;
}

.mint-filter-block h2 {
    margin: 0 0 8px;
    color: #607a74;
    font-size: 13px;
}

.mint-segment {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.mint-segment button,
.mint-token-cloud button {
    min-height: 34px;
    border: 1px solid #d5e7e1;
    border-radius: 8px;
    background: #ffffff;
    color: #18483f;
    font-size: 13px;
    font-weight: 800;
}

.mint-segment button.is-active,
.mint-token-cloud button.is-active {
    border-color: #0f766e;
    background: #143630;
    color: #ffffff;
}

.mint-token-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.mint-topic-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.mint-topic-actions [disabled] {
    opacity: 0.6;
    cursor: wait;
}

.mint-result-stream {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.mint-result-card a {
    grid-template-columns: 72px minmax(0, 1fr) 20px;
    min-height: 98px;
    padding: 10px;
    border: 1px solid #d5e7e1;
    border-radius: 8px;
    background: #f8fffb;
}

.mint-result-card__cover {
    width: 72px;
    aspect-ratio: 3 / 4;
}

.mint-result-card__body {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.mint-result-card svg {
    width: 18px;
    height: 18px;
    color: #607a74;
}

.mint-library-more {
    width: 100%;
    margin-top: 14px;
}

.mint-desk-tabs {
    position: sticky;
    top: 84px;
    display: grid;
    gap: 10px;
}

.mint-desk-tabs button,
.mint-account-actions a {
    display: grid;
    align-items: center;
    gap: 8px;
    border: 1px solid #d5e7e1;
    border-radius: 8px;
    background: #ffffff;
    color: #18483f;
    font-weight: 900;
}

.mint-desk-tabs button {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    min-height: 56px;
    padding: 0 12px;
}

.mint-desk-tabs button.is-active {
    border-color: #143630;
    background: #143630;
    color: #ffffff;
}

.mint-desk-tabs svg,
.mint-account-actions svg,
.mint-account-list svg {
    width: 19px;
    height: 19px;
}

.mint-desk-tabs em {
    font-style: normal;
}

.mint-passport {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) minmax(220px, 0.9fr);
    align-items: center;
    gap: 16px;
    margin-top: 0;
    background: #143630;
    color: #f8fffb;
}

.mint-avatar--passport {
    width: 78px;
    height: 78px;
    max-width: 78px;
    max-height: 78px;
    flex-basis: 78px;
}

.mint-avatar--passport img {
    max-width: 78px;
    max-height: 78px;
}

.mint-passport h1,
.mint-passport p,
.mint-passport .mint-edition__kicker {
    color: #f8fffb;
}

.mint-passport p {
    margin: 5px 0 0;
    opacity: 0.72;
}

.mint-passport__stats div {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
}

.mint-passport__stats dt,
.mint-passport__stats dd {
    color: #f8fffb;
}

.mint-account-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.mint-account-actions a {
    justify-items: center;
    min-height: 82px;
    padding: 12px 8px;
    text-align: center;
}

.mint-account-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.mint-account-list h2 {
    margin: 0 0 2px;
    color: #143630;
    font-size: 20px;
}

.mint-account-list a {
    grid-template-columns: 36px minmax(0, 0.45fr) minmax(0, 1fr);
    padding: 12px;
    border: 1px solid #d5e7e1;
    border-radius: 8px;
    background: #ffffff;
}

.mint-account-list a > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #eef9f5;
    color: #0f766e;
}

.mint-gate {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
    align-items: stretch;
    min-height: 100vh;
    background: #f8fffb;
}

.mint-gate-cover,
.mint-gate-form,
.mint-gate-ticket {
    display: grid;
    align-content: center;
    padding: clamp(22px, 5vw, 54px);
}

.mint-gate-cover {
    gap: 28px;
    background: #143630;
    color: #f8fffb;
}

.mint-gate-cover h1 {
    margin: 8px 0;
    font-size: clamp(34px, 6vw, 56px);
    line-height: 1.05;
}

.mint-gate-cover p,
.mint-gate-ticket p {
    max-width: 420px;
    margin: 0;
    color: rgba(248, 255, 251, 0.74);
    line-height: 1.8;
}

.mint-gate-form {
    background: #f8fffb;
}

.mint-form--ledger {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    padding: 18px;
    border: 1px solid #d5e7e1;
    border-radius: 8px;
    background: #ffffff;
}

.mint-captcha-row {
    grid-template-columns: minmax(0, 1fr) 112px;
}

.mint-captcha-row img {
    width: 112px;
    height: 44px;
    border-radius: 8px;
    background: #ffffff;
    object-fit: cover;
}

.mint-gate-ticket {
    position: fixed;
    inset: auto 16px 16px auto;
    z-index: 90;
    gap: 12px;
    width: min(360px, calc(100vw - 32px));
    border: 1px solid #d5e7e1;
    border-radius: 8px;
    background: #143630;
    color: #f8fffb;
    box-shadow: 0 18px 42px rgba(20, 54, 48, 0.26);
}

.mint-gate-ticket h2 {
    margin: 0;
}

.mint-gate-ticket dl {
    display: grid;
    gap: 8px;
    margin: 0;
}

.mint-gate-ticket div {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 8px;
}

.mint-gate-ticket dt {
    color: rgba(248, 255, 251, 0.66);
}

.mint-gate-ticket dd {
    margin: 0;
    font-weight: 900;
}

.mint-checkout-hero {
    margin-top: 0;
    background: #143630;
    color: #f8fffb;
}

.mint-checkout-hero h1 {
    color: #f8fffb;
}

.mint-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.mint-plan-card {
    position: relative;
    display: grid;
    gap: 7px;
    min-height: 118px;
    padding: 14px;
    border: 1px solid #d5e7e1;
    border-radius: 8px;
    background: #f8fffb;
    cursor: pointer;
}

.mint-plan-card strong {
    color: #143630;
    font-size: 24px;
}

.mint-plan-card span {
    color: #607a74;
    font-size: 13px;
}

.mint-plan-card em {
    position: absolute;
    right: 10px;
    bottom: 10px;
    color: #0f766e;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.mint-plan-card.is-active {
    border-color: #e85d4f;
    background: #fff7f5;
    box-shadow: 0 0 0 3px rgba(232, 93, 79, 0.12);
}

.mint-pay-switch ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    margin: 14px 0 0;
    list-style: none;
}

.mint-pay-switch li {
    min-height: 52px;
    border: 1px solid #d5e7e1;
    border-radius: 8px;
    background: #f8fffb;
    cursor: pointer;
}

.mint-pay-switch li.is-active {
    border-color: #0f766e;
    background: #e6fff5;
}

.mint-pay-switch span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 52px;
    color: #18483f;
    font-weight: 900;
}

.mint-pay-switch svg {
    width: 18px;
    height: 18px;
}

.mint-submit-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.mint-submit-strip .mint-btn {
    min-width: 150px;
    min-height: 48px;
}

@media (max-width: 760px) {
    .mint-page--platform {
        max-width: 100%;
    }

    .mint-journal-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        min-height: 0;
    }

    .mint-journal-links {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .mint-edition,
    .mint-front-board,
    .mint-feature-story a,
    .mint-dossier-mast,
    .mint-library-layout,
    .mint-desk,
    .mint-passport,
    .mint-gate {
        grid-template-columns: 1fr;
    }

    .mint-library-filter,
    .mint-desk-tabs {
        position: static;
    }

    .mint-edition {
        background: #143630;
    }

    .mint-edition__rail {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mint-edition__rail a {
        padding: 10px;
    }

    .mint-bulletin,
    .mint-submit-strip {
        align-items: stretch;
        flex-direction: column;
    }

    .mint-front-board {
        margin-top: 16px;
    }

    .mint-dock {
        max-width: 100%;
    }

    .mint-dock__item {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .mint-dock__icon {
        margin: 0 auto;
    }

    .mint-dossier-cover {
        width: min(64vw, 230px);
    }

    .mint-chapter-ledger {
        grid-template-columns: 1fr;
    }

    .mint-account-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mint-account-list a {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .mint-account-list em {
        grid-column: 2;
    }

    .mint-gate-ticket {
        left: 16px;
        right: 16px;
        width: auto;
    }

    .mint-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .mint-journal-main,
    .mint-dossier,
    .mint-library-layout,
    .mint-desk,
    .mint-account,
    .mint-checkout {
        padding: 12px;
    }

    .mint-edition__rail,
    .mint-segment,
    .mint-pay-switch ul,
    .mint-plan-grid {
        grid-template-columns: 1fr;
    }

    .mint-rank-ledger a,
    .mint-result-card a {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .mint-rank-ledger__no,
    .mint-result-card svg {
        display: none;
    }

    .mint-result-card__cover {
        width: 58px;
    }
}

/* 2026-08-18 botanical editorial polish and shared responsive metrics */
:root {
    --mint-max: 500px;
    --mint-reader-max: 500px;
    --mint-gutter: 16px;
    --mint-control: 42px;
    --mint-icon: 20px;
    --mint-bg: #f2f5ed;
    --mint-surface: #fffef8;
    --mint-ink: #243c35;
    --mint-muted: #60756d;
    --mint-line: #d6e3d9;
    --mint-teal: #2f8069;
    --mint-teal-2: #86c7aa;
    --mint-coral: #c86b5a;
    --mint-gold: #c59a4a;
    --mint-blue: #5c718a;
    --mint-radius: 16px;
    --mint-shadow: 0 16px 38px rgba(48, 76, 65, 0.09);
}

html,
body {
    background: #e9efe6;
    color: var(--mint-ink);
}

body {
    background:
        radial-gradient(circle at 10% 0, rgba(134, 199, 170, 0.17), transparent 32%),
        linear-gradient(#e9efe6, #f3f5ee 52%, #e8eee6);
}

.mint-page--platform {
    width: 100%;
    max-width: var(--mint-max);
    min-height: 100vh;
    margin: 0 auto;
    overflow: clip;
    background: var(--mint-surface);
    box-shadow: 0 0 70px rgba(48, 76, 65, 0.11);
}

.mint-page--platform *,
.mint-gate * {
    box-sizing: border-box;
}

.mint-page--platform main,
.mint-page--platform section,
.mint-page--platform article,
.mint-page--platform div,
.mint-page--platform a,
.mint-page--platform span {
    min-width: 0;
}

.mint-page--platform h1,
.mint-page--platform h2,
.mint-page--platform h3,
.mint-page--platform p,
.mint-page--platform span,
.mint-gate h1,
.mint-gate h2,
.mint-gate p,
.mint-gate span {
    overflow-wrap: anywhere;
}

.mint-page--platform svg,
.mint-gate svg {
    width: var(--mint-icon);
    height: var(--mint-icon);
    flex: 0 0 auto;
    vertical-align: middle;
}

.mint-journal-top {
    min-height: 68px;
    padding: 10px var(--mint-gutter);
    border-bottom-color: var(--mint-line);
    background: rgba(255, 254, 248, 0.94);
    box-shadow: 0 8px 24px rgba(48, 76, 65, 0.06);
}

.mint-journal-brand__mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-color: rgba(47, 128, 105, 0.25);
    border-radius: 14px 14px 4px 14px;
    background: var(--mint-ink);
    color: #f7faef;
}

.mint-journal-brand__mark img {
    border-radius: inherit;
}

.mint-journal-brand__mark svg,
.mint-journal-links svg,
.mint-book-nav__home svg {
    width: var(--mint-icon);
    height: var(--mint-icon);
}

.mint-journal-brand__text strong {
    color: var(--mint-ink);
    font-family: Georgia, "Noto Serif SC", serif;
    font-size: clamp(18px, 2.2vw, 22px);
    line-height: 1.2;
}

.mint-journal-brand__text em {
    color: var(--mint-muted);
    line-height: 1.3;
}

.mint-journal-links a,
.mint-book-nav__home {
    min-height: var(--mint-control);
    padding: 0 13px;
    border-color: var(--mint-line);
    border-radius: 999px;
    background: #fbfcf6;
    color: var(--mint-ink);
    line-height: 1;
}

.mint-journal-main,
.mint-dossier,
.mint-library-layout,
.mint-desk,
.mint-account,
.mint-checkout {
    padding: var(--mint-gutter);
    padding-bottom: 96px;
}

.mint-edition {
    gap: 22px;
    overflow: hidden;
    border-color: rgba(47, 128, 105, 0.26);
    border-radius: 24px 24px 8px 24px;
    background:
        radial-gradient(circle at 78% 18%, rgba(197, 154, 74, 0.22), transparent 28%),
        linear-gradient(132deg, #294c42 0%, #376a5a 51%, #eef2e5 51.2%, #fffef8 100%);
    box-shadow: var(--mint-shadow);
}

.mint-edition__kicker,
.mint-board-head span,
.mint-slice-title span,
.mint-index-head span,
.mint-copy-block header span {
    color: var(--mint-coral);
    letter-spacing: 0.08em;
}

.mint-edition h1 {
    font-family: Georgia, "Noto Serif SC", serif;
    font-size: clamp(34px, 5.5vw, 58px);
}

.mint-edition p {
    color: rgba(255, 254, 248, 0.8);
}

.mint-edition__rail a {
    min-height: 78px;
    border-color: rgba(47, 128, 105, 0.2);
    border-radius: 14px 14px 4px 14px;
    background: rgba(255, 254, 248, 0.94);
    color: var(--mint-ink);
    box-shadow: 0 9px 22px rgba(36, 60, 53, 0.08);
}

.mint-edition__rail span {
    color: var(--mint-muted);
}

.mint-bulletin {
    border-left-color: var(--mint-coral);
    border-radius: 4px 14px 14px 4px;
    background: #fbf1e9;
    color: #4e5e57;
}

.mint-bulletin a,
.mint-board-head a,
.mint-slice-title a,
.mint-index-head a {
    min-height: var(--mint-control);
    color: var(--mint-teal);
    line-height: 1.2;
}

.mint-bulletin svg,
.mint-board-head svg,
.mint-slice-title svg,
.mint-index-head svg {
    width: 18px;
    height: 18px;
}

.mint-front-board,
.mint-desk-panel,
.mint-copy-block,
.mint-account-card,
.mint-checkout-hero {
    border-color: var(--mint-line);
    border-radius: var(--mint-radius);
    background: #fffef8;
    box-shadow: var(--mint-shadow);
}

.mint-board-head,
.mint-slice-title,
.mint-index-head {
    align-items: center;
    min-height: 52px;
}

.mint-board-head h2,
.mint-slice-title h2,
.mint-index-head h1,
.mint-index-head h2,
.mint-copy-block h2,
.mint-feature-story__body h3,
.mint-dossier-copy h1,
.mint-checkout-hero h1 {
    color: var(--mint-ink);
    font-family: Georgia, "Noto Serif SC", serif;
}

.mint-index-head p,
.mint-feature-story__body p,
.mint-rank-ledger__text em,
.mint-spine-card__body small,
.mint-result-card__body small,
.mint-account-list em {
    color: var(--mint-muted);
}

.mint-feature-story__cover,
.mint-rank-ledger__cover,
.mint-spine-card__cover,
.mint-result-card__cover,
.mint-dossier-cover {
    border-radius: 14px 14px 5px 14px;
    background: #dfeae0;
}

.mint-feature-story__body em,
.mint-spine-card__cover em {
    background: var(--mint-coral);
    color: #fffef8;
}

.mint-rank-ledger__no {
    color: var(--mint-blue);
}

.mint-rank-ledger__text strong,
.mint-spine-card__body strong,
.mint-result-card__body strong,
.mint-account-list strong {
    color: var(--mint-ink);
    line-height: 1.4;
}

.mint-channel-slice {
    border-top-color: var(--mint-line);
}

.mint-channel-slice--alt {
    padding-inline: clamp(12px, 2vw, 20px);
    border-radius: var(--mint-radius);
    background: #f2f6ed;
}

.mint-spine-row--wrap {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 18px);
}

.mint-spine-card a {
    height: 100%;
}

.mint-dock {
    width: min(100%, var(--mint-max));
    min-height: calc(64px + env(safe-area-inset-bottom));
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
    border-top-color: var(--mint-line);
    background: rgba(255, 254, 248, 0.96);
    box-shadow: 0 -8px 24px rgba(48, 76, 65, 0.09);
}

.mint-dock__item {
    grid-template-columns: 30px auto;
    gap: 6px;
    min-height: 52px;
    color: var(--mint-muted);
    font-size: 11px;
    line-height: 1.1;
}

.mint-dock__icon {
    width: 30px;
    height: 30px;
    border-radius: 11px 11px 4px 11px;
    background: #eaf1e9;
}

.mint-dock svg {
    width: var(--mint-icon);
    height: var(--mint-icon);
}

.mint-dock__item.is-active {
    color: var(--mint-teal);
}

.mint-dock__item.is-active .mint-dock__icon {
    background: var(--mint-ink);
    color: #fffef8;
}

.mint-book-nav {
    min-height: 68px;
    padding-inline: var(--mint-gutter);
    border-bottom-color: var(--mint-line);
    background: rgba(255, 254, 248, 0.94);
}

.mint-dossier-mast {
    border-color: var(--mint-line);
    border-radius: 24px 24px 8px 24px;
    background: linear-gradient(145deg, #eef3e8, #fffef8);
    box-shadow: var(--mint-shadow);
}

.mint-dossier-facts div,
.mint-chapter-ledger a,
.mint-result-card a,
.mint-account-list a,
.mint-desk-tabs button,
.mint-account-actions a,
.mint-plan-card,
.mint-pay-switch li {
    min-height: var(--mint-control);
}

.mint-chapter-ledger {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mint-chapter-ledger a {
    border-color: var(--mint-line);
    border-radius: 12px 12px 4px 12px;
    background: #f8faf3;
}

.mint-library-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 24px;
}

.mint-library-filter {
    position: sticky;
    top: 90px;
    border-color: var(--mint-line);
    border-radius: var(--mint-radius);
    background: #f6f8f1;
}

.mint-result-card a,
.mint-account-list a {
    align-items: center;
}

.mint-result-card {
    border-color: var(--mint-line);
    border-radius: 14px 14px 4px 14px;
    background: #fffef8;
}

.mint-desk-tabs button.is-active {
    background: var(--mint-ink);
    color: #fffef8;
}

.mint-account-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mint-account-actions a {
    border-color: var(--mint-line);
    border-radius: 14px 14px 4px 14px;
    background: #f8faf3;
}

.mint-gate {
    min-height: 100vh;
    background:
        radial-gradient(circle at 16% 12%, rgba(134, 199, 170, 0.24), transparent 30%),
        #e9efe6;
}

.mint-gate-cover,
.mint-gate-form,
.mint-gate-ticket {
    border-radius: var(--mint-radius);
}

.mint-gate-cover {
    background: linear-gradient(145deg, #294c42, #376a5a);
}

.mint-gate-form,
.mint-gate-ticket {
    background: #fffef8;
}

.mint-gate input,
.mint-checkout input,
.mint-checkout button {
    min-height: var(--mint-control);
}

.mint-page--reader {
    max-width: var(--mint-reader-max);
}

.mint-page--reader .mint-reader-bar,
.mint-page--reader .mint-reader-tools {
    max-width: var(--mint-reader-max);
}

.mint-page--reader .mint-reader-bar {
    min-height: 58px;
}

.mint-page--reader .mint-reader-tools a,
.mint-page--reader .mint-reader-tools button,
.mint-page--reader .mint-reader-tools span {
    min-height: var(--mint-control);
}

.mint-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.mint-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (hover: hover) {
    .mint-spine-card a,
    .mint-result-card,
    .mint-edition__rail a,
    .mint-account-actions a {
        transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    }

    .mint-spine-card a:hover,
    .mint-result-card:hover,
    .mint-edition__rail a:hover,
    .mint-account-actions a:hover {
        border-color: rgba(47, 128, 105, 0.4);
        transform: translateY(-3px);
        box-shadow: 0 16px 28px rgba(48, 76, 65, 0.12);
    }
}

@media (min-width: 900px) {
    .mint-page--platform {
        margin-block: 18px;
        min-height: calc(100vh - 36px);
        border: 1px solid rgba(47, 128, 105, 0.12);
        border-radius: 2px;
    }
}

@media (max-width: 899px) {
    .mint-library-layout {
        grid-template-columns: 1fr;
    }

    .mint-library-filter {
        position: static;
    }
}

@media (max-width: 680px) {
    .mint-journal-top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        min-height: 60px;
        padding-block: 8px;
    }

    .mint-journal-brand {
        width: auto;
    }

    .mint-journal-brand__mark {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .mint-journal-links {
        width: auto;
        flex-wrap: nowrap;
    }

    .mint-journal-links a,
    .mint-book-nav__home {
        width: var(--mint-control);
        padding: 0;
        justify-content: center;
    }

    .mint-journal-links a span,
    .mint-book-nav__home span {
        display: none;
    }

    .mint-edition {
        grid-template-columns: 1fr;
        border-radius: 18px 18px 6px 18px;
        background:
            radial-gradient(circle at 90% 5%, rgba(197, 154, 74, 0.22), transparent 28%),
            #315a4f;
    }

    .mint-edition__rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mint-front-board {
        grid-template-columns: 1fr;
    }

    .mint-feature-story a {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .mint-spine-row--wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .mint-chapter-ledger {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mint-account-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mint-dock__item {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .mint-dock__icon {
        margin: 0 auto;
    }
}

@media (max-width: 390px) {
    .mint-journal-brand__text em {
        font-size: 9px;
    }

    .mint-feature-story a {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .mint-feature-story__body h3 {
        font-size: 20px;
    }

    .mint-chapter-ledger {
        grid-template-columns: 1fr;
    }
}

/* 2026-09-11 detail chapter order controls */
.mint-chapter-order {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin: 12px 0 0;
}

.mint-order-button {
    min-width: 58px;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid var(--mint-line);
    border-radius: 12px 12px 4px 12px;
    background: var(--mint-surface);
    color: var(--mint-muted);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.mint-order-button.is-active {
    border-color: var(--mint-primary);
    background: var(--mint-primary);
    color: #ffffff;
}

.mint-order-button:focus-visible {
    outline: 2px solid var(--mint-iris);
    outline-offset: 2px;
}

html[data-theme="dark"] .mint-order-button {
    background: var(--mint-surface);
    color: var(--mint-ink);
}

html[data-theme="dark"] .mint-order-button.is-active {
    background: var(--mint-primary);
    color: #111827;
}

/* 2026-08-28 shared day/night theme integration */
html[data-theme="dark"] {
    --mint-bg: #0e1422;
    --mint-surface: #171f31;
    --mint-ink: #edf2ff;
    --mint-muted: #a0abc0;
    --mint-line: #2d3951;
    --mint-teal: #91a8e8;
    --mint-teal-2: #b7c7f0;
    --mint-coral: #b8a0e3;
    --mint-gold: #e2c273;
    --mint-blue: #91a8e8;
    --mint-primary: #91a8e8;
    --mint-primary-soft: #222d46;
    --mint-iris: #bea7e8;
    --mint-iris-soft: #2a243e;
    --mint-warm: #e2c273;
    --mint-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
    color-scheme: dark;
}

html[data-theme="dark"],
html[data-theme="dark"] body {
    background:
        radial-gradient(circle at 10% 0, rgba(145, 168, 232, 0.14), transparent 34%),
        radial-gradient(circle at 90% 20%, rgba(190, 167, 232, 0.1), transparent 30%),
        linear-gradient(#090e19, #101729 55%, #090e19);
    color: var(--mint-ink);
}

html[data-theme="dark"] .mint-page,
html[data-theme="dark"] .mint-page--platform {
    background: var(--mint-bg);
    color: var(--mint-ink);
}

html[data-theme="dark"] .mint-journal-top,
html[data-theme="dark"] .mint-book-nav,
html[data-theme="dark"] .mint-dock {
    border-color: var(--mint-line);
    background: rgba(23, 31, 49, 0.96);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .mint-journal-links a,
html[data-theme="dark"] .mint-book-nav__home,
html[data-theme="dark"] .mint-btn--light,
html[data-theme="dark"] .mint-dock__icon,
html[data-theme="dark"] .mint-account-actions a {
    border-color: var(--mint-line);
    background: var(--mint-primary-soft);
    color: var(--mint-primary);
}

html[data-theme="dark"] .mint-edition__rail a,
html[data-theme="dark"] .mint-dossier-facts div,
html[data-theme="dark"] .mint-chapter-ledger a,
html[data-theme="dark"] .mint-result-card a,
html[data-theme="dark"] .mint-plan-card,
html[data-theme="dark"] .mint-pay-switch li,
html[data-theme="dark"] .mint-library-search,
html[data-theme="dark"] .mint-segment button,
html[data-theme="dark"] .mint-token-cloud button,
html[data-theme="dark"] .mint-desk-tabs button {
    border-color: var(--mint-line);
    background: #1b263a;
    color: var(--mint-ink);
}

html[data-theme="dark"] .mint-bulletin {
    background: var(--mint-iris-soft);
    color: #cbc3de;
}

html[data-theme="dark"] .mint-feature-story__cover,
html[data-theme="dark"] .mint-rank-ledger__cover,
html[data-theme="dark"] .mint-spine-card__cover,
html[data-theme="dark"] .mint-result-card__cover,
html[data-theme="dark"] .mint-dossier-cover {
    background: #253149;
}

html[data-theme="dark"] .mint-rank-ledger a {
    border-bottom-color: var(--mint-line);
}

html[data-theme="dark"] .mint-channel-slice--alt,
html[data-theme="dark"] .mint-library-filter {
    background: #121a2a;
}

html[data-theme="dark"] .mint-dossier-mast {
    border-color: var(--mint-line);
    background: linear-gradient(145deg, #1a2539, #171f31);
}

html[data-theme="dark"] .mint-gate {
    background:
        radial-gradient(circle at 16% 10%, rgba(145, 168, 232, 0.14), transparent 32%),
        #0e1422;
}

html[data-theme="dark"] .mint-form--ledger,
html[data-theme="dark"] .mint-gate input {
    border-color: var(--mint-line);
    background: #1b263a;
    color: var(--mint-ink);
}

html[data-theme="light"] .mint-page--reader {
    background: #eef1f8;
    color: var(--mint-ink);
}

html[data-theme="light"] .mint-reader-bar,
html[data-theme="light"] .mint-reader-tools {
    border-color: var(--mint-line);
    background: rgba(252, 251, 255, 0.96);
}

html[data-theme="light"] .mint-reader-bar h1,
html[data-theme="light"] .mint-reader-tools a,
html[data-theme="light"] .mint-reader-tools button,
html[data-theme="light"] .mint-reader-tools span {
    color: var(--mint-ink);
}

html[data-theme="light"] .mint-reader-meta {
    color: var(--mint-muted);
}

html[data-theme="light"] .mint-reader-content,
html[data-theme="light"] .mint-reader-figure,
html[data-theme="light"] .mint-reader-content img {
    background: #e5e9f3;
}

/* 2026-08-18 desktop access for horizontally overflowing homepage shelves. */
.mint-spine-row:not(.mint-spine-row--wrap) {
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
}

.mint-spine-row:not(.mint-spine-row--wrap) > .mint-spine-card {
    scroll-snap-align: start;
}

.mint-spine-row:not(.mint-spine-row--wrap):focus-visible {
    outline: 2px solid var(--mint-primary);
    outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
    .mint-spine-row.is-scrollable {
        cursor: grab;
        padding-bottom: 9px;
        scrollbar-width: thin;
        scrollbar-color: rgba(64, 94, 155, 0.46) transparent;
    }

    .mint-spine-row.is-scrollable.is-dragging {
        cursor: grabbing;
        scroll-behavior: auto;
        scroll-snap-type: none;
        user-select: none;
    }

    .mint-spine-row.is-scrollable::-webkit-scrollbar {
        display: block;
        height: 6px;
    }

    .mint-spine-row.is-scrollable::-webkit-scrollbar-track {
        background: transparent;
    }

    .mint-spine-row.is-scrollable::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(64, 94, 155, 0.42);
    }
}

/* 2026-08-18 mist-blue iris theme: intentionally distinct from Aurora coral */
:root {
    --mint-bg: #f1f3f9;
    --mint-surface: #fcfbff;
    --mint-ink: #26324a;
    --mint-muted: #6b7488;
    --mint-line: #dce1ec;
    --mint-teal: #405e9b;
    --mint-teal-2: #91a8d6;
    --mint-coral: #8877b4;
    --mint-gold: #d2aa55;
    --mint-blue: #536b96;
    --mint-primary: #405e9b;
    --mint-primary-soft: #e9eef9;
    --mint-iris: #8877b4;
    --mint-iris-soft: #f0ecf8;
    --mint-warm: #d2aa55;
    --mint-shadow: 0 15px 34px rgba(48, 61, 93, 0.1);
}

html,
body {
    background: #e9edf6;
    color: var(--mint-ink);
}

body {
    background:
        radial-gradient(circle at 10% 0, rgba(145, 168, 214, 0.25), transparent 34%),
        radial-gradient(circle at 90% 20%, rgba(136, 119, 180, 0.14), transparent 30%),
        linear-gradient(#e9edf6, #f4f5fa 55%, #e8ebf4);
}

.mint-page--platform {
    background: #fafbff;
}

.mint-journal-top,
.mint-book-nav,
.mint-dock {
    border-color: var(--mint-line);
    background: rgba(252, 251, 255, 0.96);
    box-shadow: 0 8px 24px rgba(48, 61, 93, 0.07);
}

.mint-journal-brand__mark {
    border-color: rgba(64, 94, 155, 0.28);
    background: linear-gradient(145deg, var(--mint-primary), #657caf);
    color: #f8f9ff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.mint-journal-brand__text strong,
.mint-board-head h2,
.mint-slice-title h2,
.mint-index-head h1,
.mint-index-head h2,
.mint-copy-block h2,
.mint-feature-story__body h3,
.mint-dossier-copy h1,
.mint-checkout-hero h1,
.mint-account-list h2 {
    color: var(--mint-ink);
}

.mint-journal-brand__text em,
.mint-index-head p,
.mint-feature-story__body p,
.mint-rank-ledger__text em,
.mint-spine-card__body small,
.mint-result-card__body small,
.mint-account-list em,
.mint-copy-block p,
.mint-checkout-hero p,
.mint-submit-strip p {
    color: var(--mint-muted);
}

.mint-journal-links a,
.mint-book-nav__home {
    border-color: var(--mint-line);
    background: #f7f8fd;
    color: var(--mint-primary);
}

.mint-edition {
    border-color: rgba(64, 94, 155, 0.28);
    background:
        radial-gradient(circle at 88% 4%, rgba(210, 170, 85, 0.22), transparent 25%),
        linear-gradient(140deg, #314a7d 0%, #526ba4 62%, #7b70a8 100%);
    box-shadow: 0 18px 42px rgba(42, 55, 90, 0.18);
}

.mint-edition p {
    color: rgba(247, 249, 255, 0.8);
}

.mint-edition__kicker,
.mint-board-head span,
.mint-slice-title span,
.mint-index-head span,
.mint-copy-block header span {
    color: var(--mint-iris);
}

.mint-edition .mint-edition__kicker {
    color: #e4d6ff;
}

.mint-edition__rail a {
    border-color: rgba(64, 94, 155, 0.2);
    background: rgba(252, 251, 255, 0.94);
    color: var(--mint-ink);
    box-shadow: 0 9px 22px rgba(39, 50, 76, 0.12);
}

.mint-edition__rail span {
    color: var(--mint-muted);
}

.mint-btn {
    background: var(--mint-primary);
    color: #ffffff;
}

.mint-btn--light {
    background: #eef2fb;
    color: var(--mint-primary);
}

.mint-btn--coral {
    background: var(--mint-iris);
    color: #ffffff;
}

.mint-btn--ghost {
    border-color: var(--mint-line);
    background: transparent;
    color: var(--mint-primary);
}

.mint-bulletin {
    border-left-color: var(--mint-iris);
    background: var(--mint-iris-soft);
    color: #4f566d;
}

.mint-bulletin a,
.mint-board-head a,
.mint-slice-title a,
.mint-index-head a {
    color: var(--mint-primary);
}

.mint-front-board,
.mint-copy-block,
.mint-chapter-index,
.mint-library-filter,
.mint-library-results,
.mint-desk-panel,
.mint-account-list,
.mint-plan-board,
.mint-pay-ledger,
.mint-submit-strip {
    border-color: var(--mint-line);
    background: var(--mint-surface);
    box-shadow: var(--mint-shadow);
}

.mint-feature-story__cover,
.mint-rank-ledger__cover,
.mint-spine-card__cover,
.mint-result-card__cover,
.mint-dossier-cover {
    background: #e5e9f3;
}

.mint-feature-story__body em {
    padding: 0;
    background: transparent;
    color: var(--mint-iris);
}

.mint-spine-card__cover em {
    background: var(--mint-iris);
    color: #ffffff;
}

.mint-rank-ledger a {
    border-bottom-color: #e7e9f1;
}

.mint-rank-ledger__no {
    color: var(--mint-primary);
}

.mint-rank-ledger__text strong,
.mint-spine-card__body strong,
.mint-result-card__body strong,
.mint-account-list strong {
    color: var(--mint-ink);
}

.mint-rank-toggle {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 42px;
    margin-top: 2px;
    border: 1px solid rgba(64, 94, 155, 0.22);
    border-radius: 12px 12px 4px 12px;
    background: var(--mint-primary-soft);
    color: var(--mint-primary);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    cursor: pointer;
}

.mint-rank-toggle svg {
    width: 17px;
    height: 17px;
    transition: transform 0.22s ease;
}

.mint-rank-toggle svg.is-open {
    transform: rotate(90deg);
}

.mint-channel-slice {
    border-top-color: var(--mint-line);
}

.mint-channel-slice--alt {
    background: #f0f3fa;
}

.mint-dock {
    border-top-color: var(--mint-line);
    box-shadow: 0 -8px 24px rgba(48, 61, 93, 0.1);
}

.mint-dock__item {
    color: var(--mint-muted);
}

.mint-dock__icon {
    background: #e9edf7;
}

.mint-dock__item.is-active {
    color: var(--mint-primary);
}

.mint-dock__item.is-active .mint-dock__icon {
    background: var(--mint-primary);
    color: #ffffff;
}

.mint-dossier-mast {
    border-color: var(--mint-line);
    background: linear-gradient(145deg, #eef1f8, #fcfbff);
    box-shadow: var(--mint-shadow);
}

.mint-dossier-tags,
.mint-dossier-facts dt,
.mint-passport__stats dt {
    color: var(--mint-muted);
}

.mint-dossier-facts div,
.mint-chapter-ledger a,
.mint-result-card a,
.mint-account-actions a,
.mint-plan-card,
.mint-pay-switch li {
    border-color: var(--mint-line);
    background: #f7f8fc;
}

.mint-dossier-facts dd,
.mint-chapter-ledger a,
.mint-plan-card strong {
    color: var(--mint-ink);
}

.mint-chapter-ledger em,
.mint-library-search svg,
.mint-account-list a > span {
    color: var(--mint-primary);
}

.mint-chapter-ledger a.is-paid,
.mint-chapter-ledger a.is-paid em {
    color: var(--mint-iris);
}

.mint-library-filter {
    background: #f2f4fa;
}

.mint-library-search {
    border-color: var(--mint-line);
    background: #fcfbff;
}

.mint-segment button,
.mint-token-cloud button {
    border-color: var(--mint-line);
    background: #fcfbff;
    color: #45516b;
}

.mint-segment button.is-active,
.mint-token-cloud button.is-active,
.mint-desk-tabs button.is-active {
    border-color: var(--mint-primary);
    background: var(--mint-primary);
    color: #ffffff;
}

.mint-result-card {
    border-color: var(--mint-line);
    background: var(--mint-surface);
}

.mint-desk-tabs button {
    border-color: var(--mint-line);
    background: #fcfbff;
    color: var(--mint-primary);
}

.mint-passport,
.mint-checkout-hero,
.mint-gate-cover {
    border-color: rgba(64, 94, 155, 0.28);
    background: linear-gradient(145deg, #304878, #566ca2 70%, #776fa3);
    color: #f8f9ff;
    box-shadow: 0 18px 42px rgba(42, 55, 90, 0.18);
}

.mint-passport h1,
.mint-passport p,
.mint-passport .mint-edition__kicker,
.mint-passport__stats dt,
.mint-passport__stats dd,
.mint-checkout-hero h1,
.mint-checkout-hero p,
.mint-gate-cover h1,
.mint-gate-cover p {
    color: #f8f9ff;
}

.mint-passport__stats div {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.1);
}

.mint-account-actions a {
    border-color: var(--mint-line);
    background: #f3f5fb;
    color: var(--mint-primary);
}

.mint-account-list a > span {
    background: var(--mint-primary-soft);
}

.mint-gate {
    background:
        radial-gradient(circle at 16% 10%, rgba(145, 168, 214, 0.3), transparent 32%),
        #e9edf6;
}

.mint-gate-form,
.mint-gate-ticket {
    border-color: var(--mint-line);
    background: var(--mint-surface);
    color: var(--mint-ink);
}

.mint-form--ledger,
.mint-gate input {
    border-color: var(--mint-line);
    background: #ffffff;
    color: var(--mint-ink);
}

.mint-plan-card.is-active,
.mint-pay-switch li.is-active {
    border-color: var(--mint-primary);
    background: var(--mint-primary-soft);
    color: var(--mint-primary);
}

.mint-page--reader {
    background: #111729;
    color: #eef2ff;
}

.mint-reader-bar,
.mint-reader-tools {
    border-color: rgba(223, 229, 248, 0.13);
    background: rgba(20, 28, 48, 0.96);
}

.mint-reader-bar h1,
.mint-reader-tools a,
.mint-reader-tools button,
.mint-reader-tools span {
    color: #eef2ff;
}

.mint-reader-meta {
    color: rgba(230, 235, 250, 0.65);
}

.mint-reader-content,
.mint-reader-figure,
.mint-reader-content img {
    background: #111729;
}

@media (hover: hover) {
    .mint-rank-toggle:hover,
    .mint-journal-links a:hover,
    .mint-book-nav__home:hover {
        border-color: rgba(64, 94, 155, 0.42);
        background: #e9eef9;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mint-rank-toggle svg {
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mint-page--platform *,
    .mint-gate * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition-duration: 0.01ms !important;
    }

    .mint-reveal {
        opacity: 1;
        transform: none;
    }
}

/* 2026-08-18 restore the original fixed frontend canvas on mobile and desktop */
.mint-page--platform {
    max-width: 500px;
    min-height: 100vh;
    margin: 0 auto;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.mint-journal-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 56px;
    padding: 10px 16px;
}

.mint-journal-brand {
    width: auto;
}

.mint-journal-brand__mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
}

.mint-journal-brand__text strong {
    font-size: 17px;
}

.mint-journal-links {
    width: auto;
    flex-wrap: nowrap;
}

.mint-journal-links a,
.mint-book-nav__home {
    width: auto;
    min-height: 0;
    height: 36px;
    padding: 0 10px;
}

.mint-journal-links a span,
.mint-book-nav__home span {
    display: inline;
}

.mint-journal-main,
.mint-dossier,
.mint-library-layout,
.mint-desk,
.mint-account,
.mint-checkout {
    padding: 16px 16px 88px;
}

.mint-edition {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
    border-radius: 14px 14px 5px 14px;
    background:
        radial-gradient(circle at 90% 5%, rgba(197, 154, 74, 0.2), transparent 26%),
        #315a4f;
}

.mint-edition h1 {
    font-size: 30px;
}

.mint-edition__rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mint-edition__rail a {
    min-height: 68px;
    padding: 12px;
}

.mint-front-board {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 18px;
    padding: 16px;
}

.mint-board-head,
.mint-slice-title,
.mint-index-head {
    align-items: flex-start;
    min-height: 0;
}

.mint-board-head h2,
.mint-slice-title h2,
.mint-index-head h1,
.mint-index-head h2,
.mint-copy-block h2 {
    font-size: 21px;
}

.mint-feature-story a {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
}

.mint-feature-story__body h3 {
    font-size: 22px;
}

.mint-spine-row--wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 10px;
}

.mint-channel-slice--alt {
    padding-inline: 12px;
}

.mint-book-nav {
    min-height: 56px;
    padding: 10px 16px;
}

.mint-dossier-mast {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-radius: 14px 14px 5px 14px;
}

.mint-dossier-copy h1 {
    font-size: 24px;
    line-height: 1.2;
}

.mint-dossier-facts {
    gap: 6px;
}

.mint-dossier-facts div {
    padding: 8px 6px;
}

.mint-copy-block,
.mint-chapter-index,
.mint-library-filter,
.mint-library-results,
.mint-desk-panel,
.mint-passport,
.mint-checkout-hero,
.mint-plan-board,
.mint-pay-ledger,
.mint-submit-strip {
    padding: 16px;
}

.mint-chapter-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mint-library-layout,
.mint-desk {
    grid-template-columns: 1fr;
    gap: 16px;
}

.mint-library-filter,
.mint-desk-tabs {
    position: static;
    top: auto;
}

.mint-desk-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mint-passport {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
}

.mint-avatar--passport {
    width: 68px;
    height: 68px;
    max-width: 68px;
    max-height: 68px;
    flex-basis: 68px;
}

.mint-avatar--passport img {
    max-width: 68px;
    max-height: 68px;
}

.mint-passport__stats {
    grid-column: 1 / -1;
}

.mint-account-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mint-account-actions a {
    min-height: 72px;
}

.mint-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mint-gate {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 500px;
    min-height: 100vh;
    margin: 0 auto;
}

.mint-gate-cover,
.mint-gate-form,
.mint-gate-ticket {
    padding: 22px 18px;
}

.mint-gate-cover {
    min-height: 190px;
}

.mint-gate-cover h1 {
    font-size: 32px;
}

.mint-action-bar,
.mint-dock {
    width: 100%;
    max-width: 500px;
}

.mint-dock {
    min-height: 0;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
}

.mint-dock__item {
    grid-template-columns: 1fr;
    gap: 2px;
    min-height: 48px;
}

.mint-dock__icon {
    width: 28px;
    height: 28px;
    margin: 0 auto;
}

.mint-dock svg {
    width: 18px;
    height: 18px;
}

.mint-page--reader,
.mint-page--reader .mint-reader-bar,
.mint-page--reader .mint-reader-tools {
    max-width: 500px;
}

.mint-page--reader .mint-reader-bar {
    min-height: 54px;
}

.mint-page--reader .mint-reader-tools a,
.mint-page--reader .mint-reader-tools button,
.mint-page--reader .mint-reader-tools span {
    min-height: 42px;
}

@media (max-width: 390px) {
    .mint-journal-links a span,
    .mint-book-nav__home span {
        display: none;
    }

    .mint-journal-links a,
    .mint-book-nav__home {
        width: 36px;
        padding: 0;
        justify-content: center;
    }

    .mint-feature-story a {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .mint-spine-row--wrap {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mint-chapter-ledger {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mint-edition__rail,
    .mint-plan-grid {
        grid-template-columns: 1fr;
    }
}

/* Keep the final fixed-canvas override on the mist-blue palette. */
.mint-edition {
    background-color: #314a7d;
    background-image:
        radial-gradient(circle at 88% 4%, rgba(210, 170, 85, 0.22), transparent 25%),
        linear-gradient(140deg, #314a7d 0%, #526ba4 62%, #7b70a8 100%);
}

/* 2026-08-18 Mint text and icon alignment correction. */
.mint-page--platform svg,
.mint-gate svg,
.mint-page--reader svg {
    display: block;
    flex: 0 0 auto;
    vertical-align: middle;
}

.mint-journal-brand__text {
    align-content: center;
}

.mint-journal-brand__text strong,
.mint-journal-brand__text em,
.mint-dock__label,
.mint-tabbar__item span,
.mint-account-actions a span {
    line-height: 1.2;
}

.mint-journal-links a,
.mint-book-nav__home,
.mint-icon-btn,
.mint-btn,
.mint-bulletin a,
.mint-board-head > a,
.mint-slice-title > a,
.mint-index-head > a,
.mint-rank-toggle,
.mint-pay-switch span {
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.mint-board-head,
.mint-slice-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 2px;
}

.mint-board-head > span,
.mint-slice-title > span {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    line-height: 1.25;
}

.mint-board-head > h2,
.mint-slice-title > h2 {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    margin: 0;
    line-height: 1.25;
}

.mint-board-head > a,
.mint-slice-title > a {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
}

.mint-index-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.mint-index-head > div {
    min-width: 0;
}

.mint-index-head > a {
    align-self: center;
}

.mint-result-card a,
.mint-account-list a {
    align-items: center;
}

.mint-result-card__body,
.mint-account-list strong,
.mint-account-list em {
    min-width: 0;
}

.mint-result-card svg {
    align-self: center;
    justify-self: center;
}

.mint-account-actions a {
    align-content: center;
    justify-items: center;
    gap: 7px;
    line-height: 1.25;
}

.mint-account-actions a span {
    min-width: 0;
    text-align: center;
}

.mint-account-list a > span {
    align-self: center;
    justify-self: center;
}

.mint-account-list strong,
.mint-account-list em {
    display: block;
    line-height: 1.35;
}

.mint-dock__item,
.mint-tabbar__item {
    align-content: center;
    justify-items: center;
    line-height: 1.2;
}

.mint-dock__label,
.mint-tabbar__item span {
    display: block;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
}

.mint-page--reader .mint-reader-tools {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}

.mint-page--reader .mint-reader-tools a,
.mint-page--reader .mint-reader-tools button,
.mint-page--reader .mint-reader-tools > span {
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    gap: 5px;
    overflow: hidden;
    padding: 0 4px;
    font-size: 12px;
    line-height: 1;
}

.mint-reader-tools .mint-reader-tool__icon {
    display: block;
    flex: 0 0 18px;
    width: 18px !important;
    min-width: 18px;
    max-width: 18px;
    height: 18px !important;
}

.mint-reader-tools .mint-reader-like.is-liked {
    color: var(--mint-gold);
}

@media (max-width: 390px) {
    .mint-board-head,
    .mint-slice-title,
    .mint-index-head {
        column-gap: 8px;
    }

    .mint-board-head > a,
    .mint-slice-title > a,
    .mint-index-head > a {
        font-size: 12px;
    }
}
