:root {
    --osx-bg: #070b10;
    --osx-bg-deep: #04070b;
    --osx-panel: #0d141c;
    --osx-panel-2: #101b24;
    --osx-panel-3: #142231;
    --osx-text: #e6edf3;
    --osx-muted: #8ea0ad;
    --osx-dim: #5f7482;
    --osx-border: #223441;
    --osx-border-strong: #315263;
    --osx-primary: #00e6a8;
    --osx-primary-dark: #00b884;
    --osx-primary-soft: rgba(0, 230, 168, 0.12);
    --osx-cyan: #38bdf8;
    --osx-cyan-soft: rgba(56, 189, 248, 0.12);
    --osx-amber: #f6c343;
    --osx-danger: #ff5577;
    --osx-radius: 8px;
    --osx-radius-sm: 5px;
    --osx-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
    --osx-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--osx-bg-deep);
}

body {
    position: relative;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, rgba(9, 15, 22, 0.92), rgba(4, 7, 11, 0.98)),
        repeating-linear-gradient(0deg, rgba(56, 189, 248, 0.04) 0, rgba(56, 189, 248, 0.04) 1px, transparent 1px, transparent 42px),
        repeating-linear-gradient(90deg, rgba(0, 230, 168, 0.035) 0, rgba(0, 230, 168, 0.035) 1px, transparent 1px, transparent 42px),
        var(--osx-bg);
    color: var(--osx-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.65;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 4px);
    opacity: 0.28;
}

body.admin-bar .osx-site-header {
    top: 32px;
}

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

img {
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

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

:focus-visible {
    outline: 2px solid var(--osx-primary);
    outline-offset: 3px;
}

.osx-container {
    width: min(1280px, calc(100% - 36px));
    margin: 0 auto;
}

.osx-site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(0, 230, 168, 0.18);
    background: rgba(6, 10, 15, 0.92);
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(16px);
}

.osx-site-header::after {
    display: block;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--osx-primary), var(--osx-cyan), transparent);
    opacity: 0.58;
}

.osx-header-inner {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(260px, 460px) auto;
    gap: 18px;
    align-items: center;
    min-height: 74px;
}

.osx-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.osx-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0, 230, 168, 0.45);
    border-radius: var(--osx-radius-sm);
    background:
        linear-gradient(135deg, rgba(0, 230, 168, 0.16), rgba(56, 189, 248, 0.08)),
        #091017;
    color: var(--osx-primary);
    font-family: var(--osx-mono);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    box-shadow: inset 0 0 20px rgba(0, 230, 168, 0.08), 0 0 22px rgba(0, 230, 168, 0.1);
}

.osx-brand-copy {
    display: grid;
    min-width: 0;
}

