/* N2771 entry screen art */
#wrapper:has(.indexArtArea),
body:has(.indexArtArea) #screenOverlay{
	background-color:#0d0a1c;
}

.indexArtBackdrop{
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	z-index:0;
	overflow:hidden;
	background:#0d0a1c;
	pointer-events:none;
}

.indexArtBackdrop img{
	display:block;
	width:100%;
	height:100%;
	object-fit:cover;
	object-position:center bottom;
	filter:blur(22px) brightness(.42) saturate(1.15);
	transform:scale(1.12);
}

.indexArtStage{
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	margin:0 auto;
	width:100%;
	z-index:1;
	overflow:hidden;
	container-type:inline-size;
	pointer-events:none;
}

#pcFrame .indexArtStage{
	width:min(100vw,calc(100dvh * 9 / 16));
	box-shadow:0 0 40px rgba(0,0,0,.6);
}

/* N2772 cover, but at most 1.9x the width tall (keeps the faces at the sides) */
.indexArtImage{
	position:absolute;
	top:0;
	left:0;
	display:block;
	width:100%;
	height:100%;
	height:min(100%,190cqw);
	object-fit:cover;
	object-position:center top;
	-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 calc(100% - 72px),rgba(0,0,0,0) 100%);
	mask-image:linear-gradient(to bottom,#000 0,#000 calc(100% - 72px),rgba(0,0,0,0) 100%);
}

.indexArtShade{
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background:
		linear-gradient(to bottom,rgba(13,10,28,.6) 0,rgba(13,10,28,.3) 10%,rgba(13,10,28,0) 19%),
		linear-gradient(to top,rgba(13,10,28,.8) 0,rgba(13,10,28,.45) 18%,rgba(13,10,28,0) 32%);
}

/* N2773 logo in the top band, the box keeps 820:300 */
.indexArtHead{
	position:absolute;
	top:calc(env(safe-area-inset-top,0px) + 8px);
	left:0;
	right:0;
	margin:0;
	padding:0;
	text-align:center;
}

.indexArtLogo{
	margin:0 auto;
	padding:0;
	width:64%;
	width:64cqw;
	max-width:360px;
	aspect-ratio:820 / 300;
	line-height:0;
	font-size:0;
}

.indexArtLogo img{
	display:block;
	width:100%;
	height:100%;
	object-fit:contain;
	filter:drop-shadow(0 2px 6px rgba(0,0,0,.55));
}

/* N2777 copy just above the entry button */
.indexArtCopyBox{
	position:absolute;
	left:0;
	right:0;
	bottom:calc(env(safe-area-inset-bottom,0px) + 126px);
	bottom:calc(env(safe-area-inset-bottom,0px) + clamp(28px,7dvh,72px) + 70px);
	margin:0;
	padding:0;
	text-align:center;
}

.indexArtCopy{
	margin:2px 0 0;
	padding:0;
	font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
	font-size:21px;
	font-size:clamp(15px,5.4cqw,26px);
	font-weight:700;
	line-height:1.3;
	letter-spacing:.06em;
	color:#fff8ec;
	white-space:nowrap;
	text-shadow:0 1px 2px rgba(0,0,0,.9),0 0 10px rgba(20,10,40,.85),0 0 18px rgba(20,10,40,.6);
}

.indexArtCopy em{
	font-style:normal;
	font-size:1.18em;
	color:#ecd2ff;
}

.indexArtSub{
	display:flex;
	align-items:center;
	justify-content:center;
	gap:.6em;
	margin:4px auto 0;
	padding:0;
	width:90%;
	width:90cqw;
	font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
	font-size:11px;
	font-size:clamp(10px,2.9cqw,14px);
	font-weight:700;
	line-height:1.4;
	letter-spacing:.04em;
	color:#f3e6c8;
	white-space:nowrap;
	text-shadow:0 1px 2px rgba(0,0,0,.95),0 0 8px rgba(20,10,40,.9);
}

.indexArtSub::before,
.indexArtSub::after{
	content:"";
	flex:1 1 0;
	max-width:56px;
	height:1px;
	background:linear-gradient(to right,rgba(243,230,200,0),rgba(243,230,200,.85));
}

.indexArtSub::after{
	transform:scaleX(-1);
}

/* N2774 the entry button sits in the bottom band of the art */
.indexArtArea #enterButton{
	position:fixed;
	left:0;
	right:0;
	bottom:calc(env(safe-area-inset-bottom,0px) + 56px);
	bottom:calc(env(safe-area-inset-bottom,0px) + clamp(28px,7dvh,72px));
	margin:0 auto;
	width:250px;
	height:auto;
	z-index:3;
}

.indexArtArea #enterButton img{
	display:block;
	filter:drop-shadow(0 4px 10px rgba(0,0,0,.55));
}

/* N3482 */
#enterButton .passkeyIndexButton{width:100%;max-width:none;margin:8px 0 0}
#enterButton .passkeyIndexButton a{display:flex;min-height:44px;font-size:15px;background:linear-gradient(135deg,rgba(255,255,255,.12) 0%,rgba(255,255,255,0) 42%),linear-gradient(180deg,rgba(28,23,36,.94) 0%,rgba(9,7,20,.94) 100%)}
.indexArtArea:has(.passkeyIndexButton:not([hidden])){--pkB:max(10px,calc(clamp(28px,7dvh,72px) - 52px))}
.indexArtArea:has(.passkeyIndexButton:not([hidden])) #enterButton{bottom:calc(env(safe-area-inset-bottom,0px) + var(--pkB))}
.indexArtArea:has(.passkeyIndexButton:not([hidden])) .indexArtCopyBox{bottom:calc(env(safe-area-inset-bottom,0px) + var(--pkB) + 122px)}
