* {
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
	font-family: 'SF Pro Display';
	user-select: none;
}

:root {
	--iconTint: #0ff;
	--iconTintOpacity: 0.5;
}

/*? Base styles for glow */
/*
!	background: #fff2;
!	filter: drop-shadow(1px 1px 0 #fff2) drop-shadow(-1px -1px 0 #fff6) drop-shadow(-1px 1px 0 #fff2) drop-shadow(1px -1px 0 #fff2);
!	backdrop-filter: blur(10px);

!	background: #1c1c1e22;
?	DARK MODE BG

!   box-shadow: 0px 0px 15px #0005;
?	FOR SHADOWS AFTER THE GLOW

!	border-radius: 30px;
*/

sf-symbol {
	pointer-events: none;
}

body {
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: url(../image/Backgrounds/Desktop/light.jpg);
	background-size: cover;
	background-position: center;
}

body::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	background: #0007;
}

body.dark {
	background: url(../image/Backgrounds/Desktop/dark.jpg);
	background-size: cover;
	background-position: center;
}

body.mobile div#iphoneOverlay {
    display: none;
}

body.mobile div#iosHolder {
    width: 100%;
    height: 100%;
    padding: 0 !important;
}

body.mobile div#iosHolder div#ios26 {
    width: 100%;	
	height: 100%;
    border-radius: 0 !important;
}

div#iphoneOverlay, div#iphoneDynamicIslandOverlay {
	top: 0;
	left: 0;
	z-index: 9999;
	pointer-events: none;
	position: absolute;
	background-image: url(../image/iphoneoverlay.png);
	background-size: contain;
	height: 1100px;
	width: 550px;
}

div#iphoneShadow {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 0;
	pointer-events: none;
	position: absolute;
	border: 5px solid black;
	border-radius: 100px;
	box-shadow: 0px 0px 50px 20px black;
	background-size: contain;
	height: 1050px;
	width: 500px;
}

body.showOffPhone div#iosHolder {
	animation: rotatePhone 5s linear infinite forwards;
}

@keyframes rotatePhone {
	from {
		transform: perspective(1440px) rotateY(0deg);
	}
	to {
		transform: perspective(1440px) rotateY(360deg);
	}
}

div#iosHolder {
	transform-style: preserve-3d;
	position: relative;
	z-index: 1;
	padding: 32px;
	padding-right: 35px;
	width: 550px;
	height: 1100px;
}


div#iosHolder::before {
	transform: translateZ(-1px) scaleX(-1);
	content: '';
	z-index: -1;
	background: url(../image/iphoneBack.png);
	background-position: center;
	background-size: cover;
	position: absolute;
	width: calc(100% - 64px);
	height: calc(100% - 64px);
	border-radius: 70px;
}

div#ios26 {
	overflow: hidden;
	position: relative;
	border-radius: 50px;
	width: 100%;
	height: 100%;
	transition: 0.1s ease-in-out filter;
	filter: brightness(1);
}

div#ios26.locked {
	filter: brightness(0);
}

div#topBar {
	z-index: 500;
	position: absolute;
	color: white;
	width: 100%;
	height: 75px;
	display: flex;
	flex-direction: row;
	align-items: center;
}

div#topBar sf-symbol {
	display: block;
	margin: 0px 2px;
	height: 20px;
}

div#topBar > div {
	user-select: none;
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}


div.topBar-time {
	font-weight: 500;
	color: white;
	font-size: 20px;
}

div#homeScreenBG {
	position: absolute;
	background: url(../image/Backgrounds/light.jpg);
	background-size: cover;
	width: 100%;
	height: 100%;
}

div#homeScreen {
	display: flex;
  	flex-direction: column;
	justify-content: center;
	align-items: start;
	width: 100%;
	height: 100%;
}

div#homeScreen.animate {
	animation: homeScreenOpen 0.5s ease-in-out 1 forwards;
}

@keyframes homeScreenOpen {
	0% {
		scale: 2;
	}

	100% {
		scale: 1;
	}
}

