/* GG MAG (server/mag.js): Übersicht und Artikel als eigene Seiten (Suchmaschinen, AdSense). Gleiche Optik wie das GG MAG im
   neuen Hub (web/next/mag.css): Nachtschwarz, Neko-Grün für Knöpfe, Gold nur für Hinweise. Schriften aus /fonts/fonts.css. */
:root { --bg: #0f0c09; --card: #231d17; --card2: #2a241c; --card3: #1b1712; --ink: #fff6e8; --muted: rgba(255, 240, 218, .7); --line: rgba(255, 196, 0, .14);
  --green: #18c37e; --green-hi: #2ad892; --green-lo: #129e63; --green-ink: #052817; --green-edge: #0b7a4b; --gold: #ffd54a; --warm: #c9b393;
  --gut: clamp(16px, 3.2vw, 56px); --max: 1760px; color-scheme: dark; }
* { box-sizing: border-box; }
html { background: var(--bg); scrollbar-width: thin; scrollbar-color: var(--green) #17130f; }
body.mag { margin: 0; background: var(--bg); color: var(--ink); font: 500 17px/1.6 "Nunito", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--green); }
h1, h2, h3 { font-family: "Fredoka", "Nunito", sans-serif; font-weight: 700; line-height: 1.12; letter-spacing: -.01em; }
img { max-width: 100%; display: block; }
/* Knöpfe, Fragen, Felder in der Seitenschrift (sonst Systemschrift des Browsers) */
button, summary, input, select, textarea { font: inherit; }

/* Lesebalken: dünne Leiste unten am Kopf. Mit Skript (web/mag/mag.js, Klasse js) folgt er dem Artikeltext, sonst
   CSS-Scroll-Animation über die Seite. Die Lesezeit steht einmal oben im Artikel (keine zweite „noch x Min.“-Pille). */
