/* 只影響成就區；延用站內主題 token，唔碰其他 worktree 嘅手機版型。 */
#achievements { --ach-muted: var(--ink-dim); --ach-line: var(--glass-border); --ach-accent: #e4a168; font-family: var(--font-tc), sans-serif; }
:root[data-theme="light"] #achievements { --ach-accent: #955022; }
#achievements .section__head { margin-bottom: 24px; }
#achievements #ach-summary { display: block; padding: 0; border: 0; background: none; box-shadow: none; backdrop-filter: none; }
.ach2-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 26px 48px; padding: 26px 0; color: var(--ink); border-block: 1px solid var(--ach-line); border-radius: 0; background: transparent; }
.ach2-eyebrow { display: block; font-size: 11px; letter-spacing: .14em; font-weight: 700; }
.ach2-hero__intro h3 { font-size: clamp(23px, 2.4vw, 34px); line-height: 1.35; margin: 12px 0; letter-spacing: -.035em; }
.ach2-hero__intro p, .ach2-hero__progress p { font-size: 13px; line-height: 1.65; color: var(--ach-muted); margin: 0; }
.ach2-level { display: flex; align-items: center; gap: 16px; }
.ach2-level > div { min-width: 0; }
.ach2-level strong { display: block; font-size: 34px; line-height: 1.3; margin: 7px 0; }
.ach2-level strong span { display: block; font-size: 17px; }
.ach2-level small { color: var(--ach-muted); font-size: 12px; }
.ach2-rank { display: block; width: 112px; height: 129px; flex-shrink: 0; }
.ach2-rank svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ach2-rank__jewel { filter: drop-shadow(0 3px 2px #0005); }
.ach2-rank[data-rank-level="5"] .ach2-rank__jewel, .ach2-rank[data-rank-level="6"] .ach2-rank__jewel { filter: drop-shadow(0 2px 2px #0005) drop-shadow(0 0 3px var(--rank-glow)); }
.ach2-rank.is-locked { filter: grayscale(1) brightness(.7); }
.ach2-hero .ach2-eyebrow { color: var(--ach-accent); }
.ach2-hero__progress { grid-column: 1 / -1; }
.ach2-hero__progress > div:first-child { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-bottom: 12px; }
.ach2-hero__progress .ach2-bar { background: #ffffff21; height: 9px; margin-bottom: 10px; }
.ach2-hero__progress .ach2-bar span { background: #f8b466; }
.ach2-bar { height: 5px; border-radius: 20px; background: rgba(var(--surface-rgb), .13); overflow: hidden; }
.ach2-bar span { display: block; height: 100%; border-radius: inherit; background: var(--accent-text); }
.ach2-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 0 32px; border: 1px solid var(--ach-line); border-radius: 18px; padding: 22px 0; }
.ach2-stats > div { display: flex; flex-direction: column; gap: 7px; padding: 0 24px; min-width: 0; }
.ach2-stats > div + div { border-left: 1px solid var(--ach-line); }
.ach2-stats > div > span { font-size: 11px; font-weight: 700; letter-spacing: .07em; color: var(--ach-muted); }
.ach2-stats strong { font-size: 29px; font-variant-numeric: tabular-nums; }
.ach2-stats strong small { font-size: 13px; font-weight: 500; color: var(--ach-muted); }
.ach2-stats a { display: flex; align-items: center; min-height: 44px; margin-block: -12px; font-size: 12px; color: var(--accent-text); }
.ach2-stats > div > small { font-size: 12px; color: var(--ach-muted); line-height: 1.5; }
.ach2-modes { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--ach-line); }
.ach2-modes button { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; background: transparent; border: 0; border-bottom: 3px solid transparent; font-size: 18px; font-weight: 700; color: var(--ach-muted); cursor: pointer; }
.ach2-modes button[aria-pressed="true"] { border-bottom-color: var(--accent-text); color: var(--ink); }
.ach2-modes button > span { font-size: 11px; font-weight: 400; }
.ach2-modes button > small { font-size: 12px; background: var(--glass-hi); border-radius: 7px; padding: 2px 7px; }
.ach2-tools { display: flex; gap: 16px; justify-content: space-between; align-items: center; margin-top: 20px; flex-wrap: wrap; }
.ach2-status { display: flex; gap: 8px; }
.ach2-status button { display: flex; gap: 7px; align-items: center; padding: 8px 14px; min-height: 44px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--ach-muted); cursor: pointer; font-size: 13px; }
.ach2-status button[aria-pressed="true"] { color: var(--ink); background: var(--glass-hi); border-color: var(--ach-line); }
.ach2-status button span { font-size: 11px; }
.ach2-search { display: flex; flex: 1; max-width: 460px; gap: 8px; min-width: 0; }
.ach2-search__row { width:100%;min-width:0; }
.ach2-search .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.ach2-search input, .ach2-search select { min-width: 0; min-height: 44px; border: 1px solid var(--ach-line); border-radius: 10px; background: var(--bg-2); color: var(--ink); padding: 9px 12px; font: inherit; font-size: 14px; }
.ach2-search input { width: 100%; }
.ach2-search input::placeholder { color: var(--ach-muted); }
.ach2-search select { max-width: 165px; }
.ach2-note { font-size: 13px; line-height: 1.7; color: var(--ach-muted); margin: 18px 0; }
.ach2-result { font-size: 12px; color: var(--ach-muted); margin: 18px 0 12px; }
.ach2-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ach2-card { display: flex; flex-direction: column; align-items: center; padding: 19px; border: 1px solid var(--ach-line); border-radius: 19px; background: var(--glass); min-width: 0; }
.ach2-card.is-unlocked { border-color: rgba(var(--accent-rgb), .45); background: rgba(var(--accent-rgb), .045); }
.ach2-card__top { width: 100%; display: flex; gap: 5px; align-items: center; justify-content: space-between; }
.ach2-rarity { color: var(--ach-muted); font-size: 11px; }
.ach2-card__top strong { font-size: 15px; font-variant-numeric: tabular-nums; color: var(--accent-text); }
.ach2-card__top small { font-size: 10px; font-weight: 500; }
.ach2-medal { display: block; width: 104px; height: 104px; flex-shrink: 0; }
.ach2-medal svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ach2-art { filter:drop-shadow(0 5px 4px #0004) drop-shadow(0 14px 12px #0003); }
.ach2-medal--3d.is-locked .ach2-art { filter:grayscale(1) brightness(.8);opacity:.72; }
:root[data-theme="light"] .ach2-medal--3d.is-locked .ach2-art { filter:grayscale(1);opacity:.6; }
.ach2-medal img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.ach2-medal--image.is-locked img { filter: grayscale(1); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ach2-medal { transition: transform .2s ease; }
  .ach2-card.is-unlocked:hover > .ach2-medal, .ach2-guest__collection article:hover .ach2-medal { transform: translateY(-4px) rotate(-3deg); }
}
.ach2-card > .ach2-medal { margin: 22px 0 18px; }
.ach2-card h4 { margin: 0; font-size: 16px; line-height: 1.5; text-align: center; overflow-wrap: anywhere; }
.ach2-card > p { font-size: 12px; line-height: 1.7; text-align: center; color: var(--ach-muted); margin: 8px 0 10px; }
.ach2-card__status { font-size: 11px; color: var(--ach-muted); }
.ach2-card.is-unlocked .ach2-card__status { color: var(--accent-text); }
.ach2-card__bottom { width: 100%; margin-top: auto; padding-top: 24px; }
.ach2-card__count { display: flex; justify-content: space-between; color: var(--ach-muted); font-size: 12px; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.ach2-card details { font-size: 12px; margin-top: 6px; color: var(--ach-muted); width: 100%; }
.ach2-card summary { min-height: 44px; padding-block: 13px; cursor: pointer; }
.ach2-card details p { line-height: 1.7; margin: 4px 0 10px; }
.ach2-roadmap { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 0; list-style: none; margin: 22px 0; }
.ach2-roadmap li { min-width: 0; }
.ach2-roadmap button { display: flex; align-items: center; flex-direction: column; gap: 7px; width: 100%; padding: 15px 5px; border: 1px solid var(--ach-line); border-radius: 12px; background: var(--glass); color: var(--ach-muted); cursor: pointer; }
.ach2-roadmap strong { font-size: 18px; }
.ach2-roadmap span, .ach2-roadmap small { font-size: 11px; }
.ach2-roadmap .is-current button { color: var(--ink); border-color: var(--accent-text); background: var(--orange-soft); }
.ach2-roadmap .is-passed button { color: var(--accent-text); }
.ach2-empty { padding: 48px 20px; text-align: center; border: 1px dashed var(--ach-line); border-radius: 16px; }
.ach2-empty p { color: var(--ach-muted); font-size: 14px; }
#achievements :is(button, input, select, summary, a):focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
@media (max-width: 1050px) { .ach2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .ach2-hero { grid-template-columns: 1fr; gap: 20px; padding: 24px 0; }
  .ach2-hero__intro h3 { font-size: 24px; }
  .ach2-level > .ach2-medal { width: 80px; height: 80px; }
  .ach2-level strong { font-size: 28px; margin: 4px 0; }
  .ach2-level strong span { display: inline; font-size: 16px; }
  .ach2-stats { margin: 12px 0 24px; padding: 18px 0; }
  .ach2-stats > div { padding: 0 12px; }
  .ach2-stats strong { font-size: 24px; }
  .ach2-stats > div > small { font-size: 11px; }
  .ach2-modes button { font-size: 16px; min-height: 56px; gap: 8px; }
  .ach2-tools { gap: 12px; margin-top: 15px; }
  .ach2-search { max-width: none; flex-basis: 100%; }
  .ach2-status { width: 100%; }
  .ach2-status button { flex: 1; justify-content: center; padding: 8px 6px; }
  .ach2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ach2-card { padding: 13px 12px; border-radius: 16px; }
  .ach2-card h4 { font-size: 15px; }
  .ach2-card > .ach2-medal { width: 90px; height: 90px; margin: 18px 0 15px; }
  .ach2-card__bottom { padding-top: 18px; }
  .ach2-card__top strong { font-size: 13px; }
  .ach2-roadmap { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: no-preference) { .ach2-modes button, .ach2-status button, .ach2-roadmap button { transition: background .18s, border-color .18s, color .18s; } }
/* 導師團隊的視覺語言：直幅斜板、選中提亮、暖橙細節及下方簡介。 */
.ach2-guest__hero { display:flex;justify-content:space-between;gap:36px;align-items:flex-end;padding:30px 0 26px;border-bottom:1px solid var(--ach-line); }
.ach2-guest .ach2-eyebrow { color:var(--ach-accent);font:700 12px/1.4 var(--font-latin),sans-serif;letter-spacing:.2em; }
.ach2-guest__hero h3 { font-size:clamp(27px,3vw,40px);font-weight:900;line-height:1.35;letter-spacing:-.035em;margin:14px 0; }
.ach2-guest__hero p { max-width:660px;font-size:15px;line-height:1.9;color:var(--ach-muted);margin:0; }
.ach2-guest__entry { flex-shrink:0; }
.ach2-guest__hero small { display:block;color:var(--ach-muted);font-size:11px;margin-top:9px; }
.ach2-text-action { display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:44px;padding:8px 0;background:none;border:0;border-bottom:2px solid var(--ach-accent);border-radius:0;color:var(--ach-accent);font:700 14px/1.5 var(--font-tc),sans-serif;cursor:pointer; }
.ach2-text-action:hover { color:var(--ink); }
.ach2-showcase { margin:28px 0 42px; }
.ach2-showcase__label { display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 14px;color:var(--ach-muted);font-size:13px; }
.ach2-showcase__label small { font-size:11px; }
.ach2-stage { display:flex;gap:8px;height:340px;padding:8px 22px; }
.ach2-stage__panel { position:relative;isolation:isolate;flex:1;min-width:0;border:0;border-radius:0;background:none;color:#f3efeb;padding:0;cursor:pointer; }
.ach2-stage__panel::before { content:'';position:absolute;inset:0;z-index:-1;transform:skewX(-8deg);background:linear-gradient(180deg,#17171900,#171719 13%,#18191c 76%,#17171900);border-inline:1px solid #ffffff15; }
.ach2-stage__panel.is-selected { flex:2.4; }
.ach2-stage__panel.is-selected::before { background:radial-gradient(ellipse at 50% 43%,#eedbca18,transparent 65%),linear-gradient(180deg,#24212600,#242126 13%,#211e23 78%,#211e2300);border-inline-color:#e4a16850; }
.ach2-stage__number { position:absolute;top:25px;left:0;right:0;text-align:center;font:700 12px/1 var(--font-latin),sans-serif;letter-spacing:.13em;color:#aaa5a2; }
.ach2-stage__panel.is-selected .ach2-stage__number { color:#efb888; }
.ach2-stage__panel>.ach2-rank { position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);width:clamp(78px,11vw,155px);height:auto;aspect-ratio:160/184;filter:grayscale(.9) brightness(.65);opacity:.7; }
.ach2-stage__panel.is-selected>.ach2-rank { width:clamp(142px,19vw,225px);filter:none;opacity:1; }
.ach2-stage__name { position:absolute;bottom:45px;left:8px;right:8px;font-size:14px;font-weight:700;line-height:1.5; }
.ach2-stage__caption { position:absolute;bottom:21px;left:8px;right:8px;font-size:11px;color:#c4bab0;opacity:0; }
.ach2-stage__panel.is-selected .ach2-stage__caption { opacity:1; }
.ach2-stage__panel:focus-visible { outline-offset:0!important; }
.ach2-stage__info { display:flex;justify-content:space-between;align-items:center;gap:20px;border-block:1px solid var(--ach-line);margin-top:15px;padding:18px 0;min-height:96px; }
.ach2-stage__info>div { display:grid;gap:8px; }
.ach2-stage__info strong { font-size:23px;font-weight:800; }
.ach2-stage__info [data-ach-stage-description] { font-size:13px;line-height:1.7;color:var(--ach-muted); }
.ach2-stage__hint { color:var(--ach-muted);font-size:11px;flex-shrink:0; }
.ach2-guest__paths { display:grid;grid-template-columns:1fr 1fr;gap:48px;padding:8px 0 34px; }
.ach2-guest__paths article+article { border-left:1px solid var(--ach-line);padding-left:48px; }
.ach2-guest__paths span { color:var(--ach-accent);font:700 11px/1.5 var(--font-latin),var(--font-tc),sans-serif;letter-spacing:.08em; }
.ach2-guest h4 { font-size:24px;line-height:1.4;font-weight:800;margin:12px 0;letter-spacing:-.025em; }
.ach2-guest__paths p,.ach2-demo p,.ach2-guest__steps p,.ach2-guest__cta p { font-size:14px;line-height:1.9;color:var(--ach-muted); }
.ach2-demo { display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:50px;padding:30px 0;margin:0 0 36px;border-block:1px solid var(--ach-line); }
.ach2-demo__readout { display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;font-variant-numeric:tabular-nums; }
.ach2-demo__readout strong { font:700 36px/1.3 var(--font-latin),sans-serif;color:var(--ach-accent); }
.ach2-demo label { font-size:11px;color:var(--ach-muted);display:block; }
.ach2-demo input { display:block;width:100%;min-height:44px;accent-color:var(--ach-accent);cursor:pointer; }
.ach2-demo [data-ach-demo-message] { font-size:12px;min-height:2em; }
.ach2-guest__steps>div { display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:24px; }
.ach2-guest__steps article { position:relative;padding-top:5px; }
.ach2-step-icon { display:block;width:38px;height:38px;color:var(--ach-accent);margin-bottom:20px; }
.ach2-step-icon svg { width:100%;height:100%; }
.ach2-guest__steps article>span:nth-child(2) { position:absolute;top:18px;right:16px;color:var(--ach-muted);font:500 12px/1 var(--font-latin),sans-serif; }
.ach2-guest__steps h5 { font-size:17px;margin:0; }
.ach2-guest__collection { margin:40px 0;padding-top:30px;border-top:1px solid var(--ach-line); }
.ach2-guest__collection>div { display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:26px; }
.ach2-guest__collection article { display:flex;align-items:center;flex-direction:column;text-align:center;gap:12px; }
.ach2-guest__collection .ach2-medal { width:144px;height:144px; }
.ach2-guest__collection strong { font-size:15px; }
.ach2-guest__collection small { color:var(--ach-muted);font-size:12px; }
.ach2-guest__cta { display:flex;align-items:center;justify-content:space-between;gap:30px;padding:22px 0;border-top:1px solid var(--ach-line); }
.ach2-guest__cta p { max-width:650px; }
.ach2-guest__cta button { flex-shrink:0; }
@media(max-width:700px) {
 .ach2-guest__hero { flex-direction:column;align-items:flex-start;padding:20px 0 24px;gap:14px; }.ach2-guest__hero h3 { font-size:27px; }.ach2-guest__hero p { font-size:14px; }
 .ach2-guest__entry small { display:none; }.ach2-showcase { margin:20px 0 30px; }.ach2-showcase__label { flex-wrap:wrap;gap:5px;font-size:12px; }
 .ach2-stage { height:236px;gap:3px;padding:4px 8px; }.ach2-stage__panel::before { transform:skewX(-3deg); }.ach2-stage__panel { overflow:hidden; }.ach2-stage__panel.is-selected { flex:2.5; }
 .ach2-stage__panel>.ach2-rank { width:78px;top:47%; }.ach2-stage__panel.is-selected>.ach2-rank { width:116px; }.ach2-stage__number { font-size:10px;top:18px;letter-spacing:.02em; }
 .ach2-stage__name { left:2px;right:2px;bottom:23px;font-size:10px;line-height:1.5;text-wrap:balance; }.ach2-stage__caption { display:none; }
 .ach2-stage__info { align-items:flex-start;flex-direction:column;gap:8px;padding:16px 0; }.ach2-stage__info strong { font-size:22px; }.ach2-stage__hint { font-size:10px; }
 .ach2-guest__paths { gap:24px;grid-template-columns:1fr;padding:0 0 24px; }.ach2-guest__paths article+article { padding:24px 0 0;border-left:0;border-top:1px solid var(--ach-line); }
 .ach2-demo { grid-template-columns:1fr;gap:12px;padding:24px 0;margin:0 0 30px; }.ach2-guest h4 { font-size:22px; }
 .ach2-guest__steps>div { grid-template-columns:1fr;gap:18px; }.ach2-guest__steps article { padding-left:58px; }.ach2-step-icon { position:absolute;left:0;top:5px; }.ach2-guest__steps article>span:nth-child(2) { display:none; }
 .ach2-guest__collection>div { grid-template-columns:1fr 1fr;gap:26px 18px; }.ach2-guest__collection .ach2-medal { width:104px;height:104px; }.ach2-guest__cta { flex-direction:column;align-items:flex-start;padding:20px 0; }
}
@media(prefers-reduced-motion:no-preference) {
 .ach2-stage__panel { transition:flex .42s cubic-bezier(.22,1,.36,1); }.ach2-stage__panel>.ach2-rank { transition:width .42s cubic-bezier(.22,1,.36,1),filter .3s,opacity .3s; }
 .ach2-stage__caption { transition:opacity .3s; }
}
.ach2-submit{width:100%;min-height:44px;padding:9px 5px;border:1px solid var(--ach-line);border-radius:9px;background:var(--glass-hi);color:var(--ink);font:inherit;font-size:12px;cursor:pointer;margin-top:6px;}
.ach2-submission{font-size:11px;line-height:1.7;border-top:1px solid var(--ach-line);padding-top:10px;margin-top:10px;color:var(--accent-text);}
.ach2-submission p{color:var(--ach-muted);overflow-wrap:anywhere;}
.ach2-upload{width:min(520px,calc(100% - 28px));max-height:calc(100dvh - 40px);overflow:auto;margin:auto;padding:26px;background:var(--bg-2);color:var(--ink);border:1px solid var(--glass-border);border-radius:22px;box-shadow:0 30px 100px #0007;}
.ach2-upload::backdrop{background:#000a;}
.ach2-upload header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:22px;}
.ach2-upload h2{font-size:23px;margin:10px 0 0;}
.ach2-upload p,.ach2-upload small{font-size:13px;line-height:1.7;color:var(--ink-dim);}
.ach2-upload label{display:grid;gap:8px;margin-top:18px;font-size:14px;}
.ach2-upload :is(input,textarea){width:100%;min-height:44px;padding:10px;background:var(--bg);border:1px solid var(--glass-border);border-radius:9px;color:var(--ink);font:inherit;}
.ach2-upload video{display:block;width:100%;max-height:300px;background:#080808;margin-top:18px;border-radius:12px;}
.ach2-upload video[hidden]{display:none;}
.ach2-upload footer{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;}
.ach2-upload button{min-width:44px;min-height:44px;cursor:pointer;}
.ach2-upload [data-close]{background:var(--glass);color:var(--ink);border:1px solid var(--glass-border);border-radius:10px;padding:10px 14px;}
.ach2-upload__status{font-size:13px;line-height:1.7;padding-top:12px;}
.ach2-upload progress{width:100%;margin-top:10px;}
.ach2-upload :focus-visible{outline:2px solid var(--accent-text);outline-offset:3px;}
.ach2-benefits{padding:0 18px;margin:0 0 24px;border:1px solid var(--ach-line);border-radius:14px;font-size:14px;}
.ach2-benefits summary{min-height:44px;padding-block:14px;cursor:pointer;}
.ach2-benefits>div{display:grid;gap:6px;padding:14px 0;border-top:1px solid var(--ach-line);}
.ach2-benefits span,.ach2-benefits small{color:var(--ach-muted);font-size:12px;}
.ach2-receipts{grid-column:1/-1;padding:24px;border:1px solid var(--glass-border);border-radius:16px;}
.ach2-receipts p{font-size:14px;line-height:1.7;}
.ach2-submit:disabled{opacity:.6;cursor:default;}

/* 收藏遊戲風介紹：霓虹軌道、立體收藏卡及起點／終點等級。 */
.ach2-intro { position:relative;isolation:isolate;display:grid;grid-template-columns:1fr 1.08fr;align-items:center;gap:28px;min-height:610px;padding:48px clamp(24px,4vw,56px);overflow:hidden;border:1px solid #8fa8ed22;border-radius:24px;background:radial-gradient(ellipse at 72% 37%,#2c427747,transparent 58%),radial-gradient(ellipse at 95% 90%,#652e6140,transparent 48%),#080d19;color:#f4f6ff; }
.ach2-intro::before { content:'';position:absolute;inset:0;z-index:-1;opacity:.22;background-image:linear-gradient(#6d9ee51c 1px,transparent 1px),linear-gradient(90deg,#6d9ee51c 1px,transparent 1px);background-size:64px 64px;mask-image:linear-gradient(90deg,transparent,#000); }
.ach2-intro__copy { position:relative;z-index:3;min-width:0; }
.ach2-intro .ach2-eyebrow { color:#96c9ec;letter-spacing:.16em;font-size:10px; }
.ach2-intro__copy h3 { margin:26px 0 18px; }
.ach2-intro__headline { display:block;font:900 clamp(38px,4.6vw,70px)/.98 var(--font-latin),sans-serif;letter-spacing:-.055em; }
.ach2-intro__headline em { font-style:normal;background:linear-gradient(100deg,#75e3ed,#9d9cfa 48%,#f3a4ce);background-clip:text;-webkit-background-clip:text;color:transparent; }
.ach2-intro__subtitle { display:block;font-size:clamp(17px,1.8vw,23px);line-height:1.6;font-weight:700;letter-spacing:-.02em;margin-top:22px; }
.ach2-intro__tags { display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px; }
.ach2-intro__tags span { padding:6px 12px;border:1px solid #a5b9ef40;font-size:11px;letter-spacing:.07em;color:#cfdaee;background:#18223970; }
.ach2-intro__copy p { max-width:360px;font-size:13px;line-height:1.9;color:#b2bed4;margin:0 0 28px; }
.ach2-intro .ach2-text-action { padding:12px 20px;border:1px solid #c2d3ff70;border-radius:5px;color:#0b1326;background:#e9f1ff;box-shadow:-3px 3px 0 #6ad5eb,3px -3px 0 #c998dd;font-size:13px; }
.ach2-intro .ach2-text-action:hover { background:white; }
.ach2-intro__art { position:relative;isolation:isolate;min-width:0;align-self:stretch;display:flex;flex-direction:column;justify-content:center; }
.ach2-intro__rails { position:absolute;inset:-100px -10px;z-index:-1;transform:rotate(-10deg); }
.ach2-intro__rails i { position:absolute;width:42%;height:110%;border:9px solid #459ccd;border-radius:110px;opacity:.28;box-shadow:0 0 24px #54cfea44,inset 0 0 18px #54cfea22; }
.ach2-intro__rails i:nth-child(2) { left:33%;top:-80px;border-color:#ac77dd; }
.ach2-intro__rails i:nth-child(3) { left:66%;top:70px;border-color:#eeb0b4; }
.ach2-intro__badges { position:relative;min-height:430px;width:100%;perspective:1000px; }
.ach2-intro__badge { position:absolute;width:210px;border:1px solid #b5caff65;border-radius:14px;background:linear-gradient(145deg,#233b62,#131e37 65%,#223450);box-shadow:0 26px 32px #0008,inset 0 1px 0 #fff3; }
.ach2-intro__badge--1 { left:0;top:100px;z-index:3;transform:rotate(-10deg) rotateY(9deg); }
.ach2-intro__badge--2 { right:0;top:32px;z-index:2;transform:rotate(12deg) rotateY(-12deg);background:linear-gradient(150deg,#704d86,#333558 62%,#683c65); }
.ach2-intro__badge--3 { left:28%;top:4px;z-index:1;transform:rotate(-3deg) scale(.8);opacity:.85; }
.ach2-intro__cardtop,.ach2-intro__cardfoot { display:flex;justify-content:space-between;align-items:center;gap:8px;padding:13px 14px;font:600 8px/1.4 var(--font-latin),sans-serif;letter-spacing:.08em;color:#d9e5fc; }
.ach2-intro__cardfoot { border-top:1px solid #ffffff20;font-size:8px; }
.ach2-intro__badge .ach2-medal { width:190px;height:190px;margin:-5px auto -6px; }
.ach2-intro__badge .ach2-art { filter:drop-shadow(0 7px 3px #0004) drop-shadow(0 20px 12px #0008); }
.ach2-intro__cardbody { display:grid;gap:6px;padding:12px 16px 18px; }
.ach2-intro__cardbody small { color:#b8cbed;font-size:9px;letter-spacing:.12em; }
.ach2-intro__cardbody strong { font-size:20px;line-height:1.4;color:#fff; }
.ach2-intro__cardbody>span { font-size:10px;line-height:1.5;color:#c2cce0; }
.ach2-intro__note { position:relative;z-index:4;display:block;text-align:center;margin:22px 0 0;font-size:9px;color:#aebed9; }
.ach2-journey { display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:24px;border-bottom:1px solid var(--ach-line);padding:28px 24px;margin-bottom:32px; }
.ach2-journey__copy p { font-size:13px;line-height:1.8;color:var(--ach-muted);margin:8px 0 0; }
.ach2-journey__visual { display:flex;justify-content:center;align-items:center;gap:32px; }
.ach2-journey__visual>div { display:flex;align-items:center;flex-direction:column;gap:5px; }
.ach2-journey__visual .ach2-rank { width:76px;height:auto;aspect-ratio:160/184;filter:drop-shadow(0 10px 8px #0003); }
.ach2-journey__visual strong { font:700 18px/1.4 var(--font-latin),sans-serif; }
.ach2-journey__visual small { font-size:10px;color:var(--ach-muted); }
.ach2-journey__arrow { font-size:48px;font-weight:300;color:var(--ach-accent); }
.ach2-guest__collection>div { gap:22px;padding-top:45px; }
.ach2-guest__collection article { position:relative;isolation:isolate;align-items:flex-start;text-align:left;padding:0 20px 24px;gap:10px;border:1px solid #8fa8ed2b;border-radius:14px;background:radial-gradient(ellipse at 75% 0,#4f85b74a,transparent 75%),#101c2c;color:#edf3ff;box-shadow:0 15px 30px #0002; }
.ach2-guest__collection article:nth-child(2n) { background:radial-gradient(ellipse at 75% 0,#a469c648,transparent 75%),#1b1930; }
.ach2-guest__collection .ach2-medal { align-self:center;width:160px;height:160px;margin-top:-42px;margin-bottom:6px;filter:drop-shadow(0 14px 9px #0005); }
.ach2-guest__collection small { color:#b9c6dc;line-height:1.7; }
@media(min-width:701px) and (max-width:1000px) {
 .ach2-intro { padding:36px 26px;grid-template-columns:.95fr 1.05fr;gap:10px; }
 .ach2-intro__badge { width:175px; }
 .ach2-intro__badge .ach2-medal { width:155px;height:155px; }
 .ach2-intro__headline { font-size:clamp(34px,4.7vw,48px); }
 .ach2-intro__badge--1 { top:125px; }
 .ach2-guest__collection .ach2-medal { width:125px;height:125px; }
}
@media(max-width:700px) {
 .ach2-intro { grid-template-columns:1fr;gap:12px;padding:28px 22px 20px;border-radius:18px; }
 .ach2-intro__headline { font-size:clamp(38px,10vw,64px); }
 .ach2-intro__subtitle { font-size:18px;margin-top:18px; }
 .ach2-intro__copy h3 { margin-top:20px; }
 .ach2-intro__art { width:100%;max-width:400px;justify-self:center;margin-top:18px; }
 .ach2-intro__badges { min-height:370px; }
 .ach2-intro__badge { width:170px; }
 .ach2-intro__badge .ach2-medal { width:145px;height:145px; }
 .ach2-intro__badge--1 { left:3%;top:75px; }
 .ach2-intro__badge--2 { right:1%;top:16px; }
 .ach2-intro__badge--3 { left:22%;top:-8px; }
 .ach2-intro__cardbody { padding:8px 12px 14px; }
 .ach2-intro__cardbody strong { font-size:17px; }
 .ach2-intro__cardtop,.ach2-intro__cardfoot { padding:10px;font-size:7px; }
 .ach2-intro__note { margin-top:6px; }
 .ach2-journey { grid-template-columns:1fr;gap:20px;padding:24px 0; }
 .ach2-journey__visual { gap:32px; }
 .ach2-guest__collection>div { gap:58px 14px; }
 .ach2-guest__collection article { padding:0 12px 18px; }
 .ach2-guest__collection .ach2-medal { width:116px;height:116px;margin-top:-36px; }
}
@media(max-width:360px) {
 .ach2-intro { padding-inline:16px; }
 .ach2-intro__badge { width:145px; }
 .ach2-intro__badge .ach2-medal { width:125px;height:125px; }
 .ach2-intro__cardbody strong { font-size:15px; }
 .ach2-intro__badges { min-height:340px; }
}

/* 展開的成就收藏卡。 */
[data-ach-detail] { cursor:pointer; }
#achievements [data-ach-detail]:focus-visible { outline:2px solid #85c7ff;outline-offset:5px; }
.ach2-card__detail { width:100%;min-height:44px;border:1px solid var(--ach-line);background:var(--glass-hi);color:var(--ink);font:inherit;font-size:12px;border-radius:8px;margin-bottom:16px;cursor:pointer; }
.ach2-detail { --detail-hue:205;box-sizing:border-box;width:min(430px,calc(100% - 24px));max-height:calc(100dvh - 28px);margin:auto;padding:0;border:1px solid hsl(var(--detail-hue) 40% 65% / .3);border-radius:26px;color:#f1f5fc;background:#0a1019;box-shadow:0 35px 100px #000a;overflow:auto;overscroll-behavior:contain;font-family:var(--font-tc),sans-serif;scrollbar-width:thin; }
.ach2-detail::backdrop { background:#02050bc9;backdrop-filter:blur(9px); }
.ach2-detail__scene { position:relative;isolation:isolate;padding:14px 22px 24px;text-align:center;background:radial-gradient(ellipse at 50% 36%,hsl(var(--detail-hue) 70% 52% / .44),transparent 65%),linear-gradient(hsl(var(--detail-hue) 38% 15%),#0a1019); }
.ach2-detail__scene::before { content:'';position:absolute;z-index:-1;inset:64px 42px 90px;border:1px solid hsl(var(--detail-hue) 65% 68% / .2);border-radius:50%;box-shadow:0 0 55px hsl(var(--detail-hue) 70% 55% / .13),inset 0 0 30px hsl(var(--detail-hue) 70% 55% / .1); }
.ach2-detail header { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.ach2-detail header>span { font:600 9px/1.4 var(--font-latin),sans-serif;letter-spacing:.13em;color:#c1d2e5; }
.ach2-detail header>span:last-child { width:44px;font-size:19px; }
.ach2-detail header button { width:44px;height:44px;color:#fff;background:#ffffff0b;border:1px solid #ffffff1a;border-radius:50%;font-size:22px;cursor:pointer; }
.ach2-detail__emblem { display:grid;place-items:center;padding:6px 0 4px; }
.ach2-detail__emblem .ach2-medal { width:245px;height:245px;transform:rotate(-6deg); }
.ach2-detail__emblem .ach2-art { filter:drop-shadow(0 9px 4px #0005) drop-shadow(0 24px 16px #0009); }
.ach2-detail__identity>small { font:500 9px/1.4 var(--font-latin),sans-serif;text-transform:uppercase;letter-spacing:.13em;color:#a6b8d0;overflow-wrap:anywhere; }
.ach2-detail h2 { color:#fff;font-size:28px;line-height:1.4;margin:8px 0 4px; }
.ach2-detail__identity p { font-size:12px;color:#b5c4d8;margin:0 0 12px; }
.ach2-detail__identity>div { display:flex;justify-content:center;gap:8px; }
.ach2-detail__identity>div>span { font-size:10px;border:1px solid hsl(var(--detail-hue) 60% 70% / .45);color:hsl(var(--detail-hue) 65% 82%);padding:4px 9px;border-radius:5px; }
.ach2-detail__content { padding:0 24px 22px; }
.ach2-detail__tabs { display:flex;border-bottom:1px solid #ffffff20;gap:18px; }
.ach2-detail__tabs button { flex:1;min-height:44px;background:none;border:0;border-bottom:2px solid transparent;border-radius:0;color:#a0aec2;font:inherit;font-size:12px;cursor:pointer; }
.ach2-detail__tabs button[aria-selected="true"] { color:white;border-bottom-color:hsl(var(--detail-hue) 80% 75%); }
.ach2-detail [role="tabpanel"] { padding:8px 0;min-height:146px; }
.ach2-detail [hidden] { display:none!important; }
.ach2-detail__content p { color:#b9c6d8;font-size:12px;line-height:1.85; }
.ach2-detail__stats { display:grid;grid-template-columns:1fr 1fr;background:#ffffff06;border:1px solid #ffffff0c;padding:14px 0;border-radius:10px;margin:16px 0; }
.ach2-detail__stats>div { display:grid;gap:5px;text-align:center; }
.ach2-detail__stats>div+div { border-left:1px solid #ffffff20; }
.ach2-detail__stats strong { font:700 23px/1.3 var(--font-latin),sans-serif; }
.ach2-detail__stats span { color:#a6b8d0;font-size:10px; }
.ach2-detail__reward { display:flex;gap:14px;align-items:flex-start;padding:16px 0;border-bottom:1px solid #ffffff12; }
.ach2-detail__reward>span { color:hsl(var(--detail-hue) 80% 75%);font-size:24px; }
.ach2-detail__reward strong { font-size:14px; }
.ach2-detail__reward p { margin:6px 0 0; }
.ach2-detail__progress { padding:12px 0;font-size:13px; }
.ach2-detail__progress .ach2-bar { margin-top:12px;background:#ffffff20; }
.ach2-detail__progress .ach2-bar span { background:hsl(var(--detail-hue) 80% 70%); }
.ach2-detail footer { color:#91a5bf;font-size:10px;line-height:1.7;padding-top:12px; }
.ach2-detail footer button { display:flex;justify-content:space-between;align-items:center;width:100%;min-height:44px;margin-top:14px;padding:10px 14px;color:#ecf4ff;background:hsl(var(--detail-hue) 30% 22%);border:1px solid hsl(var(--detail-hue) 55% 65% / .35);border-radius:9px;font:inherit;font-size:12px;cursor:pointer; }
.ach2-detail :focus-visible { outline:2px solid #c9e6ff;outline-offset:3px; }
@media(max-width:700px) { .ach2-detail__emblem .ach2-medal { width:210px;height:210px; }.ach2-detail h2 { font-size:25px; } }
@media(prefers-reduced-motion:no-preference) { .ach2-detail[open] { animation:ach-detail-in .22s ease-out; }@keyframes ach-detail-in { from { opacity:0;transform:translateY(15px) scale(.97); }to { opacity:1;transform:none; } } }

/* 網站版：沿用頁面主題，手機以精簡收藏列取代海報構圖。 */
.ach2-intro { min-height:420px;padding:30px 24px;gap:32px;overflow:visible;border:0;border-bottom:1px solid var(--ach-line);border-radius:0;background:none;color:var(--ink); }
.ach2-intro::before,.ach2-intro__rails { display:none; }
.ach2-intro .ach2-eyebrow { color:var(--ach-accent);font-size:11px; }
.ach2-intro__copy h3 { font-size:clamp(28px,3vw,40px);line-height:1.4;letter-spacing:-.035em;margin:18px 0; }
.ach2-intro__copy p { max-width:360px;color:var(--ach-muted);font-size:14px;line-height:1.85;margin-bottom:20px; }
.ach2-intro .ach2-text-action { padding:8px 0;background:none;box-shadow:none;border:0;border-bottom:2px solid var(--ach-accent);border-radius:0;color:var(--ach-accent); }
.ach2-intro .ach2-text-action:hover { color:var(--ink);background:none; }
.ach2-intro__art { align-self:center;background:radial-gradient(ellipse at 50% 48%,rgba(var(--accent-rgb),.07),transparent 70%); }
.ach2-intro__badges { min-height:332px; }
.ach2-intro__badge { width:174px;color:var(--ink);border:1px solid var(--ach-line);background:linear-gradient(145deg,var(--bg-2),var(--bg));box-shadow:0 16px 25px #0003,inset 0 1px 0 var(--glass-hi); }
.ach2-intro__badge--1 { top:44px;left:2%;transform:rotate(-8deg); }
.ach2-intro__badge--2 { top:10px;right:3%;transform:rotate(8deg);background:linear-gradient(145deg,var(--bg-2),var(--bg)); }
.ach2-intro__badge--3 { top:-8px;left:30%;transform:scale(.82);opacity:1; }
.ach2-intro__badge .ach2-medal { width:148px;height:148px; }
.ach2-intro__cardtop,.ach2-intro__cardfoot { color:var(--ach-muted);font-size:7px;padding:10px 12px; }
.ach2-intro__cardfoot { border-color:var(--ach-line); }
.ach2-intro__cardbody { padding:10px 12px 14px; }
.ach2-intro__cardbody small { color:var(--ach-accent); }
.ach2-intro__cardbody strong { color:var(--ink);font-size:17px; }
.ach2-intro__cardbody>span { color:var(--ach-muted); }
.ach2-intro__note { margin-top:10px;color:var(--ach-muted);font-size:10px; }
.ach2-guest__collection article,.ach2-guest__collection article:nth-child(2n) { background:var(--bg-2);border-color:var(--ach-line);color:var(--ink); }
.ach2-guest__collection small { color:var(--ach-muted); }
@media(max-width:700px) {
 .ach2-intro { min-height:0;padding:18px 0 20px;gap:20px; }
 .ach2-intro__copy h3 { font-size:28px;line-height:1.35;margin:12px 0; }
 .ach2-intro__copy p { font-size:13px;line-height:1.7;max-width:340px;margin:0 0 10px; }
 .ach2-intro__art { margin:0;max-width:440px; }
 .ach2-intro__badges { min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:8px 0;perspective:none; }
 .ach2-intro__badge { position:relative;inset:auto;width:auto;min-width:0;border-radius:10px;transform:none;box-shadow:0 8px 14px #0002; }
 .ach2-intro__badge--1 { transform:rotate(-4deg); }
 .ach2-intro__badge--2 { transform:translateY(-5px); }
 .ach2-intro__badge--3 { transform:rotate(4deg); }
 .ach2-intro__badge .ach2-medal { width:100%;height:auto;aspect-ratio:1;margin:0; }
 .ach2-intro__cardtop { padding:8px 8px 0;font-size:7px; }
 .ach2-intro__cardtop>span:first-child { display:none; }
 .ach2-intro__cardbody { padding:2px 4px 10px;text-align:center; }
 .ach2-intro__cardbody strong { font-size:11px;line-height:1.5; }
 .ach2-intro__cardbody small,.ach2-intro__cardbody>span,.ach2-intro__cardfoot { display:none; }
 .ach2-intro__note { margin-top:10px;font-size:9px; }
 .ach2-journey { grid-template-columns:1fr 1fr;gap:12px;padding:18px 0;margin-bottom:24px; }
 .ach2-journey__copy h4 { font-size:18px;line-height:1.45;margin:8px 0; }
 .ach2-journey__copy p { font-size:11px; }
 .ach2-journey__visual { gap:9px; }
 .ach2-journey__visual .ach2-rank { width:48px; }
 .ach2-journey__visual strong { font-size:12px; }
 .ach2-journey__visual small { display:none; }
 .ach2-journey__arrow { font-size:23px; }
}

.ach2-guest__collection article { min-width:0; }
@media(max-width:700px) { .ach2-guest__collection>div { grid-template-columns:repeat(2,minmax(0,1fr)); }.ach2-guest__collection .ach2-medal { max-width:100%;height:auto;aspect-ratio:1; } }

/* Compact collection detail: reserve space for the full active tab. */
.ach2-detail__scene { padding:12px 20px 12px; }
.ach2-detail header { position:relative;min-height:44px;justify-content:flex-start; }
.ach2-detail header button { order:3;margin-left:auto; }
.ach2-detail header>span:last-child { display:none; }
.ach2-detail__emblem .ach2-medal { width:clamp(100px,23dvh,185px);height:clamp(100px,23dvh,185px); }
.ach2-detail__identity>small { display:none; }
.ach2-detail h2 { font-size:23px;margin:2px 0 5px; }
.ach2-detail__identity p:empty { display:none; }
.ach2-detail__identity p { margin-bottom:6px; }
.ach2-detail__content { padding:0 20px 16px; }
.ach2-detail [role="tabpanel"] { min-height:0;padding:6px 0; }
.ach2-detail__content p { margin:8px 0;line-height:1.65; }
.ach2-detail__stats { padding:10px 0;margin:10px 0 4px; }
.ach2-detail__reward { padding:10px 0; }
.ach2-detail footer { padding-top:8px; }
.ach2-medal--uncommon { --medal-a:#b7e2c0;--medal-b:#358b67; }
.ach2-medal--legendary { --medal-a:#ffe3a0;--medal-b:#e78d29; }
@media(max-height:650px) {
 .ach2-detail__emblem .ach2-medal { width:110px;height:110px; }
 .ach2-detail h2 { font-size:20px; }
 .ach2-detail__scene { padding-top:6px;padding-bottom:8px; }
 .ach2-detail__content p { font-size:11px; }
}

/* Rarity reads consistently across artwork, labels and detail backgrounds. */
[data-rarity="common"] { --rarity-color:#aab2bd; }
[data-rarity="uncommon"] { --rarity-color:#71c99a; }
[data-rarity="rare"] { --rarity-color:#72b9ed; }
[data-rarity="epic"] { --rarity-color:#c49aef; }
[data-rarity="legendary"] { --rarity-color:#edc46c; }
.ach2-card .ach2-rarity { color:var(--rarity-color,var(--ach-muted)); }
.ach2-card.is-unlocked { border-color:color-mix(in srgb,var(--rarity-color) 32%,transparent); }
.ach2-detail[data-rarity="common"] .ach2-detail__scene { background:radial-gradient(ellipse at 50% 36%,#818c9b33,transparent 65%),linear-gradient(#20252c,#0a1019); }

/* Rarity belongs to the collectible card. Artwork keeps its original colours. */
.ach2-card[data-rarity] { border-color:color-mix(in srgb,var(--rarity-color) 38%,transparent);background:linear-gradient(145deg,color-mix(in srgb,var(--rarity-color) 13%,var(--bg-2)),var(--bg-2));box-shadow:inset 0 1px 0 color-mix(in srgb,var(--rarity-color) 12%,transparent); }
.ach2-card[data-rarity] .ach2-rarity { border:1px solid color-mix(in srgb,var(--rarity-color) 30%,transparent);padding:3px 8px;border-radius:6px; }
.ach2-detail__emblem .ach2-medal--image { transform:rotate(-4deg); }
.ach2-medal--image img { object-fit:contain;border-radius:0;filter:drop-shadow(0 8px 6px #0004); }

/* Member collection: the reference separates the overview from its two lists on mobile. */
.ach2-launches, .ach2-back, .ach2-mobile-notice, .ach2-search-toggle { display:none; }
.ach2-collection-progress { margin:22px 0 16px; }
.ach2-collection-progress > div:first-child { display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:13px;color:var(--ach-muted); }
.ach2-collection-progress strong { color:var(--ink);font-size:22px; }
.ach2-collection-progress strong small { font-size:15px;font-weight:400;color:var(--ach-muted); }
.ach2-collection-progress b { color:var(--accent-text);font-weight:600; }
.ach2-collection-progress .ach2-bar { margin-top:10px; }
.ach2-collection-progress p { font-size:12px;color:var(--ach-muted);line-height:1.6;margin:8px 0 0; }
.ach2-collection-notice { display:block;color:var(--ach-muted);font-size:11px;line-height:1.5;margin-top:5px; }
.ach2-roadmap { grid-template-columns:repeat(8,minmax(0,1fr)); }
.ach2-roadmap strong { display:flex;gap:4px;align-items:center; }
.ach2-roadmap em { font:500 9px/1.2 var(--font-tc),sans-serif; }
.ach2-roadmap button[aria-pressed="true"] { border-color:var(--accent-text);color:var(--accent-text);background:var(--orange-soft); }
.ach2-result { display:flex;align-items:center;gap:12px; }
.ach2-result strong { color:var(--ink);font-weight:600; }
.ach2-result::after { content:"";flex:1;height:1px;background:var(--ach-line); }
.ach2-result > span { order:1; }
.ach2-card__subtitle { margin-top:2px;font-size:11px;line-height:1.4;color:var(--ach-muted);text-align:center; }
.ach2-rarity-filter { display:flex;align-items:center;gap:14px;margin:16px 0 0;min-width:0; }
.ach2-filter-label { flex-shrink:0;font-size:11px;color:var(--ach-muted); }
.ach2-rarity-options { display:flex;gap:16px;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin; }
.ach2-rarity-options button { display:flex;align-items:center;gap:6px;flex-shrink:0;min-height:44px;padding:6px 0;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:var(--ach-muted);font:500 12px/1.5 var(--font-tc),sans-serif;cursor:pointer; }
.ach2-rarity-options i { width:5px;height:5px;border-radius:50%;background:var(--rarity-color,var(--accent-text));opacity:.6; }
.ach2-rarity-options [data-ach-rarity="all"] i { display:none; }
.ach2-rarity-options small { font-size:10px;opacity:.7;font-variant-numeric:tabular-nums; }
.ach2-rarity-options button[aria-pressed="true"] { color:var(--rarity-color,var(--accent-text));border-bottom-color:currentColor; }
.ach2-rarity-options button[aria-pressed="true"] i { opacity:1; }
:root[data-theme="light"] .ach2-rarity-options [data-rarity="common"] { --rarity-color:#56616f; }
:root[data-theme="light"] .ach2-rarity-options [data-rarity="uncommon"] { --rarity-color:#25754b; }
:root[data-theme="light"] .ach2-rarity-options [data-rarity="rare"] { --rarity-color:#22619c; }
:root[data-theme="light"] .ach2-rarity-options [data-rarity="epic"] { --rarity-color:#7848a4; }
:root[data-theme="light"] .ach2-rarity-options [data-rarity="legendary"] { --rarity-color:#886119; }
@media (max-width:700px) {
  #achievements { scroll-margin-top:76px; }
  #achievements > .section__head { margin-bottom:16px; }
  #achievements .section__eyebrow { font-size:10px;letter-spacing:.16em; }
  #achievements .section__title { font-size:24px;line-height:1.45; }
  #achievements .section__sub { font-size:12px;line-height:1.6; }
  #achievements .section__sub .ach-prize-link { display:none; }
  #achievements[data-ach-view="overview"] > :is(#ach-filter,#ach-groups),
  #achievements[data-ach-view="list"] > :is(.section__head,#ach-summary) { display:none; }
  .ach2-mobile-notice { display:block;margin:0 0 10px;font-size:11px;line-height:1.5;color:var(--ach-muted); }
  .ach2-hero { padding:16px;gap:12px;border:1px solid var(--ach-line);border-radius:16px;background:var(--glass); }
  .ach2-hero__intro { display:none; }
  .ach2-level { gap:14px; }
  .ach2-level .ach2-rank { width:60px;height:69px; }
  .ach2-level .ach2-eyebrow { font-size:10px;letter-spacing:.08em;color:var(--ach-muted); }
  .ach2-level strong { font-size:22px;line-height:1.5;margin:2px 0; }
  .ach2-level strong span { font-size:15px;margin-left:5px; }
  .ach2-level small { font-size:11px; }
  .ach2-hero__progress > div:first-child { font-size:11px;margin-bottom:8px;gap:4px; }
  .ach2-hero__progress > div:first-child strong { font-weight:500; }
  .ach2-hero__progress .ach2-bar { height:5px;margin-bottom:7px;background:var(--glass-hi); }
  :root[data-theme="light"] #achievements .ach2-bar { background:rgba(52,33,81,.12); }
  .ach2-hero__progress p { font-size:10px;line-height:1.6; }
  .ach2-stats { grid-template-columns:1fr;gap:0;margin:12px 0 16px;padding:0 16px;border-radius:16px;background:var(--glass); }
  .ach2-stats > div { display:grid;grid-template-columns:112px 1fr;column-gap:12px;row-gap:4px;align-items:center;padding:14px 0; }
  .ach2-stats > div + div { border-left:0;border-top:1px solid var(--ach-line); }
  .ach2-stats > div > strong { grid-column:1;grid-row:1 / 3;font-size:27px;line-height:1.2; }
  .ach2-stats > div > strong small { font-size:12px; }
  .ach2-stats > div > span { grid-column:2;grid-row:1;font-size:11px;letter-spacing:0; }
  .ach2-stats > div > small { grid-column:2;grid-row:2;font-size:10px;line-height:1.5; }
  .ach2-stats > div:first-child { grid-template-columns:1fr auto; }
  .ach2-stats > div:first-child > span { grid-column:1;grid-row:1; }
  .ach2-stats > div:first-child > strong { grid-column:1;grid-row:2;color:var(--accent-text); }
  .ach2-stats a { grid-column:2;grid-row:1 / 3;padding:0 12px;border-radius:9px;background:var(--accent-text);color:var(--bg);font-weight:700;font-size:11px;margin:0; }
  .ach2-launches { display:grid;grid-template-columns:1fr 1fr;gap:10px; }
  .ach2-launches button { display:flex;align-items:center;gap:7px;min-height:54px;padding:10px 13px;border:1px solid var(--ach-line);border-radius:12px;background:var(--glass);color:var(--ink);font:600 13px/1.4 var(--font-tc),sans-serif;cursor:pointer; }
  .ach2-launches small { color:var(--ach-muted);font-size:11px;font-weight:400; }
  .ach2-launches button > span:last-child { margin-left:auto;color:var(--accent-text); }
  .ach2-back { display:flex;align-items:center;min-height:44px;padding:0;border:0;background:none;color:var(--ach-muted);font:500 12px/1.5 var(--font-tc),sans-serif;cursor:pointer; }
  .ach2-modes button { font-size:15px;gap:7px;min-height:48px;border-bottom-width:2px; }
  .ach2-modes button > span { display:none; }
  .ach2-modes button > small { background:none;padding:0;font-size:11px;font-weight:400; }
  .ach2-modes button[aria-pressed="true"] { color:var(--accent-text); }
  .ach2-collection-progress { margin:16px 0 12px; }
  .ach2-collection-progress > div:first-child { font-size:11px;gap:8px; }
  .ach2-collection-progress strong { font-size:22px; }
  .ach2-collection-progress strong small { font-size:14px; }
  .ach2-collection-progress p { font-size:11px; }
  .ach2-collection-notice { font-size:10px; }
  .ach2-roadmap { display:flex;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;margin:14px 0 12px;padding-bottom:4px;scrollbar-width:thin; }
  .ach2-roadmap li { flex:0 0 80px; }
  .ach2-roadmap button { display:grid;grid-template-columns:auto minmax(0,1fr);align-content:center;padding:8px;gap:3px 4px;border-radius:10px;min-height:58px;text-align:left; }
  .ach2-roadmap strong { font-size:15px; }
  .ach2-roadmap span,.ach2-roadmap small { font-size:10px; }
  .ach2-roadmap strong em { display:none; }
  .ach2-roadmap small { grid-column:1 / -1; }
  .ach2-roadmap span { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
  .ach2-rarity-filter { gap:12px;margin-top:8px; }
  .ach2-filter-label { font-size:10px; }
  .ach2-rarity-options { gap:14px; }
  .ach2-rarity-options button { font-size:11px;gap:5px; }
  .ach2-rarity-options small { font-size:9px; }
  .ach2-tools { position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;margin:10px 0 0;min-height:46px; }
  .ach2-status { width:auto;gap:3px;padding:3px;border-radius:10px;background:var(--glass);border:1px solid var(--ach-line); }
  .ach2-status button { min-height:38px;padding:6px 4px;font-size:11px;gap:4px;border-radius:7px;white-space:nowrap; }
  .ach2-status button span { font-size:10px; }
  .ach2-status button[aria-pressed="true"] { background:var(--glass-hi);border-color:var(--ach-line); }
  .ach2-search-toggle { position:relative;z-index:3;grid-column:2;grid-row:1;display:flex;justify-content:center;align-items:center;align-self:center;width:44px;height:44px;min-height:44px;padding:7px;background:none;color:var(--ach-muted);border:0;border-radius:50%;cursor:pointer; }
  .ach2-search-toggle[aria-expanded="true"] { color:var(--accent-text);background:none; }
  .ach2-search-toggle svg { width:21px;height:21px; }
  .ach2-search { position:absolute;inset:0;z-index:2;display:flex;align-items:center;max-width:none;visibility:hidden;pointer-events:none; }
  .ach2-search.is-open,.ach2-tools.is-search-animating .ach2-search { visibility:visible; }
  .ach2-search.is-open { pointer-events:auto; }
  .ach2-search__row { box-sizing:border-box;height:44px;min-height:44px;width:100%;margin-left:auto;padding:7px 46px 7px 13px;border-radius:20px;border:1px solid color-mix(in srgb,var(--accent-text) 35%,var(--ach-line));background:rgba(174,178,188,.14);box-shadow:inset 0 1px 0 #ffffff18;overflow:hidden;transform-origin:right center;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px); }
  .ach2-search input { display:block;width:100%;min-height:28px;height:28px;border:0;border-radius:0;padding:0;background:none;box-shadow:none;font-size:16px;line-height:28px; }
  #achievements .ach2-search input:focus-visible { outline:0; }
  .ach2-search__row:focus-within { border-color:var(--accent-text);box-shadow:inset 0 1px 0 #ffffff18,0 0 0 1px color-mix(in srgb,var(--accent-text) 30%,transparent); }
  .ach2-tools.is-search-open .ach2-status { opacity:0;pointer-events:none; }
  :root[data-theme="light"] .ach2-search__row { background:rgba(255,255,255,.34); }
  .ach2-result { font-size:10px;margin:14px 0 10px;gap:10px; }
  .ach2-result--challenge { position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip-path:inset(50%); }
  .ach2-result--challenge + .ach2-grid { margin-top:12px; }
  .ach2-grid { gap:10px; }
  .ach2-card { position:relative;padding:12px; border-radius:13px;min-height:207px; }
  .ach2-card[data-rarity] { border-color:var(--ach-line);background:var(--glass);box-shadow:none; }
  .ach2-card[data-rarity] .ach2-rarity { padding:2px 5px; font-size:9px; }
  .ach2-card__top strong { font-size:12px; }
  .ach2-card > .ach2-medal { width:68px; height:68px; margin:10px 0 7px; }
  .ach2-card h4 { font-size:12px; line-height:1.5;font-weight:650; }
  .ach2-card > p { display:none; }
  .ach2-card__subtitle { font-size:10px; }
  .ach2-card__status { display:none; }
  .ach2-card__bottom { padding-top:13px; display:flex; flex-direction:column; }
  .ach2-card__count { font-size:10px; margin-bottom:5px; }
  .ach2-card__detail { position:absolute;inset:0;min-height:0;width:100%;height:100%;padding:0;margin:0;border:0;border-radius:13px;background:none;font-size:0;cursor:pointer; }
  .ach2-card__detail:hover { background:none; }
  .ach2-card details { display:none; }
  .ach2-card__bottom > .ach2-submit { position:relative;z-index:1;order:2;min-height:36px;margin-top:7px;border:1px solid color-mix(in srgb,var(--accent-text) 45%,transparent);background:var(--orange-soft);color:var(--accent-text);border-radius:7px;font-size:11px; }
  .ach2-card[data-kind="move"] .ach2-card__count, .ach2-card[data-kind="move"] .ach2-card__bottom > .ach2-bar { display:none; }
  .ach2-card[data-kind="move"] .ach2-card__status { display:block;font-size:10px;line-height:1.5;margin-top:5px; }
  .ach2-card[data-kind="move"] .ach2-card__bottom { padding-top:3px; }
  .ach2-submission { position:relative;z-index:1;font-size:10px;line-height:1.5; }
  .ach2-submission p { margin:3px 0; }
}