body.dark div#homeScreenBG {
	background-image: url(../image/Backgrounds/dark.jpg);
}

body.dark div#homeScreenBG::after {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background: #000a;
}

div#HS_Pages {
	width: 100%;
	display: flex;
	overflow-x: scroll;
	height: 100%;
	scrollbar-width: none;
	user-select: none;
	touch-action: none;
}

div#HS_Pages ::-webkit-scrollbar {
	display: none;
}

div.HS_Icons {
	height: calc(100% - 212px);
  	overflow: visible;
	display: grid;
	grid-template-columns: repeat(4, 112px);
	grid-template-rows: repeat(auto-fill, 112px);
}

div#pageSelector {
	height: 10px;
	top: -20px;
	display: flex;
	flex-direction: row;
	position: absolute;
	left: 50%;
	transform: translate(-50%, -50%);
}

div.pageSelection {
	margin: 0 5px;
	width: 10px;
	height: 10px;
	background: white;
	box-shadow: 0px 0px 3px white;
	opacity: 0.6;
	border-radius: 100%;
}

div.pageSelection.active {
	opacity: 0.9;
}

body.clearIcons div.homeIcon,
body.clearIcons div.homeIcon img {
	backdrop-filter: none;
	background: transparent;
	filter: none;
}


div.homeIcon {
	position: relative;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	text-align: center;
	align-items: center;
	justify-content: center;
	height: 90px;
	width: 90px;
	justify-self: center;
	align-self: center;
	border-radius: 25px;
	backdrop-filter: blur(3px);
}

body.tintedIcons div.homeIcon img {
	backdrop-filter: none;
}

body.tintedIcons div.homeIcon::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: var(--iconTint);
	opacity: var(--iconTintOpacity);
	border-radius: 0;
	clip-path: url(#homeIconSquircle);
	backdrop-filter: blur(10px);
	pointer-events: none;
}

body.tintedIcons div.widgetSmall::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: var(--iconTint);
	opacity: var(--iconTintOpacity);
}

div.homeIcon p {
	display: none !important;
}

body.showHSLabels div.homeIcon p {
	display: block !important;
}

div.homeIcon:not([app]),
div.homeIcon:not([app]) img,
div.homeIcon:not([app]):active,
div.homeIcon:not([app]) img:active  {
	cursor: not-allowed;
}

body:not(.showInvalidIcons) div.homeIcon:not([app]) {
	scale: 0.9;
	opacity: 0.5;
	filter: grayscale(1) brightness(0.5);
}

div.homeIcon > img {
	
	clip-path: url(#homeIconSquircle);
	opacity: 1;
	pointer-events: none;
	height: 90px;
	width: 90px;
	user-select: none;
	object-fit: contain;
	border-radius: 20px;
	backdrop-filter: blur(10px);
	background: #fff2;
}

div.HS_Icons div.widgetSmall {
	overflow: hidden;
	border-radius: 20px;
	background: linear-gradient(180deg, #fff2, #fff9);
  	box-shadow: inset 0px 0px 20px #fff9;
	filter: drop-shadow(1px 1px 0 #fff2) drop-shadow(-1px -1px 0 #fff6) drop-shadow(-1px 1px 0 #fff2) drop-shadow(1px -1px 0 #fff2);
	backdrop-filter: blur(10px);
	margin: 10px;
	grid-column: span 2;
	grid-row: span 2;
}

div.HS_Icons div.widgetSmall * {
	position: relative;
}

body.dark div.HS_Icons div.widgetSmall {
	background: linear-gradient(180deg, #0002, #0009);
  	box-shadow: inset 0px 0px 20px #0009;
}

div.HS_Page {
	height: 100%;
	padding-top: 70px;
	min-width: 450px;
	margin: 0 16px;
}

div#HS_Dock {
	margin: auto;
	position: absolute;
	bottom: 40px;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

div#HS_dockInner {
	box-sizing: content-box;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	flex-direction: row;
	border-radius: 35px;
	height: 110px;
	padding: 5px;
	width: 450px;
	background: #fff2;
	filter: drop-shadow(1px 1px 0 #fff2) drop-shadow(-1px -1px 0 #fff6) drop-shadow(-1px 1px 0 #fff2) drop-shadow(1px -1px 0 #fff2);
	backdrop-filter: blur(10px);
	margin-top: 20px;
}

body.dark div#HS_dockInner {
	background: rgba(0, 0, 0, 0.3);
}

div.homeIconShow {
	z-index: 2;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

div.homeIconShow img {
	width: 100px;
	height: 100px;
	animation: openApp 0.25s ease-in-out 1 forwards;
}


@keyframes openApp {
	100% {
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%) scale(7, 12);
		filter: contrast(0) brightness(2);
	}
}

#currentApp {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 40;
    opacity: 1;
    transition: 0.5s opacity ease-in-out;
}

#currentApp.noApp {
	pointer-events: none;
    opacity: 0;
    transition: 0.2s opacity ease-in-out;
}

#currentApp iframe {
	width: 100%;
	height: 100%;
	clip-path: inset(0% 0% 0% 0% round 50px);
}

