/* SportMyLife — Editorial Magazine & Instagram Collection Styles (v2026113016) */
.world-editorial-magazine {
  --ed-gold: #e6c473;
  --ed-gold-strong: #d4af37;
  --ed-gold-soft: rgba(230, 196, 115, 0.14);
  --ed-bg: rgba(15, 22, 20, 0.9);
  --ed-card: #121a18;
  --ed-card-2: #182320;
  --ed-border: rgba(230, 196, 115, 0.24);
  --ed-ink: #f6f4ec;
  --ed-muted: #a8b6ae;
  --ed-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
  margin: 6px 0 22px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

html[data-theme='light'] .world-editorial-magazine {
  --ed-gold: #9a6f14;
  --ed-gold-strong: #b4841c;
  --ed-gold-soft: rgba(180, 132, 28, 0.12);
  --ed-bg: #faf7ef;
  --ed-card: #ffffff;
  --ed-card-2: #f2ece0;
  --ed-border: rgba(161, 118, 22, 0.28);
  --ed-ink: #161b18;
  --ed-muted: #52615a;
  --ed-shadow: 0 12px 28px rgba(24, 34, 24, 0.08);
}

.world-editorial-magazine *,
.world-editorial-magazine *::before,
.world-editorial-magazine *::after {
  box-sizing: border-box;
}

.sml-ed-shell {
  padding: 24px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 8%, var(--ed-gold-soft), transparent 48%),
    var(--ed-bg);
  border: 1px solid var(--ed-border);
  box-shadow: var(--ed-shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sml-ed-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 18px;
  flex-wrap: wrap;
}

.sml-ed-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.sml-ed-nav-group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 38px;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid var(--ed-border);
  background: var(--ed-card-2);
}

.sml-ed-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--ed-ink);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.16s ease, color 0.16s ease, opacity 0.16s ease;
}

.sml-ed-nav-btn:hover:not(:disabled) {
  background: var(--ed-gold-soft);
  color: var(--ed-gold);
}

.sml-ed-nav-btn:disabled {
  opacity: 0.32;
  cursor: default;
}

.sml-ed-segmented {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 38px;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid var(--ed-border);
  background: var(--ed-card-2);
}

.sml-ed-seg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--ed-muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.sml-ed-seg-btn:hover:not(.is-active) {
  color: var(--ed-ink);
}

.sml-ed-seg-btn.is-active {
  background: linear-gradient(135deg, #d4af37, #f1cf7a);
  color: #12150e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.sml-ed-seg-ico {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.sml-ed-seg-lbl {
  line-height: 1;
}

.sml-ed-eyebrow {
  display: inline-block;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed-gold);
  margin-bottom: 6px;
}

.sml-ed-title {
  margin: 0 0 6px;
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: 30px;
  line-height: 1.15;
  color: var(--ed-ink);
}

.sml-ed-subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ed-muted);
  max-width: 78ch;
}

.sml-ed-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  flex-wrap: wrap;
}

.sml-ed-filter-rail {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.sml-ed-filter-rail::-webkit-scrollbar {
  display: none;
}

.sml-ed-tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  margin-inline-start: auto;
  min-width: 0;
}

.sml-ed-search-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 248px;
  height: 40px;
  max-width: 100%;
  min-width: 0;
}

.sml-ed-search-ico {
  position: absolute;
  inset-inline-start: 12px;
  color: var(--ed-gold);
  pointer-events: none;
  flex-shrink: 0;
}

.sml-ed-search-input {
  width: 100%;
  height: 40px;
  padding-block: 6px;
  padding-inline-start: 34px;
  padding-inline-end: 32px;
  border-radius: 999px;
  border: 1px solid var(--ed-border);
  background: var(--ed-card-2);
  color: var(--ed-ink);
  font-size: 12.5px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.sml-ed-search-input::placeholder {
  color: var(--ed-muted);
  opacity: 0.85;
}

.sml-ed-search-input:focus {
  border-color: var(--ed-gold-strong);
  box-shadow: 0 0 0 3px var(--ed-gold-soft);
}

.sml-ed-search-input::-webkit-search-cancel-button,
.sml-ed-search-input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.sml-ed-search-clear {
  position: absolute;
  inset-inline-end: 6px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ed-muted);
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sml-ed-search-clear[hidden] {
  display: none;
}

.sml-ed-search-clear:hover {
  background: var(--ed-gold-soft);
  color: var(--ed-ink);
}

.sml-ed-random-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--ed-border);
  background: var(--ed-card-2);
  color: var(--ed-ink);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease, opacity 0.16s ease;
}

