/* 4.2.42 — one share chooser, not a form full of unavailable destinations. */
.sms-share-modal.sms-share-sheet {
  --share-bg:#fff;--share-card:#f4f6fa;--share-line:#dfe5ef;--share-fg:#172237;--share-muted:#57647a;--share-accent:#3156d9;--share-tint:#edf1ff;
  position:fixed!important;inset:auto!important;top:var(--sms-share-top,0px)!important;left:var(--sms-share-left,0px)!important;
  width:var(--sms-share-width,100vw)!important;height:var(--sms-share-height,100dvh)!important;
  display:flex!important;align-items:center;justify-content:center;padding:24px!important;
  background:rgba(4,9,18,.66);backdrop-filter:blur(7px);overflow:hidden;box-sizing:border-box;
  font:400 15px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--share-fg);
}
.sms-share-sheet.is-dark {--share-bg:#111b2b;--share-card:#1a273c;--share-line:#34435b;--share-fg:#f4f7ff;--share-muted:#b5c1d6;--share-accent:#a9bbff;--share-tint:#23365e;color-scheme:dark}
.sms-share-sheet *, .sms-share-sheet *::before,.sms-share-sheet *::after {box-sizing:border-box}
.sms-share-sheet [hidden] {display:none!important}
.sms-share-sheet :is(button,a,textarea) {font:inherit;letter-spacing:normal;text-transform:none;touch-action:manipulation}
.sms-share-sheet button {cursor:pointer;box-shadow:none;margin:0;text-indent:0;line-height:1.35}
.sms-share-sheet svg {display:block;width:24px;height:24px;flex:0 0 24px;pointer-events:none}
.sms-share-sheet button:disabled {opacity:.55;cursor:wait}
.sms-share-sheet :is(button,a,textarea):focus-visible {outline:2px solid var(--share-accent);outline-offset:3px}
.sms-share-modal.sms-share-sheet .sms-share-modal__dialog {
  display:flex;flex-direction:column;width:min(540px,100%)!important;max-width:100%!important;max-height:100%!important;
  margin:0;padding:0!important;overflow:hidden!important;border:1px solid var(--share-line);border-radius:24px;
  background:var(--share-bg);color:var(--share-fg);box-shadow:0 28px 90px rgba(0,0,0,.4);transform:none;
}
.sms-share-sheet .sms-share-modal__dialog>.sms-share-sheet__header {
  position:relative;display:flex;align-items:center;gap:12px;flex:none;background:var(--share-bg);
  padding:20px 22px 16px;border-bottom:1px solid var(--share-line);color:var(--share-fg);
}
.sms-share-sheet .sms-share-sheet__header>div {flex:1;min-width:0}
.sms-share-sheet .sms-share-sheet__header h2 {margin:0;color:var(--share-fg);font-size:23px;font-weight:700;line-height:1.25;letter-spacing:-.025em}
.sms-share-sheet .sms-share-sheet__header p {margin:5px 0 0;color:var(--share-muted);font-size:13px;line-height:1.4}
.sms-share-sheet .sms-share-modal__dialog>.sms-share-sheet__header .sms-share-sheet__icon-button {
  position:static;display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;
  min-width:44px;min-height:44px;padding:0;border:1px solid var(--share-line);border-radius:50%;background:var(--share-card);color:var(--share-fg);
}
.sms-share-sheet .sms-share-sheet__content {padding:20px 22px 8px;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.sms-share-sheet .sms-share-sheet__preview {display:flex;align-items:center;gap:12px;padding:12px 14px;margin:0 0 20px;background:var(--share-card);border:1px solid var(--share-line);border-radius:14px}
.sms-share-sheet .sms-share-sheet__preview>svg {color:var(--share-muted)}
.sms-share-sheet .sms-share-sheet__preview>div {min-width:0;flex:1}
.sms-share-sheet .sms-share-sheet__preview strong {display:block;font-size:13px;font-weight:650;color:var(--share-fg);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.sms-share-sheet .sms-share-sheet__preview p {margin:3px 0 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:var(--share-muted);font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.sms-share-sheet .sms-share-sheet__quick {display:flex;gap:10px}
.sms-share-sheet .sms-share-sheet__quick>button {display:flex;align-items:center;justify-content:center;gap:9px;flex:1;min-width:0;min-height:54px;padding:11px 12px;border:1px solid var(--share-line);border-radius:14px;background:var(--share-tint);color:var(--share-accent);font-size:14px;font-weight:650}
.sms-share-sheet .sms-share-sheet__quick>button>span {line-height:1.25}
.sms-share-sheet .sms-share-sheet__networks {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0;padding:0;border:0}
.sms-share-sheet .sms-share-sheet__networks>a {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:84px;text-decoration:none;color:var(--share-fg);border-radius:12px;padding:4px 0}
.sms-share-sheet .sms-share-sheet__networks>a>span {display:grid;place-items:center;width:52px;height:52px;border:1px solid var(--share-line);border-radius:50%;background:var(--share-card)}
.sms-share-sheet .sms-share-sheet__networks>a>strong {font-size:12px;line-height:1.3;font-weight:550}
.sms-share-sheet [data-sms-share-external="whatsapp"] svg {color:#159a59}
.sms-share-sheet.is-dark [data-sms-share-external="whatsapp"] svg {color:#5de397}
.sms-share-sheet [data-sms-share-external="facebook"] svg {color:#426cff}
.sms-share-sheet.is-dark [data-sms-share-external="facebook"] svg {color:#83a7ff}
.sms-share-sheet [data-sms-share-external="telegram"] svg {color:#0086bf}
.sms-share-sheet.is-dark [data-sms-share-external="telegram"] svg {color:#65ccff}
.sms-share-sheet .sms-share-sheet__feed-choice {display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:12px 14px;border:1px solid var(--share-line);border-radius:14px;background:var(--share-card);color:var(--share-fg);text-align:left}
.sms-share-sheet .sms-share-sheet__feed-choice>span {min-width:0;flex:1}
.sms-share-sheet .sms-share-sheet__feed-choice strong,.sms-share-sheet .sms-share-sheet__feed-choice small {display:block}
.sms-share-sheet .sms-share-sheet__feed-choice strong {font-size:14px;font-weight:650}
.sms-share-sheet .sms-share-sheet__feed-choice small {font-size:12px;color:var(--share-muted);margin-top:3px}
.sms-share-sheet .sms-share-sheet__feed-choice>svg:last-child {width:18px;height:18px;flex-basis:18px;color:var(--share-muted)}
.sms-share-sheet .sms-share-sheet__link {user-select:all;-webkit-user-select:all;margin:15px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.5;color:var(--share-muted)}
.sms-share-sheet .sms-share-sheet__commentary {display:grid;gap:9px;color:var(--share-fg);font-size:14px}
.sms-share-sheet .sms-share-sheet__commentary textarea {display:block;width:100%;min-height:106px;max-height:220px;padding:13px 14px;border:1px solid var(--share-line);border-radius:14px;background:var(--share-card);color:var(--share-fg);font-size:16px;line-height:1.45;resize:vertical;margin:0}
.sms-share-sheet textarea::placeholder {color:var(--share-muted);opacity:1}
.sms-share-sheet .sms-share-sheet__count {display:block;text-align:right;color:var(--share-muted);font-size:12px;margin-top:6px}
.sms-share-sheet .sms-share-sheet__footer {flex:none;display:grid;gap:10px;padding:10px 22px 20px;background:var(--share-bg)}
.sms-share-sheet .sms-share-modal__status {min-height:0;color:var(--share-accent);font-size:13px;font-weight:500;margin:0;line-height:1.4;overflow-wrap:anywhere}
.sms-share-sheet .sms-share-modal__status:empty {display:none}
.sms-share-sheet .sms-share-modal__status.is-error {color:#b32735}
.sms-share-sheet.is-dark .sms-share-modal__status.is-error {color:#ffb0b6}
.sms-share-sheet .sms-share-sheet__publish {display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;width:100%;border:1px solid #6885ff;border-radius:14px;background:#4264e3;color:#fff;padding:12px 18px;font-size:15px;font-weight:650}
@media(hover:hover){.sms-share-sheet :is(.sms-share-sheet__quick>button,.sms-share-sheet__feed-choice,.sms-share-sheet__networks>a):hover {filter:brightness(1.12);outline:1px solid var(--share-accent);outline-offset:2px}}
@media(max-width:767px){
 .sms-share-modal.sms-share-sheet {align-items:flex-end;padding:8px 0 0!important}
 .sms-share-modal.sms-share-sheet .sms-share-modal__dialog {width:100%!important;border-radius:24px 24px 0 0;border-bottom:0;box-shadow:0 -10px 50px rgba(0,0,0,.35)}
 .sms-share-sheet .sms-share-modal__dialog>.sms-share-sheet__header {padding:18px 18px 14px}
 .sms-share-sheet .sms-share-sheet__header h2 {font-size:21px}
 .sms-share-sheet .sms-share-sheet__header p {font-size:12px}
 .sms-share-sheet .sms-share-sheet__content {padding:16px 18px 8px}
 .sms-share-sheet .sms-share-sheet__preview {margin-bottom:16px}
 .sms-share-sheet .sms-share-sheet__networks {gap:4px;margin:16px 0}
 .sms-share-sheet .sms-share-sheet__quick>button {padding:12px 9px;font-size:13px}
 .sms-share-sheet .sms-share-sheet__footer {padding:10px 18px max(18px,env(safe-area-inset-bottom,0px))}
}
/* Keyboard space is finite: keep the editor, not a duplicate post preview. */
.sms-share-sheet.is-composing.is-keyboard-sized .sms-share-sheet__preview,
.sms-share-sheet.is-composing.is-keyboard-sized [data-sms-share-subtitle] {display:none}
.sms-share-sheet.is-composing.is-keyboard-sized .sms-share-modal__dialog>.sms-share-sheet__header {padding:10px 16px}
.sms-share-sheet.is-composing.is-keyboard-sized .sms-share-sheet__header h2 {font-size:18px}
.sms-share-sheet.is-composing.is-keyboard-sized .sms-share-sheet__content {padding:10px 16px 4px}
.sms-share-sheet.is-composing.is-keyboard-sized .sms-share-sheet__commentary {gap:6px;font-size:13px}
.sms-share-sheet.is-composing.is-keyboard-sized .sms-share-sheet__commentary textarea {height:84px;min-height:76px;max-height:110px;padding:10px 12px;resize:none}
.sms-share-sheet.is-composing.is-keyboard-sized .sms-share-sheet__footer {padding:8px 16px 12px}
