/* SantoStefano P6.8.2 · isolated, scroll-safe guild charter dialog */
body.gc682-dialog-open{overflow:hidden}
.gc682-overlay{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;
 padding:22px;background:rgba(6,3,8,.86);backdrop-filter:blur(7px);box-sizing:border-box}
.gc682-dialog{width:min(680px,100%);max-height:min(790px,calc(100dvh - 44px));display:flex;flex-direction:column;
 background:linear-gradient(145deg,#2e1b28,#160d18 80%);color:#e5c8bc;
 border:1px solid #966653;border-radius:12px;box-shadow:0 20px 90px #000b;overflow:hidden}
.gc682-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:20px 22px 12px;
 border-bottom:1px solid #694450;flex:none}
.gc682-heading small{color:#dca46e;font-size:9px;letter-spacing:1.2px;font-weight:800}
.gc682-heading h2{font:700 26px Georgia,serif;color:#f5d19f;margin:5px 0}
.gc682-heading p{margin:0;color:#bfa3ac;font-size:12px;line-height:1.4}
.gc682-heading .gc682-close{flex:none;cursor:pointer;border:1px solid #77545c;background:#33212b;
 color:#e9c799;font-size:15px;border-radius:7px;padding:7px 11px}
.gc682-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;padding:13px 22px 11px;flex:none}
.gc682-tabs button{position:relative;cursor:pointer;border:1px solid #78515c;border-radius:7px;padding:11px 8px;
 background:#251721;color:#d5b4a9;font-weight:800;font-size:12px;transition:.15s background,.15s border}
.gc682-tabs button.is-active{background:#59322f;border-color:#e1a66e;color:#ffe2b2;box-shadow:inset 0 0 0 1px #be845a}
.gc682-tabs .gc682-done{position:absolute;right:6px;top:3px;color:#8fd8ac;font-size:10px}
.gc682-chapter{min-height:150px;max-height:305px;overflow:auto;margin:0 22px 10px;padding:15px 18px;
 background:#211621;border:1px solid #684750;border-radius:8px;scrollbar-color:#90656a #271923}
.gc682-chapter-heading>span{color:#cda178;font-weight:800;font-size:10px;letter-spacing:.8px}
.gc682-chapter h3{font:700 17px Georgia,serif;color:#f1c994;margin:7px 0 12px}
.gc682-chapter ul{padding-left:20px;margin:0}
.gc682-chapter li{font-size:12px;line-height:1.65;margin:9px 0;color:#e0c7c8}
.gc682-oath{border-top:1px solid #6b4853;padding-top:11px;font-size:12px;color:#f0cca2;font-weight:700}
.gc682-bottom{padding:3px 22px 18px;overflow:auto;min-height:0;flex:0 1 auto}
.gc682-navigation{display:flex;justify-content:space-between;align-items:center;gap:10px}
.gc682-navigation button{cursor:pointer;border:1px solid #936754;border-radius:6px;background:#3c2731;
 color:#f3cfab;padding:9px 14px;font-size:12px;font-weight:700}
.gc682-navigation button:disabled{opacity:.35;cursor:default}
.gc682-navigation>span{color:#c8b1b5;font-size:11px}
.gc682-read-note{margin:11px 0 0;color:#c5a8a9;font-size:11px;text-align:center}
.gc682-form{margin-top:13px;padding:13px;border:1px solid #86604e;border-radius:8px;background:#30202a}
.gc682-form[hidden]{display:none!important}
.gc682-challenge-label b{color:#eec38b;font:700 16px Georgia,serif}
.gc682-challenge-label p{color:#c4abb1;font-size:11px;line-height:1.5;margin:6px 0}
.gc682-form .gc-auth-submit{margin:13px 0 0;width:100%}
.gc682-open-btn{margin:13px 0 0;width:100%}
.gc682-dialog :focus-visible{outline:2px solid #edc28b;outline-offset:2px}
@media(max-width:650px){
 .gc682-overlay{padding:8px;align-items:center}
 .gc682-dialog{max-height:calc(100dvh - 16px)}
 .gc682-heading{padding:13px 14px 10px}
 .gc682-heading h2{font-size:22px}
 .gc682-tabs{padding:10px 14px;gap:4px}
 .gc682-tabs button{padding:9px 5px}
 .gc682-chapter{margin:0 14px 8px;padding:11px 12px;max-height:35dvh}
 .gc682-chapter h3{font-size:15px}
 .gc682-bottom{padding:2px 14px 12px}
 .gc682-navigation button{padding:8px 10px}
}

/* P6.8.3 · one readable scrollbar and aligned consent controls.
   auth-v30.css globally sets every form input to width:100%, min-height:46px
   and every form label to display:block; do not let that affect checkboxes. */
.gc682-dialog{
 overflow-x:hidden;
 overflow-y:auto;
 overscroll-behavior:contain;
 scrollbar-color:#9a6875 #21141e;
 scrollbar-width:thin;
}
.gc682-heading{padding-bottom:15px}
.gc682-heading p{color:#dfc4c5;font-size:12px;line-height:1.6}
.gc682-tabs{padding-top:15px;padding-bottom:12px}
.gc682-tabs button{font-size:13px;color:#e4c5b5;border-color:#926572}
.gc682-tabs button.is-active{color:#ffe4b4;background:#664039}
.gc682-chapter{
 flex:none;
 min-height:0;
 max-height:none;
 overflow:visible;
 background:linear-gradient(145deg,#2c1a27,#21141f);
 border-color:#90636c;
 padding:17px 20px;
}
.gc682-chapter-heading>span{color:#e0b17c;font-size:11px}
.gc682-chapter h3{color:#ffd89d;font:700 19px/1.25 Georgia,serif;margin:9px 0 13px}
.gc682-chapter li{color:#f5ddd3;font-size:13px;line-height:1.7;margin:10px 0}
.gc682-chapter li::marker{color:#dba874}
.gc682-oath{color:#ffdaa1;font-size:13px;line-height:1.6}
.gc682-bottom{flex:none;min-height:0;overflow:visible;padding-top:5px}
.gc682-navigation>span{color:#dbc2c2}
.gc682-read-note{color:#dec6c4;font-size:12px;line-height:1.5;margin-top:12px}
.gc682-form{
 display:grid;
 grid-template-columns:minmax(0,1fr);
 gap:13px;
 background:linear-gradient(180deg,#38232e,#291923);
 border:1px solid #a57660;
 padding:17px 18px;
 margin-top:16px;
 border-radius:10px;
 min-width:0;
}
.gc682-form .gc682-challenge-label{display:grid;gap:6px}
.gc682-form .gc682-challenge-label b{color:#ffdaa1;font:700 19px/1.25 Georgia,serif}
.gc682-form .gc682-challenge-label p{color:#e6cbd0;font-size:12px;line-height:1.65;margin:0}
.gc682-dialog .gc682-form label.gc68-consent{
 display:flex;
 flex-direction:row;
 align-items:flex-start;
 justify-content:flex-start;
 gap:12px;
 margin:2px 0 0;
 padding:0;
 cursor:pointer;
 font-size:12px;
 font-weight:600;
 line-height:1.55;
}
.gc682-dialog .gc682-form .gc68-consent input[type="checkbox"]{
 box-sizing:border-box;
 display:block;
 flex:0 0 18px;
 width:18px!important;
 height:18px!important;
 min-width:18px!important;
 min-height:18px!important;
 max-width:18px;
 max-height:18px;
 margin:2px 0 0!important;
 padding:0!important;
 border-radius:4px;
 accent-color:#d8a66d;
 cursor:pointer;
}
.gc682-dialog .gc682-form .gc68-consent span{
 display:block;
 flex:1 1 auto;
 min-width:0;
 font-size:12px;
 font-weight:600;
 line-height:1.55;
 color:#f0dbce;
}
.gc682-dialog .gc682-form label.gc68-answer{
 display:grid;
 grid-template-columns:minmax(0,1fr);
 gap:7px;
 margin:0;
 font-size:12px;
 font-weight:750;
 color:#ffdbb0;
}
.gc682-dialog .gc682-form .gc68-answer input{
 width:100%;
 min-width:0;
 box-sizing:border-box;
 margin:0;
 min-height:46px;
 padding:12px 14px;
 border:1px solid #b48669;
 background:#21141d;
 border-radius:8px;
 color:#ffe6cd;
 font-size:13px;
}
.gc682-dialog .gc682-form .gc68-answer input::placeholder{color:#b59ba5;opacity:1}
.gc682-dialog .gc682-form .gc68-answer input:focus{border-color:#f1c184;outline:2px solid #dba06a50}
.gc682-dialog .gc682-form .gc-auth-submit{
 min-height:48px;
 margin:2px 0 0;
 border-radius:8px;
 font-size:13px;
 font-weight:800;
}
.gc682-dialog .gc682-form .gc-auth-form-feedback{margin:0}
.gc682-open-btn{font-weight:800}
@media(max-width:650px){
 .gc682-chapter{max-height:none;padding:13px 14px}
 .gc682-chapter h3{font-size:17px}
 .gc682-chapter li{font-size:12px;line-height:1.65}
 .gc682-form{padding:13px 12px;gap:11px}
 .gc682-heading p{font-size:11px}
}
