/* KynxVale Website-Konto (04.11.2026): Anmelde-Knopf/Profil-Menue in der Navigation + Kontoseite /konto/.
   Nutzt die Variablen aus site.css; auf den Rechtsseiten (legal.css) mit Rueckfallwerten. */
.acct { position: relative; display: flex; align-items: center; flex: none; --a-gold: var(--gold, #e6be62); --a-gold2: var(--gold-2, #f5d892); --a-line: var(--line-2, rgba(255,255,255,.12)); --a-muted: var(--muted, #a3acc4); --a-text: var(--text, #f1f4fb); }
.acct-login { display: inline-flex; align-items: center; gap: .5rem; height: 40px; padding: 0 1rem; border-radius: 999px; border: 1px solid rgba(88, 101, 242, .55); background: rgba(88, 101, 242, .14); color: #e4e6ff; font: 600 .9rem/1 var(--body, 'Outfit', system-ui, sans-serif); text-decoration: none; white-space: nowrap; transition: background .2s, border-color .2s, transform .2s; }
.acct-login:hover { background: rgba(88, 101, 242, .3); border-color: #7983f5; transform: translateY(-1px); }
.acct-login svg { width: 18px; height: 18px; flex: none; }
.acct-btn { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: .55rem; height: 42px; padding: 3px .7rem 3px 3px; border-radius: 999px; border: 1px solid var(--a-line); background: rgba(255, 255, 255, .03); cursor: pointer; transition: border-color .2s, background .2s; }
.acct-btn:hover, .acct.open .acct-btn { border-color: rgba(230, 190, 98, .55); background: rgba(230, 190, 98, .08); }
.acct-btn:focus-visible { outline: 2px solid var(--a-gold); outline-offset: 3px; }
.acct-av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #1a1d26; box-shadow: 0 0 0 2px rgba(230, 190, 98, .55); flex: none; }
.acct-name { max-width: 9.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 .9rem/1 var(--body, 'Outfit', sans-serif); color: var(--a-text); }
.acct-caret { width: 14px; height: 14px; color: var(--a-muted); transition: transform .2s; }
.acct.open .acct-caret { transform: rotate(180deg); }
.acct-menu { position: absolute; right: 0; top: calc(100% + 10px); width: 270px; padding: .5rem; border-radius: 16px; border: 1px solid var(--a-line); background: rgba(10, 22, 54, .97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; pointer-events: none; transition: opacity .18s, transform .18s; z-index: 150; }
.acct.open .acct-menu { opacity: 1; transform: none; pointer-events: auto; }
.acct-head { display: flex; gap: .75rem; align-items: center; padding: .7rem .7rem .9rem; border-bottom: 1px solid rgba(255, 255, 255, .07); margin-bottom: .35rem; }
.acct-head .acct-av { width: 44px; height: 44px; }
.acct-head b { display: block; font-size: .98rem; color: var(--a-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; }
.acct-head small { color: var(--a-muted); font-size: .8rem; }
.acct-menu a, .acct-menu button { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: .7rem; width: 100%; padding: .7rem .75rem; border-radius: 10px; color: #d9d4ca; font: 500 .93rem/1.2 var(--body, 'Outfit', sans-serif); cursor: pointer; }
.acct-menu a:hover, .acct-menu button:hover, .acct-menu a:focus-visible, .acct-menu button:focus-visible { background: rgba(255, 255, 255, .06); color: #fff; }
.acct-menu svg { width: 18px; height: 18px; color: var(--a-gold); flex: none; }
.acct-menu .acct-sep { height: 1px; background: rgba(255, 255, 255, .07); margin: .35rem 0; }
.acct-menu .acct-out svg { color: #f39b8f; }
@media (max-width: 960px) {
    .acct { margin-left: auto; }
    .acct-name, .acct-caret { display: none; }
    .acct-btn { padding: 3px; }
    .acct-login span { display: none; }
    .acct-login { width: 42px; padding: 0; justify-content: center; }
}
@media (max-width: 960px) { .nav-inner .nav-logo { margin-right: 0; } .nav-inner { gap: .75rem; } }
@media (max-width: 420px) { .acct-menu { position: fixed; left: 12px; right: 12px; top: 74px; width: auto; } .nav-logo span { font-size: 1.05rem; } }

/* ---------- Kontoseite ---------- */
.konto { padding: 2.2rem 0 5rem; }
.konto-hero { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: center; padding: clamp(1.4rem, 3.5vw, 2.2rem); border-radius: 28px; border: 1px solid rgba(230, 190, 98, .28); background: radial-gradient(600px 260px at 0% 0%, rgba(230, 190, 98, .14), transparent 70%), radial-gradient(500px 260px at 100% 100%, rgba(88, 101, 242, .12), transparent 70%), var(--panel); overflow: hidden; isolation: isolate; box-shadow: var(--shadow); }
.konto-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: url('../images/emblem_900.webp?v=20261107') right -80px center / 380px no-repeat; opacity: .05; }
.konto-av { position: relative; width: 104px; height: 104px; }
.konto-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #151821; }
.konto-av::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; background: conic-gradient(from 200deg, #f5d892, #b8842e, #f3d17f, #6d5320, #f5d892); z-index: -1; }
.konto-av::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; box-shadow: inset 0 0 0 3px #0a1838; pointer-events: none; }
.konto-hero h1 { font-family: var(--display); font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.1; overflow-wrap: anywhere; }
.konto-hero .sub { color: var(--muted); margin-top: .35rem; font-size: .95rem; }
.konto-badges { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; }
.kb { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 600; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: #d0d6e4; }
.kb svg { width: 14px; height: 14px; }
.kb.ok { border-color: rgba(111, 191, 134, .45); color: #a9e2b9; background: rgba(111, 191, 134, .08); }
.kb.discord { border-color: rgba(88, 101, 242, .5); color: #c9cdff; background: rgba(88, 101, 242, .1); }
.kb.steam { border-color: rgba(102, 192, 244, .4); color: #cfe9fa; background: rgba(102, 192, 244, .08); }
.kb.muted { color: var(--faint); }
.konto-hero-actions { display: flex; flex-direction: column; gap: .6rem; align-items: stretch; }
@media (max-width: 760px) {
    .konto-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .konto-badges { justify-content: center; }
    .konto-hero-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; width: 100%; }
    .konto-av { width: 92px; height: 92px; }
}

.ktabs { position: sticky; top: 72px; z-index: 20; display: flex; gap: .3rem; margin: 1.6rem 0 1.4rem; padding: .35rem; border-radius: 16px; border: 1px solid var(--line); background: rgba(6, 12, 28, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow-x: auto; scrollbar-width: none; }
.ktabs::-webkit-scrollbar { display: none; }
.ktabs button { all: unset; flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.1rem; border-radius: 12px; color: var(--muted); font-weight: 600; font-size: .93rem; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.ktabs button svg { width: 18px; height: 18px; }
.ktabs button:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.ktabs button[aria-selected="true"] { color: #17130a; background: linear-gradient(180deg, #f3d17f, #d9a947); box-shadow: 0 6px 18px rgba(230, 190, 98, .25); }
.ktabs button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 560px) { .ktabs button { padding: .7rem .85rem; font-size: .88rem; } .ktabs button span { display: none; } .ktabs button[aria-selected="true"] span { display: inline; } }

.kpanel[hidden] { display: none; }
.kpanel { animation: kIn .35s var(--ease); }
@keyframes kIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.kgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ktile { padding: 1.3rem 1.3rem 1.2rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); }
.ktile .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-dim); color: var(--gold-2); margin-bottom: .9rem; }
.ktile .ico svg { width: 20px; height: 20px; }
.ktile b { display: block; font-family: var(--display); font-size: 1.7rem; line-height: 1.1; color: var(--text); }
.ktile span { color: var(--muted); font-size: .9rem; }
.ktile b.txt { font: 600 1.15rem/1.35 var(--body); padding: .25rem 0 .2rem; }
@media (max-width: 900px) { .kgrid { grid-template-columns: 1fr 1fr; } }

.kbox { margin-top: 1.2rem; padding: clamp(1.2rem, 3vw, 1.7rem); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); }
.kbox h2 { font-size: 1.15rem; font-weight: 600; margin-bottom: .35rem; display: flex; align-items: center; gap: .55rem; }
.kbox h2 svg { width: 20px; height: 20px; color: var(--gold); }
.kbox > p, .kbox .kdesc { color: var(--muted); font-size: .95rem; }
.kbox .row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.1rem; }
.kalert { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: 14px; margin-top: 1.2rem; border: 1px solid rgba(248, 113, 113, .4); background: rgba(248, 113, 113, .08); color: #fbd0d0; }
.kalert.info { border-color: rgba(230, 190, 98, .4); background: rgba(230, 190, 98, .08); color: #f3e2b8; }
.kalert svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.kalert b { color: #fff; }
.kalert .btn { margin-top: .7rem; }

.chars { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.1rem; }
.char { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)), var(--panel); overflow: hidden; transition: transform .3s var(--ease), border-color .3s; }
.char:hover { transform: translateY(-3px); border-color: rgba(230, 190, 98, .35); }
.char-top { position: relative; height: 128px; display: grid; place-items: center; background: radial-gradient(160px 110px at 50% 100%, rgba(230, 190, 98, .22), transparent 70%), linear-gradient(180deg, #121520, #091634); border-bottom: 1px solid var(--line); overflow: hidden; }
.char.female .char-top { background: radial-gradient(160px 110px at 50% 100%, rgba(80, 150, 255, .2), transparent 70%), linear-gradient(180deg, #111a1d, #091634); }
.char-top svg.fig { width: 82px; height: 112px; margin-top: 18px; color: rgba(245, 216, 146, .85); filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .6)); }
.char.female .char-top svg.fig { color: rgba(150, 195, 255, .85); }
.char-slot { position: absolute; left: .9rem; top: .8rem; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.char-sel { position: absolute; right: .8rem; top: .7rem; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .28rem .6rem; border-radius: 999px; background: var(--gold); color: #17130a; }
.char-body { padding: 1.1rem 1.2rem 1.25rem; }
.char-body h3 { font-family: var(--display); font-size: 1.35rem; line-height: 1.2; overflow-wrap: anywhere; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.char-rank { font: 700 .66rem/1 var(--body); letter-spacing: .12em; padding: .3rem .5rem; border-radius: 6px; background: rgba(230, 190, 98, .16); color: var(--gold-2); border: 1px solid rgba(230, 190, 98, .4); }
.char-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem .9rem; margin-top: .9rem; font-size: .88rem; }
.char-meta div { color: var(--muted); }
.char-meta b { display: block; color: var(--text); font-weight: 600; font-size: .92rem; }
.char-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .9rem; }
.char-tags span { font-size: .74rem; padding: .25rem .55rem; border-radius: 999px; background: rgba(255, 255, 255, .05); color: #c4cbdc; border: 1px solid var(--line); }
.kempty { text-align: center; padding: 2.6rem 1.2rem; border-radius: var(--r-lg); border: 1px dashed var(--line-2); color: var(--muted); }
.kempty h3 { color: var(--text); font-size: 1.15rem; margin-bottom: .4rem; }
.kempty .btn { margin-top: 1.2rem; }

.sess { display: grid; gap: .6rem; margin-top: 1.1rem; }
.sess-row { display: grid; grid-template-columns: 44px 1fr auto; gap: .9rem; align-items: center; padding: .85rem 1rem; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.sess-row.current { border-color: rgba(111, 191, 134, .45); background: rgba(111, 191, 134, .06); }
.sess-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); color: var(--gold-2); }
.sess-ico svg { width: 22px; height: 22px; }
.sess-row b { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-weight: 600; font-size: .95rem; }
.sess-row small { color: var(--muted); font-size: .84rem; }
.sess-row .here { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: .2rem .5rem; border-radius: 999px; background: rgba(111, 191, 134, .2); color: #a9e2b9; }
@media (max-width: 520px) { .sess-row { grid-template-columns: 40px 1fr; } .sess-row .btn { grid-column: 1 / -1; justify-content: center; } }

.kdanger { border-color: rgba(248, 113, 113, .35); background: linear-gradient(180deg, rgba(248, 113, 113, .06), transparent 60%), var(--panel); }
.kdanger h2 svg { color: #f87171; }
.btn-danger { background: rgba(248, 113, 113, .12); border-color: rgba(248, 113, 113, .5); color: #fecaca; }
.btn-danger:hover { background: rgba(248, 113, 113, .22); border-color: #f87171; color: #fff; }
.klist { list-style: none; display: grid; gap: .45rem; margin-top: .9rem; color: #c4cbdc; font-size: .93rem; }
.klist li { position: relative; padding-left: 1.3rem; }
.klist li::before { content: ''; position: absolute; left: 2px; top: .58em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.konto code, .kbox code { font: 600 .86em/1 ui-monospace, Consolas, monospace; padding: .18em .45em; border-radius: 6px; background: rgba(230, 190, 98, .12); color: var(--gold-2); white-space: nowrap; }

.kmodal { position: fixed; inset: 0; z-index: 500; display: none; place-items: center; padding: 1rem; background: rgba(2, 4, 12, .78); backdrop-filter: blur(6px); }
.kmodal.open { display: grid; }
.kmodal-card { width: min(480px, 100%); padding: 1.6rem; border-radius: 22px; border: 1px solid rgba(248, 113, 113, .4); background: #11131a; box-shadow: var(--shadow); animation: kIn .25s var(--ease); }
.kmodal-card h3 { font-family: var(--display); font-size: 1.4rem; margin-bottom: .5rem; }
.kmodal-card p { color: var(--muted); font-size: .95rem; }
.kmodal-card input { width: 100%; margin-top: 1rem; padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--line-2); background: #0a0c11; color: var(--text); font: 600 1rem var(--body); letter-spacing: .08em; }
.kmodal-card input:focus { outline: none; border-color: #f87171; }
.kmodal-card .row { display: flex; gap: .7rem; justify-content: flex-end; margin-top: 1.2rem; flex-wrap: wrap; }

.klogin { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 28px; overflow: hidden; border: 1px solid rgba(230, 190, 98, .3); background: var(--panel); box-shadow: var(--shadow); margin-top: 1rem; }
.klogin-main { padding: clamp(1.8rem, 4.5vw, 3.2rem); }
.klogin-main h1 { font-family: var(--display); font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.1; margin: .8rem 0 .8rem; }
.klogin-main > p { color: var(--muted); font-size: 1.04rem; }
.klogin-btns { display: grid; gap: .7rem; margin-top: 1.8rem; max-width: 380px; }
.klogin-btns .btn { justify-content: center; padding: 1.05rem 1.4rem; font-size: 1.02rem; }
.btn-steam-login { background: linear-gradient(135deg, #1b2838, #2a475e); border-color: rgba(102, 192, 244, .4); color: #c7d5e0; }
.btn-steam-login[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.klogin-note { margin-top: 1.4rem; font-size: .84rem; color: var(--faint); max-width: 420px; }
.klogin-note a { color: var(--gold-2); }
.klogin-media { position: relative; min-height: 340px; }
.klogin-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.klogin-media::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--panel-solid), transparent 45%); }
.klogin-perks { list-style: none; display: grid; gap: .55rem; margin-top: 1.4rem; color: #d0d6e4; font-size: .95rem; }
.klogin-perks li { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; align-items: start; }
.klogin-perks li::before { content: ''; width: 22px; height: 22px; border-radius: 7px; background: var(--gold-dim) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5d892' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4L19 7'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 860px) { .klogin { grid-template-columns: 1fr; } .klogin-media { min-height: 200px; order: -1; } .klogin-media::before { background: linear-gradient(0deg, var(--panel-solid), transparent 65%); } .klogin-btns { max-width: none; } }

.ktoast { position: fixed; left: 50%; bottom: 1.4rem; z-index: 600; transform: translate(-50%, 20px); opacity: 0; padding: .85rem 1.2rem; border-radius: 14px; border: 1px solid rgba(230, 190, 98, .45); background: rgba(8, 15, 34, .97); color: var(--text); font-weight: 500; box-shadow: var(--shadow); transition: opacity .25s, transform .25s; width: max-content; max-width: min(520px, calc(100vw - 2rem)); text-align: center; pointer-events: none; }
.ktoast.show { opacity: 1; transform: translate(-50%, 0); }
.kload { display: grid; gap: 1rem; }
.kload div { height: 120px; border-radius: var(--r-lg); background: linear-gradient(90deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)); background-size: 200% 100%; animation: sk 1.4s infinite; }
.btn-steam-login:not([aria-disabled="true"]):hover { filter: brightness(1.15); color: #fff; }
