/* Mobile layouts: loaded after the desktop theme, up to 760px. */
html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 16px;
}
body {
    min-width: 0;
}
body,
button,
input,
textarea {
    -webkit-tap-highlight-color: transparent;
}
button,
a,
summary {
    touch-action: manipulation;
}
img,
svg {
    max-width: 100%;
}
[hidden] {
    display: none !important;
}
.page {
    width: 100%;
    padding: 0 16px;
}
.header-inner {
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
    padding: 14px 16px;
    max-width: 100%;
}
.brand {
    min-width: 0;
    gap: 9px;
    font-size: 20px;
}
.brand > span {
    font-size: 20px;
    line-height: 1.25;
    white-space: nowrap;
}
.brand > img {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    border-radius: 12px;
}
.brand small {
    display: none;
}
.header-inner nav {
    gap: 15px;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    min-width: 0;
    font-size: 13px;
    line-height: 1.5;
    white-space: nowrap;
}
.header-inner nav > a,
.navigation-menu summary {
    min-height: 44px;
}
.nav-chevron {
    width: 12px;
    height: 12px;
}
.navigation-dropdown {
    position: absolute;
    right: 0;
    left: auto;
    top: calc(100% + 4px);
    width: min(240px, calc(100vw - 32px));
    max-height: 60dvh;
    padding: 8px;
    overscroll-behavior: contain;
}
.navigation-menu .navigation-group > a {
    min-height: 43px;
    font-size: 14px;
}
.navigation-menu .navigation-children .navigation-group > a {
    min-height: 39px;
    font-size: 13px;
}
.search {
    grid-column: 1/-1;
    width: 100%;
    margin: 0;
    padding: 0 12px;
    border-radius: 10px;
    min-height: 43px;
    gap: 10px;
    background: #edf0f8;
}
.search input {
    font-size: 16px;
    line-height: 1.5;
    min-height: 42px;
    border-radius: 0;
}
.search button {
    font-size: 20px;
    min-width: 32px;
    min-height: 42px;
    flex-shrink: 0;
}
.hero {
    display: block;
    min-height: 0;
    margin-top: 18px;
    padding: 24px 23px;
    border-radius: 18px;
}
.hero h1 {
    font-size: clamp(28px, 8vw, 34px);
    letter-spacing: -1px;
    line-height: 1.4;
    margin: 17px 0 14px;
}
.hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1.2px;
    line-height: 1.6;
}
.hero p {
    font-size: 13px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
.hero-art {
    display: none;
}
.hero-actions {
    gap: 18px;
    flex-wrap: wrap;
    margin: 21px 0 18px;
}
.hero .hero-primary {
    min-height: 42px;
    padding: 10px 15px;
    font-size: 12px;
}
.hero-secondary {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    font-size: 12px;
}
.hero-stats {
    gap: 15px;
    font-size: 11px;
    flex-wrap: wrap;
}
.hero-stats strong {
    font-size: 18px;
}
.journal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 29px 0 35px;
}
.journal-layout > section,
.journal-layout > .sidebar,
[data-journal-panel] {
    min-width: 0;
    width: 100%;
}
.section-heading {
    gap: 12px;
    align-items: center;
    margin-bottom: 19px;
}
.section-heading .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
}
.section-heading h2 {
    font-size: 22px;
    line-height: 1.4;
    margin: 5px 0 0;
}
.switch {
    flex-shrink: 0;
    padding: 4px;
    gap: 2px;
}
.switch a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    min-width: 54px;
    padding: 7px 12px;
    font-size: 12px;
}
.result-note {
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.post-list {
    gap: 14px;
}
.post-row {
    padding: 15px;
    gap: 14px;
    border-radius: 14px;
    min-width: 0;
    align-items: center;
}
.post-cover {
    flex: 0 0 90px;
    width: 90px;
    height: 112px;
    border-radius: 9px;
}
.cover-symbol {
    font-size: 36px;
}
.cover-topic {
    font-size: 10px;
    letter-spacing: 0;
    left: 10px;
    bottom: 9px;
}
.post-row-main {
    min-width: 0;
    flex: 1;
}
.post-row .meta {
    font-size: 11px;
    gap: 5px;
    line-height: 1.5;
}
.post-type {
    display: none;
}
.post-row h2 {
    font-size: 16px;
    line-height: 1.55;
    font-weight: 600;
    margin: 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}
.post-row p {
    font-size: 12px;
    line-height: 1.65;
    margin: 7px 0 11px;
    -webkit-line-clamp: 2;
}
.post-bottom {
    gap: 8px;
    align-items: center;
    font-size: 11px;
}
.post-bottom a {
    font-size: 11px;
    flex-shrink: 0;
}
.post-bottom a span {
    width: 21px;
    height: 21px;
    font-size: 12px;
    margin-left: 3px;
}
.sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 0;
    margin: 0;
    min-width: 0;
    width: 100%;
    align-items: start;
}
.sidebar > * {
    grid-column: 1/-1;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
}
.about-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 0;
    padding: 21px 22px;
    border-radius: 15px;
}
.about-card .avatar {
    grid-column: 1;
    grid-row: 1/3;
    width: 42px;
    height: 42px;
    font-size: 22px;
    border-width: 2px;
    margin: 0;
}
.about-card > .eyebrow {
    display: none;
}
.about-card h3 {
    grid-column: 2;
    align-self: center;
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
}
.about-card p {
    grid-column: 2;
    font-size: 12px;
    line-height: 1.7;
    margin: 4px 0 0;
    color: #83758e;
    overflow-wrap: anywhere;
}
.about-card .numbers {
    grid-column: 1/-1;
    margin: 17px 0 0;
    padding-top: 15px;
    gap: 16px;
}
.numbers > div {
    flex: 1;
    text-align: center;
}
.numbers strong {
    font-size: 20px;
    line-height: 1.4;
}
.numbers small {
    font-size: 11px;
    display: block;
    margin-top: 3px;
}
.side-section {
    padding: 21px 22px;
    border-radius: 15px;
}
.side-section > .eyebrow {
    display: none;
}
.side-section h3 {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 14px;
}
.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.category-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 36px;
    max-width: 100%;
    padding: 7px 11px;
    border: 1px solid #e8e1f1;
    border-radius: 8px;
    background: #f7f4fc;
    font-size: 12px;
    line-height: 1.5;
    color: #827092;
    overflow-wrap: anywhere;
}
.category-list a:before {
    font-size: 11px;
    margin-right: 5px;
    color: #b2a0c7;
}
.category-list a > span {
    display: none;
}
.featured-card {
    padding: 23px;
    border-radius: 15px;
    align-self: start;
}
.featured-card h3 {
    font-size: 18px;
    line-height: 1.7;
    margin: 22px 0 16px;
}
.featured-card .eyebrow {
    font-size: 9px;
}
.featured-card .text-link {
    min-height: 36px;
    font-size: 12px;
}
.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.friend-links a {
    font-size: 12px;
    line-height: 1.6;
    min-height: 36px;
    padding: 7px 10px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.pagination {
    gap: 14px;
    padding: 24px 0 4px;
    flex-wrap: wrap;
    font-size: 12px;
}
.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 9px;
}
.breadcrumb {
    margin: 21px 0 15px;
    font-size: 12px;
    gap: 9px;
    line-height: 1.7;
    flex-wrap: wrap;
}
.breadcrumb a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
}
.page-heading {
    padding: 14px 0 16px;
}
.page-heading > .eyebrow {
    font-size: 9px;
    letter-spacing: 1.4px;
}
.page-heading h1 {
    font-size: 29px;
    line-height: 1.4;
    margin: 10px 0;
}
.page-heading sup {
    font-size: 13px;
    margin-left: 9px;
}
.page-heading p {
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
    overflow-wrap: anywhere;
}
.category-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    gap: 8px;
    margin: 0 0 18px;
    padding: 3px 0 9px;
    max-width: 100%;
}
.category-pills::-webkit-scrollbar {
    display: none;
}
.category-pills a {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 7px 12px;
    line-height: 1.6;
    font-size: 12px;
    white-space: nowrap;
}
.reading-width {
    max-width: 100%;
    padding-bottom: 35px;
    min-width: 0;
}
.article {
    margin: 15px auto 36px;
    padding: 25px 21px;
    border-radius: 15px;
    max-width: 100%;
    min-width: 0;
}
.article-heading {
    padding-bottom: 23px;
}
.article-heading > .eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
    line-height: 1.6;
}
.article h1 {
    font-size: 25px;
    line-height: 1.5;
    margin: 15px 0 17px;
    letter-spacing: -0.4px;
    overflow-wrap: anywhere;
}
.article .meta {
    font-size: 11px;
    line-height: 1.7;
    gap: 7px;
}
.mini-avatar {
    flex-shrink: 0;
}
.article-lead {
    font-size: 14px;
    line-height: 1.85;
    padding-left: 13px;
    margin-top: 20px;
    overflow-wrap: anywhere;
}
.source-note {
    font-size: 12px;
    line-height: 1.8;
    padding: 12px 14px;
    margin: 23px 0;
}
.prose {
    font-size: 16px;
    line-height: 1.9;
    margin: 26px 0;
    overflow-wrap: anywhere;
    min-width: 0;
    max-width: 100%;
}
.prose p {
    margin: 1.15em 0;
}
.prose h1 {
    font-size: 24px;
}
.prose h2 {
    font-size: 21px;
    padding-left: 12px;
    border-left-width: 3px;
}
.prose h3 {
    font-size: 18px;
}
.prose h4 {
    font-size: 16px;
}
.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    line-height: 1.6;
    margin: 1.6em 0 0.7em;
}
.prose img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 18px auto;
    border-radius: 7px;
}
.prose pre {
    max-width: 100%;
    padding: 16px;
    border-radius: 9px;
    font-size: 12px;
    line-height: 1.8;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    white-space: pre;
    word-break: normal;
    overflow-wrap: normal;
}
.prose table {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    font-size: 13px;
    line-height: 1.7;
}
.prose td,
.prose th {
    padding: 8px 11px;
    min-width: 80px;
}
.prose blockquote {
    padding: 8px 16px;
    margin: 20px 0;
}
.prose ul,
.prose ol {
    padding-left: 24px;
}
.prose li {
    padding-left: 2px;
}
.prose a {
    overflow-wrap: anywhere;
}
.article-end {
    gap: 14px;
    padding: 20px 0;
    font-size: 12px;
    align-items: center;
}
.article-end > span {
    flex: 1;
    max-width: none;
    line-height: 1.7;
}
.like-control {
    flex: 0 0 auto;
    max-width: 60%;
}
.like-button {
    min-height: 42px;
    padding: 9px 17px;
    font-size: 13px;
    white-space: nowrap;
}
.like-feedback {
    max-width: 190px;
    font-size: 11px;
}
.related {
    margin-top: 32px;
}
.related > .eyebrow {
    font-size: 9px;
}
.related h2 {
    font-size: 20px;
    margin: 8px 0 11px;
}
.related a {
    min-height: 48px;
    font-size: 14px;
    line-height: 1.75;
    gap: 15px;
    padding: 13px 0;
    overflow-wrap: anywhere;
}
.related a > span {
    flex-shrink: 0;
}
.idea-list {
    gap: 15px;
    padding-top: 0;
}
.idea-card {
    padding: 21px 21px 17px;
    border-radius: 14px;
    max-width: 100%;
    min-width: 0;
}
.idea-card-header {
    gap: 12px;
}
.idea-card-header time,
.idea-card-label {
    font-size: 12px;
}
.idea-card p {
    font-size: 17px;
    line-height: 1.85;
    margin: 20px 0 22px;
}
.idea-card-footer {
    font-size: 11px;
    gap: 10px;
    padding-top: 15px;
    flex-wrap: wrap;
    row-gap: 9px;
}
.idea-card-views,
.idea-read-more {
    font-size: 11px;
}
.idea-read-more {
    min-height: 30px;
    gap: 6px;
}
.idea-detail {
    padding: 26px 23px 23px;
    margin-top: 17px;
}
.idea-detail:before {
    left: 23px;
    right: 23px;
}
.idea-detail-header {
    gap: 10px;
    padding-bottom: 20px;
}
.idea-author {
    gap: 9px;
    min-width: 0;
}
.idea-author strong {
    font-size: 13px;
}
.idea-author time {
    font-size: 11px;
    white-space: nowrap;
}
.idea-author .mini-avatar {
    width: 34px;
    height: 34px;
    font-size: 16px;
}
.idea-views {
    font-size: 11px;
    padding: 5px 8px;
    flex-shrink: 0;
}
.idea-content {
    font-size: clamp(17px, 4.7vw, 19px);
    line-height: 1.95;
    letter-spacing: 0;
    padding: 47px 0 34px;
    min-height: 145px;
}
.idea-quotation {
    font-size: 44px;
    top: 12px;
}
.idea-detail-footer {
    gap: 14px;
    padding-top: 17px;
}
.idea-detail-footer > a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    font-size: 12px;
}
.idea-detail-footer .like-button {
    font-size: 13px;
    min-height: 42px;
    padding: 8px 16px;
}
.standalone {
    max-width: 100%;
    min-height: 45vh;
    padding: 28px 23px;
    margin: 25px auto 36px;
    border-radius: 15px;
}
.standalone h1 {
    font-size: 28px;
    line-height: 1.5;
    margin: 13px 0;
}
.standalone p {
    font-size: 14px;
    line-height: 1.9;
}
.standalone .text-link {
    min-height: 44px;
    margin-top: 12px;
}
.site-footer {
    margin: 0 16px;
    padding: 25px 0 max(28px, env(safe-area-inset-bottom));
    max-width: calc(100% - 32px);
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
}
.footer-brand {
    font-size: 16px;
    gap: 9px;
}
.footer-brand img {
    width: 27px;
    height: 27px;
}
.footer-identity p {
    font-size: 12px;
    line-height: 1.8;
    margin: 7px 0 0;
}
.site-footer .footer-legal {
    align-items: flex-start;
    text-align: left;
    font-size: 11px;
    line-height: 1.8;
    gap: 6px;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.footer-legal a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
}
.record-link {
    font-size: 12px;
}
@media (max-width: 360px) {
    .header-inner {
        padding: 12px 14px;
        gap: 8px;
    }
    .brand > span {
        font-size: 18px;
    }
    .brand > img {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }
    .header-inner nav {
        gap: 11px;
        font-size: 12px;
    }
    .page {
        padding: 0 14px;
    }
    .hero {
        padding: 22px 20px;
    }
    .hero h1 {
        font-size: 28px;
    }
    .hero .eyebrow {
        font-size: 8px;
    }
    .hero-actions {
        gap: 13px;
    }
    .hero-secondary {
        font-size: 11px;
    }
    .hero-stats {
        gap: 11px;
        font-size: 10px;
    }
    .hero-stats strong {
        font-size: 17px;
    }
    .post-row {
        padding: 13px;
        gap: 11px;
    }
    .post-cover {
        width: 75px;
        flex-basis: 75px;
        height: 105px;
    }
    .post-row h2 {
        font-size: 15px;
    }
    .post-row .meta {
        font-size: 10px;
    }
    .post-bottom,
    .post-bottom a {
        font-size: 10px;
    }
    .post-bottom a span {
        display: none;
    }
    .article {
        padding: 23px 18px;
    }
    .article h1 {
        font-size: 23px;
    }
    .article .meta {
        gap: 5px;
        font-size: 10px;
    }
    .idea-detail {
        padding: 23px 18px;
    }
    .idea-author time {
        font-size: 10px;
    }
    .idea-views {
        font-size: 10px;
    }
    .idea-card {
        padding: 20px 18px 16px;
    }
    .idea-card-footer {
        font-size: 10px;
        gap: 8px;
    }
    .idea-card-views,
    .idea-read-more {
        font-size: 10px;
    }
    .idea-read-more > span {
        width: 20px;
        height: 20px;
    }
    .section-heading h2 {
        font-size: 21px;
    }
    .section-heading .eyebrow {
        font-size: 8px;
        letter-spacing: 1px;
    }
    .switch a {
        min-width: 49px;
        padding: 7px 10px;
    }
    .site-footer {
        margin: 0 14px;
        max-width: calc(100% - 28px);
    }
}

.prose img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: min(65vh, 480px);
    max-height: min(65svh, 480px);
    margin: 19px auto;
    object-fit: contain;
}
