body {
    font-family: Arial, sans-serif;
    background: #fafafa;
}

.container {
    max-width: 900px;
    margin: auto;
    padding: 30px;
}

button {
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: #4a90e2;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.05s;
}

button:hover {
    background: #3f7fd1;
}

button:active {
    transform: translateY(1px);
}

.box {
    background: white;
    border: 1px solid #ddd;
    padding: 15px;
    margin-top: 20px;
}

.note {
    font-size: 0.9em;
    color: #666;
}

#toast {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.25s, transform 0.25s;
    pointer-events: none;
}

#toast.show {
    opacity: 1;
    transform: translate(-50%, -60%);
}

.copy-btn {
    padding: 6px 12px;
    font-size: 14px;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
}

.copy-btn:hover {
    background: #e0e0e0;
}

.tool-title {
    margin-bottom: 10px;
}

.tool-title .tool-sub {
    display: block;
    font-size: 0.6em;
    color: #666;
    font-weight: normal;
    margin-top: 2px;
}

h1 {
    margin-top: 0;
}

.back-link {
    font-size: 14px;
    color: #4a90e2;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 2px;
}

.back-link:hover {
    text-decoration: underline;
}

.ad-area {
    margin: 40px 0;
    text-align: center;
}

.ad-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
}

.ad-placeholder {
    border: 1px dashed #ccc;
    padding: 20px;
    color: #aaa;
}

.site-footer {
    margin-top: 60px;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    margin: 0 6px;
}

.footer-links a:hover {
    text-decoration: underline;
}
