/* P4.27: guild and card bonuses, strict CSP-friendly CSS */
.gc37-dossier .gc427-bonuses-row{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:12px;margin:0 0 12px;
}
.gc37-dossier .gc427-bonuses-row>.gc36-panel{min-width:0;margin:0}
.gc427-bonuses-row h3{font-size:18px}
.gc427-level-grid{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:10px;margin-top:12px;
}
.gc427-level-column{
 min-width:0;overflow:hidden;
 border:1px solid #745b68;border-radius:9px;
 background:#1c1620;
}
.gc427-level-heading{
 display:flex;justify-content:space-between;align-items:center;
 padding:11px 10px;color:#efd0ab;
 border-bottom:1px solid #6c5260;font-size:12px;gap:8px;
}
.gc427-level-heading strong{font-weight:800}
.gc427-level-heading span{
 color:#f0bd78;white-space:nowrap;font-weight:800;
}
.gc427-level-milestones{
 max-height:265px;overflow-y:auto;padding:6px;
 scrollbar-width:thin;
}
.gc427-milestone{
 display:flex;align-items:center;gap:8px;
 border-radius:5px;padding:6px 7px;
 font:500 11px/1.4 system-ui,"Segoe UI",sans-serif;
 color:#958c96;
}
.gc427-milestone>b{
 display:grid;place-items:center;flex:0 0 21px;
 width:21px;height:21px;border-radius:5px;
 color:#b5a1aa;background:#27202c;font-weight:800;
}
.gc427-milestone.active{
 background:linear-gradient(90deg,#52322555,transparent);
 color:#f2d3b5;
}
.gc427-milestone.active>b{
 color:#f8c985;background:#5b382e;
 border:1px solid #a87755;
}
.gc427-milestone.locked{opacity:.63}
.gc427-note{
 font-size:11px;line-height:1.55;
 color:#bba9af;margin:13px 2px 0;
}
.gc427-empty{padding:24px;color:#bba9af;font-size:12px}
.gc427-card-list{display:grid;gap:8px;margin-top:12px}
.gc427-card-type{
 display:flex;flex-direction:column;gap:5px;
 padding:12px 13px;
 border:1px solid #76536b;border-radius:9px;
 background:linear-gradient(110deg,#312332,#1c1621);
}
.gc427-card-type strong{color:#e7c2ed;font-size:13px}
.gc427-card-type span{color:#f3d4a5;font-size:13px;font-weight:700}
.gc427-completion{
 display:flex;align-items:center;justify-content:space-between;
 gap:10px;margin-top:10px;
 padding:12px 13px;border-radius:8px;
 border:1px solid #906c47;background:#34251f;
}
.gc427-completion strong{color:#ead1ae;font-size:13px}
.gc427-completion b{color:#ffce82;font-size:15px}
.gc427-choice-group{
 border:1px solid #795c70;border-radius:9px;
 padding:10px 12px;margin-bottom:10px;
}
.gc427-choice-group legend{color:#efc99c;font-weight:800;padding:0 5px}
.gc427-choice-group label{font-size:13px}
@media(max-width:1150px){
 .gc37-dossier .gc427-bonuses-row{grid-template-columns:1fr}
}
@media(max-width:580px){
 .gc427-level-grid{grid-template-columns:1fr}
 .gc427-level-milestones{max-height:170px}
}

/* P4.28: preserve two original guild-level columns; only add seasonal editor. */
.gc428-guild-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.gc428-season-editor{max-width:760px}
.gc428-season-list{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;max-height:55vh;overflow-y:auto;
  padding:8px 2px 14px;scrollbar-width:thin;
}
.gc428-season-item{display:flex;flex-direction:column;gap:5px;min-width:0;
  font:700 12px/1.4 system-ui,"Segoe UI",sans-serif;color:#efcfa8}
.gc428-season-item input{box-sizing:border-box;width:100%;min-height:39px;
  background:#211822;border:1px solid #806277;border-radius:7px;
  color:#f7e7dc;padding:8px 10px;font:500 12px/1.3 system-ui,"Segoe UI",sans-serif}
.gc428-season-item input:focus{outline:2px solid #e9ae7a;outline-offset:1px}
.gc37-dossier .gc428-puzzle-only{margin:0 0 12px}
@media(max-width:700px){
 .gc428-season-list{grid-template-columns:1fr}
 .gc428-guild-actions{justify-content:flex-start}
}
