    :root { color-scheme: light; font: 16px system-ui, sans-serif; color: #27231f; background: #f8f4eb; }
    * { box-sizing: border-box; }
    body { margin: 0; }
    main { width: min(100% - 32px, 1050px); margin: 28px auto 42px; }
    header { padding-bottom: 18px; border-bottom: 1px solid #d5cabc; }
    h1 { font: 500 clamp(32px, 6vw, 55px)/1.04 Georgia, serif; margin: 12px 0 8px; }
    header p, footer p { margin: 0; color: #5e5145; }
    a { color: #67422b; text-underline-offset: 3px; }
    .toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 15px 0 11px; }
    .group { display: flex; gap: 6px; flex-wrap: wrap; }
    button { font: inherit; border: 1px solid #c5b7a6; background: #fffaf1; color: inherit; border-radius: 5px; padding: 7px 11px; min-height: 40px; cursor: pointer; }
    button[aria-pressed="true"], #gust { color: #fffaf1; background: #4b3225; border-color: #4b3225; }
    button:focus-visible, canvas:focus-visible, input:focus-visible { outline: 2px solid #9c5128; outline-offset: 3px; }
    .stage { position: relative; background: radial-gradient(ellipse at 47% 30%, #f7efdf, #e8ddca); border: 1px solid #d5cabc; border-radius: 8px; overflow: hidden; }
    canvas { display: block; width: 100%; height: clamp(375px, 58svh, 550px); touch-action: none; }
    .fallback { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
    [hidden] { display: none !important; }
    #model-status { position: absolute; bottom: 0; left: 0; right: 0; margin: 0; padding: 9px; background: #f8f4eb; text-align: center; }
    .wind { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 12px 0; }
    .wind label { display: grid; gap: 5px; flex: 1 1 180px; }
    input { width: 100%; accent-color: #7a492f; margin: 0; }
    footer { display: grid; gap: 8px; margin-top: 18px; font-size: .9rem; }
    html[data-embed], html[data-embed] body { background: transparent; }
    html[data-embed] main { width: 100%; height: 100svh; margin: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr); }
    html[data-embed] header, html[data-embed] footer { display: none; }
    html[data-embed] .toolbar { grid-row: 1; margin-top: 0; }
    html[data-embed] .wind { grid-row: 2; }
    html[data-embed] .stage { grid-row: 3; }
    html[data-embed] canvas { height: 100%; }
    @media (max-width: 480px) {
      main { width: calc(100% - 22px); margin-top: 16px; }
      button { min-height: 44px; }
    }
