@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Sora:wght@500;600;700;800&display=swap");

:root {
    --bg-page: #eef4fb;
    --bg-card: #ffffff;
    --bg-soft: #eff6ff;
    --line: #d5e3f4;
    --line-strong: #c2d6ef;
    --text-main: #132844;
    --text-soft: #607490;
    --brand: #0f6ad8;
    --brand-strong: #0b4f9f;
    --brand-light: #dcecff;
    --accent: #f28d1a;
    --accent-soft: #ffe2bd;
    --success: #1c9361;
    --shadow-soft: 0 16px 40px -28px rgba(9, 37, 77, 0.45);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    max-width: 100%;
}

body {
    font-family: "Manrope", sans-serif;
    color: var(--text-main);
    background: var(--bg-page);
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.3;
    font-family: "Sora", sans-serif;
    letter-spacing: -0.01em;
}

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

p {
    margin: 0;
}

.front-body {
    position: relative;
    min-height: 100vh;
    background:
        radial-gradient(circle at 8% -12%, #d1e9ff 0, rgba(209, 233, 255, 0) 36%),
        radial-gradient(circle at 96% -4%, #ffe8c9 0, rgba(255, 232, 201, 0) 34%),
        linear-gradient(180deg, #f7fbff 0%, #eef4fb 62%, #f7fafd 100%);
}

.front-body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: 0.35;
    background-image:
        linear-gradient(to right, rgba(93, 132, 181, 0.13) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(93, 132, 181, 0.1) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}

.front-body::after {
    content: "";
    position: fixed;
    right: -170px;
    bottom: -170px;
    width: 390px;
    height: 390px;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 106, 216, 0.24) 0, rgba(15, 106, 216, 0) 70%);
}

.container {
    width: min(1160px, calc(100% - 2.2rem));
    margin-inline: auto;
}

.site-header {
    position: relative;
    top: auto;
    z-index: 20;
    border-bottom: 1px solid #d8e6f7;
    background: #f7fbff;
    box-shadow: 0 8px 20px -18px rgba(12, 63, 122, 0.55);
}

.site-header .container {
    width: min(1260px, calc(100% - 1rem));
}

.w-header-inner {
    min-height: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(230px, 300px);
    align-items: center;
    gap: 0.62rem;
    padding-top: 0.52rem;
}

.w-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text-main);
    min-width: 0;
    padding: 0.35rem 0.1rem;
    overflow: hidden;
}

.w-logo img,
.w-logo-image {
    width: auto;
    max-width: 180px;
    max-height: 40px;
    height: auto;
    object-fit: contain;
    object-position: left center;
    display: block;
    flex-shrink: 0;
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(140deg, #0d58b4, #2192ff);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Sora", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 10px 20px -12px rgba(11, 79, 159, 0.95);
}

.logo-word {
    font-family: "Sora", sans-serif;
    font-size: 1.04rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.w-menu {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    flex-wrap: nowrap;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    width: 100%;
    min-width: 0;
    animation: none;
    padding-inline: 0.3rem;
}

.w-header-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    border: 1px solid #9fc2e6;
    border-radius: 999px;
    background: #edf3f9;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 10px 18px -22px rgba(16, 70, 126, 0.95);
    transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
    animation: rise-in 0.55s 0.08s both;
}

.w-header-search:focus-within {
    border-color: #0b63c8;
    box-shadow:
        0 0 0 3px rgba(11, 99, 200, 0.16),
        0 12px 18px -22px rgba(16, 70, 126, 0.95);
    transform: translateY(-1px) scale(1.005);
}

.w-header-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #1b466f;
    font-family: "Manrope", sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.62rem 0.9rem 0.62rem 0.95rem;
}

.w-header-search input::placeholder {
    color: #7d97b8;
}

.w-header-search input:focus {
    outline: none;
}

.w-header-search button {
    width: 36px;
    min-width: 36px;
    height: 36px;
    margin-right: 4px;
    border: 1px solid #4d99ea;
    border-radius: 999px;
    background: linear-gradient(135deg, #388fe9 0%, #1c75d4 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.26),
        0 8px 12px -10px rgba(28, 117, 212, 0.95);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.w-header-search button:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 10px 14px -10px rgba(28, 117, 212, 0.98);
}

.w-header-search button svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

.w-header-search button:hover svg {
    transform: scale(1.08);
}

.w-menu::before {
    content: none;
}

.w-menu::after {
    content: none;
}

.w-menu a {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.72rem 0.82rem;
    border-right: 0;
    font-family: "Sora", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: #1d5a8d;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-shadow: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.22s ease;
    white-space: nowrap;
    line-height: 1;
}

.w-menu a + a {
    border-left: 1px solid rgba(24, 101, 164, 0.14);
}

.w-menu a:hover {
    color: #0b4f9f;
    background: transparent;
}

.w-menu a::after {
    content: "";
    position: absolute;
    left: 0.74rem;
    right: 0.74rem;
    bottom: 0.28rem;
    height: 2px;
    border-radius: 999px;
    background: #0b63c8;
    transform: scaleX(0.2);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.w-menu .menu-link:last-child {
    border-right: 0;
}

.w-menu .menu-link.is-active {
    color: #083c70;
    background: transparent;
}

.w-menu .menu-link.is-active::after,
.w-menu .menu-link:hover::after,
.w-menu .menu-link:focus-visible::after {
    transform: scaleX(1);
    opacity: 1;
}

.w-menu .menu-link:focus-visible {
    outline: 2px solid rgba(11, 99, 200, 0.42);
    outline-offset: -2px;
}

.menu-icon {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.menu-icon svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.menu-link-label {
    line-height: 1;
    overflow-wrap: anywhere;
}

.w-menu .menu-link:hover .menu-icon,
.w-menu .menu-link.is-active .menu-icon {
    transform: translateY(-1px) scale(1.05);
    background: transparent;
    border-color: transparent;
}

.w-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
}

.w-icons form {
    margin: 0;
}

.w-admin-link {
    border: 1px solid var(--line);
    background: #f3f8ff;
    color: #355680;
    cursor: pointer;
    font-size: 0.73rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.47rem 0.74rem;
    font-family: inherit;
}

.w-admin-link:hover {
    color: var(--brand-strong);
    border-color: #aac9eb;
}

.site-main {
    padding: 1rem 0 2rem;
    position: relative;
    z-index: 1;
}

.home-shell {
    display: grid;
    gap: 1.05rem;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    gap: 1.15rem;
    color: #fff;
    background: linear-gradient(132deg, #0a2d5f 0%, #0f57aa 48%, #1f7fe6 100%);
    box-shadow: 0 28px 70px -46px rgba(6, 27, 56, 0.95);
    animation: rise-in 0.8s both;
}

.hero-panel::before {
    content: "";
    position: absolute;
    right: -90px;
    top: -70px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.23) 0, rgba(255, 255, 255, 0) 72%);
}

.hero-panel::after {
    content: "";
    position: absolute;
    left: 22px;
    bottom: -34px;
    width: 240px;
    height: 140px;
    transform: rotate(-8deg);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
}

.hero-main,
.hero-side {
    position: relative;
    z-index: 1;
}

.hero-main {
    display: grid;
    align-content: start;
    gap: 0.75rem;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 1px solid rgba(210, 229, 251, 0.45);
    background: rgba(255, 255, 255, 0.17);
    border-radius: 999px;
    padding: 0.24rem 0.66rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-main h1 {
    font-size: clamp(1.65rem, 2.2vw, 2.5rem);
    line-height: 1.22;
    max-width: 22ch;
}

.hero-copy {
    max-width: 62ch;
    color: rgba(239, 246, 255, 0.92);
}

.hero-search {
    margin-top: 0.35rem;
    display: flex;
    gap: 0.5rem;
    max-width: 580px;
}

.hero-search input {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(248, 251, 255, 0.94);
    color: #17345d;
    border-radius: 12px;
    padding: 0.72rem 0.85rem;
    font-family: inherit;
    font-size: 0.92rem;
}

.hero-search input:focus {
    outline: 2px solid rgba(255, 255, 255, 0.4);
    outline-offset: 1px;
}

.hero-search .btn-primary {
    white-space: nowrap;
    box-shadow: none;
}

.hero-stats {
    margin-top: 0.35rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    max-width: 610px;
}

.hero-stats div {
    background: rgba(5, 25, 54, 0.35);
    border: 1px solid rgba(184, 212, 247, 0.35);
    border-radius: 12px;
    padding: 0.58rem 0.62rem;
    display: grid;
    gap: 0.1rem;
}

.hero-stats strong {
    font-family: "Sora", sans-serif;
    font-size: 1.08rem;
}

.hero-stats span {
    font-size: 0.73rem;
    color: rgba(225, 237, 255, 0.9);
}

.hero-side {
    border: 1px solid rgba(194, 218, 247, 0.34);
    background: rgba(5, 24, 52, 0.28);
    border-radius: 16px;
    padding: 0.9rem;
}

.hero-side-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.09em;
    color: rgba(229, 240, 255, 0.9);
}

.hero-category-grid {
    margin-top: 0.65rem;
    display: grid;
    gap: 0.5rem;
}

.hero-category-card {
    border: 1px solid rgba(202, 223, 248, 0.36);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
    border-radius: 12px;
    padding: 0.62rem 0.68rem;
    display: grid;
    gap: 0.2rem;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.hero-category-card strong {
    font-size: 0.9rem;
}

.hero-category-card span {
    font-size: 0.72rem;
    color: rgba(228, 239, 255, 0.88);
}

.hero-category-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.72);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08));
}

.category-cloud {
    margin-top: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    animation: rise-in 0.8s 0.08s both;
}

