/* VOIDCRAFT character selection, account profile and Fleeca preflight. */
body.vc-character-modal-open { overflow: hidden; }

.vc-character-modal { position: fixed; inset: 0; z-index: 25000; display: none; padding: 24px; align-items: center; justify-content: center; }
.vc-character-modal.is-open { display: flex; }
.vc-character-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .78); backdrop-filter: blur(4px); }
.vc-character-modal__panel { position: relative; width: min(700px, 100%); max-height: min(760px, calc(100vh - 48px)); overflow: auto; box-sizing: border-box; padding: 34px; color: #f8f5f5; background: linear-gradient(145deg, #151111, #070707); border: 1px solid rgba(195, 15, 34, .85); box-shadow: 0 24px 75px rgba(0, 0, 0, .65), 0 0 35px rgba(195, 15, 34, .14); }
.vc-character-modal__close { position: absolute; top: 13px; right: 16px; color: #f5eeee; background: transparent; border: 0; font: 300 30px/1 Arial, sans-serif; cursor: pointer; }
.vc-character-modal__eyebrow { margin: 0 0 8px; color: #e01931; font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.vc-character-modal h2 { margin: 0; color: #fff; font-size: clamp(1.55rem, 3vw, 2.25rem); text-transform: uppercase; letter-spacing: .02em; }
.vc-character-modal__intro { max-width: 580px; margin: 10px 0 25px; color: #cfc7c7; line-height: 1.6; }
.vc-character-modal__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vc-character-choice { display: flex; min-height: 116px; padding: 17px; text-align: left; color: #f7f3f3; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255,255,255,.18); cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.vc-character-choice:hover, .vc-character-choice:focus-visible, .vc-character-choice.is-selected { outline: none; border-color: #d20d26; background: rgba(190, 13, 35, .14); transform: translateY(-2px); }
.vc-character-choice__icon { display: grid; flex: 0 0 42px; width: 42px; height: 42px; margin-right: 13px; place-items: center; color: #fff; background: #be0d23; border-radius: 50%; }
.vc-character-choice__content { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vc-character-choice__content strong { font-size: 1rem; line-height: 1.25; }
.vc-character-choice__content small { color: #bab1b1; font-size: .78rem; }
.vc-character-modal__confirm { display: block; width: min(360px, 100%); min-height: 46px; margin: 27px 0 0 auto; padding: 11px 16px; color: #fff; background: #c20d25; border: 1px solid #ef5161; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background .2s ease, opacity .2s ease; }
.vc-character-modal__confirm:hover:not(:disabled), .vc-character-modal__confirm:focus-visible:not(:disabled) { outline: none; background: #ea1732; }
.vc-character-modal__confirm:disabled { opacity: .46; cursor: not-allowed; }
.vc-character-modal__status { min-height: 20px; margin: 12px 0 0; color: #ffb5bd; font-size: .84rem; }
.vc-character-modal__empty { display: flex; gap: 13px; align-items: flex-start; padding: 17px; color: #ffd4d8; background: rgba(198, 15, 35, .15); border: 1px solid rgba(223, 53, 71, .55); }
.vc-character-modal__empty p { margin: 0; line-height: 1.55; }

.vc-account-content { min-width: 0; }
.vc-account-title { margin: 0 0 22px; color: #fff; font-size: clamp(1.65rem, 3vw, 2.45rem); text-transform: uppercase; letter-spacing: .04em; }
.vc-account-current-character { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 28px; padding: 17px 20px; color: #f4efef; background: linear-gradient(100deg, rgba(189, 12, 34, .95), #181010); border-left: 3px solid #f34a5c; }
.vc-account-current-character__identity { display: flex; gap: 12px; align-items: center; }
.vc-account-current-character__icon, .vc-account-profile-card__icon { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; color: #fff; background: #c80e26; border-radius: 50%; }
.vc-account-current-character__identity div { display: grid; gap: 3px; }
.vc-account-current-character__identity span { color: #e8cfd3; font-size: .76rem; letter-spacing: .04em; }
.vc-account-current-character__identity strong { font-size: 1.05rem; }
.vc-account-switch-character, .vc-account-section-heading button, .vc-fleeca-change-character { padding: 9px 13px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.55); font-size: .76rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.vc-account-switch-character:hover, .vc-account-section-heading button:hover, .vc-fleeca-change-character:hover { color: #fff; background: #bb0d23; border-color: #ef4355; }
.vc-account-profile-grid { display: grid; grid-template-columns: minmax(225px, .63fr) minmax(0, 1.37fr); gap: 22px; margin-bottom: 24px; }
.vc-account-profile-card, .vc-account-characters-card, .vc-account-dashboard-copy { box-sizing: border-box; padding: 24px; color: #ece6e6; background: #121010; border: 1px solid rgba(255,255,255,.12); }
.vc-account-profile-card h2, .vc-account-characters-card h2, .vc-account-dashboard-copy h2 { margin: 0; color: #fff; font-size: 1.18rem; }
.vc-account-profile-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.vc-account-profile-card__icon { width: 58px; height: 58px; margin: 25px 0 12px; font-size: 1.25rem; }
.vc-account-profile-card > strong { font-size: 1.1rem; }
.vc-account-profile-card > span { margin-top: 8px; color: #c7bbbb; font-size: .86rem; }
.vc-account-profile-card hr { width: 100%; margin: 24px 0; border: 0; border-top: 1px solid rgba(255,255,255,.15); }
.vc-account-profile-card small { align-self: stretch; color: #aaa1a1; font-size: .7rem; font-style: normal; letter-spacing: .08em; text-align: left; }
.vc-account-profile-card em { align-self: stretch; margin-top: 9px; color: #60df8d; font-size: .93rem; font-style: normal; text-align: left; }
.vc-account-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.vc-account-section-heading h2 i { margin-right: 7px; color: #da1831; }
.vc-account-character-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vc-account-character-card { display: grid; gap: 7px; padding: 15px; background: #191515; border: 1px solid rgba(255,255,255,.13); }
.vc-account-character-card.is-active { border-color: #d30e27; box-shadow: inset 3px 0 0 #d30e27; }
.vc-account-character-card strong { color: #fff; }
.vc-account-character-card span { color: #c2b8b8; font-size: .82rem; }
.vc-account-character-card small { color: #ff7887; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.vc-account-empty-characters { color: #c7bbbb; }
.vc-account-dashboard-copy { margin-top: 24px; }
.vc-account-dashboard-copy p { color: #c9bdbd; line-height: 1.65; }

.vc-checkout-character-lock { margin: -4px 0 18px; color: #b9b2b2; font-size: .84rem; line-height: 1.45; }
.vc-checkout-character-lock i { margin-right: 5px; color: #d7112a; }
.vc-checkout-character-lock.is-warning { color: #eaa2a9; }
.page-checkout input[readonly] { color: #ddd3d3; background: rgba(255,255,255,.06); cursor: not-allowed; }
.vc-fleeca-checkout-panel { display: grid; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.vc-fleeca-purchasing-as { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 13px; background: rgba(186, 13, 34, .11); border: 1px solid rgba(210, 25, 47, .7); }
.vc-fleeca-purchasing-as > span { color: #cbbfc0; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.vc-fleeca-purchasing-as strong { color: #fff; font-size: .94rem; }
.vc-fleeca-purchasing-as strong i { margin-right: 5px; color: #e52d43; }
.vc-fleeca-change-character { grid-row: span 2; align-self: center; padding: 7px 9px; font-size: .66rem; }
.vc-fleeca-purchasing-as.is-empty { border-color: rgba(238, 145, 32, .75); background: rgba(219, 129, 20, .09); }
.vc-fleeca-preflight { padding: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.16); }
.vc-fleeca-preflight.is-ready { border-color: rgba(72, 190, 114, .7); background: rgba(34, 138, 69, .1); }
.vc-fleeca-preflight p { margin: 0; color: #d7cece; font-size: .83rem; line-height: 1.55; }
.vc-fleeca-preflight p i { color: #e51c36; }
.vc-fleeca-login-link { display: inline-flex; gap: 8px; align-items: center; margin: 12px 0; padding: 9px 11px; color: #fff; background: #b70c22; border: 1px solid #e34052; font-size: .76rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.vc-fleeca-login-link:hover { color: #fff; background: #e01732; }
.vc-fleeca-confirm { display: flex; gap: 9px; align-items: flex-start; color: #f2eded; font-size: .79rem; line-height: 1.45; cursor: pointer; }
.vc-fleeca-confirm input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: #d5102a; }
.vc-fleeca-confirm input:disabled + span { color: #999; cursor: not-allowed; }
.vc-fleeca-preflight-status { margin-top: 10px !important; color: #b7aaaa !important; font-size: .75rem !important; }
.vc-fleeca-preflight.is-ready .vc-fleeca-preflight-status { color: #91e8a8 !important; }
.vc-fleeca-pay-button { width: 100%; margin-top: 0 !important; }
.vc-fleeca-pay-button:disabled { opacity: .45; cursor: not-allowed; }

@media (max-width: 760px) {
    .vc-character-modal { padding: 13px; }
    .vc-character-modal__panel { max-height: calc(100vh - 26px); padding: 28px 19px 21px; }
    .vc-character-modal__choices, .vc-account-profile-grid, .vc-account-character-list { grid-template-columns: 1fr; }
    .vc-character-choice { min-height: 92px; }
    .vc-character-modal__confirm { width: 100%; }
    .vc-account-current-character { align-items: flex-start; flex-direction: column; }
    .vc-account-switch-character { width: 100%; }
    .vc-account-section-heading { align-items: flex-start; flex-direction: column; }
    .vc-account-section-heading button { width: 100%; }
}
