
    html[data-hhv-appearance="hanhai"]{
      --hhsw-theme-canvas:#11100e;--hhsw-theme-canvas-alt:#151310;--hhsw-theme-surface:#1b1814;
      --hhsw-theme-surface-raised:#221e19;--hhsw-theme-surface-soft:#24201a;--hhsw-theme-text:#f5efe6;
      --hhsw-theme-muted:#a89f91;--hhsw-theme-border:rgba(255,255,255,.09);--hhsw-theme-hover:#2b251e;
      --hhsw-theme-selected:#2f271d;--hhsw-theme-accent:#e0b65e;--hhsw-theme-accent-text:#15120e;--hhsw-theme-link:#e0b65e;
      --hhsw-theme-danger:#ffaaaa;--hhsw-theme-danger-bg:#2a1820;--hhsw-theme-overlay:rgba(17,16,14,.78);
      --hhsw-theme-stage:#11100e;--hhsw-theme-shadow:0 26px 72px rgba(0,0,0,.42)
    }
    html[data-hhv-appearance="day"]{
      --hhsw-theme-canvas:#f5f6f8;--hhsw-theme-canvas-alt:#f5f6f8;--hhsw-theme-surface:#ffffff;
      --hhsw-theme-surface-raised:#ffffff;--hhsw-theme-surface-soft:#f2f4f7;--hhsw-theme-text:#18181b;
      --hhsw-theme-muted:#64748b;--hhsw-theme-border:rgba(24,24,27,.09);--hhsw-theme-hover:#eef0f4;
      --hhsw-theme-selected:#faf4e8;--hhsw-theme-accent:#d4a348;--hhsw-theme-accent-text:#18181b;--hhsw-theme-link:#504a3e;
      --hhsw-theme-danger:#a61b2b;--hhsw-theme-danger-bg:#fff0f1;--hhsw-theme-overlay:rgba(24,24,27,.46);
      --hhsw-theme-stage:#f5f6f8;--hhsw-theme-shadow:0 16px 40px rgba(24,24,27,.08)
    }
    html[data-hhv-appearance="night"]{
      --hhsw-theme-canvas:#11100e;--hhsw-theme-canvas-alt:#151310;--hhsw-theme-surface:#1b1814;
      --hhsw-theme-surface-raised:#221e19;--hhsw-theme-surface-soft:#24201a;--hhsw-theme-text:#f5efe6;
      --hhsw-theme-muted:#a89f91;--hhsw-theme-border:rgba(255,255,255,.09);--hhsw-theme-hover:#2b251e;
      --hhsw-theme-selected:#2f271d;--hhsw-theme-accent:#e0b65e;--hhsw-theme-accent-text:#11100e;--hhsw-theme-link:#e0b65e;
      --hhsw-theme-danger:#ffabb4;--hhsw-theme-danger-bg:#281218;--hhsw-theme-overlay:rgba(17,16,14,.82);
      --hhsw-theme-stage:#11100e;--hhsw-theme-shadow:0 28px 78px rgba(0,0,0,.55)
    }
    html:not([data-hhv-appearance]){
      --hhsw-theme-canvas:#11100e;--hhsw-theme-canvas-alt:#151310;--hhsw-theme-surface:#1b1814;
      --hhsw-theme-surface-raised:#221e19;--hhsw-theme-surface-soft:#24201a;--hhsw-theme-text:#f5efe6;
      --hhsw-theme-muted:#a89f91;--hhsw-theme-border:rgba(255,255,255,.09);--hhsw-theme-hover:#2b251e;
      --hhsw-theme-selected:#2f271d;--hhsw-theme-accent:#e0b65e;--hhsw-theme-accent-text:#11100e;--hhsw-theme-link:#e0b65e;
      --hhsw-theme-danger:#ffaaaa;--hhsw-theme-danger-bg:#2a1820;--hhsw-theme-overlay:rgba(17,16,14,.78);
      --hhsw-theme-stage:#11100e;--hhsw-theme-shadow:0 26px 72px rgba(0,0,0,.42)
    }

    html,body,#hhswApp,.hhsw-shell,.hhsw-studio,.hhsw-stage,.hhsw-page,.hhsw-membership{
      color:var(--hhsw-theme-text)!important;background-color:var(--hhsw-theme-canvas)!important
    }
    html,body{min-height:100%!important;background-image:none!important;background-attachment:fixed!important}
    #hhswApp,.hhsw-shell{width:100%!important;max-width:none!important;min-height:100vh!important;background:transparent!important}

    /* One viewport-wide workspace canvas; content width never owns the background. */
    #hhswApp .hhsw-studio{position:relative!important;isolation:isolate!important;min-height:100vh!important;background:transparent!important;overflow:visible!important}
    #hhswApp .hhsw-studio:before{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(180deg,var(--hhsw-theme-canvas) 0%,var(--hhsw-theme-canvas-alt) 100%);background-size:100% 100%;background-position:center;background-repeat:no-repeat}
    #hhswApp .hhsw-stage{width:100%!important;max-width:none!important;min-width:0!important;min-height:100vh!important;background:transparent!important;overflow:visible!important}
    #hhswApp .hhsw-task-region,#hhswApp .hhsw-task-list{position:relative!important;background:transparent!important}
    #hhswApp .hhsw-task-list{width:min(1040px,100%)!important;max-width:1040px!important;margin-inline:auto!important}
    #hhswApp .hhsw-threads{background:var(--hhsw-theme-canvas-alt,var(--hhsw-theme-surface))!important;border-color:var(--hhsw-theme-border)!important;color:var(--hhsw-theme-text)!important}
    #hhswApp .hhsw-thread-section,#hhswApp .hhsw-thread-empty,#hhswApp .hhsw-stage-title span{color:var(--hhsw-theme-muted)!important;-webkit-text-fill-color:var(--hhsw-theme-muted)!important}
    #hhswApp .hhsw-thread-button,#hhswApp .hhsw-thread-item,#hhswApp .hhsw-icon-btn{border-color:var(--hhsw-theme-border)!important;background:var(--hhsw-theme-surface-soft)!important;color:var(--hhsw-theme-text)!important;-webkit-text-fill-color:var(--hhsw-theme-text)!important}
    #hhswApp .hhsw-thread-item:hover,#hhswApp .hhsw-icon-btn:hover{background:var(--hhsw-theme-hover)!important}
    #hhswApp .hhsw-task{background:var(--hhsw-theme-surface)!important;border-color:var(--hhsw-theme-border)!important;color:var(--hhsw-theme-text)!important;box-shadow:var(--hhsw-theme-shadow)!important}
    #hhswApp .hhsw-task .meta,#hhswApp .hhsw-task .result,#hhswApp .hhsw-task-preview{color:var(--hhsw-theme-muted)!important;-webkit-text-fill-color:var(--hhsw-theme-muted)!important}
    #hhswApp .hhsw-task .meta span,#hhswApp .hhsw-task .result,#hhswApp .hhsw-task-preview{background:var(--hhsw-theme-surface-soft)!important;border-color:var(--hhsw-theme-border)!important}
    #hhswApp .hhsw-task-actions :is(button,a){background:var(--hhsw-theme-surface-soft)!important;border-color:var(--hhsw-theme-border)!important;color:var(--hhsw-theme-text)!important;-webkit-text-fill-color:var(--hhsw-theme-text)!important}
    #hhswApp .hhsw-stage.no-tasks .hhsw-composer{width:min(1040px,calc(100% - 64px))!important;max-width:1040px!important;left:auto!important;right:auto!important;margin-inline:auto!important;background:var(--hhsw-theme-surface)!important;border-color:var(--hhsw-theme-border)!important;color:var(--hhsw-theme-text)!important;box-shadow:var(--hhsw-theme-shadow)!important}
    /* Composer positioning belongs exclusively to the final task-runtime layer. */
    #hhswApp .hhsw-composer textarea{background:transparent!important;color:var(--hhsw-theme-text)!important;-webkit-text-fill-color:var(--hhsw-theme-text)!important}
    #hhswApp .hhsw-composer textarea::placeholder{color:var(--hhsw-theme-muted)!important;opacity:1!important}
    #hhswApp .hhsw-ref-row{border-color:var(--hhsw-theme-border)!important}
    #hhswApp .hhsw-generic-upload,#hhswApp .hhsw-frame-slot,#hhswApp .hhsw-thumb{background:var(--hhsw-theme-surface-soft)!important;border-color:var(--hhsw-theme-border)!important;color:var(--hhsw-theme-muted)!important}
    #hhswApp .hhsw-pop>button{background:var(--hhsw-theme-surface-soft)!important;border-color:var(--hhsw-theme-border)!important;color:var(--hhsw-theme-text)!important}
    #hhswApp .hhsw-menu,#hhswApp .hhsw-agent-model-pop{background:var(--hhsw-theme-surface-raised)!important;border-color:var(--hhsw-theme-border)!important;color:var(--hhsw-theme-text)!important}
    #hhswApp .hhsw-menu :is(button,b,span),#hhswApp .hhsw-agent-model-pop :is(button,b,span){color:var(--hhsw-theme-text)!important;-webkit-text-fill-color:var(--hhsw-theme-text)!important}
    #hhswApp .hhsw-menu :is(small,.hhsw-menu-title){color:var(--hhsw-theme-muted)!important;-webkit-text-fill-color:var(--hhsw-theme-muted)!important}
    #hhswApp .hhsw-menu button:hover,#hhswApp .hhsw-agent-model-pop button:hover{background:var(--hhsw-theme-hover)!important}

    /* Assets: the last style layer owns every visible foreground and surface. */
    body #hhswApp .hhsw-asset-toolbar,body #hhswApp .hhsw-asset-summary,body #hhswApp .hhsw-asset-card{
      background:var(--hhsw-theme-surface)!important;border-color:var(--hhsw-theme-border)!important;color:var(--hhsw-theme-text)!important
    }
    body #hhswApp .hhsw-asset-card h3,body #hhswApp .hhsw-asset-card .hhsw-asset-prompt{
      color:var(--hhsw-theme-text)!important;-webkit-text-fill-color:var(--hhsw-theme-text)!important
    }
    body #hhswApp .hhsw-asset-card-foot,body #hhswApp .hhsw-asset-summary,body #hhswApp .hhsw-asset-size-control{
      color:var(--hhsw-theme-muted)!important;-webkit-text-fill-color:var(--hhsw-theme-muted)!important;border-color:var(--hhsw-theme-border)!important
    }
    body #hhswApp .hhsw-asset-meta :is(.hhsw-badge,.hhsw-asset-chip),body #hhswApp .hhsw-asset-tool,body #hhswApp .hhsw-asset-tab,
    body #hhswApp .hhsw-asset-action,body #hhswApp .hhsw-asset-actions button,body #hhswApp .hhsw-asset-size-segments,body #hhswApp .hhsw-asset-size-button{
      background:var(--hhsw-theme-surface-raised)!important;border-color:var(--hhsw-theme-border)!important;color:var(--hhsw-theme-text)!important;-webkit-text-fill-color:var(--hhsw-theme-text)!important
    }
    body #hhswApp .hhsw-asset-tool:hover,body #hhswApp .hhsw-asset-tab:hover,body #hhswApp .hhsw-asset-action:hover,body #hhswApp .hhsw-asset-size-button:hover{
      background:var(--hhsw-theme-hover)!important;color:var(--hhsw-theme-text)!important;-webkit-text-fill-color:var(--hhsw-theme-text)!important
    }
    body #hhswApp :is(.hhsw-asset-tool,.hhsw-asset-tab,.hhsw-asset-size-button)[aria-pressed="true"]{
      background:var(--hhsw-theme-accent)!important;border-color:var(--hhsw-theme-accent)!important;color:var(--hhsw-theme-accent-text)!important;-webkit-text-fill-color:var(--hhsw-theme-accent-text)!important
    }
    body #hhswApp .hhsw-asset-prompt-toggle,body #hhswApp .hhsw-asset-detail-prompt-toggle{
      color:var(--hhsw-theme-link)!important;-webkit-text-fill-color:var(--hhsw-theme-link)!important
    }
    body #hhswApp .hhsw-asset-more-menu{background:var(--hhsw-theme-surface)!important;border-color:var(--hhsw-theme-border)!important;color:var(--hhsw-theme-text)!important;box-shadow:var(--hhsw-theme-shadow)!important}
    body #hhswApp .hhsw-asset-more-menu button{background:transparent!important;color:var(--hhsw-theme-text)!important;-webkit-text-fill-color:var(--hhsw-theme-text)!important}
    body #hhswApp .hhsw-asset-more-menu button:hover{background:var(--hhsw-theme-hover)!important}
    body #hhswApp .hhsw-asset-more-menu button.danger{border-color:var(--hhsw-theme-border)!important;color:var(--hhsw-theme-danger)!important;-webkit-text-fill-color:var(--hhsw-theme-danger)!important}
    html[data-hhv-appearance="day"] body #hhswApp .hhsw-asset-more-menu{
      color-scheme:light!important;background:#ffffff!important;border-color:rgba(24,24,27,.09)!important;color:#18181b!important;box-shadow:0 16px 40px rgba(24,24,27,.12)!important
    }
    html[data-hhv-appearance="day"] body #hhswApp .hhsw-asset-more-menu button{color:#18181b!important;-webkit-text-fill-color:#18181b!important}
    html[data-hhv-appearance="day"] body #hhswApp .hhsw-asset-more-menu button:hover{background:#eef0f4!important}
    html[data-hhv-appearance="day"] body #hhswApp .hhsw-asset-more-menu button.danger{color:#a61b2b!important;-webkit-text-fill-color:#a61b2b!important;border-color:#d9b5ba!important}

    body #hhswApp .hhsw-asset-modal-backdrop,body #hhswApp .hhsw-asset-share-modal-backdrop{background:var(--hhsw-theme-overlay)!important}
    body #hhswApp .hhsw-asset-modal,body #hhswApp .hhsw-asset-share-modal{background:var(--hhsw-theme-surface)!important;border-color:var(--hhsw-theme-border)!important;color:var(--hhsw-theme-text)!important;box-shadow:var(--hhsw-theme-shadow)!important}
    body #hhswApp .hhsw-asset-modal-head,body #hhswApp .hhsw-asset-share-head,body #hhswApp .hhsw-asset-detail-side{
      background:var(--hhsw-theme-surface)!important;border-color:var(--hhsw-theme-border)!important;color:var(--hhsw-theme-text)!important
    }
    body #hhswApp .hhsw-asset-modal-head h2,body #hhswApp .hhsw-asset-share-head h2{color:var(--hhsw-theme-text)!important;-webkit-text-fill-color:var(--hhsw-theme-text)!important}
    body #hhswApp .hhsw-asset-detail-kicker,body #hhswApp .hhsw-asset-share-head p{color:var(--hhsw-theme-muted)!important;-webkit-text-fill-color:var(--hhsw-theme-muted)!important}
    body #hhswApp .hhsw-asset-modal-close,body #hhswApp .hhsw-asset-share-close,body #hhswApp .hhsw-asset-inline-copy,
    body #hhswApp .hhsw-asset-detail-actions button,body #hhswApp .hhsw-asset-share-actions button{
      background:var(--hhsw-theme-surface-soft)!important;border-color:var(--hhsw-theme-border)!important;color:var(--hhsw-theme-text)!important;-webkit-text-fill-color:var(--hhsw-theme-text)!important
    }
    body #hhswApp .hhsw-asset-detail-prompt,body #hhswApp .hhsw-asset-detail-list>div,body #hhswApp .hhsw-asset-share-form :is(input,textarea){
      background:var(--hhsw-theme-surface-raised)!important;border-color:var(--hhsw-theme-border)!important;color:var(--hhsw-theme-text)!important;-webkit-text-fill-color:var(--hhsw-theme-text)!important
    }
    body #hhswApp .hhsw-asset-detail-prompt p,body #hhswApp .hhsw-asset-detail-list :is(span,strong,em),body #hhswApp .hhsw-asset-share-form :is(input,textarea){
      color:var(--hhsw-theme-text)!important;-webkit-text-fill-color:var(--hhsw-theme-text)!important
    }
    body #hhswApp .hhsw-asset-detail-prompt b,body #hhswApp .hhsw-asset-detail-list b,body #hhswApp .hhsw-asset-share-form label{
      color:var(--hhsw-theme-muted)!important;-webkit-text-fill-color:var(--hhsw-theme-muted)!important
    }
    body #hhswApp .hhsw-asset-detail-actions .primary,body #hhswApp .hhsw-asset-share-actions .primary{
      background:var(--hhsw-theme-accent)!important;border-color:var(--hhsw-theme-accent)!important;color:var(--hhsw-theme-accent-text)!important;-webkit-text-fill-color:var(--hhsw-theme-accent-text)!important
    }
    body #hhswApp .hhsw-asset-detail-actions .danger{background:var(--hhsw-theme-danger-bg)!important;border-color:var(--hhsw-theme-danger)!important;color:var(--hhsw-theme-danger)!important;-webkit-text-fill-color:var(--hhsw-theme-danger)!important}
    html[data-hhv-appearance="day"] body #hhswApp :is(.hhsw-asset-modal,.hhsw-asset-share-modal,.hhsw-asset-modal-head,.hhsw-asset-share-head,.hhsw-asset-detail-side){color-scheme:light!important}
    html[data-hhv-appearance="day"] body #hhswApp .hhsw-asset-detail-prompt,html[data-hhv-appearance="day"] body.hhv-home-visual #hhswApp .hhsw-asset-modal .hhsw-asset-detail-prompt{background:#f5f6f8!important;border-color:rgba(24,24,27,.09)!important;color:#18181b!important;-webkit-text-fill-color:#18181b!important}
    html[data-hhv-appearance="day"] body #hhswApp .hhsw-asset-detail-prompt p,html[data-hhv-appearance="day"] body.hhv-home-visual #hhswApp#hhswApp .hhsw-asset-modal .hhsw-asset-detail-prompt p{background:transparent!important;border:0!important;color:#18181b!important;-webkit-text-fill-color:#18181b!important;text-shadow:none!important}
    html[data-hhv-appearance="day"] body #hhswApp .hhsw-asset-detail-prompt-toggle,html[data-hhv-appearance="day"] body.hhv-home-visual #hhswApp .hhsw-asset-modal .hhsw-asset-detail-prompt :is(.hhsw-asset-inline-copy,.hhsw-asset-detail-prompt-toggle){background:#ffffff!important;border:1px solid rgba(24,24,27,.14)!important;color:#18181b!important;-webkit-text-fill-color:#18181b!important}
    body #hhswApp .hhsw-asset-detail-prompt>div{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important;min-height:30px!important}
    body #hhswApp .hhsw-asset-detail-prompt>div>span{display:inline-flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin-left:auto!important}
    body #hhswApp .hhsw-asset-detail-prompt :is(.hhsw-asset-inline-copy,.hhsw-asset-detail-prompt-toggle){display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:30px!important;height:30px!important;padding:0 10px!important;border-radius:7px!important;font-size:12px!important;font-weight:700!important;line-height:1!important;white-space:nowrap!important;cursor:pointer!important}
    body #hhswApp .hhsw-asset-detail-prompt p{margin:10px 0 0!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;max-height:160px!important;overflow-y:auto!important;overflow-x:hidden!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;display:block!important;font-size:13.5px!important;line-height:1.65!important}
    body #hhswApp .hhsw-asset-detail-prompt.is-prompt-expanded p{white-space:normal!important;max-height:none!important;overflow:visible!important;text-overflow:clip!important}
    body #hhswApp .hhsw-asset-detail-list>div{display:grid!important;grid-template-columns:88px minmax(0,1fr)!important;gap:12px!important;align-items:baseline!important;padding:11px 13px!important}
    body #hhswApp .hhsw-asset-detail-list b{font-size:12px!important;font-weight:700!important;line-height:1.5!important;overflow-wrap:break-word!important}
    body #hhswApp .hhsw-asset-detail-list span{font-size:13px!important;font-weight:500!important;line-height:1.5!important;min-width:0!important;overflow-wrap:anywhere!important;word-break:break-word!important}
    html[data-hhv-appearance] body.hhv-home-visual #hhswApp#hhswApp#hhswApp :is(.hhsw-asset-preview,.hhsw-asset-detail-media,.hhsw-gallery-detail-video,.hhsw-gallery-cover) :is(button.hhsw-gallery-start,button.hhsw-video-play,[data-gallery-start]),html[data-hhv-appearance] body.hhv-home-visual #hhswApp#hhswApp#hhswApp :is(.hhsw-asset-preview,.hhsw-asset-detail-media,.hhsw-gallery-detail-video,.hhsw-gallery-cover) :is(button.hhsw-gallery-start,button.hhsw-video-play,[data-gallery-start]):is(:hover,:focus,:focus-visible,:active),html body #hhswApp#hhswApp#hhswApp :is(.hhsw-asset-preview,.hhsw-asset-detail-media,.hhsw-gallery-detail-video,.hhsw-gallery-cover) :is(button.hhsw-gallery-start,button.hhsw-video-play,[data-gallery-start]){position:absolute!important;left:50%!important;top:50%!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;padding:0!important;border-radius:50%!important;transform:translate(-50%,-50%)!important;z-index:10!important;display:grid!important;place-items:center!important;background:rgba(18,15,11,.84)!important;background-color:rgba(18,15,11,.84)!important;background-image:none!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;border:1px solid rgba(255,255,255,.24)!important;box-shadow:0 4px 14px rgba(0,0,0,.34)!important}
    html[data-hhv-appearance] body.hhv-home-visual #hhswApp#hhswApp#hhswApp :is(.hhsw-asset-preview,.hhsw-asset-detail-media,.hhsw-gallery-detail-video,.hhsw-gallery-cover) :is(button.hhsw-gallery-start,button.hhsw-video-play,[data-gallery-start]) :is(svg,i,span),html body #hhswApp#hhswApp#hhswApp :is(.hhsw-asset-preview,.hhsw-asset-detail-media,.hhsw-gallery-detail-video,.hhsw-gallery-cover) :is(button.hhsw-gallery-start,button.hhsw-video-play,[data-gallery-start]) :is(svg,i,span){color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;fill:currentColor!important;stroke:currentColor!important}

    /* Media stage follows the asset aspect instead of forcing a tall black box. */
    body #hhswApp .hhsw-asset-modal{width:min(1420px,95vw)!important;max-height:94vh!important;box-sizing:border-box!important}
    body #hhswApp .hhsw-asset-detail-grid{grid-template-columns:minmax(0,1.7fr) minmax(330px,.95fr)!important;align-items:stretch!important}
    body #hhswApp .hhsw-asset-preview{--hhsw-preview-h:min(76vh,780px);--hhsw-preview-max-h:calc(var(--hhsw-preview-h) - 36px);width:100%!important;height:var(--hhsw-preview-h)!important;min-height:var(--hhsw-preview-h)!important;max-height:var(--hhsw-preview-h)!important;padding:16px!important;border:0!important;background:var(--hhsw-theme-stage)!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;box-sizing:border-box!important}
    body #hhswApp .hhsw-asset-preview .hhsw-gallery-detail-video{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;min-height:0!important;overflow:hidden!important;box-sizing:border-box!important}
    body #hhswApp .hhsw-asset-preview .hhsw-gallery-cover:not(.hhsw-gallery-model){aspect-ratio:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:var(--hhsw-preview-max-h,calc(min(76vh,780px) - 36px))!important;min-height:0!important;margin:0 auto!important;border:0!important;overflow:hidden!important;box-sizing:border-box!important}
    body #hhswApp .hhsw-asset-preview :is(img,video,model-viewer),body #hhswApp .hhsw-gallery-detail-video :is(img,video,model-viewer){display:block!important;aspect-ratio:auto!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:var(--hhsw-preview-max-h,calc(min(76vh,780px) - 36px))!important;object-fit:contain!important;margin:0 auto!important;border:1px solid var(--hhsw-theme-border)!important;border-radius:8px!important;background:transparent!important;box-sizing:border-box!important}
    body #hhswApp .hhsw-asset-preview .hhsw-gallery-cover.hhsw-gallery-model{aspect-ratio:1/1!important;width:auto!important;height:100%!important;max-width:100%!important;max-height:var(--hhsw-preview-max-h,calc(min(76vh,780px) - 36px))!important;min-height:190px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0 auto!important;overflow:hidden!important;box-sizing:border-box!important}
    body #hhswApp .hhsw-asset-preview .hhsw-gallery-cover.hhsw-gallery-model img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;border:0!important}

    /* Membership summary inherits the active appearance instead of a fixed light island. */
    #hhswApp .hhsw-membership{background:linear-gradient(180deg,var(--hhsw-theme-canvas),var(--hhsw-theme-canvas-alt))!important}
    #hhswApp :is(.hhsw-member-title,.hhsw-member-user,.hhsw-plan-tabs,.hhsw-plan-card,.hhsw-compare,.hhsw-rules){background:var(--hhsw-theme-surface)!important;border-color:var(--hhsw-theme-border)!important;color:var(--hhsw-theme-text)!important}
    #hhswApp :is(.hhsw-member-stat,.hhsw-plan-points,.hhsw-compare tr.section td){background:var(--hhsw-theme-surface-raised)!important;border-color:var(--hhsw-theme-border)!important;color:var(--hhsw-theme-text)!important}
    #hhswApp :is(.hhsw-member-title p,.hhsw-member-profile span,.hhsw-member-user small,.hhsw-price span,.hhsw-plan-points,.hhsw-benefits,.hhsw-rules){color:var(--hhsw-theme-muted)!important;-webkit-text-fill-color:var(--hhsw-theme-muted)!important}
    #hhswApp .hhsw-membership-close{background:var(--hhsw-theme-surface)!important;border-color:var(--hhsw-theme-border)!important;color:var(--hhsw-theme-text)!important}

    @media(min-width:981px){
      body.hhv-home-visual #hhswApp .hhsw-asset-modal-backdrop,body.hhv-home-visual #hhswApp .hhsw-asset-share-modal-backdrop{padding:20px 24px 20px 96px!important}
      body.hhv-home-visual #hhswApp .hhsw-asset-modal{width:min(1420px,100%)!important;max-width:100%!important}
      body.hhv-home-visual #hhswApp .hhsw-asset-share-modal{width:min(900px,100%)!important;max-width:100%!important}
    }
    @media(min-width:981px) and (max-height:920px){
      body #hhswApp .hhsw-asset-preview{--hhsw-preview-h:min(68vh,600px);--hhsw-preview-max-h:calc(var(--hhsw-preview-h) - 32px)}
      body #hhswApp .hhsw-asset-modal-head{padding:12px 20px!important}
      body #hhswApp .hhsw-asset-modal-head h2{font-size:20px!important;line-height:1.3!important;margin-top:3px!important}
      body #hhswApp .hhsw-asset-modal-close{width:38px!important;height:38px!important;min-width:38px!important}
      body #hhswApp .hhsw-asset-detail-side{padding:14px 18px!important;gap:9px!important}
      body #hhswApp .hhsw-asset-detail-prompt{padding:10px 12px!important}
      body #hhswApp .hhsw-asset-detail-prompt:not(.is-prompt-expanded) p{margin-top:7px!important;max-height:108px!important;line-height:1.55!important}
      body #hhswApp .hhsw-asset-detail-list{gap:6px!important}
      body #hhswApp .hhsw-asset-detail-list>div{padding:7px 11px!important;line-height:1.4!important}
      body #hhswApp .hhsw-asset-detail-actions{gap:7px!important}
      body #hhswApp .hhsw-asset-detail-actions :is(button,a),body #hhswApp .hhsw-library-actions :is(button,a){min-height:36px!important}
    }
    @media(min-width:981px) and (max-height:820px){
      body #hhswApp .hhsw-asset-preview{--hhsw-preview-h:min(64vh,520px);--hhsw-preview-max-h:calc(var(--hhsw-preview-h) - 32px)}
      body #hhswApp .hhsw-asset-modal-head{padding:10px 18px!important}
      body #hhswApp .hhsw-asset-modal-head h2{font-size:18px!important;line-height:1.28!important;margin-top:2px!important}
      body #hhswApp .hhsw-asset-modal-close{width:36px!important;height:36px!important;min-width:36px!important}
      body #hhswApp .hhsw-asset-detail-side{padding:12px 16px!important;gap:7px!important}
      body #hhswApp .hhsw-asset-detail-prompt{padding:9px 11px!important}
      body #hhswApp .hhsw-asset-detail-prompt:not(.is-prompt-expanded) p{margin-top:6px!important;max-height:88px!important;line-height:1.5!important}
      body #hhswApp .hhsw-asset-detail-list{gap:5px!important}
      body #hhswApp .hhsw-asset-detail-list>div{padding:6px 10px!important;line-height:1.35!important}
      body #hhswApp .hhsw-asset-detail-actions{gap:6px!important}
      body #hhswApp .hhsw-asset-detail-actions :is(button,a),body #hhswApp .hhsw-library-actions :is(button,a){min-height:34px!important}
    }
    @media(max-width:980px){
      body #hhswApp .hhsw-asset-detail-grid{grid-template-columns:minmax(0,1fr)!important}
      body #hhswApp .hhsw-asset-preview{--hhsw-preview-h:min(54vh,480px);--hhsw-preview-max-h:calc(var(--hhsw-preview-h) - 28px);height:var(--hhsw-preview-h)!important;min-height:240px!important;max-height:var(--hhsw-preview-h)!important;padding:12px!important}
      body #hhswApp .hhsw-asset-preview :is(img,video,model-viewer),body #hhswApp .hhsw-gallery-detail-video :is(img,video,model-viewer){max-height:var(--hhsw-preview-max-h,calc(min(54vh,480px) - 28px))!important}
      #hhswApp .hhsw-composer{width:100%!important}
    }
    @media(max-width:660px){
      body #hhswApp .hhsw-asset-modal{width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;border-radius:0!important;border:0!important}
      body #hhswApp .hhsw-asset-preview{--hhsw-preview-h:min(46vh,380px);--hhsw-preview-max-h:calc(var(--hhsw-preview-h) - 24px);height:var(--hhsw-preview-h)!important;min-height:200px!important;max-height:var(--hhsw-preview-h)!important;padding:10px!important}
      body #hhswApp .hhsw-asset-preview :is(img,video,model-viewer),body #hhswApp .hhsw-gallery-detail-video :is(img,video,model-viewer){max-height:var(--hhsw-preview-max-h,calc(min(46vh,380px) - 24px))!important}
    }
    