* {
     box-sizing: border-box;
}
 @font-face {
     font-family: "Quando";
     font-style: normal;
     font-weight: 400;
     font-display: swap;
     src: url("https://fonts.gstatic.com/s/quando/v18/xMQVuFNaVa6YuW0pCw.ttf") format("truetype");
}
 :root {
     --bg-white: #ffffff;
     --border-blue: #c5dce5;
     --header-text: #fff;
     --main-blue: #aabbcc;
     --sb-size: 12px;
     --sb-track-color: #f1f1f1;
     --sb-thumb-color: #aabbcc;
}
 * {
     box-sizing: border-box;
}
 .main-layout {
     display: grid;
     grid-template-columns: 1fr 180px 180px;
     gap: 15px;
     align-items: start;
}
 .bottom-row {
     grid-column: 1 / 3;
     grid-row: 2;
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 15px;
     align-items: stretch;
}
 .split-right {
     grid-column: 2;
     grid-row: 3 / span 20;
     height: 100%;
     display: flex;
     flex-direction: column;
}
 .split-right .win-content {
     flex-grow: 1;
}
 .main-col {
     grid-column: 1;
     grid-row: 3;
     display: flex;
     flex-direction: column;
     gap: 15px;
}
 .side-col {
     grid-column: 1;
     grid-row: 4;
}
 .split-left {
     grid-column: 1 / 3;
     grid-row: 1;
}
 .side-col-extra {
     grid-column: 3;
     grid-row: 1 / span 25;
}
 body {
     background: #dce7f9 url("https://files.catbox.moe/1tmi5p.png") repeat;
     font-family: 'Quando', Courier, monospace;
     color: #ffffff;
     margin: 20px;
     cursor: url('https://file.garden/ZtOzYrPCZ1cAh7gi/2026_04_23_0h9_Kleki.png'), auto;
}
 a:hover, button:hover {
     cursor: url('https://file.garden/ZtOzYrPCZ1cAh7gi/2026_04_23_0hq_Kleki.png'), auto;
}
 #container {
     max-width: 1100px;
     margin: 0 auto;
     background: #fff;
     border: 20px solid transparent;
     border-image-source: url("https://file.garden/ZtOzYrPCZ1cAh7gi/lacebox");
     border-image-slice: 25;
     border-image-repeat: round;
     border-image-outset: 10px;
     padding: 15px;
}
 header {
     padding: 10px 0;
     margin-bottom: 10px;
}
 header img {
     width: 100%;
     display: block;
}
 header .banner {
     position: relative;
     height: 280px;
     overflow: hidden;
     border-radius: 12px;
     border: 8px solid transparent;
     background-image: linear-gradient(white, white), linear-gradient(180deg, #dbe2e9, #b4c3d2, #dbe2e9);
     background-origin: border-box;
     background-clip: padding-box, border-box;
     margin-bottom: 10px;
}
 header h1 {
     position: absolute;
     top: 20px;
     left: 20px;
     margin: 0;
     z-index: 10;
     text-shadow: -1px -1px 0 #aabbcc, 1px -1px 0 #aabbcc, -1px 1px 0 #aabbcc, 1px 1px 0 #aabbcc;
     color: #ffffff;
}
 header .banner img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
}
 .window {
     border: 3px solid transparent;
     background-image: linear-gradient(white, white), linear-gradient(180deg, #dbe2e9, #b4c3d2, #dbe2e9);
     background-origin: border-box;
     background-clip: padding-box, border-box;
     border-radius: 12px;
     margin-bottom: 15px;
     display: flex;
     flex-direction: column;
}
 .win-title {
     background: linear-gradient(180deg, #dbe2e9 20%, #b4c3d2 50%, #dbe2e9 120%);
     color: #ffffff;
     padding: 5px 10px;
     font-weight: bold;
     font-size: 0.9rem;
     text-transform: lowercase;
     display: flex;
     justify-content: space-between;
     align-items: center;
     border-radius: 8px 8px 0 0;
}
 .win-buttons {
     display: flex;
     gap: 4px;
}
 .win-btn {
     width: 18px;
     height: 18px;
     background: #fff;
     color: var(--main-blue);
     border: 1px solid #fff;
     border-radius: 3px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 12px;
}
 .win-content {
     padding: 15px;
     font-size: 0.85rem;
     color: #555;
     background: white;
     border-radius: 0 0 8px 8px;
     text-align: center;
}
 .win-content img {
     max-width: 100%;
     height: auto;
     margin-bottom: 10px;
}
 .button-animated-menu ul {
     list-style: none;
     padding: 0;
     display: flex;
     flex-direction: column;
     gap: 10px;
}
 .button-animated-menu a {
     background: linear-gradient(180deg, #dbe2e9 20%, #b4c3d2 30%, #dbe2e9 80%);
     border: 2px solid #b4c3d2;
     border-radius: 5px;
     padding: 10px;
     color: #fff;
     text-decoration: none;
     display: block;
}
 .update-list {
     list-style: none;
     padding: 0;
     font-size: 0.75rem;
     text-align: left;
}
 .update-list li {
     margin-bottom: 5px;
     padding-bottom: 2px;
}
 ::-webkit-scrollbar {
     width: var(--sb-size);
}
 ::-webkit-scrollbar-track {
     background: var(--sb-track-color);
}
 ::-webkit-scrollbar-thumb {
     background: var(--sb-thumb-color);
     border-radius: 3px;
}
 footer {
     text-align: center;
     font-size: 0.7rem;
     margin-top: 20px;
     color: #555;
}
 #calendar-container h3 {
     font-size: 1.1rem;
     margin-bottom: 5px;
}
 .calendar-grid {
     display: grid;
     grid-template-columns: repeat(7, 1fr);
     gap: 1px;
     font-size: 0.75rem;
     width: 100%;
}
 .day {
     padding: 2px 0;
     border: 1px solid #aabbcc;
     text-align: center;
}
 #calendar-box {
     display: block;
     padding: 5px;
     overflow: hidden;
}
 #calendar-container {
     width: 100%;
     height: 100%;
}
 #calendar-container h3 span {
     font-size: 1.1rem;
     display: inline-block;
}
 .code {
     width: 100%;
     height: 60px;
     box-sizing: border-box;
     resize: none;
     font-family: monospace;
     font-size: 0.7rem;
     padding: 5px;
     border: 1px solid #c5dce5;
     background: #f9f9f9;
     white-space: pre-wrap;
     overflow-y: auto;
}
 .update-list {
     max-height: 200px;
     overflow-y: auto;
}

