/* ==========================================================================
   brojangOS — Aero Glass skin
   Layered on top of NovaOS. Windows 7 / Vista inspired transparency.
   ========================================================================== */

:root {
	--aero-font: "Segoe UI", "Segoe UI Variable", "Frutiger", "Trebuchet MS", Tahoma, Arial, sans-serif;
	--aero-outline: rgba(255, 255, 255, .55);
	--aero-taskbar-h: 44px;
	--aero-radius: 8px;
	--brojang-red: #d6182a;
	--brojang-blue: #4aa8ff;
}

/* ---------- base ---------- */
body,
button,
input,
textarea,
select {
	font-family: var(--aero-font);
}

body {
	background:
		radial-gradient(1200px 700px at 55% 20%, #14507f 0%, transparent 60%),
		linear-gradient(180deg, #072137 0%, #04101d 100%);
	letter-spacing: .1px;
	-webkit-font-smoothing: antialiased;
}

::selection {
	background: #2f8bd8;
	color: #fff;
}

::-webkit-scrollbar {
	width: 13px;
	height: 13px;
}

::-webkit-scrollbar-track {
	background: rgba(8, 26, 42, .55);
	border-radius: 0;
}

::-webkit-scrollbar-thumb {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, .55), transparent 42%),
		linear-gradient(180deg, #cfe9fb, #8ec4e8 45%, #5c9ac6 55%, #a9d6f2);
	border: 1px solid rgba(255, 255, 255, .55);
	border-radius: 3px;
	box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(0, 40, 80, .35);
}

::-webkit-scrollbar-thumb:hover {
	filter: brightness(1.12);
}

/* ---------- wallpaper ---------- */
#bgimage .bgimage {
	filter: saturate(1.06) contrast(1.02);
}

/* ---------- taskbar (Superbar) ---------- */
nav#novanav {
	height: var(--aero-taskbar-h);
	padding: 0;
	display: grid;
	background:
		linear-gradient(180deg,
			rgba(196, 231, 255, .55) 0%,
			rgba(92, 160, 214, .48) 9%,
			rgba(24, 74, 120, .62) 42%,
			rgba(9, 38, 66, .80) 72%,
			rgba(4, 20, 36, .88) 100%);
	-webkit-backdrop-filter: blur(22px) saturate(185%);
	backdrop-filter: blur(22px) saturate(185%);
	border-top: 1px solid rgba(214, 241, 255, .82);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .55),
		inset 0 14px 19px -14px rgba(255, 255, 255, .55),
		0 -10px 28px rgba(0, 0, 0, .42),
		0 0 34px rgba(64, 158, 235, .18);
	position: relative;
	z-index: 120;
}

nav#novanav::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(255, 255, 255, .20), transparent 34%);
}

nav .flodiv {
	width: 100%;
	max-width: none;
	height: var(--aero-taskbar-h);
	justify-content: flex-start;
	align-items: center;
	gap: 2px;
	padding: 0 5px;
	border-radius: 0;
	background: transparent;
	position: relative;
}

nav [navobj] {
	padding: 0;
	border-radius: 4px;
	background: transparent;
	min-height: 38px;
}

/* start orb */
#startbtnwrap {
	order: 0;
	min-width: 54px !important;
	display: flex;
	justify-content: center;
	align-items: center;
	background: transparent !important;
}

#startbtnwrap > biv {
	width: 46px;
	height: 40px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50% 50% 46% 46%;
	border: 1px solid rgba(198, 235, 255, .9);
	background:
		radial-gradient(90% 90% at 50% 18%, rgba(255, 255, 255, .95) 0%, rgba(190, 235, 255, .55) 18%, transparent 42%),
		radial-gradient(circle at 50% 40%, #6fc6ff 0%, #2b83c8 36%, #0d4e86 66%, #06294b 100%);
	box-shadow:
		0 0 10px 2px rgba(86, 186, 255, .8),
		0 0 26px 7px rgba(44, 130, 210, .45),
		inset 0 1px 1px rgba(255, 255, 255, .95),
		inset 0 -8px 13px rgba(0, 18, 44, .75);
	transition: filter .18s, box-shadow .18s, transform .18s;
}

#startbtnwrap:hover > biv {
	filter: brightness(1.18) saturate(1.1);
	box-shadow:
		0 0 16px 5px rgba(112, 205, 255, .95),
		0 0 36px 12px rgba(60, 160, 240, .55),
		inset 0 1px 1px #fff,
		inset 0 -8px 13px rgba(0, 18, 44, .7);
}

