.creator-featured{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.creator-work-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}@media(max-width:1000px){.creator-featured{grid-template-columns:repeat(2,minmax(0,1fr))}.creator-work-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.creator-featured{grid-template-columns:1fr}.creator-work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}

.creator-cover-empty{background:linear-gradient(135deg,#f2f4f6,#e4e9ed 55%,#eef1f4)}
.creator-cover-empty .creator-cover-shade{background:linear-gradient(0deg,#0001,transparent 40%)}
.creator-photo-empty{width:100%;aspect-ratio:16/9;background:#eceff2}
.creator-work-card .creator-photo-empty{aspect-ratio:1/1}
.creator-photo-empty--large{max-width:920px;margin:0 auto;aspect-ratio:16/10;background:#e9edf0}
.work-media-empty figcaption{padding:10px 14px;color:#aaa;font-size:9px}
.creator-card-placeholder:hover{transform:none;box-shadow:none}

.creator-toast{position:fixed;left:50%;bottom:34px;z-index:80;transform:translateX(-50%);padding:10px 20px;border-radius:999px;background:rgba(28,32,34,.92);color:#fff;font-size:12px;line-height:1.4;box-shadow:0 12px 30px rgba(0,0,0,.18);animation:creator-toast-in .18s ease-out}
@keyframes creator-toast-in{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}

.creator-chat{margin-top:16px;display:flex;flex-direction:column;height:min(62vh,620px);min-height:420px;background:#fff;border-radius:6px;box-shadow:0 1px 3px #0000000d;overflow:hidden}
.creator-chat-head{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;border-bottom:1px solid #eef1ef}
.creator-chat-head div{display:flex;align-items:baseline;gap:10px;min-width:0}
.creator-chat-head strong{color:#333;font-size:13px;font-weight:600}
.creator-chat-head span{color:#9aa5a0;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.creator-chat-close{border:0;background:none;color:#9aa5a0;font-size:20px;line-height:1;cursor:pointer;padding:0 2px}
.creator-chat-body{flex:1;overflow-y:auto;padding:18px 22px;background:#fafbfa;display:flex;flex-direction:column;gap:14px}
.creator-chat-empty{margin:auto;color:#a7b1ab;font-size:12px;text-align:center}
.creator-chat-row{display:flex;flex-direction:column;gap:5px;max-width:76%;align-items:flex-start}
.creator-chat-row.is-mine{align-self:flex-end;align-items:flex-end}
.creator-chat-bubble{padding:10px 14px;border-radius:14px;border-bottom-left-radius:4px;background:#fff;border:1px solid #e8ece9;color:#3f4a44;font-size:12.5px;line-height:1.65;white-space:pre-wrap;word-break:break-word}
.creator-chat-row.is-mine .creator-chat-bubble{background:#32b8a6;border-color:#32b8a6;border-radius:14px;border-bottom-right-radius:4px;color:#fff}
.creator-chat-row time{color:#aab3ad;font-size:9.5px}
.creator-chat-form{display:flex;align-items:flex-end;gap:10px;padding:14px 18px;border-top:1px solid #eef1ef;background:#fff}
.creator-chat-form textarea{flex:1;resize:none;min-height:44px;max-height:120px;padding:10px 12px;border:1px solid #e2e8e4;border-radius:10px;background:#fafbfa;color:#3f4a44;font:inherit;font-size:12.5px;line-height:1.5;outline:none}
.creator-chat-form textarea:focus{border-color:#9ccfc3;background:#fff}
.creator-chat-form button{height:40px;padding:0 22px;border:0;border-radius:10px;background:#23282a;color:#fff;font:inherit;font-size:12.5px;cursor:pointer}
.creator-chat-form button:disabled{opacity:.55;cursor:default}
@media (max-width:720px){.creator-chat{height:60vh;min-height:360px}.creator-chat-body{padding:14px}.creator-chat-row{max-width:86%}}

/* 个人主页顶栏：与首页顶栏文字样式保持一致 */
.creator-logo{font-size:18px;font-weight:400;letter-spacing:normal;color:#8b9198}
.creator-topbar nav a,.creator-top-actions a,.creator-share{color:#8b9198}
.creator-topbar nav a:hover,.creator-top-actions a:hover,.creator-share:hover{color:#627e95}

.creator-chat{position:relative}
.creator-chat-compose{display:flex;align-items:flex-end;gap:10px;padding:14px 18px 8px;background:#fff}
.creator-chat-form{display:block;padding:0;border-top:1px solid #eef1ef;background:#fff;position:relative}
.creator-chat-tools{display:flex;align-items:center;gap:4px;padding:2px 16px 12px}
.creator-chat-tools button{width:32px;height:32px;border:0;border-radius:8px;background:transparent;font-size:16px;line-height:1;cursor:pointer;color:#6c7972;transition:background .15s}
.creator-chat-tools button:hover{background:#f1f4f2}
.creator-chat-tools button.is-recording{background:#fdecec;box-shadow:0 0 0 2px #f3c3c3 inset}
.creator-chat-tools-hint{margin-left:auto;color:#b3bcb6;font-size:10px;white-space:nowrap}
.creator-chat-emoji{position:absolute;left:14px;bottom:112px;z-index:5;display:grid;grid-template-columns:repeat(8,1fr);gap:2px;width:min(320px,calc(100% - 36px));max-height:220px;overflow-y:auto;padding:10px;background:#fff;border:1px solid #e6ebe7;border-radius:12px;box-shadow:0 16px 40px #1c27231f}
.creator-chat-emoji[hidden]{display:none}
.creator-chat-emoji button{width:100%;height:30px;border:0;border-radius:6px;background:transparent;font-size:17px;cursor:pointer}
.creator-chat-emoji button:hover{background:#f1f4f2}
.creator-chat-pending{display:flex;align-items:center;gap:10px;margin:0 18px 8px;padding:8px 10px;border:1px solid #e6ebe7;border-radius:10px;background:#fafbfa}
.creator-chat-pending[hidden]{display:none}
.creator-chat-pending img{width:38px;height:38px;object-fit:cover;border-radius:7px}
.creator-chat-pending span{flex:1;min-width:0;color:#5c6a62;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.creator-chat-pending button{width:24px;height:24px;border:0;border-radius:50%;background:#eef1ef;color:#7b877f;font-size:14px;line-height:1;cursor:pointer}
.creator-chat-form textarea{flex:1;resize:none;min-height:72px;max-height:160px;padding:12px 14px;border:1px solid #e2e8e4;border-radius:12px;background:#fafbfa;color:#3f4a44;font:inherit;font-size:12.5px;line-height:1.6;outline:none}
.creator-chat-form textarea:focus{border-color:#9ccfc3;background:#fff}
.creator-chat-bubble + .creator-chat-img,.creator-chat-bubble + .creator-chat-file{margin-top:6px}
.creator-chat-img{display:block;max-width:240px;border-radius:12px;overflow:hidden;border:1px solid #e8ece9;background:#fff}
.creator-chat-img img{display:block;width:100%;height:auto;max-height:240px;object-fit:cover}
.creator-chat-file{display:flex;align-items:center;gap:8px;max-width:260px;padding:10px 12px;border:1px solid #e8ece9;border-radius:12px;background:#fff;color:#4b5852;font-size:11.5px;text-decoration:none}
.creator-chat-file span{font-size:16px;line-height:1}
.creator-chat-file b{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}
.creator-chat-file small{color:#a4aea8;font-size:9.5px}
.creator-chat-row.is-mine .creator-chat-img{border-color:#2fa896}
.creator-chat-row.is-mine .creator-chat-file{background:#fff;border-color:#e2e8e4}
.creator-chat-body{min-height:0}

.creator-chat-file-input,.creator-chat-image-input{display:none!important}