.appClose {
	z-index: 50;
	border: none;
	background: transparent;

	position: absolute;
	bottom: 0;
	height: 30px;
	left: 20%;
	right: 20%;
	width: 60%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.appCloseBar {
	border: none;
	background: transparent;

	height: 5px;
	width: 180px;

	left: 50%;
	border-radius: 999px;

	backdrop-filter: blur(15px) invert(1);

	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

div#lockScreen {
	z-index: 1000;
	position: absolute;
	background: url(../image/Backgrounds/dark.jpg);
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 100%;
	bottom: 0;
	transition: 0.5s ease-in-out bottom;
}

div#lockScreen.closed {
	bottom: 100% !important;
}

div.lockTime {
	position: absolute;
	top: 100px;
	width: 100%;
	text-align: center;
	z-index: 1;
	filter: drop-shadow(1px 1px 0 #fff2) drop-shadow(-1px -1px 0 #fffa) drop-shadow(-1px 1px 0 #fff2) drop-shadow(1px -1px 0 #fff4);
  	backdrop-filter: blur(0);
}

p#lockDate {
	font-size: 28px;
	color: #fff4;
	/* backdrop-filter: blur(5px); */
	/* -webkit-text-stroke: 0.5px #fff6; */
	z-index: 2;
	position: relative;
}

div#lockTimeDiv {
	user-select: none;
	color: #fff4;
	/* backdrop-filter: blur(15px);
	-webkit-text-stroke: 1px #fff6; */
	font-family: 'Zuume';
	font-weight: normal;
	font-size: 280px;
	scale: 1 1.1;
	z-index: 1;
	position: relative;
	
	backdrop-filter: blur(5px);
	clip-path: url(#svgTextPath);
	text-align: initial;
	width: fit-content;
	margin: auto;
}

div#lockScreen div.otherButtons {
	position: absolute;
	bottom: 50px;
	width: 100%;
	padding: 0 50px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	z-index: 3;
}

div#lockScreen div.otherButtons button {
	background: #fff2;
	border: none;
	border-radius: 100%;
	padding: 10px;
	width: 70px;
	height: 70px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #fff2;
	filter: drop-shadow(1px 1px 0 #fff2) drop-shadow(-1px -1px 0 #fff6) drop-shadow(-1px 1px 0 #fff2) drop-shadow(1px -1px 0 #fff2);
	backdrop-filter: blur(4px);
}

div#lockScreen div.otherButtons button:nth-of-type(2),
div#lockScreen div.otherButtons button:nth-of-type(3),
div#lockScreen div.otherButtons button:nth-of-type(4) {
	height: 60px;
	width: 60px;
}

div#lockScreen div.otherButtons sf-symbol {
	height: 80%;
	width: 48px;
}