#startbtnwrap:active > biv {
	transform: scale(.96);
	filter: brightness(.92);
}

#startbtnwrap .app-shortcut {
	width: auto;
	padding: 0 !important;
	background: transparent !important;
	animation: none;
}

#startbtnwrap #mm {
	font-size: 0 !important;
	color: transparent;
	width: 30px;
	height: 30px;
	background: url("assets/logo.svg") center / contain no-repeat;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .55));
}

/* pinned quick launch */
#dock {
	order: 1;
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 0 4px;
	border-left: 1px solid rgba(255, 255, 255, .22);
	border-right: 1px solid rgba(0, 0, 0, .25);
	height: 100%;
}

#dock .app-shortcut {
	width: 40px;
	height: 40px;
	padding: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 3px;
	background: transparent;
	animation: none;
	align-self: center;
}

#dock .app-shortcut span svg {
	width: 30px;
	height: 30px;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .55));
}

#dock .app-shortcut:hover {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .12));
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, .5),
		0 0 10px rgba(112, 200, 255, .55);
}

/* search button */
#searchbtnwrap {
	order: 2;
	min-width: 40px !important;
	display: flex;
	justify-content: center;
	align-items: center;
}

#searchbtnwrap > biv {
	width: 32px;
	height: 32px;
	padding: 0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(200, 235, 255, .55);
	background: radial-gradient(circle at 40% 25%, rgba(255, 255, 255, .35), rgba(20, 70, 110, .35) 70%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
}

#searchbtnwrap:hover > biv {
	background: radial-gradient(circle at 40% 25%, rgba(255, 255, 255, .6), rgba(60, 150, 220, .55) 70%);
	box-shadow: 0 0 12px rgba(110, 200, 255, .65), inset 0 1px 0 #fff;
}

#searchbtnwrap .searchbtnac {
	font-size: 17px;
	opacity: .9;
	color: #eaf7ff;
	text-shadow: 0 1px 2px #000;
}

/* running apps */
#nowrunninapps {
	order: 3;
	flex: 1 1 auto;
	height: 100%;
	margin: 0 4px;
	padding: 0 2px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 3px;
	overflow: hidden;
	background: transparent;
	min-width: 0;
}

#nowrunninapps .app-shortcut {
	width: 42px;
	height: 38px;
	min-width: 0;
	padding: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 3px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04) 49%, rgba(0, 0, 0, .10) 51%, rgba(255, 255, 255, .07));
	border: 1px solid rgba(255, 255, 255, .22);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
	animation: none;
	align-self: center;
}

#nowrunninapps .app-shortcut:hover {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, .12) 49%, rgba(0, 0, 0, .06) 51%, rgba(255, 255, 255, .16));
	border-color: rgba(255, 255, 255, .5);
	box-shadow: 0 0 12px rgba(92, 190, 255, .5), inset 0 1px 0 rgba(255, 255, 255, .5);
}

#nowrunninapps .app-shortcut span svg {
	width: 24px;
	height: 24px;
}

/* system tray */
#traywrap {
	order: 4;
	height: 100%;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 12px 0 10px;
	margin: 0;
	border-left: 1px solid rgba(255, 255, 255, .22);
	box-shadow: inset 1px 0 0 rgba(0, 0, 0, .18);
	background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(0, 0, 0, .12));
}

#traywrap .navmalobj {
	margin: 0;
	flex-direction: row;
	gap: 5px;
	font-size: 11px;
}

#battery-display {
	transform: none;
	font-size: 16px;
	opacity: .9;
	color: #e9f7ff;
	text-shadow: 0 1px 2px #000;
}

#battery-p-display {
	transform: none;
	display: inline;
	height: auto;
	font-size: 11px;
	opacity: .85;
}

#time-display {
	font-size: 12.5px;
	font-weight: 600;
	color: #f2faff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .8);
}

#date-display {
	font-size: 10.5px;
	opacity: .82;
	text-align: right;
}

/* ---------- desktop icons ---------- */
#desktop {
	display: grid;
	grid-auto-flow: column;
	grid-template-rows: repeat(auto-fill, 104px);
	grid-auto-columns: 96px;
	align-content: start;
	justify-content: start;
	padding: 12px 10px;
	gap: 0;
}

