/* Sekce „Lidé“ — čistá typografie inspirovaná médium.cz */

:root {
    --lide-accent: #db2777;
    --lide-accent-hover: #be185d;
    --lide-tan: #be185d;
    --lide-tan-muted: #9d174d;
    --lide-text: #1a1a1a;
    --lide-muted: #5c5c5c;
    --lide-border: #e8e4df;
    --lide-bg: #ffffff;
    --lide-cream: #fff8e7;
    --lide-cream-deep: #fff3d6;
    --lide-max: 1120px;
    --lide-serif: "Source Serif 4", "Georgia", serif;
    --lide-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Správa blogu — bílé pozadí; veřejná sekce Lidě používá style.css (page-lide-public) */
.blog-page {
    margin: 0;
    font-family: var(--lide-sans);
    background: var(--lide-bg);
    color: var(--lide-text);
    line-height: 1.5;
}

.page-lide-public {
    font-family: var(--lide-sans);
    color: var(--lide-text);
    line-height: 1.5;
    background: #ffffff !important;
}

.blog-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 0.5rem 3.5rem;
}
.tlupa-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}
.tlupa-main {
    min-width: 0;
}
.tlupa-side-menu {
    order: -1;
    position: sticky;
    top: 1rem;
}
.tlupa-side-nav {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.35rem 0.35rem 0.45rem;
    border-radius: 8px;
    background: #f3f4f6;
}
.tlupa-side-nav-link {
    display: block;
    padding: 0.45rem 0.5rem;
    border-radius: 6px;
    text-decoration: none;
    color: #4b5563;
    font-weight: 600;
    font-size: 0.84rem;
    line-height: 1.35;
    transition: background 0.15s ease, color 0.15s ease;
}
.tlupa-side-nav-link:hover {
    background: #e5e7eb;
    color: #1f2937;
}
.tlupa-side-nav-link.is-active {
    color: #be185d;
    font-weight: 700;
}
.tlupa-side-nav-link-action {
    margin-top: 0.35rem;
    padding: 0.54rem 0.62rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.01em;
    box-shadow: 0 5px 14px rgba(190, 24, 93, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.22);
}
.tlupa-side-nav-link-action:hover {
    background: linear-gradient(135deg, #f472b6 0%, #db2777 100%);
    color: #ffffff;
    box-shadow: 0 7px 18px rgba(190, 24, 93, 0.24);
}
.tlupa-side-divider {
    height: 1px;
    margin: 0.45rem 0;
    background: #d1d5db;
}
/* Horní lišta */
.blog-topbar {
    border-bottom: 1px solid var(--lide-border);
    background: var(--lide-bg);
}
.blog-topbar-inner {
    max-width: var(--lide-max);
    margin: 0 auto;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.blog-brand {
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 1.4rem;
    color: var(--lide-accent);
    text-decoration: none;
}
.blog-brand:hover {
    color: var(--lide-accent-hover);
}
.blog-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.blog-nav a {
    text-decoration: none;
    color: var(--lide-tan);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.blog-nav a:hover {
    color: var(--lide-accent);
}
.blog-nav .blog-nav-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.blog-nav .blog-nav-icon svg {
    flex-shrink: 0;
    opacity: 0.85;
}
.blog-nav .blog-cat-active {
    color: var(--lide-accent);
}

/* Štítek rubriky (bez šikmé růžové) */
.blog-section-label {
    display: inline-block;
    background: transparent;
    color: var(--lide-tan-muted);
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0;
    margin: 0 0 0.5rem;
    transform: none;
    box-shadow: none;
}
.blog-section-label span {
    transform: none;
}

/* Hero */
.lide-hero {
    background: transparent;
    border-bottom: 0;
    margin: 0 0 1.5rem;
    padding: 0;
    border-radius: 0;
}
.lide-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}
.lide-hero-inner img {
    width: min(1240px, 98vw);
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 0 auto;
}
.lide-hero-inner a {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* Vybraný příběh — dvousloupec */
.lide-featured {
    margin-bottom: 2.75rem;
}
.lide-featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem 2.5rem;
    align-items: start;
}
@media (max-width: 900px) {
    .lide-featured-grid {
        grid-template-columns: 1fr;
    }
}
.lide-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin: 0 0 0.85rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lide-tan-muted);
}
.lide-kicker-cat {
    margin: 0 0 0.45rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lide-tan-muted);
}
.lide-cat {
    color: var(--lide-tan-muted);
}
.lide-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e0ddd8, #f5f2eb);
    color: var(--lide-tan-muted);
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--lide-border);
    overflow: hidden;
    box-sizing: border-box;
    vertical-align: middle;
}
.lide-avatar--sm {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
    font-size: 0.6rem;
}
.lide-avatar--lg,
.lide-author-profile-avatar {
    width: 74px;
    height: 74px;
    min-width: 74px;
    min-height: 74px;
    max-width: 74px;
    max-height: 74px;
}
.lide-avatar.has-photo {
    padding: 0;
    background: #fff;
}
.lide-avatar img,
.lide-author-profile-avatar img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 50%;
}
.lide-byline {
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--lide-tan-muted);
}
.lide-author-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.lide-author-link--profile {
    gap: 0.65rem;
}
.lide-author-link__meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}
.lide-author-link--profile:hover .blog-article-author-name,
.lide-author-link--profile:hover .lide-byline {
    color: var(--lide-accent);
}
.lide-author-avatar-link,
.lide-author-link .lide-avatar,
.lide-author-link .lide-avatar img {
    pointer-events: none;
}
.lide-author-link:hover .lide-byline,
.lide-author-link:hover span:not(.lide-avatar) {
    color: var(--lide-accent);
}
.lide-author-link-inline {
    color: inherit;
    text-decoration: none;
}
.lide-author-link-inline:hover {
    color: var(--lide-accent);
}
.lide-featured-title {
    font-family: var(--lide-serif);
    font-weight: 700;
    font-size: clamp(1.45rem, 3vw, 2.05rem);
    line-height: 1.15;
    letter-spacing: 0.02em;
    font-optical-sizing: none;
    margin: 0 0 1rem;
    color: var(--lide-text);
    text-decoration: none;
    display: block;
    transition: color 0.15s ease;
}
a.lide-featured-title:hover,
a:hover .lide-featured-title {
    color: var(--lide-accent);
}
.lide-lead {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--lide-muted);
    margin: 0;
}
.lide-dnes {
    font-weight: 800;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    color: var(--lide-text);
    margin-right: 0.5rem;
}
.lide-featured-media {
    display: block;
    text-decoration: none;
    color: inherit;
    width: min(350px, 100%);
    justify-self: end;
}
.lide-featured-media img,
.lide-featured-media .lide-img-placeholder {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    background: #f0ebe4;
}
.lide-featured-media:hover img {
    opacity: 0.96;
}
@media (max-width: 900px) {
    .lide-featured-media {
        width: 100%;
        justify-self: stretch;
    }
    .lide-featured-media img,
    .lide-featured-media .lide-img-placeholder {
        height: auto;
        aspect-ratio: 4 / 3;
    }
}

