@import url("/post-config.css");

:root {
    color-scheme: dark;
    --page-bg: #0b0b0c;
    --page-bg-raised: #101113;
    --surface: #18191c;
    --surface-soft: rgba(28, 29, 31, 0.82);
    --text: #c8c4bb;
    --text-strong: #f0ece3;
    --text-muted: #77756f;
    --gold: #c5a059;
    --gold-bright: #ddbd78;
    --gold-soft: rgba(197, 160, 89, 0.14);
    --border: rgba(231, 227, 218, 0.12);
    --border-gold: rgba(197, 160, 89, 0.34);
    --header-bg: rgba(11, 11, 12, 0.78);
    --shadow: rgba(0, 0, 0, 0.58);
    --font-serif: "Iowan Old Style", "Noto Serif KR", "Nanum Myeongjo", Batang, serif;
    --font-sans: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --reading-progress: 0;
    --reading-light-strength: 0.16;
}

:root[data-theme="light"] {
    color-scheme: light;
    --page-bg: #e9e3d7;
    --page-bg-raised: #f3eee4;
    --surface: #f7f2e8;
    --surface-soft: rgba(247, 242, 232, 0.86);
    --text: #494640;
    --text-strong: #1e1d1a;
    --text-muted: #777065;
    --gold: #8f6c2d;
    --gold-bright: #76551d;
    --gold-soft: rgba(143, 108, 45, 0.13);
    --border: rgba(43, 39, 32, 0.15);
    --border-gold: rgba(143, 108, 45, 0.4);
    --header-bg: rgba(233, 227, 215, 0.82);
    --shadow: rgba(66, 52, 31, 0.16);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 280px;
    scroll-behavior: smooth;
    background: var(--page-bg);
}

body.post-page {
    position: relative;
    display: block;
    min-width: 280px;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: clip;
    background:
        linear-gradient(90deg, transparent, rgba(197,160,89,0.018) 50%, transparent),
        var(--page-bg);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    transition: background-color 240ms ease, color 240ms ease;
}

body.post-page::before,
body.post-page::after {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    content: "";
}

body.post-page::before {
    background:
        linear-gradient(90deg, rgba(0,0,0,0.34), transparent 14% 86%, rgba(0,0,0,0.34)),
        radial-gradient(ellipse at 50% 10%, transparent 0 20%, rgba(0,0,0,0.22) 76%);
}

:root[data-theme="light"] body.post-page::before {
    background:
        linear-gradient(90deg, rgba(73,58,35,0.08), transparent 14% 86%, rgba(73,58,35,0.08)),
        radial-gradient(ellipse at 50% 10%, rgba(255,255,255,0.22), transparent 72%);
}

body.post-page::after {
    opacity: 0.26;
    background-image:
        repeating-linear-gradient(90deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 5px),
        repeating-linear-gradient(0deg, rgba(0,0,0,0.035) 0 1px, transparent 1px 4px);
    mix-blend-mode: soft-light;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

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

::selection {
    background: var(--gold);
    color: #111;
}

:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 14px;
    transform: translateY(-180%);
    border: 1px solid var(--gold);
    background: var(--surface);
    color: var(--text-strong);
    text-decoration: none;
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.page-texture {
    position: fixed;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    opacity: 0.12;
    background-image:
        repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 4px),
        repeating-linear-gradient(0deg, rgba(0,0,0,0.03) 0 1px, transparent 1px 3px);
    mix-blend-mode: soft-light;
}

.reading-light {
    position: fixed;
    top: -26rem;
    left: 50%;
    z-index: 1;
    width: min(92vw, 76rem);
    aspect-ratio: 1;
    transform: translateX(-50%);
    pointer-events: none;
    opacity: var(--reading-light-strength);
    background: radial-gradient(circle, rgba(197,160,89,0.34) 0, rgba(197,160,89,0.12) 28%, transparent 68%);
    filter: blur(8px);
    transition: opacity 100ms linear;
}

