:root {
    color-scheme: dark;
    --bg: #08090d;
    --surface: #101218;
    --surface-2: #161922;
    --surface-3: #1d202a;
    --line: #2a2e3a;
    --text: #eef4ff;
    --muted: #9299aa;
    --pink: #ff3ea5;
    --cyan: #29f2e4;
    --yellow: #ffd166;
    --danger: #ff5f68;
    --focus: #ffffff;
    --display: "Space Grotesk", "Noto Sans SC", sans-serif;
    --body: "Noto Sans SC", sans-serif;
    --mono: "JetBrains Mono", monospace;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    background-color: var(--bg);
    background-image: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(255, 255, 255, 0.012) 4px);
    color: var(--text);
    font-family: var(--body);
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: 0;
}

button,
input,
textarea,
select {
    font: inherit;
    letter-spacing: 0;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.signal-line {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #20232c;
    overflow: hidden;
}

.signal-line span {
    display: block;
    width: 22%;
    height: 100%;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan), 0 0 24px rgba(41, 242, 228, 0.55);
    animation: signal-scan 5s ease-in-out infinite;
}

@keyframes signal-scan {
    0% { transform: translateX(-110%); }
    55%, 100% { transform: translateX(560%); }
}

.topbar {
    position: sticky;
    z-index: 40;
    top: 0;
    height: 62px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 9, 13, 0.92);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    color: var(--text);
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid var(--pink);
    border-radius: 4px;
    box-shadow: inset 0 0 12px rgba(255, 62, 165, 0.15), 0 0 14px rgba(255, 62, 165, 0.16);
    color: var(--pink);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
}

.brand-name {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 700;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--cyan);
    font-family: var(--mono);
    font-size: 10px;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
    animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
    50% { opacity: 0.35; }
}

.top-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.icon-button,
.primary-button,
.secondary-button,
.text-button,
.danger-button,
.danger-text-button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 5px;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.icon-button {
    width: 38px;
    flex: 0 0 38px;
    padding: 0;
    border: 1px solid transparent;
    background: transparent;
    color: var(--muted);
}

.icon-button:hover {
    border-color: var(--line);
    background: var(--surface-2);
    color: var(--cyan);
}

.icon-button.admin-active {
    border-color: rgba(255, 209, 102, 0.5);
    color: var(--yellow);
    box-shadow: inset 0 0 12px rgba(255, 209, 102, 0.08);
}

.icon-button svg,
.primary-button svg,
.secondary-button svg,
.text-button svg,
.danger-button svg {
    width: 17px;
    height: 17px;
    stroke-width: 1.8;
}

.primary-button,
.secondary-button,
.danger-button {
    padding: 0 15px;
    border: 1px solid;
    font-size: 13px;
    font-weight: 700;
}

.primary-button {
    border-color: var(--pink);
    background: var(--pink);
    color: #17030e;
    box-shadow: 0 0 18px rgba(255, 62, 165, 0.2);
}

.primary-button:hover {
    background: #ff62b6;
    box-shadow: 0 0 24px rgba(255, 62, 165, 0.36);
    transform: translateY(-1px);
}

.secondary-button {
    border-color: rgba(41, 242, 228, 0.45);
    background: rgba(41, 242, 228, 0.07);
    color: var(--cyan);
}

.secondary-button:hover {
    border-color: var(--cyan);
    background: rgba(41, 242, 228, 0.12);
}

.text-button,
.danger-text-button {
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
}

.text-button:hover {
    color: var(--text);
}

.danger-button {
    border-color: rgba(255, 95, 104, 0.55);
    background: rgba(255, 95, 104, 0.12);
    color: #ff9197;
}

.danger-button:hover,
.danger-text-button:hover {
    color: #fff;
    background: rgba(255, 95, 104, 0.2);
}

.danger-text-button {
    color: var(--danger);
}

main {
    width: min(1460px, 100%);
    margin: 0 auto;
}

.identity-band {
    position: relative;
    height: 230px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.identity-band > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 46%;
    filter: saturate(0.75) contrast(1.16);
}

.identity-shade {
    position: absolute;
    inset: 0;
    background: rgba(3, 4, 8, 0.57);
}