.osx-brand strong {
    overflow: hidden;
    color: var(--osx-text);
    font-size: 18px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.osx-brand em {
    overflow: hidden;
    color: var(--osx-muted);
    font-style: normal;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.osx-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.osx-search input,
.osx-form input,
.osx-form textarea,
.osx-editor-side input,
.osx-editor-side textarea,
.osx-title-field input {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--osx-border);
    border-radius: var(--osx-radius-sm);
    background: rgba(5, 10, 15, 0.74);
    color: var(--osx-text);
    padding: 9px 12px;
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.osx-search input::placeholder,
.osx-form input::placeholder,
.osx-form textarea::placeholder,
.osx-editor-side input::placeholder,
.osx-editor-side textarea::placeholder,
.osx-title-field input::placeholder {
    color: #627783;
}

.osx-search input:focus,
.osx-form input:focus,
.osx-form textarea:focus,
.osx-editor-side input:focus,
.osx-editor-side textarea:focus,
.osx-title-field input:focus {
    border-color: rgba(0, 230, 168, 0.68);
    background: rgba(7, 13, 19, 0.98);
    box-shadow: 0 0 0 3px rgba(0, 230, 168, 0.1), inset 0 0 0 1px rgba(0, 230, 168, 0.08);
}

.osx-search button,
.osx-btn,
.osx-row-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: var(--osx-radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.osx-search button,
.osx-btn.is-primary {
    border-color: rgba(0, 230, 168, 0.55);
    background: linear-gradient(180deg, rgba(0, 230, 168, 0.94), rgba(0, 184, 132, 0.94));
    color: #03110d;
    box-shadow: 0 0 22px rgba(0, 230, 168, 0.14);
}

.osx-search button:hover,
.osx-btn.is-primary:hover {
    border-color: rgba(56, 189, 248, 0.76);
    background: linear-gradient(180deg, #38f3c7, #00c99a);
    color: #020806;
    transform: translateY(-1px);
}

.osx-btn.is-ghost {
    border-color: var(--osx-border-strong);
    background: rgba(12, 22, 31, 0.82);
    color: #cdd8df;
}

.osx-btn.is-ghost:hover {
    border-color: rgba(56, 189, 248, 0.62);
    background: rgba(56, 189, 248, 0.1);
    color: var(--osx-cyan);
    transform: translateY(-1px);
}

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

.osx-actions.is-left {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.osx-main {
    padding: 24px 0 54px;
}

.osx-narrow {
    width: min(880px, 100%);
    margin: 0 auto;
}

.osx-cat-nav {
    display: flex;
    gap: 8px;
    align-items: center;
    min-height: 58px;
    margin-bottom: 22px;
    padding: 9px;
    overflow-x: auto;
    border: 1px solid rgba(0, 230, 168, 0.18);
    border-radius: var(--osx-radius);
    background: rgba(8, 14, 20, 0.74);
    box-shadow: var(--osx-shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.018);
    scrollbar-color: var(--osx-border-strong) transparent;
}

.osx-cat-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: var(--osx-radius-sm);
    color: #9aabb6;
    font-family: var(--osx-mono);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.osx-cat-nav a::before {
    margin-right: 7px;
    color: var(--osx-dim);
    content: "#";
}

.osx-cat-nav a:hover {
    border-color: rgba(56, 189, 248, 0.36);
    background: rgba(56, 189, 248, 0.08);
    color: var(--osx-text);
}

.osx-cat-nav a.is-active {
    border-color: rgba(0, 230, 168, 0.62);
    background: var(--osx-primary-soft);
    color: var(--osx-primary);
    box-shadow: inset 0 -1px 0 rgba(0, 230, 168, 0.25), 0 0 18px rgba(0, 230, 168, 0.08);
}

.osx-cat-nav a.is-active::before {
    color: var(--osx-primary);
    content: ">";
}

.osx-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    padding: 18px 0 18px 18px;
    border-left: 2px solid var(--osx-primary);
    background: linear-gradient(90deg, rgba(0, 230, 168, 0.08), transparent 72%);
}

.osx-page-head span:first-child {
    display: inline-flex;
    margin-bottom: 7px;
    color: var(--osx-primary);
    font-family: var(--osx-mono);
    font-size: 12px;
    font-weight: 800;
}

.osx-page-head h1 {
    margin: 0;
    color: var(--osx-text);
    font-size: 30px;
    line-height: 1.2;
}

.osx-page-head p {
    max-width: 720px;
    margin: 8px 0 0;
    color: var(--osx-muted);
    font-size: 14px;
}

.osx-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.osx-stats span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid var(--osx-border);
    border-radius: var(--osx-radius-sm);
    background: rgba(9, 16, 23, 0.8);
    color: #aebdc7;
    font-family: var(--osx-mono);
    font-size: 12px;
    font-weight: 800;
}

.osx-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.osx-feed {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.osx-card {
    position: relative;
    border: 1px solid var(--osx-border);
    border-radius: var(--osx-radius);
    background: linear-gradient(180deg, rgba(18, 31, 42, 0.92), rgba(9, 15, 22, 0.94));
    box-shadow: var(--osx-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.osx-card::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    content: "";
    box-shadow: inset 0 0 0 1px rgba(0, 230, 168, 0.025);
}

.osx-post-card {
    display: grid;
    grid-template-columns: 228px minmax(0, 1fr);
    gap: 18px;
    padding: 14px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.osx-post-card:hover {
    border-color: rgba(0, 230, 168, 0.45);
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.34), 0 0 28px rgba(0, 230, 168, 0.06);
    transform: translateY(-2px);
}

.osx-post-thumb {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--osx-radius-sm);
    background: #071019;
    aspect-ratio: 16 / 10;
}

.osx-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.86) contrast(1.06);
    transition: transform 0.24s ease, filter 0.24s ease;
}

.osx-post-card:hover .osx-post-thumb img {
    transform: scale(1.035);
    filter: saturate(1) contrast(1.08);
}

.osx-post-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.osx-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: var(--osx-dim);
    font-family: var(--osx-mono);
    font-size: 12px;
}

.osx-post-meta a {
    min-height: 24px;
    padding: 2px 8px;
    border: 1px solid rgba(0, 230, 168, 0.34);
    border-radius: var(--osx-radius-sm);
    background: var(--osx-primary-soft);
    color: var(--osx-primary);
    font-weight: 800;
}

.osx-post-card h2 {
    margin: 9px 0 0;
    font-size: 20px;
    line-height: 1.42;
}

.osx-post-card h2 a:hover {
    color: var(--osx-primary);
}

.osx-post-card p {
    display: -webkit-box;
    margin: 9px 0 0;
    overflow: hidden;
    color: #b2c0c9;
    font-size: 14px;
    line-height: 1.72;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.osx-post-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    align-items: center;
    margin-top: auto;
    padding-top: 14px;
    color: var(--osx-dim);
    font-family: var(--osx-mono);
    font-size: 12px;
}

.osx-post-foot a {
    margin-left: auto;
    min-height: 32px;
    padding: 6px 11px;
    border: 1px solid var(--osx-border-strong);
    border-radius: var(--osx-radius-sm);
    color: #d4dee5;
    font-family: inherit;
    font-weight: 800;
}

.osx-post-foot a:hover {
    border-color: rgba(0, 230, 168, 0.62);
    background: var(--osx-primary-soft);
    color: var(--osx-primary);
}

.osx-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 14px;
}

body.admin-bar .osx-sidebar,
body.admin-bar .osx-user-nav,
body.admin-bar .osx-editor-side {
    top: 128px;
}

.osx-sidebar .osx-card,
.osx-user-nav,
.osx-user-main > .osx-card,
.osx-grid-2 .osx-card,
.osx-grid-3 .osx-card,
.osx-auth-card,
.osx-page-content,
.osx-editor-main,
.osx-editor-side .osx-card {
    padding: 17px;
}

.osx-sidebar h2,
.osx-card h2 {
    margin: 0 0 12px;
    color: var(--osx-text);
    font-size: 16px;
    line-height: 1.35;
}

.osx-account-card {
    display: grid;
    gap: 9px;
}

.osx-account-card img,
.osx-user-nav img {
    border: 1px solid rgba(0, 230, 168, 0.3);
    background: #061016;
    box-shadow: 0 0 20px rgba(0, 230, 168, 0.08);
}

.osx-account-card img {
    width: 48px;
    height: 48px;
    border-radius: 999px;
}

