:root {
    color-scheme: dark;
    --ink: #f4f2eb;
    --muted: #a6aaa6;
    --line: rgba(244, 242, 235, .14);
    --paper: #070809;
    --surface: #111317;
    --accent: #f4f2eb;
    --accent-dark: #ffffff;
    --warm: #58e0ce;
    --rose: #ff6f91;
    --sun: #f6c760;
    --soft: #151a1d;
    --shadow: 0 28px 90px rgba(0, 0, 0, .42);
    --ease: cubic-bezier(.2, .8, .2, 1);
    --site-content-width: 1480px;
    --site-content-gutter: calc(100% - 40px);
    font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background-color: var(--paper);
    line-height: 1.75;
    animation: pageIn .7s var(--ease) both;
}

body::selection {
    background: var(--warm);
    color: #020303;
}

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

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

.site-header,
.admin-header,
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 auto;
    padding: 22px 0;
}

.site-header,
.site-footer {
    width: min(var(--site-content-width), var(--site-content-gutter));
}

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

.site-header,
.admin-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(18px);
    background: rgba(7, 8, 9, .74);
    border-bottom: 1px solid rgba(244, 242, 235, .12);
}

.site-header {
    position: sticky;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: transform .28s var(--ease);
}

.brand:hover {
    transform: translateY(-1px);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #070809;
    background: var(--ink);
    border-radius: 50%;
    font-weight: 800;
    letter-spacing: 0;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    max-width: 420px;
    color: var(--muted);
    font-size: 12px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 6px;
    width: min(280px, 28vw);
    margin-left: auto;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--line);
}

.header-search input {
    min-width: 0;
    border: 0;
    padding: 6px 0;
    background: transparent;
    font-size: 13px;
}

.header-search input:focus {
    box-shadow: none;
}

.header-search button {
    flex: 0 0 auto;
    min-width: 34px;
    padding: 5px 7px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 11px;
}

.header-search button:hover {
    color: var(--ink);
}

.admin-link,
.button,
button {
    border: 1px solid rgba(244, 242, 235, .18);
    border-radius: 6px;
    padding: 10px 16px;
    background: var(--ink);
    color: #070809;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    transition: transform .24s var(--ease), background .24s var(--ease), color .24s var(--ease), border-color .24s var(--ease);
}

.admin-link {
    flex: 0 0 auto;
    background: transparent;
    color: var(--ink);
    white-space: nowrap;
}

.admin-link:hover,
.button.secondary:hover,
.row-actions a:hover,
.row-actions button:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #070809;
    transform: translateY(-1px);
}

button:hover,
.button:hover {
    transform: translateY(-1px);
}

main {
    width: min(var(--site-content-width), var(--site-content-gutter));
    margin: 0 auto;
}

.home-main {
    width: min(var(--site-content-width), var(--site-content-gutter));
}

.hero {
    display: block;
    min-height: 0;
    padding: clamp(22px, 4vw, 54px) 0 42px;
    border-top: 0;
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.kicker {
    margin: 0 0 10px;
    color: var(--warm);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.search-panel {
    grid-column: 1 / -1;
    max-width: 720px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    transform: translateY(0);
    transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}

.slide-stage {
    position: relative;
    width: 100%;
    height: clamp(360px, 62vw, 760px);
    min-height: 0;
    border-left: 0;
    padding-left: 0;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: min(72vw, 1180px);
    display: block;
    opacity: 0;
    transform: translateX(-50%) scale(.92);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
    pointer-events: none;
}

.slide img,
.slide-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #11151a;
    border-bottom: 1px solid var(--line);
}

.slide.active {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    pointer-events: auto;
    z-index: 2;
}

.slide.prev,
.slide.next {
    opacity: .28;
    pointer-events: none;
    z-index: 1;
}

.slide.prev {
    transform: translateX(calc(-50% - min(52vw, 780px))) scale(.86);
}

.slide.next {
    transform: translateX(calc(-50% + min(52vw, 780px))) scale(.86);
}

.slide-controls {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 18px auto 0;
    z-index: 2;
}

.slide-controls button {
    width: 13px;
    height: 13px;
    min-width: 0;
    padding: 0;
    border: 1px solid rgba(244,242,235,.72);
    border-radius: 50%;
    background: transparent;
    color: transparent;
}

.slide-controls button.active {
    border-color: var(--ink);
    background: var(--ink);
}

.slide-controls button:hover {
    border-color: var(--ink);
    transform: scale(1.1);
}

.search-panel:hover {
    transform: none;
    box-shadow: none;
}

.search-panel label,
.editor-form label,
.login-box label,
.comment-form label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.search-row {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px 13px;
    background: rgba(244,242,235,.06);
    color: var(--ink);
    font: inherit;
    transition: border-color .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease);
}

select option {
    background: #ffffff;
    color: #111318;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--warm);
    box-shadow: 0 0 0 4px rgba(88,224,206,.12);
}

.hidden-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.body-editor textarea {
    min-height: 460px;
    line-height: 1.75;
}

.body-editor textarea.is-dragover {
    border-color: var(--warm);
    background: rgba(88,224,206,.08);
    box-shadow: 0 0 0 4px rgba(88,224,206,.12);
}

