/*
 * /theme-earth-sky.css (Version 3 - Corrected Selectors)
 */

/* ========================================================================
   SECTION: CORE OVERRIDES & NEW BACKGROUND
   ======================================================================== */
html.theme-earth-sky body {
    background: #87CEEB;
    color: #34495E;
}



html.theme-earth-sky .universe-background::before {
    background: linear-gradient(to bottom, #c1e8ff 0%, #87CEEB 100%);
    opacity: 1;
}
html.theme-earth-sky .universe-background::after,
html.theme-earth-sky .galaxies,
html.theme-earth-sky .stars-slow,
html.theme-earth-sky .stars-medium,
html.theme-earth-sky .stars-fast,
html.theme-earth-sky .meteor {
    display: none;
    visibility: hidden;
}

/* --- Cloud System --- */
@keyframes drift { from { transform: translateX(-25%); } to { transform: translateX(100%); } }

html.theme-earth-sky .clouds-back,
html.theme-earth-sky .clouds-middle,
html.theme-earth-sky .clouds-front {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 200%;
    height: 100%;
}

html.theme-earth-sky .cloud-puff {
    position: absolute;
    background: white;
    border-radius: 50%;
}

html.theme-earth-sky .clouds-back { filter: blur(40px); opacity: 0.3; animation: drift 280s linear infinite; }
html.theme-earth-sky .clouds-middle { filter: blur(30px); opacity: 0.5; animation: drift 170s linear infinite; }
html.theme-earth-sky .clouds-front { filter: blur(25px); opacity: 0.8; animation: drift 110s linear infinite; }

/* ========================================================================
   SECTION: GLOBAL COMPONENT OVERRIDES
   ======================================================================== */
html.theme-earth-sky .site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.6);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}
html.theme-earth-sky .site-header nav a { color: #34495E; }
html.theme-earth-sky .site-header nav a:hover { color: #000; }
html.theme-earth-sky .site-footer {
    background-color: #EAECEE;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #5D6D7E;
}
html.theme-earth-sky .footer-column h4 { color: #2C3E50; border-bottom-color: rgba(0, 0, 0, 0.1); }
html.theme-earth-sky .footer-column ul li a { color: #5D6D7E; }
html.theme-earth-sky .footer-column ul li a:hover { color: #2C3E50; }
html.theme-earth-sky .status-feed strong { color: #2C3E50; }
html.theme-earth-sky #online-users-count, html.theme-earth-sky #latest-chapter-title { color: #4682B4; }
html.theme-earth-sky #system-time-jst { color: #27AE60; }
html.theme-earth-sky .footer-sub-bar { border-top-color: rgba(0, 0, 0, 0.1); color: rgba(0, 0, 0, 0.4); }
html.theme-earth-sky .holographic-shine, html.theme-earth-sky #lore-btn, html.theme-earth-sky .account-form button { background: #F39C12; color: #fff; border: none; }
html.theme-earth-sky .edit-btn { background: transparent; border: 1px solid #bdc3c7; color: #34495E; }

/* ========================================================================
   SECTION: PAGE-SPECIFIC OVERRIDES
   ======================================================================== */
html.theme-earth-sky .form-container, html.theme-earth-sky .dossier-id-card, html.theme-earth-sky .dossier-terminal, html.theme-earth-sky .profile-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}
html.theme-earth-sky h2, html.theme-earth-sky h3, html.theme-earth-sky .field-value, html.theme-earth-sky .status-text, html.theme-earth-sky .card-display-name { color: #2C3E50; }
html.theme-earth-sky .form-field label, html.theme-earth-sky .field-label, html.theme-earth-sky .profile-field-static .field-label, html.theme-earth-sky .card-status, html.theme-earth-sky .card-bio { color: #5D6D7E; }
html.theme-earth-sky .form-field input, html.theme-earth-sky .bio-container textarea, html.theme-earth-sky #dossier-display-name, html.theme-earth-sky #dossier-bio, html.theme-earth-sky #feeling-input { background: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.2); color: #2C3E50; }
html.theme-earth-sky .archive-header h1 { color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.2); }
html.theme-earth-sky .archive-header p { color: #f8f9f9; }
html.theme-earth-sky .featured-card, html.theme-earth-sky .chapter-card { background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(0, 0, 0, 0.1); }
html.theme-earth-sky .featured-title, html.theme-earth-sky .card-header .card-title { color: #2C3E50; }
html.theme-earth-sky .featured-excerpt, html.theme-earth-sky .card-excerpt, html.theme-earth-sky .card-meta { color: #5D6D7E; }
html.theme-earth-sky .nexus-ai-terminal .terminal-container { background-color: rgba(244, 246, 247, 0.85); border-color: rgba(0, 0, 0, 0.2); }
html.theme-earth-sky .terminal-chatbox .chat p { color: #34495E; background: rgba(0,0,0,0.02); }
html.theme-earth-sky .terminal-chatbox .chat.incoming p { border-left-color: #27AE60; background: linear-gradient(90deg, rgba(39, 174, 96, 0.1), transparent); }
html.theme-earth-sky .terminal-chatbox .chat.outgoing p { border-right-color: #F39C12; background: linear-gradient(-90deg, rgba(243, 156, 18, 0.1), transparent); }
html.theme-earth-sky .terminal-input-area textarea { color: #2C3E50; border-bottom-color: rgba(0, 0, 0, 0.2); }
html.theme-earth-sky .terminal-header, html.theme-earth-sky .terminal-input-area { border-bottom-color: rgba(0, 0, 0, 0.1); border-top-color: rgba(0, 0, 0, 0.1); }
html.theme-earth-sky .dossier-terminal::after { display: none; }