.osx-account-card a:not(.osx-btn),
.osx-side-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 36px;
    padding: 0 9px;
    border: 1px solid transparent;
    border-radius: var(--osx-radius-sm);
    color: #c6d2da;
    font-size: 13px;
    font-weight: 700;
}

.osx-account-card a:not(.osx-btn):hover,
.osx-side-list a:hover {
    border-color: rgba(56, 189, 248, 0.28);
    background: rgba(56, 189, 248, 0.08);
    color: var(--osx-cyan);
}

.osx-side-list {
    display: grid;
    gap: 6px;
}

.osx-side-list em {
    color: var(--osx-amber);
    font-family: var(--osx-mono);
    font-style: normal;
}

.osx-hot-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.osx-hot-list li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
}

.osx-hot-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(246, 195, 67, 0.28);
    border-radius: var(--osx-radius-sm);
    background: rgba(246, 195, 67, 0.1);
    color: var(--osx-amber);
    font-family: var(--osx-mono);
    font-size: 12px;
    font-weight: 800;
}

.osx-hot-list a {
    display: -webkit-box;
    overflow: hidden;
    color: #c6d2da;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.osx-hot-list a:hover {
    color: var(--osx-primary);
}

.osx-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 16px 0 0;
}

.osx-pagination .page-numbers {
    min-width: 36px;
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid var(--osx-border);
    border-radius: var(--osx-radius-sm);
    background: rgba(10, 18, 26, 0.84);
    color: #aebdc7;
    font-family: var(--osx-mono);
    text-align: center;
}

.osx-pagination .current {
    border-color: rgba(0, 230, 168, 0.56);
    background: var(--osx-primary-soft);
    color: var(--osx-primary);
}

.osx-empty {
    padding: 30px;
    color: var(--osx-muted);
    text-align: center;
}

.osx-article {
    padding: 30px 34px;
}

.osx-article-head {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--osx-border);
}

.osx-article-head h1 {
    margin: 13px 0;
    font-size: 34px;
    line-height: 1.3;
}

.osx-author-row {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--osx-muted);
    font-size: 13px;
}

.osx-author-row img {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0, 230, 168, 0.26);
    border-radius: 999px;
}

.osx-author-row strong,
.osx-author-row span {
    display: block;
}

.osx-article-cover {
    margin: 22px 0 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--osx-radius);
    background: #071019;
}

.osx-article-cover img {
    display: block;
    width: 100%;
}

.osx-content {
    color: #d3dde4;
    font-size: 16px;
    line-height: 1.88;
}

.osx-content h2,
.osx-content h3,
.osx-content h4 {
    color: var(--osx-text);
    line-height: 1.35;
}

.osx-content a {
    color: var(--osx-primary);
    border-bottom: 1px solid rgba(0, 230, 168, 0.34);
}

.osx-content pre,
.osx-content code {
    font-family: var(--osx-mono);
}

.osx-content pre {
    overflow-x: auto;
    padding: 16px;
    border: 1px solid var(--osx-border);
    border-radius: var(--osx-radius-sm);
    background: #05090d;
}

.osx-content code {
    color: #a7f3d0;
}

.osx-content blockquote {
    margin-left: 0;
    padding-left: 16px;
    border-left: 2px solid var(--osx-cyan);
    color: #b9c7cf;
}

.osx-content img {
    border-radius: var(--osx-radius-sm);
}

.osx-article-foot {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--osx-border);
}

.osx-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.osx-tag-list a {
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: var(--osx-radius-sm);
    background: var(--osx-cyan-soft);
    color: var(--osx-cyan);
    font-family: var(--osx-mono);
    font-size: 12px;
    font-weight: 800;
}

.osx-auth-wrap {
    display: grid;
    place-items: start center;
}

.osx-auth-card {
    width: min(460px, 100%);
}

.osx-auth-tabs,
.osx-status-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    overflow-x: auto;
}

