.microblog-frame {
    max-width: 1100px;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    --microblog-footer-icon-size: clamp(36px, 5.0vw, 56px);
    --microblog-footer-label-size: clamp(0.46rem, 1.7vw, 0.64rem);
}

.microblog-frame #contentSection {
    min-height: 0;
    padding-right: 0.4rem;
}

.microblog-frame footer {
    min-height: 0;
}

.microblog-frame footer nav {
    gap: 0.75rem 0.9rem;
    grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
}

.microblog-frame .social-item {
    width: var(--microblog-footer-icon-size);
}

.microblog-frame .social-title {
    font-size: var(--microblog-footer-label-size);
    margin-bottom: 0.25rem;
    letter-spacing: 0.08em;
}

.microblog-frame .nav-button {
    width: var(--microblog-footer-icon-size);
    height: var(--microblog-footer-icon-size);
}

.micro-entry {
    box-shadow: 2px 12px 0 #000;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.85rem;
}

.microblog-feed .micro-entry:nth-child(odd) {
    background: #ff00cc;
}

.microblog-feed .micro-entry:nth-child(even) {
    background: #d8d8d8;
}

.microblog-tabs-shell {
    margin-bottom: 1rem;
}

.microblog-eyebrow,
.microblog-section-label {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #aa0000;
}

.micro-entry h3 {
    margin: 0.35rem 0 0.6rem;
    line-height: 1.3rem;
    font-size: 1rem;
}

.microblog-title-tab {
    cursor: default;
}

.microblog-nav-link {
    text-decoration: none;
}

.microblog-subtitle,
.micro-entry p,
.sidebar-list {
    font-size: 0.82rem;
    line-height: 1.6;
    margin: 0;
}

.microblog-subtitle {
    margin-top: 0.55rem;
}

.microblog-feed {
    display: grid;
    gap: 1rem;
    padding-bottom: 0.9rem;
}

.micro-entry {
    cursor: pointer;
}

.micro-entry-body {
    min-width: 0;
    flex: 1 1 auto;
}

.micro-entry-thumb {
    width: 88px;
    min-width: 88px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 2px solid #000;
    box-shadow: 2px 2px 0 #000;
    background: #fff;
}

.micro-entry-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    image-rendering: pixelated;
}

.micro-entry-thumb-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, #ff5555 0 50%, #aa0000 50% 100%);
    padding: 0.4rem;
}

.micro-entry-thumb-fallback span {
    font-family: FFFORWA, monospace;
    font-size: 0.6rem;
    line-height: 1.25;
    color: #fff;
    text-align: center;
    text-shadow: 2px 2px 0 #000;
}

.micro-entry-head {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.7rem;
}

.micro-entry-title-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.micro-entry-title-row h3 {
    min-width: 0;
    flex: 1 1 auto;
    overflow-wrap: anywhere;
}

.micro-entry-toggle {
    flex: 0 0 auto;
    border: 1px solid #000;
    background: #55ffff;
    color: #000;
    box-shadow: 2px 2px 0 #000;
    font-family: FFFORWA, monospace;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.55rem;
    text-transform: uppercase;
}

.micro-entry-preview {
    margin: 0;
}

.microblog-empty {
    font-size: 0.82rem;
}

.microblog-dialog {
    width: min(980px, 94vw);
    max-width: none;
    height: min(88vh, 900px);
    border: 2px solid #ff5555;
    background: #061117;
    color: #d8fff2;
    box-shadow: 0 0 0 3px #000, 0 0 36px rgba(0, 0, 0, 0.6);
    padding: 0;
}

.microblog-dialog::backdrop {
    background: rgba(0, 0, 0, 0.8);
}

.microblog-dialog-shell {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
}

.microblog-dialog-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid #184851;
    background: linear-gradient(180deg, rgba(3, 20, 25, 0.96) 0%, rgba(5, 31, 39, 0.96) 100%);
}

