/* css/calendar.css — Calendar general; clasele `post-*` țin de zilele de post,
   care apar doar după ce vizitatorul își alege confesiunea. */

#post-section .container { max-width: 820px; }

/* Fasting levels. Every level that IS a fast shares one warm ramp — red for the strictest,
   through orange, down to yellow for the mildest relaxation — so a fasting day always reads
   as a fasting day at a glance. Green is reserved for the one thing that is NOT a fast
   (harți); a cool colour on a fish day made 6 august look like a free day, which it isn't. */
.post-level-strict { --post-color: #991b1b; --post-bg: rgba(153, 27, 27, 0.18); }
.post-level-post   { --post-color: #c2410c; --post-bg: rgba(194, 65, 12, 0.16); }
.post-level-ulei   { --post-color: #d97706; --post-bg: rgba(217, 119, 6, 0.15); }
.post-level-usor   { --post-color: #ca8a04; --post-bg: rgba(234, 179, 8, 0.16); }
.post-level-harti  { --post-color: #15803d; --post-bg: rgba(21, 128, 61, 0.13); }
/* Neutral calendar: no confession chosen, so no religious colour at all. */
.post-level-nastere { --post-color: #7c3aed; --post-bg: rgba(124, 58, 237, 0.16); }
.post-level-neutru { --post-color: var(--secondary-text-color); --post-bg: transparent; }

/* ─── Alegerea confesiunii ─────────────────────────────────────────────── */
.post-confessions-wrap {
    padding: 0.9rem 1rem;
    border: 1px solid var(--card-border);
    border-radius: 0.8rem;
    background: var(--section-alt-bg);
    margin-bottom: 1.5rem;
    text-align: center;
}
.post-confessions-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.post-confessions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}
.post-confession {
    padding: 0.35rem 0.9rem;
    border: 1px solid var(--card-border);
    border-radius: 999px;
    background: transparent;
    color: var(--text-color);
    font-size: 0.86rem;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.post-confession:hover { border-color: var(--link-color); }
.post-confession.is-active {
    background: var(--table-highlight-bg);
    border-color: var(--link-color);
    font-weight: 700;
}
.post-confession.is-soon {
    opacity: 0.5;
    cursor: default;
    border-style: dashed;
    font-size: 0.8rem;
}
.post-confession-note {
    margin: 0.6rem 0 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--secondary-text-color);
}

/* Plain days on the neutral calendar: weekends get a light tint, nothing more. */
.post-day.is-weekend.post-level-neutru { background: var(--table-highlight-bg); }
.post-day.post-level-neutru { cursor: default; }
.post-day.post-level-neutru:hover { transform: none; border-color: transparent; }

/* ─── Azi ──────────────────────────────────────────────────────────────── */
.post-today {
    padding: 1.4rem 1.25rem;
    border: 1px solid var(--card-border);
    border-left: 6px solid var(--post-color, #6b7280);
    border-radius: 0.9rem;
    background: var(--post-bg, var(--section-alt-bg));
    text-align: center;
    margin-bottom: 0.65rem;
}
.post-today-date {
    margin: 0 0 0.3rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--secondary-text-color);
}
.post-today-verdict {
    margin: 0 0 0.35rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 5vw, 2rem);
    color: var(--post-color, var(--text-color));
}
.post-today-reason { margin: 0; font-size: 0.95rem; }
.post-today-feast {
    margin: 0.5rem 0 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--secondary-text-color);
}
.post-today-still { color: var(--post-color); font-weight: 700; }

/* Which fast we're in, and how far along it. */
.post-today-season {
    margin: 0.5rem 0 0.4rem;
    font-size: 1rem;
}
.post-today-season i { color: var(--post-color); }
.post-season-official {
    display: block;
    font-size: 0.76rem;
    color: var(--secondary-text-color);
    margin-top: 0.1rem;
}
.post-season-progress {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--post-color);
}
.post-progress {
    display: block;
    width: min(100%, 20rem);
    height: 0.4rem;
    margin: 0 auto 0.6rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.25);
    overflow: hidden;
}
.post-progress span {
    display: block;
    height: 100%;
    background: var(--post-color);
    border-radius: 999px;
    transition: width 0.4s ease;
}

/* Fasts covering the month shown in the calendar. */
.post-month-fasts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-bottom: 0.75rem;
}
.post-month-fast {
    display: inline-flex;
    align-items: baseline;
    gap: 0.3rem;
    padding: 0.28rem 0.7rem;
    border: 1px solid rgba(194, 65, 12, 0.45);
    border-radius: 999px;
    background: rgba(194, 65, 12, 0.12);
    font-size: 0.82rem;
    font-weight: 600;
}
.post-month-fast i { color: #c2410c; }
.post-month-fast small { font-weight: 400; color: var(--secondary-text-color); }

.post-detail-season {
    margin: 0.35rem 0 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--post-color);
}
.post-next-fast {
    text-align: center;
    font-size: 0.88rem;
    color: var(--secondary-text-color);
    margin-bottom: 1.75rem;
}