div#lockScreen div.lockScreenOverlay {
	height: 100%;
	width: 100%;
	background: url(../image/Backgrounds/crop/dark.png);
	background-size: cover;
	background-position: center;
	pointer-events: none;
	position: relative;
	z-index: 2;
}

button#controlCenterBar,
button#controlCenter {
    display: none;
}

body.showControlBtns button#controlCenterBar,
body.showControlBtns button#controlCenter {
    display: block;
}


body.showControlBtns button#controlCenterBar {
	opacity: 0;
	cursor: pointer;
    border: none;
    z-index: 550;
    position: absolute;
    top: 0;
    right: 0;
    height: 70px;
    width: 150px;
    background: transparent;
	font-size: 24px;
	border-bottom-left-radius: 15px;
	transition:
		0.2s ease-in-out opacity,
		0.2s ease-in-out background,
		0.2s ease-in-out backdrop-filter;
}

body.showControlBtns button#controlCenterBar:hover {
	opacity: 1;
	background: #fffa;
	backdrop-filter: blur(5px);
}

div#controlCenter {
    position: absolute;
    bottom: 100%;
    width: 100%;
    height: 100%;
    background: #0004;
    backdrop-filter: blur(3px);

    z-index: 60;
	transition: 0.5s ease-in-out bottom;
}

div#controlCenter.open {
    bottom: 0%;
}

div#flash {
	pointer-events: none;
	position: absolute;
	top: -100px;
	border-radius: 100%;
	filter: blur(30px);
	right: -100px;
	width: 500px;
	height: 500px;
	background: transparent;
	z-index: -1;
}

div#flash.on {
	background: white;
}

div#setupScreen {
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 900;
	width: calc(100% - 32px);
	height: calc(100% - 32px);
	border-radius: 100px;
	background: url(../image/Backgrounds/apple_intelligence.jpg);
	background-size: cover;
}

div#setupHello {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #000a;
	backdrop-filter: blur(5px);
}

div#setupHello img {
	width: 70%;
}

div#setupScreen .appClose {
	bottom: 20px;
}

div#setupScreen .appCloseBar {
	background: white;
}

div#setupScreen p.appBarText {
	font-weight: 600;
	font-size: 20px;
	color: white;
	position: absolute;
	text-align: center;
	transform: translate(-50%, 0);
	left: 50%;
	bottom: 60px;
}

div#setupScreen button.infoButton {
	position: absolute;
	background: none;
	border: none;
	height: 30px;
	width: 30px;
	bottom: 50px;
	right: 50px;
}

div#setupLanguage,
div#setupRegion {
	display: none;
	padding: 70px 32px;
	padding-bottom: 0;
}

div#setupLanguage.shown,
div#setupRegion.shown {
	position: absolute;
	display: flex;
	width: 100%;
	height: 100%;
	background: white;
	flex-direction: column;
}

div#setupLanguage div.topIcon,
div#setupRegion div.topIcon {
	width: 100%;
	height: 30%;

	display: flex;
	flex-direction: column;
	text-align: center;
	align-items: center;
	justify-content: center;
}

div#setupLanguage div.topIcon img,
div#setupRegion div.topIcon img {
	height: 40%;
	filter: invert(14%) sepia(56%) saturate(2854%) hue-rotate(222deg) brightness(151%) contrast(98%);
}

div.setupChoose {
	width: 100%;
	background: #ddd;
	border-radius: 30px;
	overflow: hidden;
}

div.setupChoose div.setupChoice {
	user-select: none;
	padding: 20px 0;
	border-bottom: 1px solid #aaa;
	font-weight: 600;
	font-size: 20px;
	padding-left: 15px;
	display: flex;
	justify-content: start;
	align-items: center;
	position: relative;
	cursor: pointer;
}

div.setupChoose div.setupChoice.disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

div.setupChoose div.setupChoice:active {
	background: #bbb;
}

div.setupChoose div.setupChoice:last-of-type {
	border-bottom: none;
}

