/* ═══════════════════════════════════════════
   ASTROMANTIE MONDKALENDER
   Nutzt Theme CSS-Variablen
   ═══════════════════════════════════════════ */

.astro-mondkalender {
    font-family: 'Inter', sans-serif;
    color: var(--astro-text);
}

/* ── Header ── */
.mk-header {
    text-align: center;
    margin-bottom: 28px;
}
.mk-title {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--astro-gold);
    letter-spacing: 1px;
    font-variant: small-caps;
    margin: 0 0 8px;
}
.astro-light-theme .mk-title { color: #a07c2a; }
.mk-subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}
.astro-light-theme .mk-subtitle { color: #6b5d4f; }

/* ── Grid ── */
.mk-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
@media (min-width: 768px) {
    .mk-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ── Cards ── */
.mk-card {
    background: var(--astro-card-bg);
    border: 1px solid var(--astro-card-border);
    border-radius: 14px;
    padding: 20px 18px;
    backdrop-filter: blur(16px);
    margin-bottom: 16px;
}
@media (min-width: 768px) {
    .mk-card { padding: 24px; }
}
.mk-card-center { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* ── Labels ── */
.mk-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.astro-light-theme .mk-label { color: #9a8e7f; }

/* ── Mondphase ── */
.mk-phase-emoji {
    font-size: 48px;
    margin-bottom: 12px;
    line-height: 1;
}
.mk-phase-large { font-size: 56px; }
.mk-phase-name {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--astro-gold);
    margin-bottom: 4px;
}
.astro-light-theme .mk-phase-name { color: #a07c2a; }
.mk-moon-sign {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}
.astro-light-theme .mk-moon-sign { color: #6b5d4f; }

/* ── Tagesqualität ── */
.mk-quality-dots {
    font-size: 28px;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: 2px;
}
.mk-quality-large { font-size: 36px; }
.mk-quality-label {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--astro-gold);
    margin-bottom: 4px;
}
.astro-light-theme .mk-quality-label { color: #a07c2a; }

/* ── VoC Badge ── */
.mk-voc-badge {
    display: inline-block;
    font-size: 10px;
    padding: 4px 12px;
    border-radius: 10px;
    background: rgba(231,76,60,0.08);
    border: 1px solid rgba(231,76,60,0.2);
    color: #e74c3c;
    margin-top: 8px;
    letter-spacing: 0.3px;
}

/* VoC Tooltip Trigger */
.mk-voc-trigger {
    position: relative;
    cursor: help;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.mk-voc-info {
    font-size: 11px;
    color: var(--astro-text-dim, rgba(255,255,255,0.4));
    opacity: 0.6;
    transition: opacity 0.15s;
}
.mk-voc-trigger:hover .mk-voc-info { opacity: 1; }

/* Tooltip Box */
.mk-voc-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    width: 280px;
    background: rgba(20, 16, 50, 0.96);
    border: 1px solid rgba(232, 201, 106, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    z-index: 50;
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.mk-voc-tooltip::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(232, 201, 106, 0.35), transparent);
    border-radius: 12px 12px 0 0;
}
.mk-voc-tooltip::after {
    content: '';
    position: absolute;
    top: 100%; left: 20px;
    border: 6px solid transparent;
    border-top-color: rgba(20, 16, 50, 0.96);
}

/* Show on hover/click */
.mk-voc-trigger:hover .mk-voc-tooltip,
.mk-voc-trigger.active .mk-voc-tooltip {
    display: block;
}

.mk-voc-tooltip-title {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--astro-gold, #e8c96a);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.mk-voc-tooltip-text {
    font-size: 11px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* Light Mode */
body.astro-light-theme .mk-voc-tooltip {
    background: rgba(255, 255, 252, 0.97);
    border-color: rgba(160, 124, 42, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
body.astro-light-theme .mk-voc-tooltip::after {
    border-top-color: rgba(255, 255, 252, 0.97);
}
body.astro-light-theme .mk-voc-tooltip::before {
    background: linear-gradient(90deg, transparent, rgba(160, 124, 42, 0.25), transparent);
}
body.astro-light-theme .mk-voc-tooltip-title {
    color: var(--astro-gold, #c9a84c);
}
body.astro-light-theme .mk-voc-tooltip-text {
    color: rgba(44, 36, 22, 0.65);
}

@media (max-width: 760px) {
    .mk-voc-tooltip {
        width: 250px;
        padding: 12px 14px;
    }
}

/* ── Tagesdeutung ── */
.mk-deutung { margin-bottom: 20px; }
.mk-deutung-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}
.mk-deutung-icon {
    font-size: 18px;
    color: var(--astro-gold);
}
.mk-deutung-title {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--astro-gold);
    font-variant: small-caps;
    letter-spacing: 0.5px;
}
.astro-light-theme .mk-deutung-title { color: #a07c2a; }
.mk-deutung-text {
    font-size: 13px;
    color: var(--astro-text);
    line-height: 1.8;
    text-align: center;
    margin: 0;
}
@media (min-width: 768px) {
    .mk-deutung-text { font-size: 14px; }
}
.mk-deutung-meta {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    margin-top: 10px;
    text-align: center;
}
.astro-light-theme .mk-deutung-meta { color: #9a8e7f; }

/* ── Info-Zeile ── */
.mk-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 13px;
    flex-wrap: wrap;
}
.mk-info-label {
    color: rgba(255,255,255,0.6);
}
.astro-light-theme .mk-info-label { color: #6b5d4f; }
.mk-info-value {
    color: var(--astro-text);
    font-weight: 500;
}
.mk-info-card {
    margin-bottom: 16px;
}

/* ═══════════════════════════════════════════
   KALENDER
   ═══════════════════════════════════════════ */

.mk-calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.mk-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--astro-card-border);
    background: transparent;
    color: var(--astro-text);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}
.mk-nav-btn:hover {
    background: rgba(167,139,250,0.08);
}
.astro-light-theme .mk-nav-btn:hover {
    background: rgba(201,168,76,0.06);
}
.mk-nav-title {
    font-family: 'Cinzel', serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--astro-text);
    letter-spacing: 0.5px;
}

.mk-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}
.mk-calendar-header {
    margin-bottom: 6px;
}
.mk-cal-day-header {
    text-align: center;
    font-size: 10px;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    padding: 4px 0;
}
.astro-light-theme .mk-cal-day-header { color: #9a8e7f; }

.mk-cal-day {
    text-align: center;
    padding: 6px 2px;
    border-radius: 10px;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.15s;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.mk-cal-empty {
    cursor: default;
}
.mk-cal-day:not(.mk-cal-empty):hover {
    background: rgba(167,139,250,0.06);
    border-color: rgba(167,139,250,0.15);
}
.astro-light-theme .mk-cal-day:not(.mk-cal-empty):hover {
    background: rgba(201,168,76,0.04);
    border-color: rgba(201,168,76,0.1);
}

.mk-cal-today {
    background: rgba(167,139,250,0.12) !important;
    border-color: var(--astro-accent) !important;
}
.astro-light-theme .mk-cal-today {
    background: rgba(160,124,42,0.08) !important;
    border-color: var(--astro-accent) !important;
}
.mk-cal-selected {
    background: rgba(232,201,106,0.1) !important;
    border-color: var(--astro-gold) !important;
}

.mk-cal-daynum {
    font-size: 12px;
    font-weight: 500;
    color: var(--astro-text);
}
.mk-cal-emoji {
    font-size: 14px;
    line-height: 1;
}
.mk-cal-sign {
    font-size: 10px;
    font-family: serif;
    color: rgba(255,255,255,0.5);
}
.astro-light-theme .mk-cal-sign { color: #9a8e7f; }

/* Qualitätsfarben */
.mk-q-good { border-color: rgba(39,174,96,0.2); }
.mk-q-good .mk-cal-daynum { color: #27ae60; }
.mk-q-bad { border-color: rgba(204,68,68,0.15); }
.mk-q-bad .mk-cal-daynum { color: rgba(204,68,68,0.6); }

/* ── Legende ── */
.mk-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.mk-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}
.astro-light-theme .mk-legend-item { color: #9a8e7f; }
.mk-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.mk-q-good-dot { background: #27ae60; }
.mk-q-neutral-dot { background: #f59e0b; }
.mk-q-bad-dot { background: #CC4444; }

/* ═══════════════════════════════════════════
   COMPACT SPECIFIC
   ═══════════════════════════════════════════ */

.astro-mondkalender-compact .mk-card {
    margin-bottom: 12px;
}
.astro-mondkalender-compact .mk-phase-emoji {
    font-size: 40px;
    margin-bottom: 10px;
}
.astro-mondkalender-compact .mk-quality-dots {
    font-size: 24px;
}

/* ═══════════════════════════════════════════════════════
   REDESIGN: Dein Tag — Neue Sektionen
   ═══════════════════════════════════════════════════════ */

/* Card-System (Redesign) */
.card-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-bottom: 20px; }
.mk-card-full { grid-column: 1 / -1; }
.mk-card-label { font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--astro-gold, #e8c96a); text-align: center; margin-bottom: 16px; }

/* Tagesenergie Chips */
.mk-energy-element { text-align: center; margin-bottom: 16px; }
.mk-energy-element .symbol { font-size: 36px; margin-bottom: 6px; font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Segoe UI Symbol', sans-serif; }
.mk-energy-element .name { font-family: 'Cinzel', serif; font-size: 15px; color: var(--astro-text, #fff); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.mk-energy-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.mk-energy-chip {
    display: inline-flex; flex-direction: column; align-items: center; gap: 3px;
    background: transparent; border: 1px solid rgba(232, 201, 106, 0.15);
    border-radius: 14px; padding: 9px 14px 8px; font-size: 12px; color: var(--astro-text, #e0dde4);
    min-width: 96px; text-align: center;
    position: relative; cursor: default; transition: border-color 0.2s;
}
.mk-energy-chip:hover { border-color: rgba(232, 201, 106, 0.35); }
.mk-energy-chip .chip-icon {
    font-size: 18px; line-height: 1;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Segoe UI Symbol', sans-serif;
}
.mk-energy-chip .chip-hint {
    position: absolute; top: 5px; right: 7px;
    width: 13px; height: 13px; border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--astro-gold, #e8c96a) 55%, transparent);
    color: color-mix(in srgb, var(--astro-gold, #e8c96a) 85%, transparent);
    font-family: Georgia, serif; font-style: italic; font-weight: 700;
    font-size: 9px; line-height: 11px; text-align: center;
    pointer-events: none;
}
.mk-energy-chips-bottom { margin-top: 15px; }
@media (max-width: 768px) { .mk-energy-chips-bottom { margin-top: 5px; } }
.mk-energy-chip .chip-label { color: var(--account-text-dim, rgba(224,221,228,0.55)); font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.mk-energy-chip .chip-value { color: var(--astro-text, #e0dde4); font-weight: 500; }

/* Chip Tooltip */
.mk-chip-tooltip {
    position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%);
    background: rgba(10, 13, 30, 0.95); border: 1px solid rgba(232, 201, 106, 0.2);
    border-radius: 10px; padding: 10px 14px;
    font-size: 11px; line-height: 1.55; color: var(--astro-text, #e0dde4);
    width: 220px; text-align: center;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.2s, visibility 0.2s;
    backdrop-filter: blur(12px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); z-index: 50;
}
.mk-chip-tooltip::after {
    content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    border: 6px solid transparent; border-top-color: rgba(232, 201, 106, 0.2);
}
.mk-energy-chip:hover .mk-chip-tooltip { opacity: 1; visibility: visible; }
@media (hover: none) {
    .mk-energy-chip:focus .mk-chip-tooltip { opacity: 1; visibility: visible; }
    .mk-energy-chip { cursor: pointer; -webkit-tap-highlight-color: transparent; }
}

/* Mondimpuls */
.mk-mondimpuls-label { font-family: 'Cinzel', serif; font-size: 15px; color: var(--astro-gold, #e8c96a); text-align: center; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }
.mk-mondimpuls-text { font-size: 14px; line-height: 1.75; color: var(--astro-text, #e0dde4); text-align: center; max-width: 680px; margin: 0 auto 16px; }
.mk-mondimpuls-chips { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.mk-mondimpuls-chip { padding: 7px 18px; border-radius: 24px; font-size: 11px; font-weight: 500; background: rgba(167,139,250,0.06); border: 1px solid rgba(167,139,250,0.14); color: var(--astro-accent, #a78bfa); letter-spacing: 0.5px; }

/* Himmelspositionen Grid */
.mk-himmel-title { font-family: 'Cinzel', serif; font-size: 14px; color: var(--astro-gold, #e8c96a); letter-spacing: 2px; text-transform: uppercase; font-weight: 600; text-align: center; margin-bottom: 20px; padding: 0 34px; }
.mk-himmel-sub { font-size: 11px; color: var(--account-text-dim, rgba(224,221,228,0.55)); text-align: center; margin-bottom: 20px; letter-spacing: 0.5px; }
.mk-himmel-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }

/* Planet Cell */
.mk-planet-cell {
    position: relative; display: flex; flex-direction: column; align-items: center;
    padding: 20px 8px 0; border-radius: 16px;
    background: rgba(255,255,255,0.015); border: 1px solid rgba(255,255,255,0.04);
    overflow: hidden; transition: all 0.3s cubic-bezier(.4,0,.2,1);
}
.mk-planet-cell:hover { border-color: rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); }
.mk-planet-cell .glow {
    position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--pc) 15%, transparent) 0%, transparent 70%);
    filter: blur(10px); pointer-events: none; transition: all 0.35s;
}
.mk-planet-cell:hover .glow { width: 58px; height: 58px; filter: blur(14px); }
.mk-p-symbol { font-size: 26px; color: var(--pc); position: relative; z-index: 1; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--pc) 20%, transparent)); }
.mk-p-name { font-size: 9px; font-weight: 600; color: #fff; letter-spacing: 1.2px; text-transform: uppercase; margin-top: 6px; position: relative; z-index: 1; }
.mk-p-divider { width: 22px; height: 1px; background: color-mix(in srgb, var(--pc) 20%, transparent); margin: 8px 0 6px; position: relative; z-index: 1; }
.mk-p-sign-row { display: flex; align-items: center; gap: 5px; position: relative; z-index: 1; margin-bottom: 10px; }
.mk-sign-badge { display: inline-flex; align-items: center; justify-content: center; width: 13px; height: 13px; border-radius: 3px; font-size: 8px; color: #fff; background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.mk-p-sign-name { font-size: 10px; color: #fff; font-weight: 500; }

/* Retro Bar */
.mk-retro-bar {
    width: 100%; padding: 6px 0; margin-top: 0;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 9px; font-weight: 700; letter-spacing: 0.6px;
    border-top: 1px solid rgba(255,255,255,0.03); border-radius: 0 0 15px 15px;
}
.mk-retro-bar .status-dot { width: 6px; height: 6px; border-radius: 50%; }
.mk-retro-bar.direct { background: rgba(46,204,113,0.07); color: #2ecc71; }
.mk-retro-bar.direct .status-dot { background: #2ecc71; box-shadow: 0 0 6px rgba(46,204,113,0.5); }
.mk-retro-bar.retro { background: rgba(224,122,95,0.07); color: #e07a5f; }
.mk-retro-bar.retro .status-dot { background: #e07a5f; box-shadow: 0 0 6px rgba(224,122,95,0.5); }
.mk-retro-bar.station { background: rgba(230,126,34,0.07); color: #e67e22; }
.mk-retro-bar.station .status-dot { background: #e67e22; box-shadow: 0 0 6px rgba(230,126,34,0.5); }

/* Planet Colors */
.clr-sun { --pc: #F5C518; }    .clr-moon { --pc: #B0C4D8; }
.clr-mercury { --pc: #C8D84A; } .clr-venus { --pc: #34D399; }
.clr-mars { --pc: #EF4444; }   .clr-jupiter { --pc: #F59E0B; }
.clr-saturn { --pc: #A0845C; }  .clr-uranus { --pc: #22D3EE; }
.clr-neptune { --pc: #a78bfa; } .clr-pluto { --pc: #DC2626; }
.clr-chiron { --pc: #2DD4BF; }  .clr-node { --pc: #94A3B8; }

/* Kosmisches Wetter */
.mk-wetter-title { font-family: 'Cinzel', serif; font-size: 16px; color: var(--astro-gold, #e8c96a); text-align: center; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 6px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 0; }
.mk-wetter-subtitle { text-align: center; font-size: 12px; color: var(--astro-text, #e0dde4); margin-bottom: 20px; }
.mk-wetter-2col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.mk-wetter-section { margin-bottom: 20px; }
.mk-wetter-section:last-child { margin-bottom: 0; }
.mk-wetter-section-label { font-size: 12px; font-weight: 600; color: var(--astro-text, #e0dde4); margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.mk-wetter-section-label .dot { width: 8px; height: 8px; border-radius: 50%; }
.mk-wetter-placeholder { width: 100%; height: 120px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); background: linear-gradient(135deg, #0a0d1a 0%, #141830 50%, #0a0d1a 100%); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--account-text-dim, rgba(224,221,228,0.55)); }
.mk-wetter-caption { font-size: 10px; color: var(--account-text-dim, rgba(224,221,228,0.55)); margin-top: 6px; text-align: center; }
.mk-section-sep { height: 1px; background: linear-gradient(90deg, transparent, var(--astro-card-border, rgba(232,201,106,0.12)), transparent); margin: 8px 0; }
.mk-badge-live { display: inline-flex; align-items: center; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; padding: 2px 8px; border-radius: 8px; background: rgba(46, 204, 113, 0.15); color: #2ecc71; margin-left: 8px; margin-bottom: 4px; line-height: 1; }

/* Wetter Live-Bilder */
.mk-wetter-img { width: 100%; border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); cursor: zoom-in; transition: border-color 0.2s; }
.mk-wetter-2col .mk-wetter-img { height: 160px; object-fit: cover; object-position: center top; }
.mk-wetter-img.mk-wetter-img-bottom { height: auto; max-height: 310px; object-fit: contain; border: none; display: block; margin: 0 auto; }
.mk-wetter-img.mk-wetter-img-bottom:hover { border: none; }
.mk-wetter-kp-center { text-align: center; max-width: 700px; margin: 0 auto; }
.mk-wetter-img:hover { border-color: rgba(232, 201, 106, 0.2); }
body.astro-light-theme .mk-wetter-img { border-color: rgba(0,0,0,0.08); }
body.astro-light-theme .mk-wetter-img:hover { border-color: rgba(139,105,20,0.25); }
body.astro-light-theme .mk-wetter-subtitle { color: var(--astro-text, #2d2d3f); }
:root { --mk-orange: #e67e22; }

/* Lightbox */
.mk-lightbox { display: none; position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,0.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); align-items: center; justify-content: center; cursor: zoom-out; padding: 20px; }
.mk-lightbox.active { display: flex; }
.mk-lightbox-img { max-width: 95vw; max-height: 90vh; border-radius: 12px; box-shadow: 0 8px 40px rgba(0,0,0,0.6); object-fit: contain; cursor: default; }
.mk-lightbox-close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: #fff; font-size: 32px; cursor: pointer; opacity: 0.7; transition: opacity 0.2s; z-index: 100000; line-height: 1; padding: 8px; }
.mk-lightbox-close:hover { opacity: 1; }

/* Transite */
.mk-transit-title { font-family: 'Cinzel', serif; font-size: 13px; color: var(--astro-gold, #e8c96a); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; text-align: center; }
.mk-transit-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.mk-transit-row:last-child { border-bottom: none; }
.mk-transit-symbol { font-size: 20px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(232, 201, 106, 0.08); border-radius: 10px; flex-shrink: 0; }
.mk-transit-info { flex: 1; min-width: 0; }
.mk-transit-aspect { font-size: 13px; font-weight: 500; color: var(--astro-text, #e0dde4); }
.mk-transit-desc { font-size: 11px; color: var(--account-text-dim, rgba(224,221,228,0.55)); margin-top: 2px; }
.mk-transit-tag { font-size: 10px; padding: 3px 10px; border-radius: 10px; font-weight: 500; white-space: nowrap; flex-shrink: 0; }
.mk-transit-tag.harmonisch { background: rgba(46, 204, 113, 0.12); color: #2ecc71; }
.mk-transit-tag.spannend { background: rgba(224, 122, 95, 0.12); color: #e07a5f; }
.mk-transit-time { font-size: 11px; color: var(--account-text-dim, rgba(224,221,228,0.55)); font-variant-numeric: tabular-nums; white-space: nowrap; flex-shrink: 0; }
/* (alte mk-transit-toggle entfernt — neues Design nutzt mk-td-*) */

/* Light Mode Overrides */
body.astro-light-theme .mk-energy-chip { background: rgba(139,105,20,0.06); border-color: rgba(139,105,20,0.15); }
body.astro-light-theme .mk-energy-chip:hover { border-color: rgba(139,105,20,0.35); }
body.astro-light-theme .mk-energy-chip .chip-hint { color: rgba(160,124,42,0.95); border-color: rgba(160,124,42,0.55); }
body.astro-light-theme .mk-chip-tooltip { background: rgba(255,255,255,0.97); border-color: rgba(139,105,20,0.2); }
body.astro-light-theme .mk-chip-tooltip::after { border-top-color: rgba(139,105,20,0.2); }
body.astro-light-theme .mk-mondimpuls-chip { background: rgba(124,92,191,0.06); border-color: rgba(124,92,191,0.14); color: #7c5cbf; }
body.astro-light-theme .mk-planet-cell { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.06); }
body.astro-light-theme .mk-planet-cell:hover { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.1); }
body.astro-light-theme .mk-p-name { color: #2d2d3f; }
body.astro-light-theme .mk-p-sign-name { color: #2d2d3f; }
body.astro-light-theme .mk-retro-bar.direct { background: rgba(22,163,74,0.07); }
body.astro-light-theme .mk-retro-bar.retro { background: rgba(192,57,43,0.07); }
body.astro-light-theme .mk-retro-bar.station { background: rgba(217,119,6,0.07); }
body.astro-light-theme .mk-wetter-placeholder { background: linear-gradient(135deg, #f0ede6 0%, #e8e4dc 50%, #f0ede6 100%); border-color: rgba(0,0,0,0.08); }
body.astro-light-theme .mk-transit-row { border-bottom-color: rgba(0,0,0,0.06); }
body.astro-light-theme .mk-transit-symbol { background: rgba(139,105,20,0.08); }

/* Responsive: Tablet */
@media (max-width: 768px) {
    .card-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .mk-himmel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
    .mk-wetter-2col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
    .mk-transit-row { flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 16px 0; }
    .mk-transit-info { text-align: center; }
}

/* Responsive: Mobile */
@media (max-width: 480px) {
    .mk-card { padding: 20px 16px; border-radius: 14px; }
    .mk-energy-element .symbol { font-size: 28px; }
    .mk-energy-element .name { font-size: 13px; }
    .mk-energy-chips { gap: 6px; }
    .mk-energy-chip { padding: 8px 10px 7px; font-size: 11px; min-width: 86px; }
    .mk-energy-chip .chip-icon { font-size: 16px; }
    .mk-energy-chip .chip-label { font-size: 9px; }
    .mk-mondimpuls-label { font-size: 13px; }
    .mk-mondimpuls-text { font-size: 12px; line-height: 1.65; }
    .mk-mondimpuls-chip { padding: 5px 14px; font-size: 10px; }
    .mk-himmel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .mk-planet-cell { padding: 14px 4px 0; border-radius: 12px; }
    .mk-p-symbol { font-size: 22px; }
    .mk-p-name { font-size: 8px; letter-spacing: 0.8px; }
    .mk-retro-bar { font-size: 7px; padding: 5px 0; letter-spacing: 0.3px; }
    .mk-p-sign-name { font-size: 9px; }
    .mk-sign-badge { width: 11px; height: 11px; font-size: 7px; }
    .mk-wetter-2col { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .mk-wetter-2col .mk-wetter-img { height: 120px; }
    .mk-wetter-img.mk-wetter-img-bottom { max-height: 220px; }
    .mk-wetter-kp-center { max-width: 100%; }
    .mk-transit-row { gap: 6px; padding: 14px 0; }
    .mk-transit-symbol { width: 30px; height: 30px; font-size: 16px; border-radius: 8px; }
    .mk-transit-aspect { font-size: 12px; }
    .mk-transit-desc { font-size: 10px; }
    .mk-transit-time { font-size: 10px; }
    .mk-chip-tooltip { width: 190px; font-size: 10px; padding: 8px 10px; }
    .mk-lightbox-close { font-size: 40px; top: 10px; right: 14px; padding: 12px; }
    .mk-lightbox { padding: 10px; }
    .mk-td-row { flex-wrap: wrap; gap: 8px; }
    .mk-td-row-time { order: 3; width: 100%; text-align: left; padding-left: 50px; }
}

/* ── Separator zwischen Mondphase und Mondimpuls ── */
.mk-mondphase-sep {
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--astro-gold-line, rgba(232,201,106,0.3)), transparent);
    margin: 16px 0;
}

/* ═══ TRANSIT-DEUTUNG neues Design (mk-td-*) ═══ */
.mk-transit-card { padding: 28px 28px 24px; }
.mk-transit-card > * { max-width: 720px; margin-left: auto; margin-right: auto; }
@media (max-width: 480px) { .mk-transit-card { padding: 20px 16px; } }

.mk-td-header { text-align: center; }
.mk-td-star {
    font-size: 32px; line-height: 1; color: var(--astro-gold, #e8c96a); margin-bottom: 14px;
    text-shadow: 0 0 8px rgba(232,201,106,0.6), 0 0 20px rgba(232,201,106,0.3), 0 0 40px rgba(232,201,106,0.15);
    animation: mk-td-star-pulse 3s ease-in-out infinite;
}
body.astro-light-theme .mk-td-star { color: var(--astro-gold-dark, #a07c2a); text-shadow: 0 0 6px rgba(201,168,76,0.4), 0 0 16px rgba(201,168,76,0.2); }
@keyframes mk-td-star-pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 0.9; } }

.mk-td-label { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--astro-text, #fff); margin-bottom: 3px; }
body.astro-light-theme .mk-td-label { color: var(--astro-text-mid, #6b5d4f); }
.mk-td-date { font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 18px; }
body.astro-light-theme .mk-td-date { color: #777; }

.mk-td-intro {
    font-family: 'Cinzel', serif; font-size: 18px; font-weight: 500; color: var(--astro-gold, #e8c96a);
    line-height: 1.45; text-align: center; margin-bottom: 12px;
}
body.astro-light-theme .mk-td-intro { color: var(--astro-gold-dark, #a07c2a); }
@media (max-width: 480px) { .mk-td-intro { font-size: 16px; } }

.mk-td-gold-sep { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(232,201,106,0.3), transparent); margin-bottom: 8px; }
body.astro-light-theme .mk-td-gold-sep { background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent); }

.mk-td-body { font-size: 13.5px; line-height: 1.8; color: var(--astro-text, #fff); text-align: center; margin-bottom: 22px; }
body.astro-light-theme .mk-td-body { color: var(--astro-text-mid, #6b5d4f); }
@media (max-width: 480px) { .mk-td-body { font-size: 13px; } }

.mk-td-tendency-bar {
    display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
    padding: 12px 18px; background: var(--astro-card-surface, rgba(255,255,255,0.03));
    border: 1px solid var(--astro-card-border, rgba(255,255,255,0.07)); border-radius: 10px; margin-bottom: 12px;
}
.mk-td-tend-label { font-size: 12px; font-weight: 600; }
.mk-td-tend-label.mk-tend-harmonisch { color: var(--astro-green, #2ecc71); }
.mk-td-tend-label.mk-tend-spannung { color: var(--astro-red-soft, #e07a5f); }
.mk-td-tend-label.mk-tend-gemischt { color: var(--astro-gold, #e8c96a); }
.mk-td-tend-sep { width: 1px; height: 12px; background: rgba(255,255,255,0.06); }
body.astro-light-theme .mk-td-tend-sep { background: rgba(201,168,76,0.1); }
.mk-td-tend-counts { font-size: 11px; color: rgba(255,255,255,0.5); }
body.astro-light-theme .mk-td-tend-counts { color: #777; }

.mk-td-source { font-size: 10px; color: #fff; font-style: italic; letter-spacing: 0.3px; margin-bottom: 10px; text-align: center; }
body.astro-light-theme .mk-td-source { color: #555; }

.mk-td-detail-toggle {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--astro-secondary-btn-bg, rgba(255,255,255,0.03));
    border: 1px solid var(--astro-secondary-btn-border, rgba(167,139,250,0.3));
    color: #fff; padding: 8px 22px; border-radius: 20px; font-size: 11px; font-weight: 500;
    cursor: pointer; font-family: 'Inter', sans-serif; transition: all 0.25s; letter-spacing: 0.3px;
}
body.astro-light-theme .mk-td-detail-toggle { color: #555; background: rgba(201,168,76,0.04); border-color: rgba(201,168,76,0.3); }
.mk-td-detail-toggle:hover { border-color: rgba(232,201,106,0.3); opacity: 0.8; }
.mk-td-chevron { font-size: 9px; transition: transform 0.25s; display: inline-block; }
.mk-td-detail-toggle.mk-td-open .mk-td-chevron { transform: rotate(180deg); }
.mk-td-detail-toggle.mk-td-open { color: rgba(255,255,255,0.6); border-color: rgba(232,201,106,0.3); }
body.astro-light-theme .mk-td-detail-toggle.mk-td-open { color: #777; }

.mk-td-details { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.mk-td-details.mk-td-open { max-height: 900px; }
.mk-td-detail-list { padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.06); margin-top: 16px; }
body.astro-light-theme .mk-td-detail-list { border-top-color: rgba(201,168,76,0.1); }

.mk-td-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.mk-td-row:last-child { border-bottom: none; }
body.astro-light-theme .mk-td-row { border-bottom-color: rgba(0,0,0,0.05); }

.mk-td-row-symbol {
    font-size: 20px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    background: rgba(232,201,106,0.08); border-radius: 10px; flex-shrink: 0;
}
body.astro-light-theme .mk-td-row-symbol { background: rgba(201,168,76,0.08); }

.mk-td-row-info { flex: 1; min-width: 0; }
.mk-td-row-aspect { font-size: 13px; font-weight: 500; color: var(--astro-text, #fff); }
.mk-td-row-time { font-size: 11px; color: var(--astro-text-dim, rgba(255,255,255,0.35)); font-variant-numeric: tabular-nums; white-space: nowrap; flex-shrink: 0; }

.mk-td-row-tag { font-size: 10px; padding: 3px 10px; border-radius: 10px; font-weight: 500; white-space: nowrap; flex-shrink: 0; }
.mk-td-row-tag.mk-tag-harmonisch { background: rgba(46,204,113,0.12); color: var(--astro-green, #2ecc71); }
.mk-td-row-tag.mk-tag-spannung { background: rgba(224,122,95,0.12); color: var(--astro-red-soft, #e07a5f); }

/* ─── Tagesenergie-Block: Dark/Light-Mode-Farben + Mehr-anzeigen-Toggle ─── */
.mk-td-body,
.mk-td-body p,
.mk-td-text,
.mk-td-text-visible,
.mk-td-text-rest {
    color: var(--astro-text, #ffffff);
    line-height: 1.7;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}
.mk-td-body p {
    margin: 0;
}

.mk-td-readmore-wrap {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}
.mk-td-readmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--astro-gold, #e8c96a);
    color: var(--astro-gold, #e8c96a);
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 9px 18px;
    border-radius: 24px;
    cursor: pointer;
    min-height: 40px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.mk-td-readmore-btn:hover,
.mk-td-readmore-btn:focus {
    background: var(--astro-gold, #e8c96a);
    color: var(--astro-bg, #0a0a1a);
    outline: none;
}
.mk-td-readmore-icon {
    font-size: 14px;
    line-height: 1;
    transition: transform 0.2s ease;
}
.mk-td-readmore-btn[aria-expanded="true"] .mk-td-readmore-icon {
    /* Optional: zusätzliche visuelle Bestätigung; Pfeil wird per JS gewechselt */
}

/* Mobil: Button breiter und etwas größer für besseres Tippen */
@media (max-width: 600px) {
    .mk-td-readmore-btn {
        font-size: 11.5px;
        padding: 11px 22px;
        min-height: 44px;
    }
    .mk-td-text,
    .mk-td-body p {
        font-size: 13.5px;
        line-height: 1.65;
    }
}

/* Sanfte Einblendung des Rest-Textes beim Aufklappen */
.mk-td-text-rest {
    opacity: 1;
    transition: opacity 0.3s ease;
}


/* ─────────────────────────────────────────────────────
   Kosmisches Wetter: Zweite Reihe (Kp + Planetenstunden)
   ───────────────────────────────────────────────────── */
.mk-wetter-img.mk-wetter-img-tile {
    height: 280px;
    object-fit: contain;
    object-position: center top;
    background: transparent;
    padding: 0;
    border: none;
    border-radius: 0;
}
.mk-wetter-img.mk-wetter-img-tile:hover {
    border: none;
}

/* Planetenstunden-Box (innen, mit Rahmen) */
.mk-planhours-box {
    background: rgba(232, 201, 106, 0.04);
    border: 1px solid rgba(232, 201, 106, 0.18);
    border-radius: 10px;
    padding: 16px 14px;
    text-align: center;
    height: 280px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}
.mk-planhours-current {
    text-align: center;
    margin-bottom: 12px;
}
.mk-planhours-symbol {
    font-family: serif;
    font-size: 36px;
    color: var(--astro-gold, #e8c96a);
    line-height: 1;
    margin-bottom: 6px;
}
.mk-planhours-name {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    color: var(--astro-text, #ffffff);
    margin-bottom: 4px;
    font-weight: 500;
}
.mk-planhours-time {
    font-size: 12px;
    color: var(--account-text-dim, rgba(255,255,255,0.55));
    margin-bottom: 8px;
}
.mk-planhours-good {
    font-size: 12.5px;
    color: var(--astro-text, #ffffff);
    opacity: 0.85;
    font-style: italic;
    line-height: 1.45;
    max-width: 320px;
    margin: 0 auto;
}
.mk-planhours-upcoming-label {
    font-size: 10.5px;
    color: var(--account-text-dim, rgba(255,255,255,0.45));
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 12px 0 8px 0;
    text-align: center;
    border-top: 1px solid rgba(232, 201, 106, 0.12);
    padding-top: 10px;
}
.mk-planhours-scroll {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
}
.mk-planhours-track {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 2px;
    scrollbar-width: none;
}
.mk-planhours-track::-webkit-scrollbar { display: none; }
.mk-planhours-arrow {
    flex: 0 0 auto;
    width: 22px;
    height: 60px;
    background: transparent;
    border: 1px solid rgba(232, 201, 106, 0.18);
    color: var(--astro-gold, #e8c96a);
    font-size: 18px;
    line-height: 1;
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.mk-planhours-arrow:hover {
    background: rgba(232, 201, 106, 0.08);
    border-color: rgba(232, 201, 106, 0.4);
}
.mk-planhours-upitem {
    flex: 0 0 auto;
    text-align: center;
    padding: 8px 6px;
    background: rgba(232, 201, 106, 0.04);
    border-radius: 6px;
    min-width: 64px;
    scroll-snap-align: center;
    transition: background 0.2s ease, border-color 0.2s ease;
    border: 1px solid transparent;
}
.mk-planhours-upitem { cursor: pointer; }
.mk-planhours-upitem:hover { border-color: rgba(232, 201, 106, 0.3); }
/* Vom Nutzer angetippte (nicht-aktuelle) Stunde */
.mk-planhours-upitem.is-selected {
  background: rgba(232, 201, 106, 0.10);
  border-color: var(--planet-color, rgba(232, 201, 106, 0.5));
}
.mk-planhours-upitem.is-current {
    background: rgba(232, 201, 106, 0.13);
    border-color: rgba(232, 201, 106, 0.4);
}
.mk-planhours-upsym {
    font-family: serif;
    font-size: 16px;
    color: var(--astro-gold, #e8c96a);
    line-height: 1;
}
.mk-planhours-upname {
    font-size: 10.5px;
    color: var(--account-text-dim, rgba(255,255,255,0.55));
    margin: 3px 0 2px 0;
    line-height: 1.2;
}
.mk-planhours-uptime {
    font-family: 'Cinzel', serif;
    font-size: 11.5px;
    color: var(--astro-text, #ffffff);
    opacity: 0.85;
    margin-top: 2px;
}
.mk-planhours-upcoming {
    display: flex;
    gap: 6px;
    justify-content: stretch;
    width: 100%;
}

/* Light-Theme */
body.astro-light-theme .mk-planhours-box {
    background: rgba(201, 168, 76, 0.06);
    border-color: rgba(201, 168, 76, 0.25);
}
body.astro-light-theme .mk-planhours-symbol {
    color: var(--astro-gold, #c9a84c);
}
body.astro-light-theme .mk-planhours-name,
body.astro-light-theme .mk-planhours-good,
body.astro-light-theme .mk-planhours-uptime {
    color: var(--astro-text, #2a2018);
}

/* Mobile: Spalten unter 768px stapeln */
@media (max-width: 768px) {
    .mk-planhours-box { height: auto; min-height: 280px; }
    .mk-wetter-img.mk-wetter-img-tile { height: 220px; }
}
@media (max-width: 600px) {
    .mk-planhours-symbol { font-size: 32px; }
    .mk-planhours-name { font-size: 15px; }
    .mk-planhours-upitem { font-size: 10px; }
}

/* ── i-Buttons mit Erklaerungs-Akkordeons (5 Boxen) ── */
.mk-card { position: relative; }
.mk-info-anchor { position: relative; }

.mk-info-toggle {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--astro-gold, #e8c96a) 75%, transparent);
    background: color-mix(in srgb, var(--astro-gold, #e8c96a) 12%, transparent);
    color: var(--astro-gold, #e8c96a);
    border-radius: 50%;
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    opacity: 1;
    z-index: 3;
    transition: background 0.18s, color 0.18s, opacity 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.mk-info-toggle::before {
    content: "";
    position: absolute;
    inset: -7px;
}
.mk-info-toggle:hover {
    background: var(--astro-gold, #e8c96a);
    color: #15131c;
    border-color: var(--astro-gold, #e8c96a);
    opacity: 1;
}
.mk-info-toggle:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--astro-gold, #e8c96a) 50%, transparent);
    outline-offset: 2px;
    opacity: 1;
}
.mk-info-toggle.is-open {
    background: var(--astro-gold, #e8c96a);
    color: #15131c;
    border-color: var(--astro-gold, #e8c96a);
    opacity: 1;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.25);
}
.astro-light-theme .mk-info-toggle {
    color: #9a7729;
    border-color: rgba(160, 124, 42, 0.75);
    background: rgba(160, 124, 42, 0.1);
}
.astro-light-theme .mk-info-toggle:hover,
.astro-light-theme .mk-info-toggle.is-open {
    background: #a07c2a;
    color: #ffffff;
    border-color: #a07c2a;
}
.mk-info-toggle--section { top: 0; right: 0; }
.mk-info-toggle--planhours { top: 10px; right: 10px; }

.mk-info-panel {
    max-height: 0;
    overflow: hidden;
    margin: 0;
    opacity: 0;
    transition: max-height 0.25s ease, margin 0.25s ease, opacity 0.2s ease;
}
.mk-info-panel.is-open {
    max-height: 600px;
    margin: 12px 0 14px;
    opacity: 1;
}
.mk-info-panel-inner {
    position: relative;
    border: 1px solid color-mix(in srgb, var(--astro-gold, #e8c96a) 25%, transparent);
    border-top: 1px solid color-mix(in srgb, var(--astro-gold, #e8c96a) 35%, transparent);
    border-radius: 10px;
    background: rgba(232, 201, 106, 0.06);
    padding: 16px 44px 16px 44px;
    text-align: center;
}
.astro-light-theme .mk-info-panel-inner {
    background: rgba(180, 140, 60, 0.08);
    border-color: rgba(180, 140, 60, 0.35);
    border-top-color: rgba(180, 140, 60, 0.45);
}
.mk-info-text {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: var(--astro-text, rgba(255, 255, 255, 0.92));
    text-align: center;
}
.astro-light-theme .mk-info-text { color: rgba(74, 61, 36, 0.82); }

.mk-info-close {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--astro-text-dim, rgba(255, 255, 255, 0.55));
    font-size: 18px;
    line-height: 28px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}
.mk-info-close:hover,
.mk-info-close:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: var(--astro-text, #ffffff);
    outline: none;
}
.astro-light-theme .mk-info-close { color: rgba(74, 61, 36, 0.55); }
.astro-light-theme .mk-info-close:hover,
.astro-light-theme .mk-info-close:focus-visible {
    background: rgba(74, 61, 36, 0.08);
    color: #2a2018;
}
.mk-info-panel--section.is-open { margin: 8px 0 12px; }

@media (min-width: 768px) {
    .mk-info-panel-inner { padding: 20px 48px 20px 48px; }
    .mk-info-text { font-size: 14px; }
}
@media (max-width: 767px) {
    .mk-info-toggle { top: 12px; right: 12px; }
    .mk-info-panel-inner { padding: 14px 38px 14px 38px; }
    .mk-info-panel.is-open { max-height: 800px; }
}

/* ── Defensive Layout-Haerten (alle Breakpoints) ── */
.mk-wetter-2col,
.mk-wetter-2col > .mk-wetter-section,
.mk-himmel-grid > .mk-planet-cell { min-width: 0; }

.mk-wetter-img { max-width: 100%; height: auto; display: block; }

.mk-info-panel,
.mk-info-panel-inner { box-sizing: border-box; max-width: 100%; }

.mk-info-text {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* === MOON-TIMELINE-STRIP (Public-Fix 2026-05-31) ===
   Diese Regeln lagen nur in themes/astromantie/css/account.css und wurden
   auf der oeffentlichen /tagesenergie/-Seite nicht geladen -> Datumsleiste
   fiel in den vertikalen Fallback. Verbatim aus account.css gespiegelt,
   damit Public == Account. */
.astro-moon-timeline-wrap {
    margin-bottom: 20px;
    overflow: hidden;
}
.astro-moon-timeline {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 10px 0 14px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
    cursor: grab;
}
.astro-moon-timeline::-webkit-scrollbar {
    height: 4px;
}
.astro-moon-timeline::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}
.astro-light-theme .astro-moon-timeline {
    scrollbar-color: rgba(0,0,0,0.1) transparent;
}
.astro-light-theme .astro-moon-timeline::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
}
.astro-moon-tl-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 48px;
    padding: 8px 4px;
    border-radius: 10px;
    transition: background 0.15s;
    flex-shrink: 0;
}
.astro-moon-tl-day.today {
    background: rgba(167,139,250,0.12);
    border: 1px solid rgba(167,139,250,0.25);
}
.astro-light-theme .astro-moon-tl-day.today {
    background: rgba(201,168,76,0.1);
    border-color: rgba(201,168,76,0.25);
}
.astro-moon-tl-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.astro-moon-tl-label {
    font-size: 9px;
    color: var(--account-text-dim);
    white-space: nowrap;
}
.astro-moon-tl-day.today .astro-moon-tl-label {
    color: var(--astro-accent);
    font-weight: 600;
    font-size: 10px;
}


/* ═══════════════════════════════════════════
   FRAGEN TAB
   ═══════════════════════════════════════════ */

.astro-fragen-hero {
    text-align: center;
    margin-bottom: 32px;
}
.astro-fragen-hero h2 {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    color: var(--astro-text);
    font-weight: 600;
    margin: 0 0 10px;
}
@media (min-width: 768px) {
/* === Ende MOON-TIMELINE-STRIP === */

/* 3.21 (05.09.2026): Ersatztext, wenn die Kp-Grafik vom fremden Server nicht
   kommt. Vorher blieb an der Stelle eine leere Kachel stehen. */
.mk-wetter-img-fallback {
    padding: 18px 14px;
    border: 1px dashed rgba(232, 201, 106, 0.3);
    border-radius: 10px;
    font-size: 13px;
    color: var(--astro-text-mid, #c9c4d4);
    text-align: center;
}
.mk-wetter-img-retry {
    margin-left: 6px;
    padding: 4px 12px;
    border: 1px solid rgba(232, 201, 106, 0.45);
    border-radius: 999px;
    background: transparent;
    color: #e8c96a;
    font-size: 12px;
    cursor: pointer;
}
.mk-wetter-img-retry:hover { background: rgba(232, 201, 106, 0.1); }