/* ─── Calendar ─────────────────────────────────────────────────────────── */
.post-calendar {
    padding: 1rem;
    border: 1px solid var(--card-border);
    border-radius: 0.9rem;
    background: var(--section-alt-bg);
    margin-bottom: 2rem;
}
.post-calendar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.post-month-label {
    margin: 0;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-align: center;
    flex-grow: 1;
}
.post-nav {
    flex-shrink: 0;
    width: 2.2rem; height: 2.2rem;
    border: 1px solid var(--card-border);
    border-radius: 0.5rem;
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
}
.post-nav:hover { border-color: var(--link-color); background: var(--table-highlight-bg); }
.post-pascha {
    display: inline-block;
    margin-left: 0.6rem;
    font-size: 0.82rem;
    color: var(--secondary-text-color);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.3rem;
}
.post-cell {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0.45rem;
    font-size: 0.9rem;
}
.post-cell-head {
    aspect-ratio: auto;
    padding: 0.3rem 0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary-text-color);
}
.post-cell-empty { background: transparent; }
.post-day {
    position: relative;
    border: 1px solid transparent;
    background: var(--post-bg, transparent);
    color: var(--text-color);
    cursor: pointer;
    transition: transform 0.12s ease, border-color 0.12s ease;
}
.post-day:hover { transform: scale(1.06); border-color: var(--post-color); }
.post-day.is-today {
    border-color: var(--post-color);
    box-shadow: 0 0 0 2px var(--post-color) inset;
    font-weight: 800;
}
.post-day-num { line-height: 1; color: var(--post-color); font-weight: 600; }
.post-level-harti .post-day-num { color: var(--text-color); font-weight: 400; }

/* What's allowed that day, at a glance: 🐟 = fish, 💧 = oil and wine. */
.post-day-mark {
    position: absolute;
    top: 0.22rem;
    left: 0.28rem;
    font-size: 0.6rem;
    opacity: 0.85;
    color: var(--post-color);
}

/* A feast is marked with a violet corner flag + dot, NOT with its own background colour —
   the background always answers the only question that matters: is it a fasting day? */
.post-day-feast {
    position: absolute;
    bottom: 0.22rem;
    width: 0.36rem; height: 0.36rem;
    border-radius: 50%;
    background: #a855f7;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.28);
}
.post-day.has-feast::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    border-width: 0 0.6rem 0.6rem 0;
    border-style: solid;
    border-color: transparent #a855f7 transparent transparent;
    border-top-right-radius: 0.45rem;
}

/* ─── Legend ───────────────────────────────────────────────────────────── */
.post-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: center;
    margin-top: 1rem;
    font-size: 0.78rem;
    color: var(--secondary-text-color);
}
.post-legend span { display: inline-flex; align-items: center; gap: 0.35rem; }
.post-swatch {
    width: 0.85rem; height: 0.85rem;
    border-radius: 0.25rem;
    background: var(--post-bg);
    border: 1px solid var(--post-color);
    display: inline-block;
}
.post-swatch-feast { background: #a855f7; border-color: #a855f7; border-radius: 50%; }
.post-legend-group { font-weight: 700; color: var(--text-color); }
.post-legend-sep { opacity: 0.5; }
.post-legend-note {
    margin: 0.7rem auto 0;
    max-width: 40rem;
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--secondary-text-color);
    text-align: center;
}
.post-legend-icon { font-size: 0.85em; opacity: 0.9; }

/* ─── Day detail ───────────────────────────────────────────────────────── */
.post-detail {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--card-border);
    border-left: 5px solid var(--post-color, #6b7280);
    border-radius: 0.6rem;
    background: var(--post-bg, transparent);
}
.post-detail h3 { margin: 0 0 0.3rem; font-size: 1.05rem; font-weight: 700; }
.post-detail-level { margin: 0 0 0.2rem; font-weight: 700; color: var(--post-color); }
.post-detail-reason { margin: 0; font-size: 0.9rem; }
.post-detail-feast { margin: 0.4rem 0 0; font-size: 0.85rem; color: var(--secondary-text-color); }
.post-detail-note {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--post-color);
}

