.auth-shell {
    max-width: 560px;
    margin: 24px auto 48px;
}

.auth-card {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    padding: 28px 24px;
}

.auth-card--wide {
    max-width: 640px;
}

.auth-card h1 {
    margin: 0 0 8px;
    font-size: 1.75rem;
}

.auth-lead {
    color: #666;
    margin: 0 0 18px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
}

.auth-form input,
.auth-form textarea,
.auth-form select {
    height: 40px;
    border: 1px solid #d5d5d5;
    padding: 0 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    text-transform: none;
    letter-spacing: 0;
}

.auth-form textarea {
    height: auto;
    padding: 10px;
    resize: vertical;
}

.auth-check {
    flex-direction: row !important;
    align-items: center;
    gap: 8px !important;
    text-transform: none;
    font-weight: 600;
    color: #555;
}

.auth-btn {
    height: 42px;
    border: none;
    background: #e0043f;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    border-radius: 2px;
}

.auth-btn:hover { background: #c00336; }
.auth-btn:disabled { opacity: 0.6; cursor: default; }

.auth-btn--secondary {
    background: #151b21;
    padding: 0 14px;
    white-space: nowrap;
}

.auth-btn--ghost {
    background: transparent;
    border: 1px solid #ccc;
    color: #555;
}

.auth-foot {
    margin-top: 18px;
    text-align: center;
    color: #666;
}

.auth-banner {
    padding: 10px 12px;
    border-radius: 4px;
    margin-bottom: 14px;
    font-size: 0.92rem;
}

.auth-banner.err {
    background: rgba(224, 4, 63, 0.1);
    border: 1px solid rgba(224, 4, 63, 0.35);
    color: #a0032d;
}

.auth-banner.ok {
    background: rgba(76, 175, 80, 0.12);
    border: 1px solid rgba(76, 175, 80, 0.35);
    color: #2e7d32;
}

.auth-summoner {
    margin-bottom: 18px;
    padding: 14px;
    background: #fafafa;
    border-radius: 4px;
}

.auth-summoner h3 {
    margin: 0 0 10px;
    font-size: 0.95rem;
}

.auth-summoner-row {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.auth-summoner-row input {
    height: 38px;
    border: 1px solid #d5d5d5;
    padding: 0 10px;
    flex: 1;
    min-width: 100px;
}

.auth-tag { max-width: 90px; flex: 0 0 90px; }
.auth-hash { font-weight: 800; color: #888; }

.auth-linked {
    margin-top: 10px;
    color: #2e7d32;
    font-weight: 600;
}

.auth-hint {
    margin: 8px 0 0;
    color: #888;
    font-size: 0.9rem;
}

.profile-hero {
    min-height: 180px;
    border-radius: 4px;
    margin: 8px 0 18px;
    overflow: hidden;
    color: #fff;
}

.profile-hero-overlay {
    padding: 28px 24px;
}

.profile-hero h1 {
    margin: 0 0 4px;
}

.profile-ulp {
    margin-top: 10px;
    font-size: 1.1rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 16px;
    margin-bottom: 40px;
}

.profile-panel {
    padding: 16px;
    position: relative;
    z-index: 2;
}

.profile-edit-form,
.profile-edit-form input,
.profile-edit-form textarea,
.profile-edit-form select,
.profile-edit-form button {
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

.profile-sub {
    margin: 8px 0 0;
    font-size: 0.9rem;
}

.ulp-history {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ulp-history li {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.ulp-amt {
    min-width: 48px;
    font-weight: 800;
    color: #2e7d32;
}

.ulp-history small {
    display: block;
    color: #888;
    margin-top: 2px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #c8f0cb;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .profile-grid { grid-template-columns: 1fr; }
}
