.is-installed [data-install-entry] { display: none !important; }
@media (display-mode: standalone) { [data-install-entry] { display: none !important; } }

.in-btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border: 0; border-radius: var(--radius-lg); font-family: var(--font-ui); font-size: 16px; letter-spacing: .04em; text-transform: uppercase; color: var(--text); background: var(--raised); box-shadow: var(--raised-shadow); text-shadow: var(--raised-text); text-decoration: none; cursor: pointer; white-space: nowrap; }
.in-btn:hover { background: var(--raised-hover); }
.in-btn--primary { color: #fff; background: var(--raised-primary); box-shadow: var(--raised-primary-shadow); }
.in-btn--primary:hover { background: var(--raised-primary-hover); }
.in-btn--sm { height: 32px; padding: 0 12px; font-size: 14px; }
.in-btn--big { width: 100%; height: 48px; font-size: 18px; }
.in-x { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: var(--radius-md); background: transparent; color: var(--text-muted); cursor: pointer; }
.in-x:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.in-x svg { width: 16px; height: 16px; }

.cc-hero-card-shell.has-app-ledge .cc-match-card { position: relative; z-index: 2; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.is-installed .cc-hero-card-shell.has-app-ledge .cc-match-card { border-radius: 4px; }
@media (display-mode: standalone) { .cc-hero-card-shell.has-app-ledge .cc-match-card { border-radius: 4px; } }
.in-ledge { position: relative; z-index: 1; display: flex; align-items: center; gap: 11px; margin-top: -6px; padding: 16px 12px 10px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: linear-gradient(180deg, rgba(30, 31, 39, .94), rgba(27, 28, 36, .96)); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .3), 0 32px 80px -24px rgba(0, 0, 0, .85); text-align: left; text-decoration: none; color: inherit; }
.in-ledge::before { content: ""; position: absolute; left: 14px; right: 14px; top: 6px; height: 1px; background: rgba(0, 0, 0, .45); box-shadow: 0 1px 0 rgba(255, 255, 255, .04); }
.in-ledge img { width: 34px; height: 34px; flex: none; border-radius: 8px; box-shadow: 0 2px 6px rgba(0, 0, 0, .6); }
.in-ledge__txt { flex: 1; min-width: 0; display: grid; gap: 1px; }
.in-ledge__txt b { font-family: var(--font-ui); font-weight: 400; font-size: 16px; line-height: 1.1; color: var(--text); text-shadow: 1px 1px 0 #000; }
.in-ledge__txt span { font-family: var(--font-read); font-size: 14px; line-height: 1.1; color: var(--text-muted); }
.in-ledge__acts { flex: none; display: flex; gap: 6px; }
@media (max-width: 479px) {
  .in-ledge { flex-wrap: wrap; row-gap: 10px; }
  .in-ledge__acts { flex-basis: 100%; }
  .in-ledge__acts .in-btn { flex: 1; }
}

.in-scrim { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(4, 5, 10, .72); backdrop-filter: blur(3px); }
.in-scrim[hidden] { display: none; }
.in-card { position: relative; width: min(440px, 100%); max-height: calc(calc(100vh / var(--uiz)) - 32px); overflow-y: auto; box-sizing: border-box; padding: 26px 22px 20px; border-radius: var(--radius-lg); background: linear-gradient(180deg, #1d1d22, #18181c); box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 24px 60px -20px rgba(0, 0, 0, .95); }
.in-card > .in-x { position: absolute; top: 10px; right: 10px; }
.in-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.in-head img { width: 64px; height: 64px; flex: none; border-radius: 14px; box-shadow: 0 4px 14px rgba(0, 0, 0, .7); }
.in-name { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1; text-transform: uppercase; word-spacing: -.08em; color: var(--text); }
.in-host { margin: 5px 0 0; font-family: var(--font-read); font-size: 16px; color: var(--text-muted); }
.in-mode[hidden], [data-install-pane][hidden] { display: none; }
.in-later { display: block; margin: 10px auto 0; padding: 4px 10px; border: 0; background: none; font-family: var(--font-ui); font-size: 15px; color: var(--text-muted); cursor: pointer; }
.in-later:hover { color: var(--text); }
.in-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 3px; margin-bottom: 14px; border-radius: var(--radius-lg); background: var(--carved); box-shadow: var(--carved-shadow); }
.in-seg button { height: 32px; border: 0; border-radius: var(--radius-md); background: transparent; color: var(--text-muted); font-family: var(--font-ui); font-size: 14px; text-shadow: 1px 1px 0 #000; cursor: pointer; }
.in-seg button.is-on { color: var(--text); background: var(--raised); box-shadow: var(--raised-shadow); }
.in-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.in-step { display: flex; align-items: center; gap: 12px; padding: 9px 11px 9px 14px; border-radius: var(--radius-md); background: rgba(255, 255, 255, .025); }
.in-step__t { flex: 1; min-width: 0; font-family: var(--font-read); font-size: 18px; line-height: 1.15; color: var(--text); }
.in-step__t small { display: block; font-size: 14px; color: var(--text-muted); }
.in-glyph { flex: none; min-width: 34px; height: 34px; display: grid; place-items: center; box-sizing: border-box; border-radius: var(--radius-md); background: #2b2d38; color: #4ea1ff; box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 2px 0 rgba(0, 0, 0, .5); }
.in-glyph svg { width: 19px; height: 19px; }
.in-glyph--txt { padding: 0 9px; font-family: -apple-system, 'Segoe UI', system-ui, sans-serif; font-size: 13px; color: #e8e9f0; }
.in-note { margin: 14px 0 0; text-align: center; font-family: var(--font-read); font-size: 14px; line-height: 1.2; color: var(--text-muted); }
.in-note[hidden] { display: none; }
.in-done { display: grid; justify-items: center; gap: 8px; padding: 6px 0 2px; text-align: center; }
.in-done img { image-rendering: pixelated; }
.in-done b { font-family: var(--font-ui); font-weight: 400; font-size: 20px; color: var(--text); }
.in-done span { font-family: var(--font-read); font-size: 16px; color: var(--text-muted); }

.in-logo { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--carved); box-shadow: var(--carved-shadow); }
.in-logo svg { width: 18px; height: 18px; fill: #e9ebf3; filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, .8)); }
.in-logo--android svg { fill: #3ddc84; }
.in-logo--desktop svg { width: 16px; height: 16px; fill: #4cc2ff; }

@media (max-width: 480px) {
  .in-card { padding: 22px 16px 18px; }
  .in-name { font-size: 17px; }
  .in-step__t { font-size: 17px; }
}
.in-seg button { background: var(--raised); box-shadow: var(--raised-shadow); color: var(--text-dim); text-shadow: var(--raised-text); }
.in-seg button:not(.is-on):hover { background: var(--raised-hover); color: var(--text); }
.in-seg button.is-on { background: var(--carved); box-shadow: var(--pressed-shadow), var(--carved-shadow); color: color-mix(in srgb, var(--accent) 62%, #fff); text-shadow: 1px 1px 0 #000; }