:root[data-theme="light"] .reading-light {
    background: radial-gradient(circle, rgba(255,252,235,0.92) 0, rgba(197,160,89,0.16) 36%, transparent 70%);
}

.reading-progress {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 70;
    height: 2px;
    pointer-events: none;
    background: transparent;
}

.reading-progress i {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(var(--reading-progress));
    transform-origin: left;
    background: var(--gold-bright);
    box-shadow: 0 0 12px rgba(197,160,89,0.45);
}

.post-site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    padding: 12px clamp(20px, 4vw, 64px);
    border-bottom: 1px solid transparent;
    background: linear-gradient(to bottom, var(--header-bg), transparent);
    transition: border-color 180ms ease, background-color 180ms ease, backdrop-filter 180ms ease;
}

.post-site-header.is-scrolled {
    border-color: var(--border);
    background: var(--header-bg);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand__seal {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--gold);
    color: var(--gold-bright);
    font-family: var(--font-serif);
    font-size: 19px;
    line-height: 1;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand__text strong {
    color: var(--text-strong);
    font-family: var(--font-serif);
    font-size: 15px;
    letter-spacing: 0.12em;
}

.brand__text small {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 8px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
}

.theme-toggle__track {
    position: relative;
    width: 32px;
    height: 16px;
    border: 1px solid var(--border-gold);
    border-radius: 999px;
}

.theme-toggle__track i {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-bright);
    transition: transform 180ms ease;
}

:root[data-theme="light"] .theme-toggle__track i {
    transform: translateX(16px);
}

.theme-toggle__label {
    font-size: 8px;
    letter-spacing: 0.18em;
}

body.post-page .editor-container,
body.post-page .container,
.post-document {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.post-page .title-wrapper,
.post-hero {
    position: relative;
    display: grid;
    min-height: min(76rem, 82svh);
    margin: 0;
    padding: 108px clamp(22px, 6vw, 92px) 70px;
    place-items: center;
    text-align: center;
}

.post-hero::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(54rem, 80vw);
    height: 1px;
    transform: translate(-50%, -50%);
    background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
    opacity: 0.46;
    content: "";
}

.post-hero__content {
    position: relative;
    width: min(100%, 62rem);
    animation: reveal-document 800ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

body.post-page .back-button {
    position: absolute;
    top: 108px;
    left: clamp(22px, 6vw, 92px);
    z-index: 2;
    display: inline-flex;
    width: auto;
    height: auto;
    align-items: center;
    gap: 9px;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-decoration: none;
    transition: color 160ms ease, border-color 160ms ease;
}

body.post-page .back-button:hover {
    border-color: var(--gold);
    color: var(--gold-bright);
}

.doc-tag {
    margin: 0 0 24px;
    color: var(--gold-bright);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

body.post-page .file-title {
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    color: var(--text-strong);
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.4vw, 4.8rem);
    font-weight: 600;
    line-height: 1.28;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

body.post-page .post-published {
    display: block;
    margin-top: 28px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.post-scroll-cue {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 64px;
    color: var(--text-muted);
    font-size: 8px;
    letter-spacing: 0.2em;
}

.post-scroll-cue i {
    color: var(--gold-bright);
    font-family: var(--font-serif);
    font-size: 16px;
    font-style: normal;
    animation: cue-down 1.8s ease-in-out infinite;
}

body.post-page .thin-line {
    display: none;
}

body.post-page #editor {
    position: relative;
    width: min(calc(100% - 44px), var(--post-content-width, 720px));
    min-height: 280px;
    margin: 0 auto;
    padding: clamp(64px, 10vw, 120px) 0 clamp(100px, 14vw, 170px);
    border-top: 1px solid var(--border-gold);
    outline: none;
    color: var(--text);
    font-family: var(--font-serif);
    font-size: clamp(16px, 1.25vw, 18px);
    line-height: 2.05;
    overflow-wrap: anywhere;
}

body.post-page #editor::before {
    position: absolute;
    top: -5px;
    left: 50%;
    width: 9px;
    height: 9px;
    transform: translateX(-50%) rotate(45deg);
    border: 1px solid var(--gold);
    background: var(--page-bg);
    content: "";
}

body.post-page #editor p {
    margin: 0 0 1.45em;
}

