/* TT Cikk blocks — scoped only to TT blocks and formula elements. */
.tt-cikk-pocket,
.tt-cikk-references,
.tt-cikk-diagram {
    box-sizing: border-box;
    clear: both;
    margin: 28px 0;
    font-family: inherit;
}

.tt-cikk-pocket {
    border: 1px solid rgba(120, 130, 145, 0.28);
    background: rgba(120, 130, 145, 0.06);
}

.tt-cikk-pocket__summary {
    cursor: pointer;
    padding: 14px 18px;
    font-weight: 700;
    line-height: 1.35;
    list-style: none;
    border-left: 4px solid #a61e1e;
    user-select: none;
}

.tt-cikk-pocket__summary::-webkit-details-marker {
    display: none;
}

.tt-cikk-pocket__summary::marker {
    content: "";
}

.tt-cikk-pocket__summary span::before {
    content: "+";
    display: inline-block;
    width: 22px;
    font-weight: 800;
}

.tt-cikk-pocket[open] .tt-cikk-pocket__summary span::before {
    content: "−";
}

.tt-cikk-pocket__content {
    padding: 4px 18px 18px;
}

.tt-cikk-pocket__content > *:first-child { margin-top: 0; }
.tt-cikk-pocket__content > *:last-child { margin-bottom: 0; }