.sml-ed-random-btn:hover:not(:disabled) {
  border-color: var(--ed-gold-strong);
  background: var(--ed-gold-soft);
  color: var(--ed-gold);
}

.sml-ed-random-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.sml-ed-random-ico {
  color: var(--ed-gold);
  flex-shrink: 0;
}

.sml-ed-stage-body {
  width: 100%;
  min-width: 0;
}

.sml-ed-empty {
  padding: 34px 18px;
  border-radius: 16px;
  border: 1px dashed var(--ed-border);
  background: var(--ed-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.sml-ed-empty-msg {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ed-muted);
  max-width: 52ch;
}

.sml-ed-empty-reset {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--ed-gold-strong);
  background: var(--ed-gold-soft);
  color: var(--ed-ink);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.sml-ed-empty-reset:hover {
  background: linear-gradient(135deg, #d4af37, #f1cf7a);
  color: #12150e;
}

.sml-ed-filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 0 0 auto;
  height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--ed-border);
  background: var(--ed-card-2);
  color: var(--ed-muted);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.sml-ed-filter-pill:hover {
  border-color: var(--ed-gold-strong);
  color: var(--ed-ink);
}

.sml-ed-filter-pill.is-active {
  background: linear-gradient(135deg, #d4af37, #f1cf7a);
  color: #12150e;
  border-color: transparent;
}

.sml-ed-pill-ico {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--ed-gold);
  transition: color 0.16s ease;
}

.sml-ed-filter-pill:hover .sml-ed-pill-ico {
  color: var(--ed-gold-strong);
}

.sml-ed-filter-pill.is-active .sml-ed-pill-ico {
  color: #12150e;
}

.sml-ed-pill-lbl {
  line-height: 1;
}

.sml-ed-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--ed-gold-soft);
  border: 1px solid var(--ed-border);
  color: var(--ed-gold);
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.sml-ed-filter-pill.is-active .sml-ed-pill-count {
  background: rgba(18, 21, 14, 0.16);
  border-color: rgba(18, 21, 14, 0.22);
  color: #12150e;
}

.sml-ed-carousel-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.sml-ed-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px 10px;
  cursor: grab;
  width: 100%;
  min-width: 0;
}

.sml-ed-track::-webkit-scrollbar {
  display: none;
}

.sml-ed-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.sml-ed-track .sml-ed-card {
  flex: 0 0 302px;
  scroll-snap-align: start;
}

.sml-ed-track.is-stories-track .sml-ed-card {
  flex: 0 0 302px;
}

.sml-ed-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1.5px solid rgba(230, 196, 115, 0.72);
  background: rgba(11, 16, 14, 0.84);
  backdrop-filter: blur(8px);
  color: #f6dc93;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  transition: transform 0.16s ease, background-color 0.16s ease, opacity 0.16s ease;
}

html[data-theme='light'] .sml-ed-arrow {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(161, 118, 22, 0.58);
  color: #7c580c;
  box-shadow: 0 8px 20px rgba(24, 34, 24, 0.18);
}

.sml-ed-arrow.is-prev {
  inset-inline-start: 10px;
}

.sml-ed-arrow.is-next {
  inset-inline-end: 10px;
}

.sml-ed-arrow:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.06);
  background: linear-gradient(135deg, #d4af37, #f1cf7a);
  color: #12150e;
  border-color: transparent;
}

.sml-ed-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.sml-ed-progress {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: var(--ed-border);
  overflow: hidden;
  margin-top: 2px;
}