#desktop .app-shortcut {
	width: 90px;
	height: 100px;
	padding: 6px 3px;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 3px;
	border-radius: 3px;
	border: 1px solid transparent;
	background: transparent;
	text-align: center;
}

#desktop .app-shortcut .appicnspan {
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#desktop .app-shortcut span svg {
	width: 50px;
	height: 50px;
	filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .55));
}

#desktop .app-shortcut .appname {
	margin: 0;
	padding: 1px 5px;
	max-width: 88px;
	font-size: 12px;
	line-height: 1.25;
	color: #fff;
	background: transparent;
	text-shadow: 0 1px 2px #000, 0 0 7px rgba(0, 0, 0, .9);
	white-space: normal;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

#desktop .app-shortcut:hover {
	background:
		linear-gradient(180deg, rgba(190, 230, 255, .30), rgba(100, 170, 230, .14));
	border-color: rgba(210, 240, 255, .55);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}

#desktop .app-shortcut:active {
	background: rgba(80, 155, 220, .38);
}

#desktop::after {
	content: "brojangOS";
	position: fixed;
	right: 26px;
	bottom: 64px;
	font-size: 34px;
	font-weight: 300;
	letter-spacing: 3px;
	color: rgba(255, 255, 255, .20);
	text-shadow: 0 2px 14px rgba(0, 0, 0, .6);
	pointer-events: none;
}

/* ---------- windows (Aero glass frames) ---------- */
.window {
	border: 1px solid rgba(176, 220, 255, .64);
	border-radius: var(--aero-radius) var(--aero-radius) 5px 5px;
	background: rgba(9, 27, 44, .72) !important;
	box-shadow:
		0 0 0 1px rgba(0, 12, 26, .55),
		0 16px 46px rgba(0, 0, 0, .62),
		0 0 28px rgba(70, 160, 240, .22),
		inset 0 0 0 1px rgba(255, 255, 255, .16);
	transition: box-shadow .25s, border-color .25s;
	overflow: visible;
}

.window:hover {
	box-shadow:
		0 0 0 1px rgba(0, 12, 26, .55),
		0 20px 54px rgba(0, 0, 0, .68),
		0 0 36px rgba(90, 180, 255, .34),
		inset 0 0 0 1px rgba(255, 255, 255, .20);
}

.windowheader {
	min-height: 32px;
	padding: 5px 6px 5px 10px;
	align-items: center;
	border-radius: 7px 7px 0 0;
	border-bottom: 1px solid rgba(255, 255, 255, .38);
	background-image:
		linear-gradient(180deg,
			rgba(235, 248, 255, .66) 0%,
			rgba(150, 208, 246, .52) 13%,
			rgba(74, 145, 201, .46) 46%,
			rgba(24, 82, 128, .52) 55%,
			rgba(79, 155, 210, .42) 88%,
			rgba(148, 208, 248, .50) 100%) !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .85),
		inset 0 -1px 0 rgba(255, 255, 255, .16);
	overflow: hidden;
}

.windowheader .windowdataspan {
	gap: 7px;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .85), 0 0 10px rgba(0, 30, 60, .55);
	font-weight: 600;
}

.windowheader .windowdataspan .title {
	font-size: 12.5px;
	letter-spacing: .2px;
}

.windowheader svg {
	width: 17px;
	height: 17px;
	margin: 0 2px 0 0;
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5));
}

.windowcontent {
	border-radius: 0 0 4px 4px;
	background: rgba(9, 27, 44, .55);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10);
}

.windowloader {
	background: linear-gradient(180deg, rgba(15, 45, 72, .92), rgba(7, 24, 40, .95));
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	color: #cbe9ff;
}

/* caption buttons */
.ibtnsside {
	background: transparent;
	overflow: visible;
	gap: 3px;
	padding: 0;
	border-radius: 4px;
	align-items: center;
}