.osx-auth-tabs a,
.osx-status-tabs a {
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: var(--osx-radius-sm);
    color: #9aabb6;
    font-family: var(--osx-mono);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.osx-auth-tabs a:hover,
.osx-status-tabs a:hover {
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(56, 189, 248, 0.08);
    color: var(--osx-cyan);
}

.osx-auth-tabs a.is-active,
.osx-status-tabs a.is-active {
    border-color: rgba(0, 230, 168, 0.58);
    background: var(--osx-primary-soft);
    color: var(--osx-primary);
}

.osx-form {
    display: grid;
    gap: 14px;
}

.osx-form h1,
.osx-form h2 {
    margin: 0;
}

.osx-form label {
    display: grid;
    gap: 6px;
    color: #c6d2da;
    font-size: 13px;
    font-weight: 800;
}

.osx-check {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8px;
}

.osx-check input {
    width: auto;
    min-height: 0;
    accent-color: var(--osx-primary);
}

.osx-notice {
    margin-bottom: 14px;
    padding: 12px 13px;
    border: 1px solid var(--osx-border);
    border-radius: var(--osx-radius-sm);
    background: rgba(10, 18, 26, 0.9);
    color: #cbd7df;
    font-size: 14px;
    font-weight: 700;
}

.osx-notice.is-success {
    border-color: rgba(0, 230, 168, 0.34);
    background: rgba(0, 230, 168, 0.1);
    color: #a7f3d0;
}

.osx-notice.is-error {
    border-color: rgba(255, 85, 119, 0.38);
    background: rgba(255, 85, 119, 0.1);
    color: #ffc2ce;
}

.osx-user-layout,
.osx-editor-layout {
    display: grid;
    grid-template-columns: 264px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.osx-editor-layout {
    grid-template-columns: minmax(0, 1fr) 328px;
}

.osx-user-nav {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 8px;
}

.osx-user-nav img {
    width: 64px;
    height: 64px;
    border-radius: 999px;
}

.osx-user-nav a {
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: var(--osx-radius-sm);
    color: #c6d2da;
    font-size: 13px;
    font-weight: 800;
}

.osx-user-nav a:hover,
.osx-user-nav a.is-active {
    border-color: rgba(0, 230, 168, 0.5);
    background: var(--osx-primary-soft);
    color: var(--osx-primary);
}

.osx-user-main {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.osx-grid-2,
.osx-grid-3 {
    display: grid;
    gap: 14px;
}

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

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

.osx-stat-card {
    display: grid;
    gap: 8px;
}

.osx-stat-card span,
.osx-muted {
    color: var(--osx-muted);
    font-size: 13px;
}

.osx-stat-card strong {
    color: var(--osx-primary);
    font-family: var(--osx-mono);
    font-size: 31px;
    line-height: 1;
}

.osx-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.osx-list-head h2 {
    margin: 0;
}

.osx-table {
    display: grid;
    border-top: 1px solid var(--osx-border);
}

.osx-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 64px;
    padding: 13px 0;
    border-bottom: 1px solid var(--osx-border);
}

.osx-row strong,
.osx-row span {
    display: block;
}

.osx-row span {
    color: var(--osx-muted);
    font-family: var(--osx-mono);
    font-size: 12px;
}

.osx-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.osx-row-actions a,
.osx-row-actions button {
    min-height: 31px;
    padding: 5px 9px;
    border: 1px solid var(--osx-border-strong);
    border-radius: var(--osx-radius-sm);
    background: rgba(9, 16, 23, 0.78);
    color: #cbd7df;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
}

.osx-row-actions a:hover,
.osx-row-actions button:hover {
    border-color: rgba(0, 230, 168, 0.55);
    background: var(--osx-primary-soft);
    color: var(--osx-primary);
}

.osx-editor-main {
    min-width: 0;
}

.osx-title-field {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.osx-title-field span {
    color: #c6d2da;
    font-size: 13px;
    font-weight: 800;
}

.osx-title-field input {
    min-height: 54px;
    font-size: 22px;
    font-weight: 800;
}

.osx-editor-side {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 14px;
}

.osx-editor-side .osx-card {
    display: grid;
    gap: 11px;
}

.osx-editor-side .osx-card .osx-btn {
    width: 100%;
}

.osx-check-list {
    display: grid;
    gap: 8px;
    max-height: 292px;
    overflow: auto;
    padding-right: 3px;
    scrollbar-color: var(--osx-border-strong) transparent;
}

.osx-category-pill {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 40px;
    padding: 8px 10px;
    overflow: hidden;
    border: 1px solid var(--osx-border);
    border-radius: var(--osx-radius-sm);
    background: rgba(7, 13, 19, 0.74);
    color: #c4d0d8;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.osx-category-pill input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    cursor: pointer;
    opacity: 0;
}

.osx-category-pill span,
.osx-category-pill em {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.osx-category-pill span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.osx-category-pill em {
    flex: 0 0 auto;
    min-width: 28px;
    padding: 2px 7px;
    border: 1px solid rgba(246, 195, 67, 0.26);
    border-radius: 999px;
    background: rgba(246, 195, 67, 0.08);
    color: var(--osx-amber);
    font-family: var(--osx-mono);
    font-style: normal;
    font-size: 11px;
    text-align: center;
}

.osx-category-pill:hover {
    border-color: rgba(56, 189, 248, 0.46);
    background: rgba(56, 189, 248, 0.08);
    color: var(--osx-cyan);
    transform: translateY(-1px);
}

.osx-category-pill:has(input:checked) {
    border-color: rgba(0, 230, 168, 0.66);
    background: linear-gradient(180deg, rgba(0, 230, 168, 0.17), rgba(0, 230, 168, 0.08));
    color: var(--osx-primary);
    box-shadow: 0 0 20px rgba(0, 230, 168, 0.08);
}

.osx-category-pill input:checked + span {
    color: var(--osx-primary);
}

.wp-editor-wrap {
    overflow: hidden;
    border: 1px solid var(--osx-border);
    border-radius: var(--osx-radius);
    background: rgba(6, 11, 16, 0.86);
}

.wp-editor-container {
    border: 0 !important;
}

.wp-editor-tabs .wp-switch-editor,
.quicktags-toolbar,
.mce-toolbar-grp,
.mce-statusbar {
    border-color: var(--osx-border) !important;
    background: #0a121a !important;
    color: #cbd7df !important;
}

.wp-editor-tabs .wp-switch-editor {
    border-radius: var(--osx-radius-sm) var(--osx-radius-sm) 0 0;
}

.mce-toolbar .mce-btn button,
.quicktags-toolbar input.button.button-small {
    color: #cbd7df !important;
}

.mce-toolbar .mce-btn:hover,
.quicktags-toolbar input.button.button-small:hover,
.wp-media-buttons .button:hover {
    border-color: rgba(0, 230, 168, 0.38) !important;
    background: rgba(0, 230, 168, 0.08) !important;
}

.wp-media-buttons .button {
    border-color: var(--osx-border-strong) !important;
    border-radius: var(--osx-radius-sm) !important;
    background: rgba(10, 18, 26, 0.84) !important;
    color: #cbd7df !important;
}

textarea.wp-editor-area {
    background: #05090d !important;
    color: var(--osx-text) !important;
}

.osx-footer {
    border-top: 1px solid rgba(0, 230, 168, 0.16);
    background: rgba(5, 9, 13, 0.94);
    color: var(--osx-muted);
    font-family: var(--osx-mono);
    font-size: 12px;
}

.osx-footer .osx-container {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
}

/* OSINTXLab visual refresh: global threat-intel console layer */
:root {
    --osx-bg: #020507;
    --osx-bg-deep: #010304;
    --osx-panel: #071017;
    --osx-panel-2: #0a141c;
    --osx-panel-3: #0f1f2a;
    --osx-text: #eef6f4;
    --osx-muted: #95a9b3;
    --osx-dim: #647b86;
    --osx-border: rgba(83, 121, 132, 0.35);
    --osx-border-strong: rgba(0, 230, 168, 0.34);
    --osx-primary: #00f5b0;
    --osx-primary-dark: #00b985;
    --osx-primary-soft: rgba(0, 245, 176, 0.11);
    --osx-cyan: #4fdcff;
    --osx-cyan-soft: rgba(79, 220, 255, 0.11);
    --osx-amber: #ffd166;
    --osx-danger: #ff4d6d;
    --osx-red-soft: rgba(255, 77, 109, 0.12);
    --osx-radius: 8px;
    --osx-radius-sm: 5px;
    --osx-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    --osx-shadow-glow: 0 0 34px rgba(0, 245, 176, 0.08), 0 0 58px rgba(79, 220, 255, 0.05);
}

::selection {
    background: rgba(0, 245, 176, 0.28);
    color: #f7fffd;
}

html {
    background: #010304;
}

body {
    background:
        linear-gradient(180deg, rgba(2, 5, 7, 0.9), rgba(1, 3, 4, 0.98) 58%, #010304),
        linear-gradient(110deg, rgba(0, 245, 176, 0.08), transparent 32%, rgba(79, 220, 255, 0.055) 74%, transparent),
        repeating-linear-gradient(0deg, rgba(79, 220, 255, 0.055) 0, rgba(79, 220, 255, 0.055) 1px, transparent 1px, transparent 46px),
        repeating-linear-gradient(90deg, rgba(0, 245, 176, 0.045) 0, rgba(0, 245, 176, 0.045) 1px, transparent 1px, transparent 46px),
        #020507;
    color: var(--osx-text);
    letter-spacing: 0;
}

body::before {
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.032) 0, rgba(255, 255, 255, 0.012) 1px, transparent 1px, transparent 5px),
        linear-gradient(90deg, rgba(0, 245, 176, 0.06), transparent 16%, transparent 84%, rgba(79, 220, 255, 0.05));
    opacity: 0.33;
}

body::after {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 13%, transparent 87%, rgba(0, 0, 0, 0.72)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.46), transparent 18%, transparent 72%, rgba(0, 0, 0, 0.72));
}

.osx-hud-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0, 245, 176, 0.14) 1px, transparent 1px) 0 0 / 180px 180px,
        linear-gradient(0deg, rgba(79, 220, 255, 0.12) 1px, transparent 1px) 0 0 / 180px 180px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.44), transparent 78%);
    opacity: 0.18;
}

