/* OKU four paths home cards: enabled for Turkish, inglese, spagnolo, francese e italiano. */
#screen-home #okuFourWorlds{display:block;width:100%;max-width:100%;margin:28px auto;clear:both;position:relative;box-sizing:border-box;font-family:'JetBrains Mono Local','JetBrains Mono',ui-monospace,monospace}
/* Visibility follows the actual selected language in oku-new-worlds-home.js; no stale html[lang] gate. */
#screen-home #okuFourWorlds[hidden]{display:none!important}
#screen-home .ow-home-lead{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;border:1px solid #aaa294;border-radius:30px;padding:25px 30px;margin:0 0 23px;background:transparent;color:#211d19}
#screen-home .ow-home-lead small{display:block;font-size:12px;letter-spacing:.12em;margin-bottom:5px}
#screen-home .ow-home-lead h2{font-size:clamp(24px,2.5vw,43px);letter-spacing:-.05em;line-height:1.18;font-weight:800;margin:0}
#screen-home .ow-home-lead p{font-size:clamp(12px,1vw,15px);line-height:1.45;max-width:490px;margin:0;text-align:right}
#screen-home .ow-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
#screen-home .ow-home-card{display:flex;position:relative;flex-direction:column;justify-content:center;min-height:clamp(250px,19vw,340px);padding:36px 38px;border:1px solid rgba(0,0,0,.25);border-radius:clamp(26px,3vw,55px);text-decoration:none;isolation:isolate;overflow:hidden;background:var(--card-bg);color:var(--card-fg);transition:background .2s,color .2s;outline-offset:4px}
#screen-home .ow-home-card::after{content:'';position:absolute;right:-22%;top:-25%;width:60%;aspect-ratio:1;border:1px solid currentColor;border-radius:50%;opacity:.17;pointer-events:none;transition:transform .45s ease}
#screen-home .ow-home-card:hover::after{transform:scale(1.1)}
#screen-home .ow-home-card:hover{filter:brightness(.96)}
#screen-home .ow-home-number{position:absolute;left:31px;top:28px;font-size:15px;font-weight:700}
#screen-home .ow-home-title{display:block;font-size:clamp(28px,2.9vw,51px);line-height:1.1;letter-spacing:-.065em;font-weight:800;max-width:66%;overflow-wrap:normal;word-break:normal;hyphens:none;text-wrap:balance;margin-bottom:19px}
#screen-home .ow-home-desc{display:block;max-width:64%;font-size:clamp(12px,1vw,16px);line-height:1.55}
#screen-home .ow-home-arrow{position:absolute;left:28px;bottom:17px;font-size:34px;line-height:1}
#screen-home .ow-home-art{position:absolute;right:2%;top:17%;width:30%;height:67%;display:grid;place-items:center;pointer-events:none}
#screen-home .ow-home-art svg{width:100%;height:100%}
#screen-home .ow-home-card:focus-visible{outline:3px solid #c99d45}
html[data-oku-theme="dark"] #screen-home .ow-home-lead{color:#f4eadc;border-color:#8d887d}
@media(max-width:900px){#screen-home .ow-home-grid{gap:18px}#screen-home .ow-home-card{min-height:245px;padding:34px 25px}#screen-home .ow-home-title{font-size:clamp(25px,3.3vw,35px)}}
@media(max-width:680px){#screen-home #okuFourWorlds{margin:14px 0}#screen-home .ow-home-lead{padding:19px 20px;display:block;margin-bottom:14px;border-radius:23px}#screen-home .ow-home-lead h2{font-size:24px}#screen-home .ow-home-lead p{text-align:left;max-width:none;font-size:12px;margin-top:12px}#screen-home .ow-home-grid{grid-template-columns:1fr;gap:14px}#screen-home .ow-home-card{min-height:235px;padding:30px 25px;border-radius:29px}#screen-home .ow-home-title{font-size:clamp(27px,7.3vw,39px);max-width:64%;margin-bottom:12px}#screen-home .ow-home-desc{max-width:64%;font-size:12px}#screen-home .ow-home-art{width:31%;right:3%;top:15%;height:69%}#screen-home .ow-home-number{top:15px;left:21px;font-size:12px}#screen-home .ow-home-arrow{font-size:29px;left:19px;bottom:10px}}

/* Exactly the user's four unmodified transparent PNG illustrations. */
#screen-home .ow-home-art{right:4%;width:clamp(110px,28%,310px);height:74%;top:13%;display:flex;justify-content:center;align-items:center}
#screen-home .ow-home-art img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;pointer-events:none;user-select:none;transition:transform .3s ease}
#screen-home .ow-home-card:hover .ow-home-art img{transform:scale(1.035)}
#screen-home .ow-home-card::after{display:none}
@media(max-width:680px){#screen-home .ow-home-art{right:3%;width:32%;height:68%;top:16%}}

/* English titles: preserve whole words and balance illustration space. */
#screen-home #okuFourWorlds .ow-home-title{overflow-wrap:normal;word-break:normal;hyphens:none;text-wrap:balance}
@media(min-width:681px) and (max-width:1280px){#screen-home #okuFourWorlds .ow-home-title{font-size:clamp(24px,2.4vw,40px)}}
@media(max-width:680px){#screen-home #okuFourWorlds .ow-home-title{font-size:clamp(23px,6.5vw,34px);max-width:64%}}

/* Italian title typography: whole words, illustrations stay clear. */
html[lang^="it"] #screen-home #okuFourWorlds .ow-home-title{overflow-wrap:normal;word-break:normal;hyphens:none;text-wrap:balance;font-size:clamp(27px,2.6vw,46px)}
@media(max-width:980px){html[lang^="it"] #screen-home #okuFourWorlds .ow-home-title{font-size:clamp(23px,3vw,33px)}}
@media(max-width:680px){html[lang^="it"] #screen-home #okuFourWorlds .ow-home-title{font-size:clamp(23px,6.2vw,32px)}}

/* German: long compounds remain intact; typography fits the illustrations. */
html[lang^="de"] #screen-home #okuFourWorlds .ow-home-title{overflow-wrap:normal;word-break:normal;hyphens:none;text-wrap:balance;font-size:clamp(25px,2.48vw,42px);letter-spacing:-.052em;max-width:69%}
html[lang^="de"] #screen-home #okuFourWorlds .ow-home-desc{max-width:67%}
@media(max-width:1080px){html[lang^="de"] #screen-home #okuFourWorlds .ow-home-title{font-size:clamp(22px,2.6vw,34px)}}
@media(max-width:680px){html[lang^="de"] #screen-home #okuFourWorlds .ow-home-title{font-size:clamp(21px,5.65vw,29px);max-width:70%}html[lang^="de"] #screen-home #okuFourWorlds .ow-home-art{width:27%;right:2%}}

/* Português: títulos íntegros, sem dividir palavras; imagens sem sobreposição. */
html[lang^="pt"] #screen-home #okuFourWorlds .ow-home-title{overflow-wrap:normal;word-break:normal;hyphens:none;text-wrap:balance;max-width:69%;font-size:clamp(25px,2.56vw,43px)}
html[lang^="pt"] #screen-home #okuFourWorlds .ow-home-desc{max-width:68%}
@media(max-width:1020px){html[lang^="pt"] #screen-home #okuFourWorlds .ow-home-title{font-size:clamp(23px,2.7vw,35px)}}
@media(max-width:680px){html[lang^="pt"] #screen-home #okuFourWorlds .ow-home-title{font-size:clamp(22px,5.7vw,32px);max-width:68%}html[lang^="pt"] #screen-home #okuFourWorlds .ow-home-art{width:28%;right:2%}}

/* 日本語: 読みやすい文字組みと挿絵の安全な余白 */
html[lang^="ja"] #screen-home #okuFourWorlds .ow-home-lead,
html[lang^="ja"] #screen-home #okuFourWorlds .ow-home-card{font-family:"Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans JP",sans-serif}
html[lang^="ja"] #screen-home #okuFourWorlds .ow-home-title{letter-spacing:.025em;line-height:1.32;font-weight:700;font-size:clamp(25px,2.35vw,42px);max-width:64%;overflow-wrap:normal;word-break:keep-all;line-break:strict}
html[lang^="ja"] #screen-home #okuFourWorlds .ow-home-desc{letter-spacing:.015em;line-height:1.7;max-width:63%}
@media(max-width:680px){html[lang^="ja"] #screen-home #okuFourWorlds .ow-home-title{font-size:clamp(23px,6vw,34px);max-width:63%}html[lang^="ja"] #screen-home #okuFourWorlds .ow-home-desc{max-width:63%}}

/* 简体中文首页：留足插画空间、保持标题完整。 */
html[lang^="zh"] #screen-home #okuFourWorlds .ow-home-lead,
html[lang^="zh"] #screen-home #okuFourWorlds .ow-home-card{font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif}
html[lang^="zh"] #screen-home #okuFourWorlds .ow-home-title{letter-spacing:.025em;line-height:1.3;font-size:clamp(25px,2.25vw,42px);font-weight:750;max-width:62%;word-break:keep-all;overflow-wrap:normal}
html[lang^="zh"] #screen-home #okuFourWorlds .ow-home-desc{line-height:1.65;max-width:63%;word-break:normal}
@media(max-width:680px){html[lang^="zh"] #screen-home #okuFourWorlds .ow-home-title{font-size:clamp(23px,6.2vw,34px);max-width:64%}html[lang^="zh"] #screen-home #okuFourWorlds .ow-home-desc{max-width:63%}}

/* Russian cards: long Cyrillic titles remain legible without covering artwork. */
html[lang^="ru"] #screen-home #okuFourWorlds .ow-home-title{overflow-wrap:normal;word-break:normal;hyphens:none;text-wrap:balance;max-width:68%;font-size:clamp(24px,2.42vw,42px);letter-spacing:-.045em;line-height:1.18}
html[lang^="ru"] #screen-home #okuFourWorlds .ow-home-desc{max-width:67%;line-height:1.58}
@media(max-width:680px){html[lang^="ru"] #screen-home #okuFourWorlds .ow-home-title{font-size:clamp(21px,5.7vw,29px);max-width:68%}html[lang^="ru"] #screen-home #okuFourWorlds .ow-home-art{width:28%;right:2%}}
