/* 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;
    }
}


/* TT Cikk v0.5.0 — Gallery, Timeline, Function Plotter */
.tt-cikk-gallery,
.tt-cikk-timeline,
.tt-cikk-function-plot {
    margin: 32px 0;
    color: inherit;
}
.tt-cikk-gallery__title,
.tt-cikk-timeline__title,
.tt-cikk-function-plot__title {
    display: block;
    margin: 0 0 14px;
    font-weight: 800;
    font-size: 1.1rem;
    color: inherit;
}
.tt-cikk-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.tt-cikk-gallery--cols-1 .tt-cikk-gallery__grid { grid-template-columns: 1fr; }
.tt-cikk-gallery--cols-2 .tt-cikk-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tt-cikk-gallery--cols-4 .tt-cikk-gallery__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tt-cikk-gallery__item {
    margin: 0;
    border: 1px solid rgba(120,130,150,.26);
    background: rgba(120,130,150,.055);
    overflow: hidden;
}
.tt-cikk-gallery__media,
.tt-cikk-gallery__video,
.tt-cikk-function-plot__canvas-wrap {
    display: block;
    width: 100%;
    background: rgba(120,130,150,.08);
}
.tt-cikk-gallery__img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.tt-cikk-gallery__item figcaption,
.tt-cikk-gallery__caption,
.tt-cikk-function-plot__caption {
    padding: 9px 11px;
    color: inherit;
    opacity: .82;
    font-size: .92rem;
    line-height: 1.45;
}
.tt-cikk-gallery__caption {
    margin-top: 8px;
    padding: 0;
    opacity: .9;
}
.tt-cikk-gallery__caption small {
    display: block;
    margin-top: 4px;
    opacity: .72;
    font-style: italic;
}
.tt-cikk-gallery__video,
.tt-cikk-gallery__embed {
    aspect-ratio: 16 / 9;
}
.tt-cikk-gallery__video iframe,
.tt-cikk-gallery__video video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.tt-cikk-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(0,0,0,.88);
}
.tt-cikk-gallery-lightbox.is-open { display: flex; }
.tt-cikk-gallery-lightbox img { max-width: min(96vw, 1400px); max-height: 86vh; width: auto; height: auto; }
.tt-cikk-gallery-lightbox__close { position: fixed; top: 16px; right: 18px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.4); background: #111; color: #fff; font-size: 28px; cursor: pointer; }
.tt-cikk-gallery-lightbox__caption { position: fixed; left: 28px; right: 28px; bottom: 14px; color: #fff; text-align: center; font-size: 14px; }
.tt-cikk-timeline__list {
    position: relative;
    margin: 0;
    padding: 0 0 0 22px;
    list-style: none;
    border-left: 2px solid rgba(166,30,30,.72);
}
.tt-cikk-timeline__item {
    position: relative;
    margin: 0 0 18px;
    padding: 0 0 0 18px;
}
.tt-cikk-timeline__item::before {
    content: "";
    position: absolute;
    left: -29px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #A61E1E;
    box-shadow: 0 0 0 4px rgba(166,30,30,.14);
}
.tt-cikk-timeline__item time {
    display: inline-block;
    margin-bottom: 4px;
    color: #A61E1E;
    font-weight: 800;
    letter-spacing: .04em;
}
.tt-cikk-timeline__item strong { display: block; color: inherit; font-size: 1.04rem; }
.tt-cikk-timeline__item p { margin: 4px 0 0; opacity: .82; }
.tt-cikk-function-plot {
    border: 1px solid rgba(120,130,150,.26);
    background: rgba(120,130,150,.045);
    padding: 14px;
}
.tt-cikk-function-plot__canvas {
    display: block;
    width: 100%;
    min-height: 360px;
}
.tt-cikk-function-plot__caption { padding: 10px 0 0; }
.tt-cikk-function-plot__caption code { color: #A61E1E; font-weight: 800; }
.tt-cikk-function-plot__error { color: #A61E1E; font-weight: 700; }
@media (max-width: 767px) {
    .tt-cikk-gallery__grid,
    .tt-cikk-gallery--cols-2 .tt-cikk-gallery__grid,
    .tt-cikk-gallery--cols-3 .tt-cikk-gallery__grid,
    .tt-cikk-gallery--cols-4 .tt-cikk-gallery__grid { grid-template-columns: 1fr; }
    .tt-cikk-gallery__img { height: auto; }
}


/* TT Cikk v0.5.1 — Function plot axis values and line formatting */
.tt-cikk-function-plot__canvas-wrap {
    overflow: hidden;
}
.tt-cikk-function-plot__canvas {
    background: rgba(255,255,255,.018);
}
.tt-cikk-function-plot__title {
    color: inherit;
}


/* TT Cikk v0.5.2 — multi-function plotter legend and palette support */
.tt-cikk-function-plot__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 10px 0 0;
    font-size: 0.9rem;
}
.tt-cikk-function-plot__legend[aria-hidden="true"] { display: none; }
.tt-cikk-function-plot__legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 8px;
    border: 1px solid rgba(120,130,150,.22);
    background: rgba(120,130,150,.055);
}
.tt-cikk-function-plot__legend i {
    width: 22px;
    height: 3px;
    display: inline-block;
}
.tt-cikk-function-plot__legend b {
    font-weight: 800;
    color: inherit;
}
.tt-cikk-function-plot__legend code {
    color: inherit;
    opacity: .78;
    font-size: .86em;
}
.tt-cikk-function-plot-editor__palette {
    margin: 8px 0 12px;
}


/* TT Cikk v0.6.1 — Plotly 3D surface renderer */
.tt-cikk-function-plot--3d .tt-cikk-function-plot__canvas-wrap {
    min-height: 520px;
}
.tt-cikk-function-plot__plotly {
    width: 100%;
    min-height: 520px;
}
.tt-cikk-function-plot__plotly .modebar {
    opacity: .72;
}
.tt-cikk-function-plot__plotly .modebar:hover {
    opacity: 1;
}


/* TT Cikk v0.7.3 — erősebb Plotly light/dark fix + magyar modebar */
.tt-cikk-function-plot__plotly.tt-plotly-light,
.tt-cikk-function-plot__plotly.tt-plotly-light .svg-container,
.tt-cikk-function-plot__plotly.tt-plotly-light .main-svg {
    color: #000 !important;
}
.tt-cikk-function-plot__plotly.tt-plotly-light svg text,
.tt-cikk-function-plot__plotly.tt-plotly-light .infolayer text,
.tt-cikk-function-plot__plotly.tt-plotly-light .g-gtitle,
.tt-cikk-function-plot__plotly.tt-plotly-light .xtick text,
.tt-cikk-function-plot__plotly.tt-plotly-light .ytick text,
.tt-cikk-function-plot__plotly.tt-plotly-light .ztick text,
.tt-cikk-function-plot__plotly.tt-plotly-light .g-xtitle,
.tt-cikk-function-plot__plotly.tt-plotly-light .g-ytitle,
.tt-cikk-function-plot__plotly.tt-plotly-light .g-ztitle,
.tt-cikk-function-plot__plotly.tt-plotly-light .annotation-text {
    fill: #000 !important;
    color: #000 !important;
}
.tt-cikk-function-plot__plotly.tt-plotly-light svg path,
.tt-cikk-function-plot__plotly.tt-plotly-light svg line {
    stroke: rgba(0,0,0,.72);
}
.tt-cikk-function-plot__plotly.tt-plotly-light .modebar {
    background: rgba(255,255,255,.92) !important;
}
.tt-cikk-function-plot__plotly.tt-plotly-light .modebar-btn,
.tt-cikk-function-plot__plotly.tt-plotly-light .modebar-btn svg,
.tt-cikk-function-plot__plotly.tt-plotly-light .modebar-btn path {
    color: #000 !important;
    fill: #000 !important;
    stroke: #000 !important;
}
.tt-cikk-function-plot__plotly.tt-plotly-dark .modebar {
    background: rgba(20,20,20,.75) !important;
}
.tt-cikk-function-plot__plotly.tt-plotly-dark .modebar-btn,
.tt-cikk-function-plot__plotly.tt-plotly-dark .modebar-btn svg,
.tt-cikk-function-plot__plotly.tt-plotly-dark .modebar-btn path {
    color: #E5E7EB !important;
    fill: #E5E7EB !important;
    stroke: #E5E7EB !important;
}


/* TT Cikk v0.8.6 — front-end tangent slider */
.tt-cikk-function-plot__tangent-slider input[type="range"] {
    width: 100%;
}


.tt-cikk-function-plot__parameter-slider {
    display: grid;
    grid-template-columns: auto minmax(160px, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px 0;
    padding: 8px 10px;
    border: 1px solid rgba(120,130,150,.28);
    border-radius: 10px;
}
.tt-cikk-function-plot__parameter-slider input[type="range"] {
    width: 100%;
}


.tt-cikk-function-plot__tangent-info {
    color: inherit;
    opacity: .9;
}


.tt-cikk-function-plot__tangent-slider,
.tt-cikk-function-plot__parameter-slider {
    position: relative;
}
.tt-cikk-function-plot__tangent-slider {
    display: grid;
    grid-template-columns: auto minmax(160px, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px 0;
    padding: 8px 10px;
    border: 1px solid rgba(120,130,150,.28);
    border-radius: 10px;
}
.tt-cikk-function-plot__tangent-slider input[type="range"] {
    width: 100%;
}


/* TT Cikk v0.8.30 — light-mode readable value/hover boxes */
.tt-cikk-function-plot__y-slider-info,
.tt-cikk-function-plot__tangent-info {
    color: inherit;
    border-radius: 10px;
    padding: 8px 10px;
}
.tt-cikk-function-plot__plotly.tt-plotly-light .hoverlayer .hovertext path {
    fill: rgba(255,255,255,.97) !important;
    stroke: rgba(15,23,42,.35) !important;
}
.tt-cikk-function-plot__plotly.tt-plotly-light .hoverlayer .hovertext text,
.tt-cikk-function-plot__plotly.tt-plotly-light .hoverlayer .hovertext tspan {
    fill: #111827 !important;
    color: #111827 !important;
}
.tt-cikk-function-plot__plotly.tt-plotly-dark .hoverlayer .hovertext path {
    fill: rgba(17,24,39,.96) !important;
    stroke: rgba(255,255,255,.28) !important;
}
.tt-cikk-function-plot__plotly.tt-plotly-dark .hoverlayer .hovertext text,
.tt-cikk-function-plot__plotly.tt-plotly-dark .hoverlayer .hovertext tspan {
    fill: #F9FAFB !important;
    color: #F9FAFB !important;
}


.tt-cikk-function-plot__frontend-tools {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin: 0 0 10px;
}
.tt-cikk-function-plot__toggle {
    appearance: none;
    border: 1px solid rgba(120,130,145,0.35);
    background: rgba(120,130,145,0.10);
    color: inherit;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
}
.tt-cikk-function-plot__toggle[aria-pressed="true"] {
    border-color: rgba(22,163,74,0.55);
}

.tt-cikk-function-plot__complex-info{margin:12px 0 4px;padding:10px 12px;border:1px solid rgba(120,130,150,.28);background:rgba(120,130,150,.08);font-size:13px;line-height:1.45;overflow:auto}
.tt-cikk-function-plot__complex-info table{width:100%;border-collapse:collapse}
.tt-cikk-function-plot__complex-info th,.tt-cikk-function-plot__complex-info td{padding:5px 8px;border-bottom:1px solid rgba(120,130,150,.18);text-align:left;vertical-align:top}
.tt-cikk-function-plot__complex-info th{font-weight:700}
.tt-cikk-function-plot__complex-info code{font-size:12px}

.tt-cikk-function-plot__complex-details{border:1px solid rgba(120,130,150,.18);background:rgba(120,130,150,.03)}
.tt-cikk-function-plot__complex-summary{cursor:pointer;font-weight:700;padding:8px 10px;list-style:none}
.tt-cikk-function-plot__complex-summary::-webkit-details-marker{display:none}
.tt-cikk-function-plot__complex-summary::before{content:'▸';display:inline-block;margin-right:8px;transition:transform .18s ease}
.tt-cikk-function-plot__complex-details[open]>.tt-cikk-function-plot__complex-summary::before{transform:rotate(90deg)}
.tt-cikk-function-plot__complex-inner{padding:4px 0 0}
.tt-cikk-function-plot__complex-info .tt-cikk-inline-math{display:inline-block;min-height:1.2em}
.tt-cikk-function-plot__complex-info .tt-cikk-inline-math .katex{font-size:1em}

.tt-cikk-function-plot__complex-pocket{margin-top:8px}
.tt-cikk-function-plot__complex-pocket .tt-cikk-pocket__content{padding:12px}
.tt-cikk-function-plot__complex-pocket .tt-cikk-inline-math{display:inline-block;min-height:1.2em;white-space:normal}
.tt-cikk-function-plot__complex-pocket table td,.tt-cikk-function-plot__complex-pocket table th{vertical-align:top}


/* v0.8.99 complex info layout */
.tt-cikk-function-plot__complex-info{margin:12px 0 4px;padding:0;border:0;background:transparent;font-size:13px;line-height:1.45;overflow:visible}
.tt-cikk-function-plot__complex-pocket{margin-top:8px}
.tt-cikk-function-plot__complex-pocket .tt-cikk-pocket__content{padding:12px}
.tt-cikk-function-plot__complex-inner{display:grid;gap:16px}
.tt-cikk-function-plot__complex-section{display:grid;gap:8px}
.tt-cikk-function-plot__complex-section-title{font-weight:700;font-size:14px;line-height:1.35}
.tt-cikk-function-plot__complex-table-wrap{overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch;border:1px solid rgba(120,130,150,.16);background:rgba(120,130,150,.03)}
.tt-cikk-function-plot__complex-table{width:max-content;min-width:100%;border-collapse:collapse;table-layout:auto}
.tt-cikk-function-plot__complex-table th,.tt-cikk-function-plot__complex-table td{padding:8px 10px;border-bottom:1px solid rgba(120,130,150,.18);text-align:left;vertical-align:top;white-space:normal;word-break:normal;overflow-wrap:anywhere;hyphens:none}
.tt-cikk-function-plot__complex-table th{font-weight:700;background:rgba(120,130,150,.06)}
.tt-cikk-function-plot__complex-table tbody tr:last-child td{border-bottom:0}
.tt-cikk-function-plot__complex-table--base th:nth-child(1),.tt-cikk-function-plot__complex-table--base td:nth-child(1){min-width:80px;white-space:nowrap}
.tt-cikk-function-plot__complex-table--base th:nth-child(2),.tt-cikk-function-plot__complex-table--base td:nth-child(2){min-width:160px}
.tt-cikk-function-plot__complex-table--base th:nth-child(3),.tt-cikk-function-plot__complex-table--base td:nth-child(3){min-width:72px}
.tt-cikk-function-plot__complex-table--base th:nth-child(4),.tt-cikk-function-plot__complex-table--base td:nth-child(4){min-width:110px}
.tt-cikk-function-plot__complex-table--base th:nth-child(5),.tt-cikk-function-plot__complex-table--base td:nth-child(5){min-width:220px}
.tt-cikk-function-plot__complex-table--base th:nth-child(6),.tt-cikk-function-plot__complex-table--base td:nth-child(6){min-width:160px}
.tt-cikk-function-plot__complex-table--ops th:nth-child(1),.tt-cikk-function-plot__complex-table--ops td:nth-child(1){min-width:120px}
.tt-cikk-function-plot__complex-table--ops th:nth-child(2),.tt-cikk-function-plot__complex-table--ops td:nth-child(2){min-width:240px}
.tt-cikk-function-plot__complex-table--ops th:nth-child(3),.tt-cikk-function-plot__complex-table--ops td:nth-child(3){min-width:72px}
.tt-cikk-function-plot__complex-table--ops th:nth-child(4),.tt-cikk-function-plot__complex-table--ops td:nth-child(4){min-width:110px}
.tt-cikk-function-plot__complex-table--ops th:nth-child(5),.tt-cikk-function-plot__complex-table--ops td:nth-child(5){min-width:240px}
.tt-cikk-function-plot__complex-table--ops th:nth-child(6),.tt-cikk-function-plot__complex-table--ops td:nth-child(6){min-width:260px}
.tt-cikk-function-plot__complex-pocket .tt-cikk-inline-math{display:inline-block;min-height:1.2em;white-space:normal;max-width:100%}
.tt-cikk-function-plot__complex-pocket .tt-cikk-inline-math mjx-container,.tt-cikk-function-plot__complex-pocket .tt-cikk-inline-math .katex{font-size:1em;max-width:100%;overflow-x:auto;overflow-y:hidden}
.tt-cikk-function-plot__complex-note{margin:2px 0 0;font-size:12px;opacity:.8}
.tt-cikk-function-plot__complex-sep{opacity:.6}
@media (max-width: 767px){
  .tt-cikk-function-plot__complex-pocket .tt-cikk-pocket__content{padding:10px}
  .tt-cikk-function-plot__complex-inner{gap:14px}
  .tt-cikk-function-plot__complex-table-wrap{border:0;background:transparent;overflow:visible}
  .tt-cikk-function-plot__complex-table,.tt-cikk-function-plot__complex-table thead,.tt-cikk-function-plot__complex-table tbody,.tt-cikk-function-plot__complex-table tr,.tt-cikk-function-plot__complex-table th,.tt-cikk-function-plot__complex-table td{display:block;width:100%}
  .tt-cikk-function-plot__complex-table thead{display:none}
  .tt-cikk-function-plot__complex-table tr{border:1px solid rgba(120,130,150,.18);background:rgba(120,130,150,.04);margin:0 0 10px;padding:6px 8px}
  .tt-cikk-function-plot__complex-table td{border:0;padding:6px 0;min-width:0!important}
  .tt-cikk-function-plot__complex-table td::before{content:attr(data-label);display:block;font-size:11px;font-weight:700;opacity:.75;margin-bottom:4px;letter-spacing:.01em;text-transform:none}
  .tt-cikk-function-plot__complex-table td strong{display:inline-block}
  .tt-cikk-function-plot__complex-pocket .tt-cikk-inline-math{display:block;overflow-x:auto;overflow-y:hidden;padding-bottom:2px}
}

/* v0.8.100 De Moivre result-shape tuning */
.tt-cikk-function-plot__complex-table--ops th:nth-child(2),.tt-cikk-function-plot__complex-table--ops td:nth-child(2){min-width:360px}
.tt-cikk-function-plot__complex-table--ops th:nth-child(5),.tt-cikk-function-plot__complex-table--ops td:nth-child(5){min-width:220px}
@media (max-width: 767px){
  .tt-cikk-function-plot__complex-table--ops th:nth-child(2),.tt-cikk-function-plot__complex-table--ops td:nth-child(2),
  .tt-cikk-function-plot__complex-table--ops th:nth-child(5),.tt-cikk-function-plot__complex-table--ops td:nth-child(5){min-width:0!important}
}

/* v0.8.101 complex info cleanup */
.tt-cikk-function-plot__complex-col-num,.tt-cikk-function-plot__complex-col-angle,.tt-cikk-function-plot__complex-col-extra{white-space:nowrap;overflow-wrap:normal;word-break:normal}
.tt-cikk-function-plot__complex-nowrap{display:inline-flex;align-items:center;gap:4px;flex-wrap:nowrap;white-space:nowrap;max-width:none}
.tt-cikk-function-plot__complex-nowrap .tt-cikk-inline-math{white-space:nowrap;display:inline-block;overflow:visible}
.tt-cikk-function-plot__complex-nowrap-text{white-space:nowrap;display:inline-block}
.tt-cikk-function-plot__complex-table--base th:nth-child(3),.tt-cikk-function-plot__complex-table--base td:nth-child(3){min-width:90px}
.tt-cikk-function-plot__complex-table--base th:nth-child(4),.tt-cikk-function-plot__complex-table--base td:nth-child(4){min-width:90px}
.tt-cikk-function-plot__complex-table--ops th:nth-child(3),.tt-cikk-function-plot__complex-table--ops td:nth-child(3){min-width:90px}
.tt-cikk-function-plot__complex-table--ops th:nth-child(4),.tt-cikk-function-plot__complex-table--ops td:nth-child(4){min-width:90px}
.tt-cikk-function-plot__complex-table--ops th:nth-child(5),.tt-cikk-function-plot__complex-table--ops td:nth-child(5){min-width:320px}
.tt-cikk-function-plot__complex-logic-block{display:grid;gap:8px;padding:10px 12px;border:1px solid rgba(120,130,150,.16);background:rgba(120,130,150,.03)}
.tt-cikk-function-plot__complex-logic-title{font-weight:700;font-size:13px}
.tt-cikk-function-plot__complex-logic-item{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.tt-cikk-function-plot__complex-logic-item .tt-cikk-inline-math{display:inline-block;white-space:nowrap}
@media (max-width: 767px){
  .tt-cikk-function-plot__complex-col-num,.tt-cikk-function-plot__complex-col-angle,.tt-cikk-function-plot__complex-col-extra{white-space:normal}
  .tt-cikk-function-plot__complex-nowrap{display:block;white-space:normal}
  .tt-cikk-function-plot__complex-nowrap .tt-cikk-inline-math{display:block;overflow-x:auto;overflow-y:hidden}
  .tt-cikk-function-plot__complex-logic-block{padding:10px}
}

/* v0.8.102 math headers */
.tt-cikk-function-plot__complex-table th .tt-cikk-inline-math{display:inline-block;white-space:nowrap;overflow:visible;max-width:none}
.tt-cikk-function-plot__complex-table th mjx-container,.tt-cikk-function-plot__complex-table th .katex{font-size:1em}

/* v0.8.104 displaystyle and operation label math */
.tt-cikk-function-plot__complex-table td[data-label="Művelet"] .tt-cikk-inline-math{display:inline-block;white-space:nowrap}
.tt-cikk-function-plot__complex-table td[data-label="Művelet"] mjx-container,.tt-cikk-function-plot__complex-table td[data-label="Művelet"] .katex{font-size:1em}

/* v0.8.105 complex root k substitution */
.tt-cikk-function-plot__complex-section--k-substitution{display:grid;gap:8px}
.tt-cikk-function-plot__complex-k-formula,.tt-cikk-function-plot__complex-k-row{padding:8px 10px;border:1px solid rgba(120,130,150,.16);background:rgba(120,130,150,.035);overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.tt-cikk-function-plot__complex-k-list{display:grid;gap:8px}
.tt-cikk-function-plot__complex-k-formula .tt-cikk-inline-math,.tt-cikk-function-plot__complex-k-row .tt-cikk-inline-math{display:inline-block;white-space:nowrap;max-width:none}
.tt-cikk-function-plot__complex-k-formula mjx-container,.tt-cikk-function-plot__complex-k-row mjx-container,.tt-cikk-function-plot__complex-k-formula .katex,.tt-cikk-function-plot__complex-k-row .katex{font-size:1em}
@media (max-width: 767px){
  .tt-cikk-function-plot__complex-k-formula,.tt-cikk-function-plot__complex-k-row{padding:8px}
}

/* v0.8.109 root solution auto */
.tt-cikk-function-plot__complex-section--root-solution .tt-cikk-function-plot__complex-k-list{display:grid;gap:8px;margin-top:8px}
.tt-cikk-function-plot__complex-section--root-solution .tt-cikk-function-plot__complex-k-row{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;padding:2px 0}
.tt-cikk-function-plot__complex-k-formula--secondary{opacity:.85;font-size:12px;margin-top:-2px}
.tt-cikk-function-plot__complex-section--root-solution .tt-cikk-inline-math{display:inline-block;white-space:nowrap}
@media (max-width:767px){.tt-cikk-function-plot__complex-section--root-solution .tt-cikk-inline-math{display:block;overflow-x:auto;overflow-y:hidden}}

/* v0.8.112 Euler complex section */
.tt-cikk-function-plot__complex-section--euler .tt-cikk-function-plot__complex-logic-block{margin-top:2px}
/* v0.8.116 complex conversion and set helpers */
.tt-cikk-function-plot__complex-conversion-list,
.tt-cikk-function-plot__complex-set-list{display:grid;gap:8px}
.tt-cikk-function-plot__complex-conversion-row,
.tt-cikk-function-plot__complex-set-item{padding:8px 10px;border:1px solid rgba(120,130,150,.16);background:rgba(120,130,150,.03);overflow-x:auto;-webkit-overflow-scrolling:touch}
.tt-cikk-function-plot__complex-conversion-row .tt-cikk-inline-math{white-space:nowrap;display:inline-block}
.tt-cikk-function-plot__complex-set-item{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px}
@media (max-width:767px){
  .tt-cikk-function-plot__complex-conversion-row .tt-cikk-inline-math{display:block;overflow-x:auto;white-space:nowrap}
}


/* v0.8.122 safe universal function formula pocket */
.tt-cikk-function-plot__formula-box{margin-top:12px}
.tt-cikk-function-plot__formula-pocket .tt-cikk-pocket__content{padding:12px}
.tt-cikk-function-plot__formula-inner{display:grid;gap:10px}
.tt-cikk-function-plot__formula-row{display:grid;gap:6px;padding:8px 10px;border:1px solid rgba(120,130,150,.16);background:rgba(120,130,150,.035)}
.tt-cikk-function-plot__formula-label{font-size:12px;font-weight:700;opacity:.82}
.tt-cikk-function-plot__formula-math{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.tt-cikk-function-plot__formula-math .tt-cikk-inline-math{display:inline-block;white-space:nowrap;max-width:none}
.tt-cikk-function-plot__formula-math mjx-container,.tt-cikk-function-plot__formula-math .katex{font-size:1em}
@media (max-width: 782px){.tt-cikk-function-plot__formula-pocket .tt-cikk-pocket__content{padding:10px}.tt-cikk-function-plot__formula-row{padding:8px}.tt-cikk-function-plot__formula-math .tt-cikk-inline-math{display:block;overflow-x:auto;overflow-y:hidden}}

/* v0.8.127 native polar mode */
.tt-cikk-function-plot--polar2d .tt-cikk-function-plot__plotly{min-height:420px;}

/* v0.8.130 polar analysis + helper */
.tt-cikk-function-plot__polar-extra{margin-top:12px;display:grid;gap:12px}.tt-cikk-function-plot__polar-analysis-inner{display:grid;gap:10px}.tt-cikk-function-plot__polar-analysis-row{padding:10px;border:1px solid rgba(120,130,150,.16);background:rgba(120,130,150,.035)}.tt-cikk-function-plot__polar-analysis-title{font-weight:700;margin-bottom:6px}.tt-cikk-function-plot__polar-analysis-row ul{margin:0;padding-left:18px}.tt-cikk-function-plot__polar-helper-note{margin:.65rem 0 0;font-size:12px;opacity:.82}.tt-cikk-function-plot__plotly--polar-cartesian{min-height:340px}.tt-cikk-function-plot__polar-cartesian-helper details .tt-cikk-pocket__content{padding-bottom:12px}@media (max-width:782px){.tt-cikk-function-plot__plotly--polar-cartesian{min-height:280px}}

/* v0.8.132 function plot pocket spacing */
.tt-cikk-function-plot__formula-box{margin-top:0!important}
.tt-cikk-function-plot__polar-extra{margin-top:0!important;gap:0!important}
.tt-cikk-function-plot__polar-extra > * + *{margin-top:0!important}
.tt-cikk-function-plot__formula-box .tt-cikk-pocket,
.tt-cikk-function-plot__polar-extra .tt-cikk-pocket{margin-top:0!important;margin-bottom:0!important}
.tt-cikk-function-plot__figure > .tt-cikk-function-plot__formula-box:first-of-type .tt-cikk-pocket__summary,
.tt-cikk-function-plot__figure > .tt-cikk-function-plot__polar-extra:first-of-type .tt-cikk-pocket__summary{border-top-width:1px}


/* v0.8.140 mobile plot comfort + touch scrolling */
@media (max-width: 782px){
  .tt-cikk-function-plot{
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .tt-cikk-function-plot__canvas-wrap,
  .tt-cikk-function-plot__plotly,
  .tt-cikk-function-plot__plotly .plot-container,
  .tt-cikk-function-plot__plotly .main-svg{
    max-width: 100% !important;
    touch-action: pan-y !important;
    overscroll-behavior: contain;
  }
  .tt-cikk-function-plot__plotly .modebar{
    transform: scale(.9);
    transform-origin: top right;
  }
}


/* v0.8.144 lazy diagram rendering */
.tt-cikk-function-plot--lazy .tt-cikk-function-plot__canvas-wrap{
  min-height:360px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(120,130,150,.045);
}
.tt-cikk-function-plot__lazy-note{
  font-size:13px;
  font-weight:700;
  opacity:.72;
  padding:10px 14px;
  border:1px solid rgba(120,130,150,.22);
  background:rgba(255,255,255,.55);
}
@media (max-width: 782px){
  .tt-cikk-function-plot--lazy .tt-cikk-function-plot__canvas-wrap{
    min-height:260px;
  }
}

/* v0.8.145 polar educational helpers */
.tt-cikk-function-plot__polar-relation-helper,
.tt-cikk-function-plot__polar-conversion-box{margin-top:0}
.tt-cikk-function-plot__plotly--polar-relation{min-height:320px}
.tt-cikk-function-plot__polar-conversion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tt-cikk-function-plot__polar-conversion-grid>div{border:1px solid rgba(120,130,150,.18);padding:10px;background:rgba(120,130,150,.035)}
.tt-cikk-function-plot__polar-conversion-grid code{display:inline-block;margin:2px 0;padding:2px 4px;background:rgba(120,130,150,.10)}
@media (max-width:782px){.tt-cikk-function-plot__polar-conversion-grid{grid-template-columns:1fr}.tt-cikk-function-plot__plotly--polar-relation{min-height:280px}}
