/* TODO: Clean up */
.login md-input-container > label {
    padding-left: 8px;
}

md-input-container:not(.md-input-invalid).md-input-focused label {
    color: #000;
}

.login input[type=text] {
	color: rgba(0, 0, 0, 0.87);
}

.login md-input-container > label,
.signup,
.pwforgot a {
	color: #616161;
}

.signup a,
.pwforgot a {
	color: #6741d0;
	font-weight: 500;
}

.login a:hover {
	text-decoration: underline;
}

.login a:focus-visible,
.login input:focus-visible,
.login button:focus-visible {
	outline: 2px solid #6741d0;
	outline-offset: 2px;
}

.md-button.md-raised:not([disabled]) {
    box-shadow: none;
}

.md-button.md-raised:not([disabled]).guest-button {
    border: 1px solid rgba(0,0,0,0.12);
}

.fb_iframe_widget {
    margin-top: 4px;
    /* 	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26); */
}

.logo {
	width: min(240px, 70vw);
	margin: 0 auto;
	position: relative;
	z-index: 1;
	/* The source logo has a white canvas. Greyscale + screen blending lets
	 * the canvas dissolve into the stage while the hand-drawn mark stays. */
	filter: grayscale(1) invert(1) drop-shadow(0 12px 20px rgba(0,0,0,.28));
	mix-blend-mode: screen;
	opacity: .95;
}

