.seamless-page { max-width: 1200px; padding-block: 2rem 4rem; }
.seamless-layout { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 1.5rem; margin-block: 2rem; align-items: start; }
.seamless-controls, .seamless-preview { min-width: 0; padding: 1.4rem; background: var(--color-surface); border: 1px solid var(--color-muted-2); border-radius: 16px; }
.seamless-layout h2 { margin-top: 0; font-size: 1.2rem; }
.seamless-drop { display: grid; gap: .75rem; padding: 1.25rem; border: 2px dashed var(--color-accent); border-radius: 10px; cursor: pointer; }
.seamless-drop input { max-width: 100%; font-size: .85rem; }
.seamless-drop span, .seamless-guide figcaption, .seamless-preview > p { color: var(--color-text-soft); font-size: .9rem; }
.seamless-controls > label { display: block; margin-top: 1.2rem; }
.seamless-controls > .seamless-drop { display: grid; }
.seamless-controls input[type=range] { width: 100%; margin-block: .7rem; accent-color: var(--color-accent); }
.seamless-controls input { accent-color: var(--color-accent); }
.seamless-controls fieldset { margin: 1rem 0; border: 1px solid var(--color-muted-2); border-radius: 8px; }
.seamless-controls fieldset label { display: block; padding: .6rem 0; }
.seamless-controls .btn { display: block; width: 100%; margin-top: 1rem; }
.seamless-controls output { float: right; font-weight: 700; color: var(--color-accent); }
.seamless-controls .tool-note { font-size: .82rem; color: var(--color-text-soft); line-height: 1.6; }
.seamless-controls #texture-message { font-size: .9rem; line-height: 1.6; }
.seamless-canvas-wrap { overflow: hidden; border-radius: 8px; background: #19262b; }
#texture-canvas { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.seamless-error { color: #ffb8ab; }
.seamless-guide { max-width: 850px; margin-inline: auto; line-height: 1.8; }
.seamless-guide h2 { margin-top: 2.5rem; }
.seamless-guide li { margin-bottom: .85rem; }
.seamless-guide figure { margin: 2rem 0; }
.seamless-guide img { width: 100%; height: auto; border-radius: 12px; }
.seamless-page :focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }
@media (max-width: 760px) { .seamless-layout { grid-template-columns: 1fr; } .seamless-controls, .seamless-preview { padding: 1rem; } }