.editor-hint {
    margin: -6px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.news-section {
    --news-heading-align-offset: 31px;
    display: grid;
    grid-template-columns: minmax(170px, 240px) minmax(0, 1fr) auto;
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
    width: 100%;
    margin: 0 auto;
    padding: 38px 0 18px;
    border-bottom: 1px solid var(--line);
}

.news-section .section-head {
    margin-bottom: 0;
}

.news-section-link {
    justify-self: end;
    align-self: start;
    margin-top: var(--news-heading-align-offset);
}

.news-list {
    position: relative;
    max-width: 100%;
    min-height: 96px;
    margin-top: var(--news-heading-align-offset);
}

.news-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 8px 18px;
    padding: 0 0 18px;
    border-top: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .36s var(--ease), transform .36s var(--ease);
    pointer-events: none;
}

.news-item:not(.active) {
    position: absolute;
    inset: 0;
}

.news-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.news-item time {
    grid-row: span 2;
    color: var(--warm);
    font-size: 12px;
    font-weight: 800;
}

.news-item strong {
    line-height: 1.45;
}

.news-item span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.layout {
    display: block;
    padding: 44px 0 80px;
}

.article-section {
    width: 100%;
    margin: 0 auto;
}

.bottom-taxonomy h2 {
    margin: 0 0 12px;
    font-size: 15px;
}

.chip-list,
.tag-cloud,
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 26px;
}

.chip-list a,
.tag-cloud span,
.tag-cloud a,
.tags span,
.tags a {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    transition: border-color .24s var(--ease), color .24s var(--ease), background .24s var(--ease), transform .24s var(--ease);
}

.chip-list a.active {
    border-color: transparent;
    background: transparent;
    color: var(--warm);
}

.chip-list a:hover,
.tag-cloud a:hover,
.tag-cloud a.active,
.tags a:hover {
    border-color: var(--ink);
    color: var(--ink);
    transform: translateY(-1px);
}

.tag-cloud a.active {
    background: transparent;
    color: var(--warm);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 22px;
}

.bottom-taxonomy {
    display: grid;
    grid-template-columns: minmax(180px, .38fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 80px);
    padding: 36px 0 72px;
    border-top: 1px solid var(--line);
}

.section-head h1,
.section-head h2 {
    margin: 0;
    font-size: 32px;
    line-height: 1.2;
}

.section-head p {
    color: var(--muted);
}

.section-link {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(244,242,235,.24);
    text-underline-offset: 5px;
}

.section-link:hover {
    color: var(--ink);
}

.media,
.thumb {
    overflow: hidden;
    background: #11151a;
    border-radius: 6px;
}

.media {
    aspect-ratio: 16 / 10;
}

.thumb {
    display: block;
    aspect-ratio: 4 / 5;
    position: relative;
}

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

.placeholder::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: #11151a;
    box-shadow: inset 0 0 0 1px rgba(244,242,235,.08), inset 0 0 0 18px rgba(88,224,206,.035);
}

.card h3 {
    margin: 8px 0;
    line-height: 1.35;
}

.meta {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

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

.card {
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    gap: 0;
    height: 540px;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: #161718;
    border: 1px solid rgba(244,242,235,.1);
    border-radius: 8px;
    box-shadow: none;
    transform: translateY(0);
    transition: transform .32s var(--ease), background .32s var(--ease), border-color .32s var(--ease);
    animation: cardIn .58s var(--ease) both;
    position: relative;
    overflow: hidden;
}

.card:nth-child(2) { animation-delay: .04s; }
.card:nth-child(3) { animation-delay: .08s; }
.card:nth-child(4) { animation-delay: .12s; }
.card:nth-child(5) { animation-delay: .16s; }
.card:nth-child(6) { animation-delay: .2s; }
.card:nth-child(7) { animation-delay: .24s; }
.card:nth-child(8) { animation-delay: .28s; }
.card:nth-child(9) { animation-delay: .32s; }

.card:hover {
    transform: translateY(-4px);
    background: #1d1f20;
    border-color: rgba(244,242,235,.18);
}

.card .thumb {
    width: 100%;
    height: 260px;
    aspect-ratio: auto;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.card .thumb::before {
    content: none;
}

.card .thumb img,
.card .thumb.placeholder::after {
    transition: transform .45s var(--ease), filter .45s var(--ease);
}

.card:hover .thumb img,
.card:hover .thumb.placeholder::after {
    transform: scale(1.035);
    filter: contrast(1.03);
}

.card-new-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 8px 10px;
    color: #111213;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .08em;
    background: var(--ink);
    border: 1px solid rgba(244,242,235,.72);
    border-radius: 999px;
}

.card:nth-child(4n + 1) .placeholder::after {
    background-color: #12161b;
    box-shadow: inset 0 0 0 1px rgba(244,242,235,.08), inset 0 0 0 18px rgba(88,224,206,.04);
}

.card:nth-child(4n + 2) .placeholder::after {
    background-color: #121318;
    box-shadow: inset 0 0 0 1px rgba(244,242,235,.08), inset 0 0 0 18px rgba(246,199,96,.045);
}

.card:nth-child(4n + 3) .placeholder::after {
    background-color: #181116;
    box-shadow: inset 0 0 0 1px rgba(244,242,235,.08), inset 0 0 0 18px rgba(255,111,145,.04);
}

.card:nth-child(4n) .placeholder::after {
    background-color: #111827;
    box-shadow: inset 0 0 0 1px rgba(244,242,235,.08), inset 0 0 0 18px rgba(88,224,206,.035);
}

.card h3 {
    display: -webkit-box;
    min-height: 0;
    margin: 8px 0 0;
    padding: 0 22px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--ink);
    font-size: clamp(20px, 1.5vw, 24px);
    font-weight: 800;
    line-height: 1.28;
}

