/* The export is a real canvas: these controls are never burned into the PNG. */
.app[data-scene=share] { --light-one: #3f5366; --light-two: #65553c; }
.app[data-scene=share] .app-main { padding-bottom: 20px; }
.share-studio { padding: 0 20px 25px; }
#app .share-intro { margin: -1px 0 20px; color: #c8c7d1; font-size: 13px; text-align: center; }
.share-format-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-bottom: 23px; }
.share-format-options button { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 61px; padding: 9px 4px; text-align: left; border: 1px solid #ffffff20; border-radius: 18px; background: #ffffff04; color: #bdbdc9; }
.share-format-options button[aria-pressed=true] { color: #f6f2ec; background: linear-gradient(145deg,#33495999,#1b2834c7); border-color: #779aaa80; box-shadow: inset 0 1px 0 #cfdfef26; }
.share-format-options button>span:last-child { font-size: 11px; line-height: 1.5; }
.share-format-options small { display: block; font-size: 9px; color: #a4a7b5; line-height: 1.4; }
.share-ratio-icon { display: block; border: 1.5px solid currentColor; border-radius: 3px; width: 15px; height: 24px; opacity: .9; flex-shrink: 0; }
.share-ratio-icon.is-portrait { width: 19px; height: 24px; }
.share-ratio-icon.is-square { width: 22px; height: 22px; }
.share-preview { margin: 0 auto 23px; width: 100%; max-width: 100%; }
.share-preview.is-story { max-width: 254px; }
.share-preview.is-portrait { max-width: 300px; }
.share-preview.is-square { max-width: 340px; }
.share-canvas-wrap { position: relative; overflow: hidden; background: #0a0b0d; border: 1px solid #ffffff24; border-radius: 16px; box-shadow: 0 20px 38px #0006,inset 0 1px 0 #ffffff2b; }
#share-canvas { display: block; width: 100%; height: auto; }
.share-render-status { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; background: #0a0b0de8; color: #c4c7d3; text-align: center; font-size: 13px; }
.share-render-status[hidden] { display: none; }
.share-preview figcaption { margin-top: 12px; color: #a1a3af; font-size: 10px; text-align: center; line-height: 1.7; }
.share-identity-choice { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 0; border-top: 1px solid #ffffff14; border-bottom: 1px solid #ffffff14; cursor: pointer; }
#app .share-identity-choice strong { display: block; font-size: 13px; font-weight: 500; color: #e1dee6; }
#app .share-identity-choice small { display: block; margin-top: 3px; font-size: 10px; color: #9e9fac; }
.share-identity-choice input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.share-switch { width: 43px; height: 26px; border-radius: 20px; background: #30323b; border: 1px solid #ffffff20; position: relative; flex-shrink: 0; transition: background-color 150ms ease; }
.share-switch:before { content: ''; position: absolute; width: 20px; height: 20px; left: 2px; top: 2px; border-radius: 50%; background: #dbdbe2; box-shadow: 0 1px 5px #0004; transition: transform 150ms cubic-bezier(.23,1,.32,1); }
.share-identity-choice input:checked+.share-switch { background: #326775; border-color: #8eafbc66; }
.share-identity-choice input:checked+.share-switch:before { transform: translateX(17px); background: #f2f6f7; }
.share-identity-choice input:focus-visible+.share-switch { outline: 2px solid #92b8d3; outline-offset: 4px; }
#app .share-disclosure { color: #a6a6b2; margin: 15px 0 19px; font-size: 11px; line-height: 1.8; }
.share-export-actions { display: grid; gap: 10px; }
.share-export-actions button { display: flex; justify-content: center; align-items: center; gap: 9px; min-height: 49px; font-size: 12px; }
.share-export-actions button[hidden] { display: none; }
.share-export-actions button:disabled { opacity: .5; cursor: wait; }
.share-export-actions .heroicon { width: 18px; height: 18px; }
#app .share-export-status { min-height: 38px; margin: 14px 4px 0; font-size: 10px; text-align: center; color: #a8a8b6; line-height: 1.8; }
.share-empty { margin: 28px 24px; text-align: center; }
.share-empty-icon { display: inline-grid; place-items: center; width: 70px; height: 70px; background: #dba74d14; border: 1px solid #dba74d35; border-radius: 24px; color: #dda957; }
.share-empty-icon svg { height: 33px; width: 33px; }
#app .share-empty h2 { font-size: 23px; margin-top: 23px; line-height: 1.4; }
#app .share-empty p { font-size: 13px; margin: 18px 0 25px; line-height: 1.8; }
@media(max-width:375px) { .share-studio { padding-left: 18px; padding-right: 18px; } .share-format-options button { gap: 7px; } .share-format-options button>span:last-child { font-size: 10px; } .share-preview.is-story { max-width: 235px; } }
@media(prefers-reduced-motion:reduce) { .share-switch,.share-switch:before { transition: none; } }