.identity-copy {
    position: absolute;
    left: 34px;
    bottom: 26px;
}

.eyebrow,
.panel-label {
    margin: 0 0 7px;
    color: var(--cyan);
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
}

.identity-copy h1 {
    margin: 0;
    color: #fff;
    font-family: var(--display);
    font-size: 54px;
    line-height: 1;
    text-shadow: 0 0 22px rgba(255, 62, 165, 0.5);
}

.identity-copy > p:last-child {
    margin: 10px 0 0;
    color: rgba(238, 244, 255, 0.78);
    font-size: 15px;
}

.signal-readout {
    position: absolute;
    right: 30px;
    bottom: 30px;
    display: flex;
    gap: 14px;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--mono);
    font-size: 10px;
}

.signal-readout b {
    padding: 6px 8px;
    border: 1px solid rgba(41, 242, 228, 0.6);
    border-radius: 3px;
    color: var(--cyan);
    background: rgba(8, 9, 13, 0.72);
}

.app-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 240px;
    min-height: 620px;
}

.channel-panel,
.notice-panel {
    padding: 28px 20px;
}

.channel-panel {
    border-right: 1px solid var(--line);
}

.notice-panel {
    border-left: 1px solid var(--line);
}

.channel-list {
    display: grid;
    gap: 3px;
}

.channel-button {
    display: grid;
    grid-template-columns: 20px 1fr auto;
    min-height: 42px;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: var(--muted);
    text-align: left;
    cursor: pointer;
}

.channel-button svg {
    width: 16px;
    height: 16px;
}

.channel-button span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.channel-button b {
    color: #606778;
    font-family: var(--mono);
    font-size: 10px;
}

.channel-button:hover {
    background: var(--surface);
    color: var(--text);
}

.channel-button.active {
    border-color: rgba(255, 62, 165, 0.38);
    background: rgba(255, 62, 165, 0.08);
    color: var(--pink);
    box-shadow: inset 2px 0 0 var(--pink), inset 0 0 18px rgba(255, 62, 165, 0.05);
}

.channel-button.active b {
    color: var(--pink);
}

.channel-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px 12px;
    margin-top: 24px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 10px;
}

.channel-footer strong {
    color: var(--yellow);
    font-size: 11px;
}

.feed-column {
    min-width: 0;
    padding: 28px 30px 54px;
}

.feed-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.feed-toolbar h2,
.modal-header h2 {
    margin: 0;
    font-family: var(--display);
    font-size: 25px;
    line-height: 1.2;
}

.search-box {
    display: flex;
    width: min(280px, 45%);
    height: 40px;
    align-items: center;
    gap: 9px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
    color: var(--muted);
}

.search-box:focus-within {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(41, 242, 228, 0.08);
}

.search-box svg {
    width: 16px;
    flex: 0 0 16px;
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 13px;
}

.feed-status {
    min-height: 29px;
    padding: 10px 1px 0;
    color: #606778;
    font-family: var(--mono);
    font-size: 10px;
}

.post-list {
    display: grid;
    gap: 12px;
    margin-top: 8px;
}

.post-card {
    position: relative;
    padding: 21px 22px 17px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    cursor: pointer;
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.post-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--category-color, var(--pink));
    box-shadow: 0 0 15px var(--category-color, var(--pink));
    opacity: 0.72;
}

.post-card:hover {
    border-color: #454b5a;
    background: #13161d;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.24);
    transform: translateY(-2px);
}

.post-meta,
.post-footer,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    color: var(--muted);
    font-size: 12px;
}

.category-code {
    color: var(--category-color, var(--cyan));
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
}

