/* ================================================
   STANDALONE PLUGIN-SEITEN — Wrapper
   Liefert die max-width die im Account-Bereich
   automatisch durch .astro-dash-content kommt.
   ================================================ */

.astro-standalone-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .astro-standalone-wrapper {
        padding: 20px 16px;
    }
}


/* ================================================
   MONDKALENDER-LEISTE (Standalone)
   Kopiert aus account.css — wird dort nur im
   Account-Bereich geladen.
   ================================================ */

.astro-standalone-wrapper .astro-moon-timeline-wrap {
    margin-bottom: 20px;
    overflow: hidden;
}
.astro-standalone-wrapper .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-standalone-wrapper .astro-moon-timeline::-webkit-scrollbar {
    height: 4px;
}
.astro-standalone-wrapper .astro-moon-timeline::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}
.astro-light-theme .astro-standalone-wrapper .astro-moon-timeline {
    scrollbar-color: rgba(0,0,0,0.1) transparent;
}
.astro-light-theme .astro-standalone-wrapper .astro-moon-timeline::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
}
.astro-standalone-wrapper .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-standalone-wrapper .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-standalone-wrapper .astro-moon-tl-day.today {
    background: rgba(201,168,76,0.1);
    border-color: rgba(201,168,76,0.25);
}
.astro-standalone-wrapper .astro-moon-tl-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.astro-standalone-wrapper .astro-moon-tl-label {
    font-size: 9px;
    color: rgba(255,255,255,0.35);
    white-space: nowrap;
}
.astro-light-theme .astro-standalone-wrapper .astro-moon-tl-label {
    color: #9a8e7f;
}
.astro-standalone-wrapper .astro-moon-tl-day.today .astro-moon-tl-label {
    color: var(--astro-accent, #a78bfa);
    font-weight: 600;
    font-size: 10px;
}


/* ================================================
   INTRO-HERO (Standalone)
   1:1 gespiegelt aus account.css (.astro-hero*),
   das nur im Account-Bereich geladen wird. Damit der
   Intro-Block auf der oeffentlichen Tagesenergie-Seite
   identisch zum Account aussieht.
   ================================================ */
.astro-hero {
    text-align: center;
    padding: 0 8px 24px;
    margin-bottom: 12px;
}
.astro-hero-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 10px;
}
.astro-hero-glyph {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    color: var(--astro-gold, #e8c96a);
    opacity: 0.85;
}
.astro-hero-glyph svg {
    width: 100%;
    height: 100%;
    display: block;
}
.astro-hero-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 0 1 auto;
}
.astro-hero-title {
    font-family: 'Cinzel', serif;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--astro-gold, #e8c96a);
    font-size: clamp(1.4rem, 3.2vw, 2.1rem);
    margin: 0;
}
.astro-hero-sub {
    color: #C4B05A;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}
.astro-hero-intro {
    max-width: 680px;
    margin: 0 auto 14px;
    color: var(--astro-text, #ffffff);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
}
.astro-hero-check {
    color: #4ade80;
    font-weight: 700;
    margin-left: 4px;
}
.astro-hero-pill {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(232, 201, 106, 0.06);
    border: 1px solid rgba(232, 201, 106, 0.4);
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--astro-text, #ffffff);
    letter-spacing: 0.04em;
}

body.astro-light-theme .astro-hero-glyph {
    color: var(--astro-gold, #c9a84c);
    opacity: 0.9;
}
body.astro-light-theme .astro-hero-title {
    color: var(--astro-gold, #c9a84c);
}
body.astro-light-theme .astro-hero-sub {
    color: #8A7A2A;
}
body.astro-light-theme .astro-hero-intro,
body.astro-light-theme .astro-hero-pill {
    color: var(--astro-text, #2a2018);
}
body.astro-light-theme .astro-hero-pill {
    background: rgba(201, 168, 76, 0.08);
    border-color: rgba(201, 168, 76, 0.5);
}

@media (max-width: 767px) {
    .astro-hero { padding: 0 4px 18px; }
    .astro-hero-row { gap: 10px; }
    .astro-hero-glyph { width: 32px; height: 32px; }
    .astro-hero-intro { font-size: 0.88rem; line-height: 1.65; }
    .astro-hero-pill {
        white-space: normal;
        max-width: 92%;
        line-height: 1.45;
        text-align: center;
    }
}
