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

:root {
    --bg-0: #f3f8f9;
    --bg-1: #e8f0f4;
    --ink-900: #102129;
    --ink-700: #2c4551;
    --ink-500: #5f7886;
    --ink-300: #95aab5;
    --line: #d9e4ea;
    --surface: #ffffff;
    --surface-2: #f7fbfc;
    --brand-deep: #0f2935;
    --brand-teal: #17c3b2;
    --brand-teal-dark: #0fa596;
    --brand-sand: #ffb86b;
    --danger: #d64545;
    --success: #1b9e77;
    --shadow-soft: 0 14px 34px rgba(19, 48, 63, 0.08);
    --shadow-strong: 0 22px 52px rgba(12, 31, 41, 0.18);
    --radius-lg: 20px;
    --radius-md: 14px;
    --content-max: 1220px;
    --focus-ring: 0 0 0 4px rgba(23, 195, 178, 0.2);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--ink-900);
    background: radial-gradient(1200px 600px at 10% -10%, #d7f6f2 0%, transparent 65%),
                radial-gradient(900px 480px at 95% 0%, #dfeeff 0%, transparent 60%),
                linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
    line-height: 1.6;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(20, 62, 80, 0.035) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(20, 62, 80, 0.035) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
    z-index: -1;
}

::selection {
    background: rgba(23, 195, 178, 0.25);
    color: var(--brand-deep);
}

h1,
h2,
h3,
h4,
.brand-font {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

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

.journal-theme {
    color: var(--ink-900);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(120deg, rgba(14, 38, 48, 0.94) 0%, rgba(12, 58, 69, 0.9) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(9, 28, 39, 0.25);
}

.site-header-unified {
    isolation: isolate;
}

.site-header-light {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.88) 0%, rgba(245, 250, 252, 0.88) 100%);
    border-bottom-color: rgba(19, 66, 78, 0.12);
    box-shadow: 0 10px 28px rgba(18, 51, 70, 0.09);
}

.site-nav {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
}

.site-nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.site-lang-switch {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.site-lang-switch a {
    min-width: 34px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(230, 249, 255, 0.82);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-lang-switch a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.site-lang-switch a.is-active {
    color: var(--brand-deep);
    background: linear-gradient(135deg, #8ff0e5 0%, #3fd9ca 100%);
}

.top-profile-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}

.site-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.16);
    color: #eefbff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.site-icon-btn:hover {
    background: rgba(255, 255, 255, 0.26);
    border-color: rgba(255, 255, 255, 0.44);
    transform: translateY(-1px);
}

.site-icon-btn svg {
    width: 18px;
    height: 18px;
}

.top-profile-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.78rem;
    color: var(--brand-deep);
    background: linear-gradient(140deg, #8ff0e5 0%, #3fd9ca 100%);
    box-shadow: 0 6px 14px rgba(28, 181, 167, 0.32);
}

.top-profile-meta {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
}

.top-profile-meta strong {
    font-size: 0.75rem;
    font-weight: 800;
    color: #f2fdff;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-profile-meta small {
    margin-top: 2px;
    font-size: 0.66rem;
    color: rgba(224, 245, 250, 0.84);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.site-mobile-profile {
    display: none;
}

.site-mobile-profile-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 14px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.brand-mark::before {
    content: '';
    width: 4px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--brand-teal) 0%, #7ad9d0 100%);
}

.site-header .brand-mark {
    color: #eef9fc;
}

.site-header-light .brand-mark {
    color: var(--brand-deep);
}

.brand-mark span {
    color: var(--brand-teal);
}

.brand-mark-split {
    display: inline-grid;
    grid-template-columns: repeat(2, max-content);
    align-items: center;
    column-gap: 10px;
}

.brand-mark-with-logo {
    gap: 0;
}

.brand-mark-with-logo::before {
    order: 2;
    margin-left: 8px;
    margin-right: 10px;
}

.brand-logo {
    order: 1;
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-mark-with-logo .brand-mark-split {
    order: 3;
}

@media (min-width: 769px) {
    .brand-mark-with-logo .brand-mark-split {
        grid-template-columns: 1fr;
        row-gap: 2px;
        align-items: flex-start;
    }

    .brand-mark-split .brand-word {
        line-height: 1.05;
    }
}

.brand-mark-split .brand-word {
    display: inline-block;
    color: #eef9fc;
}

.brand-mark-split .brand-word-accent {
    color: var(--brand-teal);
}

.site-menu {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.site-menu a {
    position: relative;
    font-size: clamp(0.72rem, 0.65rem + 0.24vw, 0.82rem);
    font-weight: 700;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.92;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.site-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--brand-teal);
    transition: transform 0.24s ease;
}

.site-menu a:hover::after,
.site-menu a.active::after {
    transform: scaleX(1);
}

.site-menu a:hover,
.site-menu a.active {
    color: var(--brand-teal);
    opacity: 1;
}

.mobile-dock {
    display: none;
}

.site-cta,
.btn,
button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.86rem;
    letter-spacing: 0.03em;
    padding: 11px 20px;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.24s ease, background-color 0.24s ease, color 0.24s ease;
    text-decoration: none;
}

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

.btn.is-pressed,
.site-cta.is-pressed {
    transform: scale(0.98) !important;
}

.site-cta,
.btn-primary {
    background: linear-gradient(140deg, var(--brand-teal) 0%, #2dd7c6 100%);
    color: var(--brand-deep);
    box-shadow: 0 10px 24px rgba(23, 195, 178, 0.34);
}

.site-cta:hover,
.btn-primary:hover {
    background: linear-gradient(140deg, #29d5c3 0%, #42dfd0 100%);
    box-shadow: 0 14px 30px rgba(18, 161, 147, 0.36);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #ffffff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink-700);
}

.btn-outline:hover {
    border-color: var(--brand-teal-dark);
    color: var(--brand-teal-dark);
}

.page-shell {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 28px 24px 56px;
}

.admin-sidebar-card {
    position: sticky;
    top: 96px;
}

.admin-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-sidebar-link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 8px;
    color: rgb(51 65 85);
    font-weight: 600;
    line-height: 1.35;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.admin-sidebar-link:hover {
    background: rgb(241 245 249);
}

.admin-sidebar-link.is-active {
    background: rgb(241 245 249);
    color: var(--brand-deep);
}

.home-page-shell {
    max-width: none;
    margin: 0;
    padding: 0 0 56px;
}

.home-title-page .site-header {
    border-bottom: 0;
    box-shadow: none;
}

.home-content-section {
    max-width: var(--content-max);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.home-indexing-section {
    margin-top: 4px;
}

.indexing-slider-wrap {
    border-radius: 16px;
    border: 1px solid rgba(17, 66, 84, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(246, 251, 253, 0.95) 100%);
    box-shadow: 0 10px 24px rgba(12, 43, 59, 0.08);
    padding: 16px;
    text-align: center;
}

.indexing-slider-title {
    margin: 0 0 10px;
    font-size: 1rem;
    color: #10384a;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.indexing-slider {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x mandatory;
    justify-content: center;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.indexing-slider::-webkit-scrollbar {
    display: none;
}

.indexing-slider::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(16, 75, 89, 0.3);
}

.indexing-slide-card {
    flex: 0 0 150px;
    min-width: 0;
    border: 1px solid rgba(17, 66, 84, 0.15);
    border-radius: 10px;
    background: #ffffff;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    color: #123c4d;
    scroll-snap-align: start;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.indexing-slide-card:hover {
    border-color: rgba(23, 195, 178, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(14, 51, 62, 0.12);
}

.indexing-slide-logo-wrap {
    width: 100%;
    min-height: 54px;
    border-radius: 8px;
    background: #f5f8fb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6px;
}

.indexing-slide-logo {
    max-width: 100%;
    max-height: 34px;
    object-fit: contain;
}

.indexing-slide-fallback {
    font-size: 1rem;
    font-weight: 700;
    color: #2d4c59;
    line-height: 1;
}

.indexing-slide-title {
    font-size: 0.78rem;
    line-height: 1.2;
    font-weight: 700;
    color: #234655;
    text-align: center;
    width: 100%;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    min-height: 430px;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-panel::after {
    content: '';
    position: absolute;
    inset: auto -80px -80px auto;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(23, 195, 178, 0.38) 0%, rgba(23, 195, 178, 0) 70%);
    pointer-events: none;
}

.home-title-hero {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    min-height: 440px;
    border: 0;
    box-shadow: none;
    width: 100%;
}

.home-title-bg {
    position: absolute;
    inset: 0;
}

.home-title-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.75) brightness(0.72);
}

.home-title-bg-lamp {
    --lamp-x: 50%;
    --lamp-y: 46%;
    --lamp-shift-x: 0px;
    --lamp-shift-y: 0px;
    background:
        radial-gradient(1100px 620px at -8% -12%, rgba(57, 214, 255, 0.24) 0%, rgba(57, 214, 255, 0) 65%),
        radial-gradient(940px 520px at 108% -10%, rgba(114, 142, 255, 0.24) 0%, rgba(114, 142, 255, 0) 63%),
        radial-gradient(760px 420px at 50% 118%, rgba(11, 74, 153, 0.44) 0%, rgba(11, 74, 153, 0) 70%),
        radial-gradient(340px 320px at var(--lamp-x) var(--lamp-y), rgba(164, 223, 255, 0.3) 0%, rgba(74, 153, 221, 0.16) 34%, rgba(12, 44, 86, 0.08) 58%, rgba(5, 23, 50, 0) 74%),
        linear-gradient(145deg, #021229 0%, #062a59 44%, #031a3c 100%);
}

.home-lamp-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(220px, 23vw, 380px);
    height: clamp(220px, 23vw, 380px);
    border-radius: 50%;
    transform: translate(-50%, -50%) translate(var(--lamp-shift-x), var(--lamp-shift-y));
    background: radial-gradient(circle, rgba(221, 245, 255, 0.2) 0%, rgba(126, 196, 255, 0.1) 45%, rgba(77, 153, 230, 0) 72%);
    filter: blur(8px);
    pointer-events: none;
}

.home-lamp-figure {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(210px, 22vw, 330px);
    height: auto;
    transform: translate(-50%, -50%) translate(var(--lamp-shift-x), var(--lamp-shift-y));
    transform-origin: center;
    transition: transform 0.12s ease-out;
    opacity: 0.92;
    pointer-events: none;
}

.home-lamp-figure svg {
    width: 100%;
    height: auto;
    display: block;
}

.home-lamp-figure .lamp-lines {
    stroke: rgba(223, 243, 255, 0.9);
    stroke-width: 2.1;
    stroke-linecap: round;
    fill: none;
}

.home-lamp-figure .lamp-points {
    fill: rgba(242, 251, 255, 0.98);
}

.home-title-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 32, 61, 0.16) 0%, rgba(8, 24, 47, 0.34) 100%);
    z-index: 1;
}

.home-top-strip {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    min-height: 40px;
    background: #0f6f0f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 18px;
    z-index: 3;
    color: #ffffff;
    font-size: 0.79rem;
    font-weight: 700;
}

.home-top-strip-left,
.home-top-strip-right {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.home-top-strip i {
    margin-right: 6px;
}

.home-top-strip a {
    color: #ffffff;
    text-decoration: none;
}

.home-top-strip a:hover {
    color: #d9ffe1;
}

.home-lang-pill {
    white-space: nowrap;
}

.home-title-card {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 16px;
    top: 20px;
    z-index: 2;
    border-radius: 18px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home-title-main {
    min-width: 0;
    flex: 1 1 auto;
    padding-right: 0;
}

.home-title-main h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.05rem, 1.72rem + 1.6vw, 3rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.home-title-intro {
    margin: 10px 0 0;
    color: #ecf4f8;
    font-size: clamp(0.98rem, 0.88rem + 0.24vw, 1.18rem);
    line-height: 1.45;
    max-width: 100%;
    text-shadow: 0 1px 5px rgba(11, 30, 41, 0.35);
}

.home-title-search {
    margin-top: 12px;
    display: flex;
    align-items: stretch;
}

.home-title-search input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 46px;
    border: 0;
    border-radius: 8px 0 0 8px;
    padding: 0 14px;
    font-size: 1rem;
    background: rgba(245, 248, 251, 0.88);
    color: #152a33;
}

.home-title-search button {
    min-width: 110px;
    border: 0;
    border-radius: 0 8px 8px 0;
    background: linear-gradient(135deg, #2be0cd 0%, #21c1e7 100%);
    color: #073845;
    font-size: 1rem;
    font-weight: 800;
    padding: 0 16px;
    cursor: pointer;
}

.home-title-search button:hover {
    background: linear-gradient(135deg, #1fd2bf 0%, #1ab2d7 100%);
}

.home-title-logo-wrap {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: clamp(200px, 18vw, 280px);
}

.home-title-logo {
    width: clamp(170px, 16vw, 230px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(4, 50, 44, 0.35));
}

.surface-card,
.card-surface {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 254, 255, 0.94) 100%);
    border: 1px solid rgba(16, 69, 86, 0.11);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.surface-card {
    transition: transform 0.26s ease, box-shadow 0.3s ease, border-color 0.24s ease;
}

@media (hover: hover) and (pointer: fine) {
    .surface-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 24px 44px rgba(15, 46, 60, 0.16);
        border-color: rgba(23, 195, 178, 0.35);
    }
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--brand-deep);
}

.public-page-content {
    white-space: normal;
}

.public-page-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.public-page-link-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(17, 66, 84, 0.2);
    background: rgba(255, 255, 255, 0.8);
    color: #23424e;
    font-weight: 700;
    font-size: 0.84rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.public-page-link-chip:hover {
    background: rgba(23, 195, 178, 0.16);
    border-color: rgba(23, 195, 178, 0.45);
    color: #0f4c57;
}

.accent-line {
    width: 88px;
    height: 4px;
    border-radius: 999px;
    margin-top: 10px;
    background: linear-gradient(90deg, var(--brand-teal) 0%, #80eadf 100%);
}

.kicker {
    color: var(--brand-teal);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 800;
}

.filter-panel {
    background: rgba(255, 255, 255, 0.83);
    border: 1px solid rgba(18, 65, 77, 0.12);
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(16, 43, 58, 0.08);
    backdrop-filter: blur(8px);
}

.settings-h-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
}

.settings-h-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #37515e;
    border: 1px solid rgba(18, 65, 77, 0.16);
    background: #ffffff;
    cursor: pointer;
    appearance: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.settings-h-link:hover,
.settings-h-link.is-active {
    color: #0f2935;
    border-color: rgba(23, 195, 178, 0.35);
    background: rgba(23, 195, 178, 0.14);
}

.settings-locale-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.settings-locale-tab {
    border: 1px solid rgba(18, 65, 77, 0.18);
    background: #ffffff;
    color: #36505f;
    border-radius: 10px;
    min-height: 38px;
    padding: 0 14px;
    font-weight: 700;
    font-size: 0.84rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.settings-locale-tab:hover,
.settings-locale-tab.is-active {
    color: #0f2935;
    border-color: rgba(23, 195, 178, 0.4);
    background: rgba(23, 195, 178, 0.16);
}

.settings-locale-panel {
    display: none;
}

.settings-locale-panel.is-active {
    display: block;
}

.settings-screen {
    display: none;
}

.settings-screen.is-active {
    display: block;
}

.settings-subsection {
    border: 1px solid rgba(18, 65, 77, 0.12);
    background: rgba(247, 251, 253, 0.86);
    border-radius: 14px;
    padding: 16px;
}

.settings-subsection + .settings-subsection {
    margin-top: 12px;
}

.settings-subsection-title {
    margin: 0 0 12px;
    font-size: 1rem;
    color: var(--brand-deep);
    font-weight: 700;
}

.field-label,
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink-700);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.field-input,
.field-select,
.field-textarea,
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
    color: var(--ink-900);
    padding: 12px 14px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(23, 195, 178, 0.75);
    box-shadow: 0 0 0 4px rgba(23, 195, 178, 0.18);
}