.sml-ed-progress-fill {
  height: 100%;
  width: 18%;
  border-radius: 999px;
  background: linear-gradient(90deg, #d4af37, #f4d685);
  transition: width 0.22s ease;
}

.sml-ed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.sml-ed-grid.is-stories-grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.sml-ed-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ed-card);
  border: 1px solid var(--ed-border);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  min-width: 0;
}

.sml-ed-card:hover {
  transform: translateY(-3px);
  border-color: var(--ed-gold-strong);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.sml-ed-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0c100f;
}

.sml-ed-card.is-story-card .sml-ed-card-media {
  aspect-ratio: 9 / 16;
}

.sml-ed-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.sml-ed-card:hover .sml-ed-card-img {
  transform: scale(1.03);
}

.sml-ed-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.sml-ed-card-badge {
  flex-shrink: 0;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--ed-gold-soft);
  border: 1px solid var(--ed-border);
  color: var(--ed-gold);
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sml-ed-card-body {
  padding: 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
}

.sml-ed-card-sport,
.sml-ed-card-kicker {
  font-size: 11px;
  font-weight: 600;
  color: var(--ed-gold);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.sml-ed-card-title {
  margin: 0;
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: 15px;
  line-height: 1.3;
  color: var(--ed-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sml-ed-card-cta {
  margin-top: auto;
  padding-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ed-gold);
}

.sml-ed-foot {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.sml-ed-toggle-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--ed-gold-strong);
  background: var(--ed-gold-soft);
  color: var(--ed-ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.sml-ed-toggle-btn:hover {
  background: linear-gradient(135deg, #d4af37, #f1cf7a);
  color: #12150e;
}

/* ---------------------------------------------------------------------------
   Editorial Magazine Lightbox Modal (#sml-ed-modal on document.body)
   --------------------------------------------------------------------------- */
#sml-ed-modal {
  --ed-gold: #e6c473;
  --ed-gold-strong: #d4af37;
  --ed-panel: #101715;
  --ed-panel-2: #17211e;
  --ed-border: rgba(230, 196, 115, 0.28);
  --ed-ink: #f6f4ec;
  --ed-muted: #b1beb7;
  position: fixed;
  inset: 0;
  z-index: 4300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
  color: var(--ed-ink);
  font-family: var(--font-sans, 'Inter', sans-serif);
}

#sml-ed-modal.is-open {
  display: flex;
}

html[data-theme='light'] #sml-ed-modal {
  --ed-gold: #9a6f14;
  --ed-gold-strong: #b4841c;
  --ed-panel: #ffffff;
  --ed-panel-2: #f4efe3;
  --ed-border: rgba(161, 118, 22, 0.28);
  --ed-ink: #161b18;
  --ed-muted: #4b5851;
}

#sml-ed-modal *,
#sml-ed-modal *::before,
#sml-ed-modal *::after {
  box-sizing: border-box;
}

#sml-ed-modal .sml-ed-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 7, 0.82);
  backdrop-filter: blur(8px);
}

#sml-ed-modal .sml-ed-dialog {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  max-height: min(90vh, 880px);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: var(--ed-panel);
  border: 1px solid var(--ed-border);
  border-top: 3px solid var(--ed-gold-strong);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

#sml-ed-modal .sml-ed-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  background: var(--ed-panel-2);
  border-bottom: 1px solid var(--ed-border);
  flex-shrink: 0;
}

#sml-ed-modal .sml-ed-modal-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#sml-ed-modal .sml-ed-series-pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.48);
  color: var(--ed-gold);
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
}

#sml-ed-modal .sml-ed-issue-pill {
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  color: var(--ed-muted);
}

#sml-ed-modal .sml-ed-modal-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#sml-ed-modal .sml-ed-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--ed-border);
  background: var(--ed-panel);
  color: var(--ed-ink);
  font-size: 15px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

#sml-ed-modal .sml-ed-icon-btn:hover {
  border-color: var(--ed-gold-strong);
}

#sml-ed-modal .sml-ed-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 20px;
  padding: 18px;
  overflow-y: auto;
  scrollbar-width: thin;
  align-items: start;
}

