/* Only what Project Sekai adds on top of catalog.css (Bob's handoff, 16 Nov 2026): server cards with JP/EN tags, the face grid,
   the card grid with counts, the pick bar, and the account card's card rows. */
.al-pj{--pj-fes:#E8A317;--pj-bloom:#2BB3A7;--pj-lim:#7A4FD0;--pj-collab:#2C8FD6;--pj-event:#4E5A73}

/* server */
.al-pj__srvs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.al-pj__srv{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:14px 12px;border-radius:16px;box-shadow:inset 0 0 0 2px var(--cc-line);background:#fff;transition:transform .1s ease-out,box-shadow .12s}
.al-pj__srv:active{transform:scale(.97)}
.al-pj__srv[aria-pressed="true"]{box-shadow:inset 0 0 0 2px var(--cc-acc);background:var(--cc-acc-t)}
.al-pj__srv b{font-size:17px;font-weight:700;line-height:1.25}
.al-pj__srv small{font-size:12.5px;line-height:1.35;color:var(--cc-mute)}
.al-pj__tk{display:inline-grid;place-items:center;min-width:34px;height:24px;padding:0 6px;border-radius:7px;font-size:12px;font-weight:800;letter-spacing:.03em;color:#fff}
.al-pj__tk--jp{background:#E2506E}
.al-pj__tk--global{background:#2C8FD6}
.al-pj__step.is-done{padding:12px 0}
.al-pj__pill{display:inline-flex;align-items:center;gap:6px;padding:7px 8px 7px 8px;border-radius:999px;background:var(--cc-acc-t);font-weight:700;font-size:14px;color:var(--cc-acc-d)}
.al-pj__pill .al-pj__tk{min-width:28px;height:20px;font-size:11px}
.al-pj__pill button{position:relative;margin-left:4px;padding:0 4px;font-weight:600;color:var(--cc-acc)}
.al-pj__pill button::after{content:"";position:absolute;inset:-12px -8px}

/* Loved by gamers on every game: the store's photo reviews, each with its game (Victor via Bob, 16 Nov) */
.al-pj__says-sub{margin-top:2px;font-size:13px;line-height:1.3;color:var(--cc-mute)}
.al-cc__say figcaption .al-pj__gchip{display:inline-block;flex:none;margin-left:4px;padding:0 7px;border-radius:999px;background:#EEF0FA;color:#4D5AA1;font-size:11px;line-height:16px;font-weight:600;height:16px;vertical-align:middle;letter-spacing:0;text-transform:none;box-shadow:none;border:0} /* Bob's exact spec, scoped past theme pill styles */
.al-pj .al-cc__says-h{align-items:flex-start}

/* picker */
.al-pj__units{display:flex;gap:6px;margin:12px -16px 0;padding:0 16px 2px;overflow-x:auto;scrollbar-width:none}
.al-pj__units::-webkit-scrollbar{display:none}
.al-pj__u{flex:none;display:flex;align-items:center;gap:6px;min-height:36px;padding:0 11px;border-radius:999px;box-shadow:inset 0 0 0 1px var(--cc-line);font-size:13px;font-weight:600;white-space:nowrap}
.al-pj__u i{width:9px;height:9px;border-radius:50%}
.al-pj__u.is-on{background:var(--cc-ink);color:#fff;box-shadow:none}
.al-pj__chars{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px 6px;margin-top:12px}
.al-pj__ch{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0}
.al-pj__ch>span:last-child{max-width:100%;font-size:11.5px;font-weight:600;line-height:1.15;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.al-pj__dot{position:relative}
.al-pj__dot img{display:block;width:52px;height:52px;border-radius:50%;object-fit:cover;object-position:top;background:#eef0fa;box-shadow:0 0 0 2px transparent;transition:box-shadow .12s}
.al-pj__ch.is-on .al-pj__dot img{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--cc-acc)}
.al-pj__dot b{position:absolute;right:-4px;top:-3px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:var(--cc-acc);color:#fff;font-size:11px;font-weight:700}
.al-pj__ch:active{transform:scale(.96)}
.al-pj__lbl{margin:14px 0 6px;font-size:12px;font-weight:700;color:var(--cc-mute)}
.al-pj__chars+.al-pj__lbl{margin-top:16px}
.al-pj__lbl+.al-pj__chars{margin-top:0}
.al-pj__sheet{margin-top:14px;padding-top:12px;border-top:1px solid var(--cc-line)}
.al-pj__sheet h3{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700}
.al-pj__sheet h3 img{width:28px;height:28px;border-radius:50%;object-fit:cover;object-position:top}
.al-pj__tog{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;margin-top:4px;font-size:14px;font-weight:600}
.al-pj__sw{position:relative;flex:none;width:42px;height:24px;border-radius:12px;background:#d6d9e6;transition:background .2s}
.al-pj__sw::after{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:transform .25s var(--cc-spring)}
.al-pj__tog[aria-checked="true"] .al-pj__sw{background:var(--cc-acc)}
.al-pj__tog[aria-checked="true"] .al-pj__sw::after{transform:translateX(18px)}
.al-pj__cl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 10px;margin-top:10px}
.al-pj__cd{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;text-align:left}
.al-pj__im{position:relative;display:block;width:100%}
.al-pj__im img{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:12px;background:var(--cc-fill);box-shadow:0 0 0 3px transparent;transition:box-shadow .12s}
.al-pj__cd.is-on .al-pj__im img{box-shadow:0 0 0 3px var(--cc-acc)}
.al-pj__ck{position:absolute;right:6px;top:6px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--cc-acc);color:#fff}
.al-pj__cd b{font-size:12px;line-height:1.25;font-weight:600;overflow-wrap:anywhere}
.al-pj__cd small{font-size:11.5px;font-weight:600;color:var(--cc-ok)}
.al-pj__cd.is-zero{opacity:.4;cursor:default}
.al-pj__cd.is-zero small{color:var(--cc-mute)}
.al-pj__cd:not(:disabled):active{transform:scale(.97)}
.al-pj__badge{display:inline-block;padding:2px 6px;border-radius:5px;color:#fff;font-size:10.5px;font-weight:800;letter-spacing:.02em;line-height:1.35}
.al-pj__badge--fes{background:linear-gradient(90deg,#E8A317,#E2506E)}
.al-pj__badge--bloom{background:var(--pj-bloom)}
.al-pj__badge--lim{background:var(--pj-lim)}
.al-pj__badge--collab{background:var(--pj-collab)}
.al-pj__badge--event{background:var(--pj-event)}

/* pick bar: phone, while the results are below the screen */
.al-pj__pickbar{position:fixed;left:0;right:0;bottom:0;z-index:890;display:flex;align-items:center;gap:10px;padding:10px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -1px 0 var(--cc-line),0 -8px 20px -14px rgba(27,32,53,.4);transform:translateY(110%);transition:transform .35s var(--cc-spring)}
.al-pj__pickbar.is-on{transform:none}
.al-pj__thumbs{display:flex;flex:none}
.al-pj__thumbs img{width:34px;height:34px;border-radius:8px;box-shadow:0 0 0 2px #fff;margin-left:-8px;background:var(--cc-fill)}
.al-pj__thumbs img:first-child{margin-left:0}
.al-pj__pickbar p{flex:1;min-width:0}
.al-pj__pickbar b{display:block;font-size:14px;font-weight:600;line-height:1.3}
.al-pj__pickbar p span{display:block;font-size:12.5px;color:var(--cc-mute);line-height:1.3}
.al-pj__pickbar button{flex:none;min-height:44px;padding:0 18px;border-radius:12px;background:var(--cc-acc);color:#fff;font-size:15px;font-weight:700}

/* results */
.al-pj__ok{margin-top:4px;font-size:12.5px;font-weight:600;color:var(--cc-ok)}
.al-pj__sorts{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.al-pj__fc{min-height:36px;padding:0 12px;border-radius:999px;background:var(--cc-fill);font-size:13px;font-weight:600}
.al-pj__fc[aria-checked="true"]{background:var(--cc-ink);color:#fff}
.al-pj__top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.al-pj__top .al-cc__amt{flex-wrap:wrap;column-gap:6px;row-gap:0}
.al-pj__top .al-cc__amt b{font-size:24px;font-weight:800;letter-spacing:-.02em}
.al-pj__top .al-cc__amt small{flex-basis:100%;font-size:12px;font-weight:600;color:var(--cc-mute)}
.al-pj__top .al-cc__add{flex:none;width:auto;padding:0 16px}
.al-pj__stats{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:13px;color:var(--cc-mute)}
.al-pj__stats b{font-variant-numeric:tabular-nums;color:var(--cc-ink)}
.al-pj__acct .al-pj__lbl{margin:2px 0 -6px}
.al-pj__row{display:flex;gap:6px;align-items:center}
.al-pj__row img{width:44px;height:44px;border-radius:10px;background:var(--cc-fill)}
.al-pj__row img.is-mine{outline:3px solid var(--cc-acc);outline-offset:-1px}
.al-pj__more{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:var(--cc-fill);font-size:12px;font-weight:700;color:var(--cc-acc-d)}
.al-pj__seeall{align-self:flex-start;min-height:32px;font-size:13.5px;font-weight:600;color:var(--cc-acc)}
.al-pj__legend{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;font-weight:600;color:var(--cc-mute)}
.al-pj__legend span{display:flex;align-items:center;gap:5px}
.al-pj__legend i,.al-pj__all i{width:9px;height:9px;border-radius:50%}
.al-pj__all{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.al-pj__all span{position:relative}
.al-pj__all img{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:7px;background:var(--cc-fill)}
.al-pj__all i{position:absolute;left:2px;bottom:2px;box-shadow:0 0 0 1.5px #fff}
.al-pj__pgn{text-align:center;font-size:14px;font-weight:500;color:var(--cc-ink2)}
.al-pj__empty{padding:18px;border:1px dashed #c9cde0;border-radius:16px;text-align:center}
.al-pj__empty b{display:block;font-size:16px}
.al-pj__empty p{margin:6px 0 12px;font-size:14px;color:var(--cc-mute)}
.al-pj__chip{display:inline-flex;align-items:center;gap:6px;min-height:36px;margin:3px;padding:5px 10px 5px 5px;border-radius:999px;background:var(--cc-fill);font-size:12.5px;font-weight:600}
.al-pj__chip img{width:26px;height:26px;border-radius:7px}
.al-pj__close{margin-top:20px}

/* desktop: the picker scrolls inside its sticky column, so long card lists stay reachable */
@container alcc (min-width:900px){
  .al-pj .al-cc__layout{grid-template-columns:380px minmax(0,1fr)}
  .al-pj .al-cc__cfg{max-height:calc(100vh - var(--cc-top) - 32px);overflow-y:auto;overscroll-behavior:contain;padding-right:6px}
  .al-pj__units{margin:12px 0 0;padding:0;flex-wrap:wrap;overflow:visible}
  .al-pj .al-cc__pager{padding-right:76px} /* Next stays clear of the chat bubble in the corner */
}
