/* Widgets zum Einbetten (js/cloud-widgets.js): „Nächstes Turnier“ und „Rangliste“ */
.cWidget { max-width: 560px; margin: 0 auto; padding: 12px; }
.cWidgetEmpty { padding: 22px 8px; text-align: center; }
.cNextCard, .cRankCard { background: var(--card, #fff); border: 1px solid var(--line, #e5e5ec); border-radius: 16px; padding: 18px 18px 16px; box-shadow: var(--shadow, none); }
.cNextCard h2, .cRankCard h2 { margin: 6px 0 4px; font-size: 20px; letter-spacing: -.01em; }
.cNextWhen { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-size: 13px; }
.cNextCount { font-weight: 700; color: var(--ctAccent, var(--accent)); text-transform: uppercase; letter-spacing: .04em; font-size: 12px; }
.cNextMeta { margin: 10px 0 14px; font-size: 14px; }
.cNextCard .btn { margin-top: 4px; background: var(--ctAccent, var(--accent)); border-color: var(--ctAccent, var(--accent)); color: #fff; }
.cNextCard .btn.secondary { background: transparent; color: var(--ctAccent, var(--accent)); }
.cRankList { list-style: none; margin: 10px 0 8px; padding: 0; }
.cRankList li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line, #e5e5ec); font-size: 14.5px; }
.cRankList li:first-child { border-top: 0; }
.cRankPos { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; background: var(--surface, #ededf2); }
.cRankList li:nth-child(-n+3) .cRankPos { background: var(--accent); color: #fff; }
.cRankName { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cRankVal { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; }
.cRankMore { display: inline-block; margin-top: 6px; font-size: 13.5px; }
nav.cLegal.cLegalMini { margin-top: 10px; font-size: 11px; justify-content: center; }

/* Einstellungen → Embeds: Design-Editor mit Vorschau, Statistik (js/cloud-embeds.js) */
.ebDesign { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 860px) { .ebDesign { grid-template-columns: 1fr; } }
.ebRow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
.ebRow > label:first-child { flex: 0 0 120px; font-size: 13px; font-weight: 600; margin: 0; }
.ebRow select, .ebRow input[type=number] { flex: 1 1 140px; min-width: 0; }
.ebColor { display: flex; align-items: center; gap: 8px; flex: 1 1 100%; min-width: 0; max-width: 100%; }
.ebColor input:not([type=color]) { flex: 1 1 auto; min-width: 0; width: auto; max-width: 100%; box-sizing: border-box; }
.ebForm { min-width: 0; }
.ebColor[hidden] { display: none; }
.ebRow input[type=color] { width: 44px; height: 32px; padding: 2px; flex: none; }
.ebChk { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: 13.5px; font-weight: 500; }
.ebActions { margin-top: 14px; }
.ebPreview { position: sticky; top: 12px; }
.ebFrameWrap { border: 1px dashed var(--line, #e5e5ec); border-radius: 14px; padding: 10px; background: repeating-conic-gradient(#f3f3f6 0 25%, #fff 0 50%) 0 0 / 18px 18px; }
.ebFrameWrap iframe { display: block; width: 100%; height: 420px; border: 0; border-radius: 10px; }
.ebKpis { display: flex; gap: 14px; flex-wrap: wrap; margin: 6px 0 10px; }
.ebKpis > div { background: var(--surface-soft, #f4f4f7); border-radius: 12px; padding: 10px 14px; min-width: 150px; }
.ebKpis b { display: block; font-size: 22px; }
.ebKpis span { font-size: 12.5px; color: var(--muted); }
.ebStats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.ebStat { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.ebStat li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid var(--line, #e5e5ec); }
#ebDomains { width: 100%; box-sizing: border-box; }

/* Gespeicherte Embeds (js/embed-widget.js): Eventliste als Liste, Raster oder Zeilen */
.wlWrap { max-width: none; }
.wlHeading { margin: 0 0 var(--ebGap, 12px); font-size: calc(22px * var(--ebTitle, 1)); }
.wlList { display: grid; gap: var(--ebGap, 12px); }
.wlList.wlGrid { grid-template-columns: repeat(var(--wlCols, 2), minmax(0, 1fr)); }
@media (max-width: 640px) { .wlList.wlGrid { grid-template-columns: 1fr; } }
.wlCard { background: var(--card, #fff); border: 1px solid var(--line, #e5e5ec); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow, none); display: flex; flex-direction: column; gap: 6px; }
.wlTitle { margin: 0; font-size: calc(18px * var(--ebTitle, 1)); letter-spacing: -.01em; }
.wlWhen { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.wlUntil { font-weight: 700; color: var(--ctAccent, var(--accent)); text-transform: uppercase; letter-spacing: .04em; font-size: 12px; }
.wlMeta { font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.wlDot { color: var(--muted); }
.wlBtn { align-self: flex-start; margin-top: 6px; background: var(--ctAccent, var(--accent)); border-color: var(--ctAccent, var(--accent)); color: #fff; }
.wlBtn.secondary { background: transparent; color: var(--ctAccent, var(--accent)); }
.wlRows .wlCard { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 6px 16px; padding: 10px 14px; border-radius: 10px; }
.wlRows .wlTitle { flex: 1 1 200px; font-size: calc(16px * var(--ebTitle, 1)); }
.wlRows .wlBtn { margin-top: 0; margin-left: auto; }
.wlEmpty { padding: 18px 6px; text-align: center; }

/* Editor „Meine Embeds“ (js/cloud-embed-editor.js) */
.eeEvents { list-style: decimal; margin: 6px 0 10px; padding-left: 22px; }
.eeEvents li { display: flex; align-items: center; gap: 6px; padding: 4px 0; border-top: 1px solid var(--line, #e5e5ec); font-size: 13.5px; }
.eeEvents li:first-child { border-top: 0; }
.eeFields { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0 12px; }
#eeCss { width: 100%; box-sizing: border-box; font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.ebSavedList li { flex-wrap: wrap; }
