/* Live-site additions layered over the supplied GameSense design. */
.live-auth-page { min-height: 70vh; padding-bottom: 80px; }
.live-auth-panel { max-width: 500px; margin: 0 auto; }
.live-auth-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 5px; margin: 22px 0; border: 1px solid #453750; border-radius: 12px; background: #0b0a10; }
.live-auth-switch button { min-height: 42px; border-radius: 8px; color: #b5a5c2; font-size: 14px; }
.live-auth-switch button[aria-pressed="true"] { background: #4d356a; color: #fff; }
.live-form { display: grid; gap: 16px; margin-top: 20px; }
.live-form .btn { justify-self: start; }
.live-form-status { min-height: 1.5em; margin: 0; font-size: 13px !important; color: #bfa8db !important; }
.live-form-status[data-error="true"] { color: #f0a7ae !important; }
.live-panel-stack { display: grid; gap: 20px; }
.live-panel-stack .panel > p, .live-profile-cards .panel > p { font-size: 13px; line-height: 1.6; }
.live-panel-stack .field, .live-profile-cards .field, .live-auth-panel .field { font-size: 14px; }
.live-profile-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.live-download { margin-top: 20px; }
.live-logout { display: flex; align-items: center; gap: 11px; width: 100%; margin-top: 22px; padding: 12px; border-top: 1px solid #302238; color: #cfb2e7; text-align: left; font-size: 13px; }
.live-logout svg { width: 16px; height: 16px; }
.live-logout:hover, .live-logout:focus-visible { color: #fff; }
.live-inline-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.live-inline-form .field { flex: 1 1 150px; min-width: 0; }
.live-inline-form .field:first-child { flex: 2 1 200px; }
.live-inline-form .btn { min-height: 47px; }
.live-inline-form .live-form-status { flex-basis: 100%; }
.live-check { display: flex; gap: 8px; align-items: center; min-height: 47px; color: #d8c4e8; font-size: 13px; }
.live-check input { width: 17px; height: 17px; accent-color: #a278d2; }
.live-list { display: grid; gap: 10px; margin-top: 20px; }
.live-list-row, .live-user-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 15px; border: 1px solid #382c43; border-radius: 10px; background: #100c16; font-size: 13px; }
.live-list-row code { overflow-wrap: anywhere; color: #e5d1f5; }
.live-list-row > span { color: #a990bc; }
.live-list-row button, .live-user-actions button { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 10px; border: 1px solid #59416e; border-radius: 7px; color: #d9bbea; font-size: 12px; }
.live-list-row button:hover, .live-user-actions button:hover { background: #4d356a; color: #fff; }
.live-list-row button svg { width: 14px; height: 14px; }
.live-user-row > div:first-child { display: grid; gap: 4px; }
.live-user-row small { color: #a990bc; line-height: 1.5; }
.live-user-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.live-user-actions select { min-height: 36px; max-width: 210px; padding: 6px 9px; border: 1px solid #59416e; border-radius: 7px; background: #181020; color: #e6d6ef; font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.live-payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 12px; }
.live-payment-options button { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; border: 1px solid #574767; border-radius: 10px; background: #15101d; color: #e2d3ec; font-size: 14px; }
.live-payment-options button[aria-pressed="true"] { border-color: #9b79c4; background: #39274f; color: #fff; }
.live-payment-options img { width: 22px; height: 22px; object-fit: contain; }
.checkout-note { margin-bottom: 22px; line-height: 1.55; font-size: 12px !important; }
.password-input { position: relative; }
.password-input input { padding-right: 48px; }
.password-toggle { position: absolute; top: 50%; right: 7px; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px; color: #c9aedc; }
.password-toggle svg { width: 18px; height: 18px; }
.password-grid { display: grid; gap: 15px; }
.avatar-crop-controls { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: start; gap: 20px; }
.avatar-crop-controls[hidden] { display: none; }
.avatar-crop-controls canvas { width: 180px; height: 180px; max-width: 100%; border: 1px solid #674b83; border-radius: 13px; cursor: grab; touch-action: none; }
.avatar-crop-controls canvas:active { cursor: grabbing; }
.avatar-crop-sliders { display: grid; gap: 11px; }
.avatar-crop-sliders input[type="range"] { padding: 0; min-height: 27px; accent-color: #a278d2; }
.live-form button:disabled, .live-download:disabled { opacity: .55; cursor: not-allowed; }
:is(button, a, input, select):focus-visible { outline: 2px solid #cab0ed; outline-offset: 3px; }
@media (max-width: 850px) {
  .live-profile-cards { grid-template-columns: 1fr; }
  .live-user-row { align-items: stretch; }
  .live-user-actions { width: 100%; }
}
@media (max-width: 560px) {
  .live-auth-panel { padding: 22px; }
  .live-inline-form { display: grid; }
  .live-inline-form .field, .live-inline-form .btn { width: 100%; }
  .live-payment-options { grid-template-columns: 1fr; }
  .live-list-row { align-items: flex-start; }
  .profile-menu { overflow-x: auto; }
  .profile-menu button { white-space: nowrap; }
  .avatar-crop-controls { grid-template-columns: 1fr; }
}