.tt-cikk-pocket--note .tt-cikk-pocket__summary { border-left-color: #2c5b86; }
.tt-cikk-pocket--warning .tt-cikk-pocket__summary { border-left-color: #b7791f; }
.tt-cikk-pocket--extra .tt-cikk-pocket__summary { border-left-color: #52616f; }

.tt-cikk-references {
    border-top: 3px solid #a61e1e;
    padding-top: 18px;
}

.tt-cikk-references__title {
    margin: 0 0 14px;
    font-size: 1.45em;
    line-height: 1.2;
}

.tt-cikk-references__list {
    margin: 0;
    padding-left: 1.6em;
}

.tt-cikk-references__list li {
    margin: 0 0 4px;
    line-height: 1.42;
}

.tt-cikk-references__empty {
    opacity: 0.75;
    font-style: italic;
}

.tt-cikk-diagram {
    border: 1px solid rgba(120, 130, 145, 0.28);
    background: rgba(120, 130, 145, 0.045);
    padding: 0;
}

.tt-cikk-diagram__title {
    display: block;
    margin: 0;
    padding: 12px 16px;
    font-weight: 800;
    line-height: 1.3;
    border-left: 4px solid #a61e1e;
    border-bottom: 1px solid rgba(120, 130, 145, 0.22);
}

.tt-cikk-diagram__body {
    padding: 16px;
    overflow-x: auto;
}

.tt-cikk-diagram__body > *:first-child { margin-top: 0; }
.tt-cikk-diagram__body > *:last-child { margin-bottom: 0; }

.tt-cikk-diagram__caption {
    display: block;
    padding: 10px 16px 14px;
    border-top: 1px solid rgba(120, 130, 145, 0.22);
    font-size: 0.92em;
    line-height: 1.45;
    opacity: 0.86;
}

.tt-cikk-diagram__caption small {
    display: block;
    margin-top: 4px;
    opacity: 0.78;
}

/* LaTeX / MathJax / KaTeX — targeted only to formula output, not to JNews skin.
   v0.2.2: light mode no longer forces white formulas. Default = inherit/current text color. */
:root {
    --tt-cikk-math-bg: transparent;
    --tt-cikk-math-border: rgba(120, 130, 145, 0.22);
    --tt-cikk-math-text: currentColor;
    --tt-cikk-math-image-filter: none;
}

/* JNews/theme dark-mode selectors only. No prefers-color-scheme fallback, because OS dark mode
   can make formulas white even when the active JNews skin is light. */
body.dark,
body.dark-mode,
body.jnews-dark-mode,
body.jnews-dark,
body.jnews_dark,
body.jeg-dark-mode,
body.jeg_dark_mode,
body.jeg_dark,
body.jeg_dark_theme,
body.dark-skin,
body[data-theme="dark"],
body[data-color-scheme="dark"],
html.dark,
html.dark-mode,
html[data-theme="dark"],
html[data-color-scheme="dark"] {
    --tt-cikk-math-bg: rgba(255, 255, 255, 0.055);
    --tt-cikk-math-border: rgba(255, 255, 255, 0.16);
    --tt-cikk-math-text: #f4f7fb;
    --tt-cikk-math-image-filter: invert(1) hue-rotate(180deg) brightness(1.08) contrast(0.96);
}

/* If JNews places the dark class on a wrapper instead of body/html. */
.jnews-dark-mode,
.jnews-dark,
.jeg-dark-mode,
.jeg_dark_mode,
.jeg_dark,
.dark-mode,
.dark-skin,
[data-theme="dark"],
[data-color-scheme="dark"] {
    --tt-cikk-math-bg: rgba(255, 255, 255, 0.055);
    --tt-cikk-math-border: rgba(255, 255, 255, 0.16);
    --tt-cikk-math-text: #f4f7fb;
    --tt-cikk-math-image-filter: invert(1) hue-rotate(180deg) brightness(1.08) contrast(0.96);
}

/* Explicit light selectors always win if the theme uses them. */
body.light,
body.light-mode,
body.jnews-light-mode,
body.jnews-light,
body.jeg-light-mode,
body.jeg_light_mode,
body[data-theme="light"],
body[data-color-scheme="light"],
html.light,
html.light-mode,
html[data-theme="light"],
html[data-color-scheme="light"] {
    --tt-cikk-math-bg: transparent;
    --tt-cikk-math-border: rgba(120, 130, 145, 0.22);
    --tt-cikk-math-text: currentColor;
    --tt-cikk-math-image-filter: none;
}

mjx-container,
.MathJax,
.katex,
.katex-display {
    color: var(--tt-cikk-math-text) !important;
}

mjx-container[display="true"],
.katex-display {
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px 14px;
    border: 1px solid var(--tt-cikk-math-border);
    background: var(--tt-cikk-math-bg);
}

/* Common wpQuickLaTeX / image-based formula outputs.
   Images are untouched in light mode and inverted only when dark mode variables are active. */
img.latex,
img.wpquicklatex,
img.wp-quicklatex,
img.ql-img-inline-formula,
img.ql-img-displayed-equation,
.wp-quicklatex img,
.wpquicklatex img,
.ql-img-inline-formula,
.ql-img-displayed-equation {
    filter: var(--tt-cikk-math-image-filter);
}

.ql-img-displayed-equation,
.wp-quicklatex-display,
.wpquicklatex-display {
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: auto;
    padding: 12px 14px;
    border: 1px solid var(--tt-cikk-math-border);
    background: var(--tt-cikk-math-bg);
}

/* v0.3.2: Reference numbering accent. Works in light and dark mode. */
.tt-cikk-references__list li::marker {
    color: #a61e1e;
    font-weight: 700;
}


/* TT Cikk v0.3.4 — hide JNews bottom social share only. Floating share panels are intentionally not targeted. */
body.single-post.tt-cikk-hide-bottom-share-enabled .jeg_share_bottom_container,
body.single.tt-cikk-hide-bottom-share-enabled .jeg_share_bottom_container,
body.single-post.tt-cikk-hide-bottom-share-enabled .jnews_share_bottom,
body.single.tt-cikk-hide-bottom-share-enabled .jnews_share_bottom,
body.single-post.tt-cikk-hide-bottom-share-enabled .jeg_post_share.jeg_share_bottom,
body.single.tt-cikk-hide-bottom-share-enabled .jeg_post_share.jeg_share_bottom,
body.single-post.tt-cikk-hide-bottom-share-enabled .jeg_post_share.share-bottom,
body.single.tt-cikk-hide-bottom-share-enabled .jeg_post_share.share-bottom,
body.single-post.tt-cikk-hide-bottom-share-enabled .jeg_share_button.share-bottom,
body.single.tt-cikk-hide-bottom-share-enabled .jeg_share_button.share-bottom,
body.single-post.tt-cikk-hide-bottom-share-enabled .entry-content > .jeg_share_button:not(.jeg_share_float):not(.jeg_share_float_container),
body.single.tt-cikk-hide-bottom-share-enabled .entry-content > .jeg_share_button:not(.jeg_share_float):not(.jeg_share_float_container),
body.single-post.tt-cikk-hide-bottom-share-enabled .jeg_post_content > .jeg_share_button:not(.jeg_share_float):not(.jeg_share_float_container),
body.single.tt-cikk-hide-bottom-share-enabled .jeg_post_content > .jeg_share_button:not(.jeg_share_float):not(.jeg_share_float_container),
body.single-post.tt-cikk-hide-bottom-share-enabled .tt-cikk-hide-bottom-share,
body.single.tt-cikk-hide-bottom-share-enabled .tt-cikk-hide-bottom-share {
    display: none !important;
}

/* TT Cikk v0.3.7 — diagram image/container improvements. */
.tt-cikk-diagram__image {
    margin: 0 0 14px;
}

.tt-cikk-diagram__image:last-child {
    margin-bottom: 0;
}

.tt-cikk-diagram__img,
.tt-cikk-diagram__body img,
.tt-cikk-diagram .wp-block-image img {
    display: block;
    max-width: 100%;
    height: auto;
}

.tt-cikk-diagram .wp-block-image {
    margin: 0 0 14px;
}

.tt-cikk-diagram__innerblocks > *:first-child,
.tt-cikk-diagram__dropzone > *:first-child {
    margin-top: 0;
}

.tt-cikk-diagram__innerblocks > *:last-child,
.tt-cikk-diagram__dropzone > *:last-child {
    margin-bottom: 0;
}


/* TT Cikk v0.3.11 — figure label color follows light/dark skin. */
:root {
    --tt-cikk-figure-label-color: #000000;
}

.tt-cikk-diagram__fig-num {
    font-weight: 800 !important;
    color: var(--tt-cikk-figure-label-color, #000000) !important;
}

.tt-cikk-diagram__caption .tt-cikk-diagram__fig-num,
.jeg_post_content .tt-cikk-diagram__caption .tt-cikk-diagram__fig-num,
.entry-content .tt-cikk-diagram__caption .tt-cikk-diagram__fig-num {
    font-weight: 800 !important;
    color: var(--tt-cikk-figure-label-color, #000000) !important;
}

body.dark,
body.dark-mode,
body.jnews-dark-mode,
body.jnews-dark,
body.jnews_dark,
body.jeg-dark-mode,
body.jeg_dark_mode,
body.jeg_dark,
body.jeg_dark_theme,
body.dark-skin,
body[data-theme="dark"],
body[data-color-scheme="dark"],
html.dark,
html.dark-mode,
html[data-theme="dark"],
html[data-color-scheme="dark"],
.jnews-dark-mode,
.jnews-dark,
.jeg-dark-mode,
.jeg_dark_mode,
.jeg_dark,
.dark-mode,
.dark-skin,
[data-theme="dark"],
[data-color-scheme="dark"] {
    --tt-cikk-figure-label-color: #a61e1e;
}

body.light,
body.light-mode,
body.jnews-light-mode,
body.jnews-light,
body.jeg-light-mode,
body.jeg_light_mode,
body[data-theme="light"],
body[data-color-scheme="light"],
html.light,
html.light-mode,
html[data-theme="light"],
html[data-color-scheme="light"] {
    --tt-cikk-figure-label-color: #000000;
}

.tt-cikk-diagram__caption span {
    display: block;
}

/* Extra protection for wide image-based LaTeX and formula blocks inside JNews content. */
.jeg_post_content mjx-container[display="true"],
.jeg_post_content .katex-display,
.jeg_post_content .MathJax_Display,
.jeg_post_content .wp-quicklatex-display,
.jeg_post_content .wpquicklatex-display,
.jeg_post_content .ql-img-displayed-equation,
.entry-content mjx-container[display="true"],
.entry-content .katex-display,
.entry-content .MathJax_Display,
.entry-content .wp-quicklatex-display,
.entry-content .wpquicklatex-display,
.entry-content .ql-img-displayed-equation {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.jeg_post_content .wp-quicklatex-display img,
.jeg_post_content .wpquicklatex-display img,
.jeg_post_content img.ql-img-displayed-equation,
.entry-content .wp-quicklatex-display img,
.entry-content .wpquicklatex-display img,
.entry-content img.ql-img-displayed-equation {
    max-width: none;
}

@media (max-width: 767px) {
    mjx-container[display="true"],
    .katex-display,
    .MathJax_Display,
    .wp-quicklatex-display,
    .wpquicklatex-display,
    .ql-img-displayed-equation {
        font-size: 0.96em;
    }
}


/* TT Cikk v0.3.12 — safer display formula sizing.
   Only affects formulas already rendered as display math. */
.jeg_post_content mjx-container[display="true"],
.entry-content mjx-container[display="true"],
.jeg_post_content .katex-display,
.entry-content .katex-display,
.jeg_post_content .MathJax_Display,
.entry-content .MathJax_Display,
.jeg_post_content .wp-quicklatex-display,
.entry-content .wp-quicklatex-display,
.jeg_post_content .wpquicklatex-display,
.entry-content .wpquicklatex-display,
.jeg_post_content .ql-img-displayed-equation,
.entry-content .ql-img-displayed-equation {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin: 1.35em 0;
    padding: 16px 18px;
    text-align: center;
    font-size: 1.12em;
    line-height: 1.55;
}

.jeg_post_content mjx-container[display="true"] mjx-math,
.entry-content mjx-container[display="true"] mjx-math,
.jeg_post_content .katex-display > .katex,
.entry-content .katex-display > .katex,
.jeg_post_content .MathJax_Display > span,
.entry-content .MathJax_Display > span {
    font-size: 1.12em !important;
}

.jeg_post_content .wp-quicklatex-display img,
.entry-content .wp-quicklatex-display img,
.jeg_post_content .wpquicklatex-display img,
.entry-content .wpquicklatex-display img,
.jeg_post_content img.ql-img-displayed-equation,
.entry-content img.ql-img-displayed-equation {
    display: inline-block;
    max-width: none;
    vertical-align: middle;
}

@media (max-width: 767px) {
    .jeg_post_content mjx-container[display="true"],
    .entry-content mjx-container[display="true"],
    .jeg_post_content .katex-display,
    .entry-content .katex-display,
    .jeg_post_content .MathJax_Display,
    .entry-content .MathJax_Display,
    .jeg_post_content .wp-quicklatex-display,
    .entry-content .wp-quicklatex-display,
    .jeg_post_content .wpquicklatex-display,
    .entry-content .wpquicklatex-display,
    .jeg_post_content .ql-img-displayed-equation,
    .entry-content .ql-img-displayed-equation {
        font-size: 1.02em;
        padding: 12px;
        margin: 1.1em 0;
    }
}


/* TT Cikk v0.3.13 — dedicated formula block.
   Use this block for large formulas instead of a normal Gutenberg paragraph. */
.tt-cikk-formula {
    box-sizing: border-box;
    max-width: 100%;
}

.tt-cikk-formula--display {
    margin: 1.45em 0;
}

.tt-cikk-formula__math {
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 16px 18px;
    border: 1px solid var(--tt-cikk-math-border);
    background: var(--tt-cikk-math-bg);
    text-align: center;
    font-size: var(--tt-cikk-formula-display-scale, 1.18em);
    line-height: 1.55;
}

.tt-cikk-formula__math mjx-container[display="true"],
.tt-cikk-formula__math .katex-display,
.tt-cikk-formula__math .MathJax_Display,
.tt-cikk-formula__math .wp-quicklatex-display,
.tt-cikk-formula__math .wpquicklatex-display,
.tt-cikk-formula__math .ql-img-displayed-equation {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: inherit !important;
}

.tt-cikk-formula__caption {
    margin-top: 8px;
    color: var(--tt-cikk-muted, #8d98a8);
    font-size: 0.92em;
    line-height: 1.45;
    text-align: center;
}

.tt-cikk-formula--inline {
    white-space: nowrap;
}

@media (max-width: 767px) {
    .tt-cikk-formula__math {
        padding: 12px 12px;
        font-size: 1.02em;
        text-align: left;
    }
}

/* TT Cikk v0.3.14 — diagram lightbox / large preview. */
.tt-cikk-diagram__zoom-link {
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: zoom-in;
}

.tt-cikk-diagram__zoom-link img {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.tt-cikk-diagram__zoom-link:hover img,
.tt-cikk-diagram__zoom-link:focus img {
    opacity: 0.92;
}

.tt-cikk-diagram__zoom-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.42);
    background: rgba(0,0,0,0.68);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
    pointer-events: none;
}

.tt-cikk-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 34px;
    background: rgba(0,0,0,0.88);
}

.tt-cikk-lightbox.is-open {
    display: flex;
}

.tt-cikk-lightbox__inner {
    position: relative;
    width: min(96vw, 1600px);
    max-height: 92vh;
}

.tt-cikk-lightbox__image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 88vh;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 18px 80px rgba(0,0,0,0.56);
}

.tt-cikk-lightbox__close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.35);
    background: #a61e1e;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.tt-cikk-lightbox__caption {
    margin-top: 12px;
    color: #f4f7fb;
    text-align: center;
    font-size: 14px;
    line-height: 1.45;
}

body.tt-cikk-lightbox-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .tt-cikk-lightbox {
        padding: 14px;
    }

    .tt-cikk-lightbox__close {
        top: 8px;
        right: 8px;
    }

    .tt-cikk-lightbox__image {
        max-height: 82vh;
    }
}


/* TT Cikk v0.3.15 — mobile-safe diagram lightbox. */
.tt-cikk-diagram__image,
.tt-cikk-diagram__innerblocks .wp-block-image,
.tt-cikk-diagram__body img {
    cursor: zoom-in;
}

.tt-cikk-diagram__lightbox-trigger {
    cursor: zoom-in;
    display: block;
    line-height: 0;
}

.tt-cikk-diagram-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: max(18px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    background: rgba(0, 0, 0, 0.92);
    box-sizing: border-box;
    touch-action: manipulation;
}

.tt-cikk-diagram-lightbox.is-open {
    display: flex;
}

.tt-cikk-diagram-lightbox__inner {
    position: relative;
    width: min(96vw, 1480px);
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tt-cikk-diagram-lightbox__img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(94vh - 76px);
    height: auto;
    object-fit: contain;
    background: #fff;
}

.tt-cikk-diagram-lightbox__caption {
    max-width: min(96vw, 1100px);
    color: #f4f7fb;
    font-size: 14px;
    line-height: 1.45;
    text-align: center;
}

.tt-cikk-diagram-lightbox__close {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    z-index: 1000000;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(0,0,0,0.58);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    border-radius: 0;
}

body.tt-cikk-lightbox-open {
    overflow: hidden !important;
}

@media (max-width: 767px) {
    .tt-cikk-diagram-lightbox {
        padding: 12px;
    }

    .tt-cikk-diagram-lightbox__inner {
        width: 100%;
        max-height: 92vh;
    }

    .tt-cikk-diagram-lightbox__img {
        max-height: calc(92vh - 88px);
    }

    .tt-cikk-diagram-lightbox__caption {
        font-size: 12px;
        line-height: 1.4;
    }
}


/* TT Cikk v0.3.16 — own floating social share panel. */
.tt-cikk-floating-share {
    position: fixed;
    z-index: 99990;
    font-family: inherit;
}

.tt-cikk-floating-share__inner {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tt-cikk-floating-share__label {
    color: inherit;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.72;
}

.tt-cikk-floating-share__btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(120,130,145,0.22);
    background: rgba(255,255,255,0.94);
    color: #111827 !important;
    text-decoration: none !important;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.tt-cikk-floating-share__btn:hover,
.tt-cikk-floating-share__btn:focus {
    transform: translateY(-1px);
    background: #a61e1e;
    border-color: #a61e1e;
    color: #fff !important;
}

.tt-cikk-floating-share__btn--copy.is-copied {
    background: #a61e1e;
    border-color: #a61e1e;
    color: #fff !important;
}

body.dark .tt-cikk-floating-share__btn,
body.dark-mode .tt-cikk-floating-share__btn,
body.jnews-dark-mode .tt-cikk-floating-share__btn,
body.jnews-dark .tt-cikk-floating-share__btn,
body.jeg_dark .tt-cikk-floating-share__btn,
body.jeg-dark-mode .tt-cikk-floating-share__btn,
body[data-theme="dark"] .tt-cikk-floating-share__btn,
html.dark .tt-cikk-floating-share__btn,
html[data-theme="dark"] .tt-cikk-floating-share__btn {
    background: rgba(12,17,26,0.94);
    border-color: rgba(255,255,255,0.14);
    color: #f4f7fb !important;
}

@media (min-width: 1025px) {
    .tt-cikk-floating-share--desktop-on {
        left: 22px;
        top: 50%;
        transform: translateY(-50%);
        display: block;
    }

    .tt-cikk-floating-share--desktop-on .tt-cikk-floating-share__inner {
        flex-direction: column;
        align-items: center;
    }

    .tt-cikk-floating-share--desktop-on .tt-cikk-floating-share__label {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        margin-bottom: 4px;
    }

    .tt-cikk-floating-share:not(.tt-cikk-floating-share--desktop-on) {
        display: none;
    }
}

@media (max-width: 1024px) {
    /* TT Cikk v0.3.17 — mobile share is a compact top icon bar. */
    .tt-cikk-floating-share--mobile-on {
        top: calc(10px + env(safe-area-inset-top));
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translateX(-50%);
        display: block;
        padding: 6px;
        background: rgba(255,255,255,0.92);
        border: 1px solid rgba(120,130,145,0.22);
        box-shadow: 0 10px 28px rgba(0,0,0,0.14);
        backdrop-filter: blur(10px);
        max-width: calc(100vw - 24px);
    }

    .tt-cikk-floating-share--mobile-on .tt-cikk-floating-share__inner {
        justify-content: center;
        gap: 6px;
    }

    .tt-cikk-floating-share--mobile-on .tt-cikk-floating-share__label {
        display: none !important;
    }

    .tt-cikk-floating-share--mobile-on .tt-cikk-floating-share__btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 13px;
        box-shadow: none;
    }

    .tt-cikk-floating-share:not(.tt-cikk-floating-share--mobile-on) {
        display: none;
    }

    body.dark .tt-cikk-floating-share--mobile-on,
    body.dark-mode .tt-cikk-floating-share--mobile-on,
    body.jnews-dark-mode .tt-cikk-floating-share--mobile-on,
    body.jnews-dark .tt-cikk-floating-share--mobile-on,
    body.jeg_dark .tt-cikk-floating-share--mobile-on,
    body.jeg-dark-mode .tt-cikk-floating-share--mobile-on,
    body[data-theme="dark"] .tt-cikk-floating-share--mobile-on,
    html.dark .tt-cikk-floating-share--mobile-on,
    html[data-theme="dark"] .tt-cikk-floating-share--mobile-on {
        background: rgba(7,11,17,0.92);
        border-color: rgba(255,255,255,0.14);
    }
}


/* TT Cikk v0.3.18 — desktop floating share remains; mobile share is injected under article meta. */
.tt-cikk-mobile-meta-share {
    display: none;
    font-family: inherit;
}

.tt-cikk-mobile-meta-share__inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.tt-cikk-mobile-meta-share__btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(120,130,145,0.24);
    background: rgba(255,255,255,0.92);
    color: #111827 !important;
    text-decoration: none !important;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 0;
}

