/* rail-only related cards; legacy hidden-card classes are deliberately absent. */
.rail-related{display:block!important;visibility:visible!important;box-sizing:border-box;width:100%;min-width:0;padding:0!important;margin:0;align-self:start;height:auto!important;max-height:none!important;overflow:visible!important;font-size:1rem;line-height:1.5}
.rail-related>h2{font-size:1rem!important;line-height:1.5!important;margin:0 0 16px;padding:0 0 10px;border-bottom:2px solid var(--color,#c89b70)}
.rail-related-list{display:flex;flex-direction:column;gap:20px}
.rail-related-card{display:block!important;visibility:visible!important;background:#fff;border:1px solid var(--line,#d9dfe2);border-radius:8px;padding:12px;margin:0!important;box-sizing:border-box;min-width:0;overflow:hidden}
.rail-related-card>a{display:block;color:inherit;text-decoration:none;min-width:0}
.rail-related-card img{display:block!important;width:100%;max-width:100%;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain}
.rail-related-card h3{font-size:1rem!important;line-height:1.5!important;font-weight:700;margin:12px 0 0!important;padding:0!important;display:block!important;max-height:none!important;overflow:visible!important;white-space:normal!important;overflow-wrap:anywhere;-webkit-line-clamp:unset!important}
.rail-related-pr{box-sizing:border-box;display:block!important;min-height:0!important;height:auto!important;max-height:none!important;margin:0!important;padding:10px 12px!important;border:1px solid #d8dfe3;border-radius:6px;background:#f7f8f9;font-size:.8125rem;line-height:1.6;overflow-wrap:anywhere}
.rail-related-pr span{font-weight:700}.rail-related-pr a{display:inline!important;padding:0!important;font-size:inherit!important;line-height:inherit!important;background:none!important;border:0!important;min-height:0!important;color:#304e64;text-decoration:underline;white-space:normal}
.rail-page-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;max-width:1280px;margin:auto}.rail-page-main{min-width:0}
@media(min-width:1024px){.detail-layout:has(>.rail-related),.pc-sidebar-layout:has(>.rail-related){display:grid!important;grid-template-columns:minmax(0,1fr) 300px!important;gap:24px!important}}
@media(min-width:768px) and (max-width:1023px){.rail-page-layout,.detail-layout:has(>.rail-related),.pc-sidebar-layout:has(>.rail-related){display:grid!important;grid-template-columns:minmax(0,1fr) 240px!important;gap:16px!important}}
@media(max-width:767px){.rail-page-layout,.detail-layout:has(>.rail-related),.pc-sidebar-layout:has(>.rail-related){display:block!important}.rail-related{margin-top:32px!important;padding:0 16px!important}.rail-related-list{gap:20px}.rail-related-card{padding:12px}.rail-related-pr{padding:10px 12px!important}}
/* Owner 06:01 UTC: product lists remain two columns on phones; news is image plus adjacent text. */
@media(max-width:767px){
body.home-view main .genre-home .content-stream.content-role-products .content-grid{display:block!important;column-count:2!important;column-gap:12px!important;column-fill:balance}
body.home-view main .genre-home .content-stream.content-role-products .content-grid>.photo-card{display:inline-block!important;vertical-align:top!important;width:100%!important;min-width:0!important;break-inside:avoid!important;column-span:none!important;margin:0 0 12px!important;padding:0!important;box-sizing:border-box}
body.home-view main .genre-home .content-stream.content-role-products .photo-card>.photo-frame,body.home-view main .genre-home .content-stream.content-role-products .photo-card>.photo-copy{display:block!important;min-width:0!important;width:100%!important;padding:8px!important;box-sizing:border-box}
body.home-view main .genre-home .content-stream.content-role-products .photo-card figure{display:block!important;margin:0!important}
body.home-view main .genre-home .content-stream.content-role-products .photo-card img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important}
body.home-view main .genre-home .content-stream.content-role-products .photo-card .photo-copy h3{font-size:.875rem!important;line-height:1.5!important;margin:5px 0!important;padding:0!important;max-height:none!important;white-space:normal!important;overflow-wrap:anywhere}
body.home-view main .genre-home .content-stream.content-role-products .photo-card .photo-copy>*{max-width:100%;white-space:normal!important;overflow-wrap:anywhere}
body.home-view main .genre-home .content-stream.content-role-products .photo-card .card-price{font-size:.8125rem!important}
}
body.home-view main .genre-home .content-stream.content-role-news .content-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;column-count:auto!important;gap:16px!important}
body.home-view main .genre-home .content-stream.content-role-news .content-grid>.photo-card{display:grid!important;grid-template-columns:minmax(0,.4fr) minmax(0,.6fr)!important;align-items:start;gap:14px;column-span:none!important;width:100%!important;margin:0!important;padding:12px!important;box-sizing:border-box;min-width:0}
body.home-view main .genre-home .content-stream.content-role-news .photo-card>.photo-frame,body.home-view main .genre-home .content-stream.content-role-news .photo-card>.photo-copy{display:block!important;min-width:0!important;width:100%!important;padding:0!important;box-sizing:border-box}
body.home-view main .genre-home .content-stream.content-role-news .photo-card figure{display:block!important;margin:0!important}
body.home-view main .genre-home .content-stream.content-role-news .photo-card img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important}
body.home-view main .genre-home .content-stream.content-role-news .photo-card .photo-copy h3{font-size:1rem!important;line-height:1.5!important;margin:0 0 8px!important;padding:0!important;max-height:none!important;white-space:normal!important;overflow-wrap:anywhere}
@media(max-width:767px){body.home-view main .genre-home .content-stream.content-role-news .content-grid>.photo-card{gap:10px!important;padding:10px!important}body.home-view main .genre-home .content-stream.content-role-news .photo-card .photo-copy h3{font-size:.875rem!important}.content-role-news .photo-copy>*{white-space:normal!important;overflow-wrap:anywhere}}
/* Parent-specified numerical standard, 06:05 UTC (not a verbatim owner quote). */
@media(max-width:767px){
body.home-view main .genre-home .content-stream.content-role-products{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;padding-left:calc(8px + env(safe-area-inset-left,0px))!important;padding-right:calc(8px + env(safe-area-inset-right,0px))!important;box-sizing:border-box}
body.home-view main .genre-home .content-stream.content-role-products .content-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;column-count:auto!important;align-items:start}
body.home-view main .genre-home .content-stream.content-role-products .photo-card>.photo-frame{padding:0!important}
body.home-view main .genre-home .content-stream.content-role-products .photo-card>.photo-copy{padding:6px!important}
body.home-view main .genre-home .content-stream.content-role-products .content-grid>.photo-card{margin:0!important;border:0!important}
body.home-view main .genre-home .content-stream .photo-copy h3>a{display:block!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;max-height:none!important;overflow:visible!important}
}
body.home-view main .genre-home .content-stream.content-role-news .content-grid>.photo-card{grid-template-columns:40% minmax(0,1fr)!important;gap:10px!important}