#theme {
  width: 100%;
  box-sizing: border-box;
  display: block;
  margin-top: 10px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  background-color: white; 
  padding: 10px 35px 10px 15px;
  font-family: 'Quando', serif;
  font-size: 1rem;
  color: #555;
  cursor: pointer;
  border-radius: 12px;
  border: 4px solid transparent; 
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-image: 
    linear-gradient(white, white), 
    linear-gradient(180deg, #dbe2e9, #b4c3d2, #dbe2e9),
    url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23b4c3d2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: left top, left top, calc(100% - 12px) center;
  background-size: auto, auto, 12px;
}

 #theme:hover {
     filter: brightness(0.98);
}
 a {
     color: #959faa;
}
 @media (max-width: 800px) {
     #container {
         border-width: 10px;
         margin: 10px;
         padding: 10px;
    }
     .main-layout {
         display: flex;
         flex-direction: column;
         gap: 10px;
    }
     .side-col, .side-col-extra, .main-col, .wide-window, .bottom-row {
         grid-column: auto !important;
         grid-row: auto !important;
         width: 100%;
    }
     .bottom-row {
         display: flex;
         flex-direction: column;
    }
     header .banner {
         height: 150px;
    }
     header h1 {
         font-size: 1.5rem;
         top: 10px;
         left: 10px;
    }
     .win-content {
         font-size: 1rem;
    }
}
