/* Compact member workspace. All rules are confined to the profile page. */
.profile-page .portal-main{background:#FFFFFF;padding:26px 24px 32px}.profile-page .portal-wrap{max-width:1120px}.profile-page .portal-kicker{font-size:12px;letter-spacing:.09em}.profile-page .portal-main h1{font-size:30px;letter-spacing:-.035em;line-height:1.2;margin:6px 0 18px}
.profile-page .profile-head{grid-template-columns:88px minmax(0,1fr);gap:18px;border-radius:20px;padding:22px 24px;background:linear-gradient(115deg,#e8f6fa 0%,#fff 75%);border-color:#d5e9ef;box-shadow:0 4px 20px rgba(24,59,78,.035)}.profile-page .profile-avatar{width:82px;height:82px;border:3px solid #fff;outline:1px solid #bddfe8;box-shadow:0 4px 12px #279FE312}.profile-page .profile-avatar-wrap{gap:7px}.profile-page .avatar-change{font-size:14px;padding:4px 10px;background:#fff;border:1px solid #cce5ec}.profile-page .profile-name{font-size:25px;line-height:1.25;font-weight:800;overflow-wrap:anywhere;margin-bottom:5px}.profile-page .profile-rank{font-size:14px;font-weight:700;color:#02BFE3}.profile-page .profile-email{font-size:14px;overflow-wrap:anywhere;margin-top:4px;color:#344F5C}.profile-page .profile-membership-row{margin:10px 0 8px}.profile-page .member-pill{font-size:14px;padding:5px 10px;background:#02BFE3;color:white}.profile-page .profile-edit-action{margin:8px 0 0}.profile-page .profile-edit-action .btn{font-size:14px;min-height:40px;padding:9px 14px;border-radius:10px;font-weight:750}.profile-page .avatar-message{font-size:14px;min-height:0;margin:8px 0 0}.profile-page .avatar-message:empty{display:none}
.profile-page #profile-member .profile-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.profile-page .profile-stat{min-width:0;padding:16px;border-radius:16px;display:flex;flex-direction:column;align-items:flex-start;box-shadow:none}.profile-page .profile-stat small{font-size:14px;font-weight:600;text-transform:none}.profile-page .profile-stat strong{font-size:26px;line-height:1.2;font-weight:800;margin:7px 0;color:#062F3D;overflow-wrap:anywhere}.profile-page .profile-stat span{color:#344F5C;font-size:14px;line-height:1.45;overflow-wrap:anywhere}.profile-page .profile-stat .mini-action{margin:12px 0 0;font-size:14px;padding:5px 10px;background:#eaf6f9;color:#02BFE3;border-radius:8px;font-weight:750}.profile-page .profile-stat.coins{background:linear-gradient(135deg,#02BFE3,#2795ad);border-color:#02BFE3}.profile-page .profile-stat.coins small,.profile-page .profile-stat.coins strong,.profile-page .profile-stat.coins span{color:white}.profile-page .profile-stat.coins .mini-action{background:white;color:#02BFE3}.profile-page #challenge-points{font-size:14px}
.profile-page .checkin-card{margin:12px 0 0;padding:18px 20px;border:1px solid #f5d4cc;border-radius:18px;background:linear-gradient(110deg,#fff0eb,#fff8f6);color:#062F3D;gap:8px 16px}.profile-page .checkin-card small{font-size:12px;color:#9e4950;opacity:1;letter-spacing:.06em}.profile-page .checkin-card h2{font-size:21px;line-height:1.3;margin:4px 0 5px}.profile-page .checkin-card p{font-size:14px;line-height:1.5;color:#344F5C;opacity:1}.profile-page .checkin-card .btn{background:#E96D6F;color:white;min-height:44px;padding:10px 16px;border-radius:10px;font-size:14px;font-weight:750;white-space:nowrap}.profile-page .checkin-message:empty{display:none}.profile-page .checkin-message{font-weight:650}
.profile-page .profile-books{margin:12px 0 0;padding:20px;border:1px solid #d5e9ef;border-radius:18px;background:white}.profile-page .profile-books .section-heading{margin-bottom:8px;gap:10px}.profile-page .profile-books small{font-size:12px;letter-spacing:.07em}.profile-page .profile-books h2{font-size:21px;line-height:1.3;margin:4px 0}.profile-page #ebook-state{font-size:14px;color:#344F5C;margin:0 0 12px}.profile-page #ebook-downloads{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.profile-page #ebook-downloads .btn{font-size:14px;line-height:1.5;padding:12px 14px;min-height:46px;text-align:left;justify-content:flex-start;border-radius:10px;box-shadow:none;background:#E8F9FC;color:#02BFE3;border:1px solid #d5e9ef;font-weight:650;white-space:normal;overflow-wrap:anywhere}.profile-page #ebook-downloads .btn:hover{background:#e0f0f5}
.profile-page .profile-history-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;align-items:start}.profile-page .profile-disclosure{border:1px solid #D0E6EC;border-radius:16px;background:white;min-width:0;overflow:hidden}.profile-page .profile-disclosure summary{display:grid;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:12px;padding:16px;cursor:pointer;list-style:none}.profile-page .profile-disclosure summary::-webkit-details-marker{display:none}.profile-page .profile-disclosure summary::after{content:'⌄';font-size:22px;color:#02BFE3;text-align:center;transition:transform .15s}.profile-page .profile-disclosure[open] summary::after{transform:rotate(180deg)}.profile-page .profile-disclosure[open] summary{border-bottom:1px solid #e7eff1}.profile-page .profile-disclosure-label{display:block;min-width:0}.profile-page .profile-disclosure-label small{display:block;color:#344F5C;font-size:12px;letter-spacing:.04em;font-weight:650;margin-bottom:4px}.profile-page .profile-disclosure-label strong{display:block;color:#062F3D;font-size:16px;line-height:1.35;font-weight:750}.profile-page .history-total{min-width:0;border-radius:9px;padding:7px 9px;text-align:right;background:#E8F9FC;margin:0}.profile-page .history-total span{font-size:12px;max-width:105px;line-height:1.4;font-weight:500}.profile-page .history-total strong{font-size:16px;white-space:nowrap;line-height:1.4}.profile-page .reward-history{gap:0;max-height:400px;overflow:auto;padding:0 14px}.profile-page .history-item{grid-template-columns:32px minmax(0,1fr) auto;padding:13px 0;gap:9px;border:0;border-bottom:1px solid #edf2f5;box-shadow:none;border-radius:0}.profile-page .history-item:last-child{border-bottom:0}.profile-page .history-icon{width:32px;height:32px;font-size:18px;border-radius:9px}.profile-page .history-item h3{font-size:14px;line-height:1.45;font-weight:650;margin:0 0 3px}.profile-page .history-item p{font-size:12px}.profile-page .history-item>strong{font-size:14px;grid-column:auto}.profile-page .history-empty{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:16px 0;border:0;background:none;box-shadow:none;border-radius:0}.profile-page .history-empty>span{font-size:20px}.profile-page .history-empty>div{flex:1;min-width:150px}.profile-page .history-empty strong,.profile-page .history-empty p{font-size:14px;line-height:1.45}.profile-page .history-empty .mini-action{margin:0;font-size:14px}
.profile-page .membership-section{margin-top:12px}.profile-page .membership-section summary{grid-template-columns:1fr 18px}.profile-page .membership-intro{font-size:14px;margin:14px 16px;color:#344F5C;max-width:750px}.profile-page .membership-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0 16px 16px}.profile-page .membership-card{padding:15px;border-radius:12px;min-width:0;box-shadow:none}.profile-page .membership-top{font-size:12px;gap:8px;letter-spacing:0;flex-wrap:wrap}.profile-page .membership-card h3{font-size:18px;line-height:1.3;margin:10px 0 5px}.profile-page .membership-role,.profile-page .membership-condition,.profile-page .membership-card li{font-size:14px;line-height:1.5}.profile-page .membership-condition{min-height:0;margin:8px 0}.profile-page .membership-card ul{margin:12px 0 0;gap:6px}.profile-page .membership-card li{padding-left:18px}.profile-page .membership-card.current{background:#fff7f5}.profile-page .profile-empty{min-height:280px;margin-top:0;padding:26px;border-radius:20px;gap:0}.profile-page .profile-empty h2{font-size:22px}.profile-page .profile-empty p{font-size:16px;margin-bottom:16px}.profile-page .profile-empty .btn{font-size:16px;min-height:44px;padding:10px 18px}.profile-page .profile-empty-icon{width:56px;height:56px;font-size:27px}.profile-page a:focus-visible,.profile-page button:focus-visible,.profile-page summary:focus-visible{outline:3px solid #02BFE3;outline-offset:3px}
@media(max-width:1200px){.profile-page .membership-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-page .profile-history-grid{grid-template-columns:1fr}.profile-page .profile-disclosure summary{grid-template-columns:1fr auto 18px}.profile-page .membership-section summary{grid-template-columns:1fr 18px}}
@media(max-width:950px){.profile-page #profile-member .profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.profile-page .portal-main{padding:18px 14px 24px}.profile-page .portal-main h1{font-size:27px;margin-bottom:14px}.profile-page .profile-head{grid-template-columns:70px minmax(0,1fr);gap:14px;padding:18px 16px;text-align:left}.profile-page .profile-avatar{width:66px;height:66px;margin:0}.profile-page .profile-name{font-size:22px}.profile-page .profile-rank{font-size:14px}.profile-page .profile-identity{min-width:0}.profile-page .profile-stat{padding:14px}.profile-page .profile-stat strong{font-size:24px}.profile-page .checkin-card{grid-template-columns:1fr;padding:16px}.profile-page .checkin-card .btn{width:100%;margin-top:4px}.profile-page .checkin-message{grid-column:auto}.profile-page .profile-books{padding:16px}.profile-page #ebook-downloads{grid-template-columns:1fr!important}.profile-page .profile-disclosure summary{padding:14px;gap:10px}.profile-page .membership-grid{grid-template-columns:1fr}.profile-page .history-empty{padding:14px 0}.profile-page .history-item{grid-template-columns:32px minmax(0,1fr) auto}.profile-page .history-total{padding:6px 8px}.profile-page .profile-empty{padding:24px 16px}}
@media(max-width:360px){.profile-page .profile-stat strong{font-size:22px}.profile-page .history-item{grid-template-columns:32px minmax(0,1fr)}.profile-page .history-item>strong{grid-column:2}.profile-page .profile-disclosure summary{gap:7px}.profile-page .history-total span{max-width:80px}}
@media(prefers-reduced-motion:reduce){.profile-page *{transition:none!important}}