.description-band {
    margin-top: 0.95rem;
    display: grid;
    gap: 0.8rem;
    background: linear-gradient(180deg, #f7fbff, #ffffff);
}

.description-intro .label-text {
    color: var(--brand-strong);
    font-size: 0.67rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.description-intro h2 {
    margin-top: 0.25rem;
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
}

.description-intro p {
    margin-top: 0.35rem;
    color: #5d7395;
    font-size: 0.9rem;
}

.description-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.description-card {
    border: 1px solid #d8e7f8;
    border-radius: 12px;
    background: #fff;
    padding: 0.7rem;
}

.description-card h3 {
    font-size: 0.93rem;
}

.description-card p {
    margin-top: 0.3rem;
    color: #627998;
    font-size: 0.82rem;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-height: 32px;
    padding: 0.36rem 0.62rem;
    border-radius: 999px;
    border: 1px solid #dfe6f0;
    background: #ffffff;
    color: #95a2b4;
    font-family: "Sora", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    box-shadow: none;
}

.category-chip small {
    background: #ecf3fb;
    color: #8ea0b9;
    border-radius: 999px;
    padding: 0.1rem 0.42rem;
    font-size: 0.64rem;
    font-weight: 800;
    line-height: 1.2;
}

.category-chip:hover {
    border-color: #b4d0ee;
    background: linear-gradient(180deg, #f2f8ff 0%, #e5f2ff 100%);
    color: #0d56a8;
    transform: translateY(-2px);
}

.category-chip:hover small {
    background: rgba(11, 99, 200, 0.12);
    color: #0b63c8;
}

.layout,
.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1rem;
    align-items: start;
}

.content-col,
.main-stream,
.sidebar-col,
.sidebar-stream {
    display: grid;
    gap: 1rem;
}

.stream-block {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.92);
    padding: 0.95rem;
    box-shadow: var(--shadow-soft);
    animation: rise-in 0.65s both;
}

.highlight-block {
    background: linear-gradient(180deg, #f4f9ff, #ffffff);
}

.block-title-row {
    margin-bottom: 0.72rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
}

.block-title-row h2 {
    font-size: 1.05rem;
}

.block-title-row span,
.block-title-row a {
    font-size: 0.74rem;
    color: #60789a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.block-description {
    margin-bottom: 0.7rem;
    color: #5e7698;
    font-size: 0.88rem;
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.62rem;
}

.feature-item {
    display: flex;
    gap: 0.55rem;
    border: 1px solid #d7e6f7;
    border-radius: 12px;
    padding: 0.42rem;
    background: #fff;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    border-color: #b8d3f0;
    box-shadow: 0 10px 26px -20px rgba(17, 62, 119, 0.65);
}

.feature-thumb {
    width: 108px;
    min-width: 108px;
    height: 66px;
    border-radius: 8px;
    overflow: hidden;
    background: #d8e9ff;
}

.feature-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb-fallback {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(128deg, #0f66d3, #4aa8ff 58%, #ffaf4f);
}

.feature-meta {
    min-width: 0;
    display: grid;
    align-content: center;
}

.feature-title {
    font-size: 0.82rem;
    line-height: 1.34;
    color: #223957;
    overflow-wrap: anywhere;
}

.feature-time {
    margin-top: 0.24rem;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    color: #657f9f;
    text-transform: uppercase;
    font-weight: 700;
}

.feed-list {
    display: grid;
    gap: 0.75rem;
}

.feed-list .post-row:nth-child(2) {
    animation-delay: 0.04s;
}

.feed-list .post-row:nth-child(3) {
    animation-delay: 0.08s;
}

.post-row {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 0.62rem;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 0.72rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    animation: rise-in 0.6s both;
}

.post-row:hover {
    transform: translateY(-2px);
    border-color: #b8d2ef;
    box-shadow: 0 14px 32px -26px rgba(12, 46, 90, 0.7);
}

.post-thumb {
    position: relative;
    display: block;
    height: 146px;
    border-radius: 10px;
    overflow: hidden;
    background: #dce9fb;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-bookmark {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--brand-strong);
    font-size: 0.72rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6e4f6;
}

.post-badge {
    position: absolute;
    left: 8px;
    top: 8px;
    border-radius: 999px;
    padding: 0.18rem 0.48rem;
    background: var(--accent-soft);
    color: #9a5a10;
    font-size: 0.63rem;
    letter-spacing: 0.06em;
    font-weight: 800;
    text-transform: uppercase;
}

.platform-badge {
    --pb-from: #3f95e6;
    --pb-to: #1758a7;
    --pb-glow: rgba(23, 88, 167, 0.45);
    position: absolute;
    top: 8px;
    left: 8px;
    right: auto;
    z-index: 3;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    gap: 0.26rem;
    min-height: 22px;
    padding: 0.2rem 0.48rem;
    border-radius: 999px;
    border: 1px solid rgba(232, 245, 255, 0.6);
    background: linear-gradient(130deg, var(--pb-from), var(--pb-to));
    color: #fff;
    font-family: "Sora", sans-serif;
    font-size: 0.57rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
    box-shadow:
        0 10px 18px -14px rgba(3, 26, 51, 0.95),
        0 0 0 0 var(--pb-glow);
    backdrop-filter: blur(2px);
    overflow: hidden;
    isolation: isolate;
    transform-origin: left center;
    animation: badge-breathe 3s ease-in-out infinite;
    transition: transform 0.22s ease, filter 0.22s ease;
}

.platform-badge::before {
    content: "";
    position: absolute;
    inset: -40% auto -40% -50%;
    width: 46%;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0));
    transform: translateX(-160%) rotate(9deg);
    animation: badge-sheen 3.4s ease-in-out infinite;
}

.platform-badge::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(circle at 24% 28%, rgba(255, 255, 255, 0.33), rgba(255, 255, 255, 0) 58%);
}

.platform-badge > * {
    position: relative;
    z-index: 1;
}

.platform-badge-icon {
    width: 11px;
    height: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.platform-badge-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.platform-badge--windows {
    --pb-from: #2d93f0;
    --pb-to: #0b5dc1;
    --pb-glow: rgba(38, 131, 233, 0.5);
}

.platform-badge--macos {
    --pb-from: #515965;
    --pb-to: #20252e;
    --pb-glow: rgba(60, 66, 79, 0.44);
}

.platform-badge--audio {
    --pb-from: #ab61e0;
    --pb-to: #7a2fac;
    --pb-glow: rgba(127, 59, 173, 0.5);
}

.platform-badge--mobile {
    --pb-from: #15afc9;
    --pb-to: #00739e;
    --pb-glow: rgba(0, 123, 162, 0.5);
}

.platform-badge--developer {
    --pb-from: #0f9ca8;
    --pb-to: #0a6872;
    --pb-glow: rgba(14, 103, 111, 0.5);
}

.platform-badge--utility {
    --pb-from: #8a93a3;
    --pb-to: #4e5562;
    --pb-glow: rgba(82, 90, 104, 0.5);
}

.platform-badge--software {
    --pb-from: #4e89db;
    --pb-to: #1d4f8f;
    --pb-glow: rgba(29, 79, 143, 0.5);
}

.platform-badge--compact {
    top: 6px;
    left: 6px;
    right: auto;
    min-height: 19px;
    min-width: 19px;
    padding: 0.22rem;
    justify-content: center;
    border-radius: 10px;
}

.platform-badge--compact .platform-badge-label {
    display: none;
}

.platform-badge--compact .platform-badge-icon {
    width: 10px;
    height: 10px;
}

.post-row:hover .platform-badge,
.feature-item:hover .platform-badge,
.trend-item:hover .platform-badge,
.latest-item:hover .platform-badge,
.post-thumb:hover .platform-badge {
    transform: translateY(-1px) scale(1.06);
    filter: brightness(1.06);
}

.post-row:hover .platform-badge-icon svg,
.feature-item:hover .platform-badge-icon svg,
.trend-item:hover .platform-badge-icon svg,
.latest-item:hover .platform-badge-icon svg,
.post-thumb:hover .platform-badge-icon svg {
    animation: badge-icon-pop 0.52s ease;
}

.post-content {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 0.45rem;
}

.post-title {
    font-size: 1.13rem;
    line-height: 1.24;
    overflow-wrap: anywhere;
}

.post-title a:hover {
    color: var(--brand-strong);
}

.post-excerpt {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.5;
}

.post-meta,
.post-row-meta {
    display: flex;
    align-items: center;
    gap: 0.48rem;
    flex-wrap: wrap;
}

.post-category,
.post-tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    color: #155388;
    font-family: "Sora", sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(24, 101, 164, 0.3);
    border-radius: 999px;
    padding: 0.14rem 0.48rem;
}

.post-category:hover,
.post-tag:hover {
    color: #0b4f9f;
    border-color: #0b63c8;
}

.post-time {
    color: #6d82a0;
    font-size: 0.72rem;
}

.post-row-actions {
    margin-top: 0.05rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.widget {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem;
    box-shadow: var(--shadow-soft);
    animation: rise-in 0.72s both;
}

.widget-trending {
    background: linear-gradient(180deg, #f4f9ff, #ffffff);
}

.widget-headline {
    margin-bottom: 0.55rem;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.6rem;
}

.widget-headline small {
    font-size: 0.67rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: #7790b0;
}

.widget-title {
    font-size: 0.92rem;
    font-weight: 800;
}

.trend-list {
    display: grid;
    gap: 0.46rem;
}

.trend-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 78px;
    gap: 0.52rem;
    border: 1px solid #dfebf8;
    border-radius: 10px;
    padding: 0.44rem;
    background: #fff;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.trend-item:hover {
    border-color: #bad3ef;
    transform: translateY(-1px);
}

.trend-rank {
    min-width: 1.3rem;
    align-self: center;
    font-family: "Sora", sans-serif;
    font-size: 0.72rem;
    color: #6a819f;
}

.trend-content strong {
    display: block;
    font-size: 0.84rem;
    line-height: 1.38;
    color: #203a5c;
}

.trend-meta {
    margin-top: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.trend-meta em {
    font-style: normal;
    color: var(--brand-strong);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.trend-meta small {
    color: #6f84a2;
    font-size: 0.67rem;
}

.trend-thumb {
    width: 78px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: #d9e7fb;
}

.trend-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.latest-list {
    display: grid;
    gap: 0.5rem;
}

.latest-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.52rem;
    border: 1px solid #dfebf8;
    border-radius: 10px;
    padding: 0.4rem;
    background: #fff;
}

.latest-thumb {
    width: 72px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    background: #dce8fb;
}

.latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-thumb,
.post-thumb,
.trend-thumb,
.latest-thumb {
    position: relative;
    isolation: isolate;
}

.feature-thumb::after,
.post-thumb::after,
.trend-thumb::after,
.latest-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.26) 50%, rgba(255, 255, 255, 0) 65%);
    transform: translateX(-120%);
}

.feature-thumb img,
.post-thumb img,
.trend-thumb img,
.latest-thumb img {
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.45s ease;
    will-change: transform;
}

.feature-item:hover .feature-thumb img,
.feature-item:focus-within .feature-thumb img,
.post-row:hover .post-thumb img,
.post-thumb:hover img,
.post-thumb:focus-visible img,
.trend-item:hover .trend-thumb img,
.trend-item:focus-within .trend-thumb img,
.latest-item:hover .latest-thumb img,
.latest-item:focus-within .latest-thumb img {
    transform: scale(1.08);
    filter: saturate(1.08);
}

.feature-item:hover .feature-thumb::after,
.feature-item:focus-within .feature-thumb::after,
.post-row:hover .post-thumb::after,
.post-thumb:hover::after,
.post-thumb:focus-visible::after,
.trend-item:hover .trend-thumb::after,
.trend-item:focus-within .trend-thumb::after,
.latest-item:hover .latest-thumb::after,
.latest-item:focus-within .latest-thumb::after {
    opacity: 1;
    animation: thumb-sweep 0.85s ease;
}

.latest-content {
    min-width: 0;
    display: grid;
    gap: 0.07rem;
}

.latest-content strong {
    font-size: 0.82rem;
    line-height: 1.33;
    color: #233752;
    overflow-wrap: anywhere;
}