.field-file,
input[type='file'] {
    width: 100%;
    min-width: 0;
    display: block;
    border: 1px dashed rgba(20, 75, 95, 0.34);
    border-radius: 14px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink-700);
    font-size: 0.88rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
}

.field-file::file-selector-button,
input[type='file']::file-selector-button {
    margin-right: 10px;
    padding: 7px 12px;
    border-radius: 9px;
    border: 1px solid rgba(20, 75, 95, 0.28);
    background: linear-gradient(180deg, #f6fbfe 0%, #eaf4f9 100%);
    color: #244555;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.field-file:hover::file-selector-button,
input[type='file']:hover::file-selector-button {
    background: linear-gradient(180deg, #eef8fd 0%, #dff1f7 100%);
    border-color: rgba(23, 195, 178, 0.38);
}

.indexing-base-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: end;
}

.indexing-base-field-toggle {
    display: flex;
    align-items: flex-end;
}

.indexing-base-field-file .field-file {
    border-style: solid;
}

.indexing-toggle-label {
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(18, 65, 77, 0.18);
    border-radius: 12px;
    background: #ffffff;
    color: #36505f;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
}

.indexing-toggle-label input[type='checkbox'] {
    margin: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--brand-teal-dark);
}

@media (min-width: 768px) {
    .indexing-base-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .indexing-base-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 0.8fr);
    }
}

