/* The Grand Compendium - Collectors' Bazaar: player shops + item search (2026-11-22) */
.gc-bz-tabs{display:flex;gap:8px;margin:0 0 14px;flex-wrap:wrap}
.gc-bz-tab{padding:8px 16px;border-radius:14px;border:2px solid #e5cae5;background:#fffaf1;color:#754d8c;font-weight:800;text-decoration:none}
.gc-bz-tab.is-on{background:#8d62b8;border-color:#8d62b8;color:#fff}
.gc-bz-back{display:inline-block;margin:0 0 12px;color:#7b4f99;font-weight:700;text-decoration:none}
.gc-bz-back:hover{text-decoration:underline}
.gc-bz-search{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin-bottom:12px}
.gc-bz-field{display:flex;flex-direction:column;gap:4px;font-weight:700;color:#7b4f99;font-size:13px;min-width:0}
.gc-bz-grow{flex:1 1 240px}
.gc-bz-field input,.gc-bz-field select{font:15px system-ui,sans-serif;padding:8px 10px;border:2px solid #e3d1ee;border-radius:10px;background:#fffdf8;color:#3d2b4d;min-width:0}
.gc-bz-field input:focus,.gc-bz-field select:focus{outline:none;border-color:#b98ad8}
.gc-bz-error{color:#a8325a;font-weight:700;margin:0 0 10px}
.gc-bz-notice{color:#3f7d55;font-weight:700;margin:0 0 10px}
.gc-bz-error:empty,.gc-bz-notice:empty{display:none}
.gc-bz-empty{text-align:center;color:#8a6aa3;padding:22px 12px}
.gc-bz-empty a{color:#7b4f99;font-weight:700}
.gc-bz-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px}
.gc-bz-card{display:flex;flex-direction:column;background:#fffdfb;border:1px solid #e7d6ee;border-radius:18px;overflow:hidden;box-shadow:0 4px 14px #57415a14}
.gc-bz-art{display:grid;place-items:center;height:150px;background:linear-gradient(180deg,#f8f0fd,#fbf6ee);overflow:hidden}
.gc-bz-art img{max-width:80%;max-height:130px;object-fit:contain}
.gc-bz-art.small{height:64px;width:64px;flex:none;border-radius:12px}
.gc-bz-art.small img{max-height:56px}
.gc-bz-noart{font-size:34px;color:#c9add8}
.gc-bz-body{display:flex;flex-direction:column;gap:3px;padding:12px 14px 14px;flex:1}
.gc-bz-name{color:#5f3c7d;font-size:16px}
.gc-bz-body .rarity{align-self:flex-start}
.gc-bz-cat{color:#9a8aa6}
.gc-bz-price{margin:6px 0 0;font-weight:800;color:#6c4290}
.gc-bz-price small{font-weight:600;color:#9a8aa6}
.gc-bz-seller{margin:2px 0 0;font-size:13px;color:#7a6687}
.gc-bz-seller a{color:#7b4f99;font-weight:700}
.gc-bz-buy{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:10px}
.gc-bz-qty{display:flex;align-items:center;gap:5px;font-size:13px;color:#7b4f99;font-weight:700}
.gc-bz-qty input{width:60px;padding:5px 7px;border:2px solid #e3d1ee;border-radius:8px;font:14px system-ui,sans-serif}
.gc-bz-qty:has(input[hidden]){display:none}
.gc-bz-own{margin-top:auto;padding-top:10px;color:#9a8aa6;font-size:13px;font-weight:700}
.gc-bz-small{border:1px solid #e2cfe9;background:#fffafc;color:#7b4f99;font-weight:700;font-size:13px;padding:6px 11px;border-radius:12px;cursor:pointer;text-decoration:none;display:inline-block}
.gc-bz-small:hover:not(:disabled){background:#f6eefb}
.gc-bz-small:disabled{opacity:.5;cursor:default}
.gc-bz-pages{display:flex;justify-content:center;gap:10px;margin:16px 0}
.gc-bz-shophead{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.gc-bz-shophead h2{font:700 24px Georgia,serif;color:#5f3c7d;margin:0}
.gc-bz-shophead p{margin:2px 0 0;color:#8a6aa3}
.gc-bz-links{display:flex;gap:8px;flex-wrap:wrap}
.gc-bz-links a{text-decoration:none}
.gc-bz-till{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.gc-bz-till h3,.gc-bz-sell h3,.gc-bz-mylist h3,.gc-bz-sales h3{font:700 19px Georgia,serif;color:#6c4290;margin:0 0 6px}
.gc-bz-tillsum{font-size:22px;font-weight:800;color:#5f3c7d;margin:0}
.gc-bz-sell,.gc-bz-mylist,.gc-bz-sales{margin-bottom:14px}
.gc-bz-sellrow{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}
.gc-bz-sellrow input[type=number]{width:130px}
.gc-bz-hint{margin:10px 0 0}
.gc-bz-row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.gc-bz-mine{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px dashed #eadcf0;flex-wrap:wrap}
.gc-bz-mineinfo{display:flex;flex-direction:column;flex:1 1 140px;min-width:0}
.gc-bz-mineinfo b{color:#5f3c7d}
.gc-bz-mineinfo small{color:#9a8aa6}
.gc-bz-pricebox input{width:110px}
.gc-bz-sales ul{margin:0;padding-left:18px;color:#5f4d6d}
.gc-bz-sales li{margin:4px 0}
.gc-bz-sales small{color:#9a8aa6}
@media (max-width:600px){
  .gc-bz-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
  .gc-bz-art{height:120px}
  .gc-bz-search .btn,.gc-bz-sellrow .btn{width:100%}
  .gc-bz-search .gc-bz-field,.gc-bz-sellrow .gc-bz-field{flex:1 1 100%}
  .gc-bz-sellrow input[type=number]{width:auto}
  .gc-bz-buy{flex-wrap:wrap}
}
