/* Creator template purchase: four benefits, then one clear cost. */
#modal:has(.template-unlock-benefits){width:min(460px,calc(100vw - 28px));padding:27px 24px 24px}
#modal:has(.template-unlock-benefits)>h2{margin:0;padding-right:30px;font-size:26px;font-weight:800;line-height:1.4;color:#31253d}
#modal:has(.template-unlock-benefits) .unlock-template-name{font-size:15px;font-weight:600;line-height:1.55;color:#75687e;margin:7px 0 0}
#modal .template-unlock-benefits{gap:19px;margin:26px 0 23px}
#modal .template-unlock-benefits>li{display:grid;grid-template-columns:29px minmax(0,1fr);align-items:start;gap:12px}
#modal .template-unlock-benefits .unlock-benefit-number{display:grid;place-items:center;height:29px;width:29px;border-radius:9px;background:#ede5fa;color:#6b43a8;font-size:15px;font-weight:800;line-height:1;margin-top:1px}
#modal .template-unlock-benefits>li>div{min-width:0}
#modal .template-unlock-benefits h3{display:flex;align-items:center;gap:8px;margin:0;color:#34283f;font-size:18px;font-weight:800;line-height:1.5;letter-spacing:0}
#modal .template-unlock-benefits h3 .icon{width:17px;height:17px;flex:0 0 17px;margin:0;color:#7a5ba7;stroke-width:2.1}
#modal .template-unlock-benefits p{margin:4px 0 0;color:#685b70;font-size:15px;line-height:1.55;font-weight:400;overflow-wrap:anywhere}
#modal .template-unlock-cost{padding:15px 17px;background:#f2ecfc;border:1px solid #e9def9;border-radius:12px;color:#594668}
#modal .template-unlock-cost>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
#modal .template-unlock-cost>div>span{font-size:15px;font-weight:650}
#modal .template-unlock-cost strong{font-size:25px;font-weight:800;line-height:1.3;color:#65439a;font-variant-numeric:tabular-nums}
#modal .template-unlock-cost strong small{font-size:14px;font-weight:650}
#modal .template-unlock-cost p{margin:6px 0 0;font-size:13px;line-height:1.5;color:#7a6a89}
#modal .template-unlock-cost>span{display:block;margin-top:5px;font-size:14px}
#modal:has(.template-unlock-benefits) .unlock-confirm{min-height:50px;border-radius:11px;font-size:16px;font-weight:750;margin-top:17px}
@media(max-width:360px){
 #modal:has(.template-unlock-benefits){padding:24px 18px 20px}
 #modal .template-unlock-benefits{gap:17px;margin:22px 0}
 #modal .template-unlock-benefits>li{gap:10px;grid-template-columns:27px minmax(0,1fr)}
 #modal .template-unlock-benefits h3{font-size:17px}
 #modal .template-unlock-benefits p{font-size:14px}
}
