/* Our product interface as it appears inside the template's screens. Drawn at a fixed size and scaled to fit. */
.ui-root { position: absolute; left: 0; top: 0; color: #e7e9ea; font: 400 15px/1.35 var(--sans); letter-spacing: -.1px; }
.ui-root * { box-sizing: border-box; }
.ui-muted { color: #8b8b88; }
.ui-k { font: 400 11px/16px var(--mono); letter-spacing: .55px; text-transform: uppercase; color: #8b8b88; }
.ui-pill { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; margin-top: 10px; padding: 5px 12px 5px 9px; border-radius: 999px; font-size: 13px; line-height: 16px; background: color-mix(in srgb, var(--c) 13%, transparent); border: 1px solid color-mix(in srgb, var(--c) 38%, transparent); }
.ui-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: none; }
.ui-pill b { font-weight: 500; color: var(--c); white-space: nowrap; }
.ui-pill em { font-style: normal; color: #9a9a96; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-mini { margin-left: auto; padding: 2px 8px; border-radius: 6px; font-size: 11px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); white-space: nowrap; }
.ui-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: #222; }
.ui-av.sq { border-radius: 10px; }
.ui-av-l { display: grid; place-items: center; font-weight: 600; color: #bbb; }
.ui-live { display: inline-flex; align-items: center; gap: 5px; font: 400 10px/1 var(--mono); letter-spacing: .5px; text-transform: uppercase; color: var(--green); }
.ui-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: uiblink 1.6s infinite; }
@keyframes uiblink { 50% { opacity: .3; } }
.up { color: var(--green); } .down { color: var(--red); }

/* X window */
.ui-x-win { display: flex; height: 100%; background: #000; }
.ui-rail { display: flex; flex-direction: column; align-items: center; gap: 26px; width: 76px; padding-top: 18px; border-right: 1px solid #2f3336; color: #e7e9ea; }
.ui-rail svg { width: 24px; height: 24px; }
.ui-x { width: 28px !important; height: 28px !important; }
.ui-main { width: 600px; flex: none; border-right: 1px solid #2f3336; overflow: hidden; }
.ui-main-h { padding: 16px 18px; border-bottom: 1px solid #2f3336; font-size: 19px; }
.ui-main-h b { font-weight: 600; }
.ui-side { flex: 1; padding: 12px 20px; overflow: hidden; }
.ui-search { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-radius: 999px; background: #202327; color: #71767b; }
.ui-search svg { width: 18px; height: 18px; }
.ui-box { margin-top: 14px; padding: 14px 16px; border: 1px solid #2f3336; border-radius: 16px; }
.ui-box-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 17px; }
.ui-box-h b { font-weight: 600; }
.ui-hot { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #2f3336; font-size: 14px; }
.ui-sym { font-weight: 600; }
.ui-hot-n { color: #8b8b88; font-variant-numeric: tabular-nums; }
.ui-post { position: relative; display: flex; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #2f3336; }
.ui-post-b { min-width: 0; flex: 1; }
.ui-post-h { display: flex; align-items: center; gap: 5px; font-size: 15px; white-space: nowrap; overflow: hidden; }
.ui-post-h b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.ui-post-h span { color: #71767b; overflow: hidden; text-overflow: ellipsis; }
.ui-ver { width: 15px; height: 15px; flex: none; border-radius: 50%; background: #1d9bf0; }
.ui-post p { margin-top: 2px; font-size: 15px; line-height: 20px; white-space: pre-wrap; word-break: break-word; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ui-link { color: #1d9bf0; }
.ui-u { text-decoration: underline 2px; text-underline-offset: 3px; text-decoration-color: rgba(150, 150, 150, .6); }
.ui-u.u-red { text-decoration-color: var(--red); } .ui-u.u-amber { text-decoration-color: var(--amber); } .ui-u.u-green { text-decoration-color: var(--green); }
.ui-acts { display: flex; justify-content: space-between; max-width: 420px; margin-top: 10px; font-size: 13px; color: #71767b; }
.ui-stamp { position: absolute; right: 18px; top: 14px; padding: 5px 9px; border: 2px solid var(--c); border-radius: 6px; font: 700 13px/1 var(--mono); letter-spacing: .12em; color: var(--c); transform: rotate(-8deg); opacity: .85; }

/* Coin launch check */
.ui-coin { height: 100%; padding: 26px 30px; background: #0a0a0a; }
.ui-coin-h { display: flex; align-items: center; gap: 14px; }
.ui-coin-h > div > b { display: block; font: 300 30px/1.1 var(--serif); letter-spacing: -1px; }
.ui-coin-h > div > span { font-size: 13px; color: #8b8b88; }
.ui-coin-h .ui-pill { margin: 0 0 0 auto; }
.ui-coin-n { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 18px; }
.ui-coin-n div { padding: 12px 14px; border: 1px solid #222; border-radius: 10px; }
.ui-coin-n span { display: block; font-size: 12px; color: #8b8b88; }
.ui-coin-n b { font: 500 20px/1.3 var(--sans); font-variant-numeric: tabular-nums; }
.ui-coin-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; }
.ui-chart { height: 300px; padding: 10px; border: 1px solid #222; border-radius: 10px; }
.ui-chart canvas { width: 100%; height: 100%; display: block; }
.ui-launch { padding: 14px 16px; border: 1px solid #222; border-radius: 10px; font-size: 14px; line-height: 19px; }
.ui-launch p { margin-top: 10px; color: #d8d8d6; }
.ui-wallets { margin-top: 12px; font: 400 12px/1 var(--mono); }
.ui-wallets div { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid #1d1d1d; color: #8b8b88; }
.ui-wallets b { margin-left: auto; font-weight: 400; color: var(--red); }

/* Profile + record */
.ui-prof { height: 100%; background: #000; overflow: hidden; }
.ui-banner { height: 150px; background: #1d1f22 center / cover; }
.ui-prof-in { position: relative; padding: 0 22px; }
.ui-av.big { width: 104px; height: 104px; margin-top: -52px; border: 4px solid #000; }
.ui-prof-id { margin-top: 10px; }
.ui-prof-id b { display: block; font-size: 22px; font-weight: 700; }
.ui-prof-id span { color: #71767b; }
.ui-bio { margin-top: 10px; max-width: 640px; font-size: 15px; }
.ui-panel { max-width: 640px; margin-top: 16px; padding: 14px 16px; border: 1px solid #2f3336; border-radius: 14px; background: #0b0b0b; }
.ui-panel-h { display: flex; align-items: center; gap: 12px; }
.ui-panel-h .ui-pill { margin: 0; }
.ui-panel dl { margin: 10px 0 0; }
.ui-panel dl div { display: flex; gap: 14px; padding: 8px 0; border-top: 1px solid #1f1f1f; font-size: 14px; }
.ui-panel dt { width: 190px; flex: none; color: #8b8b88; }
.ui-panel dd { margin: 0; }
.ui-panel > .ui-muted { margin-top: 10px; font-size: 14px; }

/* Extension popup */
.ui-pop { width: 380px; height: 100%; margin: 40px 0 0 60px; padding: 18px; border: 1px solid #2a2a2a; border-radius: 14px 14px 0 0; background: #0f1012; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.ui-pop-h { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.ui-pop-h .ui-muted { margin-left: auto; font-size: 12px; }
.ui-pop-logo { height: 20px; width: auto; }
.ui-pop-tabs { display: flex; gap: 18px; margin: 14px 0; border-bottom: 1px solid #2a2a2a; font-size: 13px; color: #8b8b88; }
.ui-pop-tabs span { padding-bottom: 9px; }
.ui-pop-tabs .on { color: #fff; box-shadow: inset 0 -2px #fff; }
.ui-pop-n { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-pop-n div { padding: 10px; border: 1px solid #242424; border-radius: 10px; }
.ui-pop-n b { display: block; font-size: 20px; font-weight: 500; }
.ui-pop-n span { font-size: 11px; color: #8b8b88; }

/* Phone (hero) */
.ph { position: relative; height: 100%; padding: 16px 28px; background: #e4e4e2; color: #121212; }
.ph-status { position: relative; display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 4px 0 10px; font-size: 16px; }
.ph-status b { font-weight: 600; letter-spacing: -.2px; }
.ph-island { position: absolute; left: 50%; top: 0; width: 122px; height: 36px; margin-left: -61px; border-radius: 20px; background: #050505; }
.ph-icons { display: flex; align-items: center; gap: 5px; fill: currentColor; color: #121212; }
.ph-top { display: flex; align-items: center; justify-content: space-between; width: 268px; height: 44px; margin: 22px auto 0; padding: 0 6px 0 18px; border-radius: 999px; background: #161616; color: #f2f2f0; font-size: 14px; letter-spacing: -.1px; }
.ph-top i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #efefed; color: #161616; }
.ph-body { margin-top: 58px; text-align: center; }
.ph-k { font: 400 11px/1 var(--mono); letter-spacing: .6px; text-transform: uppercase; color: #5f5e5c; }
.ph-body h3 { margin-top: 14px; font: 300 42px/1 var(--serif); letter-spacing: -1.4px; white-space: nowrap; }
.ph-body p { margin: 14px auto 0; max-width: 290px; font-size: 14px; line-height: 19px; color: #3a3a39; }
.ph-bar { margin-top: 30px; padding: 16px 16px 14px; border-radius: 20px; background: #dededc; text-align: left; }
.ph-bar-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: #4a4a48; }
.ph-bar-h b { font: 400 26px/1 var(--serif); letter-spacing: -.6px; color: #b4283c; }
.ph-bar i { display: block; height: 8px; margin-top: 12px; border-radius: 4px; background: #c6c6c4; overflow: hidden; }
.ph-bar em { display: block; height: 100%; border-radius: 4px; background: #c8304a; }
.ph-bar-f { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: #5f5e5c; }
.ph-wl { margin: 22px 0 10px 4px; text-align: left; font: 400 11px/1 var(--mono); letter-spacing: .6px; text-transform: uppercase; color: #5f5e5c; }
.ph-wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; text-align: left; }
.ph-wallets div { display: grid; gap: 6px; padding: 12px 12px 11px; border-radius: 14px; background: #e3e3e1; color: #5f5e5c; font-size: 12px; }
.ph-wallets span:first-child { font: 400 12px/1 var(--mono); color: #2a2a29; }
.ph-wallets b { font: 400 22px/1 var(--serif); letter-spacing: -.4px; color: #b4283c; }
.ph-fab { position: absolute; right: 26px; bottom: 34px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #161616; }
.ph-fab img { width: 26px; height: 26px; }
.ph-home { position: absolute; left: 50%; bottom: 10px; width: 136px; height: 5px; margin-left: -68px; border-radius: 3px; background: #121212; }
/* On a photo whose screen has been cleared: the UI is printed onto the lit glass, so it takes the photo's light. */
.phone.blend { background: transparent; mix-blend-mode: multiply; border-radius: 52px; }
.phone.blend::after { display: none; }
.phone.blend .ph { background: transparent; }
