
.tools-timestamp *{margin:0;padding:0;box-sizing:border-box}

.tools-timestamp{font-family:"Noto Sans SC",system-ui,-apple-system,sans-serif;background:#fafafa;color:#0a0a0a;font-size:14px;line-height:1.6}

.tools-timestamp .container{max-width:780px;margin:0 auto;padding:0 20px}


.tools-timestamp .header{background:#fff;border-bottom:1px solid #ececee;padding:16px 0;position:sticky;top:0;z-index:50}

.tools-timestamp .header__inner{display:flex;align-items:center;justify-content:space-between;max-width:780px;margin:0 auto;padding:0 20px}

.tools-timestamp .header__brand{font-size:18px;font-weight:700;color:#0a0a0a;text-decoration:none}

.tools-timestamp .header__brand span{color:#7c3aed}

.tools-timestamp .header__nav{display:flex;gap:16px}

.tools-timestamp .header__nav a{color:#52525b;text-decoration:none;font-size:13px}

.tools-timestamp .header__nav a:hover{color:#7c3aed}


.tools-timestamp .hero{padding:48px 0 32px;text-align:center}

.tools-timestamp .hero__badge{display:inline-block;background:#f3effe;color:#7c3aed;font-size:12px;padding:4px 12px;border-radius:20px;margin-bottom:16px;font-weight:500}

.tools-timestamp .hero__title{font-size:32px;font-weight:700;letter-spacing:-.02em;margin-bottom:12px}

.tools-timestamp .hero__title span{color:#7c3aed}

.tools-timestamp .hero__desc{color:#71717a;font-size:15px;max-width:520px;margin:0 auto}


.tools-timestamp .now-card{background:linear-gradient(135deg,#7c3aed,#8b5cf6);border-radius:16px;padding:28px;text-align:center;margin-bottom:20px;color:#fff;box-shadow:0 8px 24px rgba(124,58,237,.15)}

.tools-timestamp .now-card__label{font-size:12px;text-transform:uppercase;letter-spacing:.1em;opacity:.8;margin-bottom:8px;font-weight:600}

.tools-timestamp .now-card__ts{font-size:34px;font-weight:700;font-family:"Space Grotesk",monospace;letter-spacing:.02em;cursor:pointer;transition:opacity .15s}

.tools-timestamp .now-card__ts:hover{opacity:.85}

.tools-timestamp .now-card__ts--ms{font-size:22px;opacity:.85;margin-top:6px}

.tools-timestamp .now-card__date{font-size:15px;opacity:.9;margin-top:10px}

.tools-timestamp .now-card__hint{font-size:11px;opacity:.7;margin-top:10px}


.tools-timestamp .tool-card{background:#fff;border:1px solid #ececee;border-radius:16px;padding:24px;box-shadow:0 1px 3px rgba(0,0,0,.04);margin-bottom:20px}

.tools-timestamp .tool-card__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}

.tools-timestamp .tool-card__title{font-size:15px;font-weight:600;display:flex;align-items:center;gap:8px}

.tools-timestamp .tool-card__title-icon{font-size:18px}

.tools-timestamp .tool-card__label{font-size:11px;color:#a1a1aa;text-transform:uppercase;letter-spacing:.1em;margin-bottom:8px;font-weight:600}

.tools-timestamp .input{width:100%;border:1.5px solid #e5e7eb;border-radius:10px;padding:14px;font-size:15px;font-family:"SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace;outline:none;transition:border-color .15s;background:#fff;color:#0a0a0a}

.tools-timestamp .input:focus{border-color:#7c3aed;box-shadow:0 0 0 3px rgba(124,58,237,.08)}

.tools-timestamp .input--datetime{font-family:inherit}

.tools-timestamp .unit-toggle{display:flex;gap:4px;background:#f4f4f5;border-radius:8px;padding:3px}

.tools-timestamp .unit-toggle button{padding:6px 14px;border:none;background:transparent;font-size:12px;font-weight:600;cursor:pointer;border-radius:6px;color:#71717a;transition:all .15s;font-family:inherit}

.tools-timestamp .unit-toggle button.is-active{background:#fff;color:#7c3aed;box-shadow:0 1px 2px rgba(0,0,0,.06)}

.tools-timestamp .btn-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}

.tools-timestamp .btn{flex:1;min-width:100px;padding:11px 16px;border:1.5px solid #ececee;border-radius:10px;font-size:13px;font-weight:600;cursor:pointer;background:#fff;color:#0a0a0a;transition:all .15s;font-family:inherit}

.tools-timestamp .btn:hover{border-color:#c4b5fd;background:#faf8ff;color:#7c3aed}

.tools-timestamp .btn--primary{background:linear-gradient(135deg,#7c3aed,#8b5cf6);color:#fff;border:none}

.tools-timestamp .btn--primary:hover{color:#fff;background:linear-gradient(135deg,#6d28d9,#7c3aed);transform:translateY(-1px);box-shadow:0 4px 12px rgba(124,58,237,.25)}


.tools-timestamp .result-box{margin-top:14px;background:#f9fafb;border:1px solid #ececee;border-radius:10px;padding:14px 16px;display:none}

.tools-timestamp .result-box.is-show{display:block}

.tools-timestamp .result-box__label{font-size:11px;color:#a1a1aa;text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px;font-weight:600}

.tools-timestamp .result-box__value{font-size:16px;font-weight:600;font-family:"SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace;color:#7c3aed;word-break:break-all}

.tools-timestamp .result-box__sub{font-size:12px;color:#71717a;margin-top:8px;line-height:1.7}

.tools-timestamp .result-box__sub div{padding:2px 0}


.tools-timestamp .error-box{background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;border-radius:10px;padding:10px 14px;margin-top:12px;font-size:13px;display:none;align-items:center;gap:8px}

.tools-timestamp .error-box.is-show{display:flex}


.tools-timestamp .relative-card{background:#fff;border:1px solid #ececee;border-radius:16px;padding:24px;margin-bottom:20px;box-shadow:0 1px 3px rgba(0,0,0,.04)}

.tools-timestamp .relative-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:14px}

.tools-timestamp .relative-chip{text-align:center;padding:12px 6px;border:1px solid #ececee;border-radius:10px;background:#f9fafb;font-size:12px;color:#52525b;cursor:pointer;transition:all .15s}

.tools-timestamp .relative-chip:hover{border-color:#c4b5fd;background:#f5f3ff;color:#7c3aed}

.tools-timestamp .relative-chip__num{font-size:18px;font-weight:700;color:#0a0a0a;display:block;margin-bottom:2px;font-family:"Space Grotesk",monospace}

.tools-timestamp .relative-chip:hover .relative-chip__num{color:#7c3aed}


.tools-timestamp .quick-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}

.tools-timestamp .quick-chip{padding:8px 14px;background:#f4f4f5;border:1px solid #ececee;border-radius:8px;font-size:12px;color:#52525b;cursor:pointer;transition:all .15s}

.tools-timestamp .quick-chip:hover{background:#ede9fe;color:#7c3aed;border-color:#c4b5fd}


.tools-timestamp .tools-nav{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:24px}

.tools-timestamp .tools-nav__item{background:#fff;border:1px solid #ececee;border-radius:12px;padding:14px 16px;text-decoration:none;color:#0a0a0a;transition:all .15s;display:flex;align-items:center;gap:10px}

.tools-timestamp .tools-nav__item:hover{border-color:#c4b5fd;background:#faf8ff}

.tools-timestamp .tools-nav__icon{font-size:20px}

.tools-timestamp .tools-nav__text{flex:1}

.tools-timestamp .tools-nav__title{font-size:13px;font-weight:600}

.tools-timestamp .tools-nav__desc{font-size:11px;color:#a1a1aa}


.tools-timestamp .cta{background:linear-gradient(135deg,#7c3aed,#8b5cf6);border-radius:16px;padding:32px;text-align:center;margin-bottom:32px}

.tools-timestamp .cta__title{color:#fff;font-size:20px;font-weight:700;margin-bottom:8px}

.tools-timestamp .cta__desc{color:rgba(255,255,255,.85);font-size:13px;margin-bottom:16px}

.tools-timestamp .cta__btn{display:inline-block;background:#fff;color:#7c3aed;padding:12px 28px;border-radius:10px;font-weight:600;text-decoration:none;font-size:14px;transition:transform .15s}

.tools-timestamp .cta__btn:hover{transform:translateY(-1px)}


.tools-timestamp .faq{margin-bottom:32px}

.tools-timestamp .faq__item{background:#fff;border:1px solid #ececee;border-radius:12px;margin-bottom:8px;overflow:hidden}

.tools-timestamp .faq__q{padding:16px 20px;font-size:14px;font-weight:600;cursor:pointer;display:flex;justify-content:space-between;align-items:center}

.tools-timestamp .faq__q:hover{color:#7c3aed}

.tools-timestamp .faq__q::after{content:'+';font-size:18px;color:#a1a1aa;transition:transform .2s}

.tools-timestamp .faq__item.is-open .faq__q::after{transform:rotate(45deg)}

.tools-timestamp .faq__a{max-height:0;overflow:hidden;transition:max-height .25s ease;padding:0 20px;color:#52525b;font-size:13px}

.tools-timestamp .faq__item.is-open .faq__a{max-height:280px;padding:0 20px 16px}

.tools-timestamp .faq__a code{background:#f4f4f5;padding:1px 6px;border-radius:4px;font-family:"SFMono-Regular",Consolas,monospace;font-size:12px;color:#7c3aed}


.tools-timestamp .footer{text-align:center;padding:24px 0;color:#a1a1aa;font-size:12px;border-top:1px solid #ececee}

@media(max-width:640px){.tools-timestamp .hero__title{font-size:24px}
.tools-timestamp .tools-nav{grid-template-columns:1fr}
.tools-timestamp .relative-grid{grid-template-columns:repeat(2,1fr)}
.tools-timestamp .now-card__ts{font-size:26px}
}
