#tutor-app-promotion {
    --tap-ink: #183e34;
    --tap-green: #346b58;
    --tap-muted: #61756d;
    font-family: inherit;
    color: var(--tap-ink);
    line-height: 1.6;
    text-align: right;
}
#tutor-app-promotion [hidden], #tutor-app-promotion[hidden] { display: none !important; }
#tutor-app-promotion *, #tutor-app-promotion *::before, #tutor-app-promotion *::after { box-sizing: border-box; }
#tutor-app-promotion button, #tutor-app-promotion a { font-family: inherit; letter-spacing: normal; }
#tutor-app-promotion button { cursor: pointer; }
#tutor-app-promotion :is(button, a):focus-visible { outline: 3px solid #bd8c35; outline-offset: 3px; }
#tutor-app-promotion .tap-bar {
    position: fixed;
    inset: auto 12px max(12px, env(safe-area-inset-bottom));
    z-index: 100010;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 4px 10px;
    align-items: center;
    max-width: 820px;
    margin-inline: auto;
    padding: 18px 16px 10px 42px;
    border: 1px solid #d9e6de;
    border-top: 3px solid var(--tap-green);
    border-radius: 18px;
    background: #fffefb;
    box-shadow: 0 8px 36px #183e3426;
}
#tutor-app-promotion .tap-icon { width: 44px; height: 44px; border-radius: 12px; }
#tutor-app-promotion .tap-bar-copy { display: flex; flex-direction: column; min-width: 0; }
#tutor-app-promotion .tap-bar-copy strong { font-size: 14px; color: var(--tap-ink); }
#tutor-app-promotion .tap-bar-copy span { font-size: 11px; color: var(--tap-muted); }
#tutor-app-promotion .tap-stores { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
#tutor-app-promotion .tap-store {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--tap-green);
    border-radius: 12px;
    background: var(--tap-green);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background .15s;
}
#tutor-app-promotion .tap-store:hover { color: #fff; background: #244d3f; }
#tutor-app-promotion .tap-close {
    position: absolute;
    top: 3px;
    left: 3px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--tap-muted);
    font-size: 28px;
    line-height: 1;
}
#tutor-app-promotion .tap-close:hover { background: #edf3ef; }
#tutor-app-promotion .tap-installed {
    min-height: 36px;
    padding: 5px 8px;
    border: 0;
    background: transparent;
    color: var(--tap-muted);
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 400;
}
#tutor-app-promotion .tap-bar > .tap-installed { grid-column: 2 / -1; justify-self: start; }
#tutor-app-promotion .tap-dialog {
    position: fixed;
    inset: 0;
    width: min(460px, calc(100% - 28px));
    max-width: none;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    margin: auto;
    padding: 0;
    border: 1px solid #dce7df;
    border-radius: 28px;
    background: #fffefb;
    color: var(--tap-ink);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 24px 100px #102c3b40;
    text-align: center;
}
#tutor-app-promotion .tap-dialog::backdrop { background: #102c3baa; backdrop-filter: blur(4px); }
#tutor-app-promotion .tap-dialog > .tap-close { top: 10px; left: 10px; }
#tutor-app-promotion .tap-dialog-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 28px 20px;
    background: radial-gradient(ellipse at top, #dfede4 0, transparent 58%);
}
#tutor-app-promotion .tap-hero-icon { width: 80px; height: 80px; margin-bottom: 14px; border-radius: 23px; box-shadow: 0 6px 18px #254e3720; }
#tutor-app-promotion .tap-eyebrow { color: var(--tap-green); font-size: 12px; font-weight: 700; }
#tutor-app-promotion #tap-title { margin: 10px 0; font-size: clamp(23px, 6vw, 30px); line-height: 1.4; font-weight: 800; color: var(--tap-ink); }
#tutor-app-promotion #tap-message { margin: 0; font-size: 15px; line-height: 1.9; color: #4b645a; }
#tutor-app-promotion .tap-benefits { align-self: stretch; margin: 22px 0; padding: 16px 20px; border: 1px solid #e1e9df; border-radius: 16px; list-style: none; background: #f7f8f2; text-align: right; }
#tutor-app-promotion .tap-benefits li { display: flex; gap: 9px; margin: 5px 0; padding: 0; font-size: 14px; }
#tutor-app-promotion .tap-benefits li::before { content: '✓'; color: var(--tap-green); font-weight: 700; }
#tutor-app-promotion .tap-dialog .tap-stores { align-self: stretch; }
#tutor-app-promotion .tap-dialog .tap-store { flex: 1; padding: 13px 18px; }
#tutor-app-promotion .tap-free { margin-top: 10px; font-size: 11px; color: var(--tap-muted); }
#tutor-app-promotion .tap-later { min-height: 44px; margin-top: 16px; padding: 8px 16px; border: 1px solid #dce4de; border-radius: 12px; background: transparent; color: var(--tap-ink); font-size: 14px; font-weight: 500; }
#tutor-app-promotion .tap-later:hover { background: #edf3ef; }
html.tap-modal-open { overflow: hidden; }
@media (max-width: 600px) {
    #tutor-app-promotion .tap-bar.tap-multiple-stores { grid-template-columns: 44px minmax(0, 1fr); }
    #tutor-app-promotion .tap-multiple-stores .tap-stores { grid-column: 1 / -1; margin-top: 8px; }
    #tutor-app-promotion .tap-multiple-stores .tap-store { flex: 1; font-size: 12px; padding-inline: 10px; }
}
@media (max-width: 380px) {
    #tutor-app-promotion .tap-bar { gap: 4px 8px; padding-right: 12px; }
    #tutor-app-promotion .tap-bar-copy strong { font-size: 12px; }
    #tutor-app-promotion .tap-bar .tap-store { font-size: 11px; padding: 8px; }
    #tutor-app-promotion .tap-dialog-content { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) { #tutor-app-promotion .tap-store { transition: none; } }
