/* Shared palette across all native-app download pages and languages. */
.galeon-download-panel a.galeon-download-button,section[id$="-google-play-testing"] a[style*="background"]{background:#1769aa!important;color:#fff!important;border:1px solid transparent;box-sizing:border-box}
.galeon-download-panel a.galeon-download-button:hover,section[id$="-google-play-testing"] a[style*="background"]:hover{background:#11548a!important}
.galeon-download-panel a.galeon-download-button:focus-visible,section[id$="-google-play-testing"] a[style*="background"]:focus-visible{outline:3px solid #1769aa;outline-offset:3px}
#tradmate-downloads.tm-compact-downloads{scroll-margin-top:120px;margin:0 0 22px;padding:20px;border:1px solid #ddd;border-radius:12px}
#tradmate-downloads .tm-download-heading{display:flex;align-items:center;gap:16px}
#tradmate-downloads .tm-download-heading figure{margin:0;flex:0 0 72px}
#tradmate-downloads .tm-download-heading img{display:block!important;width:72px!important;height:72px!important;border-radius:16px!important}
#tradmate-downloads .tm-download-heading h2{margin:0 0 5px;font-size:25px;line-height:1.2}
#tradmate-downloads .tm-download-heading p{margin:0;font-size:15px;line-height:1.5}
#tradmate-downloads .tm-download-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}
#tradmate-downloads .tm-download-row{display:block;min-width:0;padding:0;border:0}
#tradmate-downloads .tm-download-button{display:block;width:100%;padding:10px 12px!important;border-radius:7px;text-align:center;text-decoration:none;font-size:15px;font-weight:600;line-height:1.45;white-space:nowrap}
#tradmate-downloads .tm-platform-meta{padding-top:8px;font-size:13px;line-height:1.5;min-width:0}
#tradmate-downloads .tm-platform-meta p{margin:0}
#tradmate-downloads .tm-checksum{margin:5px 0 0;font-size:12px;line-height:1.5}
#tradmate-downloads .tm-checksum summary{display:inline-block;cursor:pointer;padding:2px 8px;border:1px solid #d6dfe5;border-radius:5px;color:#335469;background:#f5f8fa;list-style:none;font-family:system-ui,sans-serif}
#tradmate-downloads .tm-checksum summary::-webkit-details-marker{display:none}
#tradmate-downloads .tm-checksum summary:focus-visible{outline:2px solid #1769aa;outline-offset:2px}
#tradmate-downloads .tm-checksum-fallback{padding:8px 0;overflow-wrap:anywhere}
#tradmate-downloads .tm-checksum-fallback code{white-space:normal;word-break:break-all;font-size:12px}
.tm-checksum-dialog{box-sizing:border-box;width:440px;max-width:calc(100vw - 32px);padding:20px;border:1px solid #d6dfe5;border-radius:12px;background:#fff;color:#143852;box-shadow:0 14px 60px #0003;font-family:system-ui,sans-serif}
.tm-checksum-dialog::backdrop{background:#0007}
.tm-checksum-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.tm-checksum-dialog-heading h2{font-size:19px;line-height:1.4;margin:0;color:inherit}
.tm-checksum-dialog-heading button{background:transparent!important;border:0;color:#143852;font-size:27px;line-height:1;padding:3px 6px;cursor:pointer}
.tm-checksum-dialog p{margin:0 0 10px;font-size:14px;line-height:1.5}
.tm-checksum-dialog input{box-sizing:border-box;width:100%;font-family:ui-monospace,monospace;font-size:16px;color:#143852;background:#f5f8fa;border:1px solid #d6dfe5;border-radius:6px;padding:10px;min-width:0}
.tm-checksum-actions{display:flex;align-items:center;gap:14px;margin-top:14px;flex-wrap:wrap}
.tm-checksum-actions button{border:0;border-radius:6px;background:#1769aa;color:#fff;padding:10px 14px;font-size:14px;cursor:pointer}
.tm-checksum-actions a{font-size:13px;color:#1769aa;text-decoration:underline}
.tm-checksum-dialog #tm-checksum-status{min-height:1.5em;margin:10px 0 0}
@media(max-width:560px){
 #tradmate-downloads.tm-compact-downloads{padding:16px}
 #tradmate-downloads .tm-download-heading{gap:12px}
 #tradmate-downloads .tm-download-heading figure{flex-basis:60px}
 #tradmate-downloads .tm-download-heading img{width:60px!important;height:60px!important;border-radius:13px!important}
 #tradmate-downloads .tm-download-heading h2{font-size:23px}
 #tradmate-downloads .tm-download-heading p{font-size:13px}
 #tradmate-downloads .tm-download-grid{grid-template-columns:1fr;gap:0;margin-top:14px}
 #tradmate-downloads .tm-download-row{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;align-items:center;padding:10px 0;border-top:1px solid #e5e7eb}
 #tradmate-downloads .tm-download-button{font-size:14px;padding:10px 7px!important}
 #tradmate-downloads .tm-platform-meta{padding:0;font-size:12px}
}
