/* Home TH/EN: readable controls and reference proportions. */
@layer ml-home-v95 {
#oi-home :is(.oi-hero,.oi-buy)>.ml-shared-curve>rect{display:none!important}
#oi-home :is(.oi-hero,.oi-buy)>.ml-shared-curve{background-size:100% 100%!important;background-repeat:no-repeat!important;border:0!important;box-shadow:none!important}
#oi-home .oi-hero>.ml-shared-curve{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%2030%201440%2030%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22%23fcc233%22%20d%3D%22M-1%2061V29H1441V61L1440%2060Q720%200%200%2060Z%22%2F%3E%3C%2Fsvg%3E")!important}
#oi-home .oi-buy>.ml-shared-curve{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%2030%201440%2030%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M-1%2061V29H1441V61L1440%2060Q720%200%200%2060Z%22%2F%3E%3C%2Fsvg%3E")!important}

#oi-home .oi-pet-card h3{width:fit-content!important;max-width:100%!important;min-width:0!important;margin-inline:auto!important;padding:8px 16px!important;border-radius:999px!important;font-size:16px!important;line-height:1.4!important;white-space:nowrap!important}
#oi-home .oi-tech-logos{width:94%!important;max-width:clamp(560px,calc(53.8462vw - 75.3846px),700px)!important;gap:clamp(12px,3vw,40px)!important;margin:16px auto 0!important}
#oi-home .oi-tech-logos img{height:auto!important;object-fit:contain!important}
#oi-home .oi-glyco{width:57%!important}
#oi-home .oi-nmg{width:30%!important}
#oi-home .oi-tech-top{padding-bottom:36px!important;container-type:inline-size!important}
#oi-home .oi-tech-top h2{font-size:clamp(20px,2.5vw,32px)!important;line-height:1.4!important}
#oi-home .oi-tech-top>.oi-pill{font-size:clamp(14px,1.5vw,20px)!important;line-height:1.5!important;padding:10px 24px!important;border-radius:999px!important;max-width:none!important;width:min(clamp(480px,calc(46.1539vw - 64.6154px),600px),80.5714cqi)!important;white-space:normal!important}
#oi-home .oi-bone{container-type:inline-size!important}
#oi-home .oi-bone::after{inset:0!important;width:100%!important;height:100%!important;padding:0 12%!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;box-sizing:border-box!important;font-size:clamp(16px,8.4cqi,20px)!important;line-height:1.15!important;white-space:pre!important;transform:none!important;content:"ค้นหา\Aอาหารที่เหมาะสม"!important}
html[lang="en"] #oi-home .oi-bone::after{content:"FIND\ATHE RIGHT FOOD"!important}
#oi-home .oi-gang-heading{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;width:100%!important;max-width:none!important;gap:16px!important;align-items:center!important;margin:0 auto 28px!important}
#oi-home .oi-gang-heading-copy{grid-column:2 / span 3!important;width:100%!important;max-width:100%!important;margin:0!important;text-align:center!important;min-width:0!important}
#oi-home .oi-gang-heading-copy h2{font-size:clamp(20px,2.5vw,30px)!important;line-height:1.4!important;margin:0 0 10px!important;text-align:center!important;white-space:normal!important}
#oi-home .oi-gang-heading-copy>.oi-pill{font-size:18px!important;line-height:1.5!important;padding:8px 16px!important;width:fit-content!important;max-width:100%!important;margin:0 auto!important;text-align:center!important;white-space:normal!important;border-radius:999px!important}
#oi-home .oi-gang-heading>.oi-character{grid-column:5!important;width:100px!important;max-width:100%!important;margin:0!important;justify-self:center!important}
#oi-home .oi-gang-heading>.oi-character a{width:100%!important;height:auto!important;display:block!important}
#oi-home .oi-gang-heading>.oi-character img{width:100%!important;max-width:100%!important;height:auto!important}
#oi-home .oi-buy::after{content:none!important;display:none!important}
#oi-home .oi-buy>.ml-shared-curve{top:0!important;height:clamp(13px,3.2vw,55px)!important}
@media(max-width:767px){
#oi-home .oi-tech-logos{width:100%!important;gap:12px!important;margin-top:16px!important}
#oi-home .oi-tech-top{padding-inline:16px!important;padding-bottom:32px!important}
#oi-home .oi-tech-top>.oi-pill{padding:8px 12px!important;max-width:none!important;width:min(600px,85.7143cqi)!important;font-size:clamp(12px,3.2vw,14px)!important}
#oi-home .oi-gang-heading{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
#oi-home .oi-gang-heading-copy h2{font-size:18px!important}
#oi-home .oi-gang-heading-copy>.oi-pill{font-size:clamp(12px,3.6vw,16px)!important;padding:8px!important;white-space:nowrap!important}
#oi-home .oi-gang-heading-copy{grid-column:1 / span 2!important;width:calc(100% + 12px)!important;max-width:none!important}
#oi-home .oi-gang-heading>.oi-character{grid-column:3!important;width:80px!important;justify-self:center!important}
}

/* v101: compact technology group with content-sized capsule. */
#oi-home .oi-tech-top{padding-top:20px!important;padding-bottom:32px!important}
#oi-home .oi-tech-logos{margin-top:10px!important;gap:clamp(12px,2vw,24px)!important}
#oi-home .oi-tech-top>.oi-pill{width:max-content!important;max-width:min(600px,85.7143cqi)!important;padding:8px 20px!important;font-size:clamp(18px,1.7vw,24px)!important}
#oi-home .oi-benefits{padding-top:44px!important;padding-bottom:24px!important}
#oi-home .oi-tech-grid{width:100%!important;max-width:clamp(600px,calc(53.8462vw - 35.3846px),740px)!important;gap:20px!important;margin:0 auto!important}
#oi-home .oi-tech-item h3{margin-top:8px!important;margin-bottom:4px!important}
#oi-home .oi-tech-item p{margin:0!important}
#oi-home .oi-tech-link{margin-top:20px!important}
@media(max-width:767px){
#oi-home .oi-tech-top{padding-top:20px!important;padding-bottom:28px!important}
#oi-home .oi-tech-logos{margin-top:10px!important}
#oi-home .oi-tech-top>.oi-pill{padding:8px 14px!important;font-size:clamp(12px,3.2vw,14px)!important}
#oi-home .oi-benefits{padding-top:40px!important;padding-bottom:22px!important}
#oi-home .oi-tech-grid{column-gap:16px!important;row-gap:22px!important}
#oi-home .oi-tech-link{margin-top:18px!important}
}

/* v102: phone portrait labels stay proportional to the pet artwork. */
@media(max-width:600px) and (orientation:portrait){
#oi-home .oi-pet-card h3{font-size:clamp(12px,3.3333vw,14px)!important;padding:5px 8px!important;line-height:1.4!important}
}

/* v103: enlarge phone portrait speech artwork without crossing the face cells. */
@media(max-width:600px) and (orientation:portrait){
#oi-home .oi-pet-card .oi-bubble{width:115%!important;max-width:none!important;height:auto!important;transform:translateX(4px)!important;justify-self:end!important}
#oi-home .oi-pet-card.cat .oi-bubble{justify-self:start!important;transform:translateX(-4px)!important}
}

/* v104: English Home line counts follow Thai without overflow. */
html[lang="en"] #oi-home .oi-finder p{white-space:normal!important}
@media(max-width:767px){
html[lang="en"] #oi-home .oi-finder p{font-size:14px!important;line-height:1.65!important}
html[lang="en"] #oi-home .oi-article-copy h2{font-size:clamp(16px,4.6vw,22px)!important;white-space:normal!important}
}

/* v108: two columns for portrait tablets and narrow windows; landscape row. */
#oi-home .oi-tech-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
#oi-home .oi-tech-item{min-width:0!important;container-type:inline-size!important}
#oi-home .oi-tech-item p{font-size:clamp(9px,8.5cqi,16px)!important;line-height:1.6!important;white-space:nowrap!important}
#oi-home .oi-tech-item p .ml-shield-second{display:inline!important}
@media(max-width:1023px),(max-width:1366px) and (orientation:portrait){#oi-home .oi-tech-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:600px!important;row-gap:22px!important}}
@media(orientation:landscape) and (max-height:599px){#oi-home .oi-tech-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;max-width:740px!important;column-gap:16px!important}}
@media(max-width:767px){#oi-home .oi-benefits{padding-inline:16px!important}}
}
