/* Easy install: the small bar for phone visitors, the "how to install" sheet and the /app/ page. */
.yl-ibar { position: fixed; left: 10px; right: 10px; bottom: calc(env(safe-area-inset-bottom, 0px) + 10px); z-index: 200; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; border-radius: 18px; background: linear-gradient(135deg, #0E3326, #1B4D3A); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transform: translateY(140%); transition: transform .3s ease; }
.yl-ibar.is-on { transform: none; }
.yl-ibar-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B4D3A' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2.5' width='10' height='19' rx='2.5'/%3E%3Cpath d='M12 8v6M9.5 11.5L12 14l2.5-2.5'/%3E%3C/svg%3E") center / 24px no-repeat; }
.yl-ibar-t { flex: 1; min-width: 0; display: grid; gap: 1px; }
.yl-ibar-t b { font-size: 0.9375rem; line-height: 1.2; }
.yl-ibar-t small { color: rgba(255, 255, 255, .82); font-size: 0.75rem; line-height: 1.25; }
.yl-ibar-go { flex: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: 12px; background: linear-gradient(180deg, #F7CB55 0%, #E6A82B 55%, #D18E19 100%); color: #1F1604; font: inherit; font-size: 0.875rem; font-weight: 700; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55); }
.yl-ibar-x { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.25rem; line-height: 1; cursor: pointer; }
body.yl-ibar-on .tawk-min-container, body.yl-ibar-on #tawkchat-container { bottom: 80px !important; }
@media (min-width: 900px) { .yl-ibar { display: none; } }

.yl-ih { max-width: min(440px, 94vw); padding: 0; border: 0; border-radius: 22px; background: transparent; }
.yl-ih::backdrop { background: rgba(8, 20, 15, .72); }
.yl-ih-box { position: relative; padding: 22px 20px 22px; border-radius: 22px; background: #fff; color: var(--color-text, #1A221E); }
.yl-ih-box h2 { margin: 0 34px 12px 0; color: var(--color-primary, #1B4D3A); font-size: 1.25rem; line-height: 1.25; }
.yl-ih-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #E3F0E7; color: #1B4D3A; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.yl-ih-body ol { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.yl-ih-body li { position: relative; padding-left: 40px; font-size: 1rem; line-height: 1.45; counter-increment: s; }
.yl-ih-body li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #E8B954; color: #2B1F05; font-weight: 800; }
.yl-ih-warn { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #FFF1D6; color: #7A4A06; font-size: 0.9375rem; }
.yl-ih-copy { margin: 0 0 14px; min-height: 40px; padding: 0 16px; border: 1px solid #1B4D3A; border-radius: 12px; background: #fff; color: #1B4D3A; font: inherit; font-weight: 700; cursor: pointer; }
.yl-ih-copy.is-ok { background: #1B4D3A; color: #fff; }

/* the /app/ page */
.ap-card { max-width: 640px; margin: 0 auto; padding: var(--sp-6, 32px) var(--sp-5, 24px); border: 1px solid var(--color-border, #E2DDC9); border-radius: 22px; background: #fff; box-shadow: 0 8px 28px rgba(26, 34, 30, .08); text-align: center; }
.ap-card h2 { margin: 0 0 8px; color: var(--color-primary, #1B4D3A); font-size: 1.5rem; }
.ap-card > p { margin: 0 0 18px; color: var(--color-muted, #56625B); }
.ap-icon { width: 96px; height: 96px; margin: 0 auto 14px; border-radius: 24px; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.ap-go { min-height: 54px; padding: 0 30px; font-size: 1.0625rem; }
.ap-go[hidden] { display: none; }
.ap-list { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; text-align: left; }
.ap-list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: #F3F8F4; color: #12281F; }
.ap-list .btn-ic { flex: none; width: 20px; height: 20px; margin-top: 2px; color: #1B4D3A; }
.ap-how { margin-top: 24px; text-align: left; }
.ap-how h3 { margin: 0 0 8px; color: var(--color-primary, #1B4D3A); font-size: 1.0625rem; }
.ap-how ol { display: grid; gap: 8px; margin: 0 0 14px; padding-left: 20px; }
.ap-share { margin-top: 20px; }

/* "Get the app" entry points: mobile menu, footer link, and a slim card on the phone homepage */
.mobile-nav .mn-app { display: flex; align-items: center; gap: 10px; }
.yl-getapp-wrap, .yl-getapp { display: none; }
@media (max-width: 899px) {
  .yl-getapp-wrap { display: block; padding-top: 14px; }
  .yl-getapp { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(135deg, #0E3326, #1B4D3A); color: #fff; text-decoration: none; box-shadow: 0 6px 18px rgba(14, 51, 38, .22); }
  .yl-getapp .btn-ic { flex: none; width: 36px; height: 36px; padding: 8px; box-sizing: border-box; border-radius: 12px; background: rgba(255, 255, 255, .16); color: #F2C566; }
  .yl-getapp-t { flex: 1; display: grid; gap: 1px; }
  .yl-getapp-t b { font-size: 0.9375rem; }
  .yl-getapp-t small { color: rgba(255, 255, 255, .82); font-size: 0.75rem; }
}
html.yl-app .yl-getapp-wrap, html.yl-app .ft-app { display: none !important; }

html.yl-has-app .mn-app, html.yl-has-app .yl-getapp-wrap, html.yl-has-app .yl-ibar { display: none !important; }