.card:nth-child(4n + 1) h3 {
    -webkit-line-clamp: 2;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.card .meta {
    padding: 22px 22px 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: rgba(244,242,235,.56);
    font-size: 12px;
    font-weight: 800;
}

.card-stats {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    color: rgba(244,242,235,.88);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    background: rgba(7,8,9,.58);
    border: 1px solid rgba(244,242,235,.14);
    border-radius: 999px;
    backdrop-filter: blur(14px);
    z-index: 2;
}

.card-stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(244,242,235,.88);
    font: inherit;
    line-height: 1;
    text-decoration: none;
    transition: color .2s var(--ease), transform .2s var(--ease);
}

.card-like-form {
    display: inline-flex;
    margin: 0;
}

button.card-stat,
.card-stats button.card-stat {
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}

.card-stat:hover {
    color: var(--ink);
    transform: translateY(-1px);
}

.card-like-button.liked {
    color: #ffb6c8;
}

.card-like-button.is-loading {
    opacity: .7;
}

.card-heart {
    color: var(--rose);
    font-size: 15px;
}

.card-comment-icon {
    position: relative;
    width: 14px;
    height: 11px;
    border: 1.6px solid var(--muted);
    border-radius: 4px;
}

.card-comment-icon::after {
    content: "";
    position: absolute;
    right: 2px;
    bottom: -5px;
    width: 5px;
    height: 5px;
    border-left: 1.6px solid var(--muted);
    border-bottom: 1.6px solid var(--muted);
    transform: skewY(-28deg);
}

.card > p:not(.meta) {
    display: -webkit-box;
    min-height: 0;
    margin-top: 12px;
    padding: 0 22px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: rgba(244,242,235,.66);
    font-size: 13px;
    line-height: 1.75;
}

.card:nth-child(4n + 2) > p:not(.meta),
.card:nth-child(5n) > p:not(.meta) {
    -webkit-line-clamp: 2;
}

.card .tags {
    padding: 0 22px 22px;
    margin-bottom: 0;
    max-height: 52px;
    overflow: hidden;
    align-content: start;
}

.card .tags a {
    font-size: 12px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
}

.pagination a {
    min-width: 40px;
    padding: 8px 12px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(244,242,235,.055);
    transition: transform .24s var(--ease), background .24s var(--ease), color .24s var(--ease);
}

.pagination a.active {
    background: var(--warm);
    color: #06100f;
}

.pagination a:hover {
    transform: translateY(-1px);
}

.article-page {
    width: min(var(--site-content-width), var(--site-content-gutter));
    max-width: none;
}

.article-hero {
    display: grid;
    gap: 14px;
    min-height: 0;
    padding: clamp(38px, 6vw, 72px) 0 28px;
    border-top: 0;
    border-bottom: 1px solid var(--line);
    animation: cardIn .58s var(--ease) both;
    position: relative;
}

.article-hero > .meta,
.article-hero > h1,
.article-hero > p,
.article-hero > .tags {
    grid-column: auto;
}

.article-hero::after {
    content: none;
}

.article-hero h1 {
    margin: 0;
    font-size: clamp(28px, 4.2vw, 48px);
    line-height: 1.18;
    letter-spacing: 0;
    text-wrap: balance;
}

.article-hero > p:not(.meta) {
    color: var(--muted);
    max-width: 720px;
    font-size: 16px;
    line-height: 1.8;
}

