.account-link { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: #84dfff !important; }
.account-link canvas { width: 22px; height: 22px; image-rendering: pixelated; border-radius: 3px; }
.account-page [hidden], .checkout-page [hidden] { display: none !important; }
.account-page { background: #081321; color: #edf5ff; min-height: 100vh; }
.account-text-link { color: #9bdef8; text-decoration: none; }
.account-text-link:hover { color: white; }
.account-shell { width: min(100% - 32px, 1020px); margin: auto; padding-top: 32px; padding-bottom: clamp(44px, 8vw, 86px); }
.account-hero {
  display: flex; align-items: flex-end; min-height: clamp(190px, 27vw, 256px); margin-bottom: 22px;
  border: 1px solid #294457; border-radius: 16px; overflow: hidden;
  background: linear-gradient(90deg, #081321 4%, #081321e8 30%, #08132136 78%), url('/assets/kaos-force-full-pvp-banner.webp') 67% 44% / cover;
}
.account-hero-copy { padding: clamp(22px, 5vw, 44px); }
.account-eyebrow { margin: 0 0 8px; color: #7bdcf8; font-size: .78rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.account-hero h1 { margin: 0 0 8px; font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.05; text-transform: none; }
.account-hero-copy > p { margin: 0; color: #bacde3; }
#account-admin-link { margin-top: 16px; }
.account-login-grid, .account-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.account-card, .account-notice { min-width: 0; border: 1px solid #263b50; border-radius: 12px; background: #0e1d30; padding: clamp(19px, 4vw, 28px); }
.account-card h2 { margin: 0 0 18px; font-size: 1.26rem; text-transform: none; }
.account-card label { display: block; font-size: .9rem; color: #c3d4e7; margin-bottom: 8px; }
.account-card input {
  width: 100%; padding: 13px 15px; margin-bottom: 14px; border-radius: 8px;
  border: 1px solid #35516a; background: #091522; color: #edf5ff; font: 700 1.08rem ui-monospace, monospace;
  letter-spacing: .1em; text-transform: uppercase;
}
.account-card :focus-visible, .account-link:focus-visible { outline: 2px solid #7bdcf8; outline-offset: 3px; }
.account-card .button:disabled { cursor: wait; opacity: .65; }
.account-form-status { color: #c3d4e7; min-height: 1.35em; margin: 12px 0 0; font-size: .9rem; }
.account-form-status[data-state="error"] { color: #ffaea6; }
.account-help ol { margin: 0 0 18px; padding-left: 1.25rem; color: #c3d4e7; }
.account-help li { padding-left: 3px; margin-bottom: 10px; overflow-wrap: anywhere; }
.account-help li::marker, .account-help code { color: #85e5ff; }
.account-help code { background: #162c42; border-radius: 4px; padding: 3px 6px; }
.account-player { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.account-player h2 { margin: 0; font-size: clamp(1.25rem, 4vw, 1.95rem); overflow-wrap: anywhere; }
.account-player canvas { width: 56px; height: 56px; image-rendering: pixelated; border-radius: 6px; }
.account-player button { margin-left: auto; }
.account-value { margin: 0 0 8px; color: #96e8ff; font-size: 1.48rem; font-weight: 800; }
.account-muted { color: #a9bbd0; margin: 0; font-size: .92rem; }
#account-synced { margin: 12px 0 24px; }
.account-order-list { padding: 0; margin: 0; list-style: none; }
.account-order-list li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 18px; padding: 13px 0; border-top: 1px solid #263b50; }
.account-order-list small { display: block; color: #a9bbd0; margin-top: 3px; }
.account-order-status { padding: 4px 9px; border-radius: 5px; background-color: #193653; color: #b8e6ff; font-size: .8rem; font-weight: 700; }
.account-order-status[data-status="delivered"] { background: #133b36; color: #a5f4d5; }
.checkout-account-name { font-weight: 800; color: #8ee4ff; margin: 0 0 6px; }
.account-vip-plan { margin-bottom: 16px; }
.account-vip-plan-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.account-vip-plan-heading label { margin: 0; }
.account-vip-plan select {
  display: block; min-width: 130px; margin-top: 6px; padding: 9px 12px; border: 1px solid #35516a;
  border-radius: 7px; background: #091522; color: #edf5ff; font: inherit;
}
.account-vip-plan-totals {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  padding-block: 12px; margin: 8px 0; border-bottom: 1px solid #263b50;
}
.account-vip-plan-totals dt { margin-bottom: 6px; color: #a9bbd0; font-size: .84rem; }
.account-vip-plan-totals dd { margin: 0; color: #96e8ff; font-weight: 800; }
.account-vip-plan-action { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.account-vip-plan-action p { flex: 1 1 240px; }
.order-pix { display: grid; gap: 12px; margin-top: 18px; }
.order-pix img { width: min(100%,224px); height: auto; padding: 8px; border-radius: 8px; background: white; }
.pix-code { resize: vertical; font: .88rem ui-monospace,monospace; }
.order-pix button { justify-self: start; }
.order-pix p:empty, #order-message:empty { display: none; }
.order-items { padding-left: 19px; color: #bfd1e3; line-height: 1.7; }
@media (max-width: 640px) {
  .account-login-grid, .account-stats { grid-template-columns: 1fr; }
  .account-shell { padding-top: 18px; }
  .account-hero { background-image: linear-gradient(90deg, #081321ed 18%, #08132165 100%), url('/assets/kaos-force-full-pvp-banner.webp'); }
  .account-order-list li { grid-template-columns: 1fr auto; gap: 8px; }
  .account-order-status { justify-self: start; }
}
