/* ==========================================================================
   久存网 · 全站样式
   浅蓝、留白、编辑感。不依赖任何外部字体或图标 CDN。
   ========================================================================== */

:root {
    --blue-25: #f8fbff;
    --blue-50: #f2f8ff;
    --blue-75: #ecf5ff;
    --blue-100: #e2f0ff;
    --blue-200: #c9e4ff;
    --blue-300: #9dccff;
    --blue-400: #66a9ff;
    --blue-500: #2f7cf6;
    --blue-600: #1f68e0;
    --blue-700: #1956bd;
    --cyan-400: #36c6d8;
    --cyan-500: #1fb6c9;
    --teal-500: #22b8a6;
    --ink: #0e2039;
    --ink-2: #2c4566;
    --muted: #6e86a4;
    --muted-2: #8fa3bb;
    --line: #e3edf9;
    --line-strong: #d4e5f8;
    --surface: #ffffff;
    --canvas: #f7fbff;
    --canvas-deep: #eff7ff;
    --premium: #f0a22e;
    --premium-soft: #fff5e3;
    --danger: #e45668;
    --success: #22a06b;
    --shadow-xs: 0 1px 2px rgba(20, 61, 110, 0.04);
    --shadow-sm: 0 4px 14px rgba(35, 85, 150, 0.06);
    --shadow-md: 0 14px 40px rgba(38, 90, 160, 0.09);
    --shadow-lg: 0 28px 70px rgba(30, 82, 150, 0.14);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --container: 1240px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

img,
svg {
    max-width: 100%;
}

img {
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

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

button {
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

figure,
blockquote,
dl,
dd {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
p {
    margin: 0;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.22;
}

::selection {
    background: #cfe6ff;
    color: var(--ink);
}

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

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 999;
    padding: 10px 16px;
    background: var(--blue-600);
    color: #fff;
    border-radius: 10px;
    transform: translateY(-150%);
    transition: transform 0.2s;
}

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

.icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    vertical-align: -0.2em;
}

.eyebrow {
    display: inline-block;
    color: var(--blue-600);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1.4;
}

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

.text-success {
    color: var(--success);
}

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

.mono {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 12px;
}

/* Buttons ----------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

.btn .icon {
    width: 18px;
    height: 18px;
}

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

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--blue-500), #50a4ff);
    box-shadow: 0 8px 20px rgba(47, 124, 246, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    box-shadow: 0 10px 26px rgba(47, 124, 246, 0.32);
}

.btn-outline {
    color: var(--blue-600);
    border-color: var(--blue-200);
    background: #fff;
}

.btn-outline:hover {
    border-color: var(--blue-400);
    background: var(--blue-50);
}

.btn-light {
    color: var(--ink-2);
    background: #f1f6fd;
    border-color: #e6eef8;
}

.btn-light:hover {
    background: #e9f2fc;
}

.btn-ghost {
    color: var(--ink-2);
    background: transparent;
}

.btn-ghost:hover {
    background: var(--blue-50);
    color: var(--blue-600);
}

.btn-glass {
    color: var(--blue-700);
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
}

.btn-glass:hover {
    background: #fff;
}

.btn-white {
    color: var(--blue-700);
    background: #fff;
    box-shadow: 0 12px 30px rgba(10, 55, 120, 0.18);
}

.btn-white:hover {
    background: #f5faff;
}

.btn-glass-dark {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.btn-glass-dark:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-lg {
    min-height: 52px;
    padding-inline: 28px;
    font-size: 15px;
}

.btn-sm {
    min-height: 36px;
    padding-inline: 16px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

.btn-wide {
    width: 100%;
    margin-top: 34px;
    border-style: dashed;
}

.btn:disabled,
.btn.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--blue-600);
    font-size: 13px;
    font-weight: 600;
}

.text-link:hover {
    color: var(--blue-700);
}

.text-link .icon {
    width: 16px;
    height: 16px;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--muted);
    background: #fff;
    transition: all 0.2s;
}

.icon-button:hover {
    color: var(--blue-600);
    border-color: var(--blue-200);
    background: var(--blue-50);
}

.icon-button .icon {
    width: 17px;
    height: 17px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.pill .icon {
    width: 13px;
    height: 13px;
}

.pill-white {
    color: var(--blue-700);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
}

.pill-glass {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
}

.pill-premium {
    color: #925b08;
    background: var(--premium-soft);
    border: 1px solid #f6d9a6;
}

.pill-soft {
    color: var(--blue-700);
    background: var(--blue-75);
}

.pill-free {
    color: var(--success);
    background: #effbf4;
}

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    line-height: 1;
    background: var(--blue-500);
    object-fit: cover;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-xs { width: 20px; height: 20px; font-size: 10px; }
.avatar-sm { width: 32px; height: 32px; font-size: 12px; }
.avatar-md { width: 42px; height: 42px; font-size: 15px; }
.avatar-lg { width: 56px; height: 56px; font-size: 20px; }
.avatar-xl { width: 78px; height: 78px; font-size: 28px; }
.avatar-xxl { width: 104px; height: 104px; font-size: 36px; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 7px;
    font-size: 11.5px;
    font-weight: 600;
}

.badge-blue {
    color: var(--blue-700);
    background: var(--blue-75);
}

.badge-success {
    color: #167a50;
    background: #edfaf3;
}

/* Forms ------------------------------------------------------------------- */
.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.field-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 600;
}

.field-label small {
    color: var(--muted-2);
    font-weight: 400;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    min-height: 46px;
    padding: 11px 15px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: #fbfdff;
    color: var(--ink);
    font-size: 14px;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.field textarea {
    min-height: 96px;
    resize: vertical;
    line-height: 1.7;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--blue-400);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(47, 124, 246, 0.1);
}

.field input::placeholder,
.field textarea::placeholder {
    color: #a5b6ca;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon > .icon {
    position: absolute;
    left: 15px;
    width: 18px;
    height: 18px;
    color: var(--muted-2);
    pointer-events: none;
}

.input-with-icon input {
    padding-left: 43px;
}

.input-with-action input {
    padding-right: 46px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: var(--muted);
}

.password-toggle:hover {
    background: var(--blue-50);
    color: var(--blue-600);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 6px;
}

.form-hint {
    margin: 0;
    color: var(--muted-2);
    font-size: 12px;
    line-height: 1.6;
}

.form-hint strong {
    color: var(--ink-2);
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--ink-2);
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox input {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: var(--blue-500);
}

.checkbox a {
    color: var(--blue-600);
}

/* Header ----------------------------------------------------------------- */
.topbar {
    background: #eff7ff;
    border-bottom: 1px solid #e3eefb;
    color: #5b7697;
    font-size: 12px;
    line-height: 1;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 37px;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 13px;
    white-space: nowrap;
}

.topbar-left {
    letter-spacing: 0.01em;
}

.topbar-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-500);
    box-shadow: 0 0 0 4px rgba(47, 124, 246, 0.12);
}

