.profile-page {
  min-width: 320px;
  background:
    radial-gradient(circle at 88% 8%, rgba(255,216,20,.17), transparent 23rem),
    #f5f4ef;
}
.profile-page [hidden] { display: none !important; }
.profile-page .site-header { position: relative; }
.profile-page .login-button.is-user { color: #111; border-color: #111; background: #ffd814; }
.profile-page .login-button.is-user::before { content: "●"; margin-right: 8px; color: #165cff; font-size: 12px; }

.profile-main { max-width: 1510px; min-height: calc(100vh - 80px); margin: auto; padding: 34px clamp(18px,3vw,46px) 90px; }
.profile-state { min-height: 420px; display: grid; place-items: center; align-content: center; gap: 14px; color: #777; }
.state-spinner { width: 34px; height: 34px; border: 3px solid #dedcd5; border-top-color: #165cff; border-radius: 50%; animation: profile-spin .8s linear infinite; }
.state-error { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #ff4f2f; font-size: 24px; font-weight: 900; }
@keyframes profile-spin { to { transform: rotate(360deg); } }

.profile-login-wall { position: relative; max-width: 700px; margin: 76px auto; padding: 68px 62px; overflow: hidden; border: 1px solid #e7e4da; border-radius: 28px; background: #fff; box-shadow: 0 30px 80px rgba(31,29,20,.1); text-align: center; }
.profile-login-wall::before { content: ""; position: absolute; width: 220px; height: 220px; left: -92px; top: -115px; border-radius: 50%; background: #ffd814; }
.login-wall-mark { position: relative; width: 70px; height: 70px; margin: auto; display: grid; place-items: center; border-radius: 22px; color: #fff; background: #165cff; font-size: 25px; font-weight: 950; transform: rotate(-5deg); }
.profile-login-wall > span,.section-kicker { color: #165cff; font-size: 11px; font-weight: 950; letter-spacing: 1.45px; }
.profile-login-wall > span { display: block; margin-top: 24px; }
.profile-login-wall h1 { margin: 9px 0 12px; font-size: 38px; letter-spacing: -1.7px; }
.profile-login-wall p { max-width: 520px; margin: auto; color: #777; line-height: 1.7; }
.profile-login-wall button { margin-top: 25px; padding: 14px 25px; color: #fff; border: 0; border-radius: 12px; background: #111; font-weight: 900; }

.profile-shell { display: grid; grid-template-columns: 248px minmax(0,1fr); gap: 20px; align-items: start; }
.profile-sidebar { position: sticky; top: 18px; overflow: hidden; border: 1px solid #e4e1d9; border-radius: 22px; background: #fff; box-shadow: 0 13px 38px rgba(22,20,14,.06); }
.account-card { position: relative; padding: 26px 24px 24px; overflow: hidden; color: #fff; background: #121316; }
.account-card::after { content: ""; position: absolute; width: 125px; height: 125px; right: -55px; top: -45px; border: 25px solid rgba(255,216,20,.92); border-radius: 50%; }
.profile-avatar { position: relative; z-index: 1; width: 68px; height: 68px; display: grid; place-items: center; overflow: hidden; border: 4px solid #fff; border-radius: 21px; color: #111; background: linear-gradient(135deg,#ffd814,#ff7a31); font-size: 22px; font-weight: 950; box-shadow: 0 12px 25px rgba(0,0,0,.25); }
.profile-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.online-dot { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; color: #bfc3cd; font-size: 11px; }
.online-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22bb6a; box-shadow: 0 0 0 4px rgba(34,187,106,.14); }
.account-card h1 { margin: 10px 0 7px; font-size: 23px; letter-spacing: -.7px; }
.public-id { display: inline-flex; padding: 5px 8px; border: 1px solid #3c3e44; border-radius: 7px; color: #ffd814; font: 800 12px ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .7px; }
.account-card p { margin: 13px 0 0; color: #8d919a; font-size: 11px; }
.account-edit { position: relative; z-index: 1; width: 100%; height: 36px; margin-top: 16px; border: 1px solid #4a4c53; border-radius: 8px; color: #fff; background: transparent; font-size: 11px; font-weight: 850; cursor: pointer; }
.account-edit:hover { color: #111; border-color: #ffd814; background: #ffd814; }
.profile-nav { padding: 12px; display: grid; gap: 4px; }
.profile-nav a { min-height: 46px; padding: 0 12px; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 7px; border-radius: 10px; color: #656565; font-size: 13px; }
.profile-nav a span { color: #9b9b9b; text-align: center; }
.profile-nav a b { font-weight: 780; }
.profile-nav a:hover,.profile-nav a.is-active { color: #111; background: #fff3ba; }
.profile-nav a.is-active span { color: #ff4f2f; }
.profile-nav a i { min-width: 21px; height: 21px; padding: 0 5px; display: grid; place-items: center; border-radius: 99px; color: #fff; background: #ff4f2f; font-size: 10px; font-style: normal; font-weight: 900; }
.sidebar-links { padding: 17px 22px; display: grid; gap: 11px; border-top: 1px solid #ece9e2; font-size: 12px; }
.sidebar-links a { color: #555; }.sidebar-links button { width: max-content; padding: 0; color: #999; border: 0; background: transparent; font-size: 12px; }

.profile-workspace { min-width: 0; display: grid; gap: 15px; }
.welcome-panel { position: relative; min-height: 256px; padding: 36px 350px 34px 38px; display: flex; align-items: center; overflow: hidden; border-radius: 24px; color: #fff; background: #111316; box-shadow: 0 18px 44px rgba(16,17,19,.14); }
.welcome-panel::after { content: ""; position: absolute; width: 490px; height: 490px; right: -160px; top: -255px; border: 70px solid rgba(255,255,255,.1); border-radius: 50%; }
.welcome-panel > div:first-child { position: relative; z-index: 2; }
.welcome-panel .section-kicker { color: #ffd814; }
.welcome-panel h2 { margin: 10px 0 9px; font-size: clamp(31px,3.2vw,47px); letter-spacing: -2px; }
.welcome-panel h2 span { color: #fff; }
.welcome-panel p { max-width: 660px; margin: 0; color: #bdc0c7; font-size: 14px; line-height: 1.7; }
.welcome-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 9px; }
.welcome-actions a { min-height: 43px; padding: 0 16px; display: inline-flex; align-items: center; border: 1px solid #46484e; border-radius: 10px; font-size: 13px; font-weight: 850; }
.welcome-actions a.primary { color: #111; border-color: #ffd814; background: #ffd814; }
.welcome-art { position: absolute; z-index: 1; right: 31px; bottom: 0; width: 282px; height: 225px; transform: rotate(-4deg); }
.welcome-art b { position: absolute; right: 66px; bottom: 22px; color: #165cff; font-family: Arial Black,sans-serif; font-size: 150px; line-height: .9; text-shadow: 9px 9px 0 #ffd814; }
.welcome-art span { position: absolute; z-index: 2; right: 6px; top: 41px; padding: 8px 12px; color: #111; background: #ff5737; font: 900 14px/1.05 Arial,sans-serif; transform: rotate(9deg); }
.welcome-art i { position: absolute; left: 7px; bottom: 20px; width: 92px; border-top: 8px solid #fff; transform: rotate(12deg); }

.profile-stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; }
.profile-stat-grid article { min-height: 130px; padding: 20px; border: 1px solid #e4e1da; border-radius: 17px; background: #fff; }
.profile-stat-grid article > span { color: #777; font-size: 12px; }
.profile-stat-grid strong { margin: 8px 0 4px; display: block; font-size: 36px; line-height: 1; letter-spacing: -1px; }
.profile-stat-grid strong i,.profile-stat-grid strong b,.profile-stat-grid strong em { font-style: normal; font-weight: 950; }
.profile-stat-grid strong em { margin: 0 4px; color: #bbb; font-size: 20px; }
.profile-stat-grid small { color: #858585; font-size: 11px; }
.profile-stat-grid article:nth-child(2) strong { color: #20a768; }
.profile-stat-grid article:nth-child(3) { color: #fff; border-color: #165cff; background: #165cff; }
.profile-stat-grid article:nth-child(3) > span,.profile-stat-grid article:nth-child(3) small { color: #cfdbff; }
.profile-stat-grid article:nth-child(3) strong em { color: #8cabff; }
.profile-stat-grid .notification-stat { background: linear-gradient(135deg,#fff,#fff8ce); }
.notification-stat strong { color: #ff4f2f; }

.shared-profile-card { scroll-margin-top: 18px; overflow: hidden; border: 1px solid #dfdcd4; border-radius: 20px; background: #fff; box-shadow: 0 12px 34px rgba(21,20,15,.045); }
.shared-profile-card > header { min-height: 93px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid #ebe8e1; background: linear-gradient(90deg,#fff 0 63%,#fff7c4); }
.shared-profile-card h2 { margin: 5px 0 3px; font-size: 24px; letter-spacing: -.8px; }
.shared-profile-card header p { margin: 0; color: #7c7c7c; font-size: 11px; }
.profile-sync-state { padding: 7px 11px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #e2d77c; border-radius: 99px; color: #544900; background: #fff8c7; font-size: 10px; font-weight: 850; white-space: nowrap; }
.profile-sync-state i { width: 7px; height: 7px; border-radius: 50%; background: #1eae67; box-shadow: 0 0 0 4px rgba(30,174,103,.12); }
.shared-profile-body { padding: 24px 26px 22px; display: grid; grid-template-columns: minmax(215px,.8fr) minmax(250px,1.15fr) minmax(220px,1fr); align-items: center; gap: 24px; }
.shared-identity { min-width: 0; display: flex; align-items: center; gap: 14px; }
.shared-avatar,.editor-avatar { display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; color: #111; background: linear-gradient(135deg,#ffd814,#ff7043); font-weight: 950; }
.shared-avatar { width: 72px; height: 72px; border: 3px solid #111; border-radius: 21px; font-size: 21px; box-shadow: 5px 5px 0 #ffd814; }
.shared-avatar img,.editor-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.shared-identity > div:last-child { min-width: 0; }
.shared-identity span { color: #165cff; font-size: 9px; font-weight: 900; letter-spacing: .6px; }
.shared-identity h3 { margin: 5px 0 3px; overflow: hidden; font-size: 21px; text-overflow: ellipsis; white-space: nowrap; }
.shared-identity p { margin: 0; overflow: hidden; color: #777; font-size: 10px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.shared-building { min-width: 0; padding: 14px 17px; border-radius: 13px; background: #f5f3ed; }
.shared-building > span,.shared-tags > div > span { color: #165cff; font-size: 8px; font-weight: 950; letter-spacing: 1px; }
.shared-building strong { margin: 5px 0; display: block; overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.shared-building p { margin: 0; display: -webkit-box; overflow: hidden; color: #737373; font-size: 10px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.shared-tags { min-width: 0; display: grid; gap: 12px; }
.shared-tags p { min-height: 24px; margin: 5px 0 0; display: flex; gap: 5px; overflow: hidden; }
.shared-tags i { padding: 5px 8px; border-radius: 6px; color: #144fc8; background: #eaf0ff; font-size: 9px; font-style: normal; white-space: nowrap; }
.shared-tags > div:last-child i { color: #d94b28; background: #fff0e9; }
.shared-profile-actions { grid-column: 1/-1; padding-top: 17px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #ece9e2; }
.shared-profile-actions span { color: #777; font-size: 10px; }
.shared-profile-actions button { height: 40px; padding: 0 16px; border: 0; border-radius: 9px; color: #fff; background: #111; font-size: 11px; font-weight: 900; cursor: pointer; }
.shared-profile-actions button:hover { color: #111; background: #ffd814; }

.profile-editor-modal[hidden] { display: none !important; }
.profile-editor-modal { position: fixed; inset: 0; z-index: 160; padding: 20px; display: grid; place-items: center; }
.profile-editor-backdrop { position: absolute; inset: 0; border: 0; background: rgba(5,6,8,.72); backdrop-filter: blur(7px); }
.profile-editor-dialog { position: relative; width: min(760px,100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 23px; background: #fff; box-shadow: 0 35px 110px rgba(0,0,0,.36); }
.profile-editor-dialog > header { position: sticky; z-index: 3; top: 0; padding: 23px 28px 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e9e6df; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); }
.profile-editor-dialog > header span { color: #165cff; font-size: 9px; font-weight: 950; letter-spacing: 1.4px; }
.profile-editor-dialog > header h2 { margin: 5px 0 2px; font-size: 26px; letter-spacing: -.8px; }
.profile-editor-dialog > header p { margin: 0; color: #777; font-size: 11px; }
.profile-editor-dialog > header button { width: 37px; height: 37px; border: 0; border-radius: 50%; background: #f1f0eb; font-size: 23px; cursor: pointer; }
.profile-editor-dialog form { padding: 24px 28px 27px; }
.avatar-editor { margin-bottom: 18px; padding: 16px; display: flex; align-items: center; gap: 17px; border: 1px solid #e1ded6; border-radius: 15px; background: linear-gradient(100deg,#f8f7f3,#fffbe1); }
.editor-avatar { width: 76px; height: 76px; border: 3px solid #111; border-radius: 22px; font-size: 22px; box-shadow: 5px 5px 0 #ffd814; }
.avatar-editor strong { display: block; font-size: 14px; }
.avatar-editor p { margin: 4px 0 9px; color: #777; font-size: 10px; }
.avatar-upload-button { width: max-content; min-height: 31px; margin: 0 !important; padding: 0 11px; display: inline-flex !important; align-items: center; border-radius: 7px; color: #fff !important; background: #165cff; font-size: 10px !important; cursor: pointer; }
.avatar-upload-button input { display: none; }
.editor-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.profile-editor-dialog form > label,.editor-form-grid label { min-width: 0; margin-bottom: 14px; display: grid; gap: 7px; color: #4e4e4e; font-size: 11px; font-weight: 850; }
.profile-editor-dialog label em { color: #ff4f2f; font-style: normal; }
.profile-editor-dialog input[type="text"],.profile-editor-dialog input:not([type]),.profile-editor-dialog textarea { width: 100%; padding: 11px 12px; border: 1px solid #dcd9d2; border-radius: 9px; outline: 0; background: #fff; }
.profile-editor-dialog textarea { min-height: 92px; resize: vertical; }
.profile-editor-dialog input:focus,.profile-editor-dialog textarea:focus { border-color: #165cff; box-shadow: 0 0 0 3px #e9efff; }
.wechat-field { position: relative; }
.wechat-field small { position: absolute; right: 8px; top: 1px; color: #999; font-size: 8px; font-weight: 500; }
.profile-visibility { padding: 13px 14px; display: flex !important; grid-template-columns: auto 1fr !important; align-items: center; gap: 10px !important; border-radius: 10px; background: #f4f6fc; }
.profile-visibility input { width: 17px; height: 17px; accent-color: #165cff; }
.profile-visibility strong,.profile-visibility small { display: block; }.profile-visibility small { margin-top: 3px; color: #777; font-size: 9px; font-weight: 500; }
.save-shared-profile { width: 100%; height: 49px; border: 0; border-radius: 10px; color: #111; background: #ffd814; font-weight: 950; cursor: pointer; }
.save-shared-profile:disabled { opacity: .6; cursor: wait; }
.profile-editor-error { min-height: 17px; margin: 9px 0 0; color: #d83e27; text-align: center; font-size: 10px; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(320px,.75fr); gap: 13px; scroll-margin-top: 18px; }
.dashboard-card { min-height: 300px; overflow: hidden; border: 1px solid #e3e0d8; border-radius: 20px; background: #fff; }
.reviewer-card { display: grid; grid-template-columns: 135px 1fr; color: #fff; border-color: #165cff; background: #165cff; }
.reviewer-card.status-rejected { border-color: #ff6947; background: #ff6947; }
.reviewer-card.status-pending { border-color: #23252a; background: #23252a; }
.reviewer-visual { position: relative; overflow: hidden; display: grid; place-items: center; background: rgba(0,0,0,.12); }
.reviewer-visual::after { content: ""; position: absolute; width: 145px; height: 145px; border: 25px solid rgba(255,216,20,.9); border-radius: 50%; left: -76px; bottom: -76px; }
.reviewer-visual strong { position: relative; z-index: 1; font-size: 73px; line-height: 1; }
.reviewer-visual > span { position: absolute; top: 26px; left: 19px; writing-mode: vertical-rl; color: rgba(255,255,255,.58); font-size: 10px; font-weight: 900; letter-spacing: 1px; }
.reviewer-content { position: relative; padding: 27px; }
.reviewer-content .section-kicker { color: #ffd814; }
.status-chip { position: absolute; right: 22px; top: 21px; padding: 6px 9px; border-radius: 99px; color: #111; background: #ffd814; font-size: 11px; font-weight: 900; }
.status-chip.neutral { color: #dfe6ff; background: rgba(255,255,255,.16); }
.status-chip.rejected { color: #87311f; background: #fff0eb; }
.reviewer-content h2 { max-width: 430px; margin: 24px 0 9px; font-size: 26px; letter-spacing: -.9px; }
.reviewer-content p { max-width: 550px; margin: 0; color: #dce5ff; font-size: 13px; line-height: 1.65; }
.status-pending .reviewer-content p { color: #c9cbd0; }.status-rejected .reviewer-content p { color: #fff1ec; }
.card-action { margin-top: 20px; min-height: 42px; padding: 0 15px; display: inline-flex; align-items: center; border-radius: 9px; color: #fff; background: #111; font-size: 12px; font-weight: 900; }
.card-action.yellow { color: #111; background: #ffd814; }
.card-action.is-disabled { pointer-events: none; opacity: .26; }
.review-wait { margin-top: 22px; display: inline-block; color: #aeb0b7; font-size: 11px; }

.task-card { padding: 25px; }
.task-card header { display: flex; justify-content: space-between; gap: 12px; }
.task-card h2 { margin: 7px 0 0; font-size: 20px; }
.task-ratio { width: 54px; height: 54px; display: grid; place-items: center; border: 6px solid #edf1ff; border-top-color: #165cff; border-radius: 50%; color: #165cff; font-size: 12px; }
.task-summary { margin-top: 21px; display: flex; align-items: flex-end; justify-content: space-between; }
.task-summary div > strong { color: #ff4f2f; font-size: 44px; line-height: 1; }.task-summary div > span { color: #777; font-size: 15px; }.task-summary p { margin: 0 0 5px; color: #888; font-size: 11px; }
.task-track { height: 8px; margin-top: 15px; overflow: hidden; border-radius: 99px; background: #eeece6; }.task-track i { width: 0; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg,#ffd814,#ff4f2f); transition: width .35s ease; }
.task-copy { min-height: 36px; margin: 14px 0 0; color: #777; font-size: 12px; line-height: 1.55; }
.task-card .card-action { margin-top: 14px; }

.profile-section { padding: 27px; scroll-margin-top: 18px; border: 1px solid #e3e0d9; border-radius: 20px; background: #fff; }
.profile-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.profile-section-head h2 { margin: 7px 0 5px; font-size: 25px; letter-spacing: -.8px; }
.profile-section-head p { margin: 0; color: #818181; font-size: 12px; }
.profile-section-head > a { min-height: 40px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 9px; color: #fff; background: #ff4f2f; font-size: 12px; font-weight: 900; white-space: nowrap; }
.entry-list { margin-top: 19px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.entry-card { padding: 19px; border: 1px solid #e7e4dd; border-radius: 16px; background: #faf9f6; }
.entry-card.is-editable { display: block; color: inherit; border-color: #ead66d; background: linear-gradient(145deg,#fffdf4,#fff9d7); cursor: pointer; transition: transform .2s,border-color .2s,box-shadow .2s; }
.entry-card.is-editable:hover { transform: translateY(-2px); border-color: #f0c900; box-shadow: 0 12px 28px rgba(78,61,0,.1); }
.entry-card.is-editable:focus-visible { outline: 3px solid #165cff; outline-offset: 3px; }
.entry-cover { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; align-items: center; gap: 13px; }
.entry-logo { width: 58px; height: 58px; display: grid; place-items: center; overflow: hidden; border-radius: 14px; color: #fff; background: linear-gradient(135deg,#165cff,#6f91ff); font-size: 22px; font-weight: 950; }
.entry-logo img { width: 100%; height: 100%; object-fit: cover; }
.entry-cover > div:nth-child(2) { min-width: 0; }.entry-cover > div:nth-child(2) > span { color: #165cff; font-size: 10px; font-weight: 900; }.entry-cover h3 { margin: 4px 0 3px; overflow: hidden; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }.entry-cover p { margin: 0; overflow: hidden; color: #777; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.entry-score { padding-left: 12px; border-left: 1px solid #ddd9cf; text-align: center; }.entry-score strong { display: block; color: #ff4f2f; font-size: 25px; }.entry-score span { color: #888; font-size: 9px; }
.entry-meta { margin-top: 15px; display: flex; align-items: center; justify-content: space-between; }
.entry-number { color: #8a8a8a; font: 750 11px ui-monospace,SFMono-Regular,Menlo,monospace; }
.entry-status { padding: 5px 8px; border-radius: 99px; color: #805e00; background: #fff0a2; font-size: 10px; font-weight: 900; }.entry-status.approved,.entry-status.scored { color: #116b43; background: #dff5e9; }.entry-status.rejected,.entry-status.changes_requested { color: #a33823; background: #ffe5de; }.entry-status.reviewing { color: #164cc0; background: #e6edff; }
.entry-progress { margin-top: 16px; }.entry-progress > i { position: relative; height: 5px; display: block; border-radius: 99px; background: #e2dfd6; }.entry-progress > i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc((var(--entry-progress) - 1) / 4 * 100%); border-radius: inherit; background: linear-gradient(90deg,#ffd814,#ff4f2f,#165cff); }
.entry-progress > div { margin-top: 7px; display: flex; justify-content: space-between; color: #999; font-size: 9px; }
.entry-note { margin-top: 13px; padding: 9px 11px; display: grid; gap: 3px; border-radius: 8px; color: #833b2c; background: #fff1ec; font-size: 10px; }.entry-note b { font-size: 9px; }
.entry-edit-hint { margin: 14px -7px -7px; padding: 10px 11px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 10px; color: #715b00; background: #ffe66a; font-size: 10px; }
.entry-edit-hint span { opacity: .8; }
.entry-edit-hint b { flex: 0 0 auto; color: #111; font-size: 11px; }
.empty-panel { padding: 45px 20px; grid-column: 1/-1; border: 1px dashed #cfcac0; border-radius: 15px; text-align: center; background: #faf9f6; }
.empty-icon { width: 48px; height: 48px; margin: auto; display: grid; place-items: center; border-radius: 15px; color: #fff; background: #165cff; font-size: 28px; }.empty-panel h3 { margin: 15px 0 6px; }.empty-panel p { max-width: 550px; margin: auto; color: #777; font-size: 12px; line-height: 1.6; }.empty-panel a { margin-top: 16px; display: inline-block; color: #165cff; font-size: 12px; font-weight: 900; }

.message-count { padding: 7px 10px; border-radius: 8px; color: #165cff; background: #edf2ff; font-size: 11px; font-weight: 900; }
.notification-list { margin-top: 18px; display: grid; gap: 8px; }
.message-row { padding: 14px; display: grid; grid-template-columns: 40px minmax(0,1fr) auto; align-items: center; gap: 12px; border: 1px solid #e8e5de; border-radius: 13px; background: #fff; }
.message-row.is-unread { border-color: #d6e0ff; background: #f6f8ff; }.message-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: #165cff; }.message-row strong { font-size: 13px; }.message-row p { margin: 4px 0; color: #6f6f6f; font-size: 11px; line-height: 1.45; }.message-row small { color: #a0a0a0; font-size: 9px; }.message-row > b { padding: 5px 7px; border-radius: 99px; color: #8a8a8a; background: #f0efeb; font-size: 9px; }.message-row.is-unread > b { color: #fff; background: #ff4f2f; }
.empty-message { min-height: 82px; padding: 17px; display: flex; align-items: center; gap: 13px; border-radius: 13px; color: #777; background: #f7f6f2; }.empty-message > span { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; color: #13764a; background: #dff5e9; font-weight: 950; }.empty-message strong { color: #333; font-size: 13px; }.empty-message p { margin: 4px 0 0; font-size: 11px; }.section-loading { padding: 28px; color: #999; text-align: center; }

@media (max-width: 1120px) {
  .profile-shell { grid-template-columns: 218px minmax(0,1fr); }
  .welcome-panel { padding-right: 265px; }.welcome-art { right: -12px; transform: rotate(-4deg) scale(.84); }
  .profile-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-grid { grid-template-columns: 1fr; }.dashboard-card { min-height: 280px; }
  .entry-list { grid-template-columns: 1fr; }
  .shared-profile-body { grid-template-columns: 1fr 1fr; }.shared-tags { grid-column: 1/-1; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .profile-main { padding: 22px 14px 60px; }
  .profile-shell { grid-template-columns: 1fr; }
  .profile-sidebar { position: static; display: grid; grid-template-columns: 230px 1fr; }
  .account-card { grid-row: 1/3; }.profile-nav { align-content: center; }.sidebar-links { align-content: center; }
  .welcome-panel { padding: 32px 225px 32px 27px; }.welcome-art { right: -35px; transform: rotate(-4deg) scale(.72); }
}

@media (max-width: 620px) {
  .profile-page .site-header { position: relative; }
  .profile-login-wall { padding: 50px 22px; }.profile-login-wall h1 { font-size: 30px; }
  .profile-sidebar { display: block; }.account-card { padding: 22px; }.profile-nav { display: flex; gap: 3px; overflow-x: auto; }.profile-nav a { flex: 0 0 72px; min-width: 72px; min-height: 62px; padding: 7px 5px; display: flex; flex-direction: column; justify-content: center; gap: 3px; text-align: center; font-size: 10px; }.profile-nav a i { position: absolute; margin: -42px 0 0 38px; }.sidebar-links { display: none; }
  .welcome-panel { min-height: 330px; padding: 29px 24px 140px; align-items: flex-start; }.welcome-panel h2 { font-size: 33px; }.welcome-art { right: 4px; bottom: -31px; transform: rotate(-4deg) scale(.64); }.welcome-actions a { flex: 1; justify-content: center; padding: 0 10px; }
  .profile-stat-grid { grid-template-columns: 1fr 1fr; }.profile-stat-grid article { min-height: 116px; padding: 16px; }.profile-stat-grid strong { font-size: 31px; }
  .reviewer-card { grid-template-columns: 88px 1fr; }.reviewer-visual strong { font-size: 50px; }.reviewer-content { padding: 22px 18px; }.reviewer-content h2 { margin-top: 37px; font-size: 22px; }.status-chip { left: 18px; right: auto; top: 45px; }.reviewer-content p { font-size: 12px; }
  .profile-section { padding: 20px 15px; }.profile-section-head { align-items: flex-start; }.profile-section-head h2 { font-size: 22px; }.profile-section-head p { display: none; }.profile-section-head > a { min-height: 36px; padding: 0 10px; font-size: 10px; }
  .entry-card { padding: 14px; }.entry-cover { grid-template-columns: 50px minmax(0,1fr); }.entry-logo { width: 50px; height: 50px; }.entry-score { grid-column: 1/-1; padding: 9px 0 0; display: flex; align-items: baseline; gap: 6px; border: 0; text-align: left; }.entry-score strong { font-size: 20px; }.entry-progress > div span:nth-child(2),.entry-progress > div span:nth-child(3) { display: none; }
  .message-row { grid-template-columns: 36px minmax(0,1fr); }.message-icon { width: 36px; height: 36px; }.message-row > b { grid-column: 2; width: max-content; }
  .shared-profile-card > header { padding: 20px; align-items: flex-start; }.shared-profile-card header p { max-width: 220px; line-height: 1.5; }.profile-sync-state { padding: 6px 8px; font-size: 8px; }
  .shared-profile-body { padding: 20px; grid-template-columns: 1fr; gap: 17px; }.shared-tags { grid-column: auto; grid-template-columns: 1fr 1fr; }.shared-profile-actions { gap: 12px; }.shared-profile-actions button { flex: 0 0 auto; padding: 0 12px; }
  .profile-editor-modal { padding: 8px; }.profile-editor-dialog { max-height: calc(100vh - 16px); border-radius: 18px; }.profile-editor-dialog > header,.profile-editor-dialog form { padding-left: 18px; padding-right: 18px; }.editor-form-grid { grid-template-columns: 1fr; gap: 0; }.avatar-editor { align-items: flex-start; }.editor-avatar { width: 66px; height: 66px; }
}
