html {
scroll-behavior: smooth; 
}

/* --- Custom Pink Browser Scrollbar --- */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: #fff6f8; 
}
::-webkit-scrollbar-thumb {
  background-color: #fcc0d8; 
  border-radius: 10px;       
  border: 3px solid #fff6f8;  
}
::-webkit-scrollbar-thumb:hover {
  background-color: #e6a5bc; 
}

@font-face {                  
font-family: 'CHNOPixel-Italic';
src: url(https://humantooth.neocities.org/fonts/CHNOPixelCodePro-Italic.woff format('woff');
font-weight: normal;
font-style: normal;
} 

body {
  background-color: #fff6f8;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.6) 50%, transparent 50%),
    linear-gradient(rgba(255,255,255,.6) 50%, transparent 50%);
  background-size: 60px 60px;
  font-family: "CHNOPixel-Italic";
  font-stretch: ultra-condensed;
  font-size: 16px;
  color: #7a4652; 

}

/* --- HOME PAGE STYLES (BOXED LAYOUT) --- */
.container {
  width: 1200px;
  margin: 20px auto;
  background: #fff8f8;
  border: 5px solid #e6a5bc; 
  border-radius: 30px;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(220, 160, 180, 0.15); 
}

body:not(.unboxed-theme) header {
  background: #f7eef1;
  border: 2px solid #e6a5bc;
  border-radius: 15px;
  padding: 15px 10px;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(220, 160, 180, 0.1); 
  display: flex;
  justify-content: center; 
  align-items: center;
}

body:not(.unboxed-theme) .layout {
  display: grid;
  grid-template-columns: 220px 1fr 250px;
  gap: 15px;
  margin-bottom: 15px; 
}

body:not(.unboxed-theme) .sidebar {
  background: #fceef2;
  border: 2px solid #fcc0d8; 
  padding: 10px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(220, 160, 180, 0.08); 
  display: flex;
  flex-direction: column;
}

body:not(.unboxed-theme) .sidebar a {
  display: block;
  text-decoration: none;
  padding: 8px;
  margin: 6px 0;
  background: #fff;
  border: 1px solid #fcc0d8; 
  border-radius: 8px;
  color: #e6aab8;
  transition: all 0.25s ease; 
}

body:not(.unboxed-theme) .sidebar a:hover {
  background: #ffe4ec;
  color: #b05c74; 
  border-color: #e6a5bc;
  transform: translate(3px, -2px); 
  box-shadow: 0 4px 8px rgba(220, 160, 180, 0.15);
}

body:not(.unboxed-theme) .welcome,
body:not(.unboxed-theme) .posts,
body:not(.unboxed-theme) .box {
  background: #fffdf8;
  border: 2px solid #fcc0d8; 
  border-radius: 12px;
  padding: 15px;
  min-height: 150px;
  box-shadow: 0 4px 12px rgba(220, 160, 180, 0.08); 
}

body:not(.unboxed-theme) aside {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

body:not(.unboxed-theme) .bottom-section {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 15px;
  align-items: stretch;
}


/* --- LAW PAGE STYLES (UNBOXED MODIFIER THEME) --- */
.unboxed-theme .container {
  width: auto;
  max-width: 100%;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.unboxed-theme .main-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.unboxed-theme header {
  padding: 30px 10px 10px 10px;
  display: flex;
  justify-content: center; 
  align-items: center;
}

.unboxed-theme .top-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 15px 10px;
  max-width: 900px;
  margin: 0 auto 30px auto;
  border-bottom: 2px dashed #fcc0d8;
}

.unboxed-theme .top-navigation a {
  text-decoration: none;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #fcc0d8; 
  border-radius: 20px;
  color: #e6aab8;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease; 
  box-shadow: 0 4px 10px rgba(220, 160, 180, 0.05);
}

.unboxed-theme .top-navigation a:hover {
  background: #ffe4ec;
  color: #b05c74; 
  border-color: #e6a5bc;
  transform: translateY(-2px); 
  box-shadow: 0 4px 8px rgba(220, 160, 180, 0.12);
}

.unboxed-theme .layout-grid {
  display: grid;
  grid-template-columns: 1fr 280px; 
  gap: 40px;
  margin-bottom: 30px;
}

.unboxed-theme main {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.unboxed-theme section, 
.unboxed-theme .side-content {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.unboxed-theme aside {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.unboxed-theme .bottom-section {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 40px;
  padding-top: 25px;
  border-top: 2px dashed #fcc0d8;
  margin-top: 25px;
}


/* --- SHARED STYLING COMPONENTS (USED BY BOTH LAYOUTS) --- */
header h1 {
  margin: 0;
  text-align: center;
  font-size: 36px;
  color: #e6a5bc;
  text-shadow: 0 0 10px rgba(230, 165, 188, 0.6), 0 0 20px rgba(230, 165, 188, 0.3); 
}

.glitter-title-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Custom formatting to ensure your bow banner image spans perfectly and looks crisp */
.glitter-title-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.site-banner-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px; /* Smooths the banner corners cleanly */
  display: block;
}


.nav-title {
  font-weight: 600;
  color: #7a4652;
  background: #ffe4ec;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  font-size: 14px;
  margin-bottom: 10px;
  border: 1px solid #fcc0d8;
  align-self: flex-start;
}

.calendar-box h4 {
  font-weight: 600;
  color: #7a4652;
  background: #ffe4ec;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  font-size: 14px;
  margin-top: 15px;
  margin-bottom: 5px;
  border: 1px solid #fcc0d8;
  align-self: flex-start;
}

.countdown-card {
  background: #fffdf8;
  border: 1px dashed #e6a5bc;
  border-radius: 12px;
  padding: 10px;
  margin-top: 15px;
  text-align: center;
}

.countdown-card h5 {
  margin: 0 0 4px 0;
  font-size: 12px;
  color: #b05c74;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#exam-countdown {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #7a4652;
}

#toggleAnimationBtn {
  width: 100%;
  padding: 8px;
  border: 1px solid #fcc0d8;
  border-radius: 8px;
  background: #ffe4ec;
  color: #b05c74;
  font-family: 'Fredoka', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.2s ease;
}

#toggleAnimationBtn:hover {
  background: #fcc0d8;
  color: #7a4652;
}

.entry-expanded {
  flex-grow: 1;
  min-height: 280px; 
}

.diary-text-content {
  background: #fffafb;
  border-left: 4px solid #edafbd;
  padding: 12px 15px;
  margin-top: 10px;
  border-radius: 0 8px 8px 0;
  line-height: 1.6;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(220, 160, 180, 0.05);
}

blockquote {
  background: #fdf6f8;
  border: 1px dashed #e6a5bc;
  border-radius: 8px;
  padding: 10px 15px;
  margin: 12px 0;
  font-style: italic;
  color: #945564;
  position: relative;
}

blockquote::before {
  content: "“";
  font-size: 24px;
  color: #edafbd;
  position: absolute;
  left: 5px;
  top: -2px;
  font-family: serif;
}

.diary-link {
  color: #d96279;
  text-decoration: none;
  border-bottom: 2px dotted #fcc0d8;
  font-weight: 500;
  transition: all 0.2s ease;
}

.diary-link:hover {
  color: #b05c74;
  border-bottom-style: solid;
  background-color: #fff0f3;
  border-radius: 4px;
  padding: 0 4px;
}

.mini-blog h3::before {
  content: "✦ ";
  color: #edafbd;
  font-size: 16px;
}

.mood-sidebar-box {
  min-height: 90px !important; 
}

.music-box {
  min-height: 90px !important;
}

.cassette-player {
  background: #fff6f8;
  border: 1px dashed #e6a5bc;
  border-radius: 8px;
  padding: 8px;
  margin-top: 5px;
}
/* Removes standard link styling from the interactive music card container */
.player-stream-link {
  text-decoration: none;
  display: block;
}

.player-stream-link:hover .cassette-player {
  background: #ffe4ec;
  border-color: #e6a5bc;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(220, 160, 180, 0.1);
}


.player-flex {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cassette-tape {
  font-size: 24px;
  animation: pulse 2s infinite ease-in-out;
}

.track-details {
  display: flex;
  flex-direction: column;
}

.track-title {
  font-size: 13px;
  font-weight: 600;
  color: #7a4652;
}

.track-artist {
  font-size: 11px;
  color: #e6aab8;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

h1,h2,h3{
  color:#edafbd;
  margin-top: 0;
}

.profile {
  border-radius: 50%;
  border: 3px solid #fcc0d8;
  max-width: 110px;
  margin-bottom: 10px;
}

.badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.subject-badge {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 500;
  border: 1px solid #fcc0d8;
  display: inline-block;
}

.badge-psych { background: #fff0f3; color: #d96279; }
.badge-soc { background: #f0f4ff; color: #5a7be0; }
.badge-eng { background: #fdfbef; color: #bfa124; }

.heart-list {
  list-style: none; 
  padding-left: 5px;
}

.heart-list li {
  position: relative;
  padding-left: 22px; 
  margin-bottom: 8px;
}

.heart-list li::before {
  content: "♥"; 
  position: absolute;
  left: 0;
  top: 0;
  color: #edafbd; 
  font-size: 14px;
}

.footer-gif-box {
  background: #fffdf8;
  border: 3px dashed #fcc0d8; 
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(220, 160, 180, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  max-height: 140px;
}

.footer-gif {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  border-radius: 6px;
}

#backToTopBtn {
  display: none; 
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 99;
  background-color: #fffdf8;
  color: #e6a5bc;
  border: 2px solid #fcc0d8;
  padding: 10px 14px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(220, 160, 180, 0.2);
  transition: all 0.2s ease;
}

#backToTopBtn:hover {
  background-color: #ffe4ec;
  color: #b05c74;
  border-color: #e6a5bc;
  transform: scale(1.1);
}

@media(max-width:900px){
  body:not(.unboxed-theme) .layout, 
  .unboxed-theme .layout-grid, 
  .bottom-section {
    grid-template-columns: 1fr; 
    gap: 20px;
  }
  .container{
    width:95%;
  }
}

/* --- FALLING EFFECT LAYOUT ASSETS --- */
.float{
  position:fixed;
  top:-20px;
  animation:fall 7s linear;
  font-size:20px;
  pointer-events:none;
}
@keyframes fall{
  to{ transform: translateY(110vh); }
}
.sparkle{
  position:absolute;
  width:8px;
  height:8px;
  background:white;
  border-radius:50%;
  animation: fade .5s linear;
  pointer-events:none;
}
/* --- LAW CLEAN WORKING CONTAINER LAYOUT --- */
.law-clean-layout .top-navigation {
  margin-top: 30px; /* Replaces top image spacing */
}

.law-container {
  max-width: 900px;
  margin: 0 auto;
  background: #fff8f8;
  border: 4px solid #e6a5bc;
  border-radius: 24px;
  padding: 25px;
  box-shadow: 0 8px 24px rgba(220, 160, 180, 0.1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.law-container section {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  min-height: auto !important;
}
/* --- Glowing Active Navigation Tab Indicator --- */
.top-navigation a.active-tab {
  background: #ffe4ec !important;
  color: #b05c74 !important;
  border-color: #e6a5bc !important;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(230, 165, 188, 0.4);
}

/* --- Cute Pastel Cohesive Revision Table Layout --- */
.study-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0 20px 0;
  font-size: 14px;
  text-align: left;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(220, 160, 180, 0.04);
}

.study-table th {
  background-color: #f7eef1;
  color: #7a4652;
  font-weight: 600;
  padding: 10px 12px;
  border-bottom: 2px solid #e6a5bc;
}

.study-table td {
  padding: 10px 12px;
  border-bottom: 1px dashed #fcc0d8;
  color: #8c5361;
  background-color: #fffdfb;
}

.study-table tr:last-child td {
  border-bottom: none; /* Clears bottom boundary row line line rules */
}

.study-table tr:hover td {
  background-color: #fff0f3; /* Gentle row row hover treatment */
}
/* --- NEW STICKY STUDY CHECKLIST PANEL --- */
.study-checklist {
  background: #fffdf8;
  border: 1px dashed #e6a5bc;
  border-radius: 12px;
  padding: 12px 18px;
  margin-top: 15px;
  box-shadow: 0 4px 12px rgba(220, 160, 180, 0.03);
}

.study-checklist h4 {
  margin: 0 0 8px 0;
  color: #7a4652;
  font-size: 14px;
  font-weight: 600;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #8c5361;
  margin: 5px 0;
  cursor: pointer;
}

/* Customizes checkbox inputs to fit the soft pink design theme */
.check-item input[type="checkbox"] {
  accent-color: #edafbd;
  cursor: pointer;
  width: 15px;
  height: 15px;
}

/* --- POP-UP GLOSSARY KEY TERM DEFINITION CONTAINER --- */
.glossary-term {
  background: #fff0f3;
  border: 1px solid #fcc0d8;
  border-radius: 10px;
  padding: 12px 15px;
  margin-top: 15px;
  box-shadow: 0 4px 10px rgba(220, 160, 180, 0.04);
}

.glossary-word {
  font-size: 13px;
  font-weight: 600;
  color: #d96279;
  background: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid #fcc0d8;
  display: inline-block;
  margin-bottom: 5px;
}

.glossary-meaning {
  margin: 0;
  font-size: 13px;
  color: #7a4652;
  line-height: 1.5;
}
/* --- BLOG META STYLING RULES --- */
.blog-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: -5px;
}

.blog-date-tag {
  font-size: 12px;
  color: #e6aab8;
  background: #fff;
  padding: 2px 10px;
  border: 1px dashed #fcc0d8;
  border-radius: 12px;
}

/* --- SITE TIMELINE ARCHITECTURE --- */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  padding-left: 15px;
}

/* Central vertical connecting line trace */
.timeline-container::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 2px;
  background-color: #fcc0d8;
}

.timeline-node {
  position: relative;
}

/* Circular dot marker on the vertical line */
.timeline-node::before {
  content: "✦";
  position: absolute;
  left: -21px;
  top: -1px;
  color: #edafbd;
  background-color: #fffdf8;
  font-size: 14px;
  line-height: 1;
}

.node-date {
  font-size: 12px;
  font-weight: 600;
  color: #d96279;
  display: block;
  margin-bottom: 2px;
}

.node-text {
  margin: 0;
  font-size: 14px;
  color: #7a4652;
}

/* --- CENTERED CONTACT INFO CARD --- */
.contact-card-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
}

.centered-contact-card {
  background: #fffdf8;
  border: 2px dashed #fcc0d8;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  max-width: 550px;
  width: 100%;
  box-shadow: 0 4px 15px rgba(220, 160, 180, 0.04);
}

.centered-contact-card h4 {
  margin: 0 0 10px 0;
  color: #b05c74;
  font-size: 16px;
  font-weight: 600;
}

.centered-contact-card p {
  margin: 0 0 15px 0;
  font-size: 13px;
  color: #7a4652;
}

.contact-links-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 500;
  color: #d96279;
}

 /* --- THE JOURNAL FRAME CONTAINER (Book/Notebook Style) --- */
.journal-frame-wrapper {
  display: block !important;
  clear: both !important;
  max-width: 940px !important;
  margin: 40px auto !important;
  
  /* Creates a lined diary paper background with a pink vertical margin strip */
  background-color: #fffdf8 !important; 
  background-image: 
    linear-gradient(to right, transparent 38px, #fcc0d8 38px, #fcc0d8 39px, transparent 40px), /* Faint pink vertical line */
    linear-gradient(#fffdf8 96%, #f5e6ea 4%) !important; /* Soft notebook horizontal page lines */
  background-size: 100% 100%, 100% 26px !important; /* Lines are sized perfectly to align behind text */
  
  border: 4px solid #e6a5bc !important; 
  border-radius: 24px !important;
  padding: 30px 30px 30px 50px !important; /* Shifted left padding to leave clear space for the notebook line */
  box-shadow: 
    0 10px 30px rgba(220, 160, 180, 0.15),
    inset 15px 0 20px rgba(122, 70, 82, 0.02) !important; /* Soft internal shadow mimicking a book crease binding */
  box-sizing: border-box !important;
}


/* Horizontal Link Menu Bar */
.journal-mini-nav {
  display: flex !important;
  gap: 20px !important;
  font-size: 13px !important;
  color: #e6aab8 !important;
  border-bottom: 2px dashed #fcc0d8 !important;
  padding-bottom: 12px !important;
  margin-bottom: 25px !important;
  font-weight: 500 !important;
}

.journal-mini-nav span, 
.journal-mini-nav a {
  text-decoration: none !important;
  color: #e6aab8 !important;
}

.journal-mini-nav a:hover {
  color: #b05c74 !important;
}

.journal-nav-home {
  margin-left: auto !important;
}

/* --- FORCE SIDE-BY-SIDE COLUMNS --- */
.journal-layout-grid {
  display: flex !important;
  flex-direction: row !important;
  gap: 35px !important;
  align-items: start !important;
  width: 100% !important;
}

/* Left To-Do Column */
.journal-sidebar {
  width: 250px !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.journal-todo-box {
  background: #fffafb !important;
  border: 2px dashed #fcc0d8 !important;
  border-radius: 16px !important;
  padding: 15px !important;
  box-sizing: border-box !important;
}

.journal-todo-box h4 {
  margin: 0 0 12px 0 !important;
  color: #b05c74 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: center !important;
}

.journal-todo-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.journal-todo-list li {
  padding-left: 20px !important;
  font-size: 13px !important;
  color: #7a4652 !important;
  margin-bottom: 12px !important;
  line-height: 1.5 !important;
  position: relative !important;
}

.journal-todo-list li::before {
  content: "♡" !important;
  color: #edafbd !important;
  font-size: 14px !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
}

.journal-todo-list li.done-item {
  text-decoration: line-through !important;
  color: #e6aab8 !important;
  opacity: 0.7 !important;
}

/* Right Text Stream Column */
.journal-main-content {
  flex-grow: 1 !important;
  display: block !important;
}

.journal-entry {
  width: 100% !important;
}

.journal-entry-header {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #d96279 !important;
  background: #ffe4ec !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  display: inline-block !important;
  margin-bottom: 15px !important;
  border: 1px solid #fcc0d8 !important;
}

.journal-body-text {
  line-height: 1.7 !important;
  font-size: 14px !important;
  color: #613640 !important;
}

.journal-salutation {
  font-weight: 600 !important;
  font-size: 15px !important;
  margin-bottom: 12px !important;
  color: #7a4652 !important;
}

.journal-goal-highlight {
  margin-top: 25px !important;
  background: #fff6f8 !important;
  border-left: 4px solid #edafbd !important;
  padding: 12px 15px !important;
  border-radius: 0 8px 8px 0 !important;
  font-size: 13px !important;
}

.journal-entry-footer {
  margin-top: 30px !important;
  padding-top: 10px !important;
  border-top: 1px dashed #fcc0d8 !important;
  display: flex !important;
  justify-content: center !important;
}

.journal-scroll-top-link {
  font-size: 12px !important;
  text-decoration: none !important;
  color: #e6aab8 !important;
}

.journal-scroll-top-link:hover {
  color: #b05c74 !important;
}

/* Mobile Layout Fix */
@media(max-width: 800px) {
  .journal-layout-grid {
    flex-direction: column !important;
  }
  .journal-sidebar {
    width: 100% !important;
  }
}