.osx-site-header,
body > .osx-container,
.osx-footer {
    position: relative;
    z-index: 1;
}

.osx-container {
    width: min(1320px, calc(100% - 44px));
}

.osx-site-header {
    border-bottom: 1px solid rgba(0, 245, 176, 0.28);
    background:
        linear-gradient(180deg, rgba(3, 8, 11, 0.97), rgba(4, 11, 15, 0.91)),
        rgba(2, 5, 7, 0.94);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.5), 0 0 36px rgba(0, 245, 176, 0.07);
}

.osx-site-header::before {
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(0, 245, 176, 0.7), rgba(79, 220, 255, 0.55), transparent);
}

.osx-site-header::after {
    background: linear-gradient(90deg, transparent, rgba(0, 245, 176, 0.85), rgba(255, 209, 102, 0.5), rgba(79, 220, 255, 0.85), transparent);
    opacity: 0.8;
}

.osx-header-inner {
    grid-template-columns: minmax(240px, 1fr) minmax(320px, 520px) auto;
    row-gap: 0;
    min-height: 86px;
    padding-top: 8px;
}

.osx-header-hud {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 28px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(83, 121, 132, 0.22);
    color: var(--osx-dim);
    font-family: var(--osx-mono);
    font-size: 11px;
    font-weight: 800;
}

.osx-header-hud span {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.osx-header-hud span::before {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--osx-primary);
    box-shadow: 0 0 12px rgba(0, 245, 176, 0.85);
    content: "";
}

.osx-brand {
    isolation: isolate;
}

.osx-brand-mark {
    position: relative;
    width: 46px;
    height: 46px;
    border-color: rgba(0, 245, 176, 0.68);
    border-radius: 6px;
    background:
        linear-gradient(135deg, rgba(0, 245, 176, 0.22), rgba(79, 220, 255, 0.08) 56%, rgba(255, 209, 102, 0.06)),
        #02080b;
    color: #dffff6;
    text-shadow: 0 0 14px rgba(0, 245, 176, 0.7);
    box-shadow: inset 0 0 28px rgba(0, 245, 176, 0.11), 0 0 24px rgba(0, 245, 176, 0.15);
    clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}

.osx-brand-mark::before,
.osx-brand-mark::after {
    position: absolute;
    inset: 5px;
    pointer-events: none;
    border: 1px solid rgba(79, 220, 255, 0.28);
    content: "";
}