.topbar-sep {
    width: 1px;
    height: 11px;
    background: #d3e3f5;
}

.topbar-right a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #587495;
}

.topbar-right a:hover {
    color: var(--blue-600);
}

.topbar-mini-icon .icon {
    width: 14px;
    height: 14px;
}

.topbar-register {
    color: var(--blue-600) !important;
    font-weight: 700;
}

.topbar-user {
    color: var(--ink-2) !important;
    font-weight: 600;
}

.topbar-link-button {
    color: #6e86a4;
    font-size: 12px;
    padding: 0;
}

.topbar-link-button:hover {
    color: var(--blue-600);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(227, 237, 249, 0.85);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 30px;
    min-height: 84px;
}

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

.brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(145deg, #57a8ff 0%, var(--blue-500) 55%, #2368d9 100%);
    box-shadow: 0 8px 18px rgba(47, 124, 246, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.brand-mark svg {
    width: 29px;
    height: 29px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-text strong {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1.1;
    color: var(--ink);
}

.brand-text small {
    color: var(--muted);
    font-size: 10.5px;
    letter-spacing: 0.06em;
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 470px;
    height: 46px;
    padding: 0 5px 0 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #f3f8ff;
    transition: all 0.2s var(--ease);
}

.header-search:focus-within {
    border-color: var(--blue-300);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(47, 124, 246, 0.09), var(--shadow-sm);
}

.search-icon {
    display: grid;
    place-items: center;
    color: var(--muted);
}

.search-icon .icon {
    width: 18px;
    height: 18px;
}

.header-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 12px;
    border: 0;
    background: transparent;
    font-size: 13.5px;
    outline: none;
}

.header-search input::placeholder {
    color: #96aac3;
}

.header-search button {
    height: 36px;
    padding: 0 17px;
    border-radius: 999px;
    color: #fff;
    background: var(--blue-500);
    font-size: 12.5px;
    font-weight: 600;
}

.header-search button:hover {
    background: var(--blue-600);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.header-cloud {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 13px;
    border-radius: 999px;
    color: var(--blue-700);
    background: var(--blue-75);
    font-size: 12.5px;
    font-weight: 600;
}

.header-cloud:hover {
    background: var(--blue-100);
}

.header-cloud .icon {
    width: 16px;
    height: 16px;
}

.account {
    position: relative;
}

.account-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 4px 8px 4px 5px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.account-trigger:hover,
.account.is-open .account-trigger {
    border-color: var(--line);
    background: var(--blue-25);
}

.account-name {
    max-width: 84px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
}

.chevron {
    width: 14px;
    height: 14px;
    color: var(--muted-2);
    transition: transform 0.2s;
}

.account.is-open .chevron {
    transform: rotate(180deg);
}

.account-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 100;
    width: 232px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s var(--ease);
}

.account.is-open .account-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-menu-head {
    display: flex;
    flex-direction: column;
    padding: 11px 12px 12px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 6px;
}

.account-menu-head strong {
    font-size: 14px;
}

.account-menu-head span {
    color: var(--muted-2);
    font-size: 11.5px;
}

.account-menu > a,
.account-logout button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 500;
    text-align: left;
}

.account-menu > a:hover,
.account-logout button:hover {
    color: var(--blue-600);
    background: var(--blue-50);
}

.account-menu .icon {
    width: 16px;
    height: 16px;
    color: var(--muted);
}

.account-menu .account-memory-entry {
    color: var(--blue-700);
    background: var(--blue-50);
    font-weight: 600;
}

.account-menu .account-memory-entry .icon {
    color: var(--blue-500);
}

.account-menu-split {
    padding: 9px 12px 3px;
    border-top: 1px solid var(--line);
    margin-top: 5px;
    color: #a1b2c5;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.account-menu .admin-entry {
    color: var(--blue-600);
    border-top: 1px solid var(--line);
    border-radius: 0 0 9px 9px;
    margin-top: 5px;
    padding-top: 12px;
}

.account-logout {
    border-top: 1px solid var(--line);
    margin-top: 5px;
    padding-top: 5px;
}

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

.account-logout button .icon {
    color: var(--danger);
}

.main-nav {
    position: relative;
    z-index: 80;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 2px;
    min-height: 54px;
}

.nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 54px;
    padding: 0 17px;
    color: #4d6685;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.nav-item::after {
    content: "";
    position: absolute;
    left: 17px;
    right: 17px;
    bottom: -1px;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: var(--blue-500);
    transform: scaleX(0);
    transition: transform 0.2s var(--ease);
}