.local-rich-editor {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.local-rich-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 8px;
    background: #f4f8fb;
    border-bottom: 1px solid #dce7ee;
}

.local-rich-editor-select {
    min-height: 30px;
    border: 1px solid #d4e2ea;
    border-radius: 8px;
    background: #ffffff;
    color: #25424f;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0 8px;
}

.local-rich-editor-btn {
    min-height: 30px;
    border: 1px solid #d4e2ea;
    border-radius: 8px;
    background: #ffffff;
    color: #25424f;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    padding: 0 9px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.local-rich-editor-btn:hover,
.local-rich-editor-select:hover {
    border-color: rgba(23, 195, 178, 0.4);
    background: rgba(23, 195, 178, 0.12);
    color: #0f303a;
}

.local-rich-editor-content {
    min-height: 220px;
    padding: 12px 14px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #1c3440;
    outline: none;
}

.local-rich-editor-content:focus {
    box-shadow: inset 0 0 0 2px rgba(23, 195, 178, 0.22);
}

.status-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 14px 8px;
    border-bottom: 1px solid #edf2f5;
    vertical-align: middle;
}

.data-table th {
    color: var(--ink-500);
    text-transform: uppercase;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    font-weight: 800;
    text-align: left;
}

.data-table tbody tr:hover {
    background: rgba(17, 124, 150, 0.035);
}