.tt-cikk-mobile-meta-share__btn:hover,
.tt-cikk-mobile-meta-share__btn:focus {
    background: #a61e1e;
    border-color: #a61e1e;
    color: #fff !important;
}

body.dark .tt-cikk-mobile-meta-share__btn,
body.dark-mode .tt-cikk-mobile-meta-share__btn,
body.jnews-dark-mode .tt-cikk-mobile-meta-share__btn,
body.jnews-dark .tt-cikk-mobile-meta-share__btn,
body.jeg_dark .tt-cikk-mobile-meta-share__btn,
body.jeg-dark-mode .tt-cikk-mobile-meta-share__btn,
body[data-theme="dark"] .tt-cikk-mobile-meta-share__btn,
html.dark .tt-cikk-mobile-meta-share__btn,
html[data-theme="dark"] .tt-cikk-mobile-meta-share__btn {
    background: rgba(12,17,26,0.94);
    border-color: rgba(255,255,255,0.16);
    color: #f4f7fb !important;
}

@media (min-width: 1025px) {
    .tt-cikk-mobile-meta-share { display: none !important; }
}

@media (max-width: 1024px) {
    .tt-cikk-floating-share {
        display: none !important;
    }

    .tt-cikk-mobile-meta-share {
        display: block;
        margin: 12px 0 18px;
        padding: 0;
    }

    .tt-cikk-mobile-meta-share__inner {
        justify-content: flex-start;
    }
}