.nav-item:hover,
.nav-item.is-active {
    color: var(--blue-600);
}

.nav-item:hover::after,
.nav-item.is-active::after {
    transform: scaleX(1);
}

.nav-item .chevron {
    width: 13px;
    height: 13px;
}

.nav-has-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 90;
    width: 620px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 0 0 20px 20px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-7px);
    transition: all 0.2s var(--ease);
}

.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 0 6px 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 10px;
}

.nav-dropdown-head > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.nav-dropdown-head strong {
    font-size: 16px;
}

.nav-dropdown-head a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--blue-600);
    font-size: 12px;
    font-weight: 600;
}

.nav-dropdown-head .icon {
    width: 14px;
    height: 14px;
}

.nav-dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 10px;
}

.nav-dropdown-grid > a {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 10px;
    border-radius: 12px;
    transition: background 0.2s;
}

.nav-dropdown-grid > a:hover {
    background: var(--blue-50);
}

.nav-dropdown-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: var(--blue-600);
    background: var(--blue-75);
}

.nav-dropdown-icon .icon {
    width: 17px;
    height: 17px;
}

.nav-dropdown-grid span:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.nav-dropdown-grid strong {
    font-size: 13px;
}

.nav-dropdown-grid small {
    overflow: hidden;
    color: var(--muted-2);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-drive {
    color: var(--blue-600);
    font-weight: 600;
}

.nav-drive .icon {
    width: 17px;
    height: 17px;
}

.nav-novel {
    color: var(--blue-700);
    font-weight: 600;
}

.nav-novel .icon {
    width: 15px;
    height: 15px;
    color: var(--blue-500);
}

.nav-memory {
    color: var(--blue-700);
    font-weight: 600;
}

.nav-memory .icon {
    width: 16px;
    height: 16px;
    color: var(--cyan-500);
}

.nav-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan-400);
}

