/* Personal hall: a lasting place for daily podium finishes. */
.me-view>.container { max-width:1120px; }
.me-top { justify-content:space-between; margin-bottom:20px; }.me-top h2 { font-size:16px; color:var(--muted); font-weight:600; }
.me-profile { position:relative; isolation:isolate; display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:25px; align-items:center; overflow:hidden; min-height:184px; padding:30px 32px; border:1px solid #d2ad653b; border-radius:24px; background:radial-gradient(ellipse at 2% 5%,#bc914124,transparent 65%),linear-gradient(110deg,#15131b,#0e111a 72%); color:#f8f0dc; box-shadow:0 12px 35px #00000013; }
.me-profile::before { content:''; position:absolute; z-index:-1; width:340px; height:340px; right:-75px; top:-155px; border:1px solid #bd985929; border-radius:50%; box-shadow:0 0 0 24px #bd985908,0 0 0 25px #bd98591c,0 0 0 55px #bd985905,0 0 0 56px #bd985914; pointer-events:none; }
.me-profile[data-best-rank="2"] { border-color:#b3cce042; background:radial-gradient(ellipse at 2% 5%,#91adc72a,transparent 65%),linear-gradient(110deg,#131923,#0e111a 72%); }
.me-profile[data-best-rank="3"] { border-color:#c58f6442; background:radial-gradient(ellipse at 2% 5%,#c4834824,transparent 65%),linear-gradient(110deg,#1b1517,#0e111a 72%); }
.me-portrait { position:relative; align-self:center; }.me-portrait>.avatar { width:94px; height:94px; border-radius:28px; box-shadow:0 0 0 1px #e6c78569,0 0 0 7px #dfbd7410,0 10px 30px #0006; }
.me-portrait-medal { position:absolute; right:-16px; bottom:-13px; width:44px; height:51px; filter:drop-shadow(0 3px 6px #0008); }
.honor-medal { width:100%; height:100%; display:block; }
.me-eyebrow { display:block; margin-bottom:11px; color:#bba77c; font:650 9px/1.5 system-ui,sans-serif; letter-spacing:.16em; }
.me-profile .me-name { font-size:28px; line-height:1.35; color:#fff4dc; }
.me-profile .me-sub { color:#9b9dab; font-size:12px; line-height:1.75; margin-top:7px; }
.me-profile .btn-ghost { color:#d0c7af; border-color:#c6b68d3c; background:#b8a16b09; }
.me-profile .me-name-form { flex-wrap:wrap; }.me-profile .me-name-form .text-input { background:#181c28; color:#fff4dc; border-color:#bfa56c70; }
.me-profile .me-name-form .btn-primary { color:#291d0a; background:#e9c982; border-color:#e9c982; }
.me-highest { display:flex; flex-direction:column; align-items:flex-end; gap:7px; padding:9px 0 9px 25px; border-left:1px solid #c6b68d24; text-align:right; }
.me-highest>span { font-size:10px; letter-spacing:.15em; color:#9f9276; }.me-highest>strong { font-size:22px; color:#f3d797; letter-spacing:.04em; }.me-highest>small { max-width:160px; color:#afa28b; font-size:11px; line-height:1.6; }
.me-stats { gap:12px; margin-top:16px; }.me-stat { position:relative; padding:19px 20px; border-radius:18px; overflow:hidden; }.me-stat::after { content:''; position:absolute; bottom:0; left:20px; width:32px; height:2px; border-radius:3px; background:var(--line); }
.me-stat.c-accent::after { background:var(--accent); }.me-stat.c-down::after { background:var(--down-1); }
.me-stat-value { margin:6px 0 4px; }.me-stat-value b { font-size:29px; letter-spacing:-.04em; }.me-stat-label { font-size:11px; letter-spacing:.025em; }.me-stat-sub { font-size:11px; }
.me-hint { font-size:12px; line-height:1.7; padding:11px 16px; }
.me-tabs { position:sticky; top:calc(var(--header-h) + 8px); z-index:5; display:flex; align-items:center; gap:5px; width:max-content; max-width:100%; margin:24px 0 18px; padding:5px; border:1px solid var(--line); border-radius:14px; background:var(--surface); box-shadow:0 5px 20px #00000009; }
.me-tab { padding:11px 23px; color:var(--muted); background:transparent; border:0; border-radius:10px; font-family:inherit; font-size:13px; font-weight:650; line-height:1.4; cursor:pointer; white-space:nowrap; }
.me-tab[aria-selected=true] { color:var(--ink); background:var(--surface-2); box-shadow:0 1px 4px #0000000c; }.me-tab:hover { color:var(--ink); }
.me-panel[hidden] { display:none!important; }.me-panel>.me-card:first-child { margin-top:0; }
.me-panel .me-card { padding:22px; border-radius:20px; }.me-panel .me-card-head { margin-bottom:15px; }.me-panel .me-run { padding:16px 0; }.me-run-main { overflow-wrap:anywhere; }.me-run-rates { margin-top:7px; }.me-run .main { flex:none; min-width:76px; text-align:right; }.me-run .main>b { font-size:20px; }
.me-device-name { display:block; color:var(--ink); font-size:14px; }.me-device-state { font-size:11px; color:var(--muted); }.me-actions { gap:10px; }.me-actions .btn { min-height:42px; font-size:12px; }
.honor-hall { --honor-gold:#b88b38; padding:27px; border:1px solid var(--line); border-radius:24px; background:var(--surface); box-shadow:0 8px 30px #00000006; }
.honor-hall-head { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:24px; }
.honor-eyebrow { color:var(--honor-gold); font:700 9px/1.4 system-ui,sans-serif; letter-spacing:.18em; }.honor-hall-head h3 { margin:7px 0 5px; color:var(--ink); font-size:24px; letter-spacing:-.035em; }.honor-description { color:var(--muted); font-size:12px; line-height:1.7; }
.honor-achievement { display:flex; flex-direction:column; text-align:right; gap:3px; flex:none; }.honor-achievement strong { font-size:34px; line-height:1.1; font-weight:800; letter-spacing:-.04em; color:var(--ink); font-variant-numeric:tabular-nums; }.honor-achievement span { font-size:11px; color:var(--muted); }
.honor-medals { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.honor-medal-card { --metal:#d3aa56; position:relative; display:flex; flex-direction:column; align-items:center; min-width:0; padding:18px 14px 20px; border:1px solid color-mix(in srgb,var(--metal) 30%,var(--line)); border-radius:20px; overflow:hidden; background:radial-gradient(ellipse at 50% 20%,color-mix(in srgb,var(--metal) 13%,transparent),transparent 80%),var(--surface); color:var(--ink); cursor:pointer; transition:transform .2s,border-color .2s,box-shadow .2s; }
.honor-medal-card[data-rank="2"] { --metal:#99b4cd; }.honor-medal-card[data-rank="3"] { --metal:#c48c64; }
.honor-medal-card::before { content:''; position:absolute; width:160px; height:160px; top:6px; left:50%; transform:translateX(-50%); border:1px solid color-mix(in srgb,var(--metal) 16%,transparent); border-radius:50%; box-shadow:0 0 0 12px color-mix(in srgb,var(--metal) 4%,transparent); pointer-events:none; }
.honor-medal-art { position:relative; width:102px; height:119px; margin-bottom:8px; filter:drop-shadow(0 5px 8px #0003); transition:transform .25s; }
.honor-medal-card:hover { transform:translateY(-3px); border-color:color-mix(in srgb,var(--metal) 65%,var(--line)); box-shadow:0 8px 26px color-mix(in srgb,var(--metal) 12%,transparent); }.honor-medal-card:hover .honor-medal-art { transform:translateY(-3px) rotate(-3deg); }
.honor-medal-card[aria-pressed=true] { border-color:var(--metal); box-shadow:inset 0 0 0 1px var(--metal); }
.honor-medal-title { font-size:15px; font-weight:750; letter-spacing:.1em; }.honor-medal-count { margin-top:7px; font-variant-numeric:tabular-nums; }.honor-medal-count strong { font-size:30px; line-height:1.15; font-weight:850; letter-spacing:-.04em; }.honor-medal-count small { margin-left:4px; font-size:11px; color:var(--muted); }
.honor-medal-sub { margin-top:7px; font-size:10px; color:var(--muted); letter-spacing:.12em; }.honor-medal-card.is-locked .honor-medal-art { opacity:.28; filter:grayscale(1); }.honor-medal-card.is-locked .honor-medal-count { color:var(--subtle); }
.honor-milestones { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:18px 0 27px; padding:17px 6px; border-bottom:1px solid var(--line); }
.honor-milestone { display:flex; flex-direction:column; align-items:center; gap:6px; min-width:0; border-right:1px solid var(--line); }.honor-milestone:last-child { border-right:0; }.honor-milestone span { font-size:10px; color:var(--muted); }.honor-milestone strong { font-size:13px; font-weight:650; color:var(--ink); overflow-wrap:anywhere; }
.honor-history-head { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin-bottom:15px; }.honor-history-head h4 { font-size:14px; font-weight:700; }
.honor-filters { display:flex; gap:3px; padding:3px; background:var(--surface-2); border-radius:10px; }.honor-filters button { padding:6px 13px; border:0; border-radius:7px; color:var(--muted); background:transparent; font-family:inherit; font-size:11px; font-weight:600; line-height:1.4; cursor:pointer; }.honor-filters button[aria-selected=true] { background:var(--surface); color:var(--ink); box-shadow:0 1px 5px #0000000d; }
.honor-history { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; align-items:start; }.honor-history[aria-busy=true] { opacity:.55; }
.honor-record { --metal:#c8a056; min-width:0; border:1px solid var(--line); border-radius:14px; overflow:hidden; background:var(--surface); }.honor-record[data-rank="2"] { --metal:#96afc7; }.honor-record[data-rank="3"] { --metal:#c48c64; }
.honor-record[open] { border-color:color-mix(in srgb,var(--metal) 55%,var(--line)); }.honor-record>summary { display:grid; grid-template-columns:35px minmax(0,1fr) auto 10px; align-items:center; gap:10px; padding:13px; min-height:80px; cursor:pointer; list-style:none; }.honor-record>summary::-webkit-details-marker { display:none; }.honor-record>summary:hover { background:color-mix(in srgb,var(--metal) 4%,var(--surface)); }
.honor-record-medal { width:35px; height:42px; }.honor-record-copy { display:flex; flex-direction:column; gap:7px; min-width:0; }.honor-record-copy>strong { color:var(--ink); font-size:12px; line-height:1.35; font-weight:650; }.honor-record-copy>span { color:var(--muted); font-size:9px; line-height:1.55; overflow-wrap:anywhere; }
.honor-record-score { display:flex; flex-direction:column; gap:4px; align-items:flex-end; font-variant-numeric:tabular-nums; }.honor-record-score strong { color:var(--ink); font-size:18px; line-height:1.2; font-weight:750; letter-spacing:-.035em; }.honor-record-score small { color:var(--muted); font-size:9px; }
.honor-record-arrow { color:var(--subtle); font-size:15px; transition:transform .2s; }.honor-record[open] .honor-record-arrow { transform:rotate(180deg); }
.honor-record-detail { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding:13px; border-top:1px solid var(--line); background:var(--surface-2); }.honor-record-detail>div { display:flex; flex-direction:column; gap:6px; min-width:0; }.honor-record-detail span { font-size:9px; color:var(--muted); }.honor-record-detail strong { font-size:11px; line-height:1.5; color:var(--ink); overflow-wrap:anywhere; }
.honor-more { display:block; margin:17px auto 0; min-width:180px; padding:10px 20px; border:1px solid var(--line); border-radius:11px; color:var(--muted); background:var(--surface-2); font-family:inherit; font-size:12px; font-weight:600; line-height:1.5; cursor:pointer; }.honor-more:hover { color:var(--ink); border-color:var(--faint); }.honor-more:disabled { opacity:.5; cursor:wait; }
.honor-status { margin-top:14px; color:var(--muted); font-size:12px; }.honor-status button { margin-left:8px; }
.honor-rule { margin:20px 0 0; color:var(--subtle); text-align:center; font-size:10px; line-height:1.8; }
.honor-empty { grid-column:1/-1; display:flex; flex-direction:column; align-items:center; padding:29px 15px 34px; text-align:center; border:1px dashed var(--line); border-radius:16px; background:var(--surface-2); }.honor-empty>.honor-medal { width:58px; height:68px; opacity:.35; filter:grayscale(.7); margin-bottom:14px; }.honor-empty h4 { font-size:15px; color:var(--ink); }.honor-empty p { max-width:25em; margin:8px 0 16px; color:var(--muted); font-size:12px; line-height:1.8; }.honor-empty .btn { min-height:37px; font-size:12px; }
.me-tab:focus-visible,.honor-hall button:focus-visible,.honor-record>summary:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
@media(max-width:760px) {
  .me-profile { grid-template-columns:auto minmax(0,1fr); gap:19px; padding:24px; }.me-highest { grid-column:1/-1; flex-direction:row; align-items:center; justify-content:flex-start; gap:12px; text-align:left; border-left:0; border-top:1px solid #c6b68d24; padding:17px 0 0; }.me-highest strong { font-size:17px; }.me-highest small { max-width:none; margin-left:auto; font-size:10px; }
  .me-profile .me-name { font-size:24px; }.me-portrait>.avatar { width:76px; height:76px; border-radius:23px; }.me-portrait-medal { width:36px; height:43px; right:-12px; bottom:-10px; }
  .me-tabs { width:100%; margin-top:20px; }.me-tab { flex:1; padding:10px 9px; font-size:12px; }.honor-history { grid-template-columns:minmax(0,1fr); }
  .honor-hall { padding:21px; }.honor-hall-head h3 { font-size:22px; }.honor-description { font-size:11px; }.honor-achievement strong { font-size:30px; }.honor-achievement span { font-size:10px; }
  .honor-medals { gap:10px; }.honor-medal-card { border-radius:16px; padding:15px 8px 17px; }.honor-medal-art { width:80px; height:94px; }.honor-medal-card::before { width:120px; height:120px; }
  .honor-record>summary { grid-template-columns:38px minmax(0,1fr) auto 10px; padding:14px; }.honor-record-medal { width:38px; height:45px; }.honor-record-copy>strong { font-size:13px; }.honor-record-copy>span { font-size:10px; }.honor-record-score strong { font-size:20px; }
}
@media(max-width:480px) {
  .me-top { margin-bottom:15px; }.me-top h2 { font-size:14px; }.me-profile { padding:22px 18px 18px; gap:17px; border-radius:20px; }.me-portrait>.avatar { width:64px; height:64px; border-radius:20px; }.me-profile .me-name { font-size:22px; }.me-eyebrow { font-size:7px; letter-spacing:.11em; margin-bottom:7px; }.me-profile .me-sub { font-size:10px; }.me-profile .me-name-row { gap:6px; }.me-profile .me-name-row .btn { min-height:27px; height:auto; padding:3px 7px; font-size:10px; }
  .me-highest { flex-wrap:wrap; padding-top:14px; gap:8px; }.me-highest>span { font-size:9px; }.me-highest small { font-size:9px; }.me-highest strong { font-size:15px; }
  .me-stats { gap:9px; margin-top:12px; }.me-stat { padding:15px; border-radius:15px; }.me-stat-value b { font-size:26px; }.me-stat-sub { font-size:10px; }.me-tabs { top:calc(var(--header-h) + 4px); }
  .honor-hall { padding:18px 14px; border-radius:20px; }.honor-hall-head { gap:10px; margin-bottom:18px; }.honor-eyebrow { font-size:7px; letter-spacing:.14em; }.honor-hall-head h3 { font-size:21px; }.honor-description { font-size:10px; max-width:23em; }.honor-achievement strong { font-size:28px; }.honor-achievement span { font-size:9px; }
  .honor-medals { gap:8px; }.honor-medal-art { width:67px; height:79px; margin-bottom:7px; }.honor-medal-card { padding:12px 5px 14px; border-radius:13px; }.honor-medal-card::before { width:93px; height:93px; top:4px; }.honor-medal-title { font-size:13px; }.honor-medal-count strong { font-size:26px; }.honor-medal-count small { font-size:10px; }.honor-medal-sub { font-size:8px; letter-spacing:.08em; }
  .honor-milestones { padding:14px 0; margin:13px 0 20px; gap:4px; }.honor-milestone strong { font-size:11px; }.honor-milestone span { font-size:9px; }.honor-history-head { gap:9px; margin-bottom:12px; }.honor-history-head h4 { font-size:12px; }.honor-filters button { padding:6px 9px; font-size:10px; }
  .honor-record>summary { grid-template-columns:32px minmax(0,1fr) auto 9px; gap:9px; padding:12px; }.honor-record-medal { width:32px; height:38px; }.honor-record-copy>strong { font-size:12px; }.honor-record-copy>span { font-size:9px; }.honor-record-score strong { font-size:18px; }
  .me-panel .me-card { padding:17px; }.me-run .main>b { font-size:17px; }.me-run .main { min-width:64px; }.me-run { gap:8px; }.me-run-title { flex-wrap:wrap; }
}
@media(max-width:350px) { .me-profile { gap:14px; padding:19px 15px 16px; }.me-profile .me-name { font-size:20px; }.me-portrait>.avatar { width:58px; height:58px; }.me-highest small { flex-basis:100%; margin-left:0; }.me-tab { font-size:11px; padding:10px 6px; }.honor-hall { padding:17px 11px; }.honor-medals { gap:6px; }.honor-medal-art { width:60px; height:71px; }.honor-medal-card::before { width:81px; height:81px; }.honor-record>summary { padding:10px; gap:7px; }.honor-record-score strong { font-size:16px; } }
@media(prefers-reduced-motion:reduce) { .honor-hall * { transition:none!important; }.honor-medal-card:hover,.honor-medal-card:hover .honor-medal-art { transform:none; } }
