/* Locale additions; original design styles remain unchanged. */
.language-menu{position:relative;flex-shrink:0;font-size:13px;margin-left:auto}
.language-menu summary{list-style:none;padding:9px 12px;border:1px solid var(--purple-border);border-radius:9px;cursor:pointer;white-space:nowrap}
.language-menu summary::after{content:" ▾";font-size:10px}
.language-menu summary::-webkit-details-marker{display:none}
.language-menu nav{position:absolute;right:0;top:calc(100% + 8px);min-width:152px;padding:7px;background:var(--white);color:var(--ink);border:1px solid var(--purple-border);border-radius:12px;box-shadow:0 12px 30px #12033a24;z-index:50}
.language-menu a{display:block;padding:8px 12px;border-radius:7px;white-space:nowrap}
.language-menu a:hover,.language-menu a[aria-current]{background:var(--purple-soft)}
.brand-wordmark{display:flex;flex-direction:column;gap:6px;letter-spacing:-.03em}
.brand-wordmark small{font-size:10px;font-weight:500;letter-spacing:.08em;line-height:1.2}
.release-note{font-size:12px;line-height:1.6;color:var(--sub);padding-block:12px;margin-block:0}
.home .release-note{width:100%;max-width:none;padding-inline:max(32px,calc((100% - 1160px)/2));background:var(--ocean-a);color:var(--purple-border)}
.policy-draft-note{padding:16px 20px;border:1px solid var(--purple-border);border-radius:12px;background:var(--purple-soft);font-size:14px}
.play-pending{opacity:.72;cursor:not-allowed;white-space:normal;max-width:100%}
/* Negative tracking can paint the last glyph beyond the text gradient box. */
.hero-name{font-size:clamp(48px,6.4vw,82px);padding-inline-end:.14em}
/* Keep the Latin wordmark identical across localized typefaces. */
.hero-name,.site-header .brand,html:not([lang=ko]) .brand{font-family:Pretendard,"Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif}
/* Include descenders in the gradient paint area, especially the middle g. */
.hero-name{line-height:1.25;padding-block:.08em .16em}
html[lang=ja] body{font-family:"Noto Sans JP",system-ui,sans-serif;word-break:normal}
html[lang=th] body{font-family:"Noto Sans Thai",system-ui,sans-serif;word-break:normal;line-height:1.7}
html[lang=th] h1,html[lang=th] h2,html[lang=th] h3{line-height:1.4;letter-spacing:normal}
html[lang=th] #hero-title{font-size:clamp(32px,4vw,46px)}
html[lang=zh-hans] body{font-family:"Noto Sans SC",system-ui,sans-serif;word-break:normal}
html[lang=zh-hant] body{font-family:"Noto Sans TC",system-ui,sans-serif;word-break:normal}
.header-inner{gap:20px}
.android-hero-note{margin:20px 0 26px;padding:14px 18px;border-left:3px solid var(--gold,#ffc357);background:#ffffff08;border-radius:0 10px 10px 0;max-width:100%;overflow-wrap:anywhere}
.android-hero-note span{display:block;font-size:11px;line-height:1.6;color:#d6c7ef;margin-bottom:5px}
.android-hero-note strong{display:block;font-size:16px;line-height:1.6;color:#fff0cf}
.android-icon-feature{padding:28px;margin-bottom:44px;background:var(--purple-soft);border:1px solid var(--purple-border);border-radius:20px;overflow-wrap:anywhere}
.android-icon-feature h3{font-size:clamp(22px,3vw,30px);line-height:1.5;margin:8px 0 12px}
.android-icon-feature p{line-height:1.8;margin:0;max-width:820px}
.android-icon-feature .android-label{font-size:12px;font-weight:700;color:var(--purple)}
@media(max-width:700px){.android-icon-feature{padding:22px}.android-hero-note{padding:12px 14px}}
@media(max-width:700px){.header-inner{position:relative}.header-inner .mobile-menu{position:static}.header-inner .mobile-menu nav{right:0;top:calc(100% - 4px);width:min(280px,100%);overflow-wrap:anywhere}}
@media(max-width:360px){.header-inner{column-gap:7px!important}.header-inner .brand{font-size:17px!important;gap:5px!important}.header-inner .brand img{width:30px!important;height:30px!important}.header-inner .mobile-menu>summary{width:36px;height:40px}.header-inner .language-menu summary{padding-inline:6px}}
@media(min-width:981px){.desktop-nav{gap:20px}.header-inner>.play-pending{font-size:12px;max-width:165px}}
@media(max-width:1100px){html:not([lang=ko]) .desktop-nav{display:none}html:not([lang=ko]) .mobile-menu{display:block;margin-left:auto}html:not([lang=ko]) .header-inner>.play-pending{display:none}}
@media(max-width:700px){.header-inner{gap:12px}.language-menu{margin-left:0}.language-menu summary{padding:8px;font-size:12px}.header-inner .brand{font-size:19px;gap:8px}.header-inner .brand img{width:36px;height:36px}.brand-wordmark small{font-size:9px}.home .release-note{padding-inline:24px}.header-inner>.toss-link{display:none}.mobile-menu{margin-left:auto}}
@media (min-width: 901px) {
  html:not([lang="ko"]) .backup-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Keep short final lines balanced without changing the translated copy. */
h1,h2,h3,summary { text-wrap: balance; }
p,li { text-wrap: pretty; }
.price-table .play-pending { overflow-wrap: break-word; hyphens: none; }
/* Give feature names a full row on phones; compare the two plans below it. */
@media (max-width: 600px) {
  .price-table, .price-table thead, .price-table tbody { display: block; width: 100%; }
  .price-table tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .price-table thead th:first-child, .price-table tbody th { grid-column: 1 / -1; width: auto; padding: 14px 18px; }
  .price-table thead th:nth-child(2), .price-table thead th:nth-child(3) { width: auto; }
  .price-table tbody td { padding: 14px 12px; }
  .price-table .price-actions > th { display: none; }
  .price-table .button { width: 100%; padding-inline: 6px; }
}