.nav-spacer {
    flex: 1;
}

.nav-user-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 12.5px;
    white-space: nowrap;
}

.nav-user-link:hover {
    color: var(--blue-600);
}

.nav-user-link .icon {
    width: 15px;
    height: 15px;
}

.mobile-menu-button,
.mobile-search,
.mobile-channels {
    display: none;
}

/* Breadcrumb -------------------------------------------------------------- */
.breadcrumb-bar {
    background: #fbfdff;
    border-bottom: 1px solid #edf4fc;
}

.breadcrumbs ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 44px;
    list-style: none;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--muted-2);
    font-size: 12px;
}

.breadcrumbs a {
    color: #6f86a2;
    max-width: 340px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.breadcrumbs a:hover {
    color: var(--blue-600);
}

.breadcrumbs span[aria-current="page"] {
    color: var(--ink-2);
    font-weight: 500;
    max-width: 560px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.crumb-home {
    width: 14px;
    height: 14px;
    margin-right: 1px;
}

.crumb-sep {
    width: 12px;
    height: 12px;
    color: #b3c3d5;
}

/* Footer ------------------------------------------------------------------ */
.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    border-top: 1px solid #e2eefb;
    background:
        radial-gradient(700px 300px at 88% 0%, rgba(129, 199, 255, 0.16), transparent 65%),
        linear-gradient(180deg, #f1f9ff, #f8fcff 62%, #f2f9ff);
}

.footer-glow {
    position: absolute;
    top: -180px;
    left: 8%;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(120, 191, 255, 0.13), transparent 68%);
    pointer-events: none;
}

.footer-main {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) repeat(3, minmax(0, 0.7fr));
    gap: 38px;
    padding: 54px 0 34px;
}

.footer-brand {
    max-width: 390px;
}

.footer-brand-link {
    margin-bottom: 14px;
}

.footer-brand .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    box-shadow: 0 5px 12px rgba(47, 124, 246, 0.18);
}

.footer-brand .brand-mark svg {
    width: 21px;
    height: 21px;
}

.footer-brand .brand-text strong {
    font-size: 20px;
}

.footer-brand > p {
    max-width: 350px;
    color: #6b84a0;
    font-size: 11.5px;
    line-height: 1.85;
}

.footer-contact {
    margin-top: 13px;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--blue-600);
    font-size: 11px;
}

.footer-contact .icon {
    width: 13px;
    height: 13px;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.footer-badges span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border: 1px solid #dcebfa;
    border-radius: 6px;
    color: #7790aa;
    background: rgba(255, 255, 255, 0.52);
    font-size: 9px;
}

.footer-badges .icon {
    width: 11px;
    height: 11px;
    color: var(--blue-400);
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.footer-col h3 {
    margin-bottom: 5px;
    color: #294764;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.footer-col a {
    color: #6d86a0;
    font-size: 11px;
    line-height: 1.55;
}

.footer-col a:hover {
    color: var(--blue-600);
}

.footer-bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 54px;
    border-top: 1px solid #dceafa;
    color: #91a6bb;
    font-size: 9.5px;
}

.footer-copy,
.footer-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.footer-copy a:hover,
.footer-meta a:hover {
    color: var(--blue-600);
}

.footer-sep {
    color: #c0cfdf;
}

.footer-meta {
    gap: 13px;
}

.footer-top {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #7890aa;
    font-size: 9.5px;
}

.footer-top:hover {
    color: var(--blue-600);
}

.footer-top .icon {
    width: 11px;
    height: 11px;
}

/* Flash & toast ----------------------------------------------------------- */
.flash-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.flash {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 13px;
    animation: slideDown 0.25s var(--ease);
}

.flash-icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
}

.flash-icon .icon {
    width: 15px;
    height: 15px;
}

.flash-close {
    display: grid;
    place-items: center;
    margin-left: auto;
    color: currentColor;
    opacity: 0.55;
}

.flash-close:hover {
    opacity: 1;
}

