/* Shared by purity-test.php, cps-test.php, prank.php. */
@font-face { font-family: Bungee; src: url(/TomGames/fonts/Bungee-Regular.ttf) format("truetype"); font-display: swap; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font: 600 16px/1.4 Inter, system-ui, sans-serif; -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; color: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid #141014; outline-offset: 3px; }
.tpt-head { display: block; aspect-ratio: 1; background-repeat: no-repeat; }
.tpt-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 18px; width: min(1080px, 100%); margin: 0 auto; padding: 4px max(16px, env(safe-area-inset-left)); }
.tpt-top a, .tpt-top button { min-height: 44px; display: inline-flex; align-items: center; padding: 0; border: 0; background: none; color: inherit; font-weight: 700; text-decoration: none; }
.tpt-top > div { display: flex; flex-wrap: wrap; gap: 0 18px; }
.tpt-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 26px; padding: 22px 16px calc(28px + env(safe-area-inset-bottom)); background: #141014; }
.tpt-foot a { color: #fff; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.tpt-toast { position: fixed; left: 50%; bottom: calc(110px + env(safe-area-inset-bottom)); z-index: 90; transform: translateX(-50%); padding: 12px 20px; border-radius: 12px; background: #141014; color: #fff; font-weight: 700; box-shadow: 0 6px 18px #0006; }
/* The language menu sits in the footer: floating, it covered the buttons at the bottom. */
body { position: relative; }
#tp-global-language { position: absolute !important; left: 50%; right: auto !important; bottom: calc(22px + env(safe-area-inset-bottom)) !important; transform: translateX(-50%); min-height: 40px; border-color: #666 !important; box-shadow: none !important; }
.tpt-foot { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (max-width: 520px) {
  .tpt-top { flex-wrap: nowrap; padding: 2px 12px; font-size: 14px; } .tpt-top > div { flex-wrap: nowrap; gap: 0 13px; } .tpt-top > a { font-size: 0; } .tpt-top > a::before { content: "← Home"; font-size: 14px; }
  .tpt-top a, .tpt-top button { white-space: nowrap; }
}
/* 11-29 search text: FAQ under each tool (core/seo_page.php seo_faq_html) */
.tpt-faq { max-width: 72ch; border-top: 1px solid #ffffff24; }
.tpt-faq:last-of-type { border-bottom: 1px solid #ffffff24; }
.tpt-faq summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; font-weight: 700; cursor: pointer; list-style: none; }
.tpt-faq summary::-webkit-details-marker { display: none; }
.tpt-faq summary::after { content: '+'; flex: none; font-size: 22px; line-height: 1; transition: transform .2s; }
.tpt-faq[open] summary::after { transform: rotate(45deg); }
.tpt-faq p { margin: 0 0 14px; font-weight: 500; line-height: 1.55; opacity: .85; }
