:root { font-family: -apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',Arial,sans-serif; color: #342d43; }
* { box-sizing: border-box; }
html,body { margin: 0; min-height: 0; overflow-x: clip; touch-action: pan-y; }
html,body { background: linear-gradient(155deg,#eee4fb 0%,#f7e6e9 48%,#e8ddfb 100%) #eee4fb; }
button,input,textarea { font: inherit; }
button { cursor: pointer; }
.public-page { width: 100%; max-width: 100vw; min-height: 100vh; position: relative; overflow: visible; touch-action: pan-y; background: linear-gradient(155deg,#eee4fb 0%,#f7e6e9 48%,#e8ddfb 100%); }
.public-page::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 10% 5%,#ffffff96,transparent 37%),radial-gradient(circle at 86% 90%,#c4b4f399,transparent 42%); pointer-events: none; }
.photo-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(.84); opacity: .5; }
.photo-bg::after { content: ''; position: absolute; inset: 0; background: #efe6f1a6; }
.ambient { position: absolute; width: 310px; height: 310px; border-radius: 50%; filter: blur(62px); opacity: .32; pointer-events: none; }
.ambient.one { top: -140px; left: -120px; background: #d6a8fd; }
.ambient.two { bottom: -160px; right: -120px; background: #fac0ca; }
.profile-shell { position: relative; width: min(100% - 34px, 520px); margin: auto; padding: 35px 0 31px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid #ffffffa6; border-radius: 100px; background: #ffffff70; color: #816c9f; font-weight: 700; font-size: 12px; letter-spacing: .08em; box-shadow: 0 5px 20px #856ca912; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: #b88cdd; }
.profile-head { padding: 31px 15px 21px; }
.avatar-frame { width: 116px; height: 116px; margin: auto; border-radius: 50%; display: grid; place-items: center; padding: 5px; background: linear-gradient(140deg,#fff,#cfaaee); box-shadow: 0 16px 38px #72538933,0 0 0 6px #ffffff5e; }
.avatar-frame img,.avatar-frame span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: linear-gradient(145deg,#fff5fa,#ded1ef); display: grid; place-items: center; color: #9876af; font-size: 56px; }
.profile-head h1 { margin: 21px 0 5px; font-size: clamp(25px,6vw,32px); font-weight: 700; line-height: 1.25; letter-spacing: -.025em; }
.handle { margin: 0; color: #8d77a7; font-size: 13px; font-weight: 700; }
.bio { max-width: 380px; margin: 17px auto 0; color: #716781; font-size: 14px; line-height: 1.8; }
.announcement { display: flex; align-items: center; justify-content: center; gap: 7px; background: #ffffff81; border: 1px solid #ffffffb8; border-radius: 12px; padding: 10px 16px; margin: 0 0 16px; color: #6b5984; box-shadow: 0 8px 22px #7862960e; font-size: 13px; }
.announcement span { color: #a278c9; font-size: 18px; }
.link-list { display: grid; gap: 13px; }
.link-card { display: flex; align-items: center; min-height: 76px; padding: 13px 17px; gap: 15px; text-align: left; text-decoration: none; background: #ffffffda; border: 1px solid #ffffff; border-radius: 18px; box-shadow: 0 8px 24px #66518416, inset 0 1px 0 #fff; color: #3f3450; transition: transform .2s,box-shadow .2s; }
a.link-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px #66518428; }
.link-card-empty { justify-content: center; color: #91899a; font-size: 13px; }
.link-icon { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(145deg,#f6ebff,#fbeef2); color: #9a74bd; font-size: 23px; }
.link-icon img { width: 36px; height: 36px; object-fit: contain; }
.link-copy { min-width: 0; display: grid; gap: 3px; flex: 1; }
.link-copy strong { font-size: 15px; font-weight: 700; }
.link-copy small { color: #91899a; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-arrow { color: #ab9bbb; font-size: 20px; }
.card-viewers { display: inline-block; color: #8d77a7; font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.copy-toast { position: fixed; z-index: 5; left: 50%; bottom: 25px; transform: translate(-50%,15px); padding: 10px 18px; border-radius: 999px; background: #3f3450; color: white; box-shadow: 0 10px 30px #3f34503b; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; white-space: nowrap; font-size: 13px; }
.copy-toast.show { opacity: 1; transform: translate(-50%,0); }
.danmaku-layer { position: fixed; inset: 0; z-index: 3; width: 100vw; height: 100vh; overflow: clip; pointer-events: none; }
.danmaku-item { position: absolute; left: 100%; display: inline-block; width: max-content; max-width: 75vw; padding: 7px 13px; border-radius: 999px; border: 1px solid #ffffffdd; background: #ffffffdf; color: #6c527f; box-shadow: 0 5px 16px #67507820; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: danmaku-fly linear forwards; }
.danmaku-item.own { background: #e9d8f4ee; color: #553875; border-color: #d2b7e8; }
@keyframes danmaku-fly { to { transform: translateX(calc(-100vw - 100%)); } }
.danmaku-form { margin: 18px auto 0; padding: 10px 12px; max-width: 380px; border: 1px solid #ffffffb8; border-radius: 15px; background: #ffffffd9; text-align: left; box-shadow: 0 8px 24px #66518418; }
.danmaku-form label { display: block; margin: 0 0 8px; color: #6b5984; font-size: 13px; font-weight: 700; }
.danmaku-form>div { display: flex; gap: 8px; }
.danmaku-form input { min-width: 0; flex: 1; padding: 9px 11px; border: 1px solid #dfd2ea; border-radius: 9px; background: #fff; color: #42344f; outline: none; font-size: 13px; }
.danmaku-form input:focus { border-color: #a379c6; }
.danmaku-form button { flex: 0 0 auto; padding: 9px 14px; border: 0; border-radius: 9px; background: #8660ad; color: white; font-size: 13px; font-weight: 700; }
.danmaku-form button:disabled { opacity: .55; cursor: wait; }
.danmaku-status:not(:empty) { display: block; margin-top: 7px; color: #8b72a0; font-size: 11px; }
.profile-shell footer { padding: 27px 0 5px; color: #9a88ab; font-size: 12px; }
.profile-shell footer span { color: #b79dcb; margin: 0 5px; }
@media(max-width:620px) { .profile-shell { padding-top: 25px; } }
@media(prefers-reduced-motion:reduce) { .danmaku-item { animation-duration: 14s!important; } a.link-card { transition: none; } }