.flash-close .icon {
    width: 14px;
    height: 14px;
}

.flash-success { color: #146c4a; background: #effbf4; border-color: #ccefdc; }
.flash-error { color: #9c2f3f; background: #fff3f4; border-color: #f6d3d8; }
.flash-info { color: #245c9e; background: #eff7ff; border-color: #d3e8ff; }

.toast-stack {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 220px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    color: var(--ink-2);
    font-size: 13px;
    pointer-events: auto;
    animation: toastIn 0.25s var(--ease);
}

.toast .icon {
    width: 17px;
    height: 17px;
    color: var(--success);
}

.toast.is-error .icon {
    color: var(--danger);
}

.toast.is-out {
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.25s;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Modals & lightbox ------------------------------------------------------- */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 240;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(14, 35, 62, 0.4);
    backdrop-filter: blur(5px);
}

.modal-backdrop[hidden],
.lightbox[hidden],
.drive-context-menu[hidden] {
    display: none;
}

.modal {
    width: min(520px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.22s var(--ease);
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 23px 24px 16px;
}

.modal-head h2 {
    font-size: 21px;
}

.modal-head .eyebrow {
    margin-bottom: 4px;
}

.modal-close {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--muted);
    background: var(--blue-50);
}

.modal-close:hover {
    color: var(--ink);
    background: #e9f2fc;
}

.modal-close .icon {
    width: 16px;
    height: 16px;
}

.modal-body {
    padding: 0 24px 20px;
}

.modal-body > p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px 22px;
    border-top: 1px solid var(--line);
}

.reward-intro {
    margin-bottom: 16px !important;
}

.reward-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.reward-chip {
    min-width: 58px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: #fff;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 600;
}

.reward-chip:hover,
.reward-chip.is-active {
    color: var(--blue-600);
    border-color: var(--blue-300);
    background: var(--blue-50);
}

.reward-custom {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
}

.reward-custom span {
    color: var(--muted);
    font-size: 13px;
}

.reward-custom input {
    width: 66px;
    border: 0;
    outline: none;
    font-size: 13px;
    font-weight: 600;
    background: transparent;
}

.modal-reward .modal-body {
    padding-bottom: 8px;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 260;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 30px;
    background: rgba(7, 21, 40, 0.92);
}

.lightbox figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: min(1200px, 88vw);
    max-height: 90vh;
}

.lightbox img {
    max-width: 100%;
    max-height: calc(90vh - 40px);
    object-fit: contain;
    border-radius: 8px;
}

.lightbox figcaption {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.lightbox-close,
.lightbox-nav {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.lightbox-close {
    position: absolute;
    top: 22px;
    right: 24px;
}

.lightbox-nav:hover,
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 82px;
    z-index: 120;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--blue-600);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top .icon {
    width: 17px;
    height: 17px;
}

/* ==========================================================================
   Home
   ========================================================================== */
.home-hero {
    position: relative;
    overflow: hidden;
    padding: 54px 0 0;
    background:
        radial-gradient(1000px 520px at 8% 10%, rgba(123, 191, 255, 0.26), transparent 60%),
        radial-gradient(900px 500px at 92% 0%, rgba(91, 183, 255, 0.18), transparent 55%),
        linear-gradient(135deg, #f2f9ff 0%, #fbfdff 50%, #eef8ff 100%);
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(47, 124, 246, 0.13) 0.7px, transparent 0.7px);
    background-size: 24px 24px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 72%);
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
}

.hero-orb-1 {
    top: -160px;
    right: 36%;
    width: 390px;
    height: 390px;
    background: radial-gradient(circle, rgba(121, 192, 255, 0.23), transparent 68%);
}

.hero-orb-2 {
    bottom: -80px;
    left: -120px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(78, 169, 255, 0.16), transparent 68%);
}

.home-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 58px;
    align-items: center;
    padding-bottom: 46px;
}

.hero-copy {
    padding: 16px 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 6px 13px 6px 9px;
    border: 1px solid rgba(47, 124, 246, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    color: var(--blue-700);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
}

.hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-500);
    box-shadow: 0 0 0 4px rgba(47, 124, 246, 0.12);
}

.hero-copy h1 {
    margin-bottom: 20px;
    font-size: clamp(44px, 4.5vw, 67px);
    font-weight: 800;
    line-height: 1.11;
    letter-spacing: -0.055em;
}