/* TT Cikk v0.3.19 — official-style inline SVG share icons, no external icon font. */
.tt-cikk-share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    line-height: 1;
}

.tt-cikk-share-icon svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.tt-cikk-floating-share__btn,
.tt-cikk-mobile-meta-share__btn {
    font-size: 0;
}

.tt-cikk-floating-share__btn--facebook,
.tt-cikk-mobile-meta-share__btn--facebook {
    color: #1877F2 !important;
}

.tt-cikk-floating-share__btn--linkedin,
.tt-cikk-mobile-meta-share__btn--linkedin {
    color: #0A66C2 !important;
}

.tt-cikk-floating-share__btn--telegram,
.tt-cikk-mobile-meta-share__btn--telegram {
    color: #26A5E4 !important;
}

.tt-cikk-floating-share__btn--whatsapp,
.tt-cikk-mobile-meta-share__btn--whatsapp {
    color: #25D366 !important;
}

.tt-cikk-floating-share__btn--email,
.tt-cikk-mobile-meta-share__btn--email {
    color: #111827 !important;
}

body.dark .tt-cikk-floating-share__btn--email,
body.dark-mode .tt-cikk-floating-share__btn--email,
body.jnews-dark-mode .tt-cikk-floating-share__btn--email,
body.jnews-dark .tt-cikk-floating-share__btn--email,
body.jeg_dark .tt-cikk-floating-share__btn--email,
body.jeg-dark-mode .tt-cikk-floating-share__btn--email,
body[data-theme="dark"] .tt-cikk-floating-share__btn--email,
html.dark .tt-cikk-floating-share__btn--email,
html[data-theme="dark"] .tt-cikk-floating-share__btn--email,
body.dark .tt-cikk-mobile-meta-share__btn--email,
body.dark-mode .tt-cikk-mobile-meta-share__btn--email,
body.jnews-dark-mode .tt-cikk-mobile-meta-share__btn--email,
body.jnews-dark .tt-cikk-mobile-meta-share__btn--email,
body.jeg_dark .tt-cikk-mobile-meta-share__btn--email,
body.jeg-dark-mode .tt-cikk-mobile-meta-share__btn--email,
body[data-theme="dark"] .tt-cikk-mobile-meta-share__btn--email,
html.dark .tt-cikk-mobile-meta-share__btn--email,
html[data-theme="dark"] .tt-cikk-mobile-meta-share__btn--email {
    color: #f4f7fb !important;
}