.mag-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0); background: var(--green); box-shadow: 0 0 10px rgba(24, 195, 126, .65); }
@supports (animation-timeline: scroll()) { .mag-progress:not(.js) { animation: mag-read linear both; animation-timeline: scroll(root); } }
@keyframes mag-read { to { transform: scaleX(1); } }
/* Lesezeit-Pille (Karten und Artikelkopf): bis 3 Min. „Schnell gelesen“ (grün), ab 8 Min. „Ausführlich“ (hell) */
.mag-rtime { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 5px 0 10px; border-radius: 999px; font: 800 13px/1 "Nunito", sans-serif; color: var(--ink); white-space: nowrap; background: rgba(255, 240, 218, .09); box-shadow: inset 0 0 0 1px rgba(255, 240, 218, .14); }
.mag-rtime:not(.is-quick):not(.is-long) { padding-right: 12px; }
.mag-rtime .mag-clock { flex: none; color: var(--green); }
body.mag .mag-rtime b { font: 900 1em/1 "Nunito", sans-serif; color: inherit; }
.mag-rtime em { font-style: normal; font-weight: 900; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; background: rgba(255, 240, 218, .88); color: #14130f; }
.mag-rtime.is-quick { background: rgba(24, 195, 126, .14); box-shadow: inset 0 0 0 1px rgba(24, 195, 126, .45); }
.mag-rtime.is-quick em { background: var(--green); color: var(--green-ink); }
.mag-rtime.big { height: 40px; padding-left: 13px; font-size: 16px; gap: 8px; }
.mag-rtime.big:not(.is-quick):not(.is-long) { padding-right: 16px; }
.mag-rtime.big .mag-clock { width: 19px; height: 19px; }
.mag-rtime.big em { font-size: 12px; padding: 7px 11px; }

/* Kopf */
.mag-top { position: sticky; top: 0; z-index: 40; background: rgba(13, 12, 9, .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 -1px 0 rgba(255, 196, 0, .1); }
.mag-top-in { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; max-width: var(--max); margin: 0 auto; padding: 14px var(--gut); }
.mag-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 20px "Fredoka", sans-serif; }
.mag-brand b, .mag-foot-brand b { color: var(--green); font-weight: 700; }
.mag-nav { display: flex; gap: 2px; flex-wrap: wrap; padding: 4px; border-radius: 999px; background: rgba(20, 19, 15, .7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 0 1px var(--line); }
.mag-nav a { display: flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; color: rgba(255, 240, 218, .75); text-decoration: none; font-weight: 800; font-size: 15px; }
.mag-nav a.on { background: rgba(255, 240, 218, .14); color: var(--ink); }
/* Konto rechts im Kopf (gleiche Stelle auf Übersicht und Artikel): Gäste „Anmelden“, Konten Profilbild + GG-Coins */
.mag-acct { margin-left: auto; display: flex; align-items: center; }
.mag-signin { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 14px; color: var(--ink); text-decoration: none; font-weight: 900; font-size: 15px; background: rgba(255, 240, 218, .08); box-shadow: inset 0 0 0 1px rgba(255, 240, 218, .18); white-space: nowrap; }
.mag-signin:hover { background: rgba(255, 240, 218, .14); }
.mag-me { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.mag-gg { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 8px; border-radius: 999px; font-weight: 900; font-size: 15px; font-variant-numeric: tabular-nums; background: rgba(255, 196, 0, .1); box-shadow: inset 0 0 0 1px rgba(255, 196, 0, .3); }
.mag-coin { width: 20px; height: 20px; background: url(/brand/icons/aktiv/gg-punkte.png) center / contain no-repeat; }
.mag-av { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: var(--card2); box-shadow: 0 0 0 2px rgba(255, 240, 218, .18); }
.mag-av img { width: 100%; height: 100%; object-fit: cover; }
.mag-ini { font: 700 18px "Fredoka", sans-serif; color: var(--ink); }

.mag-main { max-width: var(--max); margin: 0 auto; padding: 8px var(--gut) 72px; }
.mag-kicker { display: inline-block; color: var(--green); font: 900 12px "Nunito", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.mag-head { position: relative; padding: 32px 0 24px; }
.mag-head::before { content: ""; position: absolute; left: -10%; right: -10%; top: -160px; height: 520px; pointer-events: none; z-index: -1; background: radial-gradient(ellipse 40% 60% at 20% 30%, rgba(24, 195, 126, .18), rgba(24, 195, 126, 0) 70%), radial-gradient(ellipse 30% 50% at 85% 20%, rgba(255, 196, 0, .1), rgba(255, 196, 0, 0) 70%); }
.mag-head h1 { font-size: clamp(40px, 5.4vw, 88px); line-height: .98; margin: 10px 0 12px; }
.mag-lead { color: rgba(255, 240, 218, .78); font-size: 20px; max-width: 62ch; margin: 0 0 18px; }
.mag-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0 26px; }
.mag-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; text-decoration: none; color: rgba(255, 240, 218, .82); font-weight: 800; background: rgba(255, 240, 218, .07); box-shadow: inset 0 0 0 1px rgba(255, 240, 218, .1); }
.mag-chips a.on { background: var(--ink); color: #14130f; }

/* Aufmacher + Neu im GG MAG */
.mag-feature { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); gap: 24px; }
.mag-leadcard { position: relative; display: block; min-height: 500px; border-radius: 30px; overflow: hidden; color: var(--ink); text-decoration: none; box-shadow: 0 0 0 1px rgba(255, 196, 0, .16), 0 30px 70px rgba(0, 0, 0, .55); }
.mag-leadcard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mag-leadfade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 12, 9, 0) 28%, rgba(13, 12, 9, .96) 100%), linear-gradient(90deg, rgba(13, 12, 9, .5), rgba(13, 12, 9, 0) 60%); }
.mag-leadin { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.mag-leadtags { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mag-leadtags em { font: 900 11px "Nunito", sans-serif; font-style: normal; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--green); color: var(--green-ink); }
.mag-leadtags i, .mag-siderow i { font: 900 12px "Nunito", sans-serif; font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.mag-leadin b { font: 700 clamp(28px, 3.4vw, 50px)/1.04 "Fredoka", sans-serif; }
.mag-leadin small { font-size: 18px; color: rgba(255, 240, 218, .84); max-width: 62ch; }
.mag-side { display: flex; flex-direction: column; gap: 12px; }
.mag-side h2 { margin: 4px 4px 0; font-size: 26px; }
.mag-siderow { flex: 1; display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 22px; color: var(--ink); text-decoration: none; background: linear-gradient(180deg, var(--card2), var(--card3)); box-shadow: 0 0 0 1px rgba(255, 196, 0, .1); }
.mag-siderow > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.mag-siderow b { font: 700 17px/1.25 "Fredoka", sans-serif; }
.mag-siden { width: 32px; flex: none; text-align: center; font: 700 36px/1 "Fredoka", sans-serif; color: rgba(255, 240, 218, .22); }
.mag-siderow:first-of-type .mag-siden { color: var(--gold); }
.mag-thumb { position: relative; flex: none; width: 128px; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #2e2b24; }
.mag-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Nur ein Artikel: ein breiter Aufmacher statt einer einzelnen Karte im leeren Raster (Bild links, Text rechts) */
.mag-solo { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); border-radius: 30px; overflow: hidden; color: var(--ink); text-decoration: none; background: linear-gradient(180deg, var(--card2), var(--card3)); box-shadow: 0 0 0 1px rgba(255, 196, 0, .16), 0 30px 70px rgba(0, 0, 0, .5); }
.mag-solo:hover { box-shadow: 0 0 0 1.5px rgba(255, 196, 0, .5), 0 30px 70px rgba(0, 0, 0, .55); }
.mag-solo-img { position: relative; aspect-ratio: 16 / 9; background: #2e2b24; }
.mag-solo-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mag-solo-in { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(24px, 3vw, 48px); }
.mag-solo-in b { font: 700 clamp(28px, 2.8vw, 46px)/1.06 "Fredoka", sans-serif; }
.mag-solo-in small { font-size: 18px; line-height: 1.55; color: rgba(255, 240, 218, .82); max-width: 62ch; }
.mag-solo .mag-cmeta { margin-top: 4px; }

/* Karten */
.mag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
.mag-card { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, var(--card2), var(--card3)); box-shadow: 0 0 0 1px var(--line), 0 18px 44px rgba(0, 0, 0, .35); color: var(--ink); text-decoration: none; }
.mag-card:hover { box-shadow: 0 0 0 1.5px rgba(255, 196, 0, .5), 0 26px 60px rgba(0, 0, 0, .55); }
.mag-img { position: relative; aspect-ratio: 16 / 9; background: #2e2b24; }
.mag-img img { width: 100%; height: 100%; object-fit: cover; }
.mag-img em { position: absolute; left: 14px; top: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(13, 12, 9, .78); font: 900 11px "Nunito", sans-serif; font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.mag-ct { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.mag-ct b { font: 700 23px/1.18 "Fredoka", sans-serif; }
.mag-ct small { color: var(--muted); font-size: 15px; font-weight: 700; }
.mag-cmeta { margin-top: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mag-cmeta i { font-style: normal; color: rgba(255, 240, 218, .6); font-size: 14px; font-weight: 800; }
.mag-leadin .mag-cmeta { margin-top: 2px; }
.mag-leadin .mag-rtime { background: rgba(13, 12, 9, .72); }
.mag-leadin .mag-rtime.is-quick { background: rgba(13, 12, 9, .72); }
.mag-siderow .mag-rtime { align-self: flex-start; height: 24px; padding: 0 9px 0 7px; font-size: 12px; gap: 5px; }
.mag-siderow .mag-rtime .mag-clock { width: 13px; height: 13px; }
.mag-emptybox { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 48px 24px; border-radius: 24px; background: linear-gradient(180deg, var(--card2), var(--card3)); box-shadow: 0 0 0 1px var(--line); }
.mag-emptybox b { font: 700 30px "Fredoka", sans-serif; }
.mag-emptybox p { margin: 0; color: var(--muted); max-width: 520px; font-weight: 700; }
.mag-empty { color: var(--muted); }
.mag-cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 36px; margin-top: 56px; border-radius: 24px; background: radial-gradient(ellipse 50% 120% at 100% 50%, rgba(24, 195, 126, .26), rgba(24, 195, 126, 0) 70%), linear-gradient(180deg, var(--card2), var(--card3)); box-shadow: 0 0 0 1px rgba(24, 195, 126, .3); }
.mag-cta > span { flex: 1 1 340px; display: flex; flex-direction: column; gap: 8px; }
.mag-cta b { font: 700 32px/1.15 "Fredoka", sans-serif; }
.mag-cta small { color: var(--muted); font-size: 17px; font-weight: 700; max-width: 62ch; }

/* Artikel */
.mag-article { max-width: var(--max); margin: 0 auto; }
.mag-art-head { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; }
.mag-crumb { font-size: 14px; font-weight: 800; color: var(--muted); }
.mag-art-tags { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mag-crumb a { color: rgba(255, 240, 218, .82); text-decoration: none; }
.mag-article h1 { font-size: clamp(34px, 4.6vw, 76px); line-height: 1.02; margin: 0; max-width: 1240px; }
.mag-art-head .mag-lead { font-size: 21px; max-width: 62ch; margin: 0; }
.mag-meta { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.mag-meta img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.mag-meta span { display: flex; flex-direction: column; }
.mag-meta small { color: var(--muted); font-size: 14px; }
.mag-hero { margin-top: 12px; border-radius: 30px; overflow: hidden; aspect-ratio: 21 / 9; box-shadow: 0 0 0 1px var(--line), 0 30px 70px rgba(0, 0, 0, .55); }
.mag-hero img { width: 100%; height: 100%; object-fit: cover; }
.mag-cols { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 640px) minmax(300px, 1fr); gap: clamp(28px, 3vw, 64px); align-items: start; padding-top: 44px; }
.mag-left, .mag-right { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.mag-left { justify-self: end; width: 100%; max-width: 340px; }
.mag-right { width: 100%; max-width: 400px; }
.mag-toc summary { list-style: none; cursor: pointer; margin-bottom: 8px; color: var(--warm); font: 900 12px "Nunito", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.mag-toc summary::-webkit-details-marker { display: none; }
.mag-toc nav { display: flex; flex-direction: column; gap: 2px; }
.mag-toc a { padding: 9px 12px; border-radius: 12px; font-weight: 800; font-size: 15px; color: var(--muted); text-decoration: none; }
.mag-toc a:hover { color: var(--ink); background: rgba(24, 195, 126, .1); }
.mag-author { padding: 18px; border-radius: 22px; background: linear-gradient(180deg, var(--card2), var(--card3)); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; }
.mag-author small { color: var(--warm); font: 900 12px "Nunito", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.mag-author span { display: flex; align-items: center; gap: 12px; }
.mag-author img { width: 48px; height: 48px; border-radius: 14px; }
.mag-author b { font: 700 18px "Fredoka", sans-serif; }
.mag-sgame { border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, var(--card2), var(--card3)); box-shadow: 0 0 0 1px var(--line); }
.mag-sgame-img { position: relative; display: block; aspect-ratio: 16 / 9; }
.mag-sgame-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mag-sgame-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 12, 9, 0) 40%, var(--card2)); }
.mag-sgame-in { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 0 20px 20px; margin-top: -34px; }
.mag-sgame-ic { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 0 0 3px var(--card2); }
.mag-sgame-in b, .mag-cta-s b { font: 700 22px "Fredoka", sans-serif; }
.mag-sgame-in small { color: var(--muted); font-weight: 700; font-size: 15px; }
.mag-smore { padding: 18px; border-radius: 22px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(180deg, var(--card2), var(--card3)); box-shadow: 0 0 0 1px var(--line); }
.mag-smore > b { font: 700 20px "Fredoka", sans-serif; }
.mag-smore a { display: flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; }
.mag-smore a .mag-thumb { width: 104px; }
.mag-smore a > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.mag-smore a b { font: 700 15px/1.25 "Fredoka", sans-serif; }
.mag-smore .mag-rtime { align-self: flex-start; height: 24px; padding: 0 9px 0 7px; font-size: 12px; gap: 5px; }

.mag-body { font-size: 19px; line-height: 1.7; color: rgba(255, 240, 218, .9); min-width: 0; overflow-wrap: break-word; }
.mag-body h2 { font-size: 32px; line-height: 1.15; margin: 2.1em 0 .6em; color: var(--ink); scroll-margin-top: 92px; }
.mag-body h3 { font-size: 24px; line-height: 1.2; margin: 1.6em 0 .5em; color: var(--ink); }
.mag-body > :first-child { margin-top: 0; }
.mag-body p { margin: 0 0 1.15em; }
.mag-body strong { color: var(--ink); }
.mag-body figure { margin: 8px 0 28px; }
.mag-body figure img, .mag-body video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; box-shadow: 0 0 0 1px var(--line); background: #000; }
.mag-body figcaption { color: var(--muted); font-size: 14px; font-weight: 700; margin-top: 10px; }
.mag-steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 12px; }
.mag-steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 70px; border-radius: 18px; background: rgba(255, 240, 218, .04); box-shadow: inset 0 0 0 1px rgba(255, 240, 218, .07); }
.mag-steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 38px; height: 38px; border-radius: 12px; background: rgba(24, 195, 126, .16); color: var(--green); font: 700 18px/38px "Fredoka", sans-serif; text-align: center; }
.mag-tip { margin: 0 0 24px; padding: 22px 22px 22px 84px; position: relative; border-radius: 22px; background: linear-gradient(100deg, rgba(255, 196, 0, .12), rgba(255, 196, 0, .03)); box-shadow: inset 0 0 0 1px rgba(255, 196, 0, .3); }
.mag-tip::before { content: ""; position: absolute; left: 20px; top: 20px; width: 48px; height: 48px; border-radius: 14px; background: #ffc400 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a2a00' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7V17h8v-2.3A7 7 0 0 0 12 2z'/%3E%3C/svg%3E") center / 22px no-repeat; }
.mag-tip b { font: 700 19px "Fredoka", sans-serif; color: var(--gold); }
.mag-tip p { margin: 4px 0 0; font-size: 17px; line-height: 1.6; }
blockquote { margin: 0 0 24px; padding: 6px 0 6px 22px; border-left: 4px solid var(--green); font: 600 24px/1.45 "Fredoka", sans-serif; color: var(--ink); }
blockquote p { margin: 0; }
blockquote cite { display: block; margin-top: 8px; font: 800 14px "Nunito", sans-serif; font-style: normal; color: var(--muted); }
.mag-body hr { border: 0; height: 1px; background: rgba(255, 240, 218, .12); margin: 34px 0; }
.mag-faq details { margin: 0 0 10px; border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.mag-faq details[open] { box-shadow: 0 0 0 1.5px rgba(24, 195, 126, .5); }
.mag-faq summary { cursor: pointer; padding: 18px 20px; font-weight: 800; font-size: 18px; color: var(--ink); }
.mag-faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 17px; }
.mag-yt { position: relative; display: block; border-radius: 22px; overflow: hidden; }
.mag-yt span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 14px 22px; border-radius: 999px; background: var(--green); color: var(--green-ink); font-weight: 900; box-shadow: 0 5px 0 var(--green-edge); white-space: nowrap; }
.mag-game { display: flex; align-items: center; gap: 16px 18px; flex-wrap: wrap; margin: 8px 0 28px; padding: 18px; border-radius: 24px; background: linear-gradient(100deg, rgba(24, 195, 126, .2), rgba(24, 195, 126, .04) 70%), var(--card); box-shadow: 0 0 0 1.5px rgba(24, 195, 126, .45); }
.mag-game-top { flex: 1 1 240px; display: flex; align-items: center; gap: 16px; color: var(--ink); text-decoration: none; }
.mag-game-top img { width: 72px; height: 72px; border-radius: 20px; object-fit: cover; }
.mag-game-top span { display: flex; flex-direction: column; line-height: 1.3; }
.mag-game b { font: 700 24px/1.15 "Fredoka", sans-serif; }
.mag-game small { color: var(--muted); font-size: 15px; font-weight: 700; }
.mag-btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.mag-store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px 0 14px; border-radius: 14px; background: #fff; color: #14130f; text-decoration: none; box-shadow: 0 4px 0 rgba(0, 0, 0, .35), 0 12px 28px rgba(0, 0, 0, .35); }
.mag-store span { display: flex; flex-direction: column; line-height: 1.05; }
.mag-store small { font: 800 10px "Nunito", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #3c3a36; }
.mag-store b { font: 700 17px "Fredoka", sans-serif; }
.mag-store svg { flex: none; }
/* Ende des Artikels: Spiel zum Artikel bzw. „Selbst ausprobieren“ */
.mag-end { display: flex; align-items: center; gap: 20px 24px; flex-wrap: wrap; margin: 40px 0 0; padding: 26px; border-radius: 26px; background: radial-gradient(ellipse 60% 120% at 100% 50%, rgba(24, 195, 126, .24), rgba(24, 195, 126, 0) 70%), linear-gradient(180deg, var(--card2), var(--card3)); box-shadow: 0 0 0 1.5px rgba(24, 195, 126, .4), 0 24px 60px rgba(0, 0, 0, .4); line-height: 1.4; }
.mag-end-pad { flex: none; width: 96px; height: 96px; }
.mag-end-t { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; }
.mag-end-t b { font: 700 26px/1.15 "Fredoka", sans-serif; color: var(--ink); }
.mag-end-t small { color: var(--muted); font-size: 16px; font-weight: 700; }
.mag-end-game { padding: 0; overflow: hidden; align-items: stretch; gap: 0; }
.mag-end-img { position: relative; flex: 1 1 260px; min-height: 180px; display: block; }
.mag-end-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mag-end-in { flex: 1.3 1 320px; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 24px; }
.mag-end-head { display: flex; align-items: center; gap: 14px; }
.mag-end-head img { flex: none; width: 64px; height: 64px; border-radius: 18px; object-fit: cover; box-shadow: 0 0 0 3px var(--card2); }
.mag-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 16px; background: var(--green); color: var(--green-ink); font-weight: 900; text-decoration: none; box-shadow: 0 5px 0 var(--green-edge), 0 18px 40px rgba(24, 195, 126, .3); white-space: nowrap; }
.mag-btn.ghost { background: rgba(255, 240, 218, .08); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 240, 218, .14); }
.mag-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 36px 0 0; padding-top: 24px; line-height: 1.4; box-shadow: inset 0 1px 0 rgba(255, 240, 218, .08); }
.mag-tags span { padding: 5px 14px; border-radius: 999px; background: rgba(255, 240, 218, .08); font-size: 14px; font-weight: 800; color: var(--muted); }
.mag-more { margin-top: 56px; }
.mag-more h2 { font-size: clamp(30px, 3vw, 42px); }
/* Werbeflächen: leer = unsichtbar (solange keine Werbung geschaltet ist) */
.mag-ad:empty { display: none; }
.mag-ad { margin: 26px 0; min-height: 100px; }