.post-card h3 {
    margin: 12px 0 7px;
    color: var(--text);
    font-family: var(--display);
    font-size: 20px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.post-excerpt {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #b5bbca;
    font-size: 14px;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: pre-line;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 14px 0 0;
}

.tag {
    color: #8990a2;
    font-family: var(--mono);
    font-size: 10px;
}

.tag::before {
    content: "#";
    color: var(--pink);
}

.post-footer {
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.post-author,
.post-metrics,
.metric {
    display: flex;
    align-items: center;
}

.post-author,
.post-metrics {
    gap: 12px;
}

.post-author {
    gap: 8px;
}

.avatar {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border: 1px solid rgba(41, 242, 228, 0.3);
    border-radius: 50%;
    background: #101b1c;
    color: var(--cyan);
    font-family: var(--display);
    font-size: 10px;
    font-weight: 700;
}

.metric {
    gap: 5px;
}

.metric svg {
    width: 14px;
    height: 14px;
}

.empty-state {
    display: grid;
    min-height: 350px;
    place-items: center;
    align-content: center;
    text-align: center;
}

.empty-signal {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    margin-bottom: 14px;
    border: 1px solid rgba(41, 242, 228, 0.42);
    border-radius: 50%;
    color: var(--cyan);
    box-shadow: inset 0 0 24px rgba(41, 242, 228, 0.08), 0 0 30px rgba(41, 242, 228, 0.08);
}

.empty-state h3 {
    margin: 0;
    font-family: var(--display);
    font-size: 20px;
}

.empty-state p {
    margin: 4px 0 18px;
    color: var(--muted);
}

.house-rules {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.house-rules li {
    display: grid;
    grid-template-columns: 27px 1fr;
    gap: 10px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

.house-rules span {
    color: var(--yellow);
    font-family: var(--mono);
    font-size: 10px;
}

.house-rules p {
    margin: 0;
    color: #a8afbf;
    font-size: 12px;
    line-height: 1.7;
}

.system-state {
    display: grid;
    gap: 8px;
    margin-top: 24px;
    font-family: var(--mono);
    font-size: 9px;
}

.system-state div {
    display: flex;
    justify-content: space-between;
    color: #676e7e;
}

.system-state b {
    color: var(--cyan);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    width: min(1460px, 100%);
    min-height: 64px;
    align-items: center;
    margin: 0 auto;
    padding: 0 28px;
    border-top: 1px solid var(--line);
    color: #626978;
    font-family: var(--mono);
    font-size: 9px;
}

.modal {
    width: min(680px, calc(100% - 28px));
    max-height: calc(100vh - 36px);
    padding: 0;
    overflow: auto;
    border: 1px solid #3a3f4e;
    border-radius: 7px;
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.62), 0 0 30px rgba(255, 62, 165, 0.09);
}

.modal::backdrop {
    background: rgba(2, 3, 6, 0.82);
    backdrop-filter: blur(6px);
}

.compact-modal {
    width: min(440px, calc(100% - 28px));
}

.admin-modal {
    width: min(860px, calc(100% - 28px));
}

.modal-shell {
    margin: 0;
    padding: 24px;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--line);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    display: grid;
    gap: 7px;
    margin-bottom: 16px;
}

.form-grid .field {
    margin-bottom: 0;
}

.field.full {
    grid-column: 1 / -1;
}

.field > span {
    color: #aeb5c4;
    font-size: 12px;
    font-weight: 600;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    min-height: 43px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    outline: 0;
    background: var(--bg);
    color: var(--text);
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(41, 242, 228, 0.08);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.post-detail h2 {
    margin: 0 0 12px;
    font-family: var(--display);
    font-size: 30px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.detail-content {
    margin: 24px 0;
    color: #cbd1dd;
    font-size: 15px;
    line-height: 1.9;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.detail-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.hug-button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid rgba(255, 62, 165, 0.4);
    border-radius: 4px;
    background: rgba(255, 62, 165, 0.08);
    color: var(--pink);
    cursor: pointer;
}

.hug-button svg {
    width: 16px;
}

.comments-section {
    padding-top: 22px;
}

.comments-section h3 {
    margin: 0 0 14px;
    font-family: var(--display);
    font-size: 17px;
}

.comment-list {
    display: grid;
}

.comment-row {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comment-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 11px;
}

.comment-head strong {
    color: var(--cyan);
}

.comment-row p {
    margin: 6px 0 0;
    color: #c3cad7;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.comment-form {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 8px;
    margin-top: 16px;
}

.comment-form input {
    min-width: 0;
    height: 40px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 4px;
    outline: 0;
    background: var(--bg);
    color: var(--text);
}

.comment-form input:focus {
    border-color: var(--cyan);
}

.admin-toolbar {
    display: flex;
    min-height: 52px;
    align-items: center;
    gap: 14px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--bg);
}

.admin-toolbar > span {
    flex: 1;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 10px;
}

.select-all {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--pink);
}

.admin-post-list {
    display: grid;
    max-height: 420px;
    overflow: auto;
    margin-top: 12px;
    border-top: 1px solid var(--line);
}

.admin-row {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto auto;
    min-height: 62px;
    align-items: center;
    gap: 12px;
    padding: 10px 7px;
    border-bottom: 1px solid var(--line);
}

.admin-row-title {
    min-width: 0;
}

.admin-row-title strong {
    display: block;
    overflow: hidden;
    color: var(--text);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-row-title span,
.admin-row time {
    color: var(--muted);
    font-size: 10px;
}

.admin-row .icon-button:hover {
    color: var(--danger);
}

.admin-empty {
    padding: 50px 15px;
    color: var(--muted);
    text-align: center;
}

.admin-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.admin-footer .danger-text-button {
    margin-left: auto;
}

.password-notice {
    margin: 0 0 18px;
    padding: 10px 12px;
    border-left: 3px solid var(--yellow);
    background: rgba(255, 209, 102, 0.08);
    color: #e7cf91;
    font-size: 12px;
}

.toast {
    position: fixed;
    z-index: 120;
    right: 22px;
    bottom: 22px;
    display: flex;
    max-width: min(380px, calc(100% - 32px));
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(41, 242, 228, 0.45);
    border-radius: 5px;
    background: #0e1318;
    color: var(--text);
    box-shadow: 0 0 24px rgba(41, 242, 228, 0.12);
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast svg {
    width: 17px;
    color: var(--cyan);
}

@media (max-width: 1080px) {
    .app-layout {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .notice-panel {
        display: none;
    }
}

@media (max-width: 760px) {
    .topbar {
        grid-template-columns: 1fr auto;
        height: 58px;
        padding: 0 14px;
    }

    .brand-name,
    .live-indicator {
        display: none;
    }

    .identity-band {
        height: 205px;
    }

    .identity-copy {
        left: 18px;
        bottom: 20px;
    }

    .identity-copy h1 {
        font-size: 43px;
    }

    .identity-copy > p:last-child {
        font-size: 13px;
    }

    .signal-readout {
        top: 18px;
        right: 16px;
        bottom: auto;
    }

    .app-layout {
        display: block;
    }

    .channel-panel {
        padding: 14px 14px 10px;
        overflow: hidden;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .channel-panel > .panel-label,
    .channel-footer {
        display: none;
    }

    .channel-list {
        display: flex;
        gap: 6px;
        padding-bottom: 5px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .channel-list::-webkit-scrollbar {
        display: none;
    }

    .channel-button {
        display: inline-flex;
        width: auto;
        min-width: max-content;
        min-height: 36px;
        padding: 0 10px;
    }

    .channel-button b {
        display: none;
    }

    .feed-column {
        padding: 22px 14px 42px;
    }

    .feed-toolbar {
        display: grid;
        align-items: stretch;
    }

    .feed-toolbar h2 {
        font-size: 22px;
    }

    .search-box {
        width: 100%;
    }

    .post-card {
        padding: 18px 17px 14px;
    }

    .post-card h3 {
        font-size: 18px;
    }

    .site-footer {
        min-height: 72px;
        padding: 14px;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: auto;
    }

    .modal-shell {
        padding: 18px;
    }

    .post-detail h2 {
        font-size: 24px;
    }

    .comment-form {
        grid-template-columns: 1fr;
    }

    .comment-form button {
        width: 100%;
    }

    .admin-row {
        grid-template-columns: 24px minmax(0, 1fr) auto;
    }

    .admin-row time {
        display: none;
    }

    .admin-footer {
        flex-wrap: wrap;
    }

    .admin-footer .danger-text-button {
        width: 100%;
        margin: 4px 0 0;
    }
}

@media (max-width: 430px) {
    .top-actions .icon-button:first-child {
        display: none;
    }

    .primary-button {
        padding: 0 12px;
    }

    .post-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .modal {
        width: calc(100% - 16px);
        max-height: calc(100vh - 16px);
    }

    .admin-toolbar {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 10px;
    }

    .admin-toolbar > span {
        min-width: 80px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
