*, ::before, ::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
}
body {
    background-color: #111;
    color: #e0e0e0;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.6;
    font-size: 16px;
    min-height: 100vh;
}
a {
    color: #e0e0e0;
    text-decoration: none;
    border-bottom: 1px dotted #888;
    transition: all 0.2s ease;
}
a:hover {
    color: #fff;
    border-bottom-color: #fff;
}
nav {
    border-bottom: 1px solid #222;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0 auto;
    max-width: 900px;
}
.logo {
    font-weight: bold;
    font-size: 1.25rem;
    color: #fff;
    border: none;
}
.nav-links {
    display: flex;
    gap: 1.5rem;
}
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}
main.narrow {
    max-width: 450px;
}
main.wide {
    max-width: 1000px;
}
@media (min-width: 1400px) {
    main.wide {
        max-width: 75%;
    }
}
h1, h2 {
    color: #fff;
    margin-bottom: 1rem;
}
h1 { font-size: 1.75rem; }
h2 { font-size: 1.25rem; color: #888; }
.error {
    background: #2a1a1a;
    border: 1px solid #4a2a2a;
    color: #f88;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}
.success {
    background: #1a2a1a;
    border: 1px solid #2a4a2a;
    color: #8f8;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
label {
    color: #aaa;
    font-size: 0.9rem;
}
input, textarea, select {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #e0e0e0;
    padding: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    border-radius: 4px;
    width: 100%;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #555;
}
textarea {
    resize: vertical;
    min-height: 200px;
    font-family: monospace;
}
button, .btn {
    background: #222;
    border: 1px solid #444;
    color: #e0e0e0;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    display: inline-block;
    text-align: center;
}
button:hover, .btn:hover {
    background: #333;
    border-color: #555;
    color: #fff;
}
.btn-danger {
    background: #2a1a1a;
    border-color: #4a2a2a;
}
.btn-danger:hover {
    background: #3a2020;
}
.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.form-row > * {
    flex: 1;
    min-width: 150px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}
.checkbox-group input {
    width: auto;
}
.meta {
    color: #888;
    font-size: 0.85rem;
}
.paste-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.paste-top .top-links a {
    font-size: 0.85rem;
    border-bottom: none;
}
.paste-top .top-links a:hover {
    border-bottom: 1px solid #fff;
}
pre {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 1rem;
    overflow-x: auto;
    font-family: monospace;
    border-radius: 4px;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.paste-list {
    list-style: none;
    margin-top: 1.5rem;
}
.paste-item {
    background-color: #222;
    padding: 1rem 1.5rem;
    margin-bottom: 0.8rem;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.paste-title {
    font-weight: bold;
    font-size: 1.1rem;
    color: #fff;
    border-bottom: none;
}
.paste-title:hover {
    color: #8ab4f8;
}
.badge {
    display: inline-block;
    background: #333;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 3px;
    margin-right: 0.25rem;
}
.profile-card {
    background-color: #222;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}
.profile-username {
    margin-bottom: 0.25rem;
}
.profile-sub {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}
.profile-bio {
    margin-top: 1rem;
    color: #ccc;
}
.badges-container {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.card {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}
.card h2 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #333;
}
@media (max-width: 600px) {
    nav { padding: 1rem; }
    main { padding: 1rem; }
    .form-row { flex-direction: column; }
}
