@view-transition {navigation:none}
body[data-page="login"] .auth {overflow-wrap:anywhere}
body[data-page="login"] [hidden] {display:none!important}
body[data-page="login"] .section-account {padding-block:clamp(28px,4vw,64px) clamp(48px,7vw,96px)}
.auth.signup {max-width:580px}
.auth .field input,.auth .field select {width:100%;min-width:0}
.auth .field select {font:inherit;padding:12px;color:var(--ui-text);background:var(--ui-bg);border:1px solid #446367;border-radius:5px}
.auth [aria-invalid=true] {outline:2px solid #efac98;outline-offset:2px}
.auth .profile-pair {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.auth .profile-check {display:flex;align-items:flex-start;gap:9px;font-size:15px;cursor:pointer}
.auth .profile-check input {width:20px;height:20px;flex:none;margin-top:3px}
.auth .profile-notice {padding:16px;background:var(--ui-bg);border:1px solid var(--ui-line);border-radius:6px;margin-top:14px}
.auth .profile-notice p,.auth .profile-hint {font-size:14px;margin:0;line-height:1.65}
.auth .profile-notice .profile-check,.auth .profile-hint {margin-top:8px}
.auth .profile-notice a,.auth .agree a,.auth .tiny a {text-decoration:underline;text-underline-offset:3px}

#auth.me {max-width:1120px;padding:0;background:transparent;border:0;box-shadow:none}
.me .profile-head,.me .profile-actions,.me .member-highlights section {display:flex;align-items:center;justify-content:space-between;gap:16px}
.me .member-heading {margin-bottom:24px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 16px}
.me .member-meta {grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 16px;margin:0}
.me .member-meta span {min-width:0;max-width:100%}
.me .member-meta .account-phone,.me .member-meta .account-joined {white-space:nowrap}
.me .member-meta .account-email {overflow-wrap:anywhere}
.me .member-heading h1 {font-size:clamp(30px,4.3vw,52px);margin-top:6px}
.me .member-heading p {font-size:15px}
.me .member-heading .btn,.me .profile-head .btn,.me .member-highlights .btn,.me .tile .btn {width:auto;margin:0;flex:none}
.me .member-section {min-width:0;padding:clamp(18px,2vw,28px);border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-surface)}
.me .member-section .section-title {margin:0;font-size:clamp(19px,1.8vw,24px);line-height:1.3;font-weight:600}
.me .member-overview,.me .member-columns {display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);gap:18px;align-items:start}
.me .member-overview {align-items:stretch}
.me .member-overview:has(#edit-form) {align-items:start}
.me .profile-data abbr {text-decoration:none}
.me .member-highlights {display:grid;grid-template-rows:1fr 1fr;gap:12px}
.me .member-columns,.me > .member-section {margin-top:18px}
.me #member-records:empty {display:none}
.me .profile-data {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 12px;margin-top:18px}
.me .profile-data dt {color:var(--ui-muted);font-size:14px}
.me .profile-data dd {margin-top:2px;font-size:clamp(19px,2vw,27px);line-height:1.35;font-weight:600}
.me .profile-location {grid-column:1/-1}
.me .profile-age {grid-column:1/-1;padding-bottom:16px;border-bottom:1px solid var(--ui-line)}
.me .profile-age dd small,.me .status-value small {margin-left:4px;font-size:14px;font-weight:400;color:var(--ui-muted)}
.me .profile-actions button {flex:1}
.me .profile-feedback {font-size:15px;color:var(--mint)}
.me .panel-link {font-size:14px;text-decoration:underline;text-underline-offset:4px}
.me .member-highlights .section-title {font-size:15px;font-weight:500;color:var(--ui-muted)}
.me .member-highlights .status-value {color:var(--ui-text);margin:2px 0 0;font:600 clamp(20px,2.4vw,30px)/1.35 var(--f-display)}
.me .member-highlights .points-total {background:#24231f;border-color:#6e5737}
.me .points-total .status-value {color:var(--ui-accent)}
.me .history-title {font-size:16px;margin-top:20px}
.me .ledger {margin-top:14px}
.me .tile {padding:14px 0;border:0;border-top:1px solid var(--ui-line);border-radius:0;margin:0}
.me .member-section > .tile:first-of-type {margin-top:14px}
.me .tile:last-of-type {padding-bottom:0}
.me .tile b {font-size:17px}
.me .member-highlights .btn,.me .profile-head .btn,.me .member-heading .btn {min-height:44px;font-size:14px}

@media(max-width:740px){
  .me .member-overview,.me .member-columns {grid-template-columns:1fr;gap:12px}
  .me .member-highlights {grid-template-rows:auto}
  .me .member-heading {margin-bottom:16px}
  .me .member-columns,.me > .member-section {margin-top:12px}
  .me .member-heading,.me .profile-head,.me .member-highlights section {gap:10px}
  .me .profile-data {gap:12px 8px;margin-top:12px}
  .me .profile-age {padding-bottom:10px}
  .me .member-highlights .status-value small {display:block;margin:2px 0 0}
  .me .member-highlights .btn {max-width:50%}
  .auth.signup {padding:20px}
  .me .tile .btn {flex:0 1 auto;max-width:48%}
}
.me .skin-history-detail h4 {margin:12px 0 6px;font-size:15px;font-weight:600}
.me .skin-history-detail dl > div {display:grid;grid-template-columns:1fr auto auto;gap:8px}
.me .skin-history-detail .skin-categories {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 12px}
.me .skin-categories li {padding:5px 0;font-size:14px}
.me #participation {margin:0 0 18px;border-color:#50635b;background:linear-gradient(118deg,#17393e,#152e32 74%,#29342e)}
.me .reward-head {display:flex;align-items:center;justify-content:space-between;gap:16px}
.me .reward-head p {margin:4px 0 0;color:var(--ui-muted)}
.me .reward-next {flex:none;width:auto;margin:0;min-height:44px}
.me .reward-offer strong {color:var(--ui-accent);font:600 clamp(23px,2.7vw,34px)/1.25 var(--f-display);margin-inline-end:6px}
.me .reward-progress {display:flex;align-items:center;gap:8px;margin-top:16px;color:var(--ui-muted);font-size:14px}
.me .reward-count {color:var(--ui-text);white-space:nowrap}
.me .reward-progress progress {margin-inline-start:6px;flex:1;min-width:0;height:6px;border:0;border-radius:3px;background:#324b4b;accent-color:var(--ui-accent);overflow:hidden}
.me .reward-progress progress::-webkit-progress-bar {background:#324b4b}
.me .reward-progress progress::-webkit-progress-value {background:var(--ui-accent)}
.me .reward-progress progress::-moz-progress-bar {background:var(--ui-accent)}
.me .reward-steps {display:flex;flex-wrap:wrap;gap:4px 18px;margin:8px 0 0;padding:0;list-style:none;font-size:14px;color:var(--ui-muted)}
.me .reward-steps .done {color:#bcdfd1}
.me .reward-steps li > span:first-child {display:inline-block;min-width:1.15em}
.me .reward-sr {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.auth #reward-notice .profile-check {margin-top:0;font-weight:600}
.auth #reward-notice p {margin:8px 0 0}
@media(max-width:740px){
  .me #participation {margin-bottom:12px}
  .me .member-highlights {grid-row:1}
  .me .reward-head {align-items:flex-start;flex-wrap:wrap;gap:10px}
  .me .reward-head .reward-next {width:100%}
  .me .reward-steps {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 8px}
}