.osx-brand-mark::after {
    inset: auto 7px 7px auto;
    width: 8px;
    height: 8px;
    border: 0;
    background: var(--osx-amber);
    box-shadow: 0 0 14px rgba(255, 209, 102, 0.75);
}

.osx-brand strong {
    font-size: 19px;
    letter-spacing: 0;
}

.osx-brand em {
    color: #7f96a1;
    font-family: var(--osx-mono);
}

.osx-search {
    position: relative;
}

.osx-search::before {
    position: absolute;
    top: 50%;
    left: 12px;
    z-index: 1;
    color: rgba(0, 245, 176, 0.86);
    font-family: var(--osx-mono);
    font-size: 12px;
    content: ">";
    transform: translateY(-50%);
}

.osx-search input {
    padding-left: 30px;
}

.osx-search input,
.osx-form input,
.osx-form textarea,
.osx-editor-side input,
.osx-editor-side textarea,
.osx-title-field input {
    border-color: rgba(83, 121, 132, 0.42);
    background:
        linear-gradient(180deg, rgba(6, 15, 20, 0.94), rgba(3, 8, 11, 0.92)),
        rgba(3, 8, 11, 0.96);
    color: #eef6f4;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.018), inset 0 -18px 38px rgba(0, 245, 176, 0.018);
}

.osx-search input:focus,
.osx-form input:focus,
.osx-form textarea:focus,
.osx-editor-side input:focus,
.osx-editor-side textarea:focus,
.osx-title-field input:focus {
    border-color: rgba(0, 245, 176, 0.82);
    box-shadow: 0 0 0 3px rgba(0, 245, 176, 0.12), 0 0 24px rgba(0, 245, 176, 0.09), inset 0 0 0 1px rgba(0, 245, 176, 0.11);
}

.osx-search button,
.osx-btn,
.osx-row-actions button {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    font-family: var(--osx-mono);
    letter-spacing: 0;
}

.osx-search button::before,
.osx-btn::before,
.osx-row-actions button::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
    transform: translateX(-120%);
    transition: transform 0.35s ease;
}

.osx-search button:hover::before,
.osx-btn:hover::before,
.osx-row-actions button:hover::before {
    transform: translateX(120%);
}

.osx-search button,
.osx-btn.is-primary {
    background: linear-gradient(180deg, #21ffc4, #00c992);
    color: #00120d;
    text-shadow: none;
    box-shadow: 0 0 22px rgba(0, 245, 176, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.osx-btn.is-ghost {
    border-color: rgba(79, 220, 255, 0.3);
    background: linear-gradient(180deg, rgba(12, 27, 36, 0.92), rgba(5, 13, 18, 0.92));
    color: #d5e8ee;
}

.osx-main {
    padding: 30px 0 62px;
}

.osx-cat-nav {
    position: relative;
    border-color: rgba(0, 245, 176, 0.26);
    background:
        linear-gradient(180deg, rgba(8, 21, 27, 0.9), rgba(5, 12, 16, 0.9)),
        rgba(5, 12, 16, 0.88);
    box-shadow: var(--osx-shadow), var(--osx-shadow-glow), inset 0 0 0 1px rgba(255, 255, 255, 0.022);
}

.osx-cat-nav::before {
    flex: 0 0 auto;
    margin: 0 2px 0 4px;
    color: var(--osx-amber);
    font-family: var(--osx-mono);
    font-size: 12px;
    font-weight: 800;
    content: "CHANNELS";
}

.osx-cat-nav a {
    color: #a9bbc3;
}

.osx-cat-nav a:hover,
.osx-cat-nav a.is-active {
    box-shadow: inset 0 -1px 0 rgba(0, 245, 176, 0.28), 0 0 18px rgba(0, 245, 176, 0.09);
}

.osx-page-head {
    position: relative;
    align-items: flex-end;
    margin-bottom: 24px;
    padding: 42px 24px 22px;
    overflow: hidden;
    border: 1px solid rgba(0, 245, 176, 0.3);
    border-left: 3px solid var(--osx-primary);
    border-radius: var(--osx-radius);
    background:
        linear-gradient(90deg, rgba(0, 245, 176, 0.13), transparent 48%),
        linear-gradient(180deg, rgba(10, 24, 31, 0.86), rgba(4, 10, 14, 0.86));
    box-shadow: var(--osx-shadow), var(--osx-shadow-glow);
}

.osx-page-head::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 28px;
    padding: 7px 14px 0;
    border-bottom: 1px solid rgba(83, 121, 132, 0.25);
    background: rgba(1, 5, 7, 0.46);
    color: rgba(0, 245, 176, 0.78);
    font-family: var(--osx-mono);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    content: "root@osintxlab:~/intel";
}

.osx-page-head::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 190px;
    height: 100%;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(135deg, transparent 0 46%, rgba(79, 220, 255, 0.16) 46% 48%, transparent 48%),
        linear-gradient(180deg, rgba(79, 220, 255, 0.08), transparent);
    opacity: 0.72;
}

.osx-page-head span:first-child {
    color: var(--osx-amber);
    text-transform: uppercase;
}

.osx-page-head h1 {
    max-width: 860px;
    font-size: clamp(28px, 3vw, 42px);
    letter-spacing: 0;
    text-shadow: 0 0 24px rgba(0, 245, 176, 0.12);
}

.osx-page-head p {
    color: #a9bbc3;
}

.osx-stats span {
    border-color: rgba(79, 220, 255, 0.24);
    background: rgba(3, 10, 14, 0.72);
    color: #cfe0e6;
}

.osx-card {
    overflow: visible;
    border-color: rgba(83, 121, 132, 0.34);
    background:
        linear-gradient(180deg, rgba(9, 22, 29, 0.94), rgba(4, 10, 14, 0.96)),
        rgba(4, 10, 14, 0.96);
    box-shadow: var(--osx-shadow), var(--osx-shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.osx-card > *,
.osx-page-head > * {
    position: relative;
    z-index: 1;
}

.osx-card::before {
    background:
        linear-gradient(90deg, rgba(0, 245, 176, 0.16), transparent 18%, transparent 82%, rgba(79, 220, 255, 0.13)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 34%);
    box-shadow: inset 0 0 0 1px rgba(0, 245, 176, 0.035);
}

.osx-card::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(90deg, var(--osx-primary), var(--osx-primary)) 0 0 / 42px 1px no-repeat,
        linear-gradient(180deg, var(--osx-primary), var(--osx-primary)) 0 0 / 1px 42px no-repeat,
        linear-gradient(90deg, var(--osx-cyan), var(--osx-cyan)) 100% 100% / 42px 1px no-repeat,
        linear-gradient(180deg, var(--osx-cyan), var(--osx-cyan)) 100% 100% / 1px 42px no-repeat;
    opacity: 0.34;
}

.osx-post-card {
    grid-template-columns: 238px minmax(0, 1fr);
    gap: 20px;
    overflow: hidden;
    padding: 16px;
}

.osx-post-card::after {
    opacity: 0.22;
}

.osx-post-card:hover {
    border-color: rgba(0, 245, 176, 0.58);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5), 0 0 34px rgba(0, 245, 176, 0.12);
}

.osx-post-thumb {
    position: relative;
    border-color: rgba(79, 220, 255, 0.18);
    background: #02080b;
}

.osx-post-thumb::before,
.osx-post-thumb::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    content: "";
}