.tt-cikk-floating-share__btn:hover,
.tt-cikk-floating-share__btn:focus,
.tt-cikk-mobile-meta-share__btn:hover,
.tt-cikk-mobile-meta-share__btn:focus {
    color: #fff !important;
}

/* TT Cikk v0.4.0 — admin-managed ad slots. */
.tt-cikk-ad-slot {
    clear: both;
    margin: 28px 0;
    padding: 0;
    text-align: center;
}

.tt-cikk-ad-slot--top {
    margin-top: 10px;
    margin-bottom: 30px;
}

.tt-cikk-ad-slot--mid {
    margin-top: 32px;
    margin-bottom: 32px;
}

.tt-cikk-ad-slot--bottom {
    margin-top: 34px;
    margin-bottom: 18px;
}

.tt-cikk-ad-slot__label {
    margin-bottom: 8px;
    color: #8b95a3;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
}

.tt-cikk-ad-slot__inner {
    display: block;
    max-width: 100%;
    min-height: 0;
    overflow: hidden;
}

.tt-cikk-ad-slot__inner > * {
    max-width: 100%;
}

@media (min-width: 768px) {
    .tt-cikk-ad-slot--mobile {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .tt-cikk-ad-slot {
        margin: 22px 0;
    }

    .tt-cikk-ad-slot--desktop {
        display: none !important;
    }
}