.text-gradient {
    color: transparent;
    background: linear-gradient(100deg, #1f68e0 0%, #2f7cf6 45%, #35b4e8 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-lead {
    max-width: 460px;
    color: #506a8a;
    font-size: 16px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin: 30px 0 34px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-top: 1px solid rgba(47, 124, 246, 0.14);
    padding-top: 22px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    min-width: 104px;
    padding-right: 24px;
    margin-right: 24px;
    border-right: 1px solid rgba(47, 124, 246, 0.13);
}

.hero-stat:last-child {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
}

.hero-stat strong {
    color: var(--ink);
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.hero-stat strong span {
    margin-left: 2px;
    font-size: 14px;
    font-weight: 700;
}

.hero-stat > span:last-child {
    color: var(--muted);
    font-size: 11.5px;
}

.hero-stat-note {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    padding-top: 5px;
}

.hero-stat-note > span:last-child {
    font-size: 11.5px;
    line-height: 1.55;
}

.hero-stat-note small {
    color: var(--muted-2);
    font-size: 10.5px;
}

.live-dot {
    width: 6px;
    height: 6px;
    margin-top: 5px;
    border-radius: 50%;
    background: var(--cyan-400);
    box-shadow: 0 0 0 4px rgba(54, 198, 216, 0.15);
}

.hero-collage {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.95fr);
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    height: 518px;
}

.hero-feature,
.hero-mini {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 24px;
    color: #fff;
    background: #b7d8f7;
    box-shadow: 0 18px 45px rgba(30, 82, 150, 0.16);
    isolation: isolate;
}

.hero-feature {
    grid-row: 1 / 3;
}

.hero-feature img,
.hero-mini img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.hero-feature:hover img,
.hero-mini:hover img {
    transform: scale(1.035);
}

.hero-feature-shade,
.hero-mini-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(8, 37, 77, 0.06) 25%, rgba(8, 37, 77, 0.78) 100%);
}

.hero-feature-top {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.hero-feature-body {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-feature-cat {
    color: rgba(255, 255, 255, 0.78);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.hero-feature-body strong {
    font-size: clamp(22px, 2vw, 29px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.03em;
}

.hero-feature-meta {
    display: flex;
    gap: 16px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 11.5px;
}

.hero-feature-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hero-feature-meta .icon {
    width: 14px;
    height: 14px;
}

.hero-feature-arrow {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s var(--ease);
}

.hero-feature:hover .hero-feature-arrow {
    opacity: 1;
    transform: translateX(0);
}

.hero-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
}

.hero-mini-body {
    position: absolute;
    left: 17px;
    right: 17px;
    bottom: 16px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-mini-body span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 10.5px;
}

.hero-mini-body strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.42;
    letter-spacing: -0.02em;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hero-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px;
    border: 1px dashed var(--blue-200);
    border-radius: 24px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.hero-empty > span .icon {
    width: 36px;
    height: 36px;
    color: var(--blue-400);
}

.hero-channel-bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 17px 0 19px;
    border-top: 1px solid rgba(47, 124, 246, 0.11);
}

.hero-channel-label {
    flex: 0 0 auto;
    color: var(--muted-2);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.hero-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-channels a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 11px;
    border: 1px solid rgba(47, 124, 246, 0.12);
    border-radius: 999px;
    color: #527195;
    background: rgba(255, 255, 255, 0.55);
    font-size: 11.5px;
    transition: all 0.2s;
}

.hero-channels a:hover {
    color: var(--blue-600);
    border-color: var(--blue-200);
    background: #fff;
}

.hero-channels .icon {
    width: 13px;
    height: 13px;
    color: var(--blue-500);
}

.announcement-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding: 12px 18px;
    border: 1px solid #d8eaff;
    border-radius: 14px;
    background: linear-gradient(90deg, #f0f8ff, #fbfdff);
    font-size: 13px;
}

.announcement-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--blue-600);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.announcement-bar p {
    color: #4d6888;
}

/* Section standards ------------------------------------------------------- */
.section {
    padding: 84px 0;
}

.section-soft {
    background:
        radial-gradient(800px 300px at 90% 0%, rgba(137, 199, 255, 0.12), transparent 60%),
        #f4faff;
    border-top: 1px solid #ebf4ff;
    border-bottom: 1px solid #ebf4ff;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

.section-heading > div {
    max-width: 760px;
}

.section-heading .eyebrow {
    margin-bottom: 8px;
}

.section-heading h2 {
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 800;
    letter-spacing: -0.045em;
}

.section-heading p {
    max-width: 600px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.section-heading.compact {
    margin-bottom: 24px;
}

.section-heading.compact h2 {
    font-size: 28px;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    padding-bottom: 3px;
    border-bottom: 1px solid transparent;
    color: var(--blue-600);
    font-size: 13px;
    font-weight: 600;
}

.section-link:hover {
    border-color: var(--blue-400);
}

.section-link .icon {
    width: 16px;
    height: 16px;
}

.section-aside {
    color: var(--muted-2);
    font-size: 12px;
}

.count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    padding: 0 8px;
    border-radius: 7px;
    color: var(--blue-600);
    background: var(--blue-75);
    font-size: 12px;
    vertical-align: 3px;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 56px 24px;
    border: 1px dashed var(--line-strong);
    border-radius: 18px;
    background: #fbfdff;
    color: var(--muted);
    text-align: center;
}

.empty-state .empty-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 2px;
    border-radius: 14px;
    background: var(--blue-75);
    color: var(--blue-500);
}

.empty-state .empty-icon .icon {
    width: 23px;
    height: 23px;
}

.empty-state strong {
    color: var(--ink-2);
    font-size: 15px;
}

.empty-state p {
    max-width: 360px;
    font-size: 13px;
}

.empty-state.small {
    padding: 26px 16px;
}

.empty-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

/* Article cards ----------------------------------------------------------- */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

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

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

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

.post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 19px;
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}