/* Editorský výběr */
.lide-pick-head {
    font-family: var(--lide-serif);
    font-weight: 700;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    letter-spacing: 0.02em;
    font-optical-sizing: none;
    margin: 0 0 1.35rem;
    color: var(--lide-text);
}
.lide-pick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem 1.5rem;
    margin-bottom: 2.75rem;
}
@media (max-width: 900px) {
    .lide-pick-grid {
        grid-template-columns: 1fr;
    }
}
.lide-card {
    color: inherit;
    display: block;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--lide-border);
    min-height: 100%;
}
.lide-card-media {
    display: block;
    margin: 0 0 0.75rem;
    text-decoration: none;
}
.lide-card-media img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    background: #f0ebe4;
}
.lide-card:hover .lide-card-title,
.lide-card-title-link:hover .lide-card-title {
    color: var(--lide-accent);
}
.lide-card-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.lide-card-kicker {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lide-tan-muted);
}
.lide-card-title {
    font-family: var(--lide-serif);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.28;
    letter-spacing: 0.02em;
    font-optical-sizing: none;
    margin: 0 0 0.75rem;
    transition: color 0.15s ease;
}
.lide-card-foot {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--lide-muted);
    text-transform: uppercase;
}

/* Vertikální seznam příspěvků */
.lide-more-list {
    border-top: 1px solid var(--lide-border);
}
.lide-more-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--lide-border);
    text-decoration: none;
    color: inherit;
}
.lide-more-row:hover .lide-more-title {
    color: var(--lide-accent);
}
.lide-more-thumb {
    width: 88px;
    min-width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 4px;
    background: #f0ebe4;
}
.lide-more-title {
    font-family: var(--lide-serif);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.25;
    letter-spacing: 0.02em;
    font-optical-sizing: none;
    margin: 0 0 0.35rem;
    transition: color 0.15s ease;
}
.lide-more-meta {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lide-muted);
    font-weight: 600;
}

.tlupa-followed-home {
    margin: 0 0 2.25rem;
}

.tlupa-followed-home > .lide-pick-head {
    margin-bottom: 1.1rem;
}

.tlupa-home-cat-block {
    margin-top: 0.25rem;
}

.tlupa-home-cat-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1rem;
}

.tlupa-home-cat-heading .tlupa-home-cat-all {
    font-family: var(--lide-sans);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lide-tan-muted);
    text-decoration: none;
    white-space: nowrap;
}

.tlupa-home-cat-heading .tlupa-home-cat-all:hover {
    color: var(--lide-accent);
}

.tlupa-home-cat-grid {
    margin-bottom: 2.25rem;
}

