.sx-page { max-width: 1080px; margin: 0 auto; padding: clamp(28px,6vw,76px) 22px; color: inherit; }
.sx-page * { box-sizing: border-box; }
.sx-hero, #sx-result { display: grid; align-items: center; gap: clamp(24px,5vw,64px); }
.sx-hero { grid-template-columns: minmax(0,1fr) minmax(175px,25%); }
.sx-page h1 { margin: 0 0 12px; font-size: clamp(38px,6vw,72px); font-weight: 700; line-height: 1.05; letter-spacing: -.05em; color: inherit; }
.sx-intro { max-width: 47ch; margin: 0 0 30px; font-size: clamp(17px,2vw,21px); line-height: 1.5; }
.sx-search label { display: block; font-size: 15px; font-weight: 650; margin-bottom: 8px; }
.sx-input-row { display: flex; gap: 8px; }
.sx-input-row input, .sx-input-row button { min-height: 48px; border-radius: 10px; font: inherit; }
.sx-input-row input { flex: 1; width: 0; min-width: 0; padding: 10px 14px; color: #211a29; background: #fff; border: 1px solid #968ca3; }
.sx-input-row button { padding: 10px 19px; background: #7641ac; border: 1px solid #7641ac; color: white; font-weight: 650; cursor: pointer; }
.sx-input-row button:hover { background: #61328e; }
.sx-page :focus-visible { outline: 3px solid #b18ae0; outline-offset: 3px; }
#sx-help, .sx-art figcaption { font-size: 14px; line-height: 1.5; margin: 8px 0 0; }
#sx-status { margin: 12px 0 0; font-weight: 600; }
#sx-status:empty { margin: 0; }
.sx-example { background: #201a25; color: #fff !important; display: block; border-radius: 16px; overflow: hidden; text-decoration: none; }
.sx-example img { display: block; width: 100%; height: clamp(130px,16vw,180px); object-fit: contain; background: #151218; }
.sx-example > span { display: block; padding: 13px 16px; }
.sx-example small, .sx-example strong { display: block; }
.sx-example small { color: #dfd0eb; font-size: 13px; }
.sx-example strong { font-size: 17px; }
#sx-result { grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); align-items: start; border-top: 1px solid #8b819253; padding-top: 32px; margin-top: 32px; scroll-margin-top: 70px; }
#sx-result[hidden] { display: none; }
.sx-art { margin: 0; }
#sx-media:not(:empty) { display: grid; place-items: center; min-height: 140px; padding: 12px; background: #17141b; border-radius: 14px; }
#sx-media img, #sx-media video { max-width: 100%; max-height: 430px; width: auto; height: auto; }
#sx-media audio { max-width: 100%; }
.sx-details h2 { margin: 0 0 14px; font-size: clamp(23px,3vw,34px); color: inherit; overflow-wrap: anywhere; }
#sx-facts { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: 10px 15px; margin: 18px 0; }
#sx-facts dt { font-weight: 600; }
#sx-facts dd { margin: 0; overflow-wrap: anywhere; }
#sx-links { display: flex; gap: 16px; flex-wrap: wrap; }
#sx-links a, #sx-status a { text-decoration: underline; text-underline-offset: 3px; color: inherit; }
@media(max-width: 700px) {
	.sx-hero, #sx-result { grid-template-columns: 1fr; }
	.sx-example { display: flex; align-items: center; }
	.sx-example img { width: 80px; height: 92px; }
	#sx-result { gap: 20px; }
}
@media(max-width: 460px) {
	.sx-input-row { flex-direction: column; }
	.sx-input-row input { width: 100%; }
	#sx-facts { grid-template-columns: 1fr; gap: 3px; }
	#sx-facts dd { margin-bottom: 8px; }
}
