/* Accounts, plans, checkout, cancellation page. Uses the landing tokens (--ln-*). */
.acc-wrap { max-width: 1080px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) var(--ln-gutter) clamp(56px, 8vw, 96px); }
.acc-narrow { max-width: 460px; margin: 0 auto; }
.acc-title { font: 700 clamp(28px, 4vw, 40px)/1.1 var(--ln-display); color: #fff; margin: 0 0 8px; letter-spacing: -0.01em; }
.acc-lead { color: var(--ln-mute); margin: 0 0 26px; font-size: 16px; line-height: 1.55; }
.acc-card {
  background: var(--ln-panel); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px;
  padding: clamp(18px, 3vw, 26px); backdrop-filter: blur(8px);
}
.acc-card + .acc-card { margin-top: 16px; }
.acc-card h2 { font: 700 18px var(--ln-display); color: #fff; margin: 0 0 6px; }
.acc-card h3 { font: 800 12px var(--ln-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ln-accent); margin: 0 0 12px; }
.acc-card p { color: var(--ln-text); margin: 0 0 10px; line-height: 1.55; }
.acc-muted { color: var(--ln-mute) !important; font-size: 14px; }
.acc-field { display: grid; gap: 6px; margin: 0 0 14px; }
.acc-field label { font: 700 13px var(--ln-body); color: var(--ln-text); }
.acc-field input {
  height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(10, 7, 15, .75);
  color: #fff; padding: 0 14px; font: 500 15px var(--ln-body); outline: none; transition: border-color .15s, box-shadow .15s;
}
.acc-field input:focus { border-color: var(--ln-accent); box-shadow: 0 0 0 3px rgba(200, 91, 242, .22); }
.acc-btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.acc-wide { width: 100%; justify-content: center; }
.acc-or { display: flex; align-items: center; gap: 12px; color: var(--ln-mute); font-size: 13px; margin: 16px 0; }
.acc-or::before, .acc-or::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .1); }
.acc-social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acc-social a {
  display: flex; align-items: center; justify-content: center; gap: 9px; height: 46px; border-radius: 12px; text-decoration: none;
  font: 700 14.5px var(--ln-body); color: #fff; border: 1px solid rgba(255, 255, 255, .1); transition: filter .15s, transform .15s;
}
.acc-social a:hover { filter: brightness(1.12); transform: translateY(-1px); }
.acc-social svg { width: 20px; height: 20px; }
.acc-discord { background: #5865f2; }
.acc-twitch { background: #9146ff; }
.acc-switch { text-align: center; color: var(--ln-mute); font-size: 14px; margin: 16px 0 0; }
.acc-switch button, .acc-link { background: none; border: 0; padding: 0; color: #e9b8ff; font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.acc-msg { border-radius: 12px; padding: 11px 14px; font-size: 14px; margin: 0 0 14px; line-height: 1.45; }
.acc-msg.err { background: rgba(255, 70, 90, .12); border: 1px solid rgba(255, 70, 90, .35); color: #ffc7cf; }
.acc-msg.ok { background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .32); color: #c8f7d8; }
.acc-msg.info { background: rgba(200, 91, 242, .1); border: 1px solid rgba(200, 91, 242, .3); color: #f0d7ff; }
.acc-check { display: flex; gap: 10px; align-items: flex-start; color: var(--ln-text); font-size: 13.5px; line-height: 1.5; margin: 0 0 12px; cursor: pointer; }
.acc-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ln-accent); flex: 0 0 auto; }
.acc-check a { color: #e9b8ff; }
.acc-ts { min-height: 0; margin: 0 0 12px; }

/* dashboard */
.acc-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; align-items: start; }
.acc-status { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; }
.acc-pill { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 99px; font: 800 12.5px var(--ln-body); letter-spacing: .02em; }
.acc-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.acc-pill.on { color: #4ade80; background: rgba(74, 222, 128, .12); }
.acc-pill.off { color: #fda4af; background: rgba(255, 70, 90, .12); }
.acc-pill.warn { color: #fcd34d; background: rgba(252, 211, 77, .12); }
.acc-big { font: 700 26px var(--ln-display); color: #fff; }
.acc-rows { display: grid; gap: 0; margin: 4px 0 14px; }
.acc-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 14.5px; color: var(--ln-text); }
.acc-rows div:last-child { border-bottom: 0; }
.acc-rows span:first-child { color: var(--ln-mute); }
.acc-login-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.acc-login-row:last-child { border-bottom: 0; }
.acc-login-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto; }
.acc-login-ico svg { width: 20px; height: 20px; }
.acc-login-row strong { display: block; color: #fff; font-size: 14.5px; }
.acc-login-row small { color: var(--ln-mute); font-size: 13px; }
.acc-login-row .btn { margin-left: auto; }
.acc-danger { color: #fda4af !important; border-color: rgba(255, 70, 90, .35) !important; }

/* plans */
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 18px; }
.plan-card {
  position: relative; text-align: left; cursor: pointer; border-radius: 20px; padding: 22px 22px 20px; color: var(--ln-text);
  background: linear-gradient(180deg, rgba(26, 17, 38, .92), rgba(13, 9, 19, .92)); border: 1.5px solid rgba(255, 255, 255, .09);
  font: inherit; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.plan-card:hover { transform: translateY(-2px); border-color: rgba(200, 91, 242, .5); }
.plan-card[aria-checked="true"] { border-color: var(--ln-accent); box-shadow: 0 0 0 4px rgba(200, 91, 242, .18), 0 18px 50px -20px rgba(200, 91, 242, .55); }
.plan-card .plan-name { font: 800 13px var(--ln-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ln-accent); }
.plan-card .plan-price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 2px; color: #fff; }
.plan-card .plan-price b { font: 700 42px/1 var(--ln-display); }
.plan-card .plan-price span { color: var(--ln-mute); font-size: 15px; }
.plan-card .plan-sub { color: var(--ln-mute); font-size: 14px; min-height: 20px; }
.plan-card .plan-radio { position: absolute; top: 20px; right: 20px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); }
.plan-card[aria-checked="true"] .plan-radio { border-color: var(--ln-accent); background: radial-gradient(circle, var(--ln-accent) 0 45%, transparent 50%); }
.plan-badge { position: absolute; top: -12px; left: 20px; height: 24px; padding: 0 11px; border-radius: 99px; display: inline-flex; align-items: center; font: 800 12px var(--ln-body); color: #0b0610; background: linear-gradient(90deg, #f5d0fe, #c85bf2); }
.ck2-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; align-items: start; }
.ck2-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; margin: 4px 0 14px; border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ck2-total strong { font: 700 26px var(--ln-display); color: #fff; }
.ck2-total small { display: block; color: var(--ln-mute); font-size: 13px; margin-top: 2px; }
.ck2-code { display: flex; gap: 8px; }
.ck2-code input { flex: 1; min-width: 0; text-transform: uppercase; }
.ck2-who { display: flex; align-items: center; gap: 12px; }
.ck2-avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 800 16px var(--ln-display); color: #fff; background: linear-gradient(135deg, var(--ln-accent), var(--ln-deep)); flex: 0 0 auto; }
.ck2-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.ck2-list li { display: flex; gap: 10px; color: var(--ln-text); font-size: 14.5px; line-height: 1.45; }
.ck2-list li::before { content: ""; width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; border-radius: 50%; background: rgba(74, 222, 128, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%234ade80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.ck2-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 18px; }
.ck2-steps span { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); color: var(--ln-mute); font: 700 13px var(--ln-body); }
.ck2-steps span b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; font-size: 12px; }
.ck2-steps span.on { color: #fff; background: rgba(200, 91, 242, .14); }
.ck2-steps span.on b { background: var(--ln-accent); }
.ck2-steps span.done b { background: #4ade80; color: #08210f; }

@media (max-width: 860px) {
  .acc-grid, .ck2-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .plan-grid { grid-template-columns: 1fr; gap: 20px; }
  .acc-social { grid-template-columns: 1fr; }
  .ck2-steps { grid-template-columns: 1fr; }
}
.ck2-code input::placeholder { text-transform: none; }
