/* Explicit, accessible TikTok file-share dialog. */
.tt-share{position:fixed;inset:0;margin:auto;width:min(540px,calc(100% - 28px));max-height:calc(100dvh - 32px);overflow-y:auto;border:1px solid #dce8df;border-radius:24px;background:#fff;padding:26px;color:#203b2b;box-shadow:0 28px 90px #0005}
.tt-share:not([open]){display:none}.tt-share::backdrop{background:#08150d99;backdrop-filter:blur(4px)}
.tt-share__heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.tt-share__eyebrow{font-size:.58rem;font-weight:700;letter-spacing:.15em;color:#177548}.tt-share__close{width:40px;height:40px;border:1px solid #e1ebe4;border-radius:50%;background:#f4f8f5;color:#213f2b;cursor:pointer;font-size:1.5rem}.tt-share h2{font-size:1.5rem;letter-spacing:-.04em;margin:8px 0 12px}.tt-share p{font-size:.82rem;line-height:1.8;margin:0 0 16px;color:#596d60}.tt-share .tt-share__status{padding:12px 14px;background:#edf7f0;border-radius:12px;color:#275239;font-size:.78rem}.tt-share__actions{display:flex;flex-wrap:wrap;gap:10px}.tt-share [hidden]{display:none!important}.tt-share__downloads{display:flex;flex-wrap:wrap;gap:10px}.tt-share .btn{font-size:.78rem;min-height:44px}.tt-share button:disabled{opacity:.55;cursor:wait}.tt-share__preview{display:flex;gap:10px;overflow:auto;margin:0 0 18px}.tt-share__preview:empty{display:none}.tt-share__preview img{width:132px;height:165px;object-fit:contain;background:#f0f5f1;border:1px solid #dce8df;border-radius:10px;flex-shrink:0}.tt-share__secondary{display:flex;gap:20px;flex-wrap:wrap;margin:20px 0 12px;border-top:1px solid #e1ebe4;padding-top:14px}.tt-share__secondary button,.tt-share__secondary a{border:0;background:none;color:#166c42;font:600 .76rem Inter,sans-serif;cursor:pointer;padding:8px 0;min-height:40px}.tt-share p.tt-share__note{font-size:.68rem;color:#718477;margin:0}.tt-share textarea{width:100%;min-height:100px;padding:12px;border:1px solid #b5d2bf;border-radius:10px;margin-top:14px;font:inherit}.tt-share :focus-visible{outline:2px solid #1b8851;outline-offset:3px}
@media(max-width:480px){.tt-share{padding:20px;border-radius:20px}.tt-share__actions>.btn,.tt-share__downloads,.tt-share__downloads>.btn{width:100%}.tt-share__actions .btn{justify-content:center}}

/* Independent buttons: do not inherit feed action icon positioning. */
.tt-share{z-index:100100;font-family:Arial,sans-serif;box-sizing:border-box;text-align:left;line-height:1.5}
.tt-share *{box-sizing:border-box}.tt-share .btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:12px;font-family:inherit;font-weight:600;text-decoration:none;cursor:pointer;line-height:1.5;position:static;transform:none;width:auto;height:auto;color:#173b29;border:1px solid #d3e3d9;background:#fff}.tt-share .btn-primary{background:#147d50;border-color:#147d50;color:#fff}.tt-share button,.tt-share a{touch-action:manipulation}.tt-share .tt-share__close{position:static;transform:none;padding:0;flex-shrink:0}.tt-share h2{color:#203b2b;font-family:inherit;line-height:1.3}
@media(max-width:480px){.tt-share__actions>.btn,.tt-share__downloads>.btn{width:100%}}