body.post-page #editor p:empty,
body.post-page #editor p:has(> br:only-child) {
    min-height: 0.8em;
    margin-bottom: 0.2em;
}

body.post-page #editor h1,
body.post-page #editor h2,
body.post-page #editor h3,
body.post-page #editor h4 {
    margin: 2.8em 0 0.9em;
    color: var(--text-strong);
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.45;
    text-wrap: balance;
}

body.post-page #editor h2 {
    padding-bottom: 0.55em;
    border-bottom: 1px solid var(--border);
    font-size: 1.55em;
}

body.post-page #editor h3 {
    font-size: 1.25em;
}

body.post-page #editor strong {
    color: var(--text-strong);
    font-weight: 700;
}

body.post-page #editor a {
    color: var(--gold-bright);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--border-gold);
    text-underline-offset: 0.28em;
    transition: text-decoration-color 160ms ease;
}

body.post-page #editor a:hover {
    text-decoration-color: var(--gold-bright);
}

body.post-page #editor ul,
body.post-page #editor ol {
    margin: 1.4em 0 1.8em;
    padding-left: 1.5em;
}

body.post-page #editor li {
    margin: 0.45em 0;
    padding-left: 0.3em;
}

body.post-page #editor li::marker {
    color: var(--gold);
}

body.post-page #editor blockquote {
    margin: 2.4em 0;
    padding: 0.2em 0 0.2em 1.6em;
    border-left: 2px solid var(--gold);
    color: var(--text-muted);
    font-style: italic;
}

body.post-page #editor img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: clamp(34px, 6vw, 64px) auto;
    border: 1px solid var(--border);
    border-radius: 2px;
    background: var(--surface);
    box-shadow: 0 28px 80px var(--shadow);
}

body.post-page #editor video,
body.post-page #editor iframe {
    width: 100%;
    max-width: 100%;
    margin: 2.4em 0;
    border: 1px solid var(--border);
}

body.post-page #editor pre,
body.post-page #editor code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

body.post-page #editor code {
    padding: 0.15em 0.35em;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-strong);
    font-size: 0.88em;
}

body.post-page #editor pre {
    max-width: 100%;
    margin: 2em 0;
    padding: 20px;
    overflow: auto;
    border: 1px solid var(--border);
    background: var(--surface);
    line-height: 1.7;
}

body.post-page #editor pre code {
    padding: 0;
    border: 0;
    background: transparent;
}

body.post-page #editor table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 2.4em 0;
    overflow-x: auto;
    border-collapse: collapse;
    font-family: var(--font-sans);
    font-size: 0.86em;
}

body.post-page #editor th,
body.post-page #editor td {
    padding: 11px 14px;
    border: 1px solid var(--border);
    text-align: left;
}

body.post-page #editor th {
    background: var(--gold-soft);
    color: var(--text-strong);
}