.data-table td .status-chip {
    white-space: nowrap;
}

.alert {
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
    border: 1px solid transparent;
    font-size: 0.92rem;
}

.alert-error {
    background: #fff0f0;
    color: #7f2121;
    border-color: #f2c5c5;
}

.alert-success {
    background: #ecfff8;
    color: #0d6f52;
    border-color: #b8eedb;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: radial-gradient(800px 340px at 15% 0%, rgba(23, 195, 178, 0.24) 0%, transparent 70%),
                radial-gradient(720px 340px at 100% 8%, rgba(81, 176, 247, 0.22) 0%, transparent 70%),
                linear-gradient(180deg, #edf6f8 0%, #ddecf3 100%);
}

.auth-container {
    width: min(560px, 100%);
    padding: 30px 28px;
    border-radius: 24px;
    border: 1px solid rgba(16, 61, 75, 0.14);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 52px rgba(16, 50, 62, 0.17);
    animation: riseIn 0.48s ease;
}

.glass {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(247, 252, 255, 0.88) 100%);
}

.auth-header {
    margin-bottom: 20px;
}

.auth-header h2 {
    margin: 0;
    color: var(--brand-deep);
    font-size: 1.95rem;
    font-weight: 700;
}

.auth-header p {
    margin: 6px 0 0;
    color: var(--ink-500);
    font-size: 0.92rem;
}

.form-group {
    margin-bottom: 14px;
}

.auth-footer {
    margin-top: 18px;
    display: grid;
    gap: 4px;
    color: var(--ink-500);
    font-size: 0.9rem;
}

.auth-telegram-box {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #dfe8ed;
    text-align: center;
}

.auth-telegram-title {
    margin: 0 0 10px;
    color: #46606b;
    font-size: 0.86rem;
    font-weight: 700;
}

.auth-social-box {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #dfe8ed;
    text-align: center;
}

.auth-social-title {
    margin: 0 0 10px;
    color: #46606b;
    font-size: 0.86rem;
    font-weight: 700;
}

.auth-google-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #d5e1e8;
    background: #ffffff;
    color: #214253;
    font-size: 0.87rem;
    font-weight: 700;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.auth-google-btn:hover {
    background: #f4f8fb;
    border-color: #b8ccd8;
    color: #16313e;
}