div.setupChoose div.setupChoice::after {
	content: "";
	border: solid #aaa;
	border-width: 0 2px 2px 0;
	display: inline-block;
	padding: 4px;
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	position: absolute;
	right: 20px;
}

#lockButton {
	height: 130px;
	width: 30px;
	right: 0;
	top: 350px;
    transition: 0.3s ease-in-out right;
}

#lockButton:hover {
	right: -20px;
}

#actionButton {
	height: 60px;
	width: 30px;
	left: 0;
	top: 230px;
    transition: 0.3s ease-in-out left;
}

#volUpButton {
	height: 90px;
	width: 30px;
	left: 0;
	top: 318px;
    transition: 0.3s ease-in-out left;
}

#volDownButton {
	height: 90px;
	width: 30px;
	left: 0;
	top: 422px;
    transition: 0.3s ease-in-out left;
}


#actionButton:hover,
#volUpButton:hover,
#volDownButton:hover {
	left: -20px;
}


body.iconCircles div.homeIcon,
body.iconCircles div.homeIcon img {
	border-radius: 100%;
}

body.iconGlowOnly div.homeIcon img {
	opacity: 0;
}

button.sideButton {
	cursor: pointer;
	position: absolute;
	border: none;
	border-radius: 30px;
	background: #fff2;
	filter: drop-shadow(1px 1px 0 #fff2) drop-shadow(-1px -1px 0 #fff6) drop-shadow(-1px 1px 0 #fff2) drop-shadow(1px -1px 0 #fff2);
	backdrop-filter: blur(10px);
}

button.sideButton p {
	rotate: -90deg;
	color: #fff4;
}

div.HS_Icons div.widgetSmall.batteryWidget {
	padding: 15px;
	backdrop-filter: blur(5px);
}

div.HS_Icons div.widgetSmall.batteryWidget div.batteryLabel {
	position: relative;
	width: 100%;
	height: 50%;
}

div.HS_Icons div.widgetSmall.batteryWidget div.batteryLabel img {
	width: 80px;
	height: 80px;
	position: absolute;
	object-fit: contain;
	padding: 20px;
}

div.HS_Icons div.widgetSmall.batteryWidget canvas {
	width: 80px;
	height: 80px;
}

div.HS_Icons div.widgetSmall.batteryWidget div.batteryText {
	height: 50%;
	color: black;
	font-weight: 500;
	font-size: 4em;
	display: flex;
	justify-content: flex-start;
	align-items: flex-end;
}

body.dark div.HS_Icons div.widgetSmall.batteryWidget div.batteryText {
	color: white;
}

body.dark div.HS_Icons div.widgetSmall.batteryWidget div.batteryLabel img {
	filter: invert(1);
}

div.lockScreenNotifications {
    position: absolute;
    bottom: 150px;
	padding: 30px;
    width: 100%;
    height: auto;
	max-height: 480px;
    background: transparent;
	z-index: 2;
}

div.lockScreenNotification {
	margin-bottom: 10px;
	user-select: none;
    width: 100%;
    min-height: 80px;
	padding: 10px 15px;
	padding-left: 0;
	background: #fff2;
	border-radius: 30px;
	filter: drop-shadow(1px 1px 0 #fff2) drop-shadow(-1px -1px 0 #fff6) drop-shadow(-1px 1px 0 #fff2) drop-shadow(1px -1px 0 #fff2);
	backdrop-filter: blur(10px);
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	position: relative;
}

/* div.lockScreenNotification::after {
	cursor: pointer;
	width: 40px;
	aspect-ratio: 1;
	content: '';
	position: absolute;
	top: -20px;
	right: -20px;
	border-radius: 100%;
	background: url(../sf-symbols/glyphs_white/multiply.png) #fff2;
	background-position: center;
	background-size: 50% 45%;
	background-repeat: no-repeat;
	filter: drop-shadow(1px 1px 0 #fff2) drop-shadow(-1px -1px 0 #fff6) drop-shadow(-1px 1px 0 #fff2) drop-shadow(1px -1px 0 #fff2);
	backdrop-filter: blur(10px);

	scale: 1;
	transition: 500ms cubic-bezier(.57,-0.56,.46,1.37) scale;
}

div.lockScreenNotification:hover::after {
	scale: 1.1;
} */

div.lockScreenNotification div.image {
	height: 100%;
	width: 80px;
	padding: 0 15px;
	display: flex;
	justify-content: center;
	align-items: center
}

div.lockScreenNotification div.image img {
	pointer-events: none;
  	width: 100%;
}

div.lockScreenNotification div.info {
	width: calc(100% - 80px);
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: start;
}

div.lockScreenNotification div.info div.header {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: start;
}

div.lockScreenNotification div.info div.header p.title {
	flex: 1 1 auto;
	color: white;
	font-weight: 800;
	font-size: 20px;
}

div.lockScreenNotification div.info div.header p.date {
	color: #fff6;
	font-weight: 500;
	font-size: 20px;
}

div.lockScreenNotification div.info div.description {
	color: white;
	font-weight: 500;
	font-size: 20px;
}

div.homeIcon.ios18::after {
	/* content: 'iOS 18 App'; */
	color: black;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100px;
	height: 40px;
	position: absolute;
	top: -20px;
	left: -20px;
	background: #fff6;
	border-radius: 30px;
	filter: drop-shadow(1px 1px 0 #fff2) drop-shadow(-1px -1px 0 #fff6) drop-shadow(-1px 1px 0 #fff2) drop-shadow(1px -1px 0 #fff2);
	backdrop-filter: blur(10px);
}

div#alertScreen {
	pointer-events: none;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 90;
	position: absolute;

	display: flex;
	justify-content: center;
	align-items: center;
	background: transparent;
	transition: 0.2s background ease-in-out;
}

div#alertScreen.alertOpen {
	pointer-events: all;
	background: #0005;
}

body.dark div#alertScreen div.alert {
	color: white;
}