.tlupa-followed-empty {
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px dashed var(--lide-border);
    color: var(--lide-muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.blog-article-author--row {
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem 1rem;
}

.blog-article-contribute-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1.05rem;
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.01em;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 2px 8px rgba(190, 24, 93, 0.18), 0 8px 24px -6px rgba(15, 23, 42, 0.1);
    flex-shrink: 0;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.blog-article-contribute-btn:hover {
    color: #fff;
    background: linear-gradient(135deg, #f472b6 0%, #db2777 100%);
    box-shadow: 0 4px 14px rgba(190, 24, 93, 0.24), 0 12px 28px -8px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.blog-article-author--row > .blog-article-contribute-btn {
    margin-left: 0;
}

.lide-author-profile-head > .blog-article-contribute-btn {
    margin-left: 0;
}

.blog-article-support-card {
    margin: 1.35rem 0;
    padding: 1.15rem 1.25rem 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 40px -12px rgba(15, 23, 42, 0.1);
}

.blog-article-support-title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #9a3412;
}

.blog-article-support-lead {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #57534e;
}

.lide-author-support-card {
    margin: 1rem 0 0;
}

button.blog-article-contribute-btn {
    cursor: pointer;
    font-family: inherit;
}

.tlupa-contribute-card .tlupa-contribute-title {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.tlupa-contribute-card .tlupa-contribute-lead {
    margin: 0 0 0.9rem;
    font-size: 0.94rem;
    line-height: 1.55;
    color: #64748b;
}

.tlupa-contribute-card .tlupa-contribute-lead strong {
    color: #334155;
    font-weight: 700;
}

.tlupa-contribute-preset-row {
    margin-bottom: 0.25rem;
}

.tlupa-contribute-preset-btn--featured {
    box-shadow: 0 0 0 2px rgba(219, 39, 119, 0.35), 0 2px 8px rgba(190, 24, 93, 0.18);
}

.tlupa-contribute-custom-details {
    margin-top: 1.05rem;
    border-top: 1px solid rgba(15, 23, 42, 0.07);
    padding-top: 0.95rem;
}

.tlupa-contribute-custom-summary {
    cursor: pointer;
    font-weight: 650;
    font-size: 0.875rem;
    color: #475569;
    list-style: none;
    transition: color 0.15s ease;
}

.tlupa-contribute-custom-summary:hover {
    color: var(--lide-accent);
}

.tlupa-contribute-custom-summary::-webkit-details-marker {
    display: none;
}

.tlupa-contribute-custom-body {
    margin-top: 0.65rem;
}

.tlupa-contribute-custom-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.35rem;
}

.tlupa-contribute-custom-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
}

.tlupa-contribute-custom-input {
    flex: 1 1 120px;
    min-width: 100px;
    max-width: 220px;
    padding: 0.52rem 0.72rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tlupa-contribute-custom-input:focus {
    outline: none;
    border-color: rgba(219, 39, 119, 0.5);
    box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.16);
}

.tlupa-contribute-custom-hint {
    margin: 0.55rem 0 0;
    font-size: 0.78rem;
    color: #94a3b8;
}

.blog-article-contribute-btn.tlupa-contribute-btn--outline,
button.blog-article-contribute-btn.tlupa-contribute-btn--outline {
    background: #fff;
    color: #334155;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    font-weight: 600;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.blog-article-contribute-btn.tlupa-contribute-btn--outline:hover,
button.blog-article-contribute-btn.tlupa-contribute-btn--outline:hover {
    background: #fdf2f8;
    filter: none;
    color: #0f172a;
    border-color: rgba(236, 72, 153, 0.45);
    transform: none;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

/* Tlačítko vedle bloku avatar + jméno — menší než výchozí .lide-follow-btn */
.blog-article-author--row > .lide-follow-btn {
    margin-left: 0;
    flex-shrink: 0;
    padding: 0.4rem 0.72rem;
    font-size: 0.74rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    gap: 0.3rem;
    box-shadow: 0 4px 11px rgba(190, 24, 93, 0.2);
}

.blog-article-author--row > .lide-follow-btn:hover {
    box-shadow: 0 6px 13px rgba(190, 24, 93, 0.26);
}

.blog-article-author--row > .lide-follow-btn span[aria-hidden="true"] {
    font-size: 0.78rem;
}

.blog-article-author--row > .lide-follow-btn.lide-follow-btn--following {
    box-shadow: 0 3px 9px rgba(236, 72, 153, 0.12);
}

.blog-article-author--row > .lide-follow-btn--ghost.lide-follow-btn--sm {
    padding: 0.38rem 0.68rem !important;
    font-size: 0.72rem !important;
}

@media (max-width: 520px) {
    .blog-article-author--row > .lide-follow-btn--ghost.lide-follow-btn--sm {
        width: auto;
        max-width: 100%;
    }
}

.blog-article-author-core {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.lide-follow-btn--following {
    background: linear-gradient(145deg, #fff7fb, #ffe4ef);
    color: #9d174d;
    border-color: #fbcfe8;
    box-shadow: 0 4px 14px rgba(236, 72, 153, 0.12);
}

.lide-follow-btn--ghost {
    text-decoration: none;
    justify-content: center;
    margin-left: 0 !important;
    background: #fff !important;
    color: #be185d !important;
    border: 1px solid #fbcfe8;
    box-shadow: none !important;
}

.lide-follow-btn--ghost:hover {
    border-color: #f472b6;
    transform: translateY(-1px);
}

.lide-follow-btn--sm {
    padding: 0.42rem 0.72rem !important;
    font-size: 0.74rem !important;
}

@media (max-width: 520px) {
    .lide-follow-btn--sm {
        width: 100%;
    }
}

/* Karty / odkazy — kompatibilita se staršími třídami */
.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.blog-card-link:hover .blog-card-title {
    color: var(--lide-accent);
}

.blog-thumb {
    aspect-ratio: 16 / 10;
    width: 100%;
    object-fit: cover;
    background: #f0ebe4;
    display: block;
}
.blog-thumb--sm {
    width: 88px;
    min-width: 88px;
    height: 88px;
    aspect-ratio: 1;
    object-fit: cover;
}

.blog-cat-tag {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--lide-tan-muted);
    margin: 0.5rem 0 0.2rem;
    font-weight: 700;
}

.blog-card-title {
    font-family: var(--lide-serif);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.28;
    letter-spacing: 0.02em;
    font-optical-sizing: none;
    margin: 0;
    transition: color 0.15s ease;
}

.blog-hero-title {
    font-family: var(--lide-serif);
    font-size: clamp(1.65rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.02em;
    font-optical-sizing: none;
    margin: 0.35rem 0 0.75rem;
}

.blog-hero-excerpt {
    color: var(--lide-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem;
}

.loupik-collapse--video {
    margin: 1rem 0 1.25rem;
}

.loupik-collapse--video .blog-hero-excerpt,
.loupik-collapse--video p {
    margin: 0 0 0.75rem;
    color: var(--lide-muted);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 600;
}

.loupik-collapse__btn {
    display: inline-flex;
    align-items: center;
    margin-top: 0.15rem;
    padding: 0;
    border: 0;
    background: none;
    color: #e9348d;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
}

.loupik-collapse__btn:hover {
    color: #c81e70;
    text-decoration: underline;
}

.blog-row {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.85rem 0;
    border-top: 1px solid var(--lide-border);
}
.blog-row:first-of-type {
    border-top: none;
    padding-top: 0;
}

.blog-popular-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.blog-popular-item {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--lide-border);
}
.blog-popular-num {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--lide-accent);
    line-height: 1;
    min-width: 1.5rem;
    font-family: var(--lide-serif);
}

.blog-empty {
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: var(--lide-muted);
    border: 1px dashed var(--lide-border);
    border-radius: 8px;
    margin-top: 2rem;
    font-size: 1.02rem;
}

/* Detail článku / příběhu */
.blog-article-page .blog-back {
    display: inline-block;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--lide-muted);
    text-decoration: none;
    font-size: 0.92rem;
}
.blog-article-page .blog-back:hover {
    color: var(--lide-accent);
}
.blog-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
    align-items: stretch;
}
html:has(body.blog-article-page),
body.blog-article-page {
    overflow: visible !important;
}
.page-lide-public.blog-article-page > .main-container,
body.blog-article-page > .blog-wrap,
body.blog-article-page .blog-article-layout,
body.blog-article-page .blog-article-side-col {
    overflow: visible;
}
.blog-article-side-col {
    position: relative;
    align-self: stretch;
    min-width: 0;
}
.blog-article-side-placeholder {
    display: none;
    width: 100%;
    pointer-events: none;
}
.blog-article-main {
    max-width: 760px;
    min-width: 0;
    align-self: start;
}
.blog-article-category {
    margin: 0 0 0.65rem;
    color: var(--lide-tan-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}
.blog-article-author-core .lide-avatar,
.blog-article-author .lide-avatar,
.lide-author-link .lide-avatar,
.lide-author-profile-head .lide-avatar {
    border-radius: 50% !important;
    overflow: hidden !important;
}
.blog-article-author-core .lide-avatar img,
.blog-article-author .lide-avatar img,
.lide-author-link .lide-avatar img,
.lide-author-profile-head .lide-avatar img {
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.blog-article-author {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1rem;
}
.blog-article-author-name {
    color: var(--lide-accent);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Profil autora */
.lide-author-profile-hero {
    background:
        radial-gradient(circle at 12% 18%, rgba(236, 72, 153, 0.16) 0, rgba(236, 72, 153, 0) 36%),
        radial-gradient(circle at 86% 82%, rgba(190, 24, 93, 0.14) 0, rgba(190, 24, 93, 0) 42%),
        linear-gradient(145deg, #ffffff 0%, #fff4fb 100%);
    border: 1px solid #fbcfe8;
    border-radius: 18px;
    padding: 1.3rem 1.2rem;
    margin: 0 0 1.7rem;
    box-shadow: 0 12px 34px rgba(190, 24, 93, 0.12);
}
.lide-author-profile-head {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}
.lide-author-profile-avatar {
    width: 74px;
    height: 74px;
    min-width: 74px;
    min-height: 74px;
    max-width: 74px;
    max-height: 74px;
    font-size: 1.18rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #f9a8d4;
    background: linear-gradient(145deg, #ffe4f0, #fff7fb);
    color: #be185d;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.25);
}
.lide-author-profile-avatar.has-photo {
    padding: 0;
    background: #fff;
}
.lide-author-profile-title {
    margin: 0;
    font-family: var(--lide-serif);
    font-size: clamp(1.7rem, 3.7vw, 2.4rem);
    line-height: 1.08;
    letter-spacing: 0.02em;
    font-optical-sizing: none;
}
.lide-author-profile-meta {
    margin: 0.3rem 0 0;
    color: #9d174d;
    font-size: 0.76rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    font-weight: 700;
}
.lide-author-profile-note {
    margin: 1rem 0 0;
    padding: 0.78rem 0.9rem;
    border-left: 4px solid #ec4899;
    border-radius: 10px;
    background: linear-gradient(145deg, #fff7fc, #fff0f8);
    color: #6b7280;
    font-size: 0.94rem;
}
.lide-follow-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid #f472b6;
    border-radius: 999px;
    background: linear-gradient(145deg, #ec4899, #be185d);
    color: #fff;
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: 0.03em;
    padding: 0.62rem 1rem;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(190, 24, 93, 0.28);
    transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}
.lide-follow-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(190, 24, 93, 0.34);
    filter: saturate(1.06);
}
.lide-follow-btn:active {
    transform: translateY(0);
}
.lide-follow-btn span[aria-hidden="true"] {
    font-size: 1rem;
    line-height: 1;
}

.lide-author-articles .lide-pick-head {
    margin-bottom: 1.05rem;
}
.lide-author-articles .lide-more-list {
    border-top: 0;
}
.lide-author-articles .lide-more-row {
    border: 1px solid #f3e8ef;
    border-radius: 14px;
    padding: 0.9rem;
    margin-bottom: 0.8rem;
    background: #fff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
    transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}
.lide-author-articles .lide-more-row:hover {
    transform: translateY(-1px);
    border-color: #f9a8d4;
    box-shadow: 0 10px 24px rgba(190, 24, 93, 0.12);
}
.lide-author-articles .lide-more-thumb {
    width: 96px;
    min-width: 96px;
    height: 96px;
    border-radius: 10px;
}
.lide-author-articles .lide-more-title {
    font-size: 1.16rem;
    margin-bottom: 0.45rem;
}
.lide-author-articles .lide-more-meta {
    color: #9d174d;
    letter-spacing: 0.11em;
    font-size: 0.68rem;
    font-weight: 700;
}

.lide-author-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.2rem;
    align-items: start;
}
.lide-author-ad {
    position: sticky;
    top: 1rem;
    border: 1px solid #f3e8ef;
    border-radius: 14px;
    padding: 0.8rem;
    background: #fff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}
.lide-author-pagination {
    margin-top: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.lide-author-pagination-btn {
    text-decoration: none;
    border: 1px solid #f3d5e3;
    border-radius: 999px;
    padding: 0.48rem 0.82rem;
    background: #fff;
    color: #be185d;
    font-weight: 700;
    font-size: 0.82rem;
    transition: all 0.16s ease;
}

.lide-author-pagination-btn:hover {
    border-color: #ec4899;
    background: #fff4fa;
    color: #9d174d;
}

.lide-author-pagination-btn.is-disabled {
    pointer-events: none;
    opacity: 0.45;
}

.lide-author-pagination-pages {
    display: flex;
    align-items: center;
    gap: 0.36rem;
    flex-wrap: wrap;
}

.lide-author-pagination-page {
    min-width: 34px;
    height: 34px;
    padding: 0 0.45rem;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: #374151;
    font-weight: 650;
    font-size: 0.83rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.lide-author-pagination-page:hover {
    border-color: #f9a8d4;
    background: #fff4fa;
    color: #9d174d;
}

.lide-author-pagination-page.is-active {
    border-color: #ec4899;
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: #fff;
    box-shadow: 0 8px 18px rgba(219, 39, 119, 0.25);
}

.lide-author-pagination-gap {
    color: #9ca3af;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0 0.2rem;
}
@media (max-width: 980px) {
    .lide-author-layout {
        grid-template-columns: 1fr;
    }
    .lide-author-ad {
        position: static;
    }
    .lide-author-pagination {
        justify-content: center;
    }
}
.blog-article-author-date {
    color: var(--lide-muted);
    font-size: 0.78rem;
}
.blog-article-side {
    align-self: start;
    border-left: 1px solid var(--lide-border);
    padding-left: 1.25rem;
    min-width: 0;
}
@media (min-width: 861px) {
    body.blog-article-page:not(.has-side-rail-js) .blog-article-side {
        position: sticky;
        top: 16px;
        overflow: visible;
        box-sizing: border-box;
    }
    body.blog-article-page.has-side-rail-js .blog-article-side-col.is-active .blog-article-side-placeholder {
        display: block;
    }
    body.blog-article-page.has-side-rail-js .blog-article-side.is-fixed {
        position: fixed;
        z-index: 40;
        overflow: visible;
        box-sizing: border-box;
    }
    body.blog-article-page.has-side-rail-js .blog-article-side.is-at-bottom {
        position: absolute;
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        max-height: none;
        overflow: visible;
        z-index: 1;
    }
}
.blog-article-ad {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--lide-border);
}
.blog-article-side h3 {
    font-family: var(--lide-serif);
    margin: 0 0 1rem;
    font-size: 1.35rem;
}
.blog-article-side-section + .blog-article-side-section {
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--lide-border);
}
.blog-article-related-list {
    display: grid;
    gap: 0.9rem;
}
.blog-article-related-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    gap: 0.75rem;
    color: var(--lide-text);
    text-decoration: none;
    border-bottom: 1px solid var(--lide-border);
    padding-bottom: 0.55rem;
    line-height: 1.35;
}
.blog-article-related-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    background: #f0ebe4;
}
.blog-article-related-thumb-fallback {
    display: block;
    background: linear-gradient(145deg, #e8e4df, #f0ebe4);
}
.blog-article-related-title {
    display: block;
}
.blog-article-related-copy {
    display: block;
    min-width: 0;
}
.blog-article-related-author {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.82rem;
    color: var(--lide-muted);
    line-height: 1.3;
}
.blog-article-related-item:hover {
    color: var(--lide-accent);
}
.blog-article-side-empty {
    color: var(--lide-muted);
    font-size: 0.92rem;
}
.blog-article-disclaimer {
    margin-top: 1.35rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--lide-border);
    color: var(--lide-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}
.blog-article-disclaimer a {
    color: var(--lide-accent);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}
.blog-article-actions {
    margin-top: 0.85rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.blog-article-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--lide-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.12rem;
}
.blog-article-action:hover {
    color: var(--lide-accent-hover);
}
button.blog-article-action {
    font: inherit;
    font-weight: 600;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-align: inherit;
}
.blog-article-action.is-voted {
    color: #be185d;
}
.blog-article-action.is-voted .blog-article-action-count {
    color: #db2777;
}
.blog-article-action.is-voted .blog-article-action-icon {
    background: #fce7f3;
    border-color: #f472b6;
    box-shadow: 0 0 0 2px rgba(219, 39, 119, 0.18);
}
.blog-article-action-count {
    margin-left: 0.2rem;
    color: #9ca3af;
    font-size: 0.95rem;
    font-weight: 700;
}
.blog-article-action-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--lide-accent);
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    position: relative;
}
.blog-article-action-icon--img {
    padding: 0;
    overflow: hidden;
}
.blog-article-action-icon--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blog-article-action-icon--heart::before,
.blog-article-action-icon--heart::after {
    content: "";
    position: absolute;
    width: 0.35rem;
    height: 0.55rem;
    border: 1.7px solid #be185d;
    border-bottom: 0;
    border-radius: 0.35rem 0.35rem 0 0;
    top: 0.27rem;
    background: transparent;
}
.blog-article-action-icon--heart::before {
    left: 0.36rem;
    transform: rotate(-35deg);
    transform-origin: bottom right;
}
.blog-article-action-icon--heart::after {
    left: 0.56rem;
    transform: rotate(35deg);
    transform-origin: bottom left;
}
.blog-article-action-icon--cup {
    background: #fce7f3;
    border-color: #f9a8d4;
}
.blog-article-action-icon--cup::before {
    content: "";
    position: absolute;
    width: 0.58rem;
    height: 0.38rem;
    border: 1.7px solid #be185d;
    border-top: 0;
    border-radius: 0 0 0.12rem 0.12rem;
    left: 0.33rem;
    top: 0.46rem;
}
.blog-article-action-icon--cup::after {
    content: "";
    position: absolute;
    width: 0.2rem;
    height: 0.2rem;
    border: 1.7px solid #be185d;
    border-left: 0;
    border-radius: 0 0.2rem 0.2rem 0;
    right: 0.26rem;
    top: 0.5rem;
}
.blog-article-body {
    font-family: var(--lide-serif);
    font-size: 1.08rem;
    line-height: 1.7;
    color: #222;
    white-space: pre-wrap;
}

/* Odstavce + meziodstavcové nadpisy (globální * reset v style.css jinak smaže margin u h2/p) */
.blog-article-body p {
    margin: 0 0 1.25em;
}

.blog-article-body p:last-child {
    margin-bottom: 0;
}

.blog-article-body h1,
.blog-article-body h2,
.blog-article-body h3,
.blog-article-body h4,
.blog-article-body h5 {
    font-family: var(--lide-sans);
    font-weight: 700;
    letter-spacing: 0.01em;
    font-optical-sizing: auto;
}

.blog-article-body h1,
.blog-article-body h2 {
    font-size: 1.375rem;
    line-height: 1.32;
    margin: 2.25rem 0 1.1rem;
}

.blog-article-body h3 {
    font-size: 1.2rem;
    line-height: 1.32;
    margin: 1.85rem 0 0.95rem;
}

.blog-article-body h4,
.blog-article-body h5 {
    font-size: 1.08rem;
    line-height: 1.35;
    margin: 1.5rem 0 0.85rem;
}

.blog-article-body p:has(> strong:only-child),
.blog-article-body p:has(> b:only-child) {
    font-family: var(--lide-sans);
    font-size: 1.375rem;
    line-height: 1.32;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin: 2.25rem 0 1.1rem;
}

.blog-article-body > :first-child,
.blog-article-body h1:first-child,
.blog-article-body h2:first-child,
.blog-article-body h3:first-child,
.blog-article-body h4:first-child,
.blog-article-body h5:first-child {
    margin-top: 0;
}

.blog-article-body strong,
.blog-article-body b {
    font-weight: 700;
}

/* Blok příspěvku uvnitř těla: stejný vzhled jako mimo (bez serif/pre-wrap z článku) */
.blog-article-body .tlupa-contribute-card {
    white-space: normal;
    font-family: var(--lide-sans);
}

.blog-article-body > .tlupa-contribute-card:first-child {
    margin-top: 0;
}

.blog-article-body img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0.85rem 0;
}

/* Vložené video (YouTube / Vimeo) v těle článku */
.blog-article-body .article-embed--video {
    margin: 1.1rem 0;
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 6px 28px rgba(15, 23, 42, 0.14);
}
.blog-article-body .article-embed__ratio {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.blog-article-body .article-embed__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Nahrané video (autorská zóna) */
.blog-article-native-video-wrap {
    margin: 0 0 1.15rem;
    border-radius: 14px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.2);
}
.blog-article-native-video {
    display: block;
    width: 100%;
    max-height: min(72vh, 720px);
    vertical-align: bottom;
}
.lide-author-link--profile,
.lide-author-link--profile .lide-avatar,
.lide-author-link--profile .lide-avatar img {
    cursor: pointer !important;
}
.blog-article-main img[data-lightbox-index] {
    cursor: zoom-in;
}
.blog-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem 1rem 5.2rem;
}
.blog-lightbox.is-open {
    display: flex;
}
.blog-lightbox-image {
    max-width: min(1200px, 96vw);
    max-height: calc(100vh - 8.5rem);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}
.blog-lightbox-controls {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(15, 23, 42, 0.86);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
}
.blog-lightbox-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 999px;
    background: #020617;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
}
.blog-lightbox-count {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    min-width: 3.6rem;
    text-align: center;
    font-family: var(--lide-serif);
}
.blog-article-main .blog-thumb {
    width: min(650px, 100%);
    height: 380px;
    object-fit: cover;
    margin: 0;
}
.blog-article-cover {
    margin: 0 0 0.3rem;
    max-width: min(650px, 100%);
}
.blog-article-cover-meta {
    margin: 0;
    padding: 0.3rem 0 0;
}
.blog-article-cover-caption {
    display: block;
    font-family: var(--lide-sans);
    font-size: 0.8125rem;
    font-weight: 400;
    color: #8a8a8a;
    line-height: 1.4;
}
.blog-article-cover-source {
    display: block;
    margin-top: 0.1rem;
    font-family: var(--lide-sans);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #c2c2c2;
    line-height: 1.25;
}
@media (max-width: 860px) {
    .blog-wrap {
        padding: 0 0.75rem 2.3rem;
    }
    .tlupa-layout {
        grid-template-columns: 1fr;
        gap: 0.95rem;
    }
    .tlupa-side-menu {
        position: static;
        margin-bottom: 0.15rem;
    }
    .tlupa-side-nav {
        padding: 0.45rem;
        border-radius: 10px;
    }
    .tlupa-side-nav-link {
        font-size: 0.95rem;
        padding: 0.56rem 0.62rem;
    }
    .tlupa-side-nav-link-action {
        text-align: center;
    }
    .blog-article-layout {
        grid-template-columns: 1fr;
    }
    .blog-article-main {
        max-width: none;
    }
    .blog-article-side-col {
        position: static;
    }
    .blog-article-side {
        position: static;
        top: auto;
        max-height: none;
        overflow: visible;
        border-left: 0;
        border-top: 1px solid var(--lide-border);
        padding-left: 0;
        padding-top: 1rem;
    }
    .blog-article-ad {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    .blog-article-main .blog-thumb {
        height: auto;
    }
}
@media (max-width: 520px) {
    .blog-wrap {
        padding: 0 0.5rem 1.8rem;
    }

    .blog-topbar-inner {
        padding: 0.8rem 0.75rem;
    }

    .blog-nav {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 1rem;
        padding-bottom: 0.2rem;
    }

    .blog-nav a {
        white-space: nowrap;
    }

    .lide-more-row {
        gap: 0.7rem;
    }

    .lide-more-thumb {
        width: 72px;
        min-width: 72px;
        height: 72px;
    }

    .lide-more-title {
        font-size: 0.98rem;
    }

    .blog-hero-title {
        font-size: clamp(1.3rem, 7vw, 1.65rem);
        line-height: 1.2;
    }

    .blog-article-body {
        font-size: 0.98rem;
        line-height: 1.62;
        overflow-wrap: anywhere;
    }

    .blog-article-body h1,
    .blog-article-body h2,
    .blog-article-body p:has(> strong:only-child),
    .blog-article-body p:has(> b:only-child) {
        font-size: 1.28rem;
        margin: 1.85rem 0 0.95rem;
    }

    .blog-article-actions {
        gap: 0.7rem;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .blog-article-action {
        font-size: 0.98rem;
    }

    .blog-article-action-icon {
        width: 2.2rem;
        height: 2.2rem;
    }

    .blog-article-related-item {
        grid-template-columns: 60px 1fr;
        gap: 0.6rem;
    }

    .blog-article-related-thumb {
        width: 60px;
        height: 60px;
    }

    .tlupa-side-nav-link {
        font-size: 0.92rem;
        line-height: 1.32;
    }
    .tlupa-side-divider {
        margin: 0.35rem 0;
    }
}

/* ---- Diskuse pod článkem ---- */
.tlupa-disk {
    margin-top: 2rem;
    padding: 1.5rem 1.35rem 1.65rem;
    border-radius: 18px;
    background: linear-gradient(165deg, #ffffff 0%, #fafafa 55%, #f4f4f5 100%);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    font-family: var(--lide-sans);
}

.tlupa-disk__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem 1.25rem;
    margin-bottom: 1.1rem;
}

.tlupa-disk__title {
    margin: 0;
    font-size: clamp(1.15rem, 2.8vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.tlupa-disk__meta {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    color: #64748b;
}

.tlupa-disk__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease;
}

.tlupa-disk__btn--primary {
    color: #fff;
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    box-shadow: 0 4px 14px rgba(219, 39, 119, 0.28);
}

.tlupa-disk__btn--primary:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(219, 39, 119, 0.35);
}

.tlupa-disk__btn--ghost {
    color: #334155;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.tlupa-disk__btn--ghost:hover {
    border-color: rgba(219, 39, 119, 0.35);
    color: #be185d;
}

.tlupa-disk__alert {
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.tlupa-disk__alert--error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.tlupa-disk__alert--warn {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid rgba(217, 119, 6, 0.25);
}

.tlupa-disk__hint {
    margin: 0 0 0.85rem;
    font-size: 0.88rem;
}

.tlupa-disk__link {
    color: #db2777;
    font-weight: 600;
    text-decoration: none;
}

.tlupa-disk__link:hover {
    text-decoration: underline;
}

.tlupa-disk__list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.35rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.tlupa-disk__card {
    display: flex;
    gap: 0.85rem;
    padding: 1rem 1.05rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.tlupa-disk__card--bot {
    border-color: rgba(233, 52, 141, 0.22);
    background: linear-gradient(165deg, #fff7fb 0%, #ffffff 55%);
}

.tlupa-disk__avatar--bot {
    color: #fff;
    background: #fff;
    border-color: rgba(219, 39, 119, 0.2);
    padding: 0;
    overflow: hidden;
}

.tlupa-disk__avatar--bot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tlupa-disk__pin {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #be185d;
    background: #fce7f3;
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
}

.tlupa-disk__ad {
    margin-top: 0.85rem;
    min-height: 90px;
}

.tlupa-disk__avatar {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #9d174d;
    background: linear-gradient(145deg, #fce7f3, #fbcfe8);
    border: 1px solid rgba(219, 39, 119, 0.15);
    overflow: hidden;
}

.tlupa-disk__avatar.has-photo {
    padding: 0;
    background: #fff;
}

.tlupa-disk__avatar.has-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tlupa-disk__card-main {
    min-width: 0;
    flex: 1;
}

.tlupa-disk__card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.75rem;
    margin-bottom: 0.4rem;
}

.tlupa-disk__author {
    font-weight: 750;
    font-size: 0.95rem;
    color: #0f172a;
}

.tlupa-disk__time {
    font-size: 0.8rem;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}

.tlupa-disk__body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #334155;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.tlupa-disk__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.tlupa-disk__form {
    margin-top: 1.35rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.tlupa-disk__form[hidden] {
    display: none !important;
}

.tlupa-disk__label {
    display: block;
    font-size: 0.82rem;
    font-weight: 650;
    color: #475569;
    margin-bottom: 0.4rem;
}

.tlupa-disk__label--spaced {
    margin-top: 0.85rem;
}

.tlupa-disk__req {
    color: #db2777;
    font-weight: 800;
}

.tlupa-disk__opt {
    font-weight: 500;
    color: #94a3b8;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.78rem;
}

.tlupa-disk__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.tlupa-disk__input {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.62rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    font-family: inherit;
    font-size: 0.95rem;
    color: #0f172a;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tlupa-disk__input:focus {
    outline: none;
    border-color: rgba(219, 39, 119, 0.45);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.12);
}

.tlupa-disk__textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #0f172a;
    resize: vertical;
    min-height: 5.5rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tlupa-disk__textarea:focus {
    outline: none;
    border-color: rgba(219, 39, 119, 0.45);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.14);
}

.tlupa-disk__form-actions {
    margin-top: 0.75rem;
}

.tlupa-disk__note {
    margin: 0 0 0.9rem;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
}

.tlupa-disk__note strong {
    color: #475569;
    font-weight: 650;
}

.tlupa-disk__logged-note {
    margin: 0 0 1rem;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
}

@media (max-width: 520px) {
    .tlupa-disk {
        padding: 1.2rem 1rem 1.35rem;
        border-radius: 14px;
    }

    .tlupa-disk__head {
        flex-direction: column;
        align-items: stretch;
    }

    .tlupa-disk__btn {
        width: 100%;
        justify-content: center;
    }
}
