/* AgenTech official site polish — header, collection, mobile, accessibility */
.brand-mark{overflow:hidden;background:#fff!important;border:1px solid #dce8f5;box-shadow:0 4px 14px rgba(15,72,155,.12)}
.brand-mark img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;border-radius:inherit}
.brand>span:last-child{white-space:nowrap}
.nav a:focus-visible,.btn:focus-visible,.category-list button:focus-visible,.play:focus-visible{outline:3px solid #68b5ff;outline-offset:3px}
.hero-frame img,.brand-mark img,.video-character img{background:#fff}
.collection-gallery>a{display:block;border-radius:26px;transition:transform .18s ease,box-shadow .18s ease}
.collection-gallery>a:hover{transform:translateY(-3px)}
.collection-gallery>a:focus-visible{outline:3px solid #68b5ff;outline-offset:4px}
.collection-card{height:100%;display:flex;flex-direction:column}
.collection-meta{display:flex;flex-direction:column;flex:1}
.collection-meta strong{line-height:1.45;min-height:2.8em}
.collection-meta small{margin-top:auto;padding-top:10px}
.collection-art{position:relative}
.collection-art::after{content:"";position:absolute;inset:10px;border:1px solid rgba(15,72,155,.05);border-radius:20px;pointer-events:none}
.image-loading{font-size:12px;color:#718096;text-align:center}
.official-sticker-img{display:block;max-width:100%;max-height:100%;object-fit:contain;margin:auto}
.line-box,.video-shell,.talk{scroll-margin-top:92px}
@media(max-width:1100px){.nav{gap:18px}.nav nav{gap:12px}.nav nav a{font-size:12px}.brand{font-size:16px}}
@media(max-width:900px){
 .nav{padding:0 4vw}.brand>span:last-child{max-width:48vw;overflow:hidden;text-overflow:ellipsis}
 .hero{min-height:auto;padding-bottom:36px}.hero-visual{min-height:470px}
 .collection-gallery{gap:14px}.collection-art{height:230px}
 .line-box{padding:30px}.talk{padding-top:56px;padding-bottom:56px}
}
@media(max-width:680px){
 .nav{height:64px;gap:10px}.brand{font-size:13px;gap:8px}.brand-mark{width:32px;height:32px;border-radius:10px}
 .brand>span:last-child{max-width:54vw}.nav-cta{white-space:nowrap;padding:9px 11px!important}
 .hero{padding:38px 5vw 28px}.hero h1{font-size:clamp(36px,10vw,48px);line-height:1.12}.hero p{font-size:15px;line-height:1.75}
 .hero-actions{width:100%}.hero-actions .btn{width:min(100%,320px);text-align:center}
 .hero-visual{min-height:360px}.hero-frame{width:min(92%,430px)}
 .section{padding:58px 5vw}.section-head{margin-bottom:30px}.section-head p{font-size:14px}
 .stamp-toolbar{overflow-x:auto;padding-bottom:6px;margin-left:-5vw;margin-right:-5vw;padding-left:5vw;padding-right:5vw}.category-list{justify-content:flex-start;flex-wrap:nowrap;width:max-content}.category-list button{white-space:nowrap}
 .stamp-gallery{grid-template-columns:1fr 1fr;gap:10px}.stamp-card{min-height:218px;border-radius:18px}.stamp-message{padding:45px 12px 13px}.stamp-message strong{font-size:14px;line-height:1.4}
 .collection-gallery{grid-template-columns:1fr}.collection-art{height:min(68vw,330px)}.collection-meta strong{min-height:auto}.collection-card{border-radius:22px}
 .line-box{padding:24px;border-radius:22px}.line-actions{align-items:stretch}.line-actions .btn,.line-status{width:100%;text-align:center}.line-preview{min-height:160px}
 .video-stage{border-radius:20px}.video-poster{padding:24px}.video-poster strong{font-size:18px}.video-points{gap:8px}.video-points span{font-size:11px}
 .talk{gap:22px}.talk .btn{width:100%;text-align:center}
 footer{padding:24px 5vw}
}
@media(max-width:390px){.brand>span:last-child{max-width:47vw}.nav-cta{font-size:10px!important}.stamp-gallery{grid-template-columns:1fr}.stamp-card{min-height:250px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.collection-gallery>a{transition:none}}

/* Official 100: keep every independent image fully visible on iOS and other browsers. */
.stamp-card{min-height:0!important;display:block!important;overflow:hidden!important}
.stamp-art.official-individual-art{position:relative!important;inset:auto!important;width:100%!important;aspect-ratio:1/1!important;padding:12px!important;background:#fff!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important}
.official-individual-art .official-sticker-img{position:relative!important;inset:auto!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;margin:0!important;background:#fff!important;border-radius:12px!important;filter:none!important;transform:none!important}
.stamp-message{position:relative!important;z-index:2!important;background:#fff!important;padding:14px 16px 16px!important;border-top:1px solid #edf2f7!important}
@media(max-width:620px){.stamp-art.official-individual-art{padding:8px!important}.stamp-message{padding:12px 10px 13px!important}}

/* Agen family navigation: standard AI employee / female / AI pet / company doctor */
.agen-family{max-width:1180px;margin:34px auto 0;padding:0 6vw 64px}.agen-family-head{text-align:center;margin-bottom:20px}.agen-family-head strong{display:block;font-size:clamp(24px,3vw,36px);color:#0d2a58}.agen-family-head span{display:block;margin-top:8px;color:#687b94;font-size:14px;line-height:1.7}.agen-family-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.agen-family-card{display:flex;flex-direction:column;min-height:210px;padding:22px;border:1px solid #dbe8f6;border-radius:24px;background:#fff;box-shadow:0 12px 32px rgba(15,72,155,.07);transition:transform .18s ease,box-shadow .18s ease}.agen-family-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(15,72,155,.12)}.agen-family-card .family-icon{font-size:32px}.agen-family-card b{margin-top:14px;font-size:18px;color:#0d2a58}.agen-family-card p{margin:8px 0 16px;color:#667991;font-size:13px;line-height:1.65}.agen-family-card em{margin-top:auto;font-style:normal;color:#0f489b;font-size:12px;font-weight:900}.agen-family-card.female{border-color:#f3c2d4;background:linear-gradient(180deg,#fff,#fff8fb)}.agen-family-card.female em{color:#e53576}.agen-family-card.pet{border-color:#cde5d9;background:linear-gradient(180deg,#fff,#f6fffa)}.agen-family-card.doctor{border-color:#c8dcf5;background:linear-gradient(180deg,#fff,#f6fbff)}
.female-spotlight{max-width:1180px;margin:0 auto 28px;padding:22px 24px;border:1px solid #f2c5d5;border-radius:24px;background:linear-gradient(120deg,#fff7fb,#fff);display:flex;align-items:center;justify-content:space-between;gap:20px}.female-spotlight strong{display:block;font-size:22px;color:#e53576}.female-spotlight p{margin:7px 0 0;color:#765d68;font-size:13px;line-height:1.7}.female-spotlight a{white-space:nowrap;border-radius:999px;padding:11px 16px;background:#f23878;color:#fff;font-size:12px;font-weight:900}
.hero-role-note{margin:14px 0 0;color:#31577f!important;font-size:13px!important;line-height:1.65!important;font-weight:700}
@media(max-width:900px){.agen-family-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.agen-family{padding-bottom:52px}}
@media(max-width:620px){.agen-family{padding:0 5vw 48px;margin-top:22px}.agen-family-grid{grid-template-columns:1fr;gap:10px}.agen-family-card{min-height:0;padding:18px;border-radius:20px}.female-spotlight{margin:0 5vw 22px;padding:18px;display:block}.female-spotlight a{display:inline-block;margin-top:14px}.hero-role-note{text-align:center;font-size:12px!important}}