.post-card:hover {
    border-color: #d2e6fb;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.post-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #dceeff, #f3f9ff);
}

.post-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s var(--ease);
}

.post-card:hover .post-card-media img {
    transform: scale(1.035);
}

.post-cover-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: rgba(47, 124, 246, 0.5);
}

.post-cover-fallback .icon {
    width: 42px;
    height: 42px;
}

.post-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    border-radius: 7px;
    color: #174d95;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.post-premium {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    border-radius: 7px;
    color: #8c5706;
    background: var(--premium-soft);
    font-size: 10.5px;
    font-weight: 700;
}

.post-premium .icon {
    width: 12px;
    height: 12px;
}

.post-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px 19px 19px;
}

.post-card-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
}

.post-cat-link {
    color: var(--blue-600);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.post-cat-link:hover {
    color: var(--blue-700);
}

.post-featured {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--muted-2);
    font-size: 10px;
}

.post-featured .icon {
    width: 11px;
    height: 11px;
    color: var(--premium);
}

.post-card-title {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -0.02em;
}

.post-card-title a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.post-card-title a:hover {
    color: var(--blue-600);
}

.post-card-excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.75;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.post-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: auto;
    color: var(--muted-2);
    font-size: 10.5px;
}

.post-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.post-card-meta .icon {
    width: 12px;
    height: 12px;
}

.post-card-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.post-card-featured .post-card-media {
    height: 100%;
    min-height: 280px;
    aspect-ratio: auto;
}

.post-card-featured .post-card-body {
    justify-content: center;
    padding: 30px 30px 28px;
}

.post-card-featured .post-card-title {
    margin-bottom: 12px;
    font-size: clamp(23px, 2.2vw, 29px);
    line-height: 1.4;
}

.post-card-featured .post-card-excerpt {
    font-size: 13.5px;
    -webkit-line-clamp: 3;
}

.post-card-overlay {
    position: relative;
    min-height: 380px;
    justify-content: flex-end;
    border: 0;
    color: #fff;
}

.post-card-overlay .post-card-media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
}

.post-card-overlay .post-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 32, 66, 0.05), rgba(7, 32, 66, 0.8));
}

.post-card-overlay .post-card-body {
    position: relative;
    z-index: 1;
    padding: 26px;
    background: transparent;
}

.post-card-overlay .post-card-title a,
.post-card-overlay .post-card-title {
    color: #fff;
}

.post-card-overlay .post-card-meta {
    color: rgba(255, 255, 255, 0.72);
}

.post-category-light {
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    font-weight: 600;
}

.post-premium-light {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ffe2b1;
    font-size: 10.5px;
}

.post-premium-light .icon {
    width: 12px;
    height: 12px;
}
