/* The Exchange: a small independent card shop inside the existing atlas. */
.league-card{--club:#527e86;width:100%;max-width:280px;align-self:center;background:#ead9b7;color:#382b45;border:3px solid #382b45;border-radius:5px;padding:9px;box-shadow:4px 5px 0 #382b4520;overflow:hidden}
.card-league{display:flex;justify-content:space-between;gap:5px;font-size:9px;font-weight:750;letter-spacing:1px;border-bottom:1px solid #382b4570;padding:2px 0 8px}
.card-league>span{font-size:7px;letter-spacing:.3px;align-self:center}
.card-player{position:relative;isolation:isolate;height:145px;background:var(--club);overflow:hidden;margin:8px 0;color:#f1e5cf}
.card-player:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(135deg,transparent 0 23px,#f1e5cf18 24px 26px);z-index:-1}
.card-player svg{position:absolute;right:0;bottom:0;width:140px;height:140px;color:#f1e5cf;filter:drop-shadow(3px 1px 0 #382b45)}
.card-number{position:absolute;left:9px;top:0;font-family:Bitter,Georgia,serif;font-size:69px;line-height:1.4;font-weight:800;color:#f1e5cf66;letter-spacing:-5px}
.card-club{position:absolute;left:8px;bottom:9px;writing-mode:vertical-rl;transform:rotate(180deg);font-size:9px;letter-spacing:2px;font-weight:650}
.card-name{display:flex;justify-content:space-between;align-items:center;gap:5px;border-bottom:1px solid #382b4570;padding:2px 0 8px}
.card-name strong{font-family:Bitter,Georgia,serif;font-size:21px;font-weight:800}
.card-name small{font-size:8px;letter-spacing:.5px;font-weight:650}
.card-stats{display:flex;justify-content:space-between;gap:6px;padding:8px 7px 2px}
.card-stats span{font-size:8px;font-weight:650;letter-spacing:1px;display:flex;align-items:center;gap:5px}
.card-stats b{font-family:Bitter,Georgia,serif;font-size:17px;letter-spacing:0}
.market-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.market-strip button{display:grid;grid-template-columns:auto 1fr;align-items:center;text-align:left;gap:3px 8px;border:1px solid #bea783;border-left:4px solid var(--club);padding:9px 7px;min-height:56px;border-radius:3px;background:#f7ebd0}
.market-strip button[aria-pressed="true"]{outline:2px solid #382b45;outline-offset:1px;background:#ead8af}
.market-strip strong{grid-row:span 2;font-family:Bitter,Georgia,serif;font-size:23px;color:var(--club)}
.market-strip span{font-size:11px;font-weight:650}.market-strip small{font-size:10px;color:#76634b}
.deal-prices{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;border-block:1px solid #bea783;padding:13px 0}
.deal-prices span{display:flex;flex-direction:column;gap:5px;font-size:11px;color:#755c43;text-align:center}
.deal-prices b{color:#382b45;font-family:Bitter,Georgia,serif;font-size:21px}
.deal-equation{font-size:30px;font-weight:650;text-align:center;padding:24px 12px;background:#e5dcc3;border:1px solid #baa27c;letter-spacing:1px}
#deal-form{display:flex;flex-direction:column;gap:10px}#deal-form label{font-size:12px;font-weight:650}#deal-answer{min-width:0;width:100%}
#deal-hint{min-height:44px;align-self:start}
.deal-decision{display:grid;gap:12px}
.deal-decision button{display:flex;flex-direction:column;gap:8px;text-align:left;padding:19px;border:2px solid #7c8d66;border-radius:3px;background:#dfe4c7;min-height:110px}
.deal-decision button:last-child{border-color:#a48443;background:#f1deab}
.deal-decision strong{font-family:Bitter,Georgia,serif;font-size:20px}.deal-decision span{font-size:12px}.deal-decision b{font-size:13px}
.binder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
.binder-card{display:flex;flex-direction:column;gap:7px;min-width:0}.binder-card>button{min-height:44px;border:1px solid #ad956d;border-radius:3px;background:#e7d7b3;font-size:11px;font-weight:600}.binder-card>button[aria-pressed="true"]{background:#d7e1bb;border-color:#728653}
.binder-card>small{font-size:10px;color:#74624d;text-align:center}.binder-card.unowned .league-card{opacity:.4;filter:grayscale(1)}
.small-card{padding:6px;max-width:none;border-width:2px}.small-card .card-league{font-size:6px;letter-spacing:.3px}.small-card .card-league span{display:none}.small-card .card-player{height:105px}.small-card .card-player svg{width:105px;height:105px}.small-card .card-number{font-size:45px;letter-spacing:-3px}.small-card .card-club{font-size:7px}.small-card .card-name{display:block}.small-card .card-name strong{font-size:17px}.small-card .card-name small{display:block;font-size:7px;margin-top:3px}.small-card .card-stats{gap:3px;padding-inline:0}.small-card .card-stats span{display:block;font-size:7px}.small-card .card-stats b{display:block;font-size:15px}
.shop-styles{display:grid;grid-template-columns:1fr 1fr;gap:9px}.shop-styles button{display:flex;flex-direction:column;align-items:center;gap:9px;border:1px solid #bfa57a;border-radius:3px;background:#f4e6c7;padding:15px 8px;min-height:115px}.shop-styles button[aria-pressed="true"]{outline:2px solid #382b45;outline-offset:1px}.shop-styles strong{font-family:Bitter,Georgia,serif;font-size:12px}.shop-styles small{font-size:11px}.style-swatch{display:block;width:40px;height:32px;background:var(--shop-color);border-top:7px solid #f3deb0;border-bottom:4px solid #382b45}
.exchange-journal{margin-bottom:28px;padding:0 0 24px;border-bottom:3px double var(--line)}
body[data-subject="exchange"] .world-card{align-self:start;position:sticky;top:16px}body[data-subject="exchange"] .world-card #world{height:590px;min-height:590px}
@media(max-width:1050px){body[data-subject="exchange"] .adventure-layout{grid-template-columns:1fr}body[data-subject="exchange"] .world-card{position:relative}body[data-subject="exchange"] .world-card #world{height:320px;min-height:320px}}
@media(max-width:360px){.market-strip{gap:6px}.market-strip button{display:flex;flex-direction:column;text-align:center;gap:4px}.market-strip strong{font-size:22px}.deal-prices b{font-size:18px}.deal-prices span{font-size:10px}.binder-grid{gap:14px 10px}}
