/* =========================================
   1. 기본 변수 및 초기화
   ========================================= */
:root {
  --bg-blue: #e3f2fd;
  --accent: #4dabf7;
  --text-main: #343a40;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);


  --phone-bg: #eef6fc;
  --bubble-left: #4e8df5;
  --bubble-right: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Gowun Dodum', sans-serif;
  background: #f1f8ff;
  color: var(--text-main);
  overflow: hidden;
  transition: background 10s ease-in-out;
   transition: color 5s ease-in-out;
}
body::before {
  content: "";
  position: fixed; 
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;     
  
  opacity: 0;
  
  transition: opacity 5s ease-in-out;
  pointer-events: none; }


/* =========================================
   2. 메인 화면 (오프닝)
   ========================================= */
#screen-main {
  position: fixed; inset: 0;
  background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
  display: flex; justify-content: center; align-items: center;
  z-index: 999;
  transition: opacity 0.6s;
}
.main-content { text-align: center; color: white; }
.main-title {
  font-family: 'Nanum Pen Script', cursive;
  font-size: 5rem;
  margin-bottom: 20px;
  animation: glow 3s infinite alternate;
}
.main-title span { font-size: 6rem; }
.intro-text { font-size: 1.2rem; margin-bottom: 10px; letter-spacing: 2px; }
.line-deco { width: 50px; height: 2px; background: white; margin: 0 auto 40px; }
.btn-start {
  background: transparent;
  border: 1px solid white;
  color: white;
  padding: 12px 50px;
  border-radius: 30px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.3s;
}
.btn-start:hover { background: white; color: var(--accent); }

/* =========================================
   3. 게임 화면 레이아웃
   ========================================= */
#screen-game {
  display: none;
  width: 100%;
  height: 100vh;
  padding: 20px;
  gap: 20px;
}


.area-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 350px;
  height: 100%;
}


.console-wrapper {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.panel-head {
  padding: 15px;
  background: #fff;
  border-bottom: 1px solid #eee;
  font-weight: bold;
  color: var(--accent);
}
#console-box {
  flex: 1;
  min-height: 0;
  padding: 15px;
  overflow-y: auto;
  background: #fff;
  font-size: 0.92rem;
  line-height: 1.6;
}


