:root{--bg:#0d121a;--surface:#151d28;--line:#2b3543;--text:#edf1f5;--muted:#a6b0be;--accent:#edc689;--radius:16px;color-scheme:dark}
*{box-sizing:border-box}html{min-height:100%;height:auto!important;background:var(--bg)!important}body.site-page,body.home-page{margin:0;min-height:100vh;height:auto;display:block;overflow:visible;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;line-height:1.6}
.site-header{position:relative;z-index:30;background:#101720;border-bottom:1px solid var(--line)}.site-bar{max-width:1240px;margin:auto;padding:22px 28px;display:flex;align-items:center;gap:28px}.site-brand{display:flex;align-items:center;gap:12px;color:var(--accent);text-decoration:none;font-size:28px;white-space:nowrap}.site-brand span{font-size:14px;letter-spacing:1.5px;font-weight:700}.site-brand small{display:block;font-size:11px;color:var(--muted);font-weight:400;letter-spacing:2px}.site-nav{display:flex;gap:5px;flex:1;justify-content:flex-end;flex-wrap:wrap}.site-nav a{color:var(--muted);text-decoration:none;font-size:13px;padding:8px 10px;border-radius:8px;white-space:nowrap}.site-nav a:hover,.site-nav a[aria-current]{background:#26303d;color:var(--accent)}.site-language{width:auto!important;min-height:38px;font-size:12px!important;padding:6px!important;flex-shrink:0}
.site-page>.container{max-width:1120px;padding:36px 28px;min-height:65vh;gap:24px}.site-page .header{align-items:center;gap:20px;border-color:var(--line)}.site-page h1,.site-page .header h1{font-size:26px;font-weight:650;color:var(--text);letter-spacing:0;text-shadow:none}.site-page .header .lang-switcher,.site-page>.lang-switcher,.site-page .footer-author,.site-page .footer-beian{display:none}.site-page .main-panel,.site-page .timer-section,.site-page .input-section,.site-page .glass-card,.site-page .table-wrapper,.site-page .formula-section,.site-page .calculator-section{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:none;backdrop-filter:none}.site-page input,.site-page select,.site-page textarea,.site-language{background:#0e1620;color:var(--text);border:1px solid #465263;border-radius:9px;min-height:44px}.site-page input:focus,.site-page select:focus{outline:2px solid var(--accent);outline-offset:2px}.site-page button,.site-page .btn-base,.site-page .back-btn{font-family:inherit;border-radius:9px;min-height:44px;font-size:14px;font-weight:500;letter-spacing:0;box-shadow:none}.site-page button:disabled{opacity:.45;cursor:not-allowed}.site-page th,.site-page td{border-color:var(--line);font-weight:400}.site-page th{color:var(--accent);background:#111923}.site-page td{color:var(--text)}.site-page table{font-size:14px}.site-page .table-wrapper{overflow-x:auto}.site-page>.view{max-width:800px;height:auto;min-height:65vh;padding:36px 24px}.site-page .view.hidden{display:none}.site-page .view.active{display:flex}.site-page .records-container{width:100%}.site-page .view button{max-width:100%}.site-footer{max-width:1184px;margin:32px auto 0;padding:24px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted)}.site-footer a{color:var(--muted);text-decoration:none}
.record-toolbar{padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);font-size:13px}.record-toolbar>div{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.record-toolbar button{background:#223044;color:var(--text);border:1px solid #405068;padding:8px 14px;cursor:pointer}#site-notice{position:sticky;bottom:0;z-index:100;padding:14px 24px;background:#513719;color:#fff2d8;font-size:14px}#status-message{padding:16px;color:var(--accent)}:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.home-main{max-width:1184px;margin:auto;padding:64px 0 24px}.hero{padding:20px 0 64px;position:relative;overflow:hidden}.eyebrow{font-size:12px;color:var(--accent);letter-spacing:3px}.hero h1{font-size:clamp(42px,6vw,76px);line-height:1.12;letter-spacing:-2px;font-weight:600;margin:24px 0}.hero h1 span{color:var(--accent)}.hero p{color:var(--muted);font-size:16px;max-width:560px}.section-heading{display:flex;align-items:baseline;justify-content:space-between;border-top:1px solid var(--line);padding-top:28px;margin-bottom:24px}.section-heading h2{font-size:20px;font-weight:500;margin:0}.section-heading span{color:var(--muted);font-size:12px}.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.tool-card{display:flex;flex-direction:column;min-height:235px;padding:26px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);text-decoration:none;color:var(--text);transition:border-color .15s,transform .15s}.tool-card:hover{border-color:var(--accent);transform:translateY(-3px)}.tool-card .number{font:12px ui-monospace,monospace;color:var(--accent)}.tool-card h3{font-size:22px;margin:24px 0 8px}.tool-card p{font-size:14px;color:var(--muted);margin:0 0 24px}.tool-card .go{margin-top:auto;color:var(--accent);font-size:13px}.home-note{padding:22px 0;color:var(--muted);font-size:13px}
@media(max-width:1000px){.site-bar{flex-wrap:wrap;gap:12px}.site-brand{flex:1}.site-nav{order:3;flex-basis:100%;justify-content:flex-start}.home-main{padding:36px 24px}.site-footer{margin:24px}.tool-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.site-bar{padding:16px}.site-nav{gap:0}.site-nav a{font-size:12px;padding:8px}.site-page>.container{padding:24px 16px}.site-page h1,.site-page .header h1{font-size:21px}.site-page .header{flex-wrap:wrap}.tool-grid{grid-template-columns:1fr}.hero{padding-bottom:32px}.hero h1{letter-spacing:-1px}.tool-card{min-height:205px}.site-footer{flex-direction:column}.site-page .view{padding:24px 16px}.site-page .timer-controls{flex-wrap:wrap}.site-page #time-display{font-size:40px}.site-page input{max-width:100%}.record-toolbar button{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
#site-notice{position:relative;max-width:1120px;margin:16px auto;border-radius:10px}#language-hint{max-width:1120px;margin:12px auto;padding:0 24px;color:var(--muted);font-size:12px}.site-page .glass-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:none;backdrop-filter:none}.site-page .table-wrapper table{min-width:540px}
