/* 73 languages: language menu, right-to-left pages and scripts that need normal letter spacing (tools/i18n73.py). */
.ks-langs{position:relative;flex-shrink:0}
.ks-langs summary{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px 0 10px;border:1px solid var(--ks-line,#ddded5);border-radius:999px;font-size:12px;font-weight:650;letter-spacing:.4px;color:var(--ks-ink,#272824);cursor:pointer;list-style:none;white-space:nowrap}
.ks-langs summary::-webkit-details-marker{display:none}
.ks-langs summary svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6}
.ks-langs summary:hover,.ks-langs[open] summary{background:var(--ks-peach-soft,#f6e6da)}
.ks-langs-menu{position:absolute;z-index:50;top:calc(100% + 8px);inset-inline-end:0;width:min(560px,calc(100vw - 32px));max-height:min(70vh,520px);overflow:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:2px;padding:10px;background:#fffefa;border:1px solid var(--ks-line,#ddded5);border-radius:14px;box-shadow:0 18px 40px -18px rgba(40,40,30,.35)}
.ks-langs-menu a{display:block;padding:8px 10px;border-radius:8px;font-size:14px;line-height:1.3;color:var(--ks-ink,#272824);text-decoration:none;letter-spacing:0;overflow-wrap:anywhere}
.ks-langs-menu a:hover{background:var(--ks-peach-soft,#f6e6da)}
.ks-langs-menu a[aria-current]{background:var(--ks-ink,#272824);color:#fff}
@media(max-width:760px){.ks-langs summary{height:32px;padding:0 9px}.ks-langs summary span{display:none}.ks-langs-menu{position:fixed;top:72px;inset-inline:16px;width:auto;grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Translation note under translated privacy policies. */
.policy-note{font-size:11px;color:#939b85;margin:28px 0 0}
.policy-note a{text-decoration:underline;text-underline-offset:3px}

/* Long words in some languages (de, fi, ru…) must wrap instead of overflowing. */
html[lang]:not([lang="en"]):not([lang="tr"]) h1,html[lang]:not([lang="en"]):not([lang="tr"]) h2,html[lang]:not([lang="en"]):not([lang="tr"]) h3{overflow-wrap:break-word;hyphens:auto}

/* Arabic-script, Indic, Southeast Asian, CJK… : tight negative tracking breaks letter joining and marks. */
.i18n-open body *{letter-spacing:normal!important}
.i18n-open h1,.i18n-open h2{line-height:1.3}
.i18n-open .eyebrow,.i18n-open .ks-eyebrow{line-height:1.6}

/* Right to left (ar, fa, he, ur). Images and drawings stay as they are; text and layout flip. */
[dir="rtl"] .ks-sticky{left:auto;right:-6px;transform:rotate(5deg);font-family:inherit}
[dir="rtl"] .accent-word svg{left:auto;right:0}
[dir="rtl"] .ks-note{flex-direction:row-reverse}
[dir="rtl"] .ks-ink-arrow{transform:scaleX(-1)}
[dir="rtl"] .check-list,[dir="rtl"] .policy-body ul{padding-left:0;padding-right:20px}
[dir="rtl"] .compare-table th,[dir="rtl"] .compare-table td{text-align:right}
[dir="rtl"] .compare-table td{text-align:center}

/* Headline lines may wrap: longer languages (and EN "Draw on your screen." at 375 px) must not push the page sideways. */
.ks-line{white-space:normal}
html:not([lang="en"]):not([lang="tr"]) .accent-word{white-space:normal}

/* Long URLs in translated privacy texts, long table words (de, nl…) and long eyebrows wrap instead of overflowing. */
.policy-main a{overflow-wrap:anywhere}
.compare-table th,.compare-table td{overflow-wrap:anywhere;hyphens:auto}
.app-eyebrow{flex-wrap:wrap;min-width:0}
.eyebrow,.ks-eyebrow{overflow-wrap:anywhere}
.i18n-open h1{overflow-wrap:anywhere}
@media(max-width:760px){
  .i18n-open .static-hero h1,.i18n-open .ks-hero h1{font-size:clamp(30px,8.6vw,46px)}
  /* The handwritten "new!" note has no room next to longer words. */
  html:not([lang="en"]):not([lang="tr"]) .ks-note{display:none}
}
/* Phone header: logo + Play button + language menu; the studio name gives way to longer button texts. */
@media(max-width:420px){html:not([lang="en"]):not([lang="tr"]) .ks-brand span{display:none}}
.i18n-open .ks-mark{white-space:normal}
.ks-showcase-copy{min-width:0}
.i18n-open h2,.i18n-open h3,.i18n-open li,.i18n-open p{overflow-wrap:anywhere}
.ks-hero{overflow-x:clip}
.privacy-band>*{min-width:0}
.privacy-band h2,.privacy-band p,.privacy-band .text-link{overflow-wrap:anywhere;white-space:normal}
@media(max-width:760px){.privacy-band{grid-template-columns:minmax(0,1fr)}}

/* Home "OverPen" card: the 2.3.2 shots are full store images (own background), so centre them instead of
   letting them peek from the bottom of a tall empty panel. */
.app-feature-shots{align-items:center;padding:34px 28px}
.app-feature-shots img{width:47%;max-width:270px;border-radius:14px}
.app-feature-shots img+img{margin-bottom:0;transform:translateY(28px)}
@media(max-width:760px){.app-feature-shots{padding:24px 16px 40px}}
.static-copy,.ks-hero-copy{min-width:0}
