* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #0f1117;
    color: #e4e4e7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.container {
    max-width: 720px;
    width: 100%;
    padding: 0 20px;
    margin-top: 80px;
}
.header {
    text-align: center;
    margin-bottom: 48px;
}
.header img {
    height: 64px;
    margin-bottom: 16px;
}
.header h1 {
    font-size: 22px;
    font-weight: 600;
    color: #f4f4f5;
    letter-spacing: -0.02em;
}
.header p {
    font-size: 13px;
    color: #71717a;
    margin-top: 6px;
}
.search-box {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}
.search-box label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}
.input-row {
    display: flex;
    gap: 10px;
}
.input-row input {
    flex: 1;
    background: #0f1117;
    border: 1px solid #27272a;
    border-radius: 8px;
    padding: 12px 16px;
    color: #f4f4f5;
    font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.input-row input:focus {
    border-color: #3b82f6;
}
.input-row input::placeholder {
    color: #3f3f46;
}
.input-row button {
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.input-row button:hover { background: #2563eb; }
.input-row button:disabled { background: #1e3a5f; cursor: not-allowed; }
.examples {
    margin-top: 12px;
    font-size: 11px;
    color: #52525b;
}
.examples span {
    display: inline-block;
    background: #1c1c21;
    border: 1px solid #27272a;
    border-radius: 4px;
    padding: 2px 8px;
    margin: 2px 4px 2px 0;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    font-family: "SF Mono", "Fira Code", monospace;
}
.examples span:hover {
    border-color: #3b82f6;
    color: #a1a1aa;
}
.result-area {
    display: none;
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 12px;
    overflow: hidden;
}
.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #27272a;
    background: #1c1c21;
}
.result-header span {
    font-size: 11px;
    font-weight: 600;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.result-header .target {
    font-family: "SF Mono", "Fira Code", monospace;
    font-size: 12px;
    color: #3b82f6;
    text-transform: none;
}
.result-content {
    padding: 16px 20px;
    font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
    font-size: 12px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 500px;
    overflow-y: auto;
    color: #a1a1aa;
}
.result-content::-webkit-scrollbar { width: 6px; }
.result-content::-webkit-scrollbar-track { background: #18181b; }
.result-content::-webkit-scrollbar-thumb { background: #3f3f46; border-radius: 3px; }
.loading {
    text-align: center;
    padding: 32px;
    color: #71717a;
    font-size: 13px;
}
.error {
    color: #ef4444;
    padding: 16px 20px;
    font-size: 13px;
}
.footer {
    text-align: center;
    margin-top: 48px;
    padding-bottom: 32px;
    font-size: 11px;
    color: #3f3f46;
}
.footer a { color: #52525b; text-decoration: none; }
.footer a:hover { color: #71717a; }
.info-bar {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    font-size: 11px;
    color: #52525b;
}
.info-bar span { display: flex; align-items: center; gap: 4px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; display: inline-block; }