div#alertScreen div.alert {
	min-width: 300px;
	max-width: 400px;
	border-radius: 30px;
	padding: 10px;
	padding-top: 30px;
	background: #fff4;
	filter: drop-shadow(1px 1px 0 #fff6) drop-shadow(-1px -1px 0 #fffb) drop-shadow(-1px 1px 0 #fff6) drop-shadow(1px -1px 0 #fff6);
	backdrop-filter: blur(10px);
	padding-bottom: 15px;
	animation: 0.4s alertFadeIn ease-in-out 1 forwards;
}

@keyframes alertFadeIn {
	from {
		opacity: 0;
		scale: 1.4;
	}
	to {
		opacity: 1;
		scale: 1;
	}
}

div#alertScreen div.alert div.text {
	display: flex;
	flex-direction: column;
	text-align: c;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding: 0 15px;
}

div#alertScreen div.alert h1 {
	width: 100%;
	font-size: 24px;
	margin-bottom: 10px;
	font-weight: 900;
}

div#alertScreen div.alert p {
	width: 100%;
	font-size: 20px;
	margin-bottom: 20px;
}


div#alertScreen div.horiButtons {
	display: flex;
	flex-direction: row;
}

div#alertScreen div.horiButtons button {
	border: none;
	padding: 10px 0px;
	border-radius: 999px;
	margin: 0 5px;
	width: auto;
	flex: 1 1 auto;
}

div#alertScreen div.vertButtons {
	display: flex;
	flex-direction: column;
}

div#alertScreen div.vertButtons button {
	border: none;
	border-radius: 999px;
	width: 100%;
	border: none;
	padding: 10px 20px;
	border-radius: 999px;
	margin-bottom: 5px;
}

div#alertScreen div.vertButtons button:last-of-type {
	margin-bottom: 0;
}

div#alertScreen button {
	cursor: pointer;
	font-size: 24px;
	color: white;
}

