/* LOS Accounts: log-in, sign-up, My Account and profile pages. Dark, matching the hub. */

.los-acc {
	--los-bg: #1b0f23;
	--los-card: #22152c;
	--los-line: #2e1d3e;
	--los-accent: #6b54b6;
	--los-accent-2: #b07ef0;
	--los-text: #e0dcf0;
	--los-muted: #9c8fa8;
	--los-error: #ff3147;
	--los-ok: #3ecf8e;
	color: var(--los-text);
	margin: 0 auto 60px;
	box-sizing: border-box;
}
.los-acc *, .los-acc *::before, .los-acc *::after { box-sizing: border-box; }
.los-acc-narrow { max-width: 480px; }
.los-acc-wide { max-width: 880px; }

.los-acc a { color: var(--los-accent-2); }
.los-acc a:hover { color: #fff; }

.los-acc-card {
	background: var(--los-card);
	border: 1px solid var(--los-line);
	border-top: 3px solid var(--los-accent);
	border-radius: 6px;
	padding: 32px;
}
.los-acc-title { margin: 0 0 6px; font-size: 30px; line-height: 1.2; color: #fff; }
.los-acc-lead { margin: 0 0 22px; color: var(--los-muted); }
.los-acc-alt { margin: 22px 0 0; text-align: center; color: var(--los-muted); }
.los-acc-alt.los-acc-back-row { text-align: left; }   /* a back button sits on the left so its arrow points the right way (user, 1 Dec 2026) */

/* Forms */
.los-acc-form { margin: 0; }
.los-acc-field { margin: 0 0 18px; }
.los-acc-field > label { display: block; margin: 0 0 6px; font-weight: 600; color: #fff; }
.los-acc .los-acc-field input[type="text"],
.los-acc .los-acc-field input[type="email"],
.los-acc .los-acc-field input[type="password"],
.los-acc .los-acc-field input[type="search"],
.los-acc .los-acc-field textarea {
	display: block;
	width: 100%;
	margin: 0;
	padding: 11px 14px;
	font: inherit;
	color: #fff;
	background: var(--los-bg);
	border: 1px solid var(--los-line);
	border-radius: 4px;
	transition: border-color .15s;
}
.los-acc .los-acc-field textarea { resize: vertical; min-height: 100px; }
.los-acc .los-acc-field select {
	display: block;
	width: 100%;
	margin: 0;
	padding: 11px 14px;
	font: inherit;
	color: #fff;
	background: var(--los-bg);
	border: 1px solid var(--los-line);
	border-radius: 4px;
}
.los-acc .los-acc-field select:focus { outline: none; border-color: var(--los-accent-2); }
.los-acc-inline-form { display: block; margin: 12px 0 0; }
.los-acc .los-acc-field input:focus,
.los-acc .los-acc-field textarea:focus { outline: none; border-color: var(--los-accent-2); }
.los-acc .los-acc-field input[type="file"] { display: block; width: 100%; color: var(--los-text); }
.los-acc-help { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: var(--los-muted); }
.los-acc-optional { font-weight: 400; color: var(--los-muted); }
.los-acc-check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--los-text); line-height: 1.5; }
.los-acc-check input { margin: 4px 0 0; flex: 0 0 auto; width: 16px; height: 16px; accent-color: var(--los-accent); }
.los-acc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.los-acc-turnstile { min-height: 65px; }
.los-acc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Buttons */
.los-acc .los-acc-btn {
	display: inline-block;
	padding: 10px 26px;
	font: 600 15px/1.3 Rajdhani, sans-serif; letter-spacing: .1em; text-transform: uppercase;
	color: #fff;
	background: var(--los-accent);
	border: 2px solid transparent;
	cursor: pointer;
	text-decoration: none;
	clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
	transition: background .2s, border-color .2s;
}
.los-acc .los-acc-btn:hover { background: #fd3147; color: #fff; }
.los-acc .los-acc-btn:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.los-acc-narrow .los-acc-form > .los-acc-btn { width: 100%; }
.los-acc .los-acc-btn-ghost { background: transparent; border-color: var(--los-accent); color: #fff; }
.los-acc .los-acc-btn-ghost:hover { background: transparent; border-color: #fd3147; }
.los-acc .los-acc-btn-danger { background: #a3182a; }
.los-acc .los-acc-btn-danger:hover { background: #fd3147; }
.los-acc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.los-acc .los-acc-btn-discord { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #5865f2; }
.los-acc .los-acc-btn-discord:hover { background: #4752c4; }
.los-acc-btn-discord .los-acc-discord-mark { display: block; width: 21px; height: auto; flex: none; }
.los-acc-social .los-acc-btn-discord { width: 100%; }
.los-acc-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--los-muted); font-size: 13px; }
.los-acc-or::before, .los-acc-or::after { content: ""; flex: 1; height: 1px; background: var(--los-line); }
.los-acc .los-acc-linkbtn { padding: 0; font: inherit; font-size: 14px; color: var(--los-accent-2); background: none; border: 0; text-decoration: underline; cursor: pointer; }
.los-acc .los-acc-linkbtn:hover { color: #fff; }
.los-acc-badge { display: inline-block; padding: 3px 13px 2px; font: 700 13px/1.4 Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #0d2b1d; background: var(--los-ok); vertical-align: middle; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.los-acc-linked-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
/* Official brand logos on their own colours (My Account -> Linked Accounts) */
.los-acc-brand { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; vertical-align: middle; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)); }
.los-acc-brand img { display: block; width: 20px; height: 20px; object-fit: contain; }
.los-acc-brand.is-small { width: 22px; height: 22px; clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px)); }
.los-acc-brand.is-small img { width: 13px; height: 13px; }
.los-acc-brand.is-discord { background: #5865f2; }
.los-acc-brand.is-twitch { background: #9146ff; }
.los-acc-brand.is-youtube { background: #ff0033; }
.los-acc-brand-label { display: flex !important; align-items: center; gap: 8px; }
.los-acc-linked-name { font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.los-acc-linked { list-style: none; margin: 0; padding: 0; }
.los-acc-linked li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--los-line); }
.los-acc-linked li:last-child { border-bottom: 0; }
.los-acc-linked-label { flex: 0 0 90px; color: var(--los-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.los-acc-field-row { display: flex; gap: 12px; flex-wrap: wrap; }
.los-acc-field-row > .los-acc-field { flex: 1 1 200px; margin-bottom: 0; }
.los-acc-riot-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--los-line); }
.los-acc-riot-form h4 { margin: 0 0 12px; font-size: 18px; color: #fff; }
.los-acc-region { display: inline-block; padding: 3px 13px 2px; font: 700 13px/1.4 Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--los-line); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.los-acc-row-actions { margin-left: auto; display: inline-flex; gap: 14px; align-items: center; }
.los-acc-mini-form { display: inline; margin: 0; }
.los-acc .los-acc-btn-small { padding: 6px 16px; font-size: 13px; }
.los-acc-player { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--los-line); }
.los-acc-player-photo { flex: 0 0 72px; width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--los-line); }
.los-acc-player-body { flex: 1; min-width: 0; }
.los-acc-player-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 4px; }
.los-acc-tours { list-style: none; margin: 8px 0 0; padding: 0; }
.los-acc-tours li { padding: 3px 0; }
.los-acc-req { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

/* Notices */
.los-acc-notice { margin: 0 0 20px; padding: 12px 16px; border-radius: 4px; border-left: 4px solid; background: var(--los-bg); line-height: 1.5; }
.los-acc-notice ul { margin: 0; padding-left: 18px; list-style: disc; }
.los-acc-notice li { margin: 0 0 4px; padding: 0; }
.los-acc-notice li:last-child { margin-bottom: 0; }
.los-acc-notice-ok { border-color: var(--los-ok); }
.los-acc-notice-error { border-color: var(--los-error); }
.los-acc-notice-info { border-color: var(--los-accent-2); }

/* Account / profile header */
.los-acc-head {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
	padding: 26px 28px;
	background: var(--los-card);
	border: 1px solid var(--los-line);
	border-top: 3px solid var(--los-accent);
	border-radius: 6px;
	margin-bottom: 20px;
}
.los-acc-head-text { flex: 1 1 220px; min-width: 0; }
.los-acc-name { margin: 0; font-size: 32px; line-height: 1.15; color: #fff; overflow-wrap: anywhere; }
.los-acc-meta { margin: 6px 0 0; color: var(--los-muted); }
.los-acc-head-links { display: flex; gap: 10px; flex-wrap: wrap; }

.los-acc-avatar { display: block; flex: 0 0 auto; border-radius: 50%; object-fit: cover; border: 2px solid var(--los-line); background: var(--los-bg); }
.los-acc-avatar-letter { display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--los-accent), #2e1d3e); }

/* Tabs */
.los-acc-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin: 0 0 20px; border-bottom: 1px solid var(--los-line); }
.los-acc .los-acc-tabs a { padding: 10px 16px; color: var(--los-muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; font-weight: 600; }
.los-acc .los-acc-tabs a:hover { color: #fff; }
.los-acc .los-acc-tabs a.is-active { color: #fff; border-bottom-color: var(--los-accent-2); }

/* Sections */
.los-acc-section {
	background: var(--los-card);
	border: 1px solid var(--los-line);
	border-radius: 6px;
	padding: 24px 28px;
	margin: 0 0 20px;
}
.los-acc-section h3 { margin: 0 0 16px; font-size: 22px; color: #fff; }
.los-acc-section p:last-child { margin-bottom: 0; }
.los-acc-section .los-acc-form { max-width: 480px; }
.los-acc-avatar-row { display: flex; gap: 26px; align-items: flex-start; flex-wrap: wrap; }
.los-acc-avatar-form { flex: 1 1 260px; }
.los-acc-bio { white-space: normal; overflow-wrap: anywhere; }

@media (max-width: 600px) {
	.los-acc-card, .los-acc-head, .los-acc-section { padding: 20px 18px; }
	.los-acc-title { font-size: 26px; }
	.los-acc-name { font-size: 26px; }
	.los-acc-head { gap: 16px; }
	.los-acc .los-acc-tabs a { padding: 9px 10px; font-size: 14px; }
}

/* Verified League account (profile-icon check) */
.los-acc-badge-verified { background: var(--los-accent-2); color: #1b0f23; }
.los-acc-riot-check { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; margin: 0 0 16px; padding: 18px; background: var(--los-bg); border: 1px solid var(--los-accent); border-radius: 6px; }
.los-acc-riot-check img { border-radius: 8px; border: 2px solid var(--los-accent-2); }
.los-acc-riot-check > div { flex: 1 1 260px; }
.los-acc-riot-check p { margin: 0 0 12px; }

.los-acc-stats { flex-basis: 100%; margin: 0; }

/* Profile, My Account and Members: assets/members.css */
.los-acc-role-svg { display: block; width: 18px; height: 18px; }
.los-acc-role-svg [fill] { fill: currentColor; }
/* Fill (plays anywhere): Riot's picture from Community Dragon, in the text colour through a mask */
.los-acc-role-svg.is-fill { background: currentColor; -webkit-mask: url(roles/fill.png) center / contain no-repeat; mask: url(roles/fill.png) center / contain no-repeat; }
.los-acc-pp-badge { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; font-family: Rajdhani, sans-serif; font-size: 22px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #6b54b6, #2e1d3e); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }

/* The "are you sure?" box (los_acc_confirm_script) */
.los-acc-confirm { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 14px; background: rgba(12, 6, 17, .74); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.los-acc-confirm-pop { width: 100%; max-width: 460px; padding: 24px 28px 22px; background: #22152c; border: 1px solid #2e1d3e; border-top: 3px solid #6b54b6; border-radius: 6px; box-shadow: 0 22px 60px rgba(0, 0, 0, .5); }
.los-acc-confirm-pop h3 { margin: 0 0 10px; font: 700 26px/1.1 Rajdhani, "Arial Narrow", sans-serif; color: #fff; }
.los-acc-confirm-pop p { margin: 0 0 18px; color: #e0dcf0; overflow-wrap: anywhere; }
.los-acc-confirm-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.los-acc-confirm-foot .los-acc-btn { padding: 9px 24px; font: 600 15px/1.3 Rajdhani, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: #6b54b6; border: 2px solid transparent; cursor: pointer; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); transition: background .2s, border-color .2s; }
.los-acc-confirm-foot .los-acc-btn:hover { background: #fd3147; }
.los-acc-confirm-foot .los-acc-btn-ghost { background: transparent; border-color: #6b54b6; }
.los-acc-confirm-foot .los-acc-btn-ghost:hover { background: transparent; border-color: #fd3147; }
