* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    background: #050816;
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.tool { width: 100%; max-width: 720px; }
.tool-header { text-align: center; margin-bottom: 28px; }
.tool-header h1 {
    font-size: 1.6rem;
    background: linear-gradient(120deg, #6366f1, #a855f7 48%, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.tool-header p { color: #94a3b8; font-size: 0.88rem; margin-top: 8px; }
textarea {
    width: 100%;
    min-height: 240px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    color: #e2e8f0;
    font-size: 1rem;
    line-height: 1.8;
    padding: 18px;
    resize: vertical;
    outline: none;
}
textarea:focus { border-color: #6366f1; }
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 18px;
}
.stat {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 14px 8px;
    text-align: center;
}
.stat-value { display: block; font-size: 1.5rem; font-weight: 700; color: #22d3ee; }
.stat-label { display: block; font-size: 0.72rem; color: #94a3b8; margin-top: 4px; }
.tool-footer { text-align: center; margin-top: 24px; }
.tool-footer a { color: #94a3b8; font-size: 0.82rem; text-decoration: none; }
.tool-footer a:hover { color: #22d3ee; }
@media (max-width: 480px) { .stats { grid-template-columns: repeat(2, 1fr); } }