div#alertScreen button.alert_highlight {
	font-weight: 900;
	color: white;
	background: rgb(42, 101, 211);
}

div#alertScreen button.alert_danger {
	color: red;
	background: #0002;
}

div#alertScreen button.alert_normal {
	color: black;
	background: #0001;
}

body.dark div#alertScreen button.alert_normal {
	color: white;
	color: white;
}

div#bootScreen { 
	pointer-events: none;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1200;
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	background-size: cover;
	transition: 0.2s background ease-in-out;
}

div#bootScreen.black {
	background: black;
}

div#bootScreen.booting {
	background: url(../image/boot/appleLogo.jpeg) black;
	background-size: contain;
  	background-position: center;
}

div#bootScreen.charging {
	background: url(../image/boot/charging.jpeg) black;
	background-size: contain;
  	background-position: center;
}

div#bootScreen.criticalPower {
	background: url(../image/boot/criticalPower.jpeg) black;
	background-size: contain;
  	background-position: center;
}

div#bootScreen.deadPhone {
	background: url(../image/boot/deadPhone.jpeg) black;
	background-size: contain;
  	background-position: center;
}

div#bootScreen.recoveryMode {
	background: url(../image/boot/recoveryMode.jpeg) black;
	background-size: contain;
  	background-position: center;
}

div#bootScreen.black,
div#bootScreen.booting,
div#bootScreen.charging, 
div#bootScreen.criticalPower, 
div#bootScreen.deadPhone,
div#bootScreen.recoveryMode {
	pointer-events: all;
}

div.welcome {
	top: 40px;
	left: 50px;
	position: absolute;
	z-index: 0;
}

div.welcome p {
	font-size: 48px;
}

div.welcome a {
	color: #fff2;
	text-shadow: 1px 1px 0 #fff2, -1px -1px 0 #fff6, -1px 1px 0 #fff2, 1px -1px 0 #fff2;
}

div.welcome a:visited {
	color: #fff2
}

body.dark div.welcome {
	color: white;
}

div.welcome div.welcomeIOS {
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: start;
	align-items: center;
}

div.welcome div.welcomeIOS > div, 
div.welcome div.welcomeIOS > img {
	backdrop-filter: blur();
	filter: drop-shadow(1px 1px 0 #fff6) drop-shadow(-1px -1px 0 #ffff) drop-shadow(-1px 1px 0 #fff6) drop-shadow(1px -1px 0 #fff6);
}

body.dark div.welcome div.welcomeIOS > div > div {
	background: url(../image/Backgrounds/Desktop/dark.jpg);
	background-size: cover;
	background-position: center;
}

div.welcome div.welcomeIOS > div > div {
	background: url(../image/Backgrounds/Desktop/light.jpg);
	background-size: cover;
	background-position: center;
	backdrop-filter: blur(10px);
	color: transparent;
	font-size: 84px;
	margin-right: 20px;
	clip-path: url(#svgiOSTextPath);
	font-weight: 700;
}

div.welcome div.welcomeIOS img {
	height: 64px;
	position: absolute;
	top: 18px;
	left: 150px;
}

body.dark div.welcome p img {
	filter: invert(1);
}

div#controlCenter {
	display: flex;
	justify-content: center;
	align-items: center;
}

div#controlCenter sf-symbol {
	display: flex;
	justify-content: center;
	align-items: center;
}

div.controlCenterGrid {
	padding-top: 70px;
	display: grid;
	grid-template-columns: repeat(4, 112px);
	grid-template-rows: repeat(8, 112px);
}

div.cc1x4,
div.cc1x2,
div.cc2x1,
div.cc2x2 {
	overflow: hidden;
	border-radius: 900px;
	margin: 10px;
	background: #fff2;
	box-shadow: 1px 1px 0 #fff5, -1px -1px 0 #fff, -1px 1px 0 #fff5, 1px -1px 0 #fff5;

	height: calc(100% - 20px);
	width: calc(100% - 20px);
	justify-self: center;
	align-self: center;
}