.ibtnsside button,
.ibtnsside button:not(.winclosebtn) {
	width: 27px;
	height: 19px;
	min-width: 27px;
	padding: 0;
	border-radius: 3px;
	color: #0d2a44;
	border: 1px solid rgba(255, 255, 255, .88);
	background:
		linear-gradient(180deg, #ffffff 0%, #f0faff 20%, #c9e7fb 47%, #a7cde8 53%, #cfeafd 100%);
	box-shadow:
		inset 0 1px 0 #fff,
		0 1px 2px rgba(0, 0, 0, .45);
	opacity: 1;
	transition: filter .12s, box-shadow .12s;
}

.ibtnsside button span {
	font-size: 12px !important;
	font-weight: 700;
}

.ibtnsside button:hover,
.ibtnsside button:not(.winclosebtn):hover {
	background:
		linear-gradient(180deg, #ffffff 0%, #ecf9ff 18%, #b6e6ff 47%, #7fc9f5 53%, #c7ecff 100%);
	box-shadow:
		0 0 8px rgba(130, 215, 255, .9),
		inset 0 1px 0 #fff,
		0 1px 2px rgba(0, 0, 0, .45);
	filter: brightness(1.03);
}

.ibtnsside button.winclosebtn {
	background:
		linear-gradient(180deg, #ffb0a6 0%, #f48174 18%, #e0503f 47%, #b92d1e 53%, #e06555 100%);
	color: #fff;
	border-color: rgba(255, 220, 215, .95);
	text-shadow: 0 1px 1px rgba(90, 0, 0, .8);
}

.ibtnsside button.winclosebtn:hover {
	background:
		linear-gradient(180deg, #ffd0c9 0%, #ff9c8f 18%, #f4604e 47%, #cf3322 53%, #ff8574 100%);
	box-shadow: 0 0 12px rgba(255, 120, 100, .95), inset 0 1px 0 #fff;
}

/* notification bubble */
#notification {
	background:
		linear-gradient(180deg, rgba(220, 240, 255, .78), rgba(120, 176, 220, .62) 8%, rgba(30, 78, 118, .78) 55%, rgba(12, 38, 62, .88)) !important;
	-webkit-backdrop-filter: blur(20px) saturate(160%);
	backdrop-filter: blur(20px) saturate(160%);
	border: 1px solid rgba(220, 245, 255, .7);
	border-radius: 6px;
	box-shadow: 0 12px 34px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .6);
	color: #fff;
}

/* toasts */
#toastdiv .toastInner {
	background:
		linear-gradient(180deg, rgba(210, 238, 255, .78), rgba(70, 135, 185, .72) 10%, rgba(18, 56, 90, .88));
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	border: 1px solid rgba(225, 245, 255, .7);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .55);
}

/* ---------- start menu ---------- */
#appdmod {
	position: fixed;
	left: 8px;
	bottom: calc(var(--aero-taskbar-h) + 6px);
	top: auto;
	right: auto;
	margin: 0;
	width: 540px;
	max-width: calc(100vw - 16px);
	max-height: min(690px, calc(100vh - var(--aero-taskbar-h) - 18px));
	padding: 0;
	border-radius: 8px 8px 4px 4px;
	border: 1px solid rgba(168, 218, 255, .7);
	background:
		linear-gradient(180deg, rgba(22, 56, 90, .95), rgba(9, 27, 45, .97));
	-webkit-backdrop-filter: blur(24px) saturate(160%);
	backdrop-filter: blur(24px) saturate(160%);
	box-shadow:
		0 0 0 1px rgba(0, 10, 22, .65),
		0 24px 60px rgba(0, 0, 0, .72),
		inset 0 1px 0 rgba(255, 255, 255, .35);
	overflow: hidden;
	color: var(--col-txt1);
	animation: aeroStartIn .18s ease-out;
}

@keyframes aeroStartIn {
	from { opacity: 0; transform: translateY(12px) scale(.99); }
	to { opacity: 1; transform: none; }
}

#appdmod::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 42%;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(255, 255, 255, .12), transparent);
}

.appdmodestuff {
	position: relative;
	padding: 10px;
	gap: 8px;
	height: auto;
}

.brojang-start-header {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 9px 11px;
	border-radius: 6px;
	border: 1px solid rgba(200, 235, 255, .32);
	background:
		linear-gradient(180deg, rgba(170, 218, 255, .30), rgba(30, 80, 125, .22));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
}

.brojang-start-logo {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .5));
}

.brojang-start-user {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
	min-width: 0;
}

.brojang-start-user b {
	font-size: 15px;
	letter-spacing: .2px;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .65);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.brojang-start-user span {
	font-size: 11px;
	opacity: .78;
	color: #d7efff;
}

.brojang-start-power {
	margin-left: auto;
	width: 34px;
	height: 34px;
	border-radius: 4px;
	border: 1px solid rgba(210, 240, 255, .38);
	background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(0, 0, 0, .14));
	color: #eaf7ff;
	display: grid;
	place-items: center;
}