.microblog-dialog-head > div {
    min-width: 0;
    flex: 1 1 auto;
}

.microblog-dialog-head h2 {
    margin: 0.3rem 0 0;
    font-size: clamp(1.15rem, 2.4vw, 1.8rem);
    line-height: 1.2;
    color: #f3fff9;
    overflow-wrap: anywhere;
}

.microblog-dialog-close {
    flex: 0 0 auto;
    border: 1px solid #000;
    background: #55ffff;
    color: #000;
    box-shadow: 2px 2px 0 #000;
    font-family: FFFORWA, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    padding: 0.45rem 0.7rem;
    text-transform: uppercase;
    cursor: pointer;
}

.microblog-dialog-body {
    overflow-y: auto;
    padding: 1.2rem 1.4rem 1.5rem;
    column-width: 22rem;
    column-gap: 2.2rem;
    column-rule: 1px solid rgba(138, 247, 193, 0.18);
}

.microblog-dialog-body p {
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
    line-height: 1.55;
    max-width: none;
    text-align: justify;
    text-wrap: pretty;
    break-inside: avoid;
    font-family: agsfnt0, monospace;
    color: #dfffee;
    text-shadow:
        0 0 1px rgba(125, 255, 154, 0.95),
        0 0 3px rgba(125, 255, 154, 0.45),
        0 0 6px rgba(39, 214, 123, 0.22);
}

.microblog-dialog-figure {
    margin: 0 0 1.1rem;
    break-inside: avoid;
}

.microblog-dialog-figure img {
    width: 100%;
    display: block;
    border: 1px solid #1f5d54;
    box-shadow: 0 0 0 2px #000;
    background: #000;
    image-rendering: pixelated;
}

.microblog-dialog-figure figcaption {
    margin-top: 0.45rem;
    font-family: agsfnt0, monospace;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #99e3bd;
    text-shadow:
        0 0 1px rgba(125, 255, 154, 0.65),
        0 0 4px rgba(39, 214, 123, 0.2);
}

.microblog-dialog-links {
    margin: 0 0 1.1rem;
    break-inside: avoid;
}

.microblog-dialog-link-list {
    list-style: none;
    margin: 0.55rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.microblog-dialog-link-list a {
    color: #7dff9a;
    font-family: FFFORWA, monospace;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-shadow:
        0 0 1px rgba(125, 255, 154, 0.75),
        0 0 4px rgba(39, 214, 123, 0.18);
}

.microblog-dialog-link-list a:hover {
    color: #b7ffd1;
    text-decoration: underline;
}

@media (max-width: 800px) {
    .micro-entry {
        gap: 0.7rem;
    }

    .micro-entry-thumb {
        width: 72px;
        min-width: 72px;
    }

    .micro-entry-head {
        flex-direction: column;
    }

    .micro-entry-title-row {
        flex-direction: column;
    }

    .microblog-dialog {
        width: 100vw;
        height: 100vh;
    }

    .microblog-dialog-head {
        padding: 0.85rem 0.85rem 0.7rem;
    }

    .microblog-dialog-head h2 {
        font-size: 1.1rem;
    }

    .microblog-dialog-body {
        padding: 0.9rem;
        column-width: auto;
        column-gap: 0;
        column-rule: 0;
    }
}

@media (max-width: 520px) {
    .microblog-frame {
        gap: 0.75rem;
        padding: 0.75rem;
        --microblog-footer-icon-size: clamp(38px, 7vw, 48px);
        --microblog-footer-label-size: clamp(0.42rem, 2.5vw, 0.5rem);
    }

    .microblog-frame footer nav {
        gap: 0.6rem 0.45rem;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .micro-entry {
        flex-direction: column;
    }

    .micro-entry-thumb {
        width: 96px;
        min-width: 96px;
    }

    .microblog-frame .social-title {
        margin-bottom: 0.2rem;
        letter-spacing: 0.05em;
    }
}
