/* The Grand Compendium - public collector profiles + User Settings (2026-11-22) */
.gc-cp-back{display:inline-block;margin:0 0 12px;color:#7b4f99;font-weight:700;text-decoration:none}
.gc-cp-back:hover{text-decoration:underline}
.gc-cp-msg{text-align:center;padding:30px 20px!important;color:#6f5d7d}
.gc-cp-msg h3{font:700 22px Georgia,serif;color:#714c91;margin:0 0 8px}

/* Profile card: avatar + name on the left, character on the right */
.gc-cp-card{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:16px}
.gc-cp-id{display:flex;align-items:center;gap:18px;min-width:0;flex:1}
.gc-cp-avatar{width:120px;height:120px;flex:none;object-fit:cover;border-radius:6px;background:#3c294a;border:1px solid #644d78;box-shadow:0 2px 6px #57415a26;box-sizing:border-box}
.gc-cp-noavatar{display:grid;place-items:center;color:#c9add8;font-size:30px;border-color:#ead9f1;background:#fff}
.gc-cp-text{min-width:0}
.gc-cp-name{font:700 28px Georgia,serif;color:#5f3c7d;margin:0;overflow-wrap:anywhere}
.gc-cp-look{color:#8a6aa3;margin:2px 0 0;font-weight:600}
.gc-cp-facts{color:#8f7d9b;font-size:13px;margin:6px 0 10px}
.gc-cp-edit{display:inline-block;text-decoration:none}
.gc-cp-pic img{display:block;height:240px;width:auto;max-width:100%;object-fit:contain;filter:drop-shadow(0 8px 9px #57415a33)}

/* The player's own section */
.gc-cp-custom{padding:0!important;overflow:hidden}
.gc-profile-frame{display:block;width:100%;min-height:120px;border:0;background:#fff}
.gc-cp-empty{padding:26px 20px;margin:0;text-align:center;color:#8a6aa3}
.gc-cp-empty a{color:#7b4f99;font-weight:700}

/* User Settings */
.gc-set-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap}
.gc-set-head h2{font:700 22px Georgia,serif;color:#6c4290;margin:0 0 4px}
.gc-set-head p{color:#6f5d7d;margin:0;max-width:620px}
.gc-set-view{text-decoration:none;white-space:nowrap}
.gc-set-help{margin:12px 0;background:#faf4ff;border:1px solid #eadcf3;border-radius:12px;padding:8px 14px;color:#5f4d6d;font-size:14px}
.gc-set-help summary{cursor:pointer;font-weight:700;color:#7b4f99}
.gc-set-help ul{margin:8px 0 4px;padding-left:20px}
.gc-set-help code{background:#fff;border:1px solid #eadcf3;border-radius:5px;padding:0 4px;font-size:12px;overflow-wrap:anywhere}
.gc-set-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
.gc-set-label{display:block;font-weight:800;color:#7b4f99;font-size:13px;letter-spacing:.03em;margin:0 0 6px}
#gc-set-code{display:block;width:100%;box-sizing:border-box;min-height:300px;resize:vertical;padding:14px;border:2px solid #e3d1ee;border-radius:12px;
  background:#fffdf8;color:#3d2b4d;font:15px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif;tab-size:2}
#gc-set-code:focus{outline:none;border-color:#b98ad8}
.gc-set-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px}
.gc-set-count{color:#9a8aa6;font-size:12px;margin-right:auto}
.gc-set-count.gc-set-low{color:#b04a6d;font-weight:700}
.gc-set-small{border:1px solid #e2cfe9;background:#fffafc;color:#7b4f99;font-weight:700;font-size:13px;padding:6px 11px;border-radius:12px;cursor:pointer}
.gc-set-small:hover:not(:disabled){background:#f6eefb}
.gc-set-small:disabled{opacity:.5;cursor:default}
.gc-set-error{color:#a8325a;font-weight:700;margin:8px 0 0;min-height:0}
.gc-set-note{color:#3f7d55;font-weight:700;margin:4px 0 0}
.gc-set-error:empty,.gc-set-note:empty{display:none}
.gc-set-preview .gc-profile-frame{border:2px solid #e3d1ee;border-radius:12px;min-height:300px}

@media (max-width:900px){
  .gc-set-grid{grid-template-columns:minmax(0,1fr)}
  #gc-set-code{min-height:300px}
  .gc-set-preview .gc-profile-frame{min-height:200px}
}
@media (max-width:600px){
  .gc-cp-card{flex-direction:column;align-items:stretch;text-align:center}
  .gc-cp-id{flex-direction:column;gap:10px}
  .gc-cp-avatar{width:96px;height:96px}
  .gc-cp-name{font-size:23px}
  .gc-cp-pic img{height:200px;margin:0 auto}
  .gc-set-view{width:100%;text-align:center;box-sizing:border-box}
}

/* Reporting a profile */
.gc-cp-report{border:1px solid #e2cfe9;background:#fffafc;color:#8a5f8f;font-size:13px;font-weight:700;padding:5px 12px;border-radius:12px;cursor:pointer}
.gc-cp-report:hover,.gc-cp-report:focus-visible{color:#8b3a5c;border-color:#c99ab8;background:#fff0f5}
.gc-cp-reported{color:#8a6aa3;font-size:13px}
.gc-cp-report-error{color:#a8325a;font-weight:700;font-size:13px;margin:6px 0 0}
.gc-set-hidden{margin:12px 0 0;padding:10px 14px;border-radius:12px;background:#fff3e6;border:1px solid #f0cf9c;color:#7a4b1e;font-weight:600}

/* About me heading on the profile, shop button, password form (2026-11-22) */
.gc-cp-about{font:700 18px Georgia,serif;color:#6c4290;margin:0;padding:14px 18px 0}
.gc-cp-shop{display:inline-block;text-decoration:none;margin-left:6px}
.gc-set-help p{margin:8px 0 4px}
.gc-set-help .gc-set-small{margin:6px 0 4px}
.gc-set-pw{margin-top:16px}
.gc-set-pw h2{font:700 22px Georgia,serif;color:#6c4290;margin:0 0 4px}
.gc-set-pw>p{color:#6f5d7d;margin:0 0 12px}
.gc-pw-form{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}
.gc-pw-field{display:flex;flex-direction:column;gap:4px;font-weight:700;color:#7b4f99;font-size:13px;flex:1 1 200px}
.gc-pw-field input{font:15px system-ui,sans-serif;padding:9px 11px;border:2px solid #e3d1ee;border-radius:10px;background:#fffdf8;color:#3d2b4d}
.gc-pw-field input:focus{outline:none;border-color:#b98ad8}
@media (max-width:600px){.gc-cp-shop{margin:8px 0 0}}
.gc-set-head{margin-bottom:12px}
