/* =========================================
   DICTIONARY & WOTD
   ========================================= */
   .editorial-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e2e8f040; padding-bottom: 15px; margin-bottom: 20px; }
   .label-text { font-family: 'Poppins', sans-serif; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #e2af24; }
   .date-text { font-family: 'Merriweather', serif; font-size: 0.85rem; font-style: italic; color: #cbdbf1; }
   .alphabet-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 30px; }
   .letter-link { text-decoration: none; color: white; background: rgba(255,255,255,0.05); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-weight: 500; border: 1px solid rgba(255,255,255,0.2); transition: all 0.3s ease; }
   .letter-link:hover { background: rgba(255,255,255,0.15); color: white; transform: translateY(-5px); border-color: var(--blue); box-shadow: 0 0 10px rgba(56,189,248,0.3); }
   .letter-link.active { background: rgba(56, 189, 248, 0.15); color: var(--blue); border-color: var(--blue); box-shadow: inset 0px 0px 10px 0px rgba(56, 189, 248, 0.2); }
   
   .word-results { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 25px; width: 100%; }
   .word-tag { background: rgba(255, 255, 255, 0.05); color: white; border: 1px solid rgba(255,255,255,0.2); padding: 10px 20px; border-radius: 30px; text-decoration: none; font-weight: 500; transition: all 0.3s ease; cursor: pointer; display: inline-block; box-shadow: inset 3px -3px 5px 0px #b2d8ff8c; }
   .word-tag:hover { background: rgba(255, 255, 255, 0.13); color: white; border: 1px solid rgba(255, 255, 255, 0.226); transition: all 0.3s ease; box-shadow: inset 3px -3px 5px 0px #b2d8ff9f; transform: translateX(5px) translateY(-4px); }
   
   .def-result-container { text-align: justify; background: #263349; color: #f8fafc; border-radius: 16px; padding: 30px; margin-top: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); }
   .def-header { display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; margin-bottom: 25px; flex-wrap: wrap; gap: 12px; width: 100%; }
   .word-title { font-size: 2.2rem; font-weight: 800; color: #ffffff; line-height: 1; margin: 0; }
   .pronunciation { font-family: 'Merriweather', serif; font-style: italic; color: #94a3b8; font-size: 1rem; }
   .modern-pos-badge { background: #334155; color: white; font-size: 0.8rem; font-weight: 700; padding: 4px 10px; border-radius: 5px; text-transform: uppercase; letter-spacing: 0.5px; }
   
   .meanings-wrapper { display: flex; flex-direction: column; gap: 20px; }
   .pos-group-section { position: relative; padding-left: 20px; --pos-color: var(--blue); border-left: 3px solid var(--pos-color); padding: 20px; border-radius: 12px; margin-bottom: 10px; box-shadow: 0 5px 10px rgba(0,0,0,0.2); }
   .pos-group-header { font-size: 1.1rem; font-weight: 700; color: var(--pos-color); margin: 0 0 10px 0; font-family: 'Poppins', sans-serif; text-transform: capitalize; font-style: italic; }
   
   .pos-noun { --pos-color: #38bdf8; background: rgba(56, 189, 248, 0.1); }
   .pos-pronoun { --pos-color: #f43f5e; background: rgba(244, 63, 94, 0.1); }
   .pos-adj, .pos-adjective { --pos-color: #10b981; background: rgba(16, 185, 129, 0.1); }
   .pos-nounadj { --pos-color: #2dd4bf; background: rgba(45, 212, 191, 0.1); }
   .pos-adjadv { --pos-color: #2dd4bf; background: rgba(45, 212, 191, 0.1); }
   .pos-verb { --pos-color: #818cf8; background: rgba(129, 140, 248, 0.1); }
   .pos-nounverb { --pos-color: #d946ef; background: rgba(217, 70, 239, 0.1); }
   .pos-adv, .pos-adverb { --pos-color: #c084fc; background: rgba(192, 132, 252, 0.1); }
   .pos-prep, .pos-preposition, .pos-conj, .pos-conjunction { --pos-color: #fbbf24; background: rgba(251, 191, 36, 0.1); }
   .pos-interjection, .pos-interj { --pos-color: #2dd4bf; background: rgba(45, 212, 191, 0.1); }
   
   .pos-group-content { display: flex; flex-direction: column; gap: 0px; }
   .meaning-item { background: transparent; padding: 10px 0; border-bottom: 2px dashed rgb(253, 253, 253, 0.15); }
   .meaning-item:last-child { border-bottom: none; }
   .def-text { font-size: 1.05rem; color: #f8fafc; line-height: 1.6; font-weight: 500; }
   .modern-examples { margin: 6px 0 0 15px; padding: 0; list-style: none; }
   .modern-examples li { display: grid; grid-template-columns: max-content 1fr; gap: 12px; text-align: justify; font-style: italic; font-weight: 500; font-size: 0.93rem; color: #cbd5e1; margin-top: 8px; line-height: 1.6; }
   .modern-examples li::before { content: "—"; font-weight: 600; color: #64748b; }
   
   .pills-container { margin-top: 20px; border-top: 1px solid rgba(0,0,0,0.08); padding-top: 20px; display: flex; flex-direction: column; }
   .pills-section-title { font-size: 1.1rem; font-weight: 800; letter-spacing: 1px; margin-bottom: 20px; text-transform: uppercase; border-bottom: 2px solid rgba(0,0,0,0.05); display: inline-block; }
   .pills-row-wrapper { display: flex; flex-direction: column; margin-bottom: 20px; gap: 10px; }
   .pill-pos-badge { display: inline-block; width: fit-content; padding: 5px 12px; border-radius: 8px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; font-family: 'Poppins', sans-serif; color: var(--pos-color, #64748b); }
   .pos-default { color: #f6ffea; background-color: rgb(17 30 47 / 58%); }
   .indent-list { margin-left: 20px; padding-left: 15px; border-left: 2px solid rgba(0,0,0,0.05); }
   .border-green { border-left: 3px solid var(--green); }
   .border-red { border-left: 3px solid var(--red); }
   .pills-flex { display: flex; flex-wrap: wrap; gap: 10px; }
   .pills-flex::after { content: ""; flex-grow: 100; }
   .pills-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
   .vocab-pill { flex-grow: 1; text-align: center; padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: 0.2s; border: 1px solid transparent; }
   .text-green { color: var(--green); border-color: rgba(16, 185, 129, 0.3); } 
   .text-red { color: var(--red); border-color: rgba(244, 63, 94, 0.3); }
   .text-muted {color: #27a1c7 }
   .pill-green { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; } 
   .pill-green:hover { background: rgba(16, 185, 129, 0.25); transform: translateY(-1px); }
   .pill-red { background: rgba(244, 63, 94, 0.15); color: #fda4af; } 
   .pill-red:hover { background: rgba(244, 63, 94, 0.25); transform: translateY(-1px); }
   .pill-linked { box-shadow: 0 0 25px rgba(251, 191, 36, 0.15); animation: breath-gold 3s ease-in-out infinite; font-weight: 600; position: relative; }
   .pill-linked:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3); background: rgba(251, 191, 36, 0.15); }
   .link-star { margin-right: 3px; font-size: 0.8rem; }
   @keyframes breath-gold { 0% { box-shadow: 0 0 5px rgba(251, 191, 36, 0.15); border-color: rgba(251, 191, 36, 0.6); } 50% { box-shadow: 0 0 10px rgba(251, 191, 36, 0.4); border-color: rgba(251, 191, 36, 1); } 100% { box-shadow: 0 0 5px rgba(251, 191, 36, 0.15); border-color: rgba(251, 191, 36, 0.6); } }
   
   .root-box { margin-top: 20px; background: rgba(251, 191, 36, 0.05); border: 1px dashed rgba(251, 191, 36, 0.4); border-radius: 12px; padding: 15px; display: flex; gap: 15px; align-items: center; }
   .root-icon { font-size: 1.2rem; }
   .root-box p { margin: 0; font-size: 0.95rem; color: #fde68a; line-height: 1.7; }
   .root-box strong { color: #fbbf24; text-shadow: none; }
   body.home-mode .root-box strong { color: #ff902d; font-weight: 700; text-shadow: none; }
   
   .tabs-container { display: flex; justify-content: center; gap: 15px; margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 20px; flex-wrap: wrap; }
   .tab-btn { background: transparent; border: none; color: rgba(255,255,255,0.6); font-size: 1.1rem; font-weight: 600; padding: 10px 20px; cursor: pointer; transition: 0.3s; font-family: 'Poppins', sans-serif; outline: none; border-radius: 30px; }
   .tab-btn:hover { color: white; background: rgba(255,255,255,0.05); }
   .tab-btn.active { color: white; background: rgba(255,255,255,0.15); }
   .tab-content { display: none; }
   .tab-content.active-content { display: block; animation: fadeIn 0.3s ease-in-out; }
   
   /* Light Mode Overrides */
   html.light-mode .def-result-container { background: rgba(235, 245, 255); color: #334155; border: 1px solid rgba(0,0,0,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
   html.light-mode .def-header { border-bottom: 1px solid rgba(0,0,0,0.08); }
   html.light-mode .word-title { color: #0f172a; }
   html.light-mode .pronunciation { color: #64748b; }
   html.light-mode .def-text { color: #1e293b; }
   html.light-mode .meaning-item { border-bottom: 2px dashed rgba(0,0,0,0.15); }
   html.light-mode .root-box { background: rgba(217, 119, 6, 0.1); border: 1px dashed rgba(217, 119, 6, 0.4); }
   html.light-mode .root-box p { color: #92400e; }
   html.light-mode body.home-mode .root-box strong { color: #b45309; }
   html.light-mode .label-text { color: #b45309; }
   html.light-mode .editorial-header { border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
   html.light-mode .date-text { color: #475569; }
   html.light-mode .letter-link { background: rgb(184 220 255 / 21%); color: #334155; border-color: rgb(71 85 99 / 12%); }
   html.light-mode .letter-link:hover, html.light-mode .letter-link.active { background: rgb(239, 249, 255, 0.55); color: #0284c7; border-color: rgba(2, 132, 199, 0.3); box-shadow: 2px -2px 8px rgb(2 132 199 / 31%); transform: translateY(-5px); }
   html.light-mode .word-tag { background: rgb(35 115 185 / 5%); color: #334155; border-color: rgb(20 45 95 / 10%); box-shadow: inset 3px -3px 9px 2px #20699f38; }
   html.light-mode .word-tag:hover { background: rgb(150 219 255 / 13%); border-color: #4081d70f; color: #0284c7; transform: translateX(5px) translateY(-4px); }
   html.light-mode .pill-green { background: rgba(16, 185, 129, 0.15); color: #02613b; }
   html.light-mode .pill-red { background: rgba(244, 63, 94, 0.15); color: #870011; }
   
   @media (max-width: 900px) {
       .def-result-container { padding: 30px 15px; margin-top: 20px; }
       .indent-list { margin-left: 15px; padding-left: 15px; }
   }
   @media (max-width: 600px) {
       .def-result-container { padding: 30px 10px; margin-top: 20px; }
       .indent-list { margin-left: 10px; padding-left: 10px; }
   }