.movement-share { box-sizing: border-box; width: min(900px, calc(100vw - 32px)); max-width: 900px; max-height: calc(100dvh - 32px); margin: auto; padding: 24px; overflow: auto; border: 1px solid #38554e; border-radius: 16px; background: #0a171d; color: #e2efeb; font: 13px/1.5 Arial, sans-serif; letter-spacing: 0; text-align: left; color-scheme: dark; box-shadow: 0 24px 100px #0009; scrollbar-color: #44685d #0a171d; }
.movement-share::backdrop { background: #02090ed9; backdrop-filter: blur(5px); }
.movement-share *, .movement-share *::before, .movement-share *::after { box-sizing: border-box; }
.movement-share [hidden] { display: none !important; }
.movement-share .ms-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 20px; }
.movement-share .ms-brand { color: #8bdec4; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.movement-share h3 { margin: 5px 0; color: #f0f8f4; font: 650 24px/1.25 Arial, sans-serif; letter-spacing: -.025em; text-transform: none; }
.movement-share .ms-head p { margin: 0; color: #9eb7b4; font-size: 12px; }
.movement-share button { display: inline-flex; align-items: center; justify-content: center; width: auto; height: auto; min-width: 0; min-height: 40px; margin: 0; padding: 9px 14px; border: 1px solid #36524b; border-radius: 7px; background: #13292a; color: #d6ebe3; font: 600 12px/1.4 Arial, sans-serif; letter-spacing: 0; text-transform: none; text-decoration: none; white-space: normal; cursor: pointer; box-shadow: none; transform: none; transition: background .15s, border-color .15s; }
.movement-share button::before, .movement-share button::after { display: none; }
.movement-share button:hover:not(:disabled) { border-color: #87d6bd; background: #1e3a34; color: #f2fff8; box-shadow: none; transform: none; }
.movement-share button:active:not(:disabled) { background: #284c41; transform: none; }
.movement-share button:disabled { opacity: .4; cursor: default; }
.movement-share :is(button, input):focus-visible { outline: 2px solid #8ce4c8; outline-offset: 3px; }
.movement-share .ms-close { flex: 0 0 36px; width: 36px; min-height: 36px; padding: 0; border-color: #2c4545; background: #11232a; color: #b7cdc8; font: 400 24px/1 Arial, sans-serif; }
.movement-share .ms-loading { margin: 0 0 14px; padding: 12px 14px; border: 1px solid #284842; border-radius: 7px; background: #10251f; color: #b6d8cc; overflow-wrap: anywhere; }
.movement-share .ms-loading.ms-error { border-color: #655233; background: #262217; color: #e4cc9b; }
.movement-share .ms-preview { overflow: hidden; border: 1px solid #315248; border-radius: 10px; background: #08151b; }
.movement-share canvas { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 1200/675; margin: 0; border: 0; background: #0b1c20; }
.movement-share .ms-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 18px; margin-top: 14px; padding: 12px 0; border-bottom: 1px solid #243d38; }
.movement-share .ms-facts > div { min-width: 0; }
.movement-share .ms-facts span { display: block; margin-bottom: 5px; color: #8ea8a3; font-size: 9px; }
.movement-share .ms-facts strong { display: block; color: #cbded6; font: 500 11px/1.6 Consolas, monospace; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.movement-share .ms-retention { max-width: none; margin: 12px 0 16px; color: #96b1a7; font-size: 11px; line-height: 1.6; }
.movement-share .ms-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.movement-share .ms-actions .ms-primary { background: #8ce4c8; border-color: #8ce4c8; color: #0a241b; }
.movement-share .ms-actions .ms-primary:hover:not(:disabled) { background: #b1f3dd; border-color: #b1f3dd; color: #0a241b; }
.movement-share .ms-actions [data-ms="open"] { margin-left: auto; background: transparent; color: #a9c9bd; }
.movement-share .ms-manual { margin-top: 15px; }
.movement-share .ms-manual label { display: flex; flex-direction: column; gap: 7px; color: #b4d3c5; font-size: 12px; }
.movement-share .ms-manual input { display: block; width: 100%; min-width: 0; height: 42px; margin: 0; padding: 9px 11px; border: 1px solid #3e5e52; border-radius: 6px; background: #081810; color: #d9f0e4; font: 12px/1.4 Consolas, monospace; letter-spacing: 0; box-shadow: none; }
.movement-share .ms-retry { margin-top: 10px; }
@media (max-width: 650px) {
  .movement-share { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); padding: 17px 13px; border-radius: 12px; }
  .movement-share h3 { font-size: 21px; }
  .movement-share .ms-head { margin-bottom: 15px; gap: 10px; }
  .movement-share .ms-head p { font-size: 11px; }
  .movement-share .ms-facts { grid-template-columns: 1fr; gap: 9px; }
  .movement-share .ms-facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 9px; align-items: baseline; }
  .movement-share .ms-facts span { margin: 0; }
  .movement-share .ms-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .movement-share .ms-actions button { width: 100%; min-height: 44px; padding: 9px 8px; font-size: 11px; }
  .movement-share .ms-actions [data-ms="open"] { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .movement-share button { transition: none; } .movement-share::backdrop { backdrop-filter: none; } }
