/* Zahlenzauber – Profilwahl und Avatar erstellen */
/* Profilwahl */
.logo { text-align: center; color: #fff; padding: 26px 0 22px; }
.logo h1 { font-size: clamp(2.6rem, 10vw, 4rem); font-weight: 700; background: linear-gradient(180deg, #fff3b0, var(--gold) 55%, #ff9f43); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0 rgba(120, 60, 0, .55)) drop-shadow(0 10px 24px rgba(255, 180, 60, .35)); }
.logo p { margin: 6px 0 0; color: #d9d2ff; font-weight: 700; font-size: 1.1rem; }
.profilliste { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.profilkarte { background: var(--panel); border-radius: var(--radius); padding: 16px 10px 14px; display: flex; flex-direction: column; align-items: center; gap: 4px; box-shadow: var(--schatten); transition: transform .15s; }
.profilkarte:hover { transform: translateY(-3px); }
.profilkarte .avatar.mini { width: 88px; height: 116px; filter: drop-shadow(0 6px 8px rgba(18,8,60,.18)); }
.profilkarte.neu { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); justify-content: center; }
.profilkarte.neu .pinfo { color: #d9d2ff; }
.plus { font-family: var(--f-display); font-size: 3rem; line-height: 1; height: 116px; display: grid; place-items: center; }
.plus::before { content: "+"; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--gold), var(--gold-d)); color: #5a3d00; box-shadow: inset 0 2px 0 rgba(255,255,255,.4), 0 5px 0 var(--gold-s); }
.plus { font-size: 0; } .plus::before { font-size: 2.6rem; }
.pname { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; }
.pinfo { font-size: .85rem; color: var(--tinte-weich); font-weight: 700; }


/* Erstellen */
.erstellen { display: grid; grid-template-columns: 210px 1fr; gap: 22px; align-items: start; }
@media (max-width: 560px) { .erstellen { grid-template-columns: 1fr; } }
.vorschau { background: radial-gradient(circle at 50% 35%, #fff, #efe9ff 60%, #ddd3ff); border-radius: 20px; display: grid; place-items: center; padding: 12px; box-shadow: inset 0 -6px 0 rgba(142, 91, 234, .12); }
.avatar.gross { width: 176px; height: 240px; filter: drop-shadow(0 10px 12px rgba(18,8,60,.18)); }
.feldgruppe { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.feldgruppe > span { font-weight: 800; font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--tinte-weich); }
.feld { font: inherit; font-size: 1.2rem; font-weight: 700; padding: 12px 16px; border: 2px solid var(--linie); border-radius: 14px; background: var(--panel-2); color: var(--tinte); width: 100%; transition: border-color .15s, background .15s; }
.feld:focus { border-color: var(--blau); background: #fff; outline: none; }
.wahlen { display: flex; flex-wrap: wrap; gap: 10px; }
.wahl { min-width: 46px; height: 46px; border-radius: 14px; background: var(--panel-2); font-weight: 800; padding: 0 12px; box-shadow: inset 0 0 0 2px var(--linie), 0 3px 0 #ddd5f5; transition: transform .1s; }
.wahl.breit { padding: 0 16px; }
.wahl.farbe { width: 46px; padding: 0; border-radius: 50%; box-shadow: inset -4px -5px 0 rgba(0,0,0,.12), inset 3px 3px 0 rgba(255,255,255,.3), 0 3px 8px rgba(18,8,60,.15); }
.wahl.farbe.an { box-shadow: inset -4px -5px 0 rgba(0,0,0,.12), 0 0 0 3px #fff, 0 0 0 6px var(--blau); }
.wahl.an { box-shadow: inset 0 0 0 3px #fff, 0 0 0 3px var(--blau), 0 6px 14px rgba(91,140,255,.35); transform: translateY(-2px); }
.titelzeile { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; color: #fff; }
.titelzeile h2 { font-size: 1.7rem; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.zurueck { background: rgba(255,255,255,.14); color: #fff; font-weight: 800; padding: 8px 14px; border-radius: 12px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* Klassenwahl beim Anlegen ist Pflicht */
.klassenwahl .pflicht { display: none; font-weight: 800; color: var(--rot-d); }
.klassenwahl.fehlt .pflicht { display: block; }
.klassenwahl.fehlt > span { color: var(--rot-d); }

/* Unauffälliger Link unter der Profilliste */
.textlink { display: block; margin: 22px auto 0; background: none; color: rgba(255,255,255,.8); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; padding: 8px 12px; }
.textlink:hover { color: #fff; }
