body {
    background-color: #0d0d0d;
    color: #ff66cc;
    font-family: monospace;
    text-align: center;
    padding: 30px;
}

h1 {
    color: #ff99cc;
}

form {
    background-color: rgba(255, 105, 180, 0.05);
    padding: 20px;
    border: 1px solid #ff66cc;
    border-radius: 8px;
    display: inline-block;
    text-align: left;
}

.card {
    background-color: rgba(255, 105, 180, 0.05);
    padding: 20px;
    border: 1px solid #ff66cc;
    border-radius: 8px;
    display: block;
    width: 100%;
    max-width: 950px;
    margin: 20px auto;
    text-align: left;
    box-sizing: border-box;
    clear: both;
}

input, button {
    margin: 8px;
    padding: 6px;
    background-color: #1a1a1a;
    color: #ff99cc;
    border: 1px solid #ff66cc;
    border-radius: 4px;
}

button:hover {
    background-color: #ff66cc;
    color: black;
    cursor: pointer;
}

pre {
    text-align: left;
    background-color: #1a1a1a;
    padding: 15px;
    border-radius: 8px;
    max-width: 100%;
    margin: auto;
    overflow-x: auto;
    border: 1px solid #ff66cc;
    white-space: pre-wrap;
}

a {
    color: #ff99cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.actions {
    max-width: 950px;
    margin: 20px auto;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.button-link {
    display: inline-block;
    padding: 10px 14px;
    border: 1px solid #ff66cc;
    border-radius: 6px;
    background-color: #1a1a1a;
    color: #ff99cc;
    text-decoration: none;
}

.button-link:hover {
    background-color: #ff66cc;
    color: black;
    text-decoration: none;
}

.button-link.secondary {
    opacity: 0.9;
}

.summary-list,
.move-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.summary-list li,
.move-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.details {
    margin-top: 6px;
    color: #ffc6e7;
    line-height: 1.5;
}

.error-card {
    border-color: #ff8080;
}

.raw-report pre {
    max-height: 420px;
}

details.card {
    background-color: rgba(255, 105, 180, 0.05);
    padding: 0;
    border: 1px solid #ff66cc;
    border-radius: 8px;
    width: 100%;
    max-width: 950px;
    margin: 20px auto;
    text-align: left;
    box-sizing: border-box;
    overflow: hidden;
}

details.card summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 20px;
    color: #ff99cc;
    font-size: 1.2rem;
    font-weight: bold;
    background-color: rgba(255, 105, 180, 0.08);
    border-bottom: 1px solid rgba(255, 102, 204, 0.2);
}

details.card summary::-webkit-details-marker {
    display: none;
}

details.card[open] summary {
    border-bottom: 1px solid #ff66cc;
}

details.card > *:not(summary) {
    padding: 16px 20px 20px 20px;
}