.auth-footer a {
    color: var(--brand-teal-dark);
    font-weight: 700;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.btn-block {
    width: 100%;
}

.site-footer {
    margin-top: 42px;
    background: linear-gradient(130deg, #0f2d39 0%, #113f4c 100%);
    color: rgba(235, 250, 255, 0.82);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-family: 'Manrope', sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.site-footer a:hover {
    color: var(--brand-teal);
}

.site-footer-muted {
    color: rgba(219, 241, 248, 0.62);
}

.site-footer-panel {
    margin-top: 14px;
}

.site-footer-panel-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 14px 24px 10px;
}

.site-footer-panel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.site-footer-col {
    min-width: 0;
}

.site-footer-brand-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 6px;
}

.site-footer-col-title {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0.015em;
    color: #ffffff;
    text-transform: uppercase;
}

.site-footer-col-title span {
    display: block;
    margin-top: 3px;
    color: var(--brand-teal);
    letter-spacing: 0.01em;
}

.site-footer-col-heading {
    margin: 0 0 7px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #ffffff;
}

.site-footer-col-text {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.005em;
    color: rgba(225, 244, 248, 0.82);
}

.site-footer-logo {
    width: 48px;
    height: 48px;
    margin-top: 1px;
    object-fit: contain;
    flex: 0 0 auto;
}

.site-footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 5px;
}

.site-footer-list li {
    color: rgba(225, 244, 248, 0.82);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.004em;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.site-footer-list a {
    color: rgba(225, 244, 248, 0.82);
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer-list a:hover {
    color: #ffffff;
    transform: translateX(1px);
}

.site-footer-item-icon {
    width: 16px;
    margin-top: 2px;
    color: var(--brand-teal);
    text-align: center;
    flex: 0 0 16px;
}

.site-footer-item-text {
    min-width: 0;
    font-weight: 600;
}

.site-footer-panel-bottom {
    margin-top: 10px;
    padding-top: 7px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: rgba(219, 241, 248, 0.68);
}

.ojs-page {
    background: linear-gradient(180deg, #f2f6fa 0%, #eaf0f5 100%);
}

.ojs-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 24px 56px;
}

.ojs-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--ink-500);
    margin-bottom: 14px;
}

.ojs-breadcrumb a {
    color: var(--ink-700);
    font-weight: 600;
}

.ojs-breadcrumb span:last-child {
    color: var(--brand-deep);
    font-weight: 700;
}

.ojs-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
}

.ojs-panel {
    background: #ffffff;
    border: 1px solid #dce6ec;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(20, 48, 63, 0.06);
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.ojs-panel:hover {
    border-color: rgba(23, 195, 178, 0.35);
    box-shadow: 0 14px 28px rgba(20, 48, 63, 0.09);
}

.ojs-panel + .ojs-panel {
    margin-top: 16px;
}

.ojs-panel-head {
    padding: 14px 18px;
    border-bottom: 1px solid #e8f0f5;
    font-size: 0.83rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-500);
    font-weight: 800;
}

.ojs-panel-body {
    padding: 18px;
}

.archive-year {
    border-top: 1px solid #e6edf2;
    padding-top: 16px;
    margin-top: 16px;
}

.archive-year:first-child {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}

.archive-year-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    color: var(--brand-deep);
    margin-bottom: 10px;
}

.archive-issue-link {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e2ebf0;
    background: #f9fcfe;
    margin-bottom: 10px;
    transition: border-color 0.22s ease, background-color 0.22s ease;
}

.archive-issue-link:hover {
    border-color: rgba(23, 195, 178, 0.5);
    background: #effdfa;
}

.archive-issue-title {
    font-weight: 700;
    color: var(--brand-deep);
}

.archive-issue-meta {
    margin-top: 2px;
    font-size: 0.8rem;
    color: var(--ink-500);
}

.issue-article-item {
    display: block;
    border: 1px solid #e1eaf0;
    border-radius: 12px;
    padding: 14px;
    background: #fbfdff;
    margin-bottom: 12px;
    transition: border-color 0.22s ease, transform 0.18s ease;
}

.issue-article-item:hover {
    border-color: rgba(23, 195, 178, 0.5);
    transform: translateY(-1px);
}

.issue-article-title {
    font-weight: 700;
    color: var(--brand-deep);
    margin-bottom: 6px;
}

.issue-article-authors {
    color: var(--ink-700);
    font-size: 0.9rem;
}

.article-list-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.article-list-item {
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #d8e3e8;
    background: #fdfefe;
}