.article-body {
    max-width: none;
    margin: 34px auto 96px;
    padding: 0;
    font-size: 18px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.article-body p {
    color: #d8d7d1;
}

.article-body li {
    color: #d8d7d1;
}

.article-body h2,
.article-body h3 {
    margin-top: 2.2em;
    line-height: 1.35;
    color: var(--ink);
}

.article-body a {
    color: var(--warm);
    text-decoration: underline;
    text-decoration-color: rgba(88,224,206,.42);
    text-underline-offset: 4px;
}

.article-body img {
    display: block;
    width: 100%;
    max-height: 580px;
    margin: 28px 0;
    object-fit: cover;
    border-radius: 6px;
}

.article-engagement {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: -44px 0 72px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.like-form button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 96px;
    min-height: 48px;
    justify-content: center;
    background: transparent;
    color: var(--ink);
    border-radius: 999px;
    padding: 10px 16px;
}

.like-form button.is-loading {
    cursor: progress;
    opacity: .72;
}

.like-form button strong {
    font-size: 17px;
    line-height: 1;
}

.like-form button strong.is-updated {
    animation: likeCountPop .22s ease-out;
}

.heart-icon {
    color: var(--rose);
    font-size: 25px;
    line-height: 1;
    transform: translateY(-1px);
}

.like-form button.liked {
    border-color: rgba(255,111,145,.46);
    background: rgba(255,111,145,.12);
    color: #ffb6c8;
}

.like-form button.liked:hover {
    border-color: rgba(255,111,145,.72);
    background: rgba(255,111,145,.18);
}

@keyframes likeCountPop {
    50% {
        transform: scale(1.18);
    }
}

.article-engagement p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.comments-section {
    margin: 0 0 108px;
}

.comments-section > .section-head {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.comments-section .notice {
    margin-bottom: 18px;
}

.news-page {
    padding-bottom: 96px;
}

.news-archive {
    display: grid;
    gap: 0;
    margin: 34px 0 0;
}

.news-archive-item {
    display: grid;
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
    gap: clamp(22px, 4vw, 64px);
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.news-archive-item:first-child {
    border-top: 1px solid var(--line);
}

.news-archive-item time {
    color: var(--warm);
    font-size: 13px;
    font-weight: 800;
}

.news-archive-item h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(19px, 2.4vw, 28px);
    line-height: 1.45;
}

.news-archive-item p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

a.news-archive-item {
    transition: color .24s var(--ease), transform .24s var(--ease);
}

a.news-archive-item:hover {
    transform: translateX(4px);
}

a.news-archive-item:hover h2 {
    color: var(--warm);
}

.comment-list {
    display: grid;
    gap: 0;
}

.comment-item {
    padding: 22px 0;
    border-bottom: 1px solid rgba(244,242,235,.1);
}

.comment-item header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.comment-item time,
.empty-comment,
.comment-form p {
    color: var(--muted);
    font-size: 13px;
}

.comment-item p {
    margin: 0;
    color: #d8d7d1;
}

.empty-comment {
    margin: 0 0 24px;
}

.comment-form {
    display: grid;
    gap: 16px;
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.comment-form p {
    margin: -4px 0 0;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 26px 52px;
    padding: 48px 0 38px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.footer-brand strong {
    display: block;
    color: var(--ink);
    font-size: 19px;
    line-height: 1.3;
}

.footer-brand p,
.footer-note {
    margin: 6px 0 0;
    max-width: 560px;
    color: var(--muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 18px;
    max-width: 560px;
}

.footer-links a,
.footer-bottom a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: rgba(244,242,235,.24);
    text-underline-offset: 5px;
}

.footer-note {
    grid-column: 1 / -1;
    padding-top: 18px;
    border-top: 1px solid rgba(244,242,235,.1);
}

.footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(244,242,235,.1);
    font-size: 13px;
}

.footer-bottom span:last-child {
    display: flex;
    gap: 14px;
}

.admin-shell {
    background-color: var(--paper);
}

.login-box,
.admin-main {
    width: min(1480px, calc(100% - 40px));
    margin: 60px auto;
}

.login-box {
    max-width: 420px;
    padding: 28px;
    background: rgba(17,19,23,.86);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.login-box form,
.editor-form {
    display: grid;
    gap: 16px;
}

.notice {
    padding: 12px 14px;
    background: rgba(88,224,206,.12);
    border: 1px solid rgba(88,224,206,.32);
    border-radius: 6px;
    color: #9cf1e6;
}

.notice.error {
    background: rgba(255,111,145,.12);
    border-color: rgba(255,111,145,.38);
    color: #ffb3c2;
}

.readonly-notice {
    background: rgba(244,242,235,.08);
    border-color: rgba(244,242,235,.18);
    color: rgba(244,242,235,.78);
}

.is-readonly-user button:disabled,
.is-readonly-user input[type="submit"]:disabled {
    cursor: not-allowed;
    border-color: rgba(244,242,235,.14);
    background: rgba(244,242,235,.08);
    color: rgba(244,242,235,.42);
    opacity: .72;
}

.is-readonly-user .danger:disabled {
    border-color: rgba(255,111,111,.22);
    background: rgba(255,111,111,.08);
    color: rgba(255,158,158,.45);
}

.admin-sidebar {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.admin-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 8px 14px;
    border-bottom: 0;
    text-decoration: none;
    transition: background .22s var(--ease);
}

.admin-sidebar-brand:hover {
    background: rgba(244,242,235,.055);
}

.admin-sidebar-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(244,242,235,.22);
    border-radius: 6px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
}

.admin-sidebar-brand strong,
.admin-sidebar-brand small {
    display: block;
}

.admin-sidebar-brand strong {
    color: var(--ink);
    font-size: 14px;
    line-height: 1.2;
}

.admin-sidebar-brand small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.admin-tools {
    display: grid;
    gap: 1px;
    margin: 0;
    padding: 4px 0 0;
}

.admin-menu-group {
    margin: 12px 0 0;
    padding: 10px 0 0;
    border: 0;
    border-top: 0;
    border-radius: 0;
    background: transparent;
}

.admin-sidebar-brand + .admin-menu-group {
    margin-top: 10px;
    border-top: 0;
    padding-top: 0;
}

.admin-menu-group .admin-sidebar-title {
    margin-bottom: 2px;
    padding: 0 8px;
}

.admin-tools a {
    display: block;
    position: relative;
    padding: 8px 8px 8px 16px;
    border-radius: 6px;
    color: var(--muted);
    font-size: 16px;
    font-weight: 700;
}

.admin-tools a::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 6px;
    width: 2px;
    border-radius: 99px;
    background: transparent;
}

.admin-tools a:hover,
.admin-tools a.is-active {
    background: rgba(244,242,235,.08);
    color: var(--ink);
}

.admin-tools a.is-active::before {
    background: var(--warm);
}

.admin-subnav {
    display: grid;
    gap: 1px;
    margin: 0 0 4px 18px;
    padding-left: 8px;
    border-left: 1px solid rgba(244,242,235,.14);
}

.admin-subnav a {
    padding: 6px 8px;
    font-size: 15px;
    font-weight: 600;
}

.admin-only-tools {
    display: grid;
    gap: 1px;
    border-color: rgba(244,242,235,.1);
}

.admin-only-tools a {
    display: block;
    position: relative;
    padding: 8px 8px 8px 16px;
    border-radius: 6px;
    color: var(--muted);
    font-size: 16px;
    font-weight: 700;
}

.admin-only-tools a::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 6px;
    width: 2px;
    border-radius: 99px;
    background: transparent;
}

.admin-only-tools a:hover,
.admin-only-tools a.is-active {
    background: rgba(244,242,235,.08);
    color: var(--ink);
}

.admin-only-tools a.is-active::before {
    background: var(--warm);
}

.admin-sidebar-panel {
    margin: 12px 0 0;
    padding-top: 10px;
    border-top: 0;
}

.admin-sidebar-title {
    margin: 0 0 8px;
    padding: 0 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.admin-sidebar-articles {
    display: grid;
    gap: 2px;
}

.admin-sidebar-article {
    display: grid;
    gap: 4px;
    padding: 7px 8px;
    border-radius: 6px;
}

.admin-sidebar-article:hover {
    background: rgba(244,242,235,.06);
}

.admin-sidebar-article strong {
    color: var(--ink);
    font-size: 13px;
    line-height: 1.45;
}

.admin-sidebar-article span {
    color: var(--muted);
    font-size: 12px;
}

.admin-workspace {
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr);
    gap: clamp(36px, 4vw, 64px);
    align-items: start;
}

.admin-editor-column {
    min-width: 0;
}

.admin-main-column {
    display: grid;
    gap: 22px;
}

.admin-menu-column {
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 116px);
    overflow: auto;
}

