.yahmo-launcher,
.yahmo-launcher * { box-sizing: border-box; }

.yahmo-launcher {
	--yl-primary: #ff2d78;
	--yl-accent: #7c3aed;
	--yl-background: #100a1e;
	--yl-text: #f9f6ff;
	background:
		radial-gradient(circle at 90% 0, color-mix(in srgb, var(--yl-accent) 32%, transparent), transparent 35%),
		radial-gradient(circle at 0 100%, color-mix(in srgb, var(--yl-primary) 24%, transparent), transparent 38%),
		linear-gradient(145deg, color-mix(in srgb, var(--yl-background) 94%, #fff 6%), var(--yl-background));
	border: 1px solid color-mix(in srgb, var(--yl-text) 13%, transparent);
	border-radius: 28px;
	box-shadow: 0 35px 110px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .04);
	color: var(--yl-text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	isolation: isolate;
	margin: 0 auto;
	max-width: 680px;
	overflow: hidden;
	padding: clamp(24px, 5vw, 48px);
	position: relative;
	width: 100%;
}

.yahmo-launcher--page { margin-block: clamp(24px, 6vw, 80px); }
.yahmo-launcher__glow { background: linear-gradient(135deg, var(--yl-primary), var(--yl-accent)); border-radius: 50%; filter: blur(42px); height: 160px; opacity: .16; pointer-events: none; position: absolute; right: -70px; top: -80px; width: 160px; z-index: -1; }
.yahmo-launcher__header { align-items: center; display: flex; gap: 18px; }
.yahmo-launcher__icon { align-items: center; background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.2); border-radius: 24px; box-shadow: 0 15px 42px rgba(0,0,0,.28); display: flex; flex: 0 0 auto; height: 92px; justify-content: center; overflow: hidden; width: 92px; }
.yahmo-launcher__icon img { display: block; height: 100%; object-fit: contain; width: 100%; }
.yahmo-launcher__eyebrow { color: color-mix(in srgb, var(--yl-primary) 72%, #fff 28%); display: block; font-size: 11px; font-weight: 800; letter-spacing: .16em; margin-bottom: 8px; text-transform: uppercase; }
.yahmo-launcher h1 { color: var(--yl-text); font-size: clamp(25px, 5vw, 39px); letter-spacing: -.045em; line-height: 1.05; margin: 0; }
.yahmo-launcher__intro { color: color-mix(in srgb, var(--yl-text) 67%, transparent); font-size: 14px; line-height: 1.75; margin: 26px 0 22px; max-width: 590px; }
.yahmo-launcher__device { align-items: center; background: color-mix(in srgb, var(--yl-text) 5%, transparent); border: 1px solid color-mix(in srgb, var(--yl-text) 10%, transparent); border-radius: 16px; display: grid; gap: 3px; grid-template-columns: 1fr auto; min-height: 70px; padding: 14px 17px; position: relative; }
.yahmo-launcher__device span { color: color-mix(in srgb, var(--yl-text) 55%, transparent); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.yahmo-launcher__device strong { color: var(--yl-text); font-size: 16px; grid-column: 1; }
.yahmo-launcher__device i { background: #34d399; border: 4px solid color-mix(in srgb, #34d399 17%, transparent); border-radius: 50%; grid-column: 2; grid-row: 1 / 3; height: 13px; width: 13px; }
.yahmo-launcher__instructions { margin: 22px 0; }
.yahmo-launcher__instructions ol { counter-reset: launcher-step; display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.yahmo-launcher__instructions li { align-items: center; color: color-mix(in srgb, var(--yl-text) 77%, transparent); counter-increment: launcher-step; display: grid; font-size: 12px; gap: 12px; grid-template-columns: 31px 1fr; line-height: 1.55; }
.yahmo-launcher__instructions li::before { align-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--yl-primary) 25%, transparent), color-mix(in srgb, var(--yl-accent) 25%, transparent)); border: 1px solid color-mix(in srgb, var(--yl-primary) 30%, transparent); border-radius: 10px; color: var(--yl-text); content: counter(launcher-step); display: flex; font-size: 11px; font-weight: 800; height: 31px; justify-content: center; width: 31px; }
.yahmo-launcher__actions { display: grid; gap: 10px; margin-top: 18px; }
.yahmo-launcher__primary,
.yahmo-launcher__secondary { align-items: center; border-radius: 15px; cursor: pointer; display: flex; font: inherit; font-size: 13px; font-weight: 800; justify-content: center; min-height: 52px; padding: 12px 18px; text-align: center; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; width: 100%; }
.yahmo-launcher__primary { background: linear-gradient(135deg, var(--yl-primary), var(--yl-accent)); border: 0; box-shadow: 0 15px 35px color-mix(in srgb, var(--yl-primary) 25%, transparent); color: #fff; }
.yahmo-launcher__secondary { background: color-mix(in srgb, var(--yl-text) 5%, transparent); border: 1px solid color-mix(in srgb, var(--yl-text) 13%, transparent); color: var(--yl-text); }
.yahmo-launcher__primary:hover,
.yahmo-launcher__secondary:hover { transform: translateY(-2px); }
.yahmo-launcher__primary:focus-visible,
.yahmo-launcher__secondary:focus-visible { outline: 3px solid color-mix(in srgb, var(--yl-primary) 45%, transparent); outline-offset: 3px; }
.yahmo-launcher__primary[hidden],
.yahmo-launcher__secondary[hidden] { display: none; }
.yahmo-launcher__status { color: color-mix(in srgb, var(--yl-text) 60%, transparent); font-size: 11px; line-height: 1.5; margin: 12px 0 0; min-height: 0; text-align: center; }
.yahmo-launcher__status:empty { display: none; }
.yahmo-launcher__status.is-success { color: #79e9bd; }
.yahmo-launcher__coach { align-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--yl-primary) 14%, transparent), color-mix(in srgb, var(--yl-accent) 15%, transparent)); border: 1px solid color-mix(in srgb, var(--yl-primary) 26%, transparent); border-radius: 16px; display: grid; gap: 12px; grid-template-columns: 46px minmax(0,1fr); margin-top: 15px; padding: 13px; }
.yahmo-launcher__coach[hidden] { display: none; }
.yahmo-launcher__coach>span:last-child { display: grid; gap: 3px; }
.yahmo-launcher__coach strong { color: var(--yl-text); font-size: 12px; line-height: 1.4; }
.yahmo-launcher__coach small { color: color-mix(in srgb, var(--yl-text) 66%, transparent); font-size: 10px; line-height: 1.5; }
.yahmo-launcher__share { align-items: center; background: linear-gradient(135deg, var(--yl-primary), var(--yl-accent)); border: 1px solid rgba(255,255,255,.2); border-radius: 14px; box-shadow: 0 10px 24px color-mix(in srgb, var(--yl-primary) 22%, transparent); display: flex; height: 44px; justify-content: center; width: 44px; }
.yahmo-launcher__share svg { fill: none; height: 23px; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 23px; }
.yahmo-launcher[data-install-guide="ios"] .yahmo-launcher__share { animation: yahmoLauncherShare 1.4s ease-in-out infinite; }
@keyframes yahmoLauncherShare { 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--yl-primary) 12%, transparent), 0 12px 28px color-mix(in srgb, var(--yl-primary) 28%, transparent); transform: translateY(-2px); } }
.yahmo-launcher footer { border-top: 1px solid color-mix(in srgb, var(--yl-text) 9%, transparent); display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 24px; padding-top: 18px; }
.yahmo-launcher footer span { color: color-mix(in srgb, var(--yl-text) 56%, transparent); font-size: 10px; }

