:root{--bg-primary: #fdfdf8;--bg-secondary: #f7f7f2;--bg-tertiary: #f1f1ec;--bg-paper: #f9f9f4;--text-primary: #1a1a1a;--text-secondary: #4a5568;--text-tertiary: #4a5568;--text-muted: #6b7280;--text-paper: #525252;--border-primary: #e5e5e0;--border-secondary: #d1d5d0;--border-paper: #d4d4cf;--accent-primary: #3b82f6;--accent-hover: #2563eb;--accent-light: #eff6ff;--accent-border: #bfdbfe;--accent-text: #1e40af;--error-bg: #fef2f2;--error-border: #fecaca;--error-text: #991b1b;--info-bg: #eff6ff;--info-border: #bfdbfe;--info-text: #1e40af}body.dark-mode{--bg-primary: #1c1c1c;--bg-secondary: #252525;--bg-tertiary: #2a2a2a;--bg-paper: #232323;--text-primary: #e5e5e5;--text-secondary: #b8b8b8;--text-tertiary: #b8b8b8;--text-muted: #a8a8a8;--text-paper: #b8b8b8;--border-primary: #3a3a3a;--border-secondary: #454545;--border-paper: #383838;--accent-primary: #5b9cf6;--accent-hover: #4a8ee5;--accent-light: #1e3a5f;--accent-border: #2d4a6f;--accent-text: #7db3ff;--error-bg: #3d1f1f;--error-border: #5d2f2f;--error-text: #ff8a8a;--info-bg: #1e2d3d;--info-border: #2d3d4d;--info-text: #7db3ff}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Georgia,Times New Roman,Times,serif;color:var(--text-primary);background:var(--bg-primary);line-height:1.6;font-weight:400;transition:background-color .3s,color .3s;min-height:100vh;display:flex;flex-direction:column}#app{display:flex;flex-direction:column;min-height:100vh}main{flex:1}.container{max-width:900px;margin:0 auto;padding:0 1.5rem}.site-header{background:var(--bg-primary);border-bottom:1px solid var(--border-primary);padding:1rem 0}.site-title{font-size:1.5rem;font-weight:600;color:var(--text-primary);text-decoration:none}.site-title:hover{color:var(--text-secondary)}.site-nav{display:flex;gap:1.5rem;align-items:center;flex-wrap:wrap}.site-nav a{color:var(--text-secondary);text-decoration:none;font-size:.95rem}.site-nav a:hover{color:var(--text-primary)}.dark-mode-toggle{background:none;border:1px solid var(--border-secondary);padding:.375rem .75rem;cursor:pointer;font-size:.875rem;border-radius:.25rem;transition:background .2s;color:var(--text-secondary);font-weight:500}.dark-mode-toggle:hover{background:var(--bg-tertiary);color:var(--text-primary)}.mobile-nav{display:none;align-items:center}.hamburger-toggle{background:none;border:none;padding:.5rem;cursor:pointer;display:flex;flex-direction:column;gap:.25rem;width:2.5rem;height:2.5rem;justify-content:center;align-items:center}.hamburger-toggle span{display:block;width:1.25rem;height:2px;background:var(--text-primary);transition:all .3s}.hamburger-toggle:hover{background:var(--bg-tertiary)}.mobile-menu{display:flex;flex-direction:column;gap:.5rem;padding:1rem 0;border-top:1px solid var(--border-primary)}.mobile-menu a{color:var(--text-secondary);text-decoration:none;padding:.5rem 0;font-size:.95rem}.mobile-menu a:hover{color:var(--text-primary)}@media(max-width:768px){.desktop-nav{display:none!important}.mobile-nav{display:flex!important}.site-title{font-size:1.25rem}}@media(max-width:480px){.word-detail-grid{grid-template-columns:1fr!important;gap:.25rem 0!important}.word-detail-grid span:first-child{font-weight:700!important}}.search-section{padding:3rem 0 2rem;text-align:center}.search-title{font-size:2rem;font-weight:600;margin-bottom:.5rem;color:var(--text-primary)}.search-subtitle{color:var(--text-tertiary);margin-bottom:2rem;font-size:1rem}.search-box{max-width:600px;margin:0 auto 1rem}.search-input-wrapper{display:flex;border:2px solid var(--border-secondary);border-radius:0;overflow:hidden;background:var(--bg-primary);transition:border-color .2s}.search-input-wrapper:focus-within{border-color:var(--accent-primary)}.search-input{flex:1;padding:.875rem 1rem;border:none;font-size:1rem;outline:none;background:var(--bg-primary);color:var(--text-primary)}.search-button{padding:.875rem 1.5rem;background:var(--accent-primary);color:#fff;border:none;cursor:pointer;font-size:.95rem;font-weight:500;transition:background .2s}.search-button:hover{background:var(--accent-hover)}.search-modes{display:flex;gap:1.5rem;justify-content:center;margin-top:1rem;flex-wrap:wrap}.mode-option{display:flex;align-items:center;gap:.5rem;cursor:pointer;color:var(--text-secondary);font-size:1rem}.results-header{font-size:1.25rem;font-weight:600;margin-bottom:1.5rem;color:var(--text-primary)}.results-list{border-top:1px solid var(--border-primary);counter-reset:result-counter}.result-item{padding:.5rem 0 .5rem 2rem;border-bottom:1px solid var(--border-primary);cursor:pointer;transition:background .15s;position:relative;counter-increment:result-counter}.result-item:before{content:counter(result-counter) ".";position:absolute;left:0;color:var(--text-muted);font-weight:500}.result-item.clickable:hover{background:var(--bg-tertiary);margin-left:-1rem;margin-right:-1rem;padding-left:3rem;padding-right:1rem}.result-item.clickable:hover:before{left:1rem}.result-item.non-clickable{cursor:default}.result-word{font-size:1.05rem;font-weight:600;color:var(--text-primary);margin-bottom:.2rem}.result-definition{color:var(--text-tertiary);font-size:.9rem}.word-detail{padding:2rem 0;max-width:800px;margin:0 auto}.word-header{margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:2px solid var(--border-primary)}.word-title{font-size:2.5rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}.word-meta{color:var(--text-tertiary);font-size:.9rem}.sense-section{margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid var(--border-primary)}.sense-section:last-child{border-bottom:none}.sense-title{font-size:1rem;font-weight:600;color:var(--text-tertiary);margin-bottom:1rem}.sense-content{margin-bottom:1rem}.sense-label{font-weight:600;color:var(--text-secondary);margin-right:.5rem}.examples-section{margin-top:1.5rem}.examples-title{font-size:.95rem;font-weight:600;color:var(--text-secondary);margin-bottom:.75rem}.example-item{padding:1rem;background:var(--bg-tertiary);border-left:3px solid var(--accent-primary);margin-bottom:.75rem}.example-text{font-weight:500;margin-bottom:.5rem;color:var(--text-primary)}.example-translation{color:var(--text-tertiary);font-size:.9rem}.site-footer{border-top:1px solid var(--border-primary);padding:1.5rem 0 1rem;margin-top:3rem;text-align:center;color:var(--text-tertiary);font-size:.875rem}.pagination{display:flex;justify-content:center;gap:.5rem;margin-top:2rem;padding-top:2rem;border-top:1px solid var(--border-primary)}.pagination button{padding:.5rem 1rem;border:1px solid var(--border-secondary);background:var(--bg-primary);color:var(--text-secondary);cursor:pointer;border-radius:.25rem;font-size:.9rem}.pagination button:hover:not(:disabled){background:var(--bg-tertiary);border-color:var(--accent-primary)}.pagination button:disabled{opacity:.5;cursor:not-allowed}.loading{text-align:center;padding:3rem;color:var(--text-tertiary)}.message{padding:1rem;border-radius:.5rem;margin:1rem 0}.message-info{background:var(--info-bg);border:1px solid var(--info-border);color:var(--info-text)}.message-error{background:var(--error-bg);border:1px solid var(--error-border);color:var(--error-text)}.acknowledgment{margin-top:3rem;padding:2rem;background:var(--bg-paper);border:1px solid var(--border-paper);border-radius:0}.acknowledgment p{color:var(--text-paper);font-style:italic;line-height:1.8;font-family:Georgia,Times New Roman,serif}.text-center{text-align:center}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:1rem}.mb-4{margin-bottom:1.5rem}.mt-4{margin-top:1.5rem}