.osx-post-thumb::before {
    background:
        linear-gradient(90deg, rgba(0, 245, 176, 0.18) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(0deg, rgba(79, 220, 255, 0.12) 1px, transparent 1px) 0 0 / 32px 32px;
    mix-blend-mode: screen;
    opacity: 0.18;
}

.osx-post-thumb::after {
    border: 1px solid rgba(0, 245, 176, 0.18);
    background:
        linear-gradient(90deg, transparent 0 48%, rgba(0, 245, 176, 0.32) 48% 52%, transparent 52%) 50% 50% / 46px 1px no-repeat,
        linear-gradient(180deg, transparent 0 48%, rgba(0, 245, 176, 0.32) 48% 52%, transparent 52%) 50% 50% / 1px 46px no-repeat;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.osx-post-card:hover .osx-post-thumb::after {
    opacity: 0.9;
}

.osx-post-meta a {
    border-color: rgba(0, 245, 176, 0.46);
    background: rgba(0, 245, 176, 0.1);
}

.osx-post-card.osx-card h2 {
    display: block;
    font-family: inherit;
    font-size: 21px;
}

.osx-post-card.osx-card h2::before {
    content: none;
}

.osx-post-card.osx-card h2 a {
    background-image: linear-gradient(90deg, rgba(0, 245, 176, 0.72), rgba(79, 220, 255, 0.6));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 1px;
    transition: color 0.18s ease, background-size 0.18s ease;
}

.osx-post-card.osx-card h2 a:hover {
    background-size: 100% 1px;
}

.osx-post-foot span::before {
    color: rgba(0, 245, 176, 0.72);
    content: "// ";
}

.osx-sidebar {
    top: 120px;
    gap: 16px;
}

.osx-user-nav,
.osx-editor-side {
    top: 120px;
}

body.admin-bar .osx-sidebar,
body.admin-bar .osx-user-nav,
body.admin-bar .osx-editor-side {
    top: 152px;
}

.osx-sidebar h2,
.osx-card h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--osx-mono);
    letter-spacing: 0;
}

.osx-sidebar h2::before,
.osx-card h2::before {
    width: 7px;
    height: 18px;
    border-radius: 1px;
    background: linear-gradient(180deg, var(--osx-primary), var(--osx-cyan));
    box-shadow: 0 0 14px rgba(0, 245, 176, 0.4);
    content: "";
}

.osx-account-card strong,
.osx-user-nav strong {
    color: #f4fffb;
    font-family: var(--osx-mono);
}

.osx-side-list a,
.osx-account-card a:not(.osx-btn),
.osx-user-nav a {
    background: rgba(2, 8, 11, 0.36);
}

.osx-hot-list span {
    border-color: rgba(255, 209, 102, 0.4);
    background: rgba(255, 209, 102, 0.12);
}

.osx-article {
    padding: 34px 38px;
}

.osx-article-head {
    position: relative;
    padding-bottom: 24px;
    border-bottom-color: rgba(83, 121, 132, 0.32);
}

.osx-article-head h1 {
    font-size: clamp(30px, 3.2vw, 46px);
    letter-spacing: 0;
}

.osx-author-row {
    padding: 10px;
    border: 1px solid rgba(83, 121, 132, 0.25);
    border-radius: var(--osx-radius-sm);
    background: rgba(2, 8, 11, 0.36);
}

.osx-article-cover {
    border-color: rgba(79, 220, 255, 0.22);
    box-shadow: inset 0 0 0 1px rgba(0, 245, 176, 0.04);
}

.osx-content {
    color: #dce9ed;
    line-height: 1.92;
}

.osx-content h2,
.osx-content h3,
.osx-content h4 {
    margin-top: 1.6em;
    font-family: var(--osx-mono);
}

.osx-content h2 {
    padding-left: 12px;
    border-left: 2px solid var(--osx-primary);
}

