.ttch-download-page { background: #fff; }
.ttch-download { min-height: 70vh; background: #fff; color: #202124; }
.ttch-download-inner { width: min(100% - 80px, 1636px); margin: 0 auto; padding: 64px 0 92px; }
.ttch-download-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 32px; align-items: start; }
.ttch-download-overview { grid-column: 1; grid-row: 1; min-height: 390px; }
.ttch-download-overview-copy { min-width: 0; }
.ttch-download-icon { display: block; grid-column: 2; grid-row: 1; justify-self: end; width: 300px; height: 300px; border-radius: 60px; object-fit: cover; box-shadow: 0 12px 25px #20212429; }
.ttch-download h1 { margin: 0; color: #202124; font-size: clamp(42px, 4.1vw, 70px); font-weight: 650; letter-spacing: -.045em; line-height: 1.12; }
.ttch-download-publisher { margin: 19px 0 0; color: #01875f; font-size: 20px; font-weight: 600; }
.ttch-download-type { margin: 5px 0 0; color: #5f6368; font-size: 14px; }
.ttch-download-count { display: flex; width: max-content; min-width: 145px; flex-direction: column; align-items: center; margin: 43px 0 0; padding: 0 24px; border-left: 1px solid #e4e7e5; text-align: center; }
.ttch-download-count strong { font-size: 17px; font-weight: 600; }
.ttch-download-count span { margin-top: 7px; color: #5f6368; font-size: 14px; }
.ttch-download-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100%, 900px); gap: 11px; margin-top: 42px; }
.ttch-download-install { display: inline-flex; align-items: center; justify-content: center; min-height: 55px; padding: 10px; border-radius: 9px; background: #01875f; color: #fff; font-size: 16px; font-weight: 700; text-align: center; text-decoration: none; transition: background .2s; }
.ttch-download-install:hover { background: #006c4c; }
.ttch-download-gallery { grid-column: 1; grid-row: 2; min-width: 0; margin: 76px 0 54px; }
.ttch-download-gallery-track { display: flex; gap: 16px; overflow-x: auto; padding: 0 0 13px; scroll-snap-type: x mandatory; scrollbar-color: #c6c9c7 transparent; }
.ttch-download-shot { position: relative; flex: 0 0 auto; width: 214px; height: 290px; margin: 0; overflow: hidden; border-radius: 17px; background: linear-gradient(145deg, #173871, #0c122c 70%); scroll-snap-align: start; }
.ttch-download-shot img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ttch-download-shot-wide { width: 515px; }
.ttch-download-content { grid-column: 1; grid-row: 3; min-width: 0; }
.ttch-download h2 { margin: 0 0 18px; font-size: 25px; font-weight: 700; letter-spacing: -.025em; }
.ttch-download-about { padding-bottom: 45px; border-bottom: 1px solid #e7e9e8; }
.ttch-download-about h2 span { color: #01875f; }
.ttch-download-about p { max-width: 720px; margin: 0 0 20px; color: #3c4043; font-size: 15px; line-height: 1.75; }
.ttch-download-about h3 { margin: 0 0 16px; color: #3c4043; font-size: 15px; font-weight: 400; line-height: 1.75; }
.ttch-download-reviews { padding-top: 58px; }
.ttch-download-reviews-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; }
.ttch-download-reviews-heading h2 { margin-bottom: 16px; }
.ttch-download-reviews-heading > span { color: #80868b; font-size: 12px; }
.ttch-download-review-summary { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.ttch-download-review-summary > strong { font-size: 52px; font-weight: 500; letter-spacing: -.05em; }
.ttch-download-review-summary > div { display: flex; flex-direction: column; gap: 5px; }
.ttch-download-review-summary small { color: #80868b; font-size: 12px; }
.ttch-download-stars { color: #01875f; font-size: 16px; letter-spacing: 2px; }
.ttch-download-review-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ttch-download-review-list article { padding: 20px; border: 1px solid #e1e4e2; border-radius: 16px; }
.ttch-download-review-author { display: flex; align-items: center; gap: 11px; font-size: 13px; }
.ttch-download-review-author > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #e8f0fe; color: #285cae; font-weight: 700; }
.ttch-download-review-list article:nth-child(2) .ttch-download-review-author > span { background: #fce8e6; color: #a93428; }
.ttch-download-review-list article:nth-child(3) .ttch-download-review-author > span { background: #e6f4ea; color: #08794e; }
.ttch-download-review-list .ttch-download-stars { margin: 14px 0 6px; }
.ttch-download-review-list article > p:last-child { margin: 0; color: #3c4043; font-size: 13px; line-height: 1.65; }
.ttch-download-sidebar { grid-column: 2; grid-row: 1 / span 3; min-width: 0; margin-top: 310px; padding: 0 0 10px; }
.ttch-download-sidebar h2 { margin-bottom: 13px; }
.ttch-download-sidebar-item { border-bottom: 1px solid #e7e9e8; }
.ttch-download-sidebar-item a { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; color: #202124; text-decoration: none; }
.ttch-download-sidebar-item img { display: block; flex: none; width: 96px; height: 72px; border-radius: 8px; object-fit: cover; background: #e8eaed; }
.ttch-download-sidebar-item h3 { display: -webkit-box; overflow: hidden; margin: 0; font-size: 15px; font-weight: 650; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.ttch-download-sidebar-item a:hover h3 { color: #01875f; }
.ttch-download a:focus-visible { outline: 3px solid #01875f; outline-offset: 3px; }
@media (max-width: 1300px) {
  .ttch-download-page-grid { grid-template-columns: minmax(0, 1fr) 300px; column-gap: 32px; }
}
@media (max-width: 1050px) {
  .ttch-download-page-grid { display: flex; flex-direction: column; }
  .ttch-download-overview, .ttch-download-gallery, .ttch-download-content, .ttch-download-sidebar { width: 100%; }
  .ttch-download-overview { min-height: 0; }
  .ttch-download-icon { order: -1; align-self: flex-start; }
  .ttch-download-gallery { order: 1; }
  .ttch-download-content { order: 2; }
  .ttch-download-sidebar { order: 3; margin-top: 52px; }
  .ttch-download-sidebar-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}
@media (max-width: 900px) {
  .ttch-download-icon { width: 180px; height: 180px; border-radius: 36px; }
  .ttch-download-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 520px); }
  .ttch-download-review-list { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .ttch-download-inner { width: min(100% - 32px, 580px); padding: 28px 0 64px; }
  .ttch-download-icon { width: 92px; height: 92px; border-radius: 20px; }
  .ttch-download h1 { font-size: clamp(27px, 7vw, 36px); }
  .ttch-download-publisher { margin-top: 9px; font-size: 15px; }
  .ttch-download-type { font-size: 12px; }
  .ttch-download-count { margin-top: 27px; }
  .ttch-download-actions { margin-top: 25px; }
  .ttch-download-install { min-height: 50px; font-size: 14px; }
  .ttch-download-gallery { margin: 43px 0 42px; }
  .ttch-download-shot { width: 176px; height: 238px; }
  .ttch-download-shot-wide { width: min(83vw, 390px); }
  .ttch-download-about { padding-bottom: 36px; }
  .ttch-download-sidebar-list { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .ttch-download-icon { width: 80px; height: 80px; }
  .ttch-download h1 { font-size: 25px; }
  .ttch-download-actions { gap: 9px; }
  .ttch-download-install { min-height: 48px; padding: 8px; font-size: 13px; }
}

/* Download page: dark store-style hero and a two-column media section. */
.ttch-download { background: #fff; }
.ttch-download-overview { position: relative; isolation: isolate; min-height: 590px; overflow: hidden; background: #202124; color: #e8eaed; }
.ttch-download-overview::before { position: absolute; z-index: 1; top: 0; right: 0; width: 50%; height: 100%; background: linear-gradient(180deg, #202124 0%, transparent 18%, transparent 82%, #202124 100%), linear-gradient(270deg, #202124 0%, transparent 12%); content: ''; pointer-events: none; }
.ttch-download-overview::after { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, #202124 0%, #202124 51%, transparent 68%), linear-gradient(0deg, #2021249e, transparent 35%); content: ''; pointer-events: none; }
.ttch-download-hero-banner { position: absolute; z-index: 0; top: 0; right: 0; width: 50%; height: 100%; object-fit: cover; object-position: center; }
.ttch-download-hero-inner { position: relative; z-index: 2; width: min(100% - 80px, 1636px); margin: 0 auto; padding: 130px 0 64px; }
.ttch-download-overview-copy { max-width: min(790px, calc(50vw - 40px)); }
.ttch-download-overview h1 { color: #f1f3f4; }
.ttch-download-publisher { color: #0abf8e; }
.ttch-download-type { color: #bdc1c6; }
.ttch-download-stats { display: flex; align-items: center; gap: 22px; margin-top: 37px; }
.ttch-download-icon { display: block; flex: none; width: 60px; height: 60px; border-radius: 13px; object-fit: cover; box-shadow: none; }
.ttch-download-stat { display: flex; flex-direction: column; align-items: center; min-width: 115px; padding-left: 22px; border-left: 1px solid #777d83a8; text-align: center; }
.ttch-download-stat strong { color: #f1f3f4; font-size: 18px; font-weight: 650; white-space: nowrap; }
.ttch-download-stat span { margin-top: 6px; color: #bdc1c6; font-size: 14px; white-space: nowrap; }
.ttch-download-actions { margin-top: 32px; }
.ttch-download-install { background: #00a77b; }
.ttch-download-install:hover { background: #008967; }
.ttch-download-inner { padding: 52px 0 92px; }
.ttch-download-page-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,400px); gap: 0 48px; }
.ttch-download-gallery { position: relative; grid-column: 1; grid-row: 1; min-width: 0; margin: 0 0 58px; }
.ttch-download-gallery-track { gap: 18px; overflow-x: auto; padding: 0 0 10px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.ttch-download-gallery-track::-webkit-scrollbar { display: none; }
.ttch-download-shot { width: 270px; height: 320px; scroll-snap-align: start; }
.ttch-download-shot-wide { width: min(65%,570px); }
.ttch-download-gallery-arrow { position: absolute; top: calc(50% - 20px); display: grid; place-items: center; width: 56px; height: 56px; padding: 0 0 5px; border: 1px solid #e3e5e6; border-radius: 50%; background: #fff; color: #5f6368; box-shadow: 0 2px 8px #0002; cursor: pointer; font: 38px/1 Arial,sans-serif; }
.ttch-download-gallery-prev { left: 12px; }
.ttch-download-gallery-next { right: 12px; }
.ttch-download-gallery-arrow:hover:not(:disabled) { color: #01875f; box-shadow: 0 3px 12px #0003; }
.ttch-download-gallery-arrow:disabled, .ttch-download-gallery-static .ttch-download-gallery-arrow { display: none; }
.ttch-download-sidebar { grid-column: 2; grid-row: 1 / span 2; min-width: 0; margin: 0; padding: 0; }
.ttch-download-content { grid-column: 1; grid-row: 2; min-width: 0; }
@media (max-width: 1050px) {
  .ttch-download-page-grid { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 0 28px; }
  .ttch-download-gallery, .ttch-download-content, .ttch-download-sidebar { width: auto; }
  .ttch-download-gallery { order: initial; }
  .ttch-download-content { order: initial; }
  .ttch-download-sidebar { order: initial; margin-top: 0; }
  .ttch-download-sidebar-list { display: block; }
}
@media (max-width: 800px) {
  html[data-ttch-download-os="android"] .ttch-download-install:not([data-platform="android"]):not([data-platform="apk"]),
  html[data-ttch-download-os="ios"] .ttch-download-install:not([data-platform="ios"]) { display: none; }
  html[data-ttch-download-os="ios"] .ttch-download-actions { grid-template-columns: minmax(0, 1fr); max-width: 260px; }
  .ttch-download-hero-inner { width: min(100% - 32px, 700px); padding: 88px 0 54px; }
  .ttch-download-overview { min-height: 0; }
  .ttch-download-overview-copy { max-width: 100%; }
  .ttch-download-overview::after { background: linear-gradient(90deg, #202124 0%, #202124 51%, #202124a1 100%), linear-gradient(0deg, #202124 0%, transparent 70%); }
  .ttch-download-page-grid { display: flex; flex-direction: column; }
  .ttch-download-gallery, .ttch-download-content, .ttch-download-sidebar { width: 100%; }
  .ttch-download-gallery { order: 0; margin-bottom: 38px; }
  .ttch-download-sidebar { order: 1; margin-bottom: 48px; }
  .ttch-download-content { order: 2; }
  .ttch-download-sidebar-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 20px; }
}
@media (max-width: 700px) {
  .ttch-download-hero-inner { padding: 72px 0 45px; }
  .ttch-download h1 { font-size: clamp(32px,8vw,50px); }
  .ttch-download-stats { gap: 11px; margin-top: 27px; }
  .ttch-download-icon { width: 50px; height: 50px; border-radius: 11px; }
  .ttch-download-stat { min-width: 0; padding-left: 11px; }
  .ttch-download-stat strong { font-size: 15px; }
  .ttch-download-stat span { font-size: 11px; }
  .ttch-download-inner { padding-top: 32px; }
  .ttch-download-shot { width: 210px; height: 238px; }
  .ttch-download-shot-wide { width: min(83vw,390px); }
  .ttch-download-gallery-arrow { width: 46px; height: 46px; font-size: 32px; }
  .ttch-download-sidebar-list { grid-template-columns: 1fr; }
}

/* Size each slide to its image so the frame does not expose side bands. */
.ttch-download-gallery-track { align-items: center; }
.ttch-download-gallery .ttch-download-shot {
  width: min(calc(320px * var(--ttch-shot-ratio)), 570px);
  height: auto;
  aspect-ratio: var(--ttch-shot-ratio);
}
@media (max-width: 700px) {
  .ttch-download-gallery .ttch-download-shot {
    width: min(calc(238px * var(--ttch-shot-ratio)), 83vw, 390px);
  }
}

/* Align featured articles beside the introduction, then stack them on narrow screens. */
.ttch-download-page-grid { display: block; }
.ttch-download-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); column-gap: 48px; align-items: start; }
.ttch-download-about { grid-column: 1; grid-row: 1; }
.ttch-download-sidebar { grid-column: 2; grid-row: 1 / span 2; width: auto; margin: 0; padding: 0; border: 0; }
.ttch-download-sidebar-list { display: block; }
.ttch-download-reviews { grid-column: 1; grid-row: 2; }
@media (max-width: 1050px) {
  .ttch-download-content { grid-template-columns: minmax(0, 1fr) 280px; column-gap: 28px; }
}
@media (max-width: 800px) {
  .ttch-download-content { display: flex; flex-direction: column; }
  .ttch-download-about, .ttch-download-sidebar, .ttch-download-reviews { width: 100%; }
  .ttch-download-about { order: 0; }
  .ttch-download-sidebar { order: 1; margin: 36px 0 0; padding: 0 0 36px; border-bottom: 1px solid #e7e9e8; }
  .ttch-download-reviews { order: 2; padding-top: 42px; }
}
