/* =====================================================================
   EIDOK x EyeNewsBD - feed modules, link cards, reader/player/shorts
   ===================================================================== */
:root {
  --ekn-blue: #1565D8;
  --ekn-blue-soft: rgba(21, 101, 216, .10);
  --ekn-ink: #0B1220;
}
body.night-mode { --ekn-blue: #5B9BFF; --ekn-blue-soft: rgba(91, 155, 255, .14); }

/* ---------- feed module ---------- */
.ekn-li { list-style: none; }
.ekn-mod {
  position: relative;
  margin: 0 0 16px;
  padding: 14px 0 16px;
  background: var(--ek-surface, #fff);
  border: 1px solid var(--ek-line, #E9EBEF);
  border-radius: var(--ek-radius, 18px);
  box-shadow: var(--ek-shadow);
  overflow: hidden;
}
.ekn-mod::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--ekn-blue), #E41E26 60%, #8A2BE2);
}
.ekn-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px 12px; }
.ekn-head-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ekn-logo { width: 38px; height: 38px; border-radius: 12px; background: #fff; object-fit: contain; padding: 2px; border: 1px solid var(--ek-line, #E9EBEF); flex: none; }
.ekn-head-t { min-width: 0; line-height: 1.2; }
.ekn-head-title { display: flex; align-items: center; gap: 8px; }
.ekn-head-title b { font-size: 16px; font-weight: 800; color: var(--ek-text, #0F1419); letter-spacing: -.01em; }
.ekn-live { font-size: 10.5px; font-weight: 800; letter-spacing: .02em; color: var(--ekn-blue); background: var(--ekn-blue-soft); padding: 2px 8px; border-radius: 999px; }
.ekn-head-t small { display: block; color: var(--ek-text-2, #536471); font-size: 12.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ekn-all { flex: none; font-size: 13px; font-weight: 700; color: var(--ekn-blue) !important; padding: 7px 12px; border-radius: 999px; background: var(--ekn-blue-soft); text-decoration: none !important; transition: filter .15s; }
.ekn-all:hover { filter: brightness(.95); }

.ekn-track-wrap { position: relative; }
.ekn-track {
  display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 16px; padding: 2px 16px 4px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.ekn-track::-webkit-scrollbar { display: none; }
.ekn-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ek-line, #E9EBEF);
  background: var(--ek-surface, #fff); color: var(--ek-text, #0F1419);
  display: none; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); cursor: pointer;
}
.ekn-nav svg { width: 18px; height: 18px; }
.ekn-nav--prev { left: 8px; } .ekn-nav--next { right: 8px; }
@media (hover: hover) and (min-width: 768px) {
  .ekn-nav { display: flex; }
  .ekn-track-wrap.at-start .ekn-nav--prev, .ekn-track-wrap.at-end .ekn-nav--next { opacity: 0; pointer-events: none; }
}

/* cards */
.ekn-card { flex: none; scroll-snap-align: start; text-decoration: none !important; color: inherit !important; -webkit-tap-highlight-color: transparent; transition: transform .18s ease; }
.ekn-card:active { transform: scale(.98); }
.ekn-card-img { position: relative; background: var(--ek-surface-2, #F5F6F8) center/cover no-repeat; border-radius: 14px; overflow: hidden; }
.ekn-card-body { padding: 10px 2px 0; }
.ekn-card-title {
  margin: 0; font-size: 14.5px; line-height: 1.45; font-weight: 700; color: var(--ek-text, #0F1419);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: 0;
}
.ekn-card-meta { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 12px; color: var(--ek-text-2, #536471); }
.ekn-card-meta span { display: inline-flex; align-items: center; gap: 4px; }
.ekn-card-meta svg { width: 13px; height: 13px; }
.ekn-by { font-weight: 600; max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ekn-card--news { width: 238px; }
.ekn-card--news .ekn-card-img { aspect-ratio: 16 / 10; }
.ekn-card--video { width: 272px; }
.ekn-card--video .ekn-card-img { aspect-ratio: 16 / 9; }
.ekn-card--video .ekn-card-title { -webkit-line-clamp: 2; }

.ekn-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--ekn-blue-soft); color: var(--ekn-blue); line-height: 1.3; }
.ekn-chip svg { width: 13px; height: 13px; }
.ekn-chip--float { position: absolute; left: 8px; top: 8px; background: rgba(11, 18, 32, .72); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ekn-chip--ai { background: var(--ek-grad, linear-gradient(135deg, #E41E26, #D6246E 52%, #8A2BE2)); color: #fff; }

.ekn-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .92); color: #E41E26; box-shadow: 0 6px 22px rgba(0, 0, 0, .3);
}
.ekn-play svg { width: 20px; height: 20px; margin-left: 3px; }
.ekn-dur { position: absolute; right: 8px; bottom: 8px; font-size: 11.5px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .72); padding: 2px 7px; border-radius: 6px; }

.ekn-card--short {
  position: relative; width: 136px; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden;
  background: #111 center/cover no-repeat; display: flex; flex-direction: column; justify-content: flex-end;
}
.ekn-card--short::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .82)); }
.ekn-short-views { position: absolute; left: 8px; top: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .45); padding: 2px 7px; border-radius: 999px; }
.ekn-short-views svg { width: 11px; height: 11px; }
.ekn-short-cap { position: relative; z-index: 1; margin: 0 9px 10px; color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }

.ekn-card--ai {
  width: 272px; padding: 14px; border-radius: 16px; display: flex; flex-direction: column; gap: 8px;
  background:
    linear-gradient(var(--ek-surface, #fff), var(--ek-surface, #fff)) padding-box,
    var(--ek-grad, linear-gradient(135deg, #E41E26, #D6246E 52%, #8A2BE2)) border-box;
  border: 1.5px solid transparent;
}
.ekn-ai-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ekn-ai-src { font-size: 11.5px; color: var(--ek-text-2, #536471); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ekn-card--ai .ekn-card-title { -webkit-line-clamp: 2; font-size: 15px; }
.ekn-ai-ex { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ek-text-2, #536471); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ekn-ai-go { margin-top: auto; font-size: 13px; font-weight: 800; background: var(--ek-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ghost (loading) */
.ekn-mod--ghost { padding: 16px; }
.ekn-ghost-row { display: flex; gap: 12px; margin-top: 14px; }
.ekn-ghost-row i { flex: none; width: 238px; height: 190px; border-radius: 14px; }
.ekn-sk, .ekn-ghost-row i {
  background: linear-gradient(90deg, var(--ek-surface-2, #F5F6F8) 0%, var(--ek-line, #E9EBEF) 50%, var(--ek-surface-2, #F5F6F8) 100%);
  background-size: 200% 100%; animation: ekn-shimmer 1.2s linear infinite;
}
.ekn-sk-h { width: 55%; height: 38px; border-radius: 12px; }
@keyframes ekn-shimmer { to { background-position: -200% 0; } }

@media (max-width: 575.98px) {
  .ekn-mod { border-radius: 0; border-left: 0; border-right: 0; margin-left: -1px; margin-right: -1px; }
  .ekn-card--news { width: 72vw; max-width: 260px; }
  .ekn-card--video, .ekn-card--ai { width: 80vw; max-width: 300px; }
  .ekn-card--short { width: 34vw; max-width: 140px; }
}

/* ---------- EyeNewsBD link-post card (template) ---------- */
.ekn-post { margin: 10px 15px 0; border: 1px solid var(--ek-line, #E9EBEF); border-radius: 16px; overflow: hidden; background: var(--ek-surface, #fff); }
.ekn-post-media { position: relative; display: block; background: var(--ek-surface-2, #F5F6F8); aspect-ratio: 16 / 9; overflow: hidden; }
.ekn-post-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ekn-post:hover .ekn-post-media img { transform: scale(1.02); }
.ekn-post--short .ekn-post-media { aspect-ratio: 4 / 5; max-height: 520px; background: #000; }
.ekn-post--short .ekn-post-media img { object-fit: contain; }
.ekn-post-kind { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; color: #fff; padding: 4px 10px; border-radius: 999px; background: rgba(11, 18, 32, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ekn-post-kind svg { width: 13px; height: 13px; }
.ekn-post--ai .ekn-post-kind { background: var(--ek-grad); }
.ekn-post-media .ekn-play { width: 60px; height: 60px; }
.ekn-post-media .ekn-play svg { width: 24px; height: 24px; }
.ekn-post-body { padding: 12px 14px 14px; }
.ekn-post-src { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ek-text-2, #536471); font-weight: 600; margin-bottom: 6px; }
.ekn-post-src img { width: 20px; height: 20px; border-radius: 6px; background: #fff; object-fit: contain; border: 1px solid var(--ek-line, #E9EBEF); }
.ekn-post-src b { color: var(--ekn-blue); font-weight: 800; }
.ekn-post-title { display: block; font-size: 16.5px; line-height: 1.45; font-weight: 800; color: var(--ek-text, #0F1419) !important; text-decoration: none !important; letter-spacing: -.005em; }
.ekn-post-text { margin-top: 5px; font-size: 13.5px; line-height: 1.55; color: var(--ek-text-2, #536471); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ekn-post-cta { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.ekn-post-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 800; border: 0; cursor: pointer; text-decoration: none !important;
  background: var(--ek-grad); color: #fff !important; box-shadow: 0 6px 16px rgba(214, 36, 110, .25);
}
.ekn-post-btn svg { width: 16px; height: 16px; }
.ekn-post-btn--ghost { background: var(--ek-surface-2, #F5F6F8); color: var(--ek-text, #0F1419) !important; box-shadow: none; }
.ekn-post-host { margin-left: auto; font-size: 12px; color: var(--ek-text-2, #536471); }

/* ---------- viewer ---------- */
body.ekn-lock { overflow: hidden; }
.ekn-viewer {
  position: fixed; inset: 0; z-index: 2000; display: flex; justify-content: center; align-items: flex-end;
  background: rgba(8, 10, 16, .55); opacity: 0; transition: opacity .22s ease;
}
.ekn-viewer.show { opacity: 1; }
.ekn-panel {
  position: relative; width: 100%; max-width: 720px; height: 100%; background: var(--ek-surface, #fff); color: var(--ek-text, #0F1419);
  display: flex; flex-direction: column; overflow: hidden; transform: translateY(24px); transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
.ekn-viewer.show .ekn-panel { transform: none; }
@media (min-width: 768px) {
  .ekn-viewer { align-items: center; padding: 24px; }
  .ekn-panel { height: auto; max-height: calc(100vh - 48px); border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
}
.ekn-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--ek-line, #E9EBEF); flex: none; background: var(--ek-surface, #fff); }
.ekn-x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ek-surface-2, #F5F6F8); color: var(--ek-text, #0F1419); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ekn-x svg { width: 20px; height: 20px; }
.ekn-bar-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.ekn-bar-brand img { width: 28px; height: 28px; border-radius: 8px; background: #fff; object-fit: contain; border: 1px solid var(--ek-line, #E9EBEF); }

.ekn-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 0 0 20px; -webkit-overflow-scrolling: touch; }
.ekn-hero { aspect-ratio: 16 / 9; background: var(--ek-surface-2, #F5F6F8); overflow: hidden; }
.ekn-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ekn-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 20px 0; }
.ekn-time { font-size: 12.5px; color: var(--ek-text-2, #536471); }
.ekn-title { margin: 10px 20px 0; font-size: 23px; line-height: 1.4; font-weight: 800; letter-spacing: -.01em; }
.ekn-title--sm { font-size: 18px; }
.ekn-text { padding: 8px 20px 0; }
.ekn-text p { margin: 12px 0 0; font-size: 16.5px; line-height: 1.8; color: var(--ek-text, #0F1419); }
.ekn-text p.ekn-lead { font-weight: 600; }
.ekn-readmore {
  display: flex; align-items: center; gap: 12px; margin: 22px 20px 0; padding: 12px 14px; border-radius: 16px;
  background: var(--ekn-blue-soft); color: var(--ek-text, #0F1419) !important; text-decoration: none !important;
}
.ekn-readmore img { width: 36px; height: 36px; border-radius: 10px; background: #fff; object-fit: contain; }
.ekn-readmore span { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.ekn-readmore small { color: var(--ek-text-2, #536471); font-size: 12.5px; }
.ekn-readmore svg { width: 18px; height: 18px; color: var(--ekn-blue); }
.ekn-err { padding: 40px 20px; text-align: center; color: var(--ek-text-2, #536471); }

.ekn-actions { flex: none; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ek-line, #E9EBEF); background: var(--ek-surface, #fff); }
.ekn-act {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 44px; border-radius: 14px; border: 0; cursor: pointer;
  font-size: 14px; font-weight: 800; background: var(--ek-surface-2, #F5F6F8); color: var(--ek-text, #0F1419) !important; text-decoration: none !important;
}
.ekn-act svg { width: 18px; height: 18px; }
.ekn-act--primary { background: var(--ek-grad); color: #fff !important; box-shadow: 0 8px 20px rgba(214, 36, 110, .28); }
.ekn-act--icon { flex: 0 0 44px; }

/* skeleton in viewer */
.ekn-skel { padding: 0 0 20px; }
.ekn-sk-hero { aspect-ratio: 16 / 9; }
.ekn-sk-l { height: 22px; margin: 16px 20px 0; border-radius: 8px; }
.ekn-sk-s { height: 22px; width: 50%; margin: 10px 20px 0; border-radius: 8px; }
.ekn-sk-p { height: 14px; margin: 18px 20px 0; border-radius: 6px; }

/* video */
.ekn-stage { flex: none; background: #000; aspect-ratio: 16 / 9; }
.ekn-stage video { width: 100%; height: 100%; display: block; background: #000; }
.ekn-body--video { flex: 0 1 auto; padding-bottom: 14px; }
.ekn-author { display: flex; align-items: center; gap: 8px; margin: 12px 20px 0; font-size: 13.5px; font-weight: 700; }
.ekn-av { width: 30px; height: 30px; border-radius: 50%; background: var(--ek-surface-2, #F5F6F8) center/cover no-repeat; flex: none; }

/* shorts viewer */
.ekn-viewer--shorts { background: #000; }
.ekn-viewer--shorts .ekn-panel { background: #000; color: #fff; max-width: 480px; height: 100%; max-height: none; border-radius: 0; }
@media (min-width: 768px) { .ekn-viewer--shorts { padding: 0; } .ekn-viewer--shorts .ekn-panel { height: 100vh; } }
.ekn-viewer--shorts .ekn-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 3; border: 0; background: linear-gradient(rgba(0, 0, 0, .55), transparent); padding-top: calc(10px + env(safe-area-inset-top)); }
.ekn-viewer--shorts .ekn-x { background: rgba(255, 255, 255, .16); color: #fff; }
.ekn-viewer--shorts .ekn-bar-brand { color: #fff; }
.ekn-shorts { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.ekn-shorts::-webkit-scrollbar { display: none; }
.ekn-short { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; background: #000; }
.ekn-short video { width: 100%; height: 100%; object-fit: contain; }
.ekn-short-tap { position: absolute; inset: 0; background: transparent; border: 0; z-index: 1; }
.ekn-short-pi { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.8); width: 72px; height: 72px; border-radius: 50%; background: rgba(0, 0, 0, .45); display: flex; align-items: center; justify-content: center; opacity: 0; transition: .2s; pointer-events: none; z-index: 2; }
.ekn-short-pi svg { width: 30px; height: 30px; margin-left: 4px; color: #fff; }
.ekn-short.paused .ekn-short-pi { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ekn-short-info { position: absolute; left: 0; right: 72px; bottom: 0; z-index: 2; padding: 60px 16px calc(22px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(0, 0, 0, .7)); pointer-events: none; }
.ekn-short-info .ekn-author { margin: 0 0 8px; color: #fff; }
.ekn-short-title { margin: 0; font-size: 15px; line-height: 1.5; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ekn-short-side { position: absolute; right: 8px; bottom: calc(26px + env(safe-area-inset-bottom)); z-index: 2; display: flex; flex-direction: column; gap: 16px; }
.ekn-sbtn { display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: 0; color: #fff; font-size: 11.5px; font-weight: 700; cursor: pointer; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.ekn-sbtn svg { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

@media (prefers-reduced-motion: reduce) {
  .ekn-viewer, .ekn-panel, .ekn-card, .ekn-post-media img { transition: none !important; }
  .ekn-sk, .ekn-ghost-row i { animation: none; }
}

/* ---------- share-to-Eidok page (share.tpl) ---------- */
.ek-share-page { padding: 20px 12px 40px; }
.ek-share-wrap { max-width: 640px; margin: 0 auto; }
.ek-share-hero {
  position: relative; text-align: center; padding: 26px 20px 20px; margin-bottom: 14px; overflow: hidden;
  background: var(--ek-surface, #fff); border: 1px solid var(--ek-line, #E9EBEF); border-radius: 22px; box-shadow: var(--ek-shadow);
}
.ek-share-hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 110px; background: var(--ek-grad-soft, linear-gradient(135deg, rgba(228, 30, 38, .12), rgba(138, 43, 226, .12))); pointer-events: none; }
.ek-share-marks { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; }
.ek-share-mark { width: 60px; height: 60px; border-radius: 18px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(228, 30, 38, .22); border: 1px solid var(--ek-line, #E9EBEF); }
.ek-share-mark img { width: 42px; height: 42px; object-fit: contain; }
.ek-share-mark--src { box-shadow: 0 10px 26px rgba(21, 101, 216, .18); }
.ek-share-arrow { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ek-grad); color: #fff; }
.ek-share-arrow svg { width: 16px; height: 16px; }
.ek-share-title { position: relative; margin: 14px 0 4px; font-size: 22px; font-weight: 800; }
.ek-share-sub { position: relative; margin: 0 auto; max-width: 440px; color: var(--ek-text-2, #536471); font-size: 14px; line-height: 1.6; }
.ek-share-seg { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 18px; padding: 5px; border-radius: 16px; background: var(--ek-surface-2, #F5F6F8); }
.ek-share-seg label { flex: 1 1 0; min-width: 110px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 42px; margin: 0; border-radius: 12px; font-size: 13.5px; font-weight: 700; color: var(--ek-text-2, #536471); cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.ek-share-seg label svg { width: 17px; height: 17px; }
.ek-share-seg input:checked + label { background: var(--ek-surface, #fff); color: var(--ek-text, #0F1419); box-shadow: 0 2px 8px rgba(16, 24, 40, .10); }
.ek-share-seg input:checked + label svg { color: var(--ek-brand, #E41E26); }
.ek-share-seg input:focus-visible + label { outline: 2px solid var(--ek-brand, #E41E26); outline-offset: 2px; }
.ek-share-pick { display: flex; gap: 8px; margin-top: 12px; }
.ek-share-pick .form-select { flex: 1; height: 44px; border-radius: 12px; }
.ek-share-pick .btn { border-radius: 12px; padding: 0 18px; }
.ek-share-publisher .publisher, .ek-share-publisher > .card { border-radius: 22px !important; }
.ek-share-publisher .publisher-scraper .post-media { border-radius: 16px; overflow: hidden; border: 1px solid var(--ek-line, #E9EBEF); margin-top: 6px; }
.ek-share-publisher .publisher-scraper .post-media-image { display: block; max-height: 300px; overflow: hidden; }
.ek-share-publisher .publisher-scraper .post-media-image img { width: 100%; max-height: 300px; object-fit: cover; }
.ek-share-publisher .publisher-scraper .post-media-meta { padding: 12px 14px; }
.ek-share-publisher .publisher-scraper .post-media-meta .title { font-weight: 800; font-size: 15.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ek-share-publisher .publisher-scraper .post-media-meta .text { font-size: 13px; color: var(--ek-text-2, #536471); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ek-share-done { text-align: center; padding: 36px 20px 28px; background: var(--ek-surface, #fff); border: 1px solid var(--ek-line, #E9EBEF); border-radius: 22px; box-shadow: var(--ek-shadow); animation: ekn-pop .35s cubic-bezier(.2, .9, .3, 1.2); }
.ek-share-check { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; background: var(--ek-grad); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(214, 36, 110, .35); }
.ek-share-check svg { width: 34px; height: 34px; }
.ek-share-done h2 { font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.ek-share-done p { color: var(--ek-text-2, #536471); margin: 0 0 18px; }
.ek-share-done-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ek-share-done-actions .btn { border-radius: 999px; padding: 10px 18px; font-weight: 700; }
@keyframes ekn-pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@media (max-width: 575.98px) {
  .ek-share-page { padding: 12px 0 30px; }
  .ek-share-hero, .ek-share-done { border-radius: 0; border-left: 0; border-right: 0; }
  .ek-share-seg label { min-width: 0; }
  .ek-share-seg label span { white-space: nowrap; }
}
.ek-share-pick.x-hidden { display: none !important; }
body.ekn-lock #PWAInstallBanner, body.ekn-lock .ek-bottom-bar, body.ekn-lock .ek-bnav { display: none !important; }
.ekn-mod { padding-bottom: 12px; }
body.ek-share-body .publisher-overlay { display: none !important; }