.brojang-start-power:hover {
	background: linear-gradient(180deg, rgba(255, 140, 130, .55), rgba(150, 30, 20, .55));
	box-shadow: 0 0 12px rgba(255, 110, 90, .6), inset 0 1px 0 rgba(255, 255, 255, .45);
}

.brojang-start-search {
	width: 100%;
	box-sizing: border-box;
	padding: 7px 10px;
	border-radius: 4px;
	border: 1px solid rgba(180, 222, 255, .45);
	background: rgba(2, 14, 26, .55);
	color: #fff;
	font-size: 12.5px;
	box-shadow: inset 0 1px 4px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .18);
}

.brojang-start-search:focus {
	outline: none;
	border-color: rgba(140, 215, 255, .85);
	box-shadow: inset 0 1px 4px rgba(0, 0, 0, .5), 0 0 10px rgba(90, 185, 255, .55);
}

.brojang-start-search::placeholder {
	color: rgba(220, 240, 255, .55);
}

#appdmod #appsindeck {
	max-height: min(470px, calc(100vh - 260px));
	grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
	gap: 3px;
	padding: 2px;
	justify-content: stretch;
}

#appdmod #appsindeck .app-shortcut {
	width: 100%;
	padding: 7px 4px;
	border-radius: 3px;
	background: transparent;
	border: 1px solid transparent;
}

#appdmod #appsindeck .app-shortcut:hover {
	background: linear-gradient(180deg, rgba(255, 255, 255, .20), rgba(120, 190, 245, .16));
	border-color: rgba(200, 235, 255, .42);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}

#appdmod #appsindeck .app-shortcut span svg {
	width: 34px;
	height: 34px;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5));
}

#appdmod #appsindeck .appname {
	background: transparent;
	color: #f4fbff;
	font-size: 11px;
	max-width: 100%;
	padding: 1px 2px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .7);
	white-space: normal;
	overflow-wrap: anywhere;
	line-height: 1.15;
	text-transform: none;
	max-height: 2.4em;
}

#appdmod .strtsearcont {
	margin: 0;
	padding: 0;
}

#appdmod .novamenusearchinpbtn {
	display: none;
}

#appdmod .toolspart {
	display: flex;
	gap: 3px;
	padding-top: 7px;
	margin-top: 3px;
	border-top: 1px solid rgba(180, 225, 255, .22);
}

#appdmod .toolspart button {
	border-radius: 3px;
	border: 1px solid rgba(200, 235, 255, .25);
	background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(0, 0, 0, .12));
	color: #e8f6ff;
	padding: 4px 8px;
}

#appdmod .toolspart button:hover {
	background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(100, 175, 235, .25));
	border-color: rgba(210, 240, 255, .55);
}

/* hide the original bottom search row in start menu, we added a real one */
#appdmod .strtsearcont .novamenusearchinpbtn {
	display: none;
}

/* ---------- search window ---------- */
#searchwindow {
	width: min(640px, calc(100vw - 24px));
	margin: auto auto 56px auto;
	background: linear-gradient(180deg, rgba(22, 56, 90, .95), rgba(9, 27, 45, .97));
	-webkit-backdrop-filter: blur(24px) saturate(160%);
	backdrop-filter: blur(24px) saturate(160%);
	border: 1px solid rgba(168, 218, 255, .65);
	border-radius: 8px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .32);
	padding: 10px;
}

.searchinputcont {
	border: 1px solid rgba(180, 222, 255, .45);
	background: rgba(2, 14, 26, .55);
	box-shadow: inset 0 1px 4px rgba(0, 0, 0, .5);
}

.previewsside {
	background: linear-gradient(90deg, rgba(255, 255, 255, .06), transparent 40%);
	border-radius: 4px;
}

/* ---------- login / welcome screen ---------- */
#loginmod {
	background:
		radial-gradient(900px 540px at 50% 30%, rgba(30, 110, 170, .45), transparent 70%),
		rgba(2, 14, 26, .62) !important;
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	backdrop-filter: blur(16px) saturate(140%);
}

.brojang-login-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 10px 16px;
	margin-bottom: 4px;
	animation: appshow .5s;
}

.brojang-login-brand img {
	width: 64px;
	height: 64px;
	border-radius: 14px;
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6));
}

.brojang-login-brand h2 {
	margin: 0;
	font-size: 28px;
	font-weight: 300;
	letter-spacing: 1px;
	color: #fff;
	text-shadow: 0 2px 10px rgba(0, 0, 0, .7);
	line-height: 1.05;
}

.brojang-login-brand span {
	font-size: 11px;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	opacity: .72;
}

.loginuser .icon,
.userselect .user > .icon {
	border: 1px solid rgba(215, 240, 255, .55) !important;
	box-shadow: 0 0 14px rgba(100, 190, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.userselect .user:hover {
	background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(120, 190, 245, .18));
	box-shadow: inset 0 0 0 1px rgba(220, 245, 255, .35);
}

/* The card is a 0-height flex item until a password-protected user is picked.
   Only dress it once it is actually expanded (inline flex: 1). */
#loginmod .logincard {
	padding: 0;
	border-radius: 8px;
	background: transparent;
	border: 1px solid transparent;
	box-shadow: none;
}

#loginmod .logincard[style*="flex: 1"] {
	padding: 12px;
	background: linear-gradient(180deg, rgba(220, 240, 255, .20), rgba(20, 60, 95, .35));
	border-color: rgba(200, 235, 255, .35);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 10px 30px rgba(0, 0, 0, .3);
}

#loginform #loginform1 {
	background: rgba(2, 14, 26, .65);
	color: #fff;
	border: 1px solid rgba(190, 230, 255, .55);
	box-shadow: inset 0 1px 4px rgba(0, 0, 0, .5);
	border-radius: 4px;
}

.logincard button {
	background: linear-gradient(180deg, #fff, #c9e7fb 50%, #9fc9e6);
	color: #0d2a44;
	border: 1px solid rgba(255, 255, 255, .9);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .4), inset 0 1px 0 #fff;
	border-radius: 4px;
}

.logincard button:hover {
	background: linear-gradient(180deg, #fff, #b6e6ff 50%, #7fc9f5);
}

/* ---------- boot screen ---------- */
#edison {
	background:
		radial-gradient(900px 600px at 50% 40%, rgba(24, 96, 155, .4), transparent 70%),
		linear-gradient(180deg, #04121f, #020a12);
}

#edison .edisonrl {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
}

#edison img {
	width: 128px;
	height: 128px;
	filter: drop-shadow(0 10px 26px rgba(0, 0, 0, .75));
	animation: bootPulse 2.4s ease-in-out infinite;
}

@keyframes bootPulse {
	0%, 100% { transform: translateY(0); filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .7)); }
	50% { transform: translateY(-4px); filter: drop-shadow(0 16px 34px rgba(80, 180, 255, .45)); }
}

.brojang-boot-title {
	margin: 14px 0 0;
	font-size: 34px;
	font-weight: 300;
	letter-spacing: 2px;
	color: #f2fbff;
	text-shadow: 0 2px 16px rgba(0, 0, 0, .7);
}

.brojang-boot-sub {
	font-size: 10.5px;
	letter-spacing: 2.2px;
	text-transform: uppercase;
	opacity: .58;
	margin: 2px 0 26px;
}

#edison .progress-container {
	width: min(240px, 60vw);
	height: 13px;
	padding: 3px;
	border-radius: 7px;
	background: rgba(0, 12, 24, .75);
	border: 1px solid rgba(140, 205, 255, .4);
	box-shadow: inset 0 2px 5px rgba(0, 0, 0, .7);
	overflow: hidden;
}

#edison .progress-bar {
	height: 100%;
	border-radius: 5px;
	background:
		linear-gradient(90deg, #2f7fbf, #6cc8ff 45%, #b9ecff 55%, #4aa8ff);
	box-shadow: 0 0 12px rgba(90, 190, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .8);
	transition: width .4s ease-out;
}

#startupterms {
	margin-top: 12px;
	font-size: 12px;
	color: #bfe4ff;
	opacity: .9;
}

/* ---------- dialogs / modals ---------- */
.navWindows,
.realmodal,
.modal {
	background: linear-gradient(180deg, rgba(22, 56, 90, .96), rgba(9, 27, 45, .97)) !important;
	-webkit-backdrop-filter: blur(22px) saturate(160%);
	backdrop-filter: blur(22px) saturate(160%);
	border: 1px solid rgba(168, 218, 255, .6);
	border-radius: 8px;
	box-shadow: 0 22px 60px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .3);
	color: var(--col-txt1);
}