span[style*="--note-text-color-1"] { color: var(--text-strong) !important; }
span[style*="--note-text-color-2"] { color: #ff665e !important; }
span[style*="--note-text-color-3"] { color: #e99a46 !important; }
span[style*="--note-text-color-4"] { color: #d9b953 !important; }
span[style*="--note-text-color-5"] { color: #69bd72 !important; }
span[style*="--note-text-color-6"] { color: #65b9db !important; }
span[style*="--note-text-color-7"] { color: #719ee8 !important; }
span[style*="--note-text-color-8"] { color: #9a91e2 !important; }

span[style*="--note-highlight-color"] {
    padding: 0.08em 0.18em;
    color: var(--text-strong);
}

span[style*="--note-highlight-color-1"] { background-color: rgba(167,75,72,0.3) !important; }
span[style*="--note-highlight-color-2"] { background-color: rgba(174,101,57,0.3) !important; }
span[style*="--note-highlight-color-3"] { background-color: rgba(161,130,52,0.3) !important; }
span[style*="--note-highlight-color-4"] { background-color: rgba(67,128,73,0.3) !important; }
span[style*="--note-highlight-color-5"] { background-color: rgba(48,130,104,0.3) !important; }
span[style*="--note-highlight-color-6"] { background-color: rgba(63,103,151,0.3) !important; }
span[style*="--note-highlight-color-7"] { background-color: rgba(74,77,151,0.3) !important; }
span[style*="--note-highlight-color-8"] { background-color: rgba(128,70,131,0.3) !important; }

body.post-page .post-navigation {
    position: relative;
    z-index: 2;
    display: grid;
    width: min(calc(100% - 44px), var(--post-content-width, 720px));
    grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(14px, 3vw, 28px);
    margin: 0 auto;
    padding: 0 0 clamp(72px, 10vw, 112px);
}

body.post-page .post-navigation__record {
    display: flex;
    min-width: 0;
    min-height: 108px;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    text-decoration: none;
    transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

body.post-page a.post-navigation__record:hover {
    border-color: var(--gold);
    color: var(--gold-bright);
    background: linear-gradient(90deg, transparent, var(--gold-soft));
}

body.post-page .post-navigation__record--next {
    align-items: flex-end;
    text-align: right;
}

body.post-page a.post-navigation__record--next:hover {
    background: linear-gradient(270deg, transparent, var(--gold-soft));
}

body.post-page .post-navigation__record.is-disabled {
    opacity: 0.36;
}

body.post-page .post-navigation__label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    font-size: 8px;
    letter-spacing: 0.18em;
    white-space: nowrap;
}

body.post-page .post-navigation__label i {
    color: var(--gold-bright);
    font-family: var(--font-serif);
    font-size: 15px;
    font-style: normal;
}

body.post-page .post-navigation__record strong {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    color: var(--text-strong);
    font-family: var(--font-serif);
    font-size: clamp(13px, 1.35vw, 16px);
    font-weight: 600;
    line-height: 1.55;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.post-page .post-navigation__top {
    align-self: center;
    display: inline-flex;
    width: 64px;
    height: 64px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

body.post-page .post-navigation__top:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    background: var(--gold-soft);
    color: var(--gold-bright);
}

body.post-page .post-navigation__top i {
    color: var(--gold-bright);
    font-family: var(--font-serif);
    font-size: 16px;
    font-style: normal;
    line-height: 1;
}

body.post-page .post-navigation__top span {
    font-size: 8px;
    letter-spacing: 0.14em;
}

body.post-page .comments-section {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 44px), var(--post-content-width, 720px));
    max-width: none;
    margin: 0 auto;
    padding: clamp(44px, 7vw, 72px) 0;
    border: 0;
    border-top: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.post-page .comments-heading {
    margin-bottom: 34px;
}

body.post-page .comments-heading p {
    margin: 0 0 8px;
    color: var(--gold-bright);
    font-size: 9px;
    letter-spacing: 0.2em;
}

body.post-page .comments-title {
    margin: 0;
    color: var(--text-strong);
    font-family: var(--font-serif);
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.03em;
}

body.post-page .comment-form {
    margin: 0 0 46px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 0;
    background: var(--surface-soft);
    box-shadow: 0 20px 60px var(--shadow);
    backdrop-filter: blur(12px);
}

body.post-page .comment-form-row {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
}

body.post-page .comment-nickname,
body.post-page .comment-input {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 0;
    outline: none;
    background: var(--page-bg-raised);
    color: var(--text-strong);
    font-size: 13px;
    line-height: 1.55;
    transition: border-color 160ms ease, background-color 160ms ease;
}

body.post-page .comment-nickname {
    flex: none;
}

body.post-page .comment-input {
    min-height: 44px;
    max-height: 160px;
    resize: none;
}

body.post-page .comment-nickname:focus,
body.post-page .comment-input:focus {
    border-color: var(--gold);
}

body.post-page .comment-nickname::placeholder,
body.post-page .comment-input::placeholder {
    color: var(--text-muted);
}

body.post-page .comment-submit {
    height: 44px;
    padding: 0 22px;
    border: 1px solid var(--gold);
    border-radius: 0;
    background: transparent;
    color: var(--gold-bright);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: background-color 160ms ease, color 160ms ease;
}

body.post-page .comment-submit:hover:not(:disabled) {
    background: var(--gold);
    color: #111;
}

body.post-page .comment-submit:disabled {
    cursor: wait;
    opacity: 0.58;
}

body.post-page .comment-status {
    min-height: 1.4em;
    margin: 10px 0 0;
    color: var(--text-muted);
    font-size: 12px;
}

body.post-page #comments-list {
    display: flex;
    flex-direction: column;
}

body.post-page .comment {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

body.post-page .comment:first-child {
    padding-top: 0;
}

body.post-page .comment:last-child {
    border-bottom: 0;
}

body.post-page .comment-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 9px;
}

body.post-page .comment-author {
    color: var(--text-strong);
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 700;
}

body.post-page .comment-date {
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: 0.04em;
}

body.post-page .comment-content {
    color: var(--text);
    font-family: var(--font-serif);
    font-size: 14px;
    line-height: 1.85;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

body.post-page .copyright {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(calc(100% - 44px), var(--post-content-width, 720px));
    max-width: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto;
    padding: 34px 0 48px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: 0.07em;
    text-align: left;
}

body.post-page .copyright p {
    margin: 0;
}

body.post-page .copyright a {
    color: var(--gold-bright);
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-decoration: none;
}

@keyframes reveal-document {
    from { transform: translateY(18px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes cue-down {
    0%, 100% { transform: translateY(-2px); }
    50% { transform: translateY(4px); }
}

@media (max-width: 720px) {
    .post-site-header {
        min-height: 66px;
        padding: 10px 18px;
    }

    .brand__seal {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }

    .brand__text strong {
        font-size: 13px;
    }

    .brand__text small,
    .theme-toggle__label {
        display: none;
    }

    body.post-page .title-wrapper,
    .post-hero {
        min-height: 76svh;
        padding: 92px 22px 54px;
    }

    body.post-page .back-button {
        top: 84px;
        left: 22px;
    }

    .post-hero__content {
        padding-top: 34px;
    }

    .doc-tag {
        margin-bottom: 18px;
        font-size: 8px;
    }

    body.post-page .file-title {
        font-size: clamp(1.9rem, 9vw, 3.15rem);
        line-height: 1.32;
    }

    .post-scroll-cue {
        margin-top: 46px;
    }

    body.post-page #editor,
    body.post-page .post-navigation,
    body.post-page .comments-section,
    body.post-page .copyright {
        width: min(calc(100% - 36px), var(--post-content-width, 720px));
    }

    body.post-page #editor {
        padding-top: 54px;
        font-size: 16px;
        line-height: 1.95;
    }

    body.post-page #editor img {
        margin: 34px auto;
    }

    body.post-page .post-navigation {
        grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
        gap: 10px;
        padding-bottom: 64px;
    }

    body.post-page .post-navigation__record {
        min-height: 94px;
        padding: 13px 0;
    }

    body.post-page .post-navigation__label {
        gap: 5px;
        font-size: 6px;
        letter-spacing: 0.11em;
    }

    body.post-page .post-navigation__record strong {
        font-size: 12px;
        line-height: 1.45;
    }

    body.post-page .post-navigation__top {
        width: 48px;
        height: 48px;
    }

    body.post-page .comment-form-row {
        grid-template-columns: 1fr;
    }

    body.post-page .comment-submit {
        width: 100%;
    }

    body.post-page .copyright {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