.yahmo-launcher-fab { align-items: center; background: rgba(18,10,32,.94); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.13); border-radius: 18px; bottom: max(20px, env(safe-area-inset-bottom)); box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 38px rgba(255,45,120,.14); color: #fff; cursor: pointer; display: flex; gap: 11px; max-width: calc(100vw - 28px); min-height: 66px; padding: 9px 16px 9px 9px; position: fixed; right: max(20px, env(safe-area-inset-right)); text-align: left; transform: translateZ(0); z-index: 99980; }
.yahmo-launcher-fab[hidden] { display: none; }
.yahmo-launcher-fab img { background: #fff; border-radius: 13px; height: 48px; object-fit: contain; width: 48px; }
.yahmo-launcher-fab span { display: grid; gap: 1px; }
.yahmo-launcher-fab small { color: #a99bbb; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.yahmo-launcher-fab strong { font-size: 12px; }
.yahmo-launcher-fab:focus-visible { outline: 3px solid rgba(255,45,120,.4); outline-offset: 3px; }

.yahmo-launcher-dialog[hidden] { display: none; }
.yahmo-launcher-dialog { align-items: center; display: flex; inset: 0; justify-content: center; padding: 18px; position: fixed; z-index: 99999; }
.yahmo-launcher-dialog__backdrop { background: rgba(5,3,10,.78); backdrop-filter: blur(10px); border: 0; inset: 0; padding: 0; position: absolute; width: 100%; }
.yahmo-launcher-dialog__card { max-height: calc(100dvh - 36px); max-width: 680px; overflow: auto; position: relative; scrollbar-width: thin; width: 100%; z-index: 1; }
.yahmo-launcher-dialog__card .yahmo-launcher { box-shadow: 0 40px 130px rgba(0,0,0,.6); }
.yahmo-launcher-dialog__close { align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); border-radius: 50%; color: #fff; cursor: pointer; display: flex; font-size: 22px; height: 38px; justify-content: center; position: absolute; right: 17px; top: 17px; width: 38px; z-index: 3; }
body.yahmo-launcher-open { overflow: hidden; }

@supports not (color: color-mix(in srgb, #fff 50%, #000)) {
	.yahmo-launcher { background: linear-gradient(145deg, #211436, var(--yl-background)); border-color: rgba(255,255,255,.13); }
	.yahmo-launcher__eyebrow { color: #ff83b3; }
	.yahmo-launcher__intro,
	.yahmo-launcher__instructions li { color: rgba(255,255,255,.72); }
	.yahmo-launcher__device,
	.yahmo-launcher__secondary { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
	.yahmo-launcher__coach { background: rgba(255,45,120,.1); border-color: rgba(255,115,177,.25); }
	.yahmo-launcher__coach small { color: rgba(255,255,255,.66); }
	.yahmo-launcher__share { box-shadow: 0 10px 24px rgba(255,45,120,.22); }
}

@media (max-width: 620px) {
	.yahmo-launcher { border-radius: 22px; padding: 25px 19px 21px; }
	.yahmo-launcher--page { border-radius: 0; margin: 0; min-height: 100dvh; padding-bottom: max(28px, env(safe-area-inset-bottom)); padding-top: max(28px, env(safe-area-inset-top)); }
	.yahmo-launcher__header { align-items: flex-start; gap: 13px; padding-right: 30px; }
	.yahmo-launcher__icon { border-radius: 18px; height: 68px; width: 68px; }
	.yahmo-launcher h1 { font-size: 26px; }
	.yahmo-launcher__intro { font-size: 12px; margin-block: 20px; }
	.yahmo-launcher__actions { margin-top: 14px; }
	.yahmo-launcher__primary { min-height: 56px; }
	.yahmo-launcher__instructions { margin-block: 18px; }
	.yahmo-launcher footer { display: grid; }
	.yahmo-launcher-fab { bottom: max(84px, calc(env(safe-area-inset-bottom) + 72px)); left: 14px; right: 14px; width: auto; }
	.yahmo-launcher-dialog { padding: 10px; }
	.yahmo-launcher-dialog__card { max-height: calc(100dvh - 20px); }
}

@media (prefers-reduced-motion: reduce) {
	.yahmo-launcher__primary,
	.yahmo-launcher__secondary { transition: none; }
	.yahmo-launcher[data-install-guide="ios"] .yahmo-launcher__share { animation: none; }
}