#bios {
	background:
		radial-gradient(800px 500px at 50% 0%, rgba(30, 100, 160, .35), transparent 70%),
		linear-gradient(180deg, #071d30, #030e19) !important;
}

#bios button {
	background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(0, 0, 0, .12));
	border: 1px solid rgba(180, 225, 255, .3);
	border-radius: 4px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}

#bios button:hover {
	background: linear-gradient(180deg, rgba(140, 205, 255, .45), rgba(40, 110, 170, .35));
	border-color: rgba(220, 245, 255, .6);
	box-shadow: 0 0 16px rgba(90, 185, 255, .5), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.modal-items button,
.button-container button {
	background: linear-gradient(180deg, #fdfeff, #d8edfb 48%, #b3d6ee);
	color: #10304b;
	border: 1px solid rgba(255, 255, 255, .9);
	border-radius: 4px;
	box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(0, 0, 0, .35);
}

.modal-items button:hover,
.button-container button:hover {
	background: linear-gradient(180deg, #fff, #c4e9ff 48%, #8fd0f6);
}

.modal-items input,
.modal-items select,
.modal-items textarea {
	background: rgba(2, 14, 26, .6);
	border: 1px solid rgba(180, 225, 255, .45);
	border-radius: 4px;
	color: #fff;
}

/* context menu */
.contextmenu {
	background: linear-gradient(180deg, rgba(30, 70, 108, .97), rgba(10, 30, 50, .98));
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	border: 1px solid rgba(170, 220, 255, .55);
	border-radius: 5px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .3);
	padding: 4px;
}

.ctxmenuitem {
	border-radius: 3px;
	padding: 5px 8px !important;
}

.ctxmenuitem:hover {
	background: linear-gradient(180deg, rgba(150, 210, 255, .4), rgba(60, 130, 190, .35));
	box-shadow: inset 0 0 0 1px rgba(210, 240, 255, .4);
}

/* tooltips */
.tooltip .tooltiptext,
.app-shortcut.tooltip .tooltiptext {
	background: linear-gradient(180deg, rgba(240, 250, 255, .97), rgba(205, 232, 249, .96));
	color: #0b2238 !important;
	border: 1px solid rgba(255, 255, 255, .95);
	border-radius: 3px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .45);
	font-size: 11px;
	text-shadow: none;
}

/* terminal */
#terminal .containerterm {
	background: #020b12;
	border: 1px solid rgba(90, 170, 225, .4);
	border-radius: 4px;
}

#termoutput {
	color: #c9f7d0;
}

/* settings shortcut inside start menu search (dark inputs) */
input,
textarea,
select {
	accent-color: #4aa8ff;
}

/* ---------- responsive ---------- */
@media (max-width: 760px) {
	#desktop {
		grid-template-rows: repeat(auto-fill, 96px);
		grid-auto-columns: 84px;
	}

	#desktop .app-shortcut {
		width: 80px;
		height: 92px;
	}

	#appdmod {
		left: 4px;
		width: calc(100vw - 8px);
		max-height: calc(100vh - var(--aero-taskbar-h) - 12px);
	}

	#traywrap {
		gap: 7px;
		padding: 0 7px;
	}

	#date-display {
		display: none;
	}
}

/* ---------- accent colour hook (Control Panel → Personalization) ---------- */
#startbtnwrap:hover > biv {
	box-shadow:
		0 0 16px 5px color-mix(in srgb, var(--colors-accent, #4aa8ff) 90%, white),
		0 0 36px 12px color-mix(in srgb, var(--colors-accent, #4aa8ff) 55%, transparent),
		inset 0 1px 1px #fff,
		inset 0 -8px 13px rgba(0, 18, 44, .7);
}
#desktop .app-shortcut:hover {
	border-color: color-mix(in srgb, var(--colors-accent, #4aa8ff) 65%, white);
}
#desktop .app-shortcut:active {
	background: color-mix(in srgb, var(--colors-accent, #4aa8ff) 38%, transparent);
}
#dock .app-shortcut:hover {
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, .5),
		0 0 10px color-mix(in srgb, var(--colors-accent, #4aa8ff) 60%, transparent);
}
.brojang-start-search:focus {
	border-color: var(--colors-accent, #4aa8ff);
	box-shadow:
		inset 0 1px 4px rgba(0, 0, 0, .5),
		0 0 10px color-mix(in srgb, var(--colors-accent, #4aa8ff) 60%, transparent);
}