.article-list-authors {
    font-size: 1.06rem;
    font-weight: 800;
    color: #1f2f39;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.article-author-link,
.article-author-label {
    display: inline-block;
    color: inherit;
}

.article-author-link {
    border-bottom: 1px dashed rgba(31, 47, 57, 0.28);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.article-author-link:hover {
    color: #0c7a6d;
    border-bottom-color: rgba(12, 122, 109, 0.55);
}

.article-author-separator {
    color: rgba(31, 47, 57, 0.58);
}

.article-list-title {
    margin: 8px 0 10px;
    font-size: clamp(1.15rem, 2vw, 1.85rem);
    line-height: 1.3;
    font-weight: 800;
}

.article-list-title a {
    color: #216a2b;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.article-list-title a:hover {
    color: #185f23;
}

.article-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 10px;
    color: #405965;
    font-size: 0.92rem;
    font-weight: 700;
}

.article-list-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-list-excerpt {
    margin: 0;
    color: #445a66;
    font-size: 0.97rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.article-list-actions {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-file-btn {
    background: linear-gradient(120deg, rgba(14, 38, 48, 0.94) 0%, rgba(12, 58, 69, 0.9) 100%);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(9, 28, 39, 0.28);
}

.article-file-btn:hover {
    background: linear-gradient(120deg, rgba(17, 47, 60, 0.96) 0%, rgba(14, 70, 83, 0.94) 100%);
    color: #ffffff;
}

.article-section-tag {
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #22616d;
    background: #e8f6fa;
}

.issue-list-item {
    margin-bottom: 10px;
}

.article-title-xl {
    font-family: 'Space Grotesk', sans-serif;
    color: #0f2733;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    line-height: 1.25;
    margin: 6px 0 14px;
}

.article-subtitle {
    color: var(--ink-500);
    font-size: 1rem;
    margin-top: -4px;
    margin-bottom: 14px;
}

.author-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 14px;
}

.author-chip {
    background: #eff6fb;
    border: 1px solid #d5e5ef;
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 0.84rem;
    color: var(--ink-700);
    font-weight: 600;
}

.author-chip-name-full {
    display: inline;
}

.author-chip-name-short {
    display: none;
}

.author-chip-link {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.author-chip-link:hover {
    background: #e8fbf7;
    border-color: rgba(23, 195, 178, 0.45);
    color: #0d655a;
}

.author-name-link {
    color: inherit;
    border-bottom: 1px dashed rgba(16, 52, 64, 0.25);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.author-name-link:hover {
    color: #0b7569;
    border-bottom-color: rgba(11, 117, 105, 0.55);
}

.author-affiliation-link {
    color: inherit;
    border-bottom: 1px dashed rgba(60, 92, 108, 0.3);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.author-affiliation-link:hover {
    color: #0b7669;
    border-bottom-color: rgba(11, 118, 105, 0.55);
}

.author-orcid-link {
    color: #1f5e9d;
    border-bottom: 1px dashed rgba(31, 94, 157, 0.35);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.author-orcid-link:hover {
    color: #114a82;
    border-bottom-color: rgba(17, 74, 130, 0.55);
}

.doi-link {
    color: #0b7669;
    border-bottom: 1px dashed rgba(11, 118, 105, 0.4);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.doi-link:hover {
    color: #095a50;
    border-bottom-color: rgba(9, 90, 80, 0.55);
}

.keyword-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.keyword-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #cbe4f2;
    background: #f4f9fd;
    color: #315265;
    font-size: 0.84rem;
    font-weight: 600;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.keyword-chip:hover {
    background: #e8fbf7;
    border-color: rgba(23, 195, 178, 0.48);
    color: #0f6458;
}

.article-tabline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

@media (max-width: 768px) {
    .author-chip-name-full {
        display: none;
    }

    .author-chip-name-short {
        display: inline;
    }
}

.article-tab {
    border: 1px solid #d5e3ec;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ink-500);
    background: #f8fbfd;
}

.article-tab.is-active {
    border-color: rgba(23, 195, 178, 0.45);
    background: #ebfbf8;
    color: #0d7b6f;
}

.article-prose h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.08rem;
    color: var(--brand-deep);
    margin: 14px 0 8px;
}

.article-prose p {
    margin: 0 0 10px;
    color: #2f4957;
}

.article-prose .refs {
    margin: 0;
    padding-left: 0;
    list-style: none;
    counter-reset: refs-counter;
    color: #2f4957;
}

.article-prose .refs li {
    position: relative;
    margin: 0 0 8px;
    padding-left: 28px;
    line-height: 1.55;
}

.article-prose .refs li::before {
    counter-increment: refs-counter;
    content: counter(refs-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: #1f4251;
}

.article-aside-item {
    margin-bottom: 12px;
}

.article-aside-label {
    font-size: 0.77rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-500);
    font-weight: 800;
    margin-bottom: 4px;
}

.article-aside-value {
    color: var(--ink-700);
    font-size: 0.92rem;
    font-weight: 600;
}

.download-btn {
    width: 100%;
    justify-content: center;
}

.anim-rise {
    animation: riseIn 0.46s ease;
}

.anim-fade {
    animation: fadeIn 0.6s ease;
}

body.is-home-loading {
    overflow: hidden;
}

.home-preloader {
    position: fixed;
    inset: 0;
    z-index: 180;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(560px 300px at 50% 40%, rgba(31, 206, 189, 0.16) 0%, transparent 70%),
        linear-gradient(140deg, #0b2431 0%, #0f3341 100%);
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.home-preloader.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.home-preloader-inner {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.home-preloader-orbit {
    width: 154px;
    height: 154px;
    position: relative;
    display: grid;
    place-items: center;
}

.home-preloader-logo {
    width: 102px;
    height: 102px;
    object-fit: contain;
    filter: drop-shadow(0 10px 26px rgba(9, 206, 183, 0.28));
    animation: logoPulse 1.35s ease-in-out infinite;
    z-index: 2;
}

.home-preloader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(163, 234, 230, 0.22);
    border-top-color: #20d6c3;
    border-right-color: #7cf3e2;
    animation: preloaderOrbitSpin 1.05s linear infinite;
}

.home-preloader-ring::after {
    content: '';
    position: absolute;
    inset: 13px;
    border-radius: 50%;
    border: 2px solid rgba(158, 234, 230, 0.16);
}

.home-preloader-title {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 700;
    line-height: 1.05;
    color: #dff6fa;
}

.home-preloader-title-accent {
    margin-top: 6px;
    color: #32dac9;
}

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

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

@keyframes logoPulse {
    0%, 100% {
        transform: scale(0.95);
        opacity: 0.9;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes preloaderOrbitSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-preloader-logo,
    .home-preloader-ring {
        animation: none;
    }
}

/* Compatibility classes used across pages */
.bg-brand-deep {
    background-color: var(--brand-deep);
}

.text-brand-teal {
    color: var(--brand-teal);
}

.bg-brand-teal {
    background-color: var(--brand-teal);
}

.border-brand-teal {
    border-color: var(--brand-teal);
}

.badge-pending {
    background-color: #fef3c7;
    color: #9a670a;
}

.badge-accepted {
    background-color: #dbf5ec;
    color: #0e8b65;
}

.badge-rejected {
    background-color: #ffe2e2;
    color: #a52b2b;
}

@media (max-width: 1024px) {
    .site-nav {
        padding: 14px 16px;
    }

    .site-menu {
        gap: 14px;
    }

    .site-menu a {
        font-size: 0.75rem;
        letter-spacing: 0.06em;
    }

    .site-footer-panel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .site-footer-col-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .home-title-hero {
        min-height: 300px;
        margin-top: -1px;
    }

    .home-title-card {
        top: 8px;
        left: 8px;
        right: 8px;
        bottom: 8px;
        border-radius: 14px;
        padding: 10px 12px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 8px;
        text-align: center;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .home-lamp-figure {
        width: min(52vw, 250px);
        opacity: 0.78;
    }

    .home-lamp-glow {
        width: min(56vw, 260px);
        height: min(56vw, 260px);
    }

    .home-title-main {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        order: 2;
        padding-right: 0;
        text-align: center;
    }

    .home-title-logo-wrap {
        order: 1;
        max-width: 100%;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .home-title-logo {
        width: clamp(82px, 22vw, 98px) !important;
        max-width: 98px;
        max-height: 98px;
        margin: 0 auto;
    }

    .home-title-main h1 {
        font-size: clamp(1.08rem, 0.98rem + 1.2vw, 1.72rem);
        text-align: center;
    }

    .home-title-intro {
        margin-top: 4px;
        font-size: 0.87rem;
        line-height: 1.3;
        max-width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .home-title-search {
        margin-top: 6px;
        width: 100%;
        align-self: stretch;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .home-title-search input {
        min-width: 0;
        min-height: 36px;
    }

    .home-title-search button {
        min-width: 98px;
        font-size: 0.92rem;
        background: linear-gradient(135deg, #2be0cd 0%, #21c1e7 100%);
        color: #073845;
    }

    .home-title-search button:hover {
        background: linear-gradient(135deg, #1fd2bf 0%, #1ab2d7 100%);
    }

    .home-content-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .indexing-slider-wrap {
        border-radius: 12px;
        padding: 10px;
    }

    .indexing-slider {
        justify-content: flex-start;
    }

    .indexing-slider-title {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .indexing-slide-card {
        flex-basis: 128px;
        padding: 7px;
    }

    .indexing-slide-logo-wrap {
        min-height: 46px;
    }

    .indexing-slide-logo {
        max-height: 30px;
    }

    .indexing-slide-title {
        font-size: 0.72rem;
    }

    .page-shell.home-page-shell {
        padding: 0 0 48px;
    }

    body.has-dock-nav {
        padding-bottom: 88px;
    }

    .site-nav {
        padding: 14px 14px;
        align-items: center;
    }

    .site-nav .brand-mark {
        font-size: 0.9rem;
        letter-spacing: 0.04em;
    }

    .brand-mark-split {
        grid-template-columns: 1fr;
        row-gap: 1px;
        align-items: flex-start;
    }

    .brand-logo {
        width: 20px;
        height: 20px;
    }

    .brand-mark-with-logo::before {
        height: 22px;
        margin-left: 6px;
        margin-right: 8px;
    }

    .brand-mark-split .brand-word {
        line-height: 1.05;
    }

    .site-nav-actions {
        gap: 8px;
    }

    .site-lang-switch a {
        min-width: 30px;
        height: 28px;
        padding: 0 7px;
        font-size: 0.6rem;
    }

    .site-nav-actions .site-cta {
        padding: 8px 12px;
        font-size: 0.74rem;
    }

    .site-nav-actions .top-profile-chip {
        padding: 6px 9px;
        gap: 7px;
    }

    .site-nav-actions .top-profile-avatar {
        width: 24px;
        height: 24px;
        font-size: 0.68rem;
    }

    .site-nav-actions .top-profile-meta strong {
        font-size: 0.67rem;
        max-width: 96px;
    }

    .site-nav-actions .top-profile-meta small {
        display: none;
    }

    .site-nav-actions .site-icon-btn {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .mobile-dock {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        z-index: 120;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        padding: 8px;
        border-radius: 18px;
        border: 1px solid rgba(22, 70, 86, 0.16);
        background: rgba(245, 252, 255, 0.92);
        backdrop-filter: blur(12px);
        box-shadow: 0 18px 32px rgba(15, 43, 56, 0.2);
    }

    .mobile-dock-link {
        text-decoration: none;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        border-radius: 12px;
        min-height: 52px;
        color: #4b6674;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .mobile-dock-link.is-active {
        color: #0f2935;
        background: rgba(23, 195, 178, 0.18);
    }

    .mobile-dock-icon {
        width: 18px;
        height: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-dock-icon svg {
        width: 18px;
        height: 18px;
    }

    .mobile-dock-label {
        font-size: 0.62rem;
        font-weight: 800;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .article-list-item {
        padding: 14px;
    }

    .article-list-title {
        font-size: 1.25rem;
    }

    .article-list-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .data-table th,
    .data-table td {
        padding: 10px 6px;
        font-size: 0.82rem;
    }

    .page-shell {
        padding: 20px 14px 48px;
    }

    .hero-panel {
        min-height: 360px;
        border-radius: 22px;
    }

    .auth-container {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .ojs-container {
        padding: 20px 14px 48px;
    }

    .ojs-main-grid {
        grid-template-columns: 1fr;
    }

    .site-footer-panel-inner {
        position: relative;
        padding: 18px 14px 12px;
        overflow: hidden;
        border-radius: 28px 28px 0 0;
        background:
            radial-gradient(320px 180px at 12% 8%, rgba(67, 222, 207, 0.12) 0%, transparent 72%),
            radial-gradient(300px 160px at 100% 0%, rgba(255, 184, 107, 0.1) 0%, transparent 72%);
    }

    .site-footer-panel-inner::before {
        content: '';
        position: absolute;
        inset: 0 14px auto;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, rgba(143, 240, 229, 0.36) 24%, rgba(143, 240, 229, 0.12) 76%, transparent 100%);
        pointer-events: none;
    }

    .site-footer-panel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        position: relative;
        z-index: 1;
    }

    .site-footer-col {
        padding: 15px 14px;
        border-radius: 22px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.035) 100%),
            linear-gradient(145deg, rgba(9, 24, 31, 0.18) 0%, rgba(255, 255, 255, 0.02) 100%);
        box-shadow: 0 14px 32px rgba(6, 19, 24, 0.16);
        backdrop-filter: blur(10px);
    }

    .site-footer-col-brand,
    .site-footer-col-contact {
        grid-column: 1 / -1;
    }

    .site-footer-col-brand {
        padding: 18px 16px;
        background:
            radial-gradient(220px 140px at 10% 0%, rgba(23, 195, 178, 0.18) 0%, transparent 72%),
            linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    }

    .site-footer-col-title {
        font-size: 1.08rem;
        margin-bottom: 4px;
    }

    .site-footer-col-heading {
        font-size: 0.78rem;
        margin-bottom: 10px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: rgba(221, 244, 250, 0.7);
    }

    .site-footer-col-text,
    .site-footer-list li {
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .site-footer-logo {
        width: 52px;
        height: 52px;
        padding: 8px;
        border-radius: 16px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.05) 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }

    .site-footer-brand-head {
        align-items: center;
        gap: 12px;
        margin-bottom: 10px;
    }

    .site-footer-col-text {
        color: rgba(229, 246, 251, 0.88);
    }

    .site-footer-list {
        gap: 8px;
    }

    .site-footer-list li {
        gap: 10px;
    }

    .site-footer-list a {
        width: 100%;
        padding: 10px 12px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.035);
        transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
    }

    .site-footer-list a:hover {
        transform: translateY(-1px);
        border-color: rgba(143, 240, 229, 0.2);
        background: rgba(255, 255, 255, 0.065);
    }

    .site-footer-list-contact li {
        padding: 10px 12px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.035);
    }

    .site-footer-list-contact a {
        width: 100%;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .site-footer-item-icon {
        width: 32px;
        height: 32px;
        margin-top: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 32px;
        border-radius: 10px;
        color: #8ff0e5;
        background: rgba(23, 195, 178, 0.12);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .site-footer-item-text {
        align-self: center;
    }

    .site-footer-col-social .site-footer-list,
    .site-footer-col-links .site-footer-list {
        align-content: start;
    }

    .site-footer-panel-bottom {
        margin-top: 14px;
        padding-top: 10px;
        font-size: 0.78rem;
        letter-spacing: 0.04em;
        color: rgba(225, 243, 249, 0.62);
    }
}

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

    .site-footer-col {
        border-radius: 20px;
    }

    .site-footer-col-title {
        font-size: 1.03rem;
    }

    .site-footer-col-heading {
        margin-bottom: 8px;
    }

    .site-footer-list a,
    .site-footer-list-contact li {
        padding: 10px;
    }
}

.home-title-page .brand-mark-split {
    display: inline-grid;
    grid-template-columns: 1fr;
    row-gap: 2px;
    align-items: flex-start;
    white-space: normal;
}

.home-title-page .brand-mark-split .brand-word {
    line-height: 1.04;
}

@media (max-width: 768px) {
    .home-title-page .site-nav .brand-mark {
        font-size: 0.78rem;
        letter-spacing: 0.02em;
        min-width: 0;
    }

    .home-title-page .brand-mark-split {
        display: inline-grid;
        grid-template-columns: 1fr;
        row-gap: 1px;
        gap: 0;
    }
}

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