#sml-ed-modal .sml-ed-modal-layout.is-story {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

#sml-ed-modal .sml-ed-modal-media {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--ed-border);
  background: #080b0a;
}

#sml-ed-modal .sml-ed-modal-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

#sml-ed-modal .sml-ed-modal-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

#sml-ed-modal .sml-ed-sport-tag {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ed-gold);
}

#sml-ed-modal .sml-ed-modal-title {
  margin: 0;
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.2;
  color: var(--ed-ink);
}

#sml-ed-modal .sml-ed-modal-sub {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ed-muted);
}

#sml-ed-modal .sml-ed-modal-story {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--ed-panel-2);
  border: 1px solid var(--ed-border);
}

#sml-ed-modal .sml-ed-modal-story p {
  margin: 0;
  font-size: 14px;
  line-height: 1.62;
  color: var(--ed-ink);
}

#sml-ed-modal .sml-ed-debate-box {
  padding: 12px 14px;
  border-radius: 12px;
  border-inline-start: 3px solid var(--ed-gold-strong);
  background: rgba(212, 175, 55, 0.1);
}

#sml-ed-modal .sml-ed-debate-lbl {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ed-gold);
  margin-bottom: 4px;
}

#sml-ed-modal .sml-ed-debate-box p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ed-ink);
}

#sml-ed-modal .sml-ed-poll-wrap {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#sml-ed-modal .sml-ed-poll-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#sml-ed-modal .sml-ed-poll-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 11px;
  border: 1px solid var(--ed-border);
  background: var(--ed-panel);
  color: var(--ed-ink);
  text-align: start;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.14s ease, box-shadow 0.16s ease;
}

#sml-ed-modal .sml-ed-poll-btn:hover {
  border-color: var(--ed-gold-strong);
  background: var(--ed-panel-2);
  transform: translateY(-1px);
}

#sml-ed-modal .sml-ed-poll-btn.is-selected {
  border-color: var(--ed-gold-strong);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.24), rgba(241, 207, 122, 0.12));
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.42);
}

html[data-theme='light'] #sml-ed-modal .sml-ed-poll-btn.is-selected {
  background: linear-gradient(135deg, rgba(180, 132, 28, 0.18), rgba(230, 196, 115, 0.14));
}

#sml-ed-modal .sml-ed-poll-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
}

#sml-ed-modal .sml-ed-poll-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid var(--ed-border);
  background: var(--ed-panel-2);
  color: var(--ed-gold);
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 700;
  flex-shrink: 0;
}

#sml-ed-modal .sml-ed-poll-btn.is-selected .sml-ed-poll-letter {
  background: linear-gradient(135deg, #d4af37, #f1cf7a);
  color: #12150e;
  border-color: transparent;
}

#sml-ed-modal .sml-ed-poll-badge {
  display: none;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d4af37, #f1cf7a);
  color: #12150e;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

#sml-ed-modal .sml-ed-poll-btn.is-selected .sml-ed-poll-badge {
  display: inline-flex;
}

#sml-ed-modal .sml-ed-poll-text {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ed-ink);
  word-break: break-word;
}

#sml-ed-modal .sml-ed-poll-hint {
  font-size: 11px;
  line-height: 1.35;
  color: var(--ed-muted);
}

#sml-ed-modal .sml-ed-credit {
  font-size: 11.5px;
  color: var(--ed-muted);
}

#sml-ed-modal .sml-ed-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

#sml-ed-modal .sml-ed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  border: 1px solid var(--ed-border);
  background: var(--ed-panel-2);
  color: var(--ed-ink);
}

#sml-ed-modal .sml-ed-btn.is-gold {
  background: linear-gradient(135deg, #d4af37, #f1cf7a);
  color: #12150e;
  border-color: transparent;
}

#sml-ed-modal .sml-ed-btn.is-outline {
  border-color: var(--ed-gold-strong);
  color: var(--ed-gold);
}

#sml-ed-modal .sml-ed-btn.is-copied {
  border-color: #22c55e;
  color: #4ade80;
}