/* ─── Seasons ──────────────────────────────────────────────────────────── */
.post-section-title {
    font-size: 1.25rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 0.9rem;
}
.post-seasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
    gap: 0.7rem;
    margin-bottom: 2rem;
}
.post-season {
    padding: 0.85rem 1rem;
    border: 1px solid var(--card-border);
    border-radius: 0.7rem;
    background: var(--section-alt-bg);
}
.post-season.is-now {
    border-color: #c2410c;
    background: rgba(194, 65, 12, 0.1);
    box-shadow: 0 0 0 1px rgba(194, 65, 12, 0.35);
}
.post-season h4 { margin: 0 0 0.15rem; font-size: 1rem; font-weight: 700; }
.post-season h4 i { color: #b45309; }
.post-season-now {
    margin-left: 0.5rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: #c2410c;
    color: #fff;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    vertical-align: middle;
}
.post-season-official-name {
    margin: 0 0 0.3rem;
    font-size: 0.76rem;
    color: var(--secondary-text-color);
}
.post-season-range {
    margin: 0 0 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--link-color);
}
.post-season-note { margin: 0; font-size: 0.82rem; color: var(--secondary-text-color); line-height: 1.45; }

/* ─── Info ─────────────────────────────────────────────────────────────── */
.post-info {
    padding: 1rem 1.15rem;
    border: 1px solid var(--card-border);
    border-radius: 0.8rem;
    background: var(--section-alt-bg);
}
.post-info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; }
.post-info ul { margin: 0 0 0.8rem; padding-left: 1.2rem; }
.post-info li { font-size: 0.9rem; line-height: 1.6; }
.post-note {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--secondary-text-color);
    border-top: 1px solid var(--card-border);
    padding-top: 0.7rem;
}

@media (max-width: 575.98px) {
    .post-grid { gap: 0.2rem; }
    .post-cell { font-size: 0.8rem; border-radius: 0.35rem; }
    .post-pascha { display: block; margin: 0.4rem 0 0; }
}

