*{margin:0;padding:0;box-sizing:border-box}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;line-height:1.6;color:#333;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh}.container{max-width:900px;margin:0 auto;padding:20px 20px 0}header{text-align:center;margin-bottom:40px;color:#fff}header h1{font-size:2.5rem;font-weight:300;text-shadow:0 2px 4px rgba(0,0,0,.3)}#content{background:#fff;border-radius:12px;padding:40px;box-shadow:0 10px 30px #0003;line-height:1.8}#content h1{color:#2c3e50;border-bottom:3px solid #3498db;padding-bottom:10px;margin-bottom:20px;font-size:2.2rem}#content h2{color:#34495e;border-bottom:2px solid #ecf0f1;padding-bottom:8px;margin:30px 0 15px;font-size:1.8rem}#content h3{color:#2c3e50;margin:25px 0 15px;font-size:1.4rem}#content h4{color:#34495e;margin:20px 0 10px;font-size:1.2rem}#content p{margin-bottom:15px;text-align:left}#content ul,#content ol{margin:15px 0;padding-left:30px}#content li{margin-bottom:8px}#content strong{color:#34495e;font-weight:600}#content em{color:#27ae60;font-style:italic}#content code{background:#f8f9fa;padding:2px 6px;border-radius:4px;font-family:Courier New,monospace;color:#e74c3c;border:1px solid #e9ecef}#content pre{background:#2c3e50;color:#ecf0f1;padding:20px;border-radius:8px;overflow-x:auto;margin:20px 0;font-family:Courier New,monospace}#content pre code{background:none;padding:0;border:none;color:inherit}#content blockquote{border-left:4px solid #3498db;margin:20px 0;font-style:italic;color:#7f8c8d;background:#f8f9fa;padding:15px 20px;border-radius:0 8px 8px 0}.katex{font-size:1.1em}.katex-display{margin:20px 0;text-align:center;background:#f8f9fa;padding:15px;border-radius:8px;border:1px solid #e9ecef;overflow-x:auto;overflow-y:hidden;white-space:nowrap}.katex-html{overflow-x:auto;overflow-y:hidden}p .katex{max-width:100%;overflow-x:auto;overflow-y:hidden;display:inline-block;white-space:nowrap}.katex-display::-webkit-scrollbar,.katex::-webkit-scrollbar{height:8px}.katex-display::-webkit-scrollbar-track,.katex::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.katex-display::-webkit-scrollbar-thumb,.katex::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.katex-display::-webkit-scrollbar-thumb:hover,.katex::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.katex-display,.katex{scrollbar-width:thin;scrollbar-color:#c1c1c1 #f1f1f1}.katex-display>.katex,.katex-display .katex-html{min-width:max-content}@media (max-width: 768px){.container{padding:10px}#content{padding:20px}header h1{font-size:2rem}#content h1{font-size:1.8rem}#content h2{font-size:1.5rem}#content h3{font-size:1.3rem}.katex-display{padding:10px;font-size:.9em}.katex{font-size:1em}.katex-display::-webkit-scrollbar,.katex::-webkit-scrollbar{height:12px}}#footer-content{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;background:transparent}#footer-content button{margin-top:0;padding:16px 32px;border:none;background:linear-gradient(135deg,#3498db,#2980b9);color:#fff;border-radius:12px;cursor:pointer;font-size:18px;font-weight:600;min-height:48px;min-width:200px;box-shadow:0 4px 15px #3498db4d;transition:all .2s ease;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;-moz-user-select:none}#footer-content button:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:#ffffff4d;transition:width .3s,height .3s,top .3s,left .3s;transform:translate(-50%,-50%)}#footer-content button:active:before{width:300px;height:300px}#footer-content button:hover{background:linear-gradient(135deg,#2980b9,#1f618d);transform:translateY(-2px);box-shadow:0 6px 20px #3498db66}#footer-content button:active{transform:translateY(0) scale(.98);box-shadow:0 2px 10px #3498db4d}#footer-content button:focus{outline:none;box-shadow:0 0 0 3px #3498db80}#footer-content button:disabled{background:#bdc3c7;cursor:not-allowed;transform:none;box-shadow:none}@media (max-width: 768px){#footer-content{padding:16px;position:relative}#footer-content button{padding:18px 24px;font-size:16px;min-height:52px;width:100%;max-width:300px;border-radius:16px;font-weight:700;letter-spacing:.5px}#footer-content button:after{content:"";position:absolute;top:-10px;left:-10px;right:-10px;bottom:-10px;z-index:-1}}@media (max-width: 480px){#footer-content{padding:12px}#footer-content button{padding:20px 16px;font-size:15px;min-height:56px;border-radius:20px}}@media (prefers-color-scheme: dark){#footer-content{background:transparent}}