/* Responsive Breakpoints (Zero Overflow down to 320px) */
@media (max-width: 1280px) {
  .sml-ed-track .sml-ed-card,
  .sml-ed-track.is-stories-track .sml-ed-card {
    flex: 0 0 282px;
  }
}

@media (max-width: 960px) {
  .sml-ed-title {
    font-size: 26px;
  }
  .sml-ed-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .sml-ed-filter-rail {
    width: 100%;
    flex: 0 0 auto;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .sml-ed-filter-rail::-webkit-scrollbar {
    display: none;
  }
  .sml-ed-filter-pill {
    flex: 0 0 auto;
    white-space: nowrap;
    height: 38px;
    scroll-snap-align: start;
  }
  .sml-ed-tools {
    width: 100%;
    margin-inline-start: 0;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }
  .sml-ed-search-wrap {
    flex: 1 1 200px;
    width: auto;
    min-width: 0;
  }
  .sml-ed-random-btn {
    flex: 0 0 auto;
  }
  .sml-ed-track .sml-ed-card,
  .sml-ed-track.is-stories-track .sml-ed-card {
    flex: 0 0 264px;
  }
}

@media (max-width: 767px) {
  .sml-ed-search-input {
    font-size: 16px;
  }
}

@media (max-width: 720px) {
  #sml-ed-modal {
    align-items: flex-end;
    padding: 0;
  }
  #sml-ed-modal .sml-ed-dialog {
    width: 100%;
    max-height: 92dvh;
    border-radius: 22px 22px 0 0;
    border-inline: 0;
    border-bottom: 0;
    overscroll-behavior: contain;
  }
  #sml-ed-modal .sml-ed-modal-top {
    padding: 12px 14px;
  }
  #sml-ed-modal .sml-ed-modal-layout,
  #sml-ed-modal .sml-ed-modal-layout.is-story {
    grid-template-columns: minmax(0, 1fr);
    padding: 14px 14px 0;
    gap: 14px;
    overscroll-behavior: contain;
  }
  #sml-ed-modal .sml-ed-modal-img {
    max-height: 44dvh;
  }
  #sml-ed-modal .sml-ed-modal-actions {
    position: sticky;
    bottom: 0;
    z-index: 3;
    margin: 4px -14px 0;
    padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--ed-panel);
    border-top: 1px solid var(--ed-border);
  }
}

@media (max-width: 679px) {
  .sml-ed-shell {
    padding: 15px;
    border-radius: 18px;
  }
  .sml-ed-arrow {
    width: 36px;
    height: 36px;
    font-size: 20px;
    top: 38%;
  }
  .sml-ed-arrow.is-prev {
    inset-inline-start: 6px;
  }
  .sml-ed-arrow.is-next {
    inset-inline-end: 6px;
  }
}

@media (max-width: 639px) {
  .sml-ed-nav-group {
    display: none;
  }
  .sml-ed-controls {
    width: 100%;
  }
  .sml-ed-segmented {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .sml-ed-track .sml-ed-card,
  .sml-ed-track.is-stories-track .sml-ed-card {
    flex: 0 0 min(78vw, 286px);
  }
}

@media (max-width: 560px) {
  .sml-ed-title {
    font-size: 22px;
  }
  .sml-ed-subtitle {
    font-size: 13px;
  }
  .sml-ed-grid,
  .sml-ed-grid.is-stories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .sml-ed-card-title {
    font-size: 14px;
  }
  .sml-ed-card-sport,
  .sml-ed-card-kicker {
    font-size: 11px;
  }
}

@media (max-width: 519px) {
  .sml-ed-arrow {
    display: none;
  }
  #sml-ed-modal .sml-ed-poll-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 380px) {
  .sml-ed-card-body {
    padding: 9px 10px;
  }
  .sml-ed-filter-pill {
    padding: 0 11px;
    font-size: 12px;
    gap: 6px;
  }
  .sml-ed-random-btn {
    padding: 0 11px;
    font-size: 11.5px;
  }
}