.osx-content pre {
    border-color: rgba(0, 245, 176, 0.2);
    background:
        linear-gradient(180deg, rgba(1, 7, 10, 0.96), rgba(1, 4, 6, 0.96)),
        #010406;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.osx-content code {
    color: #b8ffe8;
}

.osx-content :not(pre) > code {
    padding: 2px 5px;
    border: 1px solid rgba(0, 245, 176, 0.18);
    border-radius: 4px;
    background: rgba(0, 245, 176, 0.08);
}

.osx-content blockquote {
    padding: 13px 16px;
    border: 1px solid rgba(79, 220, 255, 0.2);
    border-left: 3px solid var(--osx-cyan);
    border-radius: var(--osx-radius-sm);
    background: rgba(79, 220, 255, 0.06);
}

.osx-auth-wrap {
    min-height: calc(100vh - 220px);
    align-items: center;
}

.osx-auth-card {
    width: min(492px, 100%);
    overflow: hidden;
}

.osx-auth-card::before {
    background:
        linear-gradient(90deg, rgba(0, 245, 176, 0.18), transparent 52%, rgba(79, 220, 255, 0.16)),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 5px);
}

.osx-auth-tabs,
.osx-status-tabs {
    padding-bottom: 2px;
}

.osx-auth-tabs a,
.osx-status-tabs a {
    background: rgba(2, 8, 11, 0.4);
}

.osx-form label,
.osx-title-field span {
    color: #d1e2e7;
    font-family: var(--osx-mono);
}

.osx-notice {
    border-color: rgba(79, 220, 255, 0.24);
    background: rgba(4, 14, 19, 0.9);
}

.osx-user-layout,
.osx-editor-layout {
    gap: 24px;
}

.osx-user-nav {
    gap: 10px;
}

.osx-user-nav img,
.osx-account-card img,
.osx-author-row img {
    box-shadow: 0 0 0 2px rgba(0, 245, 176, 0.08), 0 0 22px rgba(0, 245, 176, 0.13);
}

.osx-stat-card {
    min-height: 126px;
    justify-content: end;
}

.osx-stat-card span {
    font-family: var(--osx-mono);
    text-transform: uppercase;
}

.osx-stat-card strong {
    font-size: 38px;
    text-shadow: 0 0 22px rgba(0, 245, 176, 0.24);
}

.osx-row {
    border-bottom-color: rgba(83, 121, 132, 0.26);
}

.osx-row:hover {
    background: linear-gradient(90deg, rgba(0, 245, 176, 0.05), transparent);
}

.osx-row-actions a,
.osx-row-actions button {
    font-family: var(--osx-mono);
}

.osx-title-field input {
    min-height: 60px;
    font-family: var(--osx-mono);
}

.wp-editor-wrap {
    border-color: rgba(83, 121, 132, 0.44);
    box-shadow: var(--osx-shadow-glow);
}

.wp-editor-tabs .wp-switch-editor,
.quicktags-toolbar,
.mce-toolbar-grp,
.mce-statusbar {
    background: #061018 !important;
}

.wp-media-buttons .button {
    font-family: var(--osx-mono) !important;
}

.osx-footer {
    border-top-color: rgba(0, 245, 176, 0.26);
    background:
        linear-gradient(180deg, rgba(3, 8, 11, 0.96), rgba(1, 4, 6, 0.98)),
        #010406;
}

.osx-footer .osx-container {
    align-items: center;
}

.osx-footer span:last-child {
    color: rgba(0, 245, 176, 0.72);
}

@media (max-width: 1100px) {
    .osx-layout,
    .osx-user-layout,
    .osx-editor-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .osx-sidebar,
    .osx-user-nav,
    .osx-editor-side {
        position: static;
    }

    body.admin-bar .osx-sidebar,
    body.admin-bar .osx-user-nav,
    body.admin-bar .osx-editor-side {
        top: auto;
    }

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

@media (max-width: 782px) {
    body.admin-bar .osx-site-header {
        top: 46px;
    }
}

@media (max-width: 760px) {
    .osx-container {
        width: min(100% - 20px, 1280px);
    }

    .osx-header-inner {
        grid-template-columns: minmax(0, 1fr);
        padding: 10px 0;
    }

    .osx-brand {
        width: 100%;
    }

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

    .osx-actions,
    .osx-page-head,
    .osx-list-head,
    .osx-row {
        align-items: stretch;
        flex-direction: column;
        grid-template-columns: minmax(0, 1fr);
    }

    .osx-actions .osx-btn,
    .osx-search button {
        width: 100%;
    }

    .osx-page-head {
        display: grid;
        padding-left: 14px;
    }

    .osx-page-head h1 {
        font-size: 25px;
    }

    .osx-stats {
        justify-content: flex-start;
    }

    .osx-post-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .osx-post-foot a {
        width: 100%;
        margin-left: 0;
        text-align: center;
    }

    .osx-article {
        padding: 20px 16px;
    }

    .osx-article-head h1 {
        font-size: 25px;
    }

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

    .osx-footer .osx-container {
        flex-direction: column;
    }

    .osx-header-hud {
        flex-wrap: wrap;
        justify-content: flex-start;
        min-height: 0;
    }

    .osx-header-hud span {
        white-space: normal;
    }

    .osx-cat-nav::before {
        margin: 0 4px;
    }

    .osx-page-head {
        padding: 40px 16px 18px;
    }

    .osx-post-card {
        gap: 14px;
    }

    .osx-auth-wrap {
        min-height: auto;
        place-items: start stretch;
    }
}
