@media (max-width: 599px) {
  .introduction .line1 .right .title { display: flex; align-items: center; gap: 6px; font-size: clamp(19px,5.65vw,24px); }
  .tpt-title-badge { display: inline-block; width: 22px; height: 22px; flex: 0 0 22px; margin: 0!important; border-radius: 0!important; background: none!important; box-shadow: none!important; }
  .introduction .line1 .tpt-title-badge { width: 22px; height: 22px; flex: 0 0 22px; }
  .introduction .line2 .tpt-choice-icon { width: 20px; height: 20px; }
  .introduction .line2 .tpt-choice-icon path { fill: #202124; }
  /*.main-body .swiper-slide:nth-child(n+4) { display: none; }*/
  .main-body .mySwiperbox .tpt-promo-slide .gallery-art { background: #ffdc00; }
  .tpt-promo-slide .gallery-art::before, .tpt-promo-slide .gallery-art::after,
  .main-body .mySwiperbox .tpt-promo-slide .gallery-brand { display: none; }
  .tpt-promo-slide picture { display: block; width: 100%; height: 100%; }
  .main-body .mySwiperbox .tpt-promo-slide .game-shot { object-fit: cover; width: 100%; height: 100%; border-radius: 10px; }
  .comment-list > .comment-list-item:nth-child(n+4) { display: none; }
  .comment-list.tpt-reviews-expanded > .comment-list-item:nth-child(n+4) { display: block; }
  .tpt-inline-own-reviews:not([hidden]) { display: block; margin-top: 24px; }
  .tpt-inline-own-reviews[hidden] { display: none; }
  .comment-list .helps { display: none; }
  .comment-list .helps-btn { margin-top: 16px; }
  .tpt-page-heart { display: flex; margin-top: 16px; }
  .tpt-rate-section { display: block; padding: 30px 0 10px; }
  .tpt-rate-section h3 { font-size: 18px; line-height: 24px; margin: 0 0 8px; font-weight: 500; }
  .tpt-rate-section p { font: 400 14px/20px Roboto,Arial,sans-serif; color: #5f6368; }
  .tpt-review-link { display: inline-flex; align-items: center; border: 0; background: transparent; color: #01875f; min-height: 44px; padding: 12px 0; font: 500 14px 'Google Sans',Arial,sans-serif; cursor: pointer; }
  .tpt-stars { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 20px 0 6px; }
  .tpt-star { background: none; padding: 6px; border: 0; min-width: 40px; min-height: 44px; color: #5f6368; cursor: pointer; }
  .tpt-star svg { width: 28px; height: 28px; fill: transparent; stroke: currentColor; stroke-width: 1.4; }
  .tpt-star[aria-pressed=true] { color: #01875f; }
  .tpt-star[aria-pressed=true] svg { fill: #01875f; }
}
.tpt-heart { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 2px 4px 2px 0; border: 0; color: #5f6368; background: transparent; font: 400 12px/18px Roboto,Arial,sans-serif; cursor: pointer; }
.tpt-heart svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.tpt-heart[aria-pressed=true] { color: #01875f; }
.tpt-heart[aria-pressed=true] svg { fill: #01875f; }
.tpt-review-dialog { width: min(90vw,600px); height: min(600px,calc(100dvh - 64px)); max-height: calc(100dvh - 64px); padding: 20px 20px; border-radius: 10px; overflow: hidden; margin: 32px auto 0; top: 0; }
.tpt-review-dialog::backdrop { background: #0008; }
.tpt-review-dialog > #dialog-title { display: none; }
.tpt-review-dialog .dialog-close { top: 35px; right: 14px; width: 40px; height: 40px; border-radius: 50%; font-size: 28px; }
.tpt-review-dialog #dialog-content { display: flex; flex-direction: column; height: 100%; }
.tpt-modal-header { display: flex; align-items: flex-start; gap: 10px; flex: 0 0 auto; padding: 15px 42px 24px 0; }
.tpt-modal-header img { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; }
.tpt-modal-header h3 { margin: 0; color: #202124; font: 500 22px/26px 'Google Sans',Arial,sans-serif; }
.tpt-modal-header p { margin: 5px 0 0; color: #5f6368; font: 400 14px/18px Roboto,Arial,sans-serif; }
.tpt-modal-scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 0; flex: 1; scrollbar-width: thin; padding-right: 3px; }
.tpt-review-card { padding: 0 0 26px; margin-bottom: 24px; border-bottom: 1px solid #e8eaed; }
.tpt-review-card:last-child { border-bottom: 0; margin-bottom: 0; }
.tpt-review-person { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.tpt-review-person img, .tpt-review-avatar { width: 32px; height: 32px; border-radius: 50%; }
.tpt-review-avatar { background: #6741b8; color: #fff; display: grid; place-items: center; font-size: 16px; }
.tpt-review-person strong { font: 500 14px/20px 'Google Sans',Arial,sans-serif; color: #202124; }
.tpt-review-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tpt-review-stars { color: #01875f; font-size: 14px; letter-spacing: 1px; }
.tpt-review-date { font: 400 12px/18px Roboto,Arial,sans-serif; color: #5f6368; }
.tpt-review-text { color: #5f6368; font: 400 14px/20px Roboto,Arial,sans-serif; margin: 0 0 14px; white-space: pre-line; }
.tpt-review-helpful { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.tpt-review-helpful > span { font: 400 12px/16px Roboto,Arial,sans-serif; color: #5f6368; }
.tpt-review-helpful .tpt-vote-buttons { display: flex; gap: 10px; }
.tpt-vote-buttons button { min-width: 48px; padding: 6px 8px; border-radius: 18px; border: 1px solid #dcd6e7; color: #5f6368; background: #fff; font: 500 14px/14px 'Google Sans',Arial,sans-serif; cursor: pointer; }
.tpt-vote-buttons button[aria-pressed=true] { color: #01875f; background: #e6f3ef; border-color: #01875f; }
.tpt-rate-form label { display: block; font-size: 14px; color: #202124; margin: 16px 0 6px; }
.tpt-rate-form input, .tpt-rate-form textarea { width: 100%; font: 400 14px/20px Roboto,Arial,sans-serif; border: 1px solid #dadce0; border-radius: 8px; padding: 12px; box-sizing: border-box; margin-bottom: 0; }
.tpt-rate-form textarea { min-height: 120px; resize: vertical; }
.tpt-review-submit { background: #01875f; color: #fff; padding: 12px 18px; border: 0; border-radius: 8px; font: 500 14px 'Google Sans',Arial,sans-serif; margin-top: 18px; cursor: pointer; }
.tpt-rating-status, .tpt-review-note { font: 400 14px/20px Roboto,Arial,sans-serif; color: #5f6368; }
.tpt-review-dialog .tpt-stars { display: flex; justify-content: space-between; gap: 6px; }
.tpt-review-dialog .tpt-star { border: 0; background: transparent; min-height: 44px; padding: 8px; cursor: pointer; color: #5f6368; }
.tpt-review-dialog .tpt-star svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.tpt-review-dialog .tpt-star[aria-pressed=true] { color: #01875f; }
.tpt-review-dialog .tpt-star[aria-pressed=true] svg { fill: #01875f; }
.tpt-gallery-preview { width: 100%; height: auto; display: block; border-radius: 10px; }
@media (max-width: 359px) {
  .tpt-review-dialog { padding: 16px 18px; }
  .tpt-modal-header { padding-top: 24px; }
  .tpt-modal-header h3 { font-size: 20px; line-height: 24px; }
  .tpt-review-helpful { gap: 8px; }
  .tpt-review-helpful > span { font-size: 11px; }
  .tpt-vote-buttons button { min-width: 42px; }
}

/* Description dialog matches the reference app's About this app layout. */
.tpt-about-dialog { width: min(90vw,810px); height: min(600px,calc(100dvh - 100px)); max-height: calc(100dvh - 100px); position: fixed; top: 0; margin: 50px auto 0; padding: 20px 20px; border: 0; background: #fff; border-radius: 10px; box-shadow: 0 2px 8px #00000054; overflow-y: auto; box-sizing: border-box; scrollbar-width: none; }
.tpt-about-dialog::backdrop { background: #00000080; }
.tpt-about-dialog::-webkit-scrollbar { width: 0; }
.tpt-about-dialog > #dialog-title { display: none; }
.tpt-about-dialog #dialog-content { display: block; height: auto; }
.tpt-about-dialog .dialog-close { top: 34px; right: 20px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; font-size: 0; background-color: transparent; background-repeat: no-repeat; background-position: center; background-image: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24'%20viewBox='0%20-960%20960%20960'%20width='24'%3e%3cpath%20fill='%235F6368'%20d='m256-200-56-56%20224-224-224-224%2056-56%20224%20224%20224-224%2056%2056-224%20224%20224%20224-56%2056-224-224-224%20224Z'/%3e%3c/svg%3e"); }
.tpt-about-dialog .dialog-close:hover { background-color: #e8eaed; }
.tpt-about-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: nowrap; padding: 0 40px 24px 0; }
.tpt-about-header-left { display: flex; justify-content: flex-start; gap: 10px; padding-top: 15px; }
.tpt-about-header-left img { width: 40px; height: 40px; border-radius: 50%; }
.tpt-about-info h3 { max-width: 210px; margin: 0; font: 500 22px/26px 'Google Sans',Arial,sans-serif; color: #202124; }
.tpt-about-info p { margin: 5px 0 0; font: 400 14px/18px Roboto,Arial,sans-serif; color: #5f6368; }
.tpt-about-text { white-space: pre-line; margin: 0; font: 400 14px/20px Roboto,Arial,sans-serif; color: #5f6368; }
.tpt-about-details { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; gap: 20px; margin: 20px 0; padding: 20px 0; border-top: 1px solid #e8eaed; }
.tpt-about-detail { display: flex; flex-direction: column; align-items: flex-start; width: 31%; }
.tpt-about-detail dt { font: 500 14px/20px 'Google Sans',Arial,sans-serif; color: #202124; }
.tpt-about-detail dd { margin: 5px 0 0; font: 400 14px/20px Roboto,Arial,sans-serif; color: #5f6368; }

/* Data safety uses the app's logo header and a separately scrollable body. */
.tpt-data-safety-dialog { width: min(90vw,810px); height: min(600px,calc(100dvh - 32px)); max-height: calc(100dvh - 32px); margin: 16px auto 0; padding: 20px 24px; }
.tpt-data-safety-dialog .dialog-close { right: 20px; }
.tpt-data-safety-dialog .tpt-modal-header { padding-bottom: 20px; }
.tpt-data-safety-dialog .tpt-modal-header img { border-radius: 50%; }
.tpt-data-safety-dialog .tpt-modal-header > div { min-width: 0; }
.tpt-data-safety-dialog .tpt-modal-header h3 { overflow-wrap: anywhere; }
.tpt-safety-intro { margin: 0 0 20px; color: #5f6368; font: 400 14px/20px Roboto,Arial,sans-serif; }
.tpt-safety-list { list-style: none; margin: 0; padding: 18px 0; border-top: 1px solid #e8eaed; }
.tpt-safety-row { display: flex; align-items: flex-start; gap: 16px; padding: 12px 0; }
.tpt-safety-row img { flex: 0 0 20px; width: 20px; height: 20px; object-fit: contain; }
.tpt-safety-row p { margin: 0; color: #202124; font: 400 14px/20px Roboto,Arial,sans-serif; overflow-wrap: anywhere; }
.tpt-data-safety-dialog .tpt-modal-scroll:focus-visible { outline: 2px solid #01875f; outline-offset: -2px; }
@media (max-width: 359px) { .tpt-data-safety-dialog { padding: 16px 18px; } .tpt-data-safety-dialog .dialog-close { top: 32px; right: 12px; } }
@media (max-height: 360px) { .tpt-data-safety-dialog { padding: 12px 20px; margin-top: 12px; height: calc(100dvh - 24px); max-height: calc(100dvh - 24px); } .tpt-data-safety-dialog .tpt-modal-header { padding-top: 0; padding-bottom: 12px; } .tpt-data-safety-dialog .dialog-close { top: 12px; } }

/* Keep each game-description paragraph readable in the mobile About dialog. */
.tpt-about-text p { margin: 0 0 14px; }
.tpt-about-text p:last-child { margin-bottom: 0; }
