/* Long tokens and user content must not set the intrinsic width of the page. */
.page,.layout,.layout>*,:is(.grid-2,.grid-3,.grid-4)>*,.page-head>*,.card,.field,.modal-content,.modal-box{min-width:0}
.page :is(p,li,dd,dt,h1,h2,h3,h4,.hint,.alert,.user-link,.profile-handle,.post-caption,.subscription-member,code),.modal-content :is(p,code,a){overflow-wrap:anywhere}
.page :is(input,textarea,select),.modal-content :is(input,textarea,select){min-width:0;max-width:100%}
.page-head h1{flex-wrap:wrap;overflow-wrap:anywhere}
.copy-field{display:flex;min-width:0;max-width:100%;gap:8px;align-items:stretch}
.copy-field input{flex:1 1 0;width:0;min-width:0;max-width:100%;text-overflow:ellipsis}
.copy-field .btn{flex:0 0 auto;min-height:44px;height:auto}
.share-preview{min-width:0;max-width:100%}.share-preview>img,.share-preview>.ai-mark{flex-shrink:0}.share-preview .grow{min-width:0;overflow:hidden}.share-preview .truncate{display:block;max-width:100%}
.modal-content .share-target{min-width:0;font-size:14px;overflow-wrap:anywhere}
.modal-content .share-grid{min-width:0;max-width:100%}
.modal-content :is(h2,h3){overflow-wrap:anywhere}
.page .alert{min-width:0;flex-wrap:wrap}.page .alert .icon{flex-shrink:0}
@media(max-width:767px){
 .page-head>.btn{height:auto;min-height:44px;padding-top:10px;padding-bottom:10px;white-space:normal;line-height:1.4;text-align:center}
 .copy-field input{font-size:16px}.copy-field .btn{padding:0 12px}
 .modal-content .share-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .modal-content .share-target{padding:10px 8px;min-height:44px}
}
