/* Player account pages (home/worlds.php, account.php, confirm-account.php, anmeldung.php):
   same look as the start page (assets/css/new-front.css, colours under .nf). */
.ik-acct, .ik-guide {
	--gold: #ffc93c; --gold2: #ffe39a; --ink: #eef2ff; --mute: #a9b3d6;
	--glass: rgba(16, 22, 48, .72); --line: rgba(255, 255, 255, .14);
	position: relative; z-index: 2; max-width: 640px; margin: 30px auto 60px; padding: 30px;
	border-radius: 22px; background: var(--glass); border: 1px solid var(--line);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
	color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 17px; line-height: 1.55; text-align: left;
}
.ik-guide { max-width: 780px; }
.ik-acct *, .ik-guide * { box-sizing: border-box; }
.ik-acct h1, .ik-acct h2, .ik-acct h3, .ik-guide h1, .ik-guide h2 { color: #fff; font-family: inherit; text-shadow: none; letter-spacing: normal; }
.ik-acct h2, .ik-guide h1 { margin: 0 0 6px; font-size: 26px; }
.ik-guide h2 { margin: 28px 0 8px; font-size: 21px; color: var(--gold); }
.ik-acct p, .ik-acct li, .ik-guide p, .ik-guide li { color: var(--ink); }
.ik-acct .ik-sub, .ik-acct small { display: block; color: var(--mute); font-size: 15px; margin: 0 0 14px; }
.ik-acct a, .ik-guide a { color: var(--gold); font-weight: 600; text-decoration: none; }
.ik-acct a:hover, .ik-guide a:hover { text-decoration: underline; }
.ik-acct b, .ik-guide b { color: #fff; }

/* fields like the login card */
.ik-acct label { display: block; margin: 12px 0 6px; font-size: 14px; font-weight: 600; color: var(--mute); }
.ik-acct input[type=text], .ik-acct input[type=email], .ik-acct input[type=password], .ik-acct select {
	display: block; width: 100%; padding: 13px 14px; margin: 0 0 4px; border-radius: 12px; font-size: 16px;
	color: #fff; background: rgba(5, 10, 30, .55); border: 1px solid var(--line); outline: none;
}
.ik-acct select option { color: #000; }
.ik-acct input:focus, .ik-acct select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 201, 60, .2); }

/* buttons like the start page */
.ik-acct input[type=submit], .ik-acct .ik-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; padding: 14px 26px;
	border: 0; border-radius: 14px; cursor: pointer; font-weight: 700; font-size: 17px;
	background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%); color: #241500;
	box-shadow: 0 10px 30px -8px rgba(255, 190, 60, .6); transition: transform .15s;
}
.ik-acct input[type=submit]:hover, .ik-acct .ik-btn:hover { transform: translateY(-2px); text-decoration: none; }
.ik-acct .ik-btn--ghost, .ik-acct input.ik-btn--ghost { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: #fff; box-shadow: none; }
.ik-acct .ik-btn--small, .ik-acct input.ik-btn--small { padding: 6px 12px; font-size: 14px; border-radius: 10px; margin: 0; }

/* one big button per world */
.ik-acct .ik-world { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin: 10px 0; padding: 16px 20px;
	border-radius: 14px; font-size: 18px; font-weight: 400; color: #241500; text-decoration: none;
	background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%); box-shadow: 0 10px 30px -10px rgba(255, 190, 60, .55); transition: transform .15s; }
.ik-acct .ik-world b { color: #241500; }
.ik-acct .ik-world:hover { transform: translateY(-2px); text-decoration: none; }
.ik-acct .ik-world--closed { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--mute); box-shadow: none; }
.ik-acct .ik-world--closed b { color: #fff; }
.ik-acct .ik-world-go { font-weight: 700; white-space: nowrap; }
.ik-acct .ik-star { margin: 16px 0 -4px; color: var(--gold); font-weight: 700; font-size: 14px; }

/* boxes and messages */
.ik-acct .ik-box { margin: 14px 0; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.ik-acct .ik-help, .ik-guide .ik-note { margin: 14px 0; padding: 14px 18px; border-radius: 14px; background: rgba(255, 201, 60, .08); border: 1px solid rgba(255, 201, 60, .35); }
.ik-acct .ik-help ol { margin: 6px 0 8px 20px; padding: 0; }
.ik-acct .ik-account-msg { margin: 12px 0; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.ik-acct .ik-account-msg--ok { background: rgba(34, 197, 94, .15); border: 1px solid rgba(34, 197, 94, .5); color: #bbf7d0; }
.ik-acct .ik-account-msg--err { background: rgba(239, 68, 68, .15); border: 1px solid rgba(239, 68, 68, .5); color: #fecaca; }
.ik-acct .ik-warn, .ik-guide .ik-warn { margin: 12px 0; padding: 14px 16px; border-radius: 12px; background: rgba(255, 201, 60, .12); border: 1px solid rgba(255, 201, 60, .55); color: #ffe9b0; }
.ik-acct .ik-warn b, .ik-guide .ik-warn b, .ik-guide .ik-warn li { color: #ffe9b0; }

/* fold-out parts */
.ik-acct details { margin-top: 20px; }
.ik-acct summary { cursor: pointer; list-style: none; padding: 14px 18px; border-radius: 14px; font-weight: 700; font-size: 17px;
	background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: #fff; }
.ik-acct summary::-webkit-details-marker { display: none; }
.ik-acct details[open] summary { border-color: var(--gold); color: var(--gold); }
.ik-acct .ik-foot { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }

@media (max-width: 640px) {
	.ik-acct, .ik-guide { margin: 16px 10px 40px; padding: 20px; }
	.ik-acct .ik-world { flex-direction: column; align-items: flex-start; }
}
.ik-acct button.ik-world { font: inherit; font-size: 18px; }

/* Dark fields everywhere (03.12.2026): the opened world list gets its own dark background,
   and a browser filling in saved names/passwords must not turn the field white. */
.ik-acct select option { color: #fff !important; background: #0d1430 !important; }
.ik-acct input:-webkit-autofill, .ik-acct input:-webkit-autofill:hover, .ik-acct input:-webkit-autofill:focus {
	-webkit-text-fill-color: #fff !important; caret-color: #fff;
	-webkit-box-shadow: 0 0 0 1000px #0d1430 inset !important; box-shadow: 0 0 0 1000px #0d1430 inset !important;
	transition: background-color 99999s ease-out 0s;
}
.ik-acct input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #0d1430 inset, 0 0 0 3px rgba(255, 201, 60, .2) !important; box-shadow: 0 0 0 1000px #0d1430 inset, 0 0 0 3px rgba(255, 201, 60, .2) !important; }
.ik-acct input:autofill { -webkit-text-fill-color: #fff !important; }
/* small link under a world button: the same world in a new tab */
.ik-acct .ik-newtab { display: inline-block; margin: -4px 0 6px 6px; font-size: 14px; font-weight: 600; color: var(--gold); }
