/* cloud-traum · Zufall & Entscheiden */
.zf > .about { margin-bottom: 16px; }
.zf__shared { padding: 16px 18px; margin-bottom: 16px; border-color: var(--c-brand); background: var(--c-brand-soft); }
.zf__shared[hidden] { display: none; }
.zf__shared p { margin: 0; }
.zf__sharedtxt { font-family: var(--f-head); font-weight: 700; font-size: 1.2rem; margin: 4px 0 !important; overflow-wrap: anywhere; }
.zf__panel { padding: clamp(16px, 3vw, 24px); display: flex; flex-direction: column; gap: 14px; }
.zf__panel[hidden] { display: none; }
.zf__panel .seg__opts label { min-width: 64px; }
.zf__go { align-self: flex-start; min-width: 180px; }
.zf-share { align-self: flex-start; }
.zf-share[hidden] { display: none; }
.zf__out { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; min-height: 90px; }
.zf__die { width: 80px; height: 80px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--c-surface); border: 2px solid var(--c-brand); color: var(--c-brand); font-family: var(--f-head); font-weight: 700; font-size: 2.2rem; box-shadow: var(--shadow); }
.zf__die--pip { font-size: 4.6rem; line-height: 1; border: 0; background: transparent; box-shadow: none; width: auto; }
.zf__out.is-roll .zf__die { animation: zf-roll .5s cubic-bezier(.2,.8,.3,1.2); }
@keyframes zf-roll { 0% { transform: rotate(-200deg) scale(.4); opacity: 0; } }
.zf__sum { font-family: var(--f-head); font-weight: 700; font-size: 1.4rem; margin-left: 8px; }
.zf__hist { margin: 0; font-size: 14px; color: var(--c-muted); }
.zf__hist:empty { display: none; }
.zf__coin { width: 150px; height: 150px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 35% 30%, #fde68a, #d97706); color: #5b3a00; font-family: var(--f-head); font-weight: 700; font-size: 1.6rem; box-shadow: inset 0 0 0 6px rgba(255,255,255,.35), var(--shadow); }
.zf__coin[data-side='t'] { background: radial-gradient(circle at 35% 30%, #e5e7eb, #9ca3af); color: #1f2937; }
.zf__coin.is-flip { animation: zf-flip .7s ease-out; }
@keyframes zf-flip { 0% { transform: rotateY(0) translateY(0); } 50% { transform: rotateY(900deg) translateY(-40px); } 100% { transform: rotateY(1800deg); } }
.zf__list { margin: 0; padding-left: 1.6em; display: grid; gap: 6px; font-size: 1.1rem; }
.zf__list:empty { display: none; }
.zf__item { font-weight: 600; animation: zf-in .35s ease-out both; }
@keyframes zf-in { from { opacity: 0; transform: translateY(6px); } }
.zf__msg { margin: 0; font-weight: 600; color: var(--c-coral); }
.zf__msg:empty { display: none; }
.zf__wheelgrid { display: grid; gap: 18px; align-items: start; }
@media (min-width: 800px) { .zf__wheelgrid { grid-template-columns: 1fr 1.2fr; } }
.zf__wheelbox { position: relative; max-width: 420px; width: 100%; justify-self: center; }
.zf__wheelbox canvas { width: 100%; height: auto; display: block; }
.zf__pointer { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); font-size: 34px; color: var(--c-text); z-index: 1; text-shadow: 0 2px 4px rgba(0,0,0,.25); }
.zf__big { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.4rem, 4vw, 2rem); overflow-wrap: anywhere; }
.zf__big:empty { display: none; }
.zf__teams { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.zf__team { border: 1px solid var(--c-line); border-radius: 12px; padding: 12px 14px; background: var(--c-bg); animation: zf-in .35s ease-out both; }
.zf__team ul { margin: 6px 0 0; padding-left: 1.2em; }
.zf__teamhead { margin: 0; font-weight: 700; color: var(--c-brand); }
.zf__numgrid { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (prefers-reduced-motion: reduce) { .zf__out.is-roll .zf__die, .zf__coin.is-flip, .zf__item, .zf__team { animation: none; } }