.login-brand-stage {
	position: relative;
	overflow: hidden;
	min-height: 190px;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(circle at 22% 16%, rgba(122,92,255,.76), transparent 42%),
		radial-gradient(circle at 83% 60%, rgba(43,157,244,.48), transparent 44%),
		linear-gradient(180deg, #20203b 0%, #161a2b 58%, #10121d 100%);
	border: 0;
	box-shadow: inset 0 -34px 52px rgba(16,18,29,.42);
}
.login-brand-stage::before,
.login-brand-stage::after {
	content: '';
	position: absolute;
	border-radius: 999px;
	filter: blur(1px);
	opacity: .5;
}
.login-brand-stage::before {
	width: 240px;
	height: 240px;
	right: -100px;
	top: -145px;
	border: 1px solid rgba(255,255,255,.35);
	box-shadow: 0 0 0 28px rgba(255,255,255,.05), 0 0 0 58px rgba(255,255,255,.03);
}
.login-brand-stage::after {
	width: 150px;
	height: 150px;
	left: -62px;
	bottom: -86px;
	background: rgba(99,73,255,.55);
	filter: blur(22px);
}
.md-icon-float.md-block{
	margin:0;
}
.headtitle {
    font-size: 32px;
    font-weight: 700;
}

.subtitle {
    color: #999;
    font-size: 18px;
}

.signup {
    width: 55%;
    color: #999;
}

.signup a {
    color: #6741d0;
    text-decoration: none;
}
.signup span{
	width:100%;
	float:left;
}
.pwforgot {
    width: 45%;
    text-align: right;
}

.login-button,
.facebook-button,
.instagram-button,
.guest-button {
    width: 100%;
    margin: 0 8px;
    border-radius: 5px;
    padding: 15px;
	height:66px;
    font-size: 18px;
}
.instagram-button,
.facebook-button
{
    width: 50%;
}
.google-button {
	width:100%;
	margin:0 8px;
	min-height:46px;
	border:1px solid rgba(195,222,255,.20);
	border-radius:12px;
	background:rgba(7,13,27,.38);
	box-shadow:none;
	color:#eff6ff;
	font-size:13px;
	font-weight:720;
	letter-spacing:0;
	text-transform:none;
}
.google-button:hover { background:rgba(116,163,215,.13); }
.google-mark {
	display:inline-block;
	margin-right:8px;
	color:#8cccf4;
	font-family:Arial,sans-serif;
	font-size:18px;
	font-weight:800;
	line-height:1;
}

.login-button {
    background-image: linear-gradient(to top, #b712ff 0%, #9c1cd1 100%);
    text-transform: none;
}

.facebook-button {
    background-color: #4267b2;
    text-transform: none;
    color: #fff;
	padding: 5px 0 5px 0;
}
.facebook-button span{
	width: 48px;
    height: 48px;
	background:url(../../../images/facebook.svg);
    margin: 0 auto;
    display: block;
}
.instagram-button{
	background: linear-gradient(to right, rgb(236, 145, 35) 0%, rgb(177, 42, 160) 50%, rgb(105, 14, 224) 100%);
	padding: 5px 0 5px 0;
}
.instagram-button span{
	width: 48px;
    height: 48px;
	background:url(../../../images/instagram.svg);
	margin: 0 auto;
    display: block;
}
.guest-button {
    background-color: #fff;
    text-transform: none;
    color: #000;
}

.backtologin {
    width: 100%;
    background-color: #fff;
    font-size: 1.5em;
    text-transform: none;
    padding: 15px;
    border-radius: 10px;
    color: #000;
}

.label {
    color: #000;
}

.pwforgot a {
	text-decoration: none;
}

.lup-login-choice-dialog md-toolbar {
	background: linear-gradient(to top, #b712ff 0%, #9c1cd1 100%);
}

.lup-login-choice-dialog md-dialog-actions .md-button:last-child {
	color: #6741d0;
	font-weight: 500;
}



.check{
  cursor: pointer;
  position: relative;
  margin: auto;
  width: 18px;
  height: 18px;
  float: left;
  -webkit-tap-highlight-color: transparent;
  transform: translate3d(0,0,0);
} 
.check:before{
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(#223254,.03);
    opacity: 0;
    transition: opacity .2s ease;
} 
.check svg{
    position: relative;
    z-index: 1;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #C8CCD4;
    stroke-width: 1.5;
    transform: translate3d(0,0,0);
    transition: all .2s ease;
}
.check path{
      stroke-dasharray: 60;
      stroke-dashoffset: 0;
}
.check polyline {
      stroke-dasharray: 22;
      stroke-dashoffset: 66;
}
.check:hover:before{
      opacity: 1;
}
.check:hover svg{
      stroke: #4285F4;
}

#cbx:checked + .check svg{
    stroke: rgb(57,73,171);
}
#cbx:checked + .check path{
      stroke-dashoffset: 60;
      transition: all .3s linear;
}
#cbx:checked + .check polyline{
      stroke-dashoffset: 42;
      transition: all .2s linear;
      transition-delay: .15s;
}

:focus{
	outline:none;
}

.login-bottom{
    position: absolute;
    width: 100%;
    bottom: 0;
	float: left;
    display: block;
}
.login-bottom.login-page{
	position: relative;
}

.login-bottom .md-button{
	text-align: center;
}
.login-bottom ._md-button-wrap{
    float: left;
    width: 50%;
}
.login-bottom .md-list-item-inner{
	text-align: center;
}
.tos-line{
    width: 100%;
    height: 60px;
}
.tos-line span{
/*     float: left; */
/*     width: 90%; */
	display: block;
    padding-left: 30px;
	font-size: 0.9rem;
    line-height: 24px;
	color: rgba(0,0,0,0.38);
}

section.login, .authpage {
/* 	margin: auto; */
	justify-content: center;
}
section.login md-content {
	max-width: 800px;
}

.lup-tos-line a {
    color: rgba(0,0,0,0.38);
    text-decoration: underline;
    cursor:pointer;
}

.tos-line .error {
	position: relative;
	top: 12px;
	left: -16px;
}
.register-title{
	margin:15px 0;
}
.register-form-register{
	margin-bottom:120px;
}

/* LinkUUp access system: a single, calm night surface with a living route.
 * It replaces the legacy Material-white login without touching auth logic. */
.auth-shell,
.auth-shell .auth-canvas {
	min-height:100vh;
	background:#101522;
}
.auth-shell .auth-canvas {
	position:relative;
	display:grid;
	grid-template-columns:minmax(0,1.06fr) minmax(360px,.94fr);
	grid-template-rows:1fr auto;
	max-width:none;
	overflow:hidden;
	color:#edf3ff;
}
.auth-shell .auth-canvas::before {
	content:'';
	position:absolute;
	inset:0;
	pointer-events:none;
	background:radial-gradient(ellipse at 28% 20%,rgba(62,111,168,.18),transparent 39%),radial-gradient(ellipse at 78% 74%,rgba(99,76,164,.14),transparent 35%);
}
.auth-hero,
.auth-panel,
.auth-legal { position:relative; z-index:1; }
.auth-hero {
	display:grid;
	min-height:calc(100vh - 58px);
	overflow:hidden;
	place-items:center;
	border-right:1px solid rgba(184,209,255,.10);
	background:linear-gradient(145deg,#111a2a,#0e1421 70%);
}
.auth-hero::before {
	content:'';
	position:absolute;
	width:min(64vw,650px);
	height:min(64vw,650px);
	border:1px solid rgba(164,207,248,.085);
	border-radius:50%;
	box-shadow:0 0 0 55px rgba(161,190,255,.022),0 0 0 136px rgba(161,190,255,.014);
	transform:translate(-16%,-16%);
}
.auth-hero-copy { position:relative; z-index:2; width:min(100%,410px); padding:32px; text-align:center; }
.auth-mark {
	display:grid;
	place-items:center;
	width:54px;
	height:54px;
	margin:0 auto 22px;
	border:1px solid rgba(198,226,255,.28);
	border-radius:18px 18px 18px 7px;
	background:linear-gradient(145deg,rgba(114,170,215,.72),rgba(91,75,173,.72));
	box-shadow:inset 0 1px 0 rgba(255,255,255,.26),0 12px 26px rgba(20,46,106,.22),0 0 26px rgba(115,189,246,.13);
	color:#f7fbff;
}
.auth-mark .material-icons { font-size:25px; }
.auth-shell .login-wordmark { margin:0; color:#f7f9ff; font-size:clamp(42px,5vw,66px); font-weight:660; letter-spacing:-.075em; line-height:.93; }
.auth-shell .login-wordmark-link { color:#f1f6ff; }
.auth-shell .login-wordmark-up { color:#9bcff4; }
.auth-shell .login-brand-claim { max-width:28ch; margin:17px auto 0; color:#aebbd0; font-size:14px; line-height:1.6; }
.auth-route { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.auth-route-base { fill:none; stroke:rgba(148,199,239,.20); stroke-width:1.4; }
.auth-route-light { fill:none; stroke:#bceaff; stroke-width:3; stroke-linecap:round; stroke-dasharray:74 1600; filter:drop-shadow(0 0 6px #83c9f8) drop-shadow(0 0 18px rgba(109,145,242,.74)); animation:auth-route-travel 10s linear infinite; }
.auth-route-point { fill:#d6f5ff; stroke:#8dccf4; stroke-width:3; filter:drop-shadow(0 0 8px rgba(123,205,255,.9)); animation:auth-route-point 4.8s ease-in-out infinite; transform-origin:center; }
.auth-route-point-late { animation-delay:2.2s; }
@keyframes auth-route-travel { from { stroke-dashoffset:1660; } to { stroke-dashoffset:0; } }
@keyframes auth-route-point { 0%,100% { opacity:.35; transform:scale(.72); } 42% { opacity:1; transform:scale(1.34); } }
.auth-panel {
	display:flex;
	flex-direction:column;
	align-self:center;
	width:min(100%,500px);
	margin:0 auto;
	padding:52px clamp(28px,5vw,62px) 39px;
	/* The inputs form their own clear surface; no second panel sits behind them. */
	border:0;
	border-radius:0;
	background:transparent;
	box-shadow:none;
	backdrop-filter:none;
}
.auth-kicker { margin:0 0 11px; color:#98c9ee; font-size:9px; font-weight:850; letter-spacing:.19em; }
.auth-panel > h1 { margin:0; color:#f5f8ff; font-size:31px; font-weight:650; letter-spacing:-.045em; line-height:1.1; }
.auth-intro { max-width:34ch; margin:11px 0 25px; color:#aebbd0; font-size:13px; line-height:1.55; }
.auth-panel .register-title { display:none; }
.auth-panel .error { color:#ffb7c4; font-size:12px; }
.auth-panel md-input-container { width:100%; margin:0 0 17px; }
.auth-panel md-input-container::after { display:none; }
.auth-panel md-input-container { border-bottom:0; }
.auth-panel md-input-container > label { padding-left:0; color:#aebbd0; font-size:11px; font-weight:700; letter-spacing:.035em; }
.auth-panel md-input-container.md-input-focused > label { color:#a9ddff; }
.auth-panel md-input-container .md-input,
.auth-panel input[type=text],
.auth-panel input[type=email],
.auth-panel input[type=password] {
	width:100%;
	box-sizing:border-box;
	min-height:46px;
	border:1px solid rgba(187,211,255,.16);
	border-radius:11px;
	background:rgba(7,12,23,.40);
	box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
	color:#eff5ff;
	font-size:14px;
	line-height:46px;
	transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.auth-panel md-input-container .md-input { padding:0 13px; }
.auth-panel md-input-container .md-input:focus,
.auth-panel input:focus { border-color:rgba(137,204,246,.68); background:rgba(9,16,30,.68); box-shadow:0 0 0 3px rgba(105,176,233,.10); }
.auth-panel md-input-container .md-input::placeholder,
.auth-panel input::placeholder { color:#75839b; }
.auth-panel .md-input-focused .md-input { border-bottom-color:rgba(137,204,246,.68); }
.auth-panel .login-credentials { width:100%; margin:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.auth-panel .guest-credentials { padding:0; }
.auth-panel .login-links { display:flex; gap:12px; margin:0 0 9px; padding:0; }
.auth-panel .signup,.auth-panel .pwforgot { width:auto; margin:0; color:#9facbf; font-size:11px; line-height:1.45; }
.auth-panel .pwforgot { margin-left:auto; text-align:right; }
.auth-panel .signup span { width:auto; float:none; }
.auth-panel .signup a,.auth-panel .pwforgot a { color:#a8d9f8; font-weight:700; text-decoration:none; }
.auth-panel .login-submit,.auth-panel .login-google,.auth-panel .login-social,.auth-panel .login-guest,.auth-panel .guest-submit,.auth-panel .guest-back { display:block; width:100%; box-sizing:border-box; padding:0; }
.auth-panel .login-button,.auth-panel .backtologin {
	display:block;
	width:100%;
	min-width:0;
	min-height:50px;
	box-sizing:border-box;
	height:50px;
	margin:12px 0 0;
	border:1px solid rgba(204,228,255,.30);
	border-radius:11px;
	background:linear-gradient(110deg,#4d88bb,#6d58b4);
	box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 12px 24px rgba(38,65,132,.20);
	color:#fff;
	font-size:13px;
	font-weight:760;
	letter-spacing:.01em;
	text-transform:none;
}
.auth-panel .login-social { display:none; }
.auth-panel .google-button { display:block; width:100%; margin:9px 0 0; }
.auth-panel .guest-button {
	display:block;
	width:100%;
	min-width:0;
	box-sizing:border-box;
	height:42px;
	margin:10px 0 0;
	border:1px solid rgba(187,211,255,.16);
	border-radius:11px;
	background:transparent;
	box-shadow:none;
	color:#c1d8eb;
	font-size:12px;
	font-weight:700;
	text-transform:none;
}
.auth-panel .backtologin { margin-top:10px; border-color:rgba(187,211,255,.16); background:transparent; box-shadow:none; color:#c1d8eb; }
.auth-panel .tos-line { height:auto; min-height:56px; margin:0 0 12px; }
.auth-panel .tos-line span { padding-left:31px; color:#aebbd0; font-size:11px; line-height:1.5; }
.auth-panel .lup-tos-line a { color:#a7d8f8; }
.auth-panel .check svg { stroke:#a8bdd4; }
.auth-panel #cbx:checked + .check svg { stroke:#9bd6ff; }
.auth-legal {
	grid-column:1 / -1;
	display:flex;
	align-items:center;
	justify-content:center;
	gap:11px;
	min-height:58px;
	border-top:1px solid rgba(185,210,255,.08);
	background:rgba(7,11,19,.17);
}
.auth-legal button { padding:6px; border:0; background:transparent; color:#8292aa; font:700 10px/1 Inter,Arial,sans-serif; letter-spacing:.08em; text-transform:uppercase; }
.auth-legal button:hover { color:#c5e4f7; }
.auth-legal span { width:3px; height:3px; border-radius:50%; background:#62718a; }
@media (max-width:780px) {
	.auth-shell .auth-canvas { display:block; overflow:auto; }
	.auth-hero { min-height:270px; border-right:0; border-bottom:1px solid rgba(184,209,255,.10); }
	.auth-hero-copy { padding:29px 22px; }
	.auth-mark { width:46px; height:46px; margin-bottom:16px; border-radius:15px 15px 15px 6px; }
	.auth-mark .material-icons { font-size:22px; }
	.auth-shell .login-wordmark { font-size:48px; }
	.auth-shell .login-brand-claim { margin-top:12px; font-size:12px; }
	.auth-panel { width:calc(100% - 26px); margin:18px auto 25px; padding:35px 23px 26px; border-radius:17px; }
	.auth-panel > h1 { font-size:27px; }
	.auth-route { height:290px; top:-9px; }
	.auth-legal { min-height:55px; }
}
@media (prefers-reduced-motion:reduce) { .auth-route-light,.auth-route-point { animation:none; } }
