.tc-download {
    box-sizing: border-box;
    width: min(560px, calc(100% - 32px));
    max-width: calc(100% - 32px);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 18px;
    background: #fff;
    color: #1d2735;
    font: 16px/1.55 Inter, system-ui, sans-serif;
    box-shadow: 0 24px 80px #0005;
    overscroll-behavior: contain;
}
.tc-download::backdrop { background: #0c172ab3; }
.tc-download *, .tc-download *::before, .tc-download *::after { box-sizing: border-box; }
.tc-download__panel { position: relative; padding: 30px; overflow-wrap: anywhere; }
.tc-download h2 { margin: 0 34px 18px 0; color: inherit; font-size: 25px; line-height: 1.2; font-weight: 700; }
.tc-download p { margin: 0 0 18px; }
.tc-download__close {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #536171;
    font: 30px/1 system-ui, sans-serif;
    cursor: pointer;
}
.tc-download__close:hover { background: #eff3f6; color: #17212e; }
.tc-download__appstore { display: inline-block; margin: 0 0 18px; color: #006495; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.tc-download .tc-download__instructions { color: #526171; font-size: 14px; }
.tc-download__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tc-download__confirm, .tc-download__cancel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 9px;
    font: 600 15px/1.4 Inter, system-ui, sans-serif;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.tc-download__confirm { flex: 1 1 auto; background: #0074ad; color: #fff; }
.tc-download__confirm:hover { background: #005f8e; color: #fff; }
.tc-download__cancel { background: #edf1f5; color: #283648; }
.tc-download__cancel:hover { background: #dfe6ed; }
.tc-download a:focus-visible, .tc-download button:focus-visible { outline: 3px solid #0074ad; outline-offset: 3px; }
.tc-download h2:focus { outline: none; }
@media (max-width: 480px) {
    .tc-download__panel { padding: 26px 20px 20px; }
    .tc-download h2 { font-size: 23px; }
    .tc-download__actions { flex-direction: column; }
    .tc-download__confirm, .tc-download__cancel { width: 100%; }
}