.admin-overview {
    display: grid;
    gap: 18px;
}

.admin-page-intro {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.editor.admin-page-intro,
.manual.admin-page-intro {
    padding: clamp(34px, 5vw, 56px) 0 clamp(28px, 4vw, 42px);
}

.admin-page-intro > .section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.admin-page-intro > .section-head > div {
    display: grid;
    gap: 8px;
}

.admin-page-intro .kicker {
    margin: 0;
    color: rgba(244, 242, 235, .62);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-page-intro .section-head h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(36px, 4.8vw, 54px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0;
}

.admin-page-description {
    max-width: 920px;
    margin: 0 0 clamp(34px, 5vw, 56px);
    padding-bottom: clamp(34px, 5vw, 56px);
    border-bottom: 1px solid rgba(244,242,235,.12);
    color: rgba(244, 242, 235, .68);
    font-size: clamp(16px, 1.6vw, 20px);
    font-weight: 600;
    line-height: 1.8;
}

.has-intro-action .admin-page-description {
    margin-bottom: 16px;
    padding-bottom: 0;
    border-bottom: 0;
}

.intro-action-row {
    margin-bottom: clamp(34px, 5vw, 56px);
    padding-bottom: clamp(34px, 5vw, 56px);
    border-bottom: 1px solid rgba(244,242,235,.12);
}

.intro-action {
    justify-self: start;
    width: fit-content;
    min-width: 0;
}

.dashboard-cover {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    min-height: 230px;
    padding: 34px 0 30px;
    border-bottom: 0;
}

.dashboard-cover h1 {
    margin: 0;
    font-size: clamp(36px, 5.2vw, 72px);
    line-height: 1.08;
    letter-spacing: 0;
}

.dashboard-cover p:last-child {
    max-width: 620px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 16px;
}

.dashboard-cover-actions,
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-cover-actions {
    justify-content: flex-end;
}

.dashboard-comment-alert {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 28px 0;
    border-top: 1px solid rgba(244,242,235,.1);
    border-bottom: 0;
    border-radius: 0;
    background: transparent;
}

.dashboard-comment-alert.has-pending {
    border-color: rgba(255,111,145,.38);
    background: transparent;
}

.comment-alert-count {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border: 0;
    border-radius: 50%;
    background: rgba(244,242,235,.055);
}

.has-pending .comment-alert-count {
    border-color: rgba(255,111,145,.46);
    background: rgba(255,111,145,.12);
}

.comment-alert-count span {
    color: var(--ink);
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.has-pending .comment-alert-count span {
    color: #ffb6c8;
}

.comment-alert-count small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.comment-alert-body h2,
.comment-alert-body p,
.comment-alert-body blockquote {
    margin: 0;
}

.comment-alert-body h2 {
    font-size: 24px;
    line-height: 1.35;
}

.comment-alert-body p {
    color: var(--muted);
}

.comment-alert-body blockquote {
    margin-top: 10px;
    color: #d8d7d1;
    line-height: 1.7;
}

.dashboard-status {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
    border-bottom: 1px solid var(--line);
}

.dashboard-status article {
    display: grid;
    align-content: end;
    min-height: 74px;
    padding: 0;
    border-right: 0;
}

.dashboard-status article + article {
    padding-left: 0;
}

.dashboard-status span,
.dashboard-meta,
.dashboard-definition dt,
.dashboard-list span,
.dashboard-note time {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.dashboard-status strong {
    display: block;
    margin-top: 10px;
    color: var(--ink);
    font-size: clamp(24px, 3vw, 42px);
    line-height: .95;
}

.dashboard-section {
    padding: 28px 0 0;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(244,242,235,.1);
    border-radius: 0;
}

.dashboard-status-section {
    padding: 28px 0;
    background: transparent;
    color: var(--ink);
    border: 0;
    border-top: 1px solid rgba(244,242,235,.1);
    border-radius: 0;
}

.dashboard-status-section .section-head {
    margin-bottom: clamp(10px, 1.5vw, 14px);
}

.dashboard-status-section .kicker,
.dashboard-status-section .section-head p {
    color: rgba(244, 242, 235, .6);
}

.dashboard-status-section h2 {
    color: var(--ink);
}

.dashboard-status-layout {
    display: grid;
    grid-template-columns: minmax(190px, .65fr) minmax(260px, 1fr) minmax(300px, 1.2fr);
    gap: clamp(22px, 4vw, 58px);
    align-items: stretch;
}

.status-text-block {
    display: grid;
    align-content: start;
    min-height: 0;
    padding-right: clamp(18px, 3vw, 42px);
    border-right: 1px solid rgba(244,242,235,.1);
}

.status-text-block span {
    color: rgba(244, 242, 235, .58);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}

.status-text-block strong {
    display: block;
    margin-top: 8px;
    color: var(--ink);
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    line-height: 1;
}

.status-summary-list {
    display: grid;
    gap: 0;
    margin: 0;
}

.status-summary-list div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
    padding: 10px 0;
    border-top: 1px solid rgba(244,242,235,.08);
}

.status-summary-list div:first-child {
    border-top: 0;
}

.status-summary-list dt {
    color: rgba(244, 242, 235, .54);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.status-summary-list dd {
    margin: 0;
    color: var(--ink);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
}

.primary-status-list dd {
    font-size: 24px;
}

.dashboard-section h2,
.dashboard-section h3 {
    margin: 0;
    line-height: 1.35;
}

.dashboard-section h2 {
    font-size: 24px;
}

.dashboard-section h3 {
    margin-top: 26px;
    font-size: clamp(24px, 3.6vw, 42px);
}

.dashboard-section p {
    color: var(--muted);
}

.dashboard-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 28px;
}

.dashboard-menu-grid a {
    display: grid;
    gap: 7px;
    min-height: 118px;
    padding: 18px 0;
    border-top: 0;
}

.dashboard-menu-grid a:nth-child(-n+3) {
    border-top: 0;
}

.dashboard-menu-grid strong {
    color: var(--ink);
    font-size: 18px;
    line-height: 1.35;
}

.dashboard-menu-grid span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.dashboard-menu-grid a:hover strong {
    color: var(--warm);
}

.dashboard-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 18px 0 22px;
}

.dashboard-definition {
    display: grid;
    gap: 18px;
    margin: 24px 0;
}

.dashboard-definition div {
    padding-bottom: 16px;
    border-bottom: 0;
}

.dashboard-definition dd {
    margin: 6px 0 0;
    color: var(--ink);
}

.dashboard-list {
    display: grid;
    gap: 0;
}

.dashboard-list a {
    display: flex;
    align-items: baseline;
    gap: 14px;
    min-width: 0;
    padding: 12px 0;
    border-top: 1px solid rgba(244,242,235,.08);
    line-height: 1.45;
}

.dashboard-list a:first-child {
    border-top: 0;
}

.dashboard-list a span {
    flex: 0 0 auto;
    white-space: nowrap;
}

.dashboard-list a strong {
    min-width: 0;
    overflow: hidden;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-list a:hover strong {
    color: var(--warm);
}

.dashboard-list p {
    margin: 0;
    color: var(--muted);
}

.dashboard-note {
    display: grid;
    gap: 10px;
    padding-top: 12px;
}

.dashboard-note strong {
    color: var(--ink);
    font-size: 20px;
    line-height: 1.45;
}

.dashboard-note p {
    margin: 0;
}

.comment-admin-list {
    display: grid;
    gap: 14px;
}

.comment-admin-table-wrap {
    overflow-x: auto;
}

.comment-admin-section {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.comment-admin-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    table-layout: fixed;
}

.comment-admin-table th,
.comment-admin-table td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(244,242,235,.1);
    text-align: left;
    vertical-align: top;
}

.comment-admin-table th {
    color: rgba(244,242,235,.58);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.comment-admin-table td {
    color: var(--ink);
    font-size: 14px;
    line-height: 1.6;
}

.comment-admin-table th:nth-child(1),
.comment-admin-table td:nth-child(1) {
    width: 170px;
}

.comment-admin-table th:nth-child(2),
.comment-admin-table td:nth-child(2) {
    width: 190px;
}

.comment-admin-table th:nth-child(3),
.comment-admin-table td:nth-child(3) {
    width: 120px;
}

.comment-admin-table th:nth-child(5),
.comment-admin-table td:nth-child(5) {
    width: 210px;
}

.comment-admin-table time {
    display: block;
    margin-bottom: 8px;
    white-space: nowrap;
}

.comment-admin-table a {
    color: var(--ink);
}

.comment-admin-table a:hover {
    color: var(--warm);
}

.comment-admin-body {
    color: #d8d7d1;
    word-break: break-word;
}

.comment-admin-actions {
    gap: 6px;
}

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

.comment-admin-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: start;
    padding: 20px 0;
    border-top: 1px solid rgba(244,242,235,.1);
}

.comment-admin-item:first-child {
    border-top: 0;
}

.comment-admin-item h3 {
    margin: 12px 0 6px;
    font-size: 18px;
}

.comment-admin-item p {
    margin: 0 0 12px;
    color: #d8d7d1;
}

.comment-admin-item small {
    color: var(--muted);
}

.changelog-date-group {
    padding: 32px 0;
    border-top: 1px solid var(--line);
}

.changelog-date-group:first-child {
    padding-top: 0;
    border-top: 0;
}

.changelog-date-group h2 {
    margin-top: 0;
}

.changelog-entry {
    display: grid;
    gap: 8px;
    margin-top: 22px;
}

.changelog-entry h3,
.changelog-entry p {
    margin: 0;
}

.changelog-entry h3 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.changelog-version {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    color: #111213;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1;
    background: var(--ink);
    border-radius: 999px;
}

.changelog-entry p {
    color: var(--muted);
}

.compact-table .table-row {
    grid-template-columns: 1fr;
    padding: 12px 0;
    border-width: 0 0 1px;
    border-radius: 0;
    background: transparent;
}

.compact-table .row-actions {
    justify-content: flex-start;
}

.editor,
.admin-list {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.manual {
    width: 100%;
    max-width: 1080px;
    padding: 10px 0 90px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.manual-note {
    display: grid;
    gap: 18px;
}

.manual-lead {
    margin-top: 0;
    max-width: 920px;
    color: #d8d7d1;
    font-size: 17px;
    line-height: 1.9;
}

.manual-index {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 4px 0 12px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.manual.admin-page-intro:not(.changelog-page) .admin-page-description,
.manual.admin-page-intro:not(.changelog-page) .manual-index {
    margin-bottom: 18px;
    padding-bottom: 0;
    border-bottom: 0;
}

.changelog-page.manual h2 {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.manual-index a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.manual-index a:hover {
    color: var(--ink);
}

.manual h2 {
    margin: 52px 0 0;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    font-size: 28px;
    line-height: 1.35;
}

.manual h3 {
    margin: 24px 0 0;
    font-size: 18px;
    line-height: 1.45;
}

.manual p,
.manual li,
.manual dd {
    color: var(--muted);
    line-height: 1.9;
}

.manual p {
    margin: 0;
}

.manual dt {
    margin-top: 10px;
    font-weight: 800;
}

.manual dd {
    margin: 2px 0 0;
}

.manual pre {
    overflow-x: auto;
    padding: 14px;
    border-radius: 6px;
    background: rgba(244,242,235,.08);
    color: var(--ink);
    line-height: 1.55;
}

.form-row {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 150px 120px 150px;
    gap: 14px;
}

.user-form-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.check-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    align-self: end;
    min-height: 45px;
}

.check-label input {
    width: 16px;
    height: 16px;
    accent-color: var(--warm);
}

.taxonomy-picker {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.taxonomy-picker legend {
    padding: 0 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.taxonomy-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.taxonomy-options label {
    display: inline-flex;
    gap: 0;
}

.taxonomy-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.taxonomy-options span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(244,242,235,.16);
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}

.taxonomy-options input:checked + span {
    border-color: rgba(88,224,206,.5);
    background: rgba(88,224,206,.14);
    color: #9cf1e6;
}

.taxonomy-options span:hover {
    border-color: rgba(244,242,235,.34);
    color: var(--ink);
}

.user-list {
    display: grid;
    gap: 0;
}

.user-row {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(140px, 1fr) minmax(130px, 170px) minmax(140px, 1fr) auto auto;
    gap: 12px;
    align-items: end;
    padding: 18px 0;
    border: 0;
    border-top: 1px solid rgba(244,242,235,.1);
    border-radius: 0;
    background: transparent;
}

.user-row:first-child {
    border-top: 0;
}

.user-row label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.user-actions {
    align-self: end;
}

.user-meta {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.slide-editor-list {
    display: grid;
    gap: 0;
}

.slide-editor {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 22px 0;
    border: 0;
    border-top: 1px solid rgba(244,242,235,.1);
    border-radius: 0;
}

.slide-editor:first-child {
    border-top: 0;
}

.slide-editor legend {
    padding: 0 8px;
    color: var(--warm);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.admin-preview {
    width: 220px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 6px;
}

.table {
    display: grid;
    gap: 0;
}

.bulk-editor {
    display: grid;
    grid-template-columns: auto minmax(160px, 220px) minmax(180px, 1fr) auto;
    gap: 10px;
    align-items: center;
    margin: 0 0 18px;
    padding: 0 0 18px;
    border: 0;
    border-bottom: 1px solid rgba(244,242,235,.1);
    border-radius: 0;
    background: transparent;
}

.bulk-select-all {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.table-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 18px 0;
    border: 0;
    border-top: 1px solid rgba(244,242,235,.1);
    border-radius: 0;
    background: transparent;
    transition: color .24s var(--ease);
}

.table-row:first-child {
    border-top: 0;
}

.article-list-row {
    grid-template-columns: 34px minmax(0, 1fr) auto;
}

.table-row:hover {
    border-color: rgba(244,242,235,.1);
}

.row-check {
    display: grid;
    place-items: center;
    cursor: pointer;
}

.row-check input,
.bulk-select-all input {
    width: 16px;
    height: 16px;
    accent-color: var(--warm);
}

.article-row-main {
    display: grid;
    gap: 4px;
    min-width: 0;
    color: inherit;
}

.article-row-main:hover strong {
    color: var(--warm);
}

.table-row span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 3px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    vertical-align: middle;
}

.status-badge.published {
    border-color: rgba(88,224,206,.46);
    background: rgba(88,224,206,.13);
    color: #9cf1e6;
}

.status-badge.draft {
    border-color: rgba(246,199,96,.42);
    background: rgba(246,199,96,.12);
    color: #f6d88b;
}

.status-badge.scheduled {
    border-color: rgba(200,215,255,.42);
    background: rgba(200,215,255,.12);
    color: #c8d7ff;
}

.row-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.row-actions a,
.row-actions button,
.button.secondary {
    border-color: var(--line);
    background: rgba(244,242,235,.055);
    color: var(--ink);
}

.row-actions .button,
.row-actions button {
    display: inline-flex;
    align-items: center;
    min-width: 58px;
    min-height: 34px;
    justify-content: center;
    padding: 8px 11px;
    font-size: 12px;
    line-height: 1;
    text-align: center;
}

.row-actions .danger {
    border-color: rgba(255,111,111,.55);
    background: rgba(255,111,111,.14);
    color: #ff9e9e;
}

.row-actions .danger:hover {
    border-color: #ff7f7f;
    background: #ff7f7f;
    color: #070809;
}

.button.disabled {
    opacity: .38;
    pointer-events: none;
}

.row-actions form {
    margin: 0;
}

.empty {
    padding: 18px 0;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(244,242,235,.1);
    border-radius: 0;
}

@keyframes pageIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softSweep {
    0%, 58% {
        background-position: 130% 0, 0 0, 0 0;
    }
    100% {
        background-position: -90% 0, 0 0, 0 0;
    }
}

@keyframes slowSpin {
    to {
        transform: translate(24%, 28%) rotate(360deg);
    }
}

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

@media (max-width: 860px) {
    .site-header,
    .admin-header,
    .site-footer,
    .section-head,
    .search-row {
        align-items: stretch;
        flex-direction: column;
    }

    .site-header {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .header-search {
        order: 3;
        width: 100%;
        margin-left: 0;
    }

    .hero,
    .article-hero,
    .news-section,
    .news-archive-item,
    .admin-workspace,
    .bottom-taxonomy,
    .news-list,
    .form-row,
    .user-form-row,
    .user-row,
    .bulk-editor,
    .table-row {
        grid-template-columns: 1fr;
    }

    .slide-stage {
        height: clamp(260px, 75vw, 520px);
        border-left: 0;
        border-top: 0;
        padding: 0;
    }

    .admin-menu-column {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .slide {
        left: 50%;
        width: min(82vw, 720px);
    }

    .slide.prev {
        transform: translateX(calc(-50% - 72vw)) scale(.84);
    }

    .slide.next {
        transform: translateX(calc(-50% + 72vw)) scale(.84);
    }

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

    .dashboard-cover {
        align-items: stretch;
        flex-direction: column;
        min-height: 0;
    }

    .dashboard-cover-actions {
        justify-content: flex-start;
    }

    .dashboard-status,
    .dashboard-status-layout,
    .dashboard-comment-alert,
    .comment-admin-item {
        grid-template-columns: 1fr;
    }

    .status-text-block {
        padding-right: 0;
        padding-bottom: 18px;
        border-right: 0;
        border-bottom: 1px solid rgba(244,242,235,.1);
    }

    .status-text-block {
        min-height: 0;
    }

    .status-summary-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
    }

    .dashboard-status-section .section-head {
        align-items: stretch;
    }

    .dashboard-menu-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-menu-grid a:nth-child(-n+3) {
        border-top: 0;
    }

    .dashboard-menu-grid a:first-child {
        border-top: 0;
    }

    .dashboard-comment-alert {
        align-items: start;
    }

    .dashboard-list a {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .dashboard-list a strong {
        white-space: normal;
    }

    .news-list,
    .news-section-link {
        justify-self: start;
        margin-top: 0;
    }

    .dashboard-status article {
        padding-left: 0;
        border-right: 0;
        border-bottom: 0;
    }

    .dashboard-status article + article {
        padding-left: 0;
    }

    .dashboard-status article:last-child {
        border-bottom: 0;
    }

    .site-footer {
        grid-template-columns: 1fr;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
    }

}

@media (max-width: 560px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .card {
        height: auto;
        min-height: 0;
    }

    .card .thumb {
        height: 250px;
    }

    main,
    .home-main,
    .site-header,
    .site-footer,
    .article-page {
        width: min(100% - 28px, var(--site-content-width));
    }

    .admin-header,
    .login-box,
    .admin-main {
        width: min(100% - 28px, 1180px);
    }

    .hero {
        padding-top: 38px;
    }

    .login-box {
        padding: 18px;
    }

    .dashboard-cover {
        padding-top: 22px;
    }
}