.sys-msg { color: #868e96; margin-bottom: 6px; font-size: 0.88rem; }
.bm-tmi     { border-left-color:#20c997; }
.bm-snack   { border-left-color:#ff922b; }  
.bm-photo   { border-left-color:#9775fa; } 
.bm-rumor   { border-left-color:#adb5bd; }  
.bm-hallway { border-left-color:#339af0; }  

.bm-romance-strong { border-left-color:#f03e3e; border-left-width:6px; }
.bm-dim { opacity:0.75; } 


.log-divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 12px 0;
}


.phase-divider {
  text-align: center;
  color: #adb5bd;       
  font-size: 0.85rem;
  font-weight: bold;
  margin: 24px 0 12px;
  letter-spacing: 1px;
  background: transparent;
  border: none;
}


.inline-choice-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 15px;
  margin-bottom: 10px;
  padding: 5px;
  animation: fadeSlideUp 0.4s ease-out;
}
.inline-choice-btn {
  background: white;
  border: 1px solid #d0ebff;
  border-radius: 12px;
  padding: 15px 10px;
  color: #495057;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.inline-choice-btn:hover {
  background: #e7f5ff;
  border-color: #74c0fc;
  color: #1c7ed6;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(28, 126, 214, 0.15);
}
.inline-choice-btn:active { transform: scale(0.97); }


.btn-next-day {
  background: #333; color: white; border: none; padding: 18px;
  border-radius: 16px; font-size: 1.1rem; cursor: pointer; font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: 0.2s;
}
.btn-next-day:hover { transform: translateY(-2px); background: #222; }


.area-right { flex: 2; display: flex; flex-direction: column; gap: 15px; min-height: 0; }
.top-bar { display: flex; justify-content: space-between; align-items: center; }
.date-badge, .weather-badge {
  background: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  color: var(--accent);
  box-shadow: var(--shadow);
}

.tab-nav { display: flex; gap: 10px; margin-bottom: 5px; }
.tab-btn {
  padding: 10px 20px;
  border: none;
  background: rgba(255,255,255,0.6);
  border-radius: 12px;
  cursor: pointer;
  color: #888;
}
.tab-btn.active {
  background: white;
  color: var(--accent);
  font-weight: bold;
  box-shadow: var(--shadow);
}

.tab-content.active { display: flex; }

/* =========================================
   4. 학생 탭 디자인
   ========================================= */
.list-header {
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.list-header > span { font-weight: 800; color: #343a40; }

.btn-open-add {
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.9rem;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}
.btn-open-add:hover { filter: brightness(0.95); transform: translateY(-1px); }

/* 헤더 버튼 그룹 (불러오기 등) */
.list-header .btn-io-wrap { display: flex; gap: 8px; align-items: center; }
.list-header .btn-io-wrap .btn-open-add {
  background: #f8f9fa !important;
  color: #495057 !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
}

.student-list-wrap { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }

.st-card {
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.st-info { display: flex; justify-content: space-between; font-weight: bold; font-size: 1rem; }


.aff-btn {
  width: 28px; height: 28px;
  border-radius: 999px; border: none;
  background: #1c7ed6; color: #fff;
  font-weight: 900; display: inline-flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(28,126,214,0.25);
  margin-left: 8px;
}

.bar-group { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.bar-row { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; }
.bar-label { width: 40px; }
.bar-bg { flex: 1; height: 8px; background: #eee; border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; transition: width 0.5s; }
.fill-study { background: #4dabf7; }
.fill-stress { background: #ff6b6b; }
.bar-val { width: 34px; text-align: right; font-size: 0.78rem; }

/* =========================================
   5. 학교 지도 탭
   ========================================= */
.map-container { display: flex; flex-direction: column; gap: 10px; }
.floor-row {
  background: white;
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow);
}
.floor-name { width: 120px; font-weight: bold; color: #aaa; font-size: 0.95rem; }
.floor-area { flex: 1; display: flex; gap: 8px; flex-wrap: wrap; }
.avatar {
  min-width: 48px; height: 28px; padding: 0 10px;
  background: var(--accent); color: white;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.floor-row.outdoor {
  background: linear-gradient(180deg, #ffffff 0%, #f4fff6 100%);
  border: 1px solid rgba(77,171,247,0.15);
}
.floor-row.outdoor .floor-name { color: #74b816; }


.input-panel { padding: 20px; background: white; border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 15px;}

.tab-content {
  display: none; /* 기본 숨김 */
  flex-direction: column;
  height: 100%;
  min-height: 0;     
  overflow-y: auto;  
  overflow-x: hidden;
  gap: 15px;
  padding-bottom: 40px; 
}


.tab-content.active {
  display: flex;
}


#rel-graph {
  width: 100%;
  min-height: 450px;
  height: 450px;    
  flex: 0 0 auto;    
  
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.02);
  margin-bottom: 10px;
  position: relative; 
}


:root{
  --ui-green: #2f9e44;          
  --ui-green-soft: #d3f9d8;    
  --ui-blue-soft: #e7f5ff;
  --ui-border: rgba(0,0,0,0.08);
  --ui-shadow: 0 6px 16px rgba(0,0,0,0.10);
}

.icon-btn,
.arrow-btn,
.mini-btn,
.btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--ui-border);
  background: rgba(255,255,255,0.85);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  user-select: none;
}

.icon-btn:hover,
.arrow-btn:hover,
.mini-btn:hover,
.btn-icon:hover {
  transform: translateY(-1px);
  box-shadow: var(--ui-shadow);
  background: #fff;
}
.icon-btn:active,
.arrow-btn:active,
.mini-btn:active,
.btn-icon:active {
  transform: translateY(0) scale(0.98);
}

.arrow-btn,
.btn-arrow,
.icon-green {
  color: var(--ui-green);
  border-color: rgba(47, 158, 68, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, var(--ui-green-soft) 140%);
}
.arrow-btn:hover,
.btn-arrow:hover,
.icon-green:hover {
  border-color: rgba(47, 158, 68, 0.32);
}

.arrow,
.ui-arrow {
  color: var(--ui-green);
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}

.tab-btn {
  position: relative;
  border: 1px solid rgba(0,0,0,0.06);
  backdrop-filter: blur(6px);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.tab-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 18px rgba(0,0,0,0.08); }
.tab-btn.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(77,171,247,0.0), rgba(77,171,247,0.9), rgba(77,171,247,0.0));
  opacity: 0.95;
}

/* 4) 학생 카드의 파란 동그라미(aff-btn) 더 예쁘게 */
.aff-btn {
  background: radial-gradient(circle at 30% 30%, #74c0fc 0%, #1c7ed6 70%);
  box-shadow: 0 10px 22px rgba(28,126,214,0.25);
  border: 1px solid rgba(255,255,255,0.25);
  position: relative;
}
.aff-btn::after{
  content:"";
  position:absolute;
  inset: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  pointer-events:none;
}
.aff-btn:hover { transform: translateY(-1px) scale(1.03); }

.rel-toggles span,
.pers-chips span{
  border: 1px solid rgba(0,0,0,0.06);
  background: linear-gradient(180deg, #ffffff 0%, #f1f3f5 120%);
}
.rel-toggles input:checked + span,
.pers-chips input:checked + span{
  background: linear-gradient(180deg, rgba(77,171,247,1) 0%, rgba(30,120,214,1) 120%);
  box-shadow: 0 10px 18px rgba(28,126,214,0.18);
}

#console-box::-webkit-scrollbar,
.student-list-wrap::-webkit-scrollbar,
.tab-content::-webkit-scrollbar {
  width: 8px;
}
#console-box::-webkit-scrollbar-thumb,
.student-list-wrap::-webkit-scrollbar-thumb,
.tab-content::-webkit-scrollbar-thumb {
  background: rgba(77,171,247,0.35);
  border-radius: 999px;
}
#console-box::-webkit-scrollbar-track,
.student-list-wrap::-webkit-scrollbar-track,
.tab-content::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.03);
  border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

#rel-list-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
}

.rel-item {
  background: white;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
  font-size: 0.95rem;
  
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.1s;
}

.rel-item:hover {
  transform: translateX(2px);
  border-color: #4dabf7;
}

.rel-inputs {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 15px;
  background: #f8f9fa; padding: 15px;
  border-radius: 16px; border: 1px solid #e9ecef;
}
.rel-inputs select {
  flex: 1; width: 100%; padding: 10px;
  font-family: 'Gowun Dodum', sans-serif;
  font-weight: 700; color: #495057;
  background: #fff; border: 2px solid #e3f2fd;
  border-radius: 12px; cursor: pointer; outline: none;
}
.rel-inputs select:hover { border-color: #4dabf7; background-color: #f1f8ff; }
.rel-inputs select:focus { border-color: #1c7ed6; }


.rel-toggles { display: flex; gap: 10px; margin-bottom: 15px; flex-wrap: wrap; }
.rel-toggles label { cursor: pointer; }
.rel-toggles input { display: none; }

.rel-toggles span {
  display: inline-block; padding: 8px 16px;
  background: #f1f3f5; border-radius: 20px;
  color: #495057; transition: 0.2s;
}
.rel-toggles input:checked + span {
  background: var(--accent);
  color: white; font-weight: bold;
  transform: scale(1.05);
}

.btn-full-dark { width: 100%; background: #333; color: white; border: none; padding: 12px; border-radius: 8px; cursor: pointer; font-weight: bold; }
.rel-item { background: white; padding: 10px; margin-bottom: 6px; border-radius: 8px; border: 1px solid #eee; font-size: 0.9rem; }


/* =========================================
   7. 모달 (학생추가 등)
   ========================================= */
.modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: flex; justify-content: center; align-items: center;
}
.hidden { display: none !important; }

.modal-box {
  background: white; padding: 25px; border-radius: 20px;
  width: 420px; max-width: calc(100vw - 40px);
  animation: popUp 0.3s;
}
.modal-box h3 { margin-bottom: 12px; text-align: center; color: #333; }

.input-row { display: flex; gap: 10px; margin-bottom: 14px; }
.input-row input, .input-row select { padding: 10px; border: 1px solid #ddd; border-radius: 8px; flex: 1; }

.pers-section { margin: 6px 0 12px; }
.pers-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.pers-chips label { cursor: pointer; }
.pers-chips input { display: none; }
.pers-chips span {
  display: inline-block; padding: 8px 16px;
  background: #f1f3f5; border-radius: 20px;
  color: #495057; transition: 0.2s; font-size: 0.9rem;
}
.pers-chips input:checked + span { background: var(--accent); color: white; font-weight: bold; transform: scale(1.05); }

.stat-sliders { background: #f8f9fa; padding: 15px; border-radius: 10px; margin-bottom: 18px; }
.stat-guide { font-size: 0.82rem; color: #888; margin-bottom: 10px; text-align: center; }
.slider-row { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; margin-bottom: 8px; }
.slider-row label { width: 78px; }
.slider-row input { flex: 1; accent-color: var(--accent); cursor: pointer; }
.val-display { width: 20px; font-weight: bold; color: var(--accent); }

.modal-btns { display: flex; gap: 10px; }
.btn-cancel { flex: 1; background: #eee; border: none; padding: 12px; border-radius: 8px; cursor: pointer; }
.btn-confirm { flex: 1; background: var(--accent); color: white; border: none; padding: 12px; border-radius: 8px; cursor: pointer; font-weight: bold; }

/* =========================================
   8. 폰 모달 & 채팅
   ========================================= */
#phone-modal {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; justify-content: center; align-items: center;
  padding: 20px; background: rgba(10, 20, 40, 0.4);
  backdrop-filter: blur(4px);
}
.phone-skin {
  width: 360px; height: 720px; max-height: 90vh;
  background: #e6f7ff; border-radius: 50px; border: 12px solid #222;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: phoneUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.top-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 150px; height: 30px; background: #222;
  border-radius: 0 0 20px 20px; z-index: 100;
}
.phone-status-bar {
  height: 50px; display: flex; justify-content: space-between; align-items: center;
  padding: 10px 30px 0; font-size: 0.9rem; font-weight: 700; color: #333; z-index: 90;
}
.chat-header {
  flex-shrink: 0; padding: 10px 20px 15px;
  background: rgba(230, 247, 255, 0.9); border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex; justify-content: space-between; align-items: center;
  font-weight: bold; color: #444; z-index: 10;
}
.chat-body {
  flex: 1; overflow-y: auto; padding: 20px;
  display: flex; flex-direction: column; gap: 15px; scrollbar-width: none;
}
.chat-body::-webkit-scrollbar { display: none; }

.msg-bubble {
  padding: 12px 18px; border-radius: 24px;
  font-size: 0.95rem; max-width: 75%; line-height: 1.5;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05); position: relative;
}
.msg-left {
  align-self: flex-start; background-color: #5487f5; color: white;
  border-bottom-left-radius: 5px;
}
.msg-left .name { color: rgba(255,255,255,0.8); font-size: 0.75rem; margin-bottom: 4px; }
.msg-right {
  align-self: flex-end; background-color: #f0f9ff; color: #333;
  border: 1px solid #e1eef6; border-bottom-right-radius: 5px;
}

.chat-input-area {
  flex-shrink: 0; background: #ffffff;
  display: flex; align-items: center; gap: 10px;
  padding: 15px 20px 30px; border-top: 1px solid #eee;
}
#teacher-input {
  flex: 1; height: 46px; padding: 0 20px;
  border-radius: 23px; border: 1px solid #e0e0e0;
  background: #f7f9fc; font-size: 1rem; outline: none; transition: 0.2s;
}
#teacher-input:focus { background: #fff; border-color: #5487f5; }
.btn-send-msg {
  width: 46px; height: 46px; border-radius: 50%;
  background: #5487f5; color: white; border: none; cursor: pointer;
  display: flex; justify-content: center; align-items: center; font-size: 1.2rem;
  transition: transform 0.1s;
}
.btn-send-msg:hover { transform: scale(1.05); }

/* =========================================
   9. 모바일/태블릿 반응형 레이아웃
   ========================================= */
/* =========================================
   9. 모바일/태블릿 반응형 레이아웃 (스크롤 수정)
   ========================================= */
@media (max-width: 768px) {
  
  #screen-game {
    display: flex; 
    flex-direction: column;
    height: 100vh;     
    height: 100dvh;   
    overflow-y: auto;   
    overflow-x: hidden;
    padding-bottom: 80px;
    -webkit-overflow-scrolling: touch; 
  }


  .area-left, .area-right { 
    display: contents; 
  }


  .top-bar { order: 1; margin-bottom: 10px; flex-shrink: 0; }
  
  .console-wrapper { 
    order: 2; 
    height: 180px; 
    flex: none; /* 크기 고정 */
    margin-bottom: 15px; 
  }
  
  .btn-next-day { 
    order: 3; 
    width: 100%; 
    padding: 16px; 
    margin-bottom: 25px; 
    flex-shrink: 0;
  }
  
  .tab-nav { 
    order: 4; 
    position: sticky; 
    top: 0; 
    z-index: 100; 
    background: #f1f8ff; 
    padding: 10px 0;
    margin-bottom: 10px;
    box-shadow: 0 4px 6px -4px rgba(0,0,0,0.1); 
  }


  .tab-content { 
    order: 5; 
    height: auto !important;   
    overflow: visible !important; 
    flex: none; 
    display: none;
  }
  
  .tab-content.active {
    display: flex;
  }

  /* 4. [중요] 관계도 그래프 높이 축소 (스크롤 공간 확보) */
  #rel-graph {
    height: 300px !important; 
    touch-action: pan-y;    
    margin-bottom: 20px;
  }

  #rel-graph::after {
    content: "▼ 빈 공간을 터치하여 스크롤하세요 ▼";
    position: absolute;
    bottom: -20px;
    left: 0; width: 100%;
    text-align: center;
    font-size: 0.7rem;
    color: #adb5bd;
  }

  .student-list-wrap, 
  #rel-list-box { 
    overflow: visible !important; 
    height: auto !important;
    max-height: none !important;
  }

  .phone-skin { 
    width: 90vw; 
    height: 85vh; 
    max-width: none; 
    max-height: none; 
    border-width: 8px; 
    border-radius: 30px; 
  }
  
  .chat-input-area { 
    padding-bottom: 20px; 
  }
}

@media (max-width: 600px) {
  #tab-students .list-header { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 8px; 
    padding: 12px; 
  }
  #tab-students .list-header > span { 
    width: 100%; 
    margin-bottom: 2px; 
  }
  #tab-students .list-header .btn-io-wrap { 
    width: 100%; 
    display: flex; 
    gap: 6px; 
  }
  #tab-students .list-header .btn-open-add, 
  #tab-students .list-header .btn-io-wrap .btn-open-add {
    font-size: 0.8rem !important; 
    padding: 0 8px !important;
    height: 36px !important; 
    line-height: 36px;
    flex: 1; 
    display: flex; 
    justify-content: center; 
    align-items: center;
  }
}

/* 애니메이션 정의 */
@keyframes glow { from { opacity: 0.9; } to { opacity: 1; text-shadow: 0 0 20px #fff; } }
@keyframes popUp { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes phoneUp { from { transform: translateY(30px) scale(0.98); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
body.theme-sunset::before {
  background: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
  opacity: 1; 
}
body.theme-sunset {
  color: #343a40; 
}


body.theme-deepblue::before {
  background: linear-gradient(180deg, #0044ff 0%, #0000aa 100%);
  opacity: 1; 
}
body.theme-deepblue {
  color: #ffffff !important; 
}

body.theme-deepblue .main-title, 
body.theme-deepblue .intro-text,
body.theme-deepblue .log-line,
body.theme-deepblue .sys-msg {
  color: #ffffff !important;
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}


body.theme-clearsky::before {
  background: linear-gradient(120deg, #89f7fe 0%, #66a6ff 100%);
  opacity: 1; 
}
body.theme-clearsky {
  color: #343a40;
}