div.cc1x4 {
	grid-row: span 1;
	grid-column: span 4;
}

div.cc1x2 {
	height: 112px;
	width: 224px;
	grid-row: span 1;
	grid-column: span 2;
}

div.cc2x1 {
	display: flex;
	justify-content: center;
	height: 224px;
	width: 112px;
	align-items: flex-end;
	position: relative;
	grid-row: span 2;
	grid-column: span 1;
}

div.cc2x2 {
	height: 224px;
	width: 224px;
	border-radius: 45px;
	grid-row: span 2;
	grid-column: span 2;
}

div.cc2x2Grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);

	padding: 10px;
	width: 100%;
	height: 100%;
}

div.ccSmallIcon {
	justify-self: center;
	align-self: center;
	width: 80%;
	height: 80%;
	border-radius: 100%;

	background: #fff3;
	display: flex;
	justify-content: center;
	align-items: center;
}

div.ccSmallIcon sf-symbol {
	width: 100%;
	height: 100%;
	padding: 15px;
}

div.cc2x2Grid > div.cc2x2Grid div.ccSmallIcon sf-symbol {
	padding: 3px;
}

div.ccSmallIcon.blue {
	background: #007aff;
}



div.cc2x1 div.icon {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	width: 100%;
	height: 112px;
	bottom: 0;
	z-index: 2;
}

div.cc2x1 div.icon sf-symbol {
	width: 60%;
	height: 67px;
}

div.cc2x1 div.fill {
	z-index: 1;
	background: white;
	width: 100%;
	height: var(--height);
}

div#homeScreen.edit div.homeIcon {
	animation: iconWiggle 0.25s ease-in-out infinite forwards;
}

div#homeScreen.edit div.homeIcon::after {
	content: '—';
	color: #fff7;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 30px;
	height: 30px;
	border-radius: 100%;
	background: #fff2;
	filter: drop-shadow(1px 1px 0 #fff2) drop-shadow(-1px -1px 0 #fff6) drop-shadow(-1px 1px 0 #fff2) drop-shadow(1px -1px 0 #fff2);
	backdrop-filter: blur(10px);
	position: absolute;
	left: -15px;
	top: -15px;
}

@keyframes iconWiggle {
	0% {
		rotate: 1deg;
		top: 1px;
		left: 1px;
	}
	50% {
		rotate: -2.5deg;
		top: -1px;
		left: -1px;
	}
	75% {
		rotate: 1deg;
		top: -1px;
	}
	100% {
		rotate: 2.5deg;
		left: 1px;
	}
}

body:has(div#homeScreen.edit) div#topBar {
	opacity: 0;
	pointer-events: none;
}

div#HS_EditBtns {
	pointer-events: none;
	opacity: 0;
	z-index: 500;
	position: absolute;
	color: white;
	width: 100%;
	top: 0;
	height: 75px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-evenly;
	padding: 0px 25px;
	transition: 0.5s opacity ease-in-out;
}

div#homeScreen.edit div#HS_EditBtns {
	opacity: 1;
	pointer-events: all;
}

div#HS_EditBtns > button,
div#HS_EditBtns > div {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

div#HS_EditBtns > button {
	cursor: pointer;
	font-size: 18px;
	max-width: 70px;
	border-radius: 999px;
	padding: 5px 0;
	border: none;
	color: white;
	background: #fff2;
	filter: drop-shadow(1px 1px 0 #fff2) drop-shadow(-1px -1px 0 #fff6) drop-shadow(-1px 1px 0 #fff2) drop-shadow(1px -1px 0 #fff2);
	backdrop-filter: blur(10px);
}

div#ios26.tablet div#HS_dockInner {
	padding: 5px 15px;
	gap: 20px;
	width: max-content;
}

div#ios26.tablet div.HS_Icons {
	grid-template-columns: repeat(auto-fill, 112px);
}

iframe.webApp {
	padding: 70px 0;
	background: black;
}