/* Personal workspace: the same quiet blue and white surfaces as the forum. */
body.forum-profile { --text-color:#20334f; --text-secondary:#708096; --border-color:#e7edf4; --primary-color:#2869c9; --accent-color:#2869c9; color:#20334f; background:#f5f7fa; }
html { overflow-y:scroll; }
.forum-profile [hidden] { display:none !important; }
.forum-profile .container { max-width:1200px; padding-inline:24px; }
.forum-profile :is(a,button,input,select,textarea,[tabindex]):focus-visible { outline:2px solid #6792db; outline-offset:3px; }
.forum-profile button { font-family:inherit; cursor:pointer; }
.profile-skip-link { position:fixed; top:-90px; left:20px; z-index:2000; padding:10px 16px; border-radius:4px; background:white; color:#2463cb; }.profile-skip-link:focus { top:10px; }
.forum-profile .main { display:grid; grid-template-columns:204px minmax(0,1fr); align-items:start; gap:18px; margin:20px auto 32px; max-width:none; opacity:0; transition:opacity .2s; }
.forum-profile .main.loaded { opacity:1; }
.profile-hero,.forum-profile .profile-sidebar,.forum-profile .profile-section,.profile-page-status { border:1px solid #e5ebf3; border-radius:7px; background:#fff; box-shadow:0 1px 3px #15274b03; }
.profile-hero { grid-column:1 / -1; overflow:hidden; }
.profile-hero-main { display:flex; position:relative; align-items:center; gap:22px; min-height:166px; padding:26px 32px; background:#edf5fe; overflow:hidden; }
.profile-cover-art { position:absolute; top:50%; right:0; transform:translateY(-50%); width:480px; height:240px; max-width:none; object-fit:contain; pointer-events:none; mask-image:linear-gradient(to right,transparent,#000 22%); }
.forum-profile .profile-avatar-wrapper { flex:0 0 84px; width:84px; height:84px; position:relative; margin:0; }
.forum-profile .profile-avatar { width:84px; height:84px; border:4px solid #fff; border-radius:15px; object-fit:cover; background:#fff; box-shadow:0 3px 10px #234c7710; }
.forum-profile .avatar-upload-btn { width:28px; height:28px; border:1px solid #dae6f5; background:#fff; bottom:-4px; right:-4px; }.forum-profile .avatar-upload-btn:hover { background:#e7f1ff; }
.profile-user-info { position:relative; width:calc(100% - 465px); min-width:0; }
.profile-hello { margin:0 0 7px; font-size:12px; letter-spacing:.7px; color:#577ba4; }
.forum-profile #profile-username { font-size:26px; line-height:1.4; font-weight:650; color:#24476f; margin:0 0 9px; overflow-wrap:anywhere; }
.forum-profile .profile-signature { font-size:13px; line-height:1.85; max-width:none; margin:0; color:#58728e; white-space:pre-line; overflow-wrap:anywhere; }
.profile-hero-bottom { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 30px; }
.forum-profile .profile-stats { display:flex; align-items:center; justify-content:flex-start; gap:0; border:0; padding:0; margin:0; min-width:0; }
.forum-profile .profile-stat { display:flex; align-items:center; gap:10px; text-align:left; padding:0 27px; border-right:1px solid #e9eef5; min-width:0; }
.forum-profile .profile-stat:first-child { padding-left:0; }.forum-profile .profile-stat:last-child { border:0; }
.forum-profile .profile-stat .stat-value { color:#29496f; font-size:22px; font-weight:650; line-height:1.3; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.forum-profile .profile-stat .stat-label { font-size:12px; color:#7a8ba2; margin-top:3px; white-space:nowrap; }
.forum-profile .profile-minerals .stat-value { font-size:15px; line-height:1.65; max-width:230px; }
.profile-hero-actions { display:flex; align-items:center; gap:22px; flex-shrink:0; }
.profile-public-link { color:#5d7ca0; font-size:13px; white-space:nowrap; }.profile-public-link:hover { color:#2463cb; }.profile-public-link>span { margin-left:4px; }
.profile-ui-icon { display:inline-block; width:24px; height:24px; object-fit:contain; flex:0 0 auto; vertical-align:middle; }
.profile-stat>.profile-ui-icon { width:33px; height:33px; }
.forum-profile .btn { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:37px; padding:8px 15px; border:1px solid #dce6f3; border-radius:5px; color:#4b6d96; background:#fff; font-size:13px; line-height:1.5; box-shadow:none; text-decoration:none; white-space:nowrap; }
.forum-profile .btn:hover { background:#eef4fd; border-color:#b5cdec; }
.forum-profile .btn-primary { color:#fff; background:#2869c9; border-color:#2869c9; }.forum-profile .btn-primary:hover { color:#fff; background:#2058ac; border-color:#2058ac; }
.forum-profile .btn .profile-ui-icon { width:20px; height:20px; }.forum-profile .btn:disabled { opacity:.6; cursor:wait; }.forum-profile .btn-sm { min-height:32px; padding:6px 11px; font-size:12px; }
.forum-profile .profile-sidebar { width:auto; min-width:0; padding:12px 10px; margin:0; }
.forum-profile .profile-menu { display:block; background:transparent; border:0; border-radius:0; box-shadow:none; white-space:normal; }
.profile-menu-group { margin:10px 12px 6px; color:#8a9aae; font-size:11px; letter-spacing:.5px; }.profile-menu-group:first-child { margin-top:5px; }
.forum-profile .profile-menu-item { gap:10px; padding:7px 12px; min-height:41px; border:0; border-radius:5px; color:#647790; font-size:13px; margin:2px 0; transition:background .15s,color .15s; }
.forum-profile .profile-menu-item:hover { color:#2869c9; background:#f4f7fc; }.forum-profile .profile-menu-item.active { color:#2869c9; background:#eaf2ff; font-weight:600; }
.forum-profile .profile-menu-item .profile-ui-icon { width:27px; height:27px; }
.forum-profile .menu-badge { right:7px; background:#3678ce; font-size:10px; min-width:16px; padding:0 4px; line-height:17px; border-radius:9px; }
.profile-back-home { display:flex; align-items:center; justify-content:center; gap:6px; margin:15px 8px 2px; padding-top:15px; border-top:1px solid #edf1f6; font-size:12px; color:#7890ac; }.profile-back-home:hover { color:#2463cb; }.profile-back-home .profile-ui-icon { width:22px; height:22px; }
.forum-profile .profile-content { width:auto; min-width:0; margin:0; scroll-margin-top:85px; }
.forum-profile .profile-tab-content { display:none; }.forum-profile .profile-tab-content.active { display:block; }
.forum-profile .profile-section { padding:23px 26px; margin:0; min-height:400px; overflow:visible; }
.forum-profile .section-title { display:flex; align-items:center; gap:10px; margin:0 0 7px; padding:0 0 17px; border-bottom:1px solid #edf1f6; font-size:17px; line-height:1.6; font-weight:600; }
.forum-profile .section-title .profile-ui-icon { width:29px; height:29px; }
.forum-profile .section-header { margin-bottom:8px; gap:12px; padding-bottom:16px; border-bottom:1px solid #edf1f6; }.forum-profile .section-header .section-title { padding:0; margin:0; border:0; }
.profile-section-heading { padding-bottom:19px; border-bottom:1px solid #edf1f6; margin-bottom:24px; }.profile-section-heading .section-title { padding:0; margin:0 0 6px; border:0; }.profile-section-heading>p { color:#7a8ca3; font-size:12px; margin:0 0 0 39px; }
.profile-info-grid { display:grid; grid-template-columns:minmax(0,1fr) 205px; gap:28px; align-items:start; }
.forum-profile .profile-form { max-width:none; min-width:0; }
.forum-profile .form-row { display:flex; flex-direction:row; align-items:flex-start; margin:0 0 20px; gap:0; }.forum-profile .form-row:last-child { margin-bottom:0; }
.forum-profile .form-row .form-label { flex:0 0 73px; width:73px; text-align:left; color:#536982; font-size:13px; line-height:38px; padding:0 10px 0 0; margin:0; }
.forum-profile .form-value { flex:1; min-width:0; }
.forum-profile :is(.form-input,.form-select,.form-textarea) { width:100%; color:#2e4663; background:#fff; font-family:inherit; border:1px solid #dce5f0; border-radius:5px; padding:9px 11px; font-size:13px; line-height:1.5; box-shadow:none; }
.forum-profile :is(.form-input,.form-select,.form-textarea):focus { border-color:#75a0db; box-shadow:0 0 0 3px #2b6ec710; }
.forum-profile .form-input:disabled { background:#f7f9fc; border-color:#e8edf4; color:#718198; }
.forum-profile #form-signature { height:110px; min-height:110px; max-height:210px; resize:vertical; }
.forum-profile .form-hint { font-size:11px; color:#8391a4; margin-top:6px; line-height:1.8; }
.profile-signature-count { text-align:right; }
.profile-actions-row .form-value { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }.profile-save-status { color:#5e7fa4; font-size:12px; }
.forum-profile .profile-meta-list { display:block; margin:0; max-width:none; padding:0 0 0 22px; border-left:1px solid #edf1f6; }
.profile-info-art { display:block; width:100%; height:135px; object-fit:contain; margin:0 auto 12px; }
.profile-meta-list>h3 { font-size:13px; line-height:1.8; color:#4a6e96; font-weight:500; margin:0 0 19px; text-align:center; }
.forum-profile .info-item { display:block; padding:12px 0; border-top:1px solid #edf1f6; }.forum-profile .info-label { display:block; font-size:11px; color:#8695a9; margin-bottom:4px; }.forum-profile .info-value { font-size:13px; color:#5e7491; overflow-wrap:anywhere; }
.forum-profile .content-list { min-width:0; }
.forum-profile .content-item { min-width:0; padding:19px 0; border:0; border-bottom:1px solid #edf1f6; margin:0; border-radius:0; background:transparent; }.forum-profile .content-item:last-child { border-bottom:0; }
.forum-profile .content-item.thread-item { cursor:default; }.forum-profile .content-item.thread-item:hover { background:transparent; }
.forum-profile .item-title { font-size:16px; font-weight:550; line-height:1.75; white-space:normal; overflow:visible; overflow-wrap:anywhere; color:#294360; margin-bottom:10px; }.forum-profile .item-title:hover { color:#2869c9; }
.forum-profile .item-meta { display:flex; gap:7px 17px; font-size:12px; color:#8190a4; align-items:center; line-height:1.8; overflow-wrap:anywhere; }.forum-profile .item-meta a { color:#5e80a9; }
.profile-item-stat { display:inline-flex; align-items:center; gap:4px; white-space:nowrap; }.profile-item-stat .profile-ui-icon { width:20px; height:20px; }
.forum-profile :is(.coins-date-filter,.history-date-filter) { font-size:12px; color:#73859c; border:0; margin:17px 0; padding:0; gap:10px; flex-wrap:wrap; }
.forum-profile .date-range-picker { height:36px; margin:0; border-color:#dfe8f4; background:#f8fafe; max-width:100%; padding:0 10px; }.forum-profile .date-icon { width:21px; height:21px; }
.forum-profile .date-range-input { width:199px; font-size:12px; color:#587395; }.forum-profile .date-range-input::placeholder { color:#8a9cb2; }
.profile-date-reset { color:#527cae; background:transparent; border:0; padding:6px 0; font-size:12px; }
.forum-profile .flatpickr-calendar { border-color:#e0e8f4; box-shadow:0 7px 25px #173d7020; }
.forum-profile .flatpickr-calendar { width:280px; }.forum-profile .flatpickr-rContainer,.forum-profile .flatpickr-days,.forum-profile .dayContainer { width:278px; min-width:278px; max-width:278px; }.forum-profile .flatpickr-day { max-width:39px; }
.forum-profile :is(.coins-date-header,.history-date-header) { background:#f4f7fb; color:#7b8ea8; font-size:11px; font-weight:500; border:0; border-radius:4px; padding:8px 11px; margin:0; }
.forum-profile :is(.coins-date-group,.history-date-group) { margin-bottom:14px; }.forum-profile :is(.coins-date-items,.history-date-items) { padding:0; border:0; }
.forum-profile :is(.coin-record-header,.history-record-header) { display:flex; align-items:center; gap:7px; margin:0 0 9px; }.forum-profile :is(.coin-record-time,.history-record-time) { font-size:12px; color:#7b8ba0; }
.forum-profile :is(.coin-record-header,.history-record-header) .profile-ui-icon { width:22px; height:22px; }
.forum-profile :is(.coin-record-content,.history-record-content) { padding:13px 15px; border:1px solid #edf1f6; border-radius:5px; background:#fafbfd; }
.forum-profile :is(.coin-record-main,.history-record-main) { display:flex; align-items:baseline; gap:6px; min-width:0; }
.forum-profile :is(.coin-record-title,.history-record-title) { color:#304b6c; font-size:15px; font-weight:550; line-height:1.7; white-space:normal; overflow-wrap:anywhere; }.forum-profile :is(.coin-record-title,.history-record-title):hover { color:#2869c9; }
.forum-profile .coin-essence-badge { background:#fbf4e4; color:#9a7b3d; font-size:10px; border:0; border-radius:3px; padding:0 4px; }
.forum-profile :is(.coin-record-summary,.history-record-summary) { font-size:12px; line-height:1.8; color:#8592a4; margin:6px 0; overflow-wrap:anywhere; }.forum-profile :is(.coin-record-summary,.history-record-summary):empty { display:none; }
.forum-profile :is(.coin-record-meta,.history-record-meta) { display:flex; align-items:center; gap:7px; flex-wrap:wrap; margin-top:9px; font-size:11px; color:#8797ac; }
.forum-profile :is(.coin-record-author,.history-record-author,.coin-record-date,.history-record-date) { color:#7a8ea8; }.forum-profile :is(.coin-record-avatar,.history-record-avatar) { width:24px; height:24px; }.forum-profile :is(.coin-record-avatar,.history-record-avatar) img { width:24px; height:24px; object-fit:cover; border-radius:50%; }
.forum-profile .message-tabs { gap:7px; margin:16px 0 8px; flex-wrap:wrap; }.forum-profile .message-tab { border:1px solid transparent; background:transparent; padding:6px 13px; font-size:12px; border-radius:4px; color:#7b8ca3; }.forum-profile .message-tab.active { color:#2869c9; background:#edf4ff; border-color:#e0eaf9; font-weight:550; }
.forum-profile .message-item { gap:12px; align-items:flex-start; padding:16px 12px; border-radius:4px; }.forum-profile .message-item.unread { background:#f2f7ff; }.forum-profile .message-item:hover { background:#f5f8fc; }.forum-profile .message-content { min-width:0; }.forum-profile .message-text { font-size:13px; color:#607692; line-height:1.85; overflow-wrap:anywhere; }.forum-profile .message-text-unread { color:#334e70; font-weight:550; }.forum-profile .message-time { font-size:11px; color:#8a99ae; }
.forum-profile .draft-item { gap:12px; flex-wrap:wrap; }.forum-profile .draft-title { color:#355375; font-size:14px; line-height:1.8; white-space:normal; overflow-wrap:anywhere; }.forum-profile .draft-time { font-size:11px; color:#8294ac; }.forum-profile .draft-actions { margin:0; }
.forum-profile .reply-content { color:#496583; font-size:14px; line-height:1.9; padding:12px 15px; margin:0 0 10px; border-radius:4px; background:#f6f9fd; border-left:3px solid #d8e6f8; overflow-wrap:anywhere; }
.forum-profile .user-item { display:flex; gap:12px; justify-content:space-between; align-items:center; }.forum-profile .user-info { min-width:0; }.forum-profile .block-user-link { display:flex; gap:10px; align-items:center; }.forum-profile .user-avatar { width:40px; height:40px; border-radius:8px; object-fit:cover; flex-shrink:0; }.forum-profile .user-name { color:#4b698c; font-size:13px; overflow-wrap:anywhere; }
.profile-empty { text-align:center; padding:30px 12px 35px; color:#7f90a6; }.profile-empty>img { display:block; width:170px; height:132px; object-fit:contain; margin:0 auto 16px; }.profile-empty h3 { font-size:16px; line-height:1.7; font-weight:550; color:#4e6c92; margin:0 0 8px; }.profile-empty p { font-size:13px; line-height:1.9; margin:0 0 20px; }.profile-empty>a { font-size:12px; color:#447ebf; }
.forum-profile .loading-state { display:flex; gap:10px; align-items:center; justify-content:center; min-height:170px; font-size:13px; color:#7f92ae; }
.forum-profile .load-more-spinner { width:17px; height:17px; border:2px solid #dce7f6; border-top-color:#5286ca; border-radius:50%; animation:profile-loading-spin .8s linear infinite; }
.forum-profile .pagination { margin:18px 0 0; gap:7px; }.forum-profile .pagination:empty { display:none; }.forum-profile .page-btn { border-color:#e1e9f4; color:#6c86a7; padding:6px 11px; min-height:33px; font-size:12px; }.forum-profile .page-btn.active { color:#fff; background:#3978c8; border-color:#3978c8; }
.profile-page-status { grid-column:1 / -1; text-align:center; padding:50px 24px; }.profile-page-status>img { object-fit:contain; margin-bottom:20px; }.profile-page-status>h1 { font-size:22px; color:#355980; margin:0 0 12px; }.profile-page-status>p { font-size:14px; color:#7b8fa8; line-height:1.8; margin:0 0 24px; }.profile-page-status .profile-back-home { display:table; margin:20px auto 0; padding:0; border:0; }
.forum-profile .site-footer { margin-top:20px; color:#95a1b2; }
@keyframes profile-loading-spin { to { transform:rotate(360deg); } }
@media (max-width:1050px) {
 .forum-profile .main { grid-template-columns:180px minmax(0,1fr); gap:15px; }.forum-profile .profile-section { padding:22px; }.profile-info-grid { grid-template-columns:minmax(0,1fr) 170px; gap:20px; }.forum-profile .profile-meta-list { padding-left:16px; }.forum-profile .profile-stat { padding-inline:19px; }.profile-hero-actions { gap:15px; }.profile-hero-main { padding-inline:26px; }.profile-hero-bottom { padding-inline:26px; }.profile-user-info { width:calc(100% - 370px); }.profile-cover-art { width:450px; height:225px; }.forum-profile .profile-minerals .stat-value { max-width:180px; }
}
@media (max-width:850px) {
 .profile-info-grid { grid-template-columns:minmax(0,1fr); }.forum-profile .profile-meta-list { border-left:0; border-top:1px solid #edf1f6; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding:18px 0 0; }.profile-meta-list>.profile-info-art,.profile-meta-list>h3 { display:none; }.forum-profile .info-item { padding:0; border:0; }.profile-hero-actions { flex-direction:column-reverse; gap:8px; }.forum-profile .profile-minerals .stat-value { max-width:145px; }.forum-profile #profile-username { font-size:23px; }.profile-user-info { width:calc(100% - 295px); }.profile-cover-art { width:390px; height:195px; }
}
@media (max-width:680px) {
 .forum-profile .container { padding-inline:12px; }.forum-profile .main { grid-template-columns:minmax(0,1fr); margin:12px auto 25px; gap:12px; }.profile-hero-main { min-height:149px; padding:22px 18px; align-items:flex-start; gap:14px; }.profile-cover-art { width:280px; height:140px; top:auto; bottom:-10px; right:-20px; transform:none; opacity:.22; }.forum-profile .profile-avatar-wrapper { width:64px; height:64px; flex-basis:64px; }.forum-profile .profile-avatar { width:64px; height:64px; border-radius:12px; border-width:3px; }.profile-user-info { width:auto; flex:1; }.profile-hello { font-size:10px; letter-spacing:.3px; }.forum-profile #profile-username { font-size:21px; margin-bottom:6px; }.forum-profile .profile-signature { font-size:12px; }.profile-hero-bottom { display:block; padding:14px 18px; }.forum-profile .profile-stats { display:grid; grid-template-columns:1fr 1fr 1.25fr; }.forum-profile .profile-stat { padding:0 10px; gap:6px; align-items:center; }.profile-stat>.profile-ui-icon { width:27px; height:27px; }.forum-profile .profile-stat .stat-value { font-size:20px; }.forum-profile .profile-stat .stat-label { font-size:10px; }.forum-profile .profile-minerals .stat-value { font-size:12px; max-width:none; }.profile-hero-actions { flex-direction:row; margin-top:15px; padding-top:13px; border-top:1px solid #edf1f6; justify-content:space-between; gap:12px; }.profile-public-link { font-size:12px; }.profile-hero-actions .btn { min-height:34px; padding:6px 12px; font-size:12px; }
 .forum-profile .profile-sidebar { padding:7px; }.profile-menu-group,.profile-sidebar>.profile-back-home { display:none; }.forum-profile .profile-menu { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:2px; }.forum-profile .profile-menu-item { flex-direction:column; justify-content:center; gap:5px; padding:9px 1px; margin:0; font-size:11px; line-height:1.4; white-space:nowrap; }.forum-profile .profile-menu-item .profile-ui-icon { width:27px; height:27px; }.forum-profile .menu-badge { right:2px; top:3px; font-size:9px; line-height:15px; min-width:15px; }
 .forum-profile .profile-section { padding:19px 18px; min-height:350px; }.forum-profile .section-title { font-size:16px; gap:8px; }.forum-profile .section-title .profile-ui-icon { width:27px; height:27px; }.profile-section-heading { margin-bottom:21px; }.profile-section-heading>p { margin-left:35px; }.forum-profile .form-row .form-label { flex-basis:66px; width:66px; font-size:12px; }.forum-profile .form-hint { font-size:10px; }.forum-profile :is(.form-input,.form-select,.form-textarea) { font-size:14px; }.forum-profile .profile-meta-list { gap:10px; }.forum-profile .info-label { font-size:10px; }.forum-profile .info-value { font-size:11px; }
 .forum-profile .content-item { padding:17px 0; }.forum-profile .item-title { font-size:15px; }.forum-profile .item-meta { font-size:11px; gap:7px 12px; }.profile-item-stat .profile-ui-icon { width:18px; height:18px; }.forum-profile .section-header { flex-wrap:wrap; }.forum-profile .section-header .btn { font-size:11px; padding:5px 8px; min-height:31px; }.forum-profile .message-tabs { gap:3px; }.forum-profile .message-tab { padding:5px 10px; font-size:11px; }.forum-profile .message-item { padding-inline:8px; }.forum-profile .draft-actions { width:100%; padding-left:36px; }.profile-empty { padding:26px 0; }.profile-empty>img { width:150px; height:116px; }.profile-empty h3 { font-size:14px; }.profile-empty p { font-size:12px; }.forum-profile :is(.coin-record-content,.history-record-content) { padding:11px 12px; }.forum-profile :is(.coin-record-title,.history-record-title) { font-size:14px; }
 .forum-profile .date-range-input { width:181px; }.forum-profile .page-btn { padding:6px 9px; font-size:11px; }.profile-page-status { padding:35px 16px; }.profile-page-status>h1 { font-size:19px; }.profile-page-status>p { font-size:13px; }
}
@media (max-width:360px) {
 .forum-profile .profile-section { padding-inline:14px; }.forum-profile .profile-stat { padding-inline:7px; gap:4px; }.profile-stat>.profile-ui-icon { width:23px; height:23px; }.forum-profile .profile-menu-item { font-size:10px; }.forum-profile .form-row { flex-direction:column; }.forum-profile .form-row .form-label { width:100%; flex-basis:auto; line-height:1.5; margin-bottom:8px; }.forum-profile .form-value { width:100%; }.profile-actions-row>.form-label { display:none; }.forum-profile .date-range-picker { width:100%; }.forum-profile .date-range-input { width:195px; }
}
@media (prefers-reduced-motion:reduce) { .forum-profile *, .forum-profile *::before { transition:none !important; animation:none !important; } }

.forum-profile .profile-menu-item span:not(.menu-badge) { display:block; }
