/* Creator-owned media, identity and business tools. */
.creator-tools{margin-top:34px;padding:27px;border:1px solid #C5B5F42A;border-radius:29px;background:linear-gradient(125deg,#C5B5F40B,transparent 70%);}
.creator-tools .eyebrow{margin-bottom:9px;}
.creator-tool-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;}
.creator-tool-card{display:flex;flex-direction:column;min-width:0;padding:23px 20px;border:1px solid #E4E5F023;border-radius:23px;background:var(--brand-surface,#343440);transition:transform .2s,border-color .2s;}
.creator-tool-card:hover{transform:translateY(-3px);border-color:var(--accent);}
.creator-tool-card>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;color:var(--brand-lilac,#C5B5F4);background:#C5B5F412;margin-bottom:20px;}
.creator-tool-card h3{font-size:16px;letter-spacing:-.4px;line-height:1.35;margin:0 0 9px;}
.creator-tool-card p{color:var(--brand-muted,#B8B7CA);font-size:10px;line-height:1.75;margin:0 0 23px;}
.creator-tool-card>strong{display:flex;align-items:center;justify-content:space-between;font-size:9px;margin-top:auto;color:var(--brand-lilac,#C5B5F4);}
.creator-tool-card>strong svg{width:14px;}
.ppv-price-field{display:grid;grid-template-columns:minmax(130px,.7fr) 1fr;gap:20px;align-items:center;padding:18px;border:1px solid #FF00A83A;border-radius:22px;background:color-mix(in srgb,var(--accent) 5%,transparent);margin:2px 0 15px;}
.ppv-price-field .form-field{margin:0;}
.ppv-price-field>p{margin:0;color:var(--brand-muted,#B8B7CA);font-size:10px;line-height:1.8;}
.post-save-error,.profile-save-error{color:#FFB4CE;font-size:11px;line-height:1.7;overflow-wrap:anywhere;}
.post-save-error:empty,.profile-save-error:empty{display:none;}
.photo-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:18px;}
.photo-gallery-item{min-width:0;border:1px solid #E4E5F023;border-radius:19px;overflow:hidden;padding:7px;background:var(--brand-surface,#343440);}
.photo-gallery-frame{position:relative;aspect-ratio:4/5;max-height:235px;overflow:hidden;border-radius:14px;background:#292A33;}
.photo-gallery-frame>img{width:100%;height:100%;object-fit:contain;}
.photo-gallery-frame>span{position:absolute;top:9px;left:9px;border:1px solid #E4E5F03C;border-radius:100px;padding:5px 9px;background:#292A33D9;font-size:8px;line-height:1.4;}
.photo-gallery-frame>small{position:absolute;bottom:7px;right:7px;left:7px;border-radius:12px;background:#292A33E6;font-size:7px;padding:6px 8px;color:var(--brand-lilac,#C5B5F4);text-align:center;}
.photo-gallery-item>p{font-size:9px;margin:10px 3px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--brand-muted,#B8B7CA);}
.photo-gallery-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px;}
.photo-gallery-actions button{min-height:34px;border:1px solid #E4E5F026;border-radius:12px;background:#E4E5F006;font-size:12px;}
.photo-gallery-actions [data-gallery-remove]{grid-column:1/-1;font-size:9px;}
.photo-gallery-item.unavailable .photo-gallery-frame{opacity:.55;}
.photo-gallery-empty{grid-column:1/-1;border:1px dashed #C5B5F43A;padding:27px 18px;border-radius:19px;text-align:center;font-size:11px;line-height:1.8;color:var(--brand-muted,#B8B7CA);}
.photo-watermark{display:flex;align-items:flex-start;gap:12px;margin-top:18px;padding:16px;border:1px solid #C5B5F422;border-radius:18px;background:#C5B5F407;cursor:pointer;}
.photo-watermark input{flex:none;margin:2px 0 0;width:17px;height:17px;accent-color:var(--accent);}
.photo-watermark span{min-width:0;}
.photo-watermark strong{display:block;font-size:11px;line-height:1.6;}
.photo-watermark small{display:block;margin-top:5px;font-size:9px;line-height:1.8;color:var(--brand-muted,#B8B7CA);overflow-wrap:anywhere;}
.profile-assets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:25px 0 12px;}
.profile-asset-card{min-width:0;padding:13px;border:1px solid #E4E5F026;border-radius:22px;background:var(--brand-bg,#292A33);display:flex;flex-direction:column;gap:12px;}
.profile-asset-card>img{width:100%;height:150px;object-fit:cover;object-position:50% 28%;border-radius:16px;}
.profile-asset-card>img[data-profile-slot="avatar"]{width:106px;height:106px;margin:22px auto;border-radius:50%;}
.profile-asset-card>div strong{display:block;font-size:12px;line-height:1.5;}
.profile-asset-card>div small{display:block;margin-top:4px;color:var(--brand-muted,#B8B7CA);font-size:9px;line-height:1.6;overflow-wrap:anywhere;}
.profile-file-button{position:relative;width:100%;padding:12px;min-width:0;white-space:normal;justify-content:space-between;font-size:10px;gap:10px;cursor:pointer;}
.profile-file-button input{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap;padding:0;margin:-1px;border:0;}
.profile-file-button:focus-within{outline:2px solid var(--accent);outline-offset:3px;}
.profile-file-button:has(input:disabled){opacity:.45;cursor:wait;}
.profile-asset-card .mini-link{font-size:9px;text-align:center;min-height:30px;}
.profile-links-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;}
.profile-links-heading .outline-button{flex:none;}
.creator-link-row{display:grid;grid-template-columns:20px minmax(80px,.75fr) minmax(130px,1.3fr) auto;align-items:center;gap:9px;padding:11px;margin:11px 0;border:1px solid #E4E5F023;border-radius:19px;background:#292A334D;min-width:0;}
.creator-link-number{color:var(--brand-lilac,#C5B5F4);font-size:10px;text-align:center;}
.creator-link-row>label{min-width:0;}
.creator-link-row input{width:100%;min-height:41px;border:1px solid #E4E5F029;background:var(--brand-bg,#292A33);border-radius:13px;color:var(--brand-text,#F3F4FA);padding:10px;font-size:10px;}
.creator-link-actions{display:flex;gap:4px;}
.creator-link-actions button{border:1px solid #E4E5F026;border-radius:50%;width:29px;height:29px;font-size:13px;}
.profile-form-panel .field-hint{color:var(--brand-muted,#B8B7CA);font-size:9px;line-height:1.8;}
.profile-form-panel form[aria-busy="true"]{cursor:progress;}
.content-access{overflow-wrap:normal;}
@media(max-width:1200px){
  .creator-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .creator-link-row{grid-template-columns:20px minmax(0,1fr) auto;}
  .creator-link-row>label:nth-of-type(1){grid-column:2;grid-row:1;}
  .creator-link-row>label:nth-of-type(2){grid-column:2/-1;grid-row:2;}
  .creator-link-actions{grid-column:3;grid-row:1;}
}
@media(max-width:760px){
  .creator-tools{padding:22px 18px;margin-top:24px;border-radius:25px;}
  .creator-tool-grid{gap:11px;}
  .creator-tool-card{padding:20px 15px;border-radius:20px;}
  .creator-tool-card h3{font-size:14px;}
  .creator-tool-card p{font-size:9px;}
  .creator-tool-card>strong{font-size:8px;}
  .creator-tool-card>span{margin-bottom:17px;}
  .ppv-price-field{grid-template-columns:1fr;gap:11px;border-radius:19px;padding:15px;}
  .ppv-price-field>p{font-size:10px;}
  .photo-gallery{gap:9px;}
  .photo-gallery-frame{max-height:205px;}
  .photo-gallery-frame>span{top:7px;left:7px;font-size:7px;padding:5px 7px;}
  .photo-watermark{padding:14px;gap:10px;}
  .photo-watermark strong{font-size:10px;}
  .profile-assets{gap:11px;}
  .profile-asset-card{padding:11px;border-radius:19px;}
  .profile-asset-card>img{height:118px;border-radius:13px;}
  .profile-asset-card>img[data-profile-slot="avatar"]{width:82px;height:82px;margin:18px auto;}
  .profile-asset-card>div strong{font-size:11px;}
  .profile-asset-card>div small{font-size:8px;}
  .profile-links-heading{flex-direction:column;gap:0;margin-bottom:17px;}
  .profile-links-heading .outline-button{min-height:39px;font-size:9px;}
  .creator-link-row{gap:7px;padding:10px;grid-template-columns:16px minmax(0,1fr) auto;}
  .creator-link-actions{gap:3px;}
  .creator-link-actions button{width:26px;height:30px;}
  .creator-link-row input{font-size:11px;}
  .profile-actions .save-note{white-space:normal;line-height:1.7;}
}
@media(max-width:370px){
  .creator-tool-grid,.profile-assets,.photo-gallery{grid-template-columns:1fr;}
  .creator-tool-card{padding:21px;}
  .creator-tool-card p{font-size:10px;}
  .photo-gallery-frame{max-height:245px;}
  .profile-asset-card>img{height:150px;}
  .profile-asset-card>img[data-profile-slot="avatar"]{width:100px;height:100px;margin:25px auto;}
  .creator-link-row{grid-template-columns:16px minmax(0,1fr);}
  .creator-link-row>label:nth-of-type(1){grid-column:2;}
  .creator-link-row>label:nth-of-type(2){grid-column:2;}
  .creator-link-actions{grid-column:2;grid-row:3;justify-content:flex-end;}
  .creator-link-actions button{width:34px;height:34px;}
}
@media(prefers-reduced-motion:reduce){.creator-tool-card{transition:none;}.creator-tool-card:hover{transform:none;}}