/* Fußzeile */
.mag-foot { background: #0a0907; box-shadow: inset 0 1px 0 rgba(255, 196, 0, .12); }
.mag-foot-in { max-width: var(--max); margin: 0 auto; padding: 48px var(--gut) 28px; display: flex; flex-wrap: wrap; gap: 28px 48px; }
.mag-foot-brand { flex: 2 1 260px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; font: 700 20px "Fredoka", sans-serif; }
.mag-foot-brand img { width: 40px; height: 40px; }
.mag-dc { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 14px; background: rgba(255, 240, 218, .08); color: var(--ink); font: 900 15px "Nunito", sans-serif; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(255, 240, 218, .18); }
.mag-foot-h { color: var(--warm); font: 900 12px "Nunito", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.mag-foot nav { flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px; }
.mag-foot nav a { color: rgba(255, 240, 218, .72); text-decoration: none; font-weight: 700; }
.mag-copy { max-width: var(--max); margin: 0 auto; padding: 18px var(--gut) 28px; color: rgba(255, 240, 218, .5); font-size: 14px; font-weight: 700; box-shadow: inset 0 1px 0 rgba(255, 240, 218, .06); }

/* Mittlere Breite: Inhalt links, Text rechts; die Spalte rechts entfällt (das Spiel steht am Ende des Artikels) */
@media (max-width: 1180px) {
  .mag-cols { grid-template-columns: minmax(200px, 250px) minmax(0, 640px); justify-content: center; }
  .mag-right { display: none; }
}
/* Tablet (z. B. iPad 820 px): eine Spalte, Inhaltsverzeichnis als aufklappbarer Kasten über dem Text */
@media (max-width: 999px) {
  .mag-cols { grid-template-columns: minmax(0, 610px); gap: 20px; padding-top: 26px; }
  .mag-left { position: static; max-width: none; justify-self: stretch; }
  .mag-toc { border-radius: 16px; padding: 12px 14px; background: rgba(255, 240, 218, .04); box-shadow: inset 0 0 0 1px rgba(255, 240, 218, .08); }
  .mag-toc summary { margin: 0; display: flex; align-items: center; justify-content: space-between; min-height: 28px; }
  .mag-toc summary::after { content: "+"; font-size: 18px; color: var(--green); }
  .mag-toc[open] summary { margin-bottom: 8px; }
  .mag-toc[open] summary::after { content: "–"; }
  .mag-author { display: none; }
  .mag-body { font-size: 18px; }
}
@media (max-width: 760px) {
  body.mag { font-size: 16px; }
  .mag-top-in { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .mag-nav { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .mag-nav::-webkit-scrollbar { display: none; }
  .mag-nav a { flex: 1 0 auto; justify-content: center; min-height: 44px; padding: 0 11px; font-size: 14px; white-space: nowrap; }
  .mag-nav.is-scroll { -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); }
  .mag-acct { order: 2; }
  .mag-signin { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .mag-solo { grid-template-columns: 1fr; border-radius: 22px; }
  .mag-solo-in { padding: 18px; gap: 10px; }
  .mag-solo-in b { font-size: 24px; }
  .mag-solo-in small { font-size: 16px; }
  .mag-head { padding: 18px 0 8px; }
  .mag-head h1 { font-size: 34px; }
  .mag-lead { font-size: 16px; }
  .mag-feature { grid-template-columns: 1fr; gap: 14px; }
  .mag-leadcard { min-height: 0; aspect-ratio: 16 / 9; border-radius: 22px; }
  .mag-leadin { padding: 16px; gap: 6px; }
  .mag-leadin b { font-size: 22px; }
  .mag-leadin small { display: none; }
  .mag-side h2 { font-size: 20px; }
  .mag-siderow { padding: 8px; gap: 10px; border-radius: 16px; }
  .mag-siden { display: none; }
  .mag-thumb { width: 112px; }
  .mag-chips { flex-wrap: nowrap; overflow-x: auto; margin: 18px calc(-1 * var(--gut)); padding: 0 var(--gut); scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .mag-chips a { white-space: nowrap; min-height: 44px; }
  .mag-grid { grid-template-columns: 1fr; gap: 12px; }
  .mag-cta { padding: 20px; gap: 14px; margin-top: 32px; }
  .mag-cta b { font-size: 22px; }
  .mag-cta img { width: 72px; height: 72px; }
  .mag-article h1 { font-size: 30px; }
  .mag-crumb { display: none; }
  .mag-art-head .mag-lead { font-size: 17px; }
  .mag-hero { aspect-ratio: 16 / 9; border-radius: 0; margin: 4px calc(-1 * var(--gut)) 0; }
  .mag-cols { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 18px; }
  .mag-body { font-size: 17px; line-height: 1.7; }
  .mag-body h2 { font-size: 25px; }
  .mag-body h3 { font-size: 21px; }
  .mag-game { padding: 14px; gap: 12px; }
  .mag-game-top img { width: 56px; height: 56px; }
  .mag-game b { font-size: 19px; }
  .mag-btns > * { flex: 1 1 auto; }
  .mag-end .mag-btns { flex: 1 1 100%; }
  .mag-end { padding: 20px; margin-top: 32px; }
  .mag-end-game { padding: 0; }
  .mag-end-pad { width: 64px; height: 64px; }
  .mag-end-t b { font-size: 21px; }
  .mag-end-img { flex-basis: 100%; min-height: 0; aspect-ratio: 16 / 9; }
  .mag-end-in { padding: 18px; gap: 14px; }
  .mag-end-head img { width: 52px; height: 52px; border-radius: 14px; }
  .mag-rtime.big { height: 36px; font-size: 15px; }
  .mag-tip { padding: 16px 16px 16px 70px; }
  .mag-tip::before { left: 14px; top: 16px; width: 40px; height: 40px; }
}

/* Warm & bunt wie der Hub (25.10.2026): farbige Lichtschimmer statt flachem Schwarz */
body.mag { background-image: radial-gradient(1100px 720px at 8% -8%, rgba(24, 195, 126, .13), rgba(24, 195, 126, 0) 62%), radial-gradient(900px 760px at 104% 26%, rgba(255, 196, 0, .09), rgba(255, 196, 0, 0) 60%), radial-gradient(1000px 800px at -6% 70%, rgba(255, 138, 40, .07), rgba(255, 138, 40, 0) 60%), radial-gradient(900px 700px at 96% 100%, rgba(27, 184, 176, .08), rgba(27, 184, 176, 0) 60%); background-repeat: no-repeat; }