/* ─── Zile de naștere ───────────────────────────────────────────────────── */
.post-birth { padding: 1rem 1.15rem; border: 1px solid var(--card-border); border-radius: 0.8rem; background: var(--section-alt-bg); margin-bottom: 1.4rem; }
.post-birth-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.8rem; }
.post-birth-title i { color: #7c3aed; }
.post-birth-next { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.9rem; }
.post-birth-card { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.55rem 0.8rem; border-radius: 0.6rem; border: 1px solid rgba(124, 58, 237, 0.35); background: rgba(124, 58, 237, 0.10); font-size: 0.82rem; min-width: 9rem; }
.post-birth-card.is-today { border-color: #7c3aed; background: rgba(124, 58, 237, 0.22); }
.post-birth-card span { color: #7c3aed; font-weight: 700; }
.post-birth-card em { color: var(--secondary-text-color); font-style: normal; font-size: 0.76rem; }
.post-birth-form { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.7rem; }
.post-birth-form input, .post-birth-form select { padding: 0.5rem 0.7rem; border-radius: 0.5rem; border: 1px solid var(--card-border); background: var(--section-bg); color: var(--text-color); font-size: 1rem; min-width: 0; }
#post-birth-name { flex: 1 1 11rem; }
#post-birth-day { flex: 0 0 5rem; }
#post-birth-month { flex: 1 1 8rem; }
#post-birth-year { flex: 0 0 8rem; }
.post-birth-btn { padding: 0.5rem 0.95rem; border-radius: 0.5rem; border: 1px solid transparent; background: linear-gradient(135deg, #7c3aed, #4c1d95); color: #fff; font-weight: 700; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.post-birth-btn-ghost { background: transparent; border-color: var(--card-border); color: var(--text-color); }
.post-birth-import { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.6rem; }
.post-birth-import .post-birth-btn { flex: 1 1 12rem; }
.post-birth-paste textarea { width: 100%; padding: 0.6rem 0.8rem; border-radius: 0.5rem; border: 1px solid var(--card-border); background: var(--section-bg); color: var(--text-color); font-size: 0.95rem; margin-bottom: 0.5rem; }
.post-birth-hint { font-size: 0.82rem; line-height: 1.55; color: var(--secondary-text-color); margin-bottom: 0.5rem; }
.post-birth-status { font-size: 0.82rem; color: #7c3aed; min-height: 1.2rem; margin: 0.4rem 0 0.6rem; }
.post-birth-list { list-style: none; padding: 0; margin: 0; }
.post-birth-item { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.55rem 0.2rem; border-bottom: 1px solid var(--card-border); }
.post-birth-item:last-child { border-bottom: 0; }
.post-birth-name { display: block; font-size: 0.95rem; }
.post-birth-date { display: block; font-size: 0.76rem; color: var(--secondary-text-color); }
.post-birth-del { border: 0; background: transparent; color: var(--secondary-text-color); cursor: pointer; width: 2.2rem; height: 2.2rem; border-radius: 50%; flex-shrink: 0; }
.post-birth-empty { font-size: 0.85rem; color: var(--secondary-text-color); padding: 0.8rem; text-align: center; border: 1px dashed var(--card-border); border-radius: 0.6rem; }

.post-birth-marks { display: inline-flex; gap: 0.3rem; margin-top: 0.25rem; }
.post-birth-mark { width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid var(--card-border); background: transparent; color: var(--secondary-text-color); cursor: pointer; font-size: 0.75rem; }
.post-birth-mark.is-on.is-da { border-color: #e11d48; color: #e11d48; background: rgba(225, 29, 72, 0.12); }
.post-birth-mark.is-on.is-nu { border-color: var(--secondary-text-color); color: var(--secondary-text-color); background: var(--table-highlight-bg); }
.post-birth-card.is-unsure { border-style: dashed; opacity: 0.85; }
.post-birth-wish { margin-top: 0.35rem; padding: 0.3rem 0.6rem; border-radius: 0.4rem; border: 1px solid rgba(124, 58, 237, 0.45); background: transparent; color: #7c3aed; font-size: 0.75rem; font-weight: 700; cursor: pointer; }

/* ─── Rugăciuni ─────────────────────────────────────────────────────────── */
.post-pray { padding: 1rem 1.15rem; border: 1px solid var(--card-border); border-radius: 0.8rem; background: var(--section-alt-bg); margin-bottom: 1.4rem; }
.post-pray-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.post-pray-title i { color: #2563eb; }
.post-pray-intro { font-size: 0.85rem; line-height: 1.6; color: var(--secondary-text-color); margin-bottom: 0.8rem; }
.post-pray-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.6rem; }
.post-pray-tab { padding: 0.5rem 0.9rem; border-radius: 999px; border: 1px solid var(--card-border); background: transparent; color: var(--text-color); font-size: 0.88rem; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; }
.post-pray-tab.is-active { border-color: #2563eb; background: rgba(37, 99, 235, 0.13); box-shadow: inset 0 -2px 0 #2563eb; font-weight: 700; }
.post-pray-controls { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }
.post-pray-btn { padding: 0.55rem 1.1rem; border-radius: 0.6rem; border: 1px solid transparent; background: linear-gradient(135deg, #2563eb, #1e3a8a); color: #fff; font-weight: 700; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; }
.post-pray-btn-ghost { background: transparent; border-color: var(--card-border); color: var(--text-color); }
.post-pray-note { font-size: 0.8rem; color: var(--secondary-text-color); margin-bottom: 0.7rem; }
.post-pray-text { max-height: 22rem; overflow-y: auto; padding: 0.8rem 1rem; border-radius: 0.6rem; background: var(--section-bg); border: 1px solid var(--card-border); }
.post-pray-line { margin: 0 0 0.45rem; padding: 0.25rem 0.5rem; border-radius: 0.35rem; font-size: 1rem; line-height: 1.65; transition: background-color 0.2s ease, color 0.2s ease; }
.post-pray-line:last-child { margin-bottom: 0; }
/* rândul care se rostește acum — reperul după care poți spune odată cu vocea */
.post-pray-line.is-now { background: rgba(37, 99, 235, 0.16); color: #1d4ed8; font-weight: 700; }
body.dark-theme .post-pray-line.is-now { color: #93c5fd; }
@media (prefers-reduced-motion: reduce) { .post-pray-line { transition: none; } }

/* ── Tabelul chinezesc: băiat sau fată ─────────────────────────────────────
   Panoul stă ascuns până când e ales calendarul lui, ca și cel cu zilele de
   naștere. */
.post-chinez {
    background: var(--post-panel, rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.25rem 1.25rem 1rem;
    margin-bottom: 1.5rem;
}

.post-chinez-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.post-chinez-intro {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.post-chinez-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.post-chinez-camp {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.post-chinez-camp input {
    /* Sub 1rem, telefonul mărește singur pagina când intri în câmp. */
    font-size: 1rem;
    padding: 0.5rem 0.7rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.25);
    color: inherit;
}

.post-chinez-fel {
    border: 0;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}

.post-chinez-fel legend {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.75;
    margin-bottom: 0.2rem;
    float: none;
    width: auto;
}

.post-chinez-fel label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-right: 0.9rem;
}

.post-chinez-rezultat:empty {
    display: none;
}

.post-chinez-verdict {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.6rem;
    font-weight: 800;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 0.6rem;
}

.post-chinez-verdict.e-baiat {
    background: rgba(56, 132, 255, 0.18);
    color: #7fb2ff;
}

.post-chinez-verdict.e-fata {
    background: rgba(255, 105, 160, 0.18);
    color: #ff9ec4;
}

.post-chinez-socoteala {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem;
    font-size: 0.92rem;
}

.post-chinez-socoteala li {
    padding: 0.15rem 0;
}

.post-chinez-mic,
.post-chinez-rau {
    font-size: 0.88rem;
    opacity: 0.8;
}

.post-chinez-rau {
    color: #ffb4a2;
    opacity: 1;
}

.post-chinez-tabel-wrap {
    margin: 0.75rem 0;
}

.post-chinez-tabel-wrap summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Tabelul întreg e lat de treisprezece coloane: pe telefon îl lăsăm să alunece în
   lateral, în cutia lui, ca pagina să nu se lățească toată. */
.post-chinez-tabel {
    overflow-x: auto;
    margin-top: 0.6rem;
}

.post-chinez-grila {
    border-collapse: collapse;
    font-size: 0.78rem;
    min-width: 30rem;
}

.post-chinez-grila th,
.post-chinez-grila td {
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.2rem 0.4rem;
    text-align: center;
}

.post-chinez-grila thead th,
.post-chinez-grila tbody th {
    background: rgba(255, 255, 255, 0.06);
    font-weight: 700;
}

.post-chinez-grila td.e-baiat {
    background: rgba(56, 132, 255, 0.16);
    color: #9cc5ff;
}

.post-chinez-grila td.e-fata {
    background: rgba(255, 105, 160, 0.16);
    color: #ffb3d1;
}

.post-chinez-avertisment {
    margin-top: 0.75rem;
}

/* Zilele colorate de tabelul chinezesc: albastru pentru băiat, roz pentru fată.
   Se văd doar pe fila lui — celelalte calendare nu dau niciodată nivelurile astea. */
.post-level-baiat { --post-color: #2563eb; --post-bg: rgba(37, 99, 235, 0.16); }
.post-level-fata  { --post-color: #db2777; --post-bg: rgba(219, 39, 119, 0.16); }

/* Lămurirea de sub formular: stă strânsă până o deschizi. */
.post-chinez-lamurire {
    flex-basis: 100%;
    font-size: 0.88rem;
    margin-top: -0.25rem;
}

.post-chinez-lamurire summary {
    cursor: pointer;
    opacity: 0.8;
    font-weight: 600;
}

.post-chinez-lamurire p {
    margin: 0.5rem 0 0;
    opacity: 0.9;
    max-width: 60ch;
}

/* ── Zilele încercate: câți băieți, câte fete ──────────────────────────────── */
.post-chinez-catalog {
    margin: 0.9rem 0;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-chinez-numar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.post-chinez-bulina {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

.post-chinez-bulina.e-baiat { background: rgba(37, 99, 235, 0.18); color: #7fb2ff; }
.post-chinez-bulina.e-fata  { background: rgba(219, 39, 119, 0.18); color: #ff9ec4; }

.post-chinez-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.post-chinez-lista li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.6rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.9rem;
}

.post-chinez-lista li.e-baiat { border-left: 3px solid #2563eb; }
.post-chinez-lista li.e-fata  { border-left: 3px solid #db2777; }

.post-chinez-lista small {
    opacity: 0.65;
    font-size: 0.78rem;
}

/* Butonul de scos împinge restul spre stânga, ca să stea el la capăt. */
.post-chinez-scoate {
    margin-left: auto;
    border: 0;
    background: transparent;
    color: inherit;
    opacity: 0.55;
    cursor: pointer;
    padding: 0.2rem 0.35rem;
    border-radius: 8px;
}

.post-chinez-scoate:hover { opacity: 1; background: rgba(255, 255, 255, 0.08); }