.latest-content span {
    font-size: 0.63rem;
    color: var(--brand-strong);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.latest-content small {
    font-size: 0.67rem;
    color: #7b8ea9;
}

.category-list {
    display: grid;
    gap: 0.4rem;
}

.category-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    border: 1px solid #dce9f8;
    border-radius: 10px;
    padding: 0.42rem 0.5rem;
    background: #fff;
    color: #29496f;
    font-size: 0.82rem;
    font-weight: 700;
}

.category-list-item small {
    border-radius: 999px;
    background: #e6f1ff;
    color: var(--brand-strong);
    padding: 0.08rem 0.36rem;
    font-size: 0.67rem;
    font-weight: 800;
}

.widget-search form {
    display: flex;
    gap: 0.35rem;
}

.widget-search input {
    flex: 1;
    border: 1px solid #cddff4;
    border-radius: 10px;
    padding: 0.5rem 0.6rem;
    font-family: inherit;
    font-size: 0.83rem;
    color: #214068;
    background: #fff;
}

.widget-search button {
    border: 1px solid var(--brand-strong);
    background: var(--brand-strong);
    color: #fff;
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
}

.ad-space {
    display: grid;
    gap: 0.58rem;
}

.ad-space-home,
.ad-space-listing {
    margin-top: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.ad-space-resource {
    margin-top: 0.75rem;
    grid-template-columns: 1fr;
}

.ad-space-sidebar {
    margin-bottom: 0.6rem;
    grid-template-columns: 1fr;
}

.ad-card {
    min-width: 0;
    border: 1px solid #d6e5f7;
    border-radius: 14px;
    background:
        radial-gradient(circle at 92% 6%, rgba(61, 138, 221, 0.08), rgba(61, 138, 221, 0) 34%),
        #fff;
    padding: 0.5rem;
    box-shadow: 0 14px 24px -30px rgba(7, 50, 98, 0.85);
}

.ad-card.is-adsense {
    border-color: #cfdff2;
}

.ad-card-disclosure {
    margin-bottom: 0.26rem;
    color: #58769a;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ad-card-title {
    margin-bottom: 0.34rem;
    color: #2d5f92;
    font-family: "Sora", sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ad-card-link {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 5;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #d9e7f8;
    background: #edf4ff;
}

.ad-card-link.is-disabled {
    pointer-events: none;
}

.ad-card-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.ad-card-link:hover img {
    transform: scale(1.02);
}

.ad-space-sidebar .ad-card-link {
    aspect-ratio: 4 / 3;
}

.ad-space-resource .ad-card-link {
    aspect-ratio: 16 / 6;
}

.ad-card-html {
    border: 1px solid #dce9f8;
    border-radius: 10px;
    padding: 0.35rem;
    background: #fff;
    overflow: hidden;
}

.ad-card-html.is-adsense {
    border-style: dashed;
    border-color: #c7dbf2;
    background: #f8fbff;
    padding: 0.22rem;
}

.ad-card-html * {
    max-width: 100%;
}

.ad-card-html iframe,
.ad-card-html img {
    max-width: 100%;
    height: auto;
}

.ad-card-html:not(.is-adsense) iframe {
    width: 100% !important;
    min-height: 180px;
    border: 0;
}

.ad-card-html.is-adsense ins.adsbygoogle {
    display: block !important;
    width: 100% !important;
    min-height: 0;
}

.ad-card-html.is-adsense iframe {
    border: 0;
    min-height: 0;
}

.block-headline h1 {
    font-size: clamp(1.4rem, 2vw, 1.95rem);
}

.block-headline p {
    margin-top: 0.3rem;
    color: var(--text-soft);
    font-size: 0.9rem;
}

.category-heading .label-text {
    color: var(--brand-strong);
    font-size: 0.67rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.single-block h1 {
    margin-top: 0.35rem;
    font-size: clamp(1.45rem, 2vw, 2.05rem);
}

.single-banner {
    margin-top: 0.64rem;
    width: 100%;
    border-radius: 12px;
    border: 1px solid #dce8f9;
    display: block;
}

.single-excerpt {
    margin-top: 0.68rem;
    color: #4c6488;
    font-size: 0.94rem;
    font-weight: 600;
}

.single-text {
    margin-top: 0.62rem;
    color: #253f60;
    font-size: 0.94rem;
    white-space: pre-line;
}

.single-meta-grid {
    margin-top: 0.68rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
}

.single-meta-grid div {
    border: 1px solid #d7e5f8;
    border-radius: 10px;
    background: #f4f9ff;
    padding: 0.44rem;
    display: grid;
}

.single-meta-grid span {
    color: #6c83a6;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.single-meta-grid strong {
    color: #264570;
    font-size: 0.83rem;
}

.btn {
    border: 1px solid transparent;
    border-radius: 11px;
    padding: 0.52rem 0.86rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.74rem;
    font-family: "Sora", sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.16s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-soft {
    background: #edf5ff;
    color: #1a457a;
    border-color: #d3e4f9;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand), #2a8cf4);
    color: #fff;
    border-color: #1769c5;
    box-shadow: 0 10px 22px -16px rgba(15, 106, 216, 0.9);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0d5fc1, #2380e4);
}

.btn-ghost {
    background: #fff;
    color: #35567f;
    border-color: #cfe0f4;
}

.btn-danger {
    background: #ffe8eb;
    color: #b0293d;
    border-color: #ffd1da;
}

.empty-state {
    border: 1px dashed #c3d8f1;
    border-radius: var(--radius-md);
    padding: 0.92rem;
    color: #557194;
    font-size: 0.88rem;
    background: #f8fbff;
}

.pager {
    margin-top: 0.9rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid #e3e9f1;
    border-radius: 999px;
    background: #f8f9fb;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.pager-circle {
    width: 50px;
    min-width: 50px;
    height: 50px;
    border-radius: 999px;
    border: 1px solid #dde5ef;
    background: #f1f4f8;
    color: #28333f;
    font-family: "Sora", sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pager a.pager-circle:hover {
    background: #e9f0f7;
    border-color: #cfd9e7;
    transform: translateY(-1px);
}

.pager-circle.is-active {
    background: #47c634;
    border-color: #47c634;
    color: #ffffff;
}

.pager-arrow {
    font-size: 1.45rem;
    font-weight: 500;
    color: #3b434d;
}

.pager-arrow.is-disabled {
    opacity: 0.45;
}

.pager-dots {
    color: #8d98a8;
    font-size: 1.1rem;
}

@media (max-width: 700px) {
    .pager {
        gap: 0.42rem;
        padding: 0.45rem 0.55rem;
    }

    .pager-circle {
        width: 42px;
        min-width: 42px;
        height: 42px;
        font-size: 0.92rem;
    }

    .pager-arrow {
        font-size: 1.2rem;
    }
}

.top-gap {
    margin-top: 0.6rem;
}

.flash-success,
.flash-error {
    border-radius: 10px;
    padding: 0.62rem 0.72rem;
    font-size: 0.84rem;
}

.flash-success {
    color: #126445;
    background: #e4f6ee;
    border: 1px solid #c3ebd8;
}

.flash-error {
    color: #a13a4e;
    background: #fff1f4;
    border: 1px solid #ffd1da;
}

.flash-error ul {
    margin: 0;
    padding-left: 1rem;
}

.front-footer {
    position: relative;
    overflow: hidden;
    margin-top: 1.7rem;
    border-top: 1px solid #cddff3;
    background: linear-gradient(180deg, #f5fafe 0%, #edf4fc 100%);
}

.front-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 8%, rgba(69, 145, 224, 0.2), rgba(69, 145, 224, 0) 34%),
        radial-gradient(circle at 92% -8%, rgba(242, 141, 26, 0.12), rgba(242, 141, 26, 0) 36%);
}

.footer-shell {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.95rem;
    padding: 1.05rem 0 0.95rem;
}

.footer-ad-wrap {
    position: relative;
    z-index: 1;
    padding: 0 0 0.6rem;
}

.footer-adsense {
    overflow: hidden;
    border: 1px solid #d2e4f7;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    min-height: 90px;
}

.footer-hero-card {
    border: 1px solid #c6daf2;
    border-radius: 18px;
    padding: 1rem 1.05rem;
    background:
        linear-gradient(132deg, rgba(255, 255, 255, 0.98), rgba(237, 246, 255, 0.88)),
        #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 18px 26px -28px rgba(11, 79, 159, 0.9);
    display: grid;
    gap: 0.52rem;
}

.footer-kicker {
    width: fit-content;
    border-radius: 999px;
    border: 1px solid #cde1f7;
    padding: 0.16rem 0.55rem;
    font-family: "Sora", sans-serif;
    font-size: 0.61rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f5ebc;
    background: #e9f2ff;
}

.footer-title {
    color: #203b5f;
    font-family: "Sora", sans-serif;
    font-size: 1.16rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.footer-copy {
    margin-top: -0.08rem;
    color: #637d9f;
    font-size: 0.83rem;
    max-width: 58ch;
}

.footer-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.34rem;
}

.footer-pill-row span {
    border: 1px solid #d8e7f8;
    border-radius: 999px;
    padding: 0.18rem 0.56rem;
    color: #46698e;
    font-size: 0.67rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.82);
}

.footer-action-row {
    display: flex;
    align-items: center;
    gap: 0.58rem;
    flex-wrap: wrap;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border-radius: 999px;
    padding: 0.34rem 0.82rem;
    border: 1px solid #84b6ea;
    background: linear-gradient(142deg, #0f6ad8 0%, #3193ee 100%);
    color: #fff;
    font-family: "Sora", sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 16px -12px rgba(11, 79, 159, 0.95);
}

.footer-inline-link {
    color: #2b5f95;
    font-family: "Sora", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.footer-inline-link:hover {
    color: #0b4f9f;
}

.footer-link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.footer-menu-col {
    min-width: 0;
    border: 1px solid #d7e6f8;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    padding: 0.76rem 0.82rem;
}

.footer-menu-title {
    color: #254a74;
    font-family: "Sora", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-links {
    margin-top: 0.48rem;
    display: grid;
    gap: 0.34rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #46698e;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 0.42rem;
    border-radius: 999px;
    background: linear-gradient(140deg, #7eb4e9, #2a88e6);
}

.footer-links a:hover {
    color: #0b4f9f;
    transform: translateX(3px);
}

.footer-empty {
    color: #67809f;
    font-size: 0.75rem;
    font-weight: 600;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    min-height: 48px;
    border-top: 1px solid #d8e6f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.6rem 0 0.7rem;
    color: #6a809d;
    font-size: 0.72rem;
}

.footer-bottom-copy {
    letter-spacing: 0.01em;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    border-radius: 999px;
    border: 1px solid #cfdeef;
    padding: 0.18rem 0.52rem;
    color: #355981;
    background: rgba(255, 255, 255, 0.72);
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #0b4f9f;
    border-color: #9ec3e8;
    background: #e7f2ff;
}

.consent-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 120;
    border: 1px solid #c8dcf3;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 30px -28px rgba(8, 54, 104, 0.95);
    padding: 0.72rem 0.78rem;
    max-width: 700px;
    margin-inline: auto;
}

.consent-title {
    color: #173f67;
    font-family: "Sora", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.consent-copy {
    margin-top: 0.24rem;
    color: #56708f;
    font-size: 0.78rem;
    line-height: 1.45;
}

.consent-actions {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
}

.consent-actions .btn {
    min-width: 120px;
}

.consent-links {
    margin-top: 0.36rem;
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    color: #4f6f94;
    font-size: 0.72rem;
    font-weight: 700;
}

.consent-links a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.scroll-top-wrap {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

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

.scroll-top-btn {
    position: relative;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(145deg, #6fd740 0%, #4cbf2f 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 10px 18px -14px rgba(38, 124, 32, 0.95);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.scroll-top-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
}

.scroll-top-btn:focus-visible {
    outline: 2px solid rgba(17, 98, 201, 0.42);
    outline-offset: 2px;
}

.scroll-top-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.section {
    padding: 1rem 0;
}

.section-tight {
    padding-top: 0.72rem;
}

.auth-card,
.form-wrap {
    width: min(720px, 100%);
    margin-inline: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.96);
    padding: 1rem;
    box-shadow: var(--shadow-soft);
}

.auth-card h1,
.form-wrap h1 {
    font-size: 1.35rem;
}

.auth-card p,
.form-wrap p {
    margin-top: 0.3rem;
    color: var(--text-soft);
}

.stack-form {
    display: grid;
    gap: 0.6rem;
    margin-top: 0.65rem;
}

.stack-form label {
    font-size: 0.82rem;
    font-weight: 700;
}

.form-hint {
    margin-top: -0.24rem;
    color: #6a829f;
    font-size: 0.75rem;
}

.form-hint a {
    color: #0c57ac;
    font-weight: 700;
}

.seo-image-preview {
    margin-top: -0.2rem;
    padding: 0.35rem 0.45rem;
    border: 1px solid #d6e3f5;
    border-radius: 10px;
    background: #f8fbff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.seo-inline-actions {
    margin-top: -0.1rem;
    margin-bottom: 0.7rem;
}

.seo-auto-post-run-form {
    border: 1px solid #d7e4f6;
    border-radius: 12px;
    background: #f8fbff;
    padding: 0.62rem 0.72rem;
    display: grid;
    gap: 0.45rem;
    max-width: 460px;
}

.seo-auto-post-run-controls {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.seo-auto-post-run-controls input {
    max-width: 120px;
}

.ai-writer-toolbar {
    margin-top: -0.2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.ai-generate-btn {
    min-width: 170px;
}

.ai-writer-message {
    margin-top: 0;
}

.ai-writer-message.is-error {
    color: #a03845;
    font-weight: 700;
}

.ai-writer-message.is-success {
    color: #176548;
    font-weight: 700;
}

.admin-cat-picker {
    display: grid;
    gap: 0.48rem;
}

.admin-cat-label {
    font-size: 0.82rem;
    font-weight: 700;
}

.admin-cat-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
}

.admin-cat-pill {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.admin-cat-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.admin-cat-pill span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0.26rem 0.68rem;
    border-radius: 999px;
    border: 1px solid #e0e7f1;
    background: #ffffff;
    color: #9aa5b5;
    font-family: "Sora", sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.admin-cat-pill:hover span {
    border-color: #b8d1ee;
    color: #5f7fa3;
}

.admin-cat-pill input:checked + span {
    border-color: #9ec6f1;
    background: linear-gradient(180deg, #f2f8ff 0%, #e4f1ff 100%);
    color: #0d56a8;
    box-shadow: 0 8px 18px -16px rgba(13, 86, 168, 0.85);
}

.admin-cat-pill input:focus-visible + span {
    outline: 2px solid rgba(13, 86, 168, 0.35);
    outline-offset: 1px;
}

.stack-form input,
.stack-form textarea,
.stack-form select {
    width: 100%;
    border: 1px solid #d1def2;
    border-radius: 10px;
    padding: 0.58rem 0.64rem;
    font-family: inherit;
    font-size: 0.84rem;
}

.input-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.inline-checkbox {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.inline-checkbox input {
    width: auto;
}

.admin-body {
    background: #eef3fc;
}

.admin-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    background: #0a1730;
    color: #d6e2f8;
    padding: 1rem;
    display: grid;
    align-content: start;
    gap: 1.2rem;
}

.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    width: fit-content;
    color: #fff;
}

.admin-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    border: 1px solid #3d5b8a;
    background: linear-gradient(145deg, #274a7d 0%, #17345f 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Sora", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 12px 20px -18px rgba(7, 23, 45, 0.95);
}

.admin-brand-text {
    display: grid;
    gap: 0.06rem;
}

.admin-brand-text strong {
    font-family: "Sora", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.admin-brand-text small {
    color: #8ea9cc;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.admin-nav-title {
    margin: 0;
    color: #88a3c6;
    font-family: "Sora", sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-nav {
    display: grid;
    gap: 0.5rem;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 0.52rem;
    min-height: 40px;
    padding: 0.55rem 0.62rem;
    border-radius: 8px;
    color: #d8e5ff;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-nav a:hover {
    background: #142647;
    border-color: #27406f;
    color: #f4f8ff;
    transform: translateX(1px);
}

.admin-nav a.is-active {
    background: #17305a;
    border-color: #32568f;
    color: #ffffff;
}

.admin-nav-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 1px solid #2f466f;
    background: #12294d;
    color: #cfe2ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.admin-nav a.is-active .admin-nav-icon {
    border-color: #4a76bc;
    background: #1f4279;
    color: #ffffff;
}

.admin-nav-icon svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-logout {
    width: 100%;
    border: 1px solid #2d3f63;
    background: #101f3f;
    color: #fff;
    border-radius: 8px;
    padding: 0.6rem 0.7rem;
    cursor: pointer;
}

.admin-sidebar-actions {
    display: grid;
    gap: 0.5rem;
}

.admin-cache-clear {
    width: 100%;
    border: 1px solid #6a2230;
    background: #4f1925;
    color: #ffe8ed;
    border-radius: 8px;
    padding: 0.6rem 0.7rem;
    cursor: pointer;
}

.admin-main {
    padding: 1.2rem;
    min-width: 0;
}

.admin-title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.admin-dash-hero {
    border: 1px solid #cedef2;
    border-radius: 16px;
    padding: 1rem;
    background:
        radial-gradient(circle at 92% 6%, rgba(56, 138, 222, 0.14), rgba(56, 138, 222, 0) 36%),
        linear-gradient(132deg, #ffffff 0%, #f4f9ff 100%);
    box-shadow: 0 18px 30px -32px rgba(12, 63, 122, 0.92);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
}

.admin-dash-kicker {
    width: fit-content;
    border: 1px solid #c9def5;
    border-radius: 999px;
    padding: 0.15rem 0.52rem;
    color: #135aaf;
    background: #eaf3ff;
    font-family: "Sora", sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.admin-dash-copy {
    margin-top: 0.22rem;
    max-width: 62ch;
    color: #587296;
    font-size: 0.85rem;
}

.admin-dash-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
}

.admin-kpi-grid {
    margin-top: 0.95rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.admin-kpi-card {
    border: 1px solid #d6e3f4;
    border-radius: 14px;
    background: #fff;
    padding: 0.82rem;
    box-shadow: 0 14px 24px -28px rgba(10, 52, 103, 0.85);
}

.admin-kpi-card.is-highlight {
    border-color: #9cc4ec;
    background: linear-gradient(145deg, #f2f8ff 0%, #e8f3ff 100%);
}

.admin-kpi-label {
    color: #5b7393;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-kpi-card h2 {
    margin-top: 0.28rem;
    font-family: "Sora", sans-serif;
    font-size: 1.45rem;
    letter-spacing: -0.01em;
}

.admin-kpi-meta {
    margin-top: 0.22rem;
    color: #6f85a1;
    font-size: 0.75rem;
    font-weight: 600;
}

.admin-dash-layout {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 0.9rem;
}

.admin-panel {
    margin-top: 0;
    border: 1px solid #d6e2f3;
    border-radius: 14px;
    background: #ffffff;
    padding: 0.82rem;
}

.admin-panel .admin-section-head {
    margin-bottom: 0.7rem;
}

.admin-table-wrap {
    border-color: #dee7f4;
}

.leaderboard-table,
.activity-table {
    min-width: 760px;
}

.admin-rank-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 25px;
    border: 1px solid #c8dff7;
    border-radius: 999px;
    color: #0f5eb8;
    background: #edf5ff;
    font-family: "Sora", sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.admin-resource-cell {
    display: grid;
    gap: 0.06rem;
    min-width: 0;
}

.admin-resource-cell a {
    color: #163f6a;
    font-weight: 700;
}

.admin-resource-cell a:hover {
    color: #0b4f9f;
}

.admin-resource-cell span {
    color: #7890ad;
    font-size: 0.72rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.admin-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    border-radius: 999px;
    padding: 0.14rem 0.55rem;
    font-family: "Sora", sans-serif;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-status-pill.is-live {
    border: 1px solid #afdcc6;
    color: #16704c;
    background: #e7f8f0;
}

.admin-status-pill.is-draft {
    border: 1px solid #ead7b3;
    color: #855814;
    background: #fff6e5;
}

.admin-status-pill.is-new {
    border: 1px solid #f0c5c8;
    color: #9d2030;
    background: #fff0f1;
}

.admin-status-pill.is-reviewed {
    border: 1px solid #c9daef;
    color: #1a4e87;
    background: #edf5ff;
}

.admin-download-value {
    color: #0d4f9a;
    font-weight: 700;
}

.admin-side-stack {
    display: grid;
    gap: 0.9rem;
    align-content: start;
}

.admin-mini-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.admin-mini-list li {
    border: 1px solid #dfebf8;
    border-radius: 11px;
    background: #f9fcff;
    min-height: 56px;
    padding: 0.48rem 0.56rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.admin-mini-list-info {
    min-width: 0;
    display: grid;
    gap: 0.06rem;
}

.admin-mini-list-info a {
    color: #1a446f;
    font-size: 0.79rem;
    font-weight: 700;
}

.admin-mini-list-info a:hover {
    color: #0c4f9e;
}

.admin-mini-list-info span {
    color: #6f88a6;
    font-size: 0.71rem;
}

.admin-mini-list strong {
    color: #0d4f9a;
    font-family: "Sora", sans-serif;
    font-size: 0.84rem;
}

.admin-pipeline-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.admin-pipeline-card {
    border: 1px solid #deebf8;
    border-radius: 12px;
    background: #f8fbff;
    padding: 0.54rem 0.58rem;
    display: grid;
    gap: 0.08rem;
}

.admin-pipeline-card p {
    color: #4f6d93;
    font-size: 0.7rem;
    font-weight: 700;
}

.admin-pipeline-card strong {
    color: #183f67;
    font-family: "Sora", sans-serif;
    font-size: 1.1rem;
}

.admin-pipeline-card span {
    color: #738ca9;
    font-size: 0.7rem;
}

.admin-muted {
    color: #7088a4;
    font-size: 0.79rem;
}

.admin-dash-hero.admin-dash-hero-v2 {
    position: relative;
    overflow: hidden;
    border-color: #b8d2f0;
    border-radius: 18px;
    padding: 1.1rem 1.15rem;
    background:
        radial-gradient(circle at 88% 0%, rgba(44, 127, 218, 0.26), rgba(44, 127, 218, 0) 34%),
        radial-gradient(circle at 0% 100%, rgba(242, 150, 40, 0.16), rgba(242, 150, 40, 0) 35%),
        linear-gradient(130deg, #ffffff 0%, #eef6ff 50%, #f5f9ff 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 24px 36px -34px rgba(9, 56, 108, 0.98);
    grid-template-columns: minmax(0, 1.55fr) minmax(250px, 1fr);
    gap: 1.05rem;
}

.admin-hero-main {
    position: relative;
    z-index: 1;
}

.admin-hero-chip-row {
    margin-top: 0.62rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.34rem;
}

.admin-hero-chip-row span {
    border: 1px solid #c9ddf4;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    color: #2e5e91;
    background: rgba(255, 255, 255, 0.86);
    font-size: 0.68rem;
    font-weight: 700;
}

.admin-dash-hero-v2 .admin-dash-actions {
    margin-top: 0.65rem;
    justify-content: flex-start;
}

.admin-hero-spotlight {
    position: relative;
    z-index: 1;
    border: 1px solid #c7dcf3;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    padding: 0.76rem 0.78rem;
    display: grid;
    gap: 0.18rem;
}

.admin-hero-spotlight-label {
    color: #2f638f;
    font-family: "Sora", sans-serif;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-hero-spotlight h2 {
    margin: 0.05rem 0 0;
    color: #163d65;
    font-family: "Sora", sans-serif;
    font-size: 1rem;
    line-height: 1.34;
}

.admin-hero-spotlight p {
    color: #607a99;
    font-size: 0.76rem;
}

.admin-hero-spotlight small {
    color: #5f7b9d;
    font-size: 0.71rem;
    font-weight: 700;
}

.admin-meter {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #dfebf8;
    overflow: hidden;
    margin: 0.18rem 0 0.06rem;
}

.admin-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0f69d6, #42a0f3);
}

.admin-kpi-grid.admin-kpi-grid-v2 {
    margin-top: 1rem;
    gap: 0.82rem;
}

.admin-kpi-grid-v2 .admin-kpi-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    padding: 0.84rem;
    background: linear-gradient(175deg, #ffffff 0%, #f8fbff 100%);
}

.admin-kpi-grid-v2 .admin-kpi-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #6aa8eb, #1d84e3);
}

.admin-kpi-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #c5dbf4;
    border-radius: 10px;
    background: #eef6ff;
    color: #0f5db6;
    font-family: "Sora", sans-serif;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.admin-kpi-grid-v2 .admin-kpi-label {
    margin-top: 0.46rem;
}

.admin-kpi-grid-v2 .admin-kpi-card h2 {
    margin-top: 0.16rem;
}

.admin-dash-layout.admin-dash-layout-v2 {
    margin-top: 1.05rem;
    align-items: start;
}

.admin-panel.admin-panel-strong {
    border-color: #cdddef;
    box-shadow: 0 18px 30px -34px rgba(8, 56, 108, 0.95);
}

.admin-share-track {
    width: 132px;
    max-width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #e2edf9;
    overflow: hidden;
}

.admin-share-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #3596ef, #0f6dd8);
}

.admin-share-text {
    display: inline-block;
    margin-top: 0.18rem;
    color: #607b9c;
    font-size: 0.68rem;
    font-weight: 700;
}

.admin-trend-bars {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.45rem;
}

.admin-trend-bars li {
    border: 1px solid #dde9f7;
    border-radius: 11px;
    background: #f7fbff;
    padding: 0.44rem 0.3rem;
    min-height: 130px;
    display: grid;
    justify-items: center;
    align-content: end;
    gap: 0.3rem;
}

.admin-trend-bars small {
    color: #5f7c9d;
    font-size: 0.66rem;
    font-weight: 700;
}

.admin-trend-bar {
    width: 22px;
    height: 64px;
    border-radius: 999px;
    background: #dce9f8;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.admin-trend-bar span {
    width: 100%;
    border-radius: inherit;
    background: linear-gradient(180deg, #59aced 0%, #0f6fd7 100%);
}

.admin-trend-bars strong {
    color: #1a416b;
    font-family: "Sora", sans-serif;
    font-size: 0.84rem;
}

.admin-demand-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.admin-demand-list li {
    border: 1px solid #deebf8;
    border-radius: 11px;
    background: #f9fcff;
    padding: 0.5rem 0.58rem;
    display: grid;
    gap: 0.35rem;
}

.admin-demand-value {
    display: grid;
    gap: 0.25rem;
}

.admin-demand-value strong {
    color: #0f4f99;
    font-family: "Sora", sans-serif;
    font-size: 0.81rem;
}

.admin-demand-track {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #dde9f8;
    overflow: hidden;
}

.admin-demand-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #47a4ef, #0f6dd6);
}

.home-shell-v3 {
    gap: 1.2rem;
}

.home-shell-v3 .hero-panel.hero-panel-v3 {
    border: 1px solid #2f6cab;
    border-radius: 24px;
    padding: 2rem;
    background:
        radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 38%),
        radial-gradient(circle at 10% 100%, rgba(255, 181, 91, 0.28), rgba(255, 181, 91, 0) 36%),
        linear-gradient(138deg, #05284f 0%, #0b4f96 52%, #1d82df 100%);
    box-shadow: 0 34px 80px -46px rgba(3, 26, 52, 0.95);
}

.hero-value-row {
    margin-top: 0.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
}

.hero-value-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border: 1px solid rgba(216, 234, 255, 0.44);
    border-radius: 999px;
    padding: 0.14rem 0.58rem;
    background: rgba(4, 31, 62, 0.32);
    color: rgba(235, 244, 255, 0.96);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-shell-v3 .hero-panel-v3 .hero-search input {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(248, 252, 255, 0.98);
}

.home-shell-v3 .hero-panel-v3 .hero-search .btn-primary {
    border-color: rgba(255, 255, 255, 0.35);
    background: linear-gradient(135deg, #f39d35 0%, #df7e1d 100%);
    box-shadow: 0 16px 22px -18px rgba(185, 98, 10, 0.95);
}

.home-shell-v3 .hero-panel-v3 .hero-stats div {
    background: rgba(5, 28, 58, 0.46);
    border-color: rgba(212, 232, 255, 0.28);
}

.home-shell-v3 .hero-panel-v3 .hero-side {
    border-color: rgba(221, 238, 255, 0.33);
    background: rgba(4, 24, 51, 0.38);
}

.home-shell-v3 .hero-panel-v3 .hero-category-grid {
    margin-top: 0.72rem;
    gap: 0.56rem;
}

.home-shell-v3 .hero-panel-v3 .hero-category-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.52rem;
    border-color: rgba(211, 231, 255, 0.38);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
}

.home-shell-v3 .hero-panel-v3 .hero-category-rank {
    width: 29px;
    height: 29px;
    border-radius: 10px;
    border: 1px solid rgba(233, 243, 255, 0.5);
    background: rgba(7, 38, 73, 0.52);
    color: #f4f9ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Sora", sans-serif;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.home-shell-v3 .hero-panel-v3 .hero-category-copy {
    min-width: 0;
    display: grid;
    gap: 0.12rem;
}

.home-shell-v3 .hero-panel-v3 .hero-category-copy span {
    color: rgba(225, 238, 255, 0.92);
}

.home-signal-grid {
    margin-top: 0.25rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.72rem;
    animation: rise-in 0.75s 0.08s both;
}

.home-signal-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #cadcf2;
    border-radius: 15px;
    padding: 0.76rem 0.78rem;
    display: grid;
    gap: 0.14rem;
    background:
        radial-gradient(circle at 96% 10%, rgba(52, 147, 232, 0.15), rgba(52, 147, 232, 0) 35%),
        linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
    box-shadow: 0 18px 28px -30px rgba(8, 54, 105, 0.9);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-signal-card::after {
    content: "";
    position: absolute;
    right: 0.75rem;
    top: 0.78rem;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #2d8ae4;
    box-shadow: 0 0 0 4px rgba(45, 138, 228, 0.14);
}

.home-signal-card p {
    color: #537299;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-signal-card strong {
    color: #153c66;
    font-family: "Sora", sans-serif;
    font-size: 1.32rem;
}

.home-signal-card span {
    color: #6b84a4;
    font-size: 0.74rem;
    font-weight: 600;
}

.home-signal-card:hover {
    transform: translateY(-3px);
    border-color: #aacbed;
    box-shadow: 0 22px 32px -30px rgba(8, 54, 105, 0.95);
}

.home-shell-v3 .description-band {
    border-color: #d3e2f3;
    background:
        radial-gradient(circle at 0% 0%, rgba(83, 161, 234, 0.14), rgba(83, 161, 234, 0) 32%),
        linear-gradient(180deg, #f7fbff, #ffffff);
}

.home-stream-actions {
    margin-bottom: 0.72rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.home-stream-actions .btn {
    min-width: 124px;
}

.listing-shell-v3 .main-stream {
    gap: 0.9rem;
}

.listing-hero-card {
    border-color: #c3d8f0;
    border-radius: 18px;
    background:
        radial-gradient(circle at 0% 0%, rgba(89, 165, 240, 0.13), rgba(89, 165, 240, 0) 36%),
        linear-gradient(180deg, #f9fcff 0%, #ffffff 100%);
}

.listing-hero-card .block-headline p {
    max-width: 70ch;
}

.listing-stat-row {
    margin-top: 0.78rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.listing-stat-row article {
    border: 1px solid #d4e3f4;
    border-radius: 12px;
    background: #ffffff;
    padding: 0.54rem 0.58rem;
    display: grid;
    gap: 0.05rem;
}

.listing-stat-row p {
    color: #58779b;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.listing-stat-row strong {
    color: #173d67;
    font-family: "Sora", sans-serif;
    font-size: 1.08rem;
}

.listing-chip-row {
    margin-top: 0.65rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.44rem;
}

.listing-search-form {
    margin-top: 0.72rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
}

.listing-search-form input {
    border: 1px solid #c9ddf5;
    border-radius: 12px;
    padding: 0.7rem 0.8rem;
    font-family: inherit;
    font-size: 0.88rem;
    color: #173f68;
    background: #ffffff;
}

.listing-search-form input:focus {
    outline: 2px solid rgba(13, 94, 188, 0.24);
    outline-offset: 1px;
}

.listing-results-card {
    border-color: #cfdeef;
    border-radius: 17px;
    background:
        radial-gradient(circle at 100% 0%, rgba(89, 167, 241, 0.08), rgba(89, 167, 241, 0) 28%),
        #ffffff;
}

.resource-shell-v3 .main-stream {
    gap: 0.95rem;
}

.single-block.single-block-v3 {
    border-color: #c7dbf1;
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(89, 167, 241, 0.1), rgba(89, 167, 241, 0) 34%),
        linear-gradient(180deg, #fafdff 0%, #ffffff 100%);
}

.resource-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.86rem;
    align-items: start;
}

.resource-top-main h1 {
    margin-top: 0.32rem;
}

.resource-hero-title {
    margin-top: 0;
    font-size: clamp(1.8rem, 2.4vw, 2.2rem);
    letter-spacing: 0.01em;
}

.resource-file-line {
    margin-top: 0.22rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #66798f;
    font-size: 0.95rem;
    font-weight: 500;
}

.resource-file-line svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #30ba58;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.resource-hero-excerpt {
    margin-top: 0.42rem;
    color: #4c6488;
    font-size: 0.94rem;
    font-weight: 600;
}

.resource-info-grid {
    margin-top: 0.8rem;
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.resource-cover-wrap {
    border-radius: 0;
    overflow: hidden;
    background: #e8eff9;
    min-height: 260px;
}

.resource-cover-image {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
}

.resource-cover-fallback {
    min-height: 260px;
    display: grid;
    place-items: center;
    color: #6b82a0;
    font-weight: 700;
}

.resource-fact-list {
    display: grid;
    gap: 0.46rem;
    align-content: start;
}

.resource-fact-row {
    display: grid;
    grid-template-columns: 24px minmax(165px, 0.9fr) minmax(0, 1fr);
    align-items: center;
    column-gap: 0.5rem;
    row-gap: 0.15rem;
}

.resource-fact-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.resource-fact-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #3d84de;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.resource-fact-label {
    color: #101f35;
    font-family: "Sora", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}

.resource-fact-value {
    color: #1d314d;
    font-size: 0.82rem;
    font-weight: 500;
    word-break: break-word;
}

.resource-fact-value a {
    color: #2f68b2;
    text-decoration: underline;
}

.resource-quick-panel {
    border: 0;
    border-radius: 14px;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.resource-quick-label {
    color: #205487;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.resource-quick-grid {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.resource-quick-grid div {
    border: 0;
    border-radius: 10px;
    background: transparent;
    padding: 0.45rem;
    display: grid;
    gap: 0.08rem;
}

.resource-quick-grid span {
    color: #617e9f;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.resource-quick-grid strong {
    color: #173d66;
    font-family: "Sora", sans-serif;
    font-size: 0.81rem;
}

.single-banner.single-banner-v3 {
    margin-top: 0.78rem;
    border-radius: 14px;
    box-shadow: 0 24px 34px -34px rgba(8, 54, 104, 0.95);
}

.single-text.single-text-v3 {
    margin-top: 0.75rem;
    border: 1px solid #d8e7f8;
    border-radius: 14px;
    background: #ffffff;
    padding: 0.75rem;
    line-height: 1.65;
    white-space: normal;
}

.resource-toc {
    margin-top: 0.72rem;
    border: 1px solid #d8e7f8;
    border-radius: 14px;
    background: #f9fcff;
    padding: 0.65rem 0.75rem;
}

.resource-toc-title {
    margin: 0;
    color: #245486;
    font-family: "Sora", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.resource-toc-list {
    margin: 0.45rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.26rem;
}

.resource-toc-item a {
    color: #194978;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
}

.resource-toc-number {
    min-width: 2.2rem;
    color: #4f6f95;
    font-size: 0.76rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.resource-toc-item a:hover {
    color: #0d5fc1;
    text-decoration: underline;
}

.resource-toc-item.toc-level-3 {
    margin-left: 0.8rem;
}

.resource-toc-item.toc-level-4 {
    margin-left: 1.4rem;
}

.resource-description > :first-child {
    margin-top: 0;
}

.resource-description > :last-child {
    margin-bottom: 0;
}

.resource-description p {
    margin: 0 0 0.75rem;
}

.resource-description .resource-content-figure {
    margin: 0 auto 0.95rem;
    max-width: min(100%, 760px);
    padding: 0.42rem;
    border: 1px solid #d8e7f8;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    box-shadow: 0 16px 28px -24px rgba(8, 54, 104, 0.85);
    text-align: center;
}

.resource-description .resource-content-figure img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
    border-radius: 10px;
}

.resource-description .resource-content-figure figcaption {
    margin-top: 0.35rem;
    color: #607999;
    font-size: 0.76rem;
    font-weight: 600;
}

.resource-description .resource-content-gallery {
    margin: 0 0 0.95rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.72rem;
}

.resource-description .resource-content-gallery .resource-content-figure {
    margin: 0;
    max-width: none;
}

.resource-description .resource-content-gallery .resource-content-figure img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.resource-description h2,
.resource-description h3,
.resource-description h4 {
    margin: 1rem 0 0.5rem;
    color: #1d3f63;
    font-family: "Sora", sans-serif;
    line-height: 1.35;
}

.resource-description h2 {
    font-size: 1.12rem;
}

.resource-description h3 {
    font-size: 1rem;
}

.resource-description h4 {
    font-size: 0.92rem;
}

.resource-heading-number {
    display: inline-block;
    margin-right: 0.5rem;
    color: #55779d;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.single-meta-grid.single-meta-grid-v3 {
    margin-top: 0.78rem;
}

.resource-action-row {
    margin-top: 0.62rem;
    justify-content: center;
}

.resource-action-row .btn {
    min-width: 138px;
}

.resource-share-panel {
    margin-top: 0.7rem;
    border: 1px solid #d8e6f7;
    border-radius: 12px;
    background: #f7fbff;
    padding: 0.66rem 0.72rem;
}

.resource-share-title {
    margin: 0 0 0.5rem;
    color: #2a4f7d;
    font-family: "Sora", sans-serif;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.resource-share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.resource-share-links .btn {
    min-width: 110px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.34rem;
}

.resource-share-btn svg,
.resource-report-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #0e4f98;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.resource-share-btn:first-child svg,
.resource-share-btn:nth-child(2) svg,
.resource-share-btn:nth-child(3) svg,
.resource-share-btn:nth-child(4) svg {
    fill: #0e4f98;
    stroke: none;
}

.resource-share-btn span,
.resource-report-btn span {
    color: #0f4f96;
}

.resource-share-links .btn.btn-ghost svg,
.resource-report-btn svg {
    stroke: #2563a8;
}

.resource-report-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.34rem;
}

.resource-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.34rem;
    padding-inline: 0.96rem;
}

.resource-download-btn svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    transform: translateY(-0.5px);
}

.resource-download-btn span {
    line-height: 1;
}

.resource-comments-block {
    border-color: #cfe0f3;
}

.resource-comment-form {
    margin-top: 0.35rem;
}

.resource-comment-actions {
    margin-top: 0.15rem;
}

.resource-comment-list {
    margin-top: 0.75rem;
    display: grid;
    gap: 0.56rem;
}

.resource-comment-card {
    border: 1px solid #d8e6f7;
    border-radius: 12px;
    background: #f9fcff;
    padding: 0.62rem 0.68rem;
}

.resource-comment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    margin-bottom: 0.25rem;
}

.resource-comment-head strong {
    color: #16385f;
    font-family: "Sora", sans-serif;
    font-size: 0.84rem;
}

.resource-comment-head span {
    color: #607999;
    font-size: 0.72rem;
}

.resource-comment-card p {
    color: #294769;
    font-size: 0.84rem;
    line-height: 1.58;
}

.resource-comment-empty {
    margin: 0.2rem 0 0;
    color: #607999;
    font-size: 0.84rem;
}

.resource-report-info {
    margin: 0.15rem 0 0.65rem;
    border: 1px solid #d7e5f7;
    border-radius: 12px;
    background: #f7fbff;
    padding: 0.62rem 0.7rem;
    display: grid;
    gap: 0.25rem;
}

.resource-report-info p {
    color: #1f3656;
}

.resource-report-info strong {
    color: #133a62;
    font-family: "Sora", sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.resource-report-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.46rem;
}

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

.captcha-wrap {
    margin-top: 0.45rem;
}

.admin-inline-status-form {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.36rem;
}

.admin-inline-status-form select {
    min-width: 118px;
}

.admin-demand-value-report {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.34rem;
}

.admin-report-quick-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.28rem;
}

.admin-report-quick-actions form {
    display: inline-flex;
}

.admin-report-filter-form {
    margin-bottom: 0.8rem;
}

.admin-report-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.46rem;
}

.admin-report-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.62rem 0.9rem;
}

.admin-report-label {
    margin: 0 0 0.2rem;
    color: #5e7b9e;
    font-family: "Sora", sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-report-message-box p:last-child {
    margin: 0;
    color: #294769;
    line-height: 1.6;
    white-space: pre-wrap;
}

.download-safe-block {
    border-color: #c6dbf1;
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(84, 163, 240, 0.1), rgba(84, 163, 240, 0) 36%),
        linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}

.download-safe-grid {
    margin-top: 0.78rem;
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.download-safe-cover {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #d5e5f7;
    background: #eef5ff;
    min-height: 180px;
}

.download-safe-cover img {
    width: 100%;
    min-height: 180px;
    height: 100%;
    object-fit: cover;
    display: block;
}

.download-safe-fallback {
    min-height: 180px;
    display: grid;
    place-items: center;
    color: #5f7d9f;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.download-safe-meta {
    display: grid;
    gap: 0.36rem;
}

.download-safe-meta p {
    color: #1f3553;
    line-height: 1.4;
}

.download-safe-meta strong {
    color: #10325a;
    font-family: "Sora", sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.download-safe-notice {
    margin-top: 0.9rem;
    border: 1px solid #d6e6f8;
    border-radius: 12px;
    background: #f8fbff;
    padding: 0.72rem 0.82rem;
}

.download-safe-notice h2 {
    font-size: 0.92rem;
    color: #1f4a7a;
}

.download-safe-notice ul {
    margin: 0.45rem 0 0;
    padding-left: 1rem;
    color: #375579;
    display: grid;
    gap: 0.22rem;
}

.download-safe-actions {
    margin-top: 0.82rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-align: center;
}

.download-safe-actions form {
    display: inline-flex;
    justify-content: center;
}

.download-safe-actions .btn {
    min-width: 152px;
}

.download-safe-content {
    margin-top: 1rem;
    border-top: 1px solid #d8e6f7;
    padding-top: 0.9rem;
    color: #223a5b;
}

.download-safe-content h2,
.download-safe-content h3 {
    margin: 0.72rem 0 0.38rem;
    color: #16365b;
    font-family: "Sora", sans-serif;
    line-height: 1.34;
}

.download-safe-content h2 {
    font-size: 1.04rem;
}

.download-safe-content h3 {
    font-size: 0.92rem;
}

.download-safe-content p {
    margin: 0 0 0.52rem;
    color: #2f4b70;
    font-size: 0.84rem;
    line-height: 1.63;
}

.download-safe-content ul,
.download-safe-content ol {
    margin: 0 0 0.62rem;
    padding-left: 1rem;
    color: #2f4b70;
    display: grid;
    gap: 0.24rem;
}

.admin-dashboard-v3 {
    display: grid;
    gap: 1rem;
}

.admin-dash-hero.admin-dash-hero-v3 {
    border-color: #aecaea;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        0 30px 42px -34px rgba(8, 56, 108, 0.95);
}

.admin-dash-hero.admin-dash-hero-v3::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(41, 107, 182, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(41, 107, 182, 0.05) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.4;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
}

.admin-dashboard-v3 .admin-kpi-grid.admin-kpi-grid-v2 {
    margin-top: 0;
}

.admin-dashboard-v3 .admin-kpi-grid-v2 .admin-kpi-card {
    min-height: 172px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-dashboard-v3 .admin-kpi-grid-v2 .admin-kpi-card:hover {
    transform: translateY(-3px);
    border-color: #b9d4ef;
    box-shadow: 0 26px 34px -34px rgba(8, 56, 108, 0.96);
}

.admin-kpi-icon {
    line-height: 0;
}

.admin-kpi-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-quick-grid {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.76rem;
}

.admin-quick-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #cfe0f3;
    border-radius: 14px;
    padding: 0.82rem;
    display: grid;
    gap: 0.35rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(71, 163, 241, 0.14), rgba(71, 163, 241, 0) 40%),
        linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
    box-shadow: 0 18px 28px -30px rgba(8, 57, 110, 0.9);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-quick-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #65acef, #1676dc);
}

.admin-quick-card:hover {
    transform: translateY(-3px);
    border-color: #aecaeb;
    box-shadow: 0 24px 36px -32px rgba(8, 57, 110, 0.95);
}

.admin-quick-icon {
    width: 32px;
    height: 32px;
    border: 1px solid #c7dcf3;
    border-radius: 10px;
    background: #eaf4ff;
    color: #0e5db7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-quick-icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-quick-card strong {
    color: #163f68;
    font-family: "Sora", sans-serif;
    font-size: 0.91rem;
}

.admin-quick-card p {
    color: #647f9f;
    font-size: 0.75rem;
    line-height: 1.45;
}

.admin-quick-card em {
    margin-top: 0.1rem;
    color: #0f5fb8;
    font-style: normal;
    font-size: 0.71rem;
    font-weight: 700;
}

.admin-dashboard-v3 .admin-panel {
    background:
        radial-gradient(circle at 100% 0%, rgba(89, 171, 242, 0.08), rgba(89, 171, 242, 0) 30%),
        #ffffff;
}

.admin-dashboard-v3 .admin-table th {
    background: #f3f8ff;
}

.admin-dashboard-v3 .admin-dash-layout.admin-dash-layout-v2,
.admin-dashboard-v3 .admin-section {
    margin-top: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.stat-box {
    border: 1px solid #d4def0;
    background: #fff;
    border-radius: 12px;
    padding: 0.8rem;
}

.stat-box p {
    color: #567096;
}

.stat-box h2 {
    margin-top: 0.35rem;
}

.admin-section {
    margin-top: 1.2rem;
}

.admin-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.admin-actions-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.admin-actions-inline form {
    margin: 0;
}

.admin-table-scroll-shell {
    max-width: 100%;
}

.admin-table-top-scroll {
    display: none;
    overflow-x: auto;
    overflow-y: hidden;
    height: 14px;
    border: 1px solid #d6dfef;
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    background: #f4f8ff;
    scrollbar-color: #95a8c3 #e4ecf9;
}

.admin-table-scroll-shell.has-overflow .admin-table-top-scroll {
    display: block;
}

.admin-table-scroll-shell.has-overflow .table-wrap {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.admin-table-top-scroll-inner {
    height: 1px;
}

.admin-table-top-scroll::-webkit-scrollbar {
    height: 12px;
}

.admin-table-top-scroll::-webkit-scrollbar-track {
    background: #e4ecf9;
    border-radius: 999px;
}

.admin-table-top-scroll::-webkit-scrollbar-thumb {
    background: #95a8c3;
    border-radius: 999px;
}

.table-wrap {
    overflow-x: auto;
    max-width: 100%;
    border: 1px solid #d6dfef;
    border-radius: 12px;
    background: #fff;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 0.65rem 0.7rem;
    border-bottom: 1px solid #e2e9f5;
    vertical-align: top;
}

.admin-table th {
    background: #f6f9ff;
    font-family: "Sora", sans-serif;
    font-weight: 700;
}

.admin-resources-table {
    min-width: 920px;
}

.admin-resources-table th,
.admin-resources-table td {
    vertical-align: middle;
}

.resource-thumb-cell {
    width: 118px;
}

.resource-thumb-image {
    width: 96px;
    height: 54px;
    border-radius: 10px;
    border: 1px solid #d5e2f3;
    object-fit: cover;
    background: #eef4ff;
    display: block;
}

.resource-thumb-placeholder {
    width: 96px;
    height: 54px;
    border-radius: 10px;
    border: 1px dashed #c8d8ed;
    color: #587597;
    background: #f5f9ff;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.resource-title-cell {
    max-width: 280px;
    min-width: 150px;
    line-height: 1.35;
}

.resource-title-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.resource-action-cell {
    min-width: 126px;
}

.admin-resources-create-btn {
    white-space: nowrap;
}

.action-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.action-cell.resource-action-cell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.34rem;
}

.action-cell.resource-action-cell form,
.action-cell.resource-action-cell .btn {
    width: 100%;
}

.action-cell.resource-action-cell .btn {
    justify-content: center;
    white-space: nowrap;
}

.admin-menu-count {
    border: 1px solid #ccddf1;
    border-radius: 999px;
    padding: 0.2rem 0.5rem;
    color: #3b5f88;
    background: #eef5ff;
    font-family: "Sora", sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes menu-shift {
    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes badge-breathe {
    0%,
    100% {
        box-shadow:
            0 10px 18px -14px rgba(3, 26, 51, 0.95),
            0 0 0 0 var(--pb-glow);
    }

    50% {
        box-shadow:
            0 12px 22px -14px rgba(3, 26, 51, 0.95),
            0 0 0 3px rgba(255, 255, 255, 0.08);
    }
}

@keyframes badge-sheen {
    0%,
    55% {
        transform: translateX(-160%) rotate(9deg);
    }

    80%,
    100% {
        transform: translateX(370%) rotate(9deg);
    }
}

@keyframes badge-icon-pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes thumb-sweep {
    from {
        transform: translateX(-120%);
    }

    to {
        transform: translateX(120%);
    }
}

@media (max-width: 1120px) {
    .layout,
    .content-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-col,
    .sidebar-stream {
        order: 2;
    }

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

    .hero-panel {
        grid-template-columns: 1fr;
    }

    .hero-side {
        max-width: 420px;
    }

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

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

    .resource-top-grid {
        grid-template-columns: 1fr;
    }

    .admin-dash-layout {
        grid-template-columns: 1fr;
    }

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

    .ad-space-home,
    .ad-space-listing {
        grid-template-columns: 1fr;
    }

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

}

@media (max-width: 1400px) {
    .admin-resources-create-btn {
        width: auto;
        text-align: center;
        white-space: nowrap;
    }

    .admin-resources-table {
        min-width: 1020px;
    }

    .admin-resources-table thead {
        display: table-header-group;
    }

    .admin-resources-table th,
    .admin-resources-table td {
        width: auto;
        padding: 0.42rem 0.45rem;
    }

    .resource-thumb-cell {
        width: 86px;
        padding-top: 0.42rem;
    }

    .resource-thumb-image,
    .resource-thumb-placeholder {
        width: 72px;
        height: 42px;
        border-radius: 8px;
    }

    .resource-title-cell {
        max-width: 220px;
        min-width: 170px;
        padding-top: 0.42rem;
    }

    .resource-title-text {
        -webkit-line-clamp: 2;
        font-size: 0.77rem;
        line-height: 1.24;
    }

    .resource-action-cell {
        min-width: 108px;
        white-space: nowrap;
        padding-top: 0.42rem;
    }

    .admin-resources-table .action-cell.resource-action-cell {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.22rem;
    }

    .admin-resources-table .action-cell.resource-action-cell form {
        display: block;
    }

    .admin-resources-table .action-cell.resource-action-cell .btn {
        width: 100%;
        justify-content: center;
        min-height: 28px;
        padding: 0.26rem 0.4rem;
        font-size: 0.68rem;
        letter-spacing: 0.02em;
    }

    .admin-dashboard-v3 .leaderboard-table,
    .admin-dashboard-v3 .activity-table {
        min-width: 0;
    }

    .admin-dashboard-v3 .admin-table-wrap {
        border: 0;
        background: transparent;
        overflow: visible;
    }

    .admin-dashboard-v3 .admin-table thead {
        display: none;
    }

    .admin-dashboard-v3 .admin-table,
    .admin-dashboard-v3 .admin-table tbody,
    .admin-dashboard-v3 .admin-table tr,
    .admin-dashboard-v3 .admin-table td {
        display: block;
        width: 100%;
    }

    .admin-dashboard-v3 .admin-table tr {
        padding: 0.75rem 0.82rem;
        margin-bottom: 0.62rem;
        border: 1px solid #dee8f5;
        border-radius: 12px;
        background: #ffffff;
    }

    .admin-dashboard-v3 .admin-table tbody tr:last-child {
        margin-bottom: 0;
    }

    .admin-dashboard-v3 .admin-table td {
        padding: 0.42rem 0;
        border-bottom: 1px dashed #e4ebf6;
    }

    .admin-dashboard-v3 .admin-table td:last-child {
        border-bottom: 0;
    }

    .admin-dashboard-v3 .admin-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.18rem;
        color: #6a84a3;
        font-family: "Sora", sans-serif;
        font-size: 0.61rem;
        font-weight: 700;
        letter-spacing: 0.07em;
        text-transform: uppercase;
    }

    .admin-dashboard-v3 .admin-table td:not([data-label])::before {
        display: none;
    }

    .admin-dashboard-v3 .admin-share-track {
        width: min(170px, 100%);
    }
}

@media (max-width: 1200px) {
    .admin-resources-table {
        min-width: 900px;
    }

    .admin-resources-table .col-featured,
    .admin-resources-table .col-toc {
        display: none;
    }
}

@media (max-width: 1024px) {
    .admin-resources-table {
        min-width: 820px;
    }

    .admin-resources-table .col-platform {
        display: none;
    }
}

@media (max-width: 860px) {
    .admin-resources-table {
        min-width: 720px;
    }

    .admin-resources-table .col-image {
        display: none;
    }

    .resource-title-cell {
        max-width: none;
        min-width: 210px;
    }
}

@media (max-width: 760px) {
    .admin-resources-table {
        min-width: 0;
    }

    .admin-resources-table thead {
        display: none;
    }

    .admin-resources-table tbody,
    .admin-resources-table tr,
    .admin-resources-table td {
        display: block;
        width: 100%;
    }

    .admin-resources-table tr {
        padding: 0.7rem 0.8rem;
        margin-bottom: 0.55rem;
        border: 1px solid #dee8f5;
        border-radius: 12px;
        background: #fff;
    }

    .admin-resources-table tbody tr:last-child {
        margin-bottom: 0;
    }

    .admin-resources-table td {
        padding: 0.3rem 0;
        border-bottom: 1px dashed #e4ebf6;
    }

    .admin-resources-table td:last-child {
        border-bottom: 0;
    }

    .admin-resources-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.17rem;
        color: #6a84a3;
        font-family: "Sora", sans-serif;
        font-size: 0.61rem;
        font-weight: 700;
        letter-spacing: 0.07em;
        text-transform: uppercase;
    }

    .admin-resources-table .col-featured,
    .admin-resources-table .col-toc,
    .admin-resources-table .col-platform {
        display: block;
    }

    .admin-resources-table .col-image {
        display: none;
    }

    .resource-thumb-cell::before,
    .resource-title-cell::before,
    .resource-action-cell::before {
        display: none;
    }

    .resource-title-cell {
        max-width: none;
        min-width: 0;
        padding-top: 0.15rem;
    }

    .resource-title-text {
        -webkit-line-clamp: 3;
        font-size: 0.9rem;
        line-height: 1.34;
    }

    .resource-action-cell {
        min-width: 0;
        white-space: normal;
        padding-top: 0.45rem;
    }

    .admin-resources-table .action-cell.resource-action-cell {
        display: grid;
        grid-template-columns: repeat(2, minmax(110px, 1fr));
        gap: 0.35rem;
    }

    .admin-resources-table .action-cell.resource-action-cell form,
    .admin-resources-table .action-cell.resource-action-cell .btn {
        width: 100%;
    }
}

@media (max-width: 1040px) {
    .w-header-inner {
        grid-template-columns: 1fr;
        gap: 0.45rem;
        padding-top: 0.38rem;
    }

    .w-logo {
        padding-top: 0.1rem;
    }

    .w-logo-image {
        max-width: 170px;
        height: 36px;
    }

    .w-menu {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-inline: 0.1rem;
        scrollbar-width: none;
    }

    .w-menu::-webkit-scrollbar {
        display: none;
    }

    .w-header-search {
        max-width: 460px;
    }

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

    .footer-link-grid .footer-menu-col:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 920px) {
    .w-header-inner {
        padding-top: 0.35rem;
    }

    .w-logo img,
    .w-logo-image {
        max-width: 148px;
        max-height: 32px;
    }

    .logo-word {
        font-size: 0.95rem;
    }

    .w-menu {
        padding-bottom: 0;
    }

    .w-menu a {
        min-height: 40px;
        padding: 0.64rem 0.74rem;
        font-size: 0.68rem;
        letter-spacing: 0.035em;
    }

    .w-menu a::after {
        left: 0.65rem;
        right: 0.65rem;
        bottom: 0.22rem;
    }

    .w-header-search {
        width: 100%;
        min-height: 42px;
    }

    .w-header-search input {
        font-size: 0.8rem;
        padding: 0.54rem 0.72rem;
    }

    .w-header-search button {
        width: 35px;
        min-width: 35px;
        height: 35px;
    }

    .menu-icon {
        width: 20px;
        height: 20px;
    }

    .menu-icon svg {
        width: 12px;
        height: 12px;
    }

    .resource-hero-title {
        font-size: clamp(1.3rem, 7vw, 1.7rem);
    }

    .resource-file-line {
        font-size: 0.84rem;
    }

    .resource-info-grid {
        grid-template-columns: 1fr;
        gap: 0.72rem;
    }

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

    .download-safe-grid {
        grid-template-columns: 1fr;
        gap: 0.72rem;
    }

    .resource-cover-wrap,
    .resource-cover-image,
    .resource-cover-fallback {
        min-height: 210px;
    }

    .resource-fact-row {
        grid-template-columns: 22px minmax(140px, 0.9fr) minmax(0, 1fr);
    }

    .download-safe-actions {
        align-items: stretch;
    }

    .feature-strip {
        grid-template-columns: 1fr;
    }

    .home-signal-grid {
        gap: 0.6rem;
    }

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

    .listing-search-form .btn {
        width: 100%;
    }

    .post-row {
        grid-template-columns: 1fr;
    }

    .post-thumb {
        height: 190px;
    }

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

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

    .admin-dash-hero {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .admin-dash-actions {
        justify-content: flex-start;
    }

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

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

    .admin-dash-hero.admin-dash-hero-v2 {
        grid-template-columns: 1fr;
    }

    .admin-hero-spotlight {
        max-width: 480px;
    }

    .admin-trend-bars {
        grid-template-columns: repeat(7, minmax(48px, 1fr));
    }

    .ad-space-sidebar {
        grid-template-columns: 1fr;
    }

    .ad-card-link {
        aspect-ratio: 16 / 6;
    }

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

@media (max-width: 700px) {
    .container {
        width: calc(100% - 1.1rem);
    }

    .site-header .container {
        width: calc(100% - 0.6rem);
    }

    .hero-panel {
        padding: 1.2rem;
    }

    .hero-search {
        flex-direction: column;
    }

    .hero-search .btn-primary {
        width: 100%;
    }

    .w-header-search {
        max-width: none;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .home-signal-grid {
        grid-template-columns: 1fr;
    }

    .listing-stat-row {
        grid-template-columns: 1fr;
    }

    .resource-quick-grid {
        grid-template-columns: 1fr;
    }

    .admin-demand-value-report {
        align-items: flex-start;
    }

    .admin-report-quick-actions {
        justify-content: flex-start;
    }

    .resource-share-links .btn,
    .resource-report-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .admin-report-filter-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .resource-description .resource-content-gallery {
        grid-template-columns: 1fr;
    }

    .home-stream-actions .btn {
        width: 100%;
    }

    .block-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .widget-search form {
        flex-direction: column;
    }

    .widget-search button {
        width: 100%;
    }

    .ai-writer-toolbar {
        align-items: stretch;
    }

    .ai-generate-btn {
        width: 100%;
    }

    .single-meta-grid,
    .input-grid {
        grid-template-columns: 1fr;
    }

    .seo-auto-post-run-controls {
        flex-wrap: wrap;
    }

    .seo-auto-post-run-controls input,
    .seo-auto-post-run-controls .btn {
        width: 100%;
        max-width: none;
    }

    .admin-resources-table tr {
        grid-template-columns: 1fr;
        gap: 0.32rem;
    }

    .admin-kpi-card h2 {
        font-size: 1.32rem;
    }

    .admin-dash-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-dash-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .admin-dash-hero.admin-dash-hero-v2 {
        padding: 0.88rem 0.9rem;
    }

    .admin-hero-chip-row {
        margin-top: 0.5rem;
    }

    .admin-trend-bars {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.35rem;
    }

    .admin-trend-bars li {
        min-height: 118px;
    }

    .admin-share-track {
        width: 100px;
    }

    .ad-card {
        padding: 0.42rem;
    }

    .ad-card-title {
        font-size: 0.64rem;
    }

    .ad-card-link {
        aspect-ratio: 16 / 7;
    }

    .ad-space-sidebar .ad-card-link,
    .ad-space-resource .ad-card-link {
        aspect-ratio: 16 / 9;
    }

    .ad-card-html:not(.is-adsense) iframe {
        min-height: 160px;
    }

    .footer-shell {
        padding: 0.86rem 0 0.78rem;
    }

    .resource-title-cell {
        min-width: 0;
    }

    .footer-ad-wrap {
        padding-bottom: 0.55rem;
    }

    .footer-hero-card {
        padding: 0.86rem;
    }

    .footer-link-grid {
        grid-template-columns: 1fr;
        gap: 0.72rem;
    }

    .footer-link-grid .footer-menu-col:last-child {
        grid-column: auto;
    }

    .footer-action-row {
        align-items: stretch;
    }

    .footer-cta {
        width: 100%;
    }

    .footer-bottom {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.55rem 0;
    }

    .consent-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 0.66rem 0.7rem;
    }

    .consent-actions .btn {
        width: 100%;
    }

    .front-body::before,
    .front-body::after {
        display: none;
    }

    .scroll-top-wrap {
        right: 12px;
        bottom: 12px;
        width: auto;
        height: auto;
    }

    .scroll-top-btn {
        left: 0;
        top: 0;
        width: 40px;
        height: 40px;
    }

    .scroll-top-btn svg {
        width: 16px;
        height: 16px;
    }
}

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

    .admin-sidebar {
        padding: 0.8rem;
    }

    .admin-main {
        padding: 0.95rem;
    }

    .admin-brand-mark {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

}

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

    .admin-kpi-grid {
        grid-template-columns: 1fr;
    }

    .resource-action-row .btn {
        width: 100%;
    }

    .resource-share-links {
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-report-detail-grid {
        grid-template-columns: 1fr;
    }

    .captcha-wrap .g-recaptcha {
        transform: scale(0.88);
        transform-origin: left top;
    }

    .download-safe-actions,
    .download-safe-actions form,
    .download-safe-actions .btn {
        width: 100%;
    }

    .resource-action-cell,
    .resource-action-cell form,
    .resource-action-cell .btn {
        width: 100%;
    }

    .admin-resources-table .action-cell.resource-action-cell {
        grid-template-columns: 1fr;
    }

    .admin-quick-grid {
        grid-template-columns: 1fr;
    }

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

    .admin-hero-chip-row span {
        font-size: 0.64rem;
    }

    .ad-space {
        gap: 0.45rem;
    }

    .ad-card {
        padding: 0.36rem;
    }

    .ad-card-link,
    .ad-space-sidebar .ad-card-link,
    .ad-space-resource .ad-card-link {
        aspect-ratio: 4 / 3;
    }

    .ad-card-html:not(.is-adsense) iframe {
        min-height: 140px;
    }

    .platform-badge {
        min-height: 20px;
        padding: 0.16rem 0.4rem;
        font-size: 0.54rem;
    }

    .platform-badge-icon {
        width: 10px;
        height: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-top-wrap,
    .scroll-top-btn {
        transition: none;
    }

    .w-header-search,
    .w-header-search button,
    .w-header-search button svg {
        animation: none;
        transition: none;
    }

    .feature-thumb img,
    .post-thumb img,
    .trend-thumb img,
    .latest-thumb img,
    .ad-card-link img {
        transition: none;
    }

    .feature-thumb::after,
    .post-thumb::after,
    .trend-thumb::after,
    .latest-thumb::after {
        animation: none;
    }

    .platform-badge,
    .platform-badge::before,
    .platform-badge-icon svg {
        animation: none;
        transition: none;
    }
}
