.frame, .panel {
    position: relative;
    border: 1px solid var(--bronze);
    background: linear-gradient(135deg, #ffffff04, transparent 35%, #0005), repeating-linear-gradient(115deg, #ffffff02 0 1px, transparent 1px 6px), var(--panel);
    box-shadow: inset 0 0 0 3px #090908, inset 0 0 0 4px #4b3c2a, inset 0 0 22px #000, 0 0 0 3px #151310, 0 0 0 4px #443829, 0 8px 20px #0009;
}
.panel::before, .panel::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #b1946c, #37291d 48%, #897253);
    border: 1px solid #0a0908;
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 1;
}
.panel::before {
    top: -6px;
    left: -6px;
}
.panel::after {
    bottom: -6px;
    right: -6px;
}
.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 17px 19px 13px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(90deg, #42120c33, transparent);
}
.heading-mark {
    color: #e17048;
    margin-right: 8px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid #bc6444;
    border-radius: 2px;
    background: linear-gradient(#871b12, #4c0a07);
    box-shadow: inset 0 0 0 2px #290906, inset 0 3px 8px #ef713222, 0 2px 5px #000;
    color: #ffdfb5;
    font: 500 .82rem/1.4 var(--heading-font);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .025em;
}
.button:hover {
    background: linear-gradient(#a0281c, #60110b);
    text-decoration: none;
    color: #fff2d4;
}
.button--subtle {
    background: linear-gradient(#27221c, #10100e);
    border-color: #78624b;
    box-shadow: inset 0 0 0 2px #0c0b09;
}
.button--subtle:hover {
    background: #362820;
}
.button--small {
    font-size: .61rem;
    padding: 8px 10px;
}
.panel-action {
    padding: 14px 20px 20px;
    text-align: center;
    margin-top: auto;
}
.panel-action .button {
    width: min(100%, 240px);
}
.empty-state {
    padding: 28px 22px;
    color: var(--muted);
    font-style: italic;
}
.eyebrow {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .14em;
}
.chevron {
    font-size: 1.75rem;
    line-height: 1;
    color: var(--gold);
}
.flash {
    padding: 16px 20px;
    margin-block: 24px;
    border: 1px solid var(--bronze);
    background: #222019;
    overflow-wrap: anywhere;
}
.flash--error {
    border-color: #c76a51;
    background: #3e1510;
}
.flash--success {
    border-color: #84976b;
    background: #202b1b;
}
.login-box {
    padding: 22px;
}
.login-box h2 {
    margin-bottom: 16px;
    font-size: 1rem;
}
.login-box form {
    display: grid;
    gap: 10px;
}
.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-size: .9rem;
}
.login-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0 12px;
    font-size: .82rem;
    margin-top: 4px;
}
.login-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
.member-name {
    font-size: 1.5rem;
    color: var(--gold);
    overflow-wrap: anywhere;
}
.member-role {
    margin: 4px 0 20px;
    color: var(--muted);
}
.login-box > .button {
    width: 100%;
    margin-bottom: 12px;
}
