/* Campaign landing: لفّ ليبيا مع بيلا */
.lf-hero { position: relative; overflow: hidden; color: var(--milk); background:
  radial-gradient(90% 70% at 85% 10%, rgba(255, 209, 102, .28), rgba(255, 209, 102, 0) 60%),
  linear-gradient(160deg, var(--red) 0%, var(--red-deep) 100%); }
.lf-hero__in { display: grid; gap: 28px; align-items: center; padding-block: clamp(32px, 6vw, 72px) clamp(40px, 6vw, 80px); }
@media (min-width: 960px) { .lf-hero__in { grid-template-columns: 1fr 1.05fr; } }
.lf-hero__copy { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.lf-status { padding: .3em .9em; border-radius: 999px; background: rgba(255, 255, 255, .16); font-weight: 700; font-size: .95rem; }
.lf-status--open { background: #ffd166; color: var(--cocoa); }
.lf-title { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.7rem, 1.6rem + 5vw, 5.6rem); line-height: 1.02; text-wrap: balance; }
[dir="rtl"] .lf-title { line-height: 1.2; }
.lf-title span { font-size: .5em; vertical-align: .4em; }
.lf-tagline { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.35rem, 1rem + 1.4vw, 2.1rem); color: #ffd166; }
.lf-lede { margin: 0; max-width: 40ch; font-size: 1.15rem; color: rgba(255, 247, 242, .92); }
.lf-ctas { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-block: 8px; }
.lf-play { font-size: 1.25rem; padding-inline: 2em; }
.lf-link { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.lf-count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding: 12px 18px; border-radius: 16px; background: rgba(0, 0, 0, .18); }
.lf-count__label { font-weight: 700; inline-size: 100%; }
.lf-count__n b { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; color: #ffd166; font-variant-numeric: tabular-nums; }
.lf-dates, .lf-free { margin: 0; color: rgba(255, 247, 242, .82); font-size: .98rem; }
.lf-hero__map { position: relative; margin: 0; min-width: 0; }
.lf-map { display: block; inline-size: 100%; block-size: auto; overflow: hidden; }
.lf-map__nb { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .12); }
.lf-map__land { fill: #f3c98f; stroke: #ffd9a3; stroke-width: 2; }
.lf-map__route { fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: lf-draw 1.1s ease-out forwards; animation-delay: calc(.4s + var(--d) * .35s); }
@keyframes lf-draw { to { stroke-dashoffset: 0; } }
.lf-map__pin circle { fill: var(--milk); stroke: var(--red); stroke-width: 3; }
.lf-map__pin text { font: 800 13px var(--f-display); fill: var(--red); }
.lf-map__pin .lf-map__label { font-size: 17px; fill: var(--cocoa); paint-order: stroke; stroke: #f3c98f; stroke-width: 5px; }
.lf-family { position: absolute; inset-inline: 6%; bottom: -6%; display: flex; justify-content: center; align-items: flex-end; pointer-events: none; }
.lf-family img { inline-size: 18%; block-size: auto; margin-inline: -1%; filter: drop-shadow(0 10px 12px rgba(40, 8, 8, .4)); animation: lf-hop .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.2s + var(--i) * .12s); }
@keyframes lf-hop { from { transform: translateY(30%); opacity: 0; } 60% { transform: translateY(-6%); opacity: 1; } }

.lf-h2 { margin: 0 0 20px; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); line-height: 1.1; color: var(--red); text-wrap: balance; }
.lf-how, .lf-score, .lf-cities, .lf-prizes, .lf-board, .lf-rules, .lf-faq { padding-block: clamp(48px, 7vw, 96px); }
.lf-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.lf-steps li { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 22px; background: var(--milk); box-shadow: inset 0 0 0 1.5px var(--line); }
.lf-steps__n { display: grid; place-items: center; inline-size: 48px; block-size: 48px; border-radius: 50%; background: var(--red); color: var(--milk); font: 800 1.4rem var(--f-display); }
.lf-steps h3 { margin: 0; font-family: var(--f-display); font-size: 1.3rem; }
.lf-steps p { margin: 0; color: var(--ink-soft); }

.lf-score { background: var(--cream); }
.lf-score__in { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .lf-score__in { grid-template-columns: 1fr 1.1fr; } }
.lf-score__lede { font-size: 1.15rem; max-width: 42ch; }
.lf-score__note { color: var(--ink-soft); }
.lf-sheet { inline-size: 100%; border-collapse: collapse; background: var(--milk); border-radius: 18px; overflow: hidden; box-shadow: 0 18px 30px -24px rgba(43, 18, 14, .5); }
.lf-sheet th, .lf-sheet td { padding: 14px 18px; text-align: start; border-block-end: 1px dashed var(--line); }
.lf-sheet th { font-weight: 600; }
.lf-sheet td { font: 800 1.5rem var(--f-display); color: var(--red); white-space: nowrap; text-align: end; }
.lf-sheet td small { font: 600 .85rem var(--f-body); color: var(--ink-soft); }
.lf-sheet tfoot th, .lf-sheet tfoot td { background: #fff3ea; }
.lf-sheet .is-total th, .lf-sheet .is-total td { background: var(--red); color: var(--milk); border: 0; }
.lf-sheet .is-total td { color: #ffd166; font-size: 2rem; }

.lf-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.lf-card { position: relative; display: grid; border-radius: 22px; overflow: hidden; background: var(--milk); box-shadow: inset 0 0 0 1.5px var(--line); }
.lf-card__art { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 560 / 200; background: var(--cream); }
.lf-card__body { padding: 16px 18px 20px; padding-inline-end: 96px; }
.lf-card h3 { margin: 0 0 6px; font-family: var(--f-display); font-size: 1.45rem; }
.lf-card__n { display: inline-grid; place-items: center; inline-size: 32px; block-size: 32px; border-radius: 50%; background: var(--red); color: var(--milk); font-size: 1rem; vertical-align: .15em; }
.lf-card p { margin: 0; color: var(--ink-soft); }
.lf-card__obj { margin-block-start: 6px !important; font-weight: 700; color: var(--cocoa) !important; }
.lf-card__hero { position: absolute; inset-inline-end: 12px; bottom: 12px; inline-size: 78px; block-size: auto; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .2)); }

.lf-prizes { background: var(--cream); }
.lf-pending { padding: 18px 22px; border-radius: 18px; background: var(--milk); font-size: 1.1rem; font-weight: 600; max-width: 60ch; }
.lf-prize-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.lf-prize { display: grid; gap: 6px; padding: 16px; border-radius: 18px; background: var(--milk); }
.lf-prize img { inline-size: 100%; aspect-ratio: 1; object-fit: contain; }
.lf-prize h3 { margin: 0; font-family: var(--f-display); }
.lf-prize p { margin: 0; color: var(--ink-soft); }

.lf-board__count { color: var(--ink-soft); margin-block: -10px 18px; }
.lf-boards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); margin-block-end: 16px; }
.lf-boards__col h3 { margin: 0 0 10px; font-family: var(--f-display); font-size: 1.3rem; }
.lf-boards__col h3 small { font-family: var(--f-body); font-size: .85rem; color: var(--ink-soft); font-weight: 500; }
.lf-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lf-rank li { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--milk); box-shadow: inset 0 0 0 1px var(--line); }
.lf-rank li.is-me { box-shadow: inset 0 0 0 2px var(--red); }
.lf-rank__n { display: grid; place-items: center; inline-size: 30px; block-size: 30px; border-radius: 50%; background: var(--cream); font: 800 .95rem var(--f-display); }
.lf-rank li:nth-child(-n+3) .lf-rank__n { background: #ffd166; }
.lf-rank__who { display: grid; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.lf-rank__who small { font-weight: 500; color: var(--ink-soft); }
.lf-rank b { font: 800 1.2rem var(--f-display); color: var(--red); }
.lf-empty { padding: 16px; border-radius: 12px; background: var(--cream); color: var(--ink-soft); }
.lf-board .lf-link, .lf-rules .lf-link, .lf-faq .lf-link { color: var(--red); }

.lf-rules { background: var(--sugar); }
.lf-rules__in { max-width: 900px; }
.lf-draft { padding: 12px 16px; border-radius: 12px; background: #fdf0d8; color: #5d3800; font-weight: 700; }
.lf-rules__list { display: grid; gap: 10px; padding-inline-start: 1.4em; }
.lf-rules__list li::marker { color: var(--red); font-weight: 800; }
.lf-tiebreak { margin-block: 20px; padding: 18px 22px; border-radius: 18px; background: var(--cream); }
.lf-tiebreak h3 { margin: 0 0 8px; font-family: var(--f-display); }
.lf-tiebreak ol { margin: 0; padding-inline-start: 1.3em; display: grid; gap: 4px; }

.lf-faq { background: var(--cream); }
.lf-faq__in { max-width: 900px; }
.lf-qs { display: grid; gap: 8px; }
.lf-qs details { padding: 14px 18px; border-radius: 14px; background: var(--milk); }
.lf-qs summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; }
.lf-qs p { margin: 10px 0 0; color: var(--ink-soft); }

.lf-final { background: linear-gradient(160deg, var(--red), var(--red-deep)); color: var(--milk); }
.lf-final__in { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; padding-block: 48px; }
.lf-final .lf-h2 { color: var(--milk); margin: 0; }

@media (prefers-reduced-motion: reduce) { .lf-map__route { animation: none; stroke-dashoffset: 0; } .lf-family img { animation: none; } }
