#acwin { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 118rem; max-width: calc(100vw - 1.6rem); height: 78rem; max-height: calc(100vh - 1.6rem); z-index: 8; }
#acwin.hidden { display: none; }
#acwin header .ac-pts { order: 1; margin-left: 1.2rem; font: 400 max(11px, 1.25rem) var(--sans); color: var(--ink2); white-space: nowrap; }
#acwin header .ac-pts b { font: 600 max(13px, 1.6rem) var(--serif); color: #ffd25a; font-variant-numeric: tabular-nums; }
#acwin header .ac-pts small { color: var(--ink3); }
#acwin .ac-tabs { flex: none; margin: .4rem 2rem 0; }
.ac-body { flex: 1; min-height: 0; display: flex; gap: 1.4rem; padding: 1rem 2rem 1.6rem; }
.ac-cats { flex: 0 0 24rem; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: .3rem; }
.ac-cat { position: relative; display: flex; align-items: center; gap: .8rem; padding: .4rem .6rem; cursor: pointer; border: 1px solid transparent; }
.ac-cat:hover { background: rgba(255,255,255,.04); }
.ac-cat.sel { border-color: rgba(232,200,112,.55); background: rgba(232,200,112,.08); }
.ac-cat img { width: 4rem; height: 4rem; flex: none; object-fit: contain; }
.ac-cat > span { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.ac-cat b { font: 600 max(11px, 1.25rem) var(--sans); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-cat small { font-size: max(9px, 1.05rem); color: var(--ink3); font-variant-numeric: tabular-nums; }
.ac-dot { position: absolute; right: .6rem; top: 50%; width: .9rem; height: .9rem; margin-top: -.45rem; border-radius: 50%; background: #ff8a4a; box-shadow: 0 0 .6rem #ff8a4a; }
.ac-list { flex: 1; min-width: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: .6rem; }
.ac-row { display: flex; align-items: center; gap: 1.2rem; padding: .8rem 1rem; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.06); }
.ac-row.top { border-color: rgba(255,210,90,.35); background: linear-gradient(90deg, rgba(255,210,90,.08), rgba(0,0,0,.28)); }
.ac-medal { position: relative; flex: none; width: 8rem; height: 8rem; }
.ac-medal::before { content: ''; position: absolute; left: 17.5%; top: 17.5%; width: 65%; height: 65%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #2a2430, #0c0a10 70%); }
.ac-medal .ac-ic { position: absolute; left: 20%; top: 20%; width: 60%; height: 60%; object-fit: contain; }
.ac-medal .ac-rim { position: absolute; inset: 0; width: 100%; height: 100%; }
.ac-medal.none .ac-ic { filter: grayscale(1) brightness(.45); }
.ac-medal.none .ac-rim { filter: grayscale(1) brightness(.5); opacity: .7; }
.ac-medal.t4 .ac-rim { filter: drop-shadow(0 0 .6rem rgba(255,200,90,.55)); }
.ac-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .25rem; }
.ac-name { font: 600 max(12px, 1.45rem) var(--serif); color: var(--brass-hi, #e8c870); }
.ac-ask { font-size: max(11px, 1.2rem); color: var(--ink2); } .ac-ask b { color: #fff; }
.ac-bar { position: relative; height: 1.5rem; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.1); overflow: hidden; }
.ac-bar > i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #6a4c18, #e0b448); }
.ac-bar small { position: relative; display: block; text-align: center; font-size: max(9px, 1rem); line-height: 1.5rem; color: #fff; text-shadow: 0 1px 1px #000; font-variant-numeric: tabular-nums; }
.ac-pips { display: flex; gap: .4rem; }
.ac-pips i { width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #2a2830; border: 1px solid rgba(255,255,255,.15); }
.ac-pips i.on.p1 { background: #c07a3a; } .ac-pips i.on.p2 { background: #c8d4e4; } .ac-pips i.on.p3 { background: #f0c040; } .ac-pips i.on.p4 { background: radial-gradient(circle, #ffe9a0, #b060e0); }
.ac-rw { font-size: max(10px, 1.1rem); color: var(--ink3); }
.ac-title { display: inline-flex; align-items: center; gap: .4rem; font-size: max(10px, 1.1rem); color: var(--ink3); }
.ac-title img { width: 1.8rem; height: 1.8rem; }
.ac-title.common b { color: #e4dccb; } .ac-title.rare b { color: #9fd0ff; } .ac-title.legend b { color: #ffd25a; } .ac-title.locked b { color: var(--ink2); }
.ac-act { flex: none; }
.ac-claim { min-width: 12rem; min-height: 3.8rem; animation: ac-pulse 1.6s ease-in-out infinite; }
@keyframes ac-pulse { 50% { box-shadow: 0 0 1.2rem rgba(255,190,80,.55); } }
.ac-titles { flex: 1; min-width: 0; overflow-y: auto; overscroll-behavior: contain; }
.ac-tnote { margin: 0 0 1rem; font-size: max(10px, 1.15rem); color: var(--ink3); } .ac-tnote b { color: #ffd25a; }
.ac-tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(32rem, 1fr)); gap: .6rem; }
.ac-trow { display: flex; align-items: center; gap: .8rem; padding: .6rem .8rem; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.06); }
.ac-trow.worn { border-color: rgba(255,210,90,.6); background: rgba(255,210,90,.08); }
.ac-trow.locked { opacity: .55; }
.ac-trow > img { width: 3.2rem; height: 3.2rem; flex: none; }
.ac-lock { width: 3.2rem; height: 3.2rem; flex: none; border-radius: 50%; background: rgba(255,255,255,.06); }
.ac-trow > span { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.ac-trow b { font: 600 max(12px, 1.35rem) var(--serif); color: var(--ink2); }
.ac-trow small { font-size: max(9px, 1rem); color: var(--ink3); }
.ac-trow button { flex: none; min-width: 8rem; min-height: 3.2rem; }
#ac-banner { position: fixed; left: 50%; top: 16%; z-index: 9040; transform: translateX(-50%); pointer-events: none; width: min(72rem, 92vw); aspect-ratio: 720 / 160; }
#ac-banner.hidden { display: none; }
#ac-banner .acb-in { position: absolute; inset: 0; background: center / 100% 100% no-repeat; }
#ac-banner.in .acb-in { animation: acb-in .45s cubic-bezier(.2, 1.4, .4, 1) both; }
#ac-banner.out .acb-in { animation: acb-out .45s ease-in both; }
@keyframes acb-in { from { opacity: 0; transform: translateY(-1.6rem) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes acb-out { to { opacity: 0; transform: translateY(-1rem); } }
#ac-banner .acb-medal { position: absolute; left: 2.2%; top: 12.5%; width: 17.8%; height: 75%; }
#ac-banner .acb-text { position: absolute; left: 25%; right: 5%; top: 25%; bottom: 25%; display: flex; flex-direction: column; justify-content: center; line-height: 1.15; text-shadow: 0 .1rem .3rem #000; }
#ac-banner .acb-text small { font: 400 max(10px, 1.2rem) var(--sans); color: #e8d8b0; letter-spacing: .08em; }
#ac-banner .acb-text b { font: 700 max(15px, 2.3rem) var(--serif); color: #fff3cf; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ac-banner .acb-text em { font: 600 max(10px, 1.2rem) var(--sans); font-style: normal; }
#ac-banner .acb-text em > span { margin-right: .35em; }
#ac-banner .acb-text em.t1 { color: #e0a060; } #ac-banner .acb-text em.t2 { color: #d8e4f4; } #ac-banner .acb-text em.t3 { color: #ffd25a; } #ac-banner .acb-text em.t4 { color: #f0b0ff; }
body.touch #acwin { left: calc(.8rem + var(--sal)); right: calc(.8rem + var(--sar)); top: calc(.8rem + var(--sat)); bottom: calc(.8rem + var(--sab)); width: auto; height: auto; max-width: none; max-height: none; transform: none; }
body.touch .ac-cats { flex-basis: 18rem; }
body.touch .ac-medal { width: 6rem; height: 6rem; }
body.touch .ac-tgrid { grid-template-columns: repeat(auto-fill, minmax(26rem, 1fr)); }