/* Preserve the approved case design; only repair clipping/spacing and completed-state alignment. */
#takyo-five .share-ending{display:flex;flex-direction:column;align-items:center;width:100%;max-width:440px;margin:28px auto 0;text-align:center}
#takyo-five .share-ending>p{width:100%;font-size:12px;line-height:1.6;margin:13px 0 0}
#takyo-five .share-ending>.share-status:empty{display:none}
#takyo-five .case-accuse{display:grid;grid-template-columns:1fr auto 1fr}
#takyo-five .case-accuse>.cta{grid-column:2;justify-self:center}
#takyo-five .case-accuse>.secondary{justify-self:end}
@media(max-width:680px){#takyo-five .case-accuse{display:flex;flex-wrap:wrap}#takyo-five .share-ending>.cta{max-width:300px;width:100%}}

/* Modal action reset must not erase the primary CTA background. */
#takyo-five .modal-actions button.cta{background:#0000ff;border-color:#0000ff;color:#fffef2}
#takyo-five .modal-actions button.cta:hover{background:#303077;border-color:#303077}
#takyo-five .modal-actions button:not(.cta){color:#303077}
@media(max-width:480px){#takyo-five .modal-actions{flex-wrap:wrap}#takyo-five .modal-actions button{min-height:44px}}
