/* SantoStefano P3.0 — standalone login and registration, shared guild palette. */
.gc-auth-page{--gold:#e8bf78;--gold2:#b78245;--wine:#4a1529;--border:#69454a;min-height:100vh;display:grid;place-items:center;padding:clamp(16px,3vw,42px);background:radial-gradient(ellipse at 50% -15%,#3a1528 0,transparent 60%),linear-gradient(125deg,#080509,#130b11 50%,#09060a);color:#f8e6ce;font-family:'Segoe UI',Arial,sans-serif}
.gc-auth-shell{width:min(1020px,100%);min-height:590px;display:grid;grid-template-columns:43% 57%;border:1px solid #7d5145;border-radius:20px;overflow:hidden;background:#130d14;box-shadow:0 34px 110px #000b,0 0 0 5px #140d1380}
.gc-auth-brand{min-height:590px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:30px 22px 37px;text-align:center;background:linear-gradient(180deg,#18091180,#12070acc 80%),url('/static/assets/guild-atmosphere.jpg') center/cover no-repeat;border-right:1px solid #6d3e43;overflow:hidden}
.gc-auth-brand:before{content:'';position:absolute;inset:15px;border:1px solid #c68a4d45;border-radius:8px;pointer-events:none}
.gc-auth-brand:after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 50% 42%,#b12e531c,transparent 65%);pointer-events:none}
.gc-auth-brand-top{font-size:10px;font-weight:800;letter-spacing:2.4px;color:#e6b86e;position:relative;z-index:1}.gc-auth-diamond{color:#e15d86;font-size:15px;margin-right:6px}
.gc-auth-crest{width:min(86%,320px);height:310px;object-fit:contain;position:relative;z-index:1;filter:drop-shadow(0 13px 25px #000c) drop-shadow(0 0 12px #7e1d3a70)}
.gc-auth-brand-bottom{position:relative;z-index:1}.gc-auth-brand-bottom h2{font:700 clamp(27px,3vw,38px)/1.15 Georgia,serif;color:#f8d7a1;margin:12px 0 4px}.gc-auth-brand-bottom p{font-size:12px;color:#d5aaa2}.gc-auth-ornament{font-size:12px;letter-spacing:5px;color:#be8e54}
.gc-auth-panel{padding:clamp(24px,4vw,48px);display:flex;flex-direction:column;justify-content:center;background:radial-gradient(ellipse at 100% 0,#43182a50,transparent 55%),linear-gradient(155deg,#1d101b,#100b12 72%)}
.gc-auth-header{display:flex;align-items:center;gap:11px;margin-bottom:26px}.gc-auth-header b{display:block;font:700 24px/1 Georgia,serif;color:#ffe0ad}.gc-auth-header small{display:block;margin-top:6px;font-size:9px;letter-spacing:2.1px;font-weight:800;color:#cb965e}.gc-auth-small-crest{width:45px;height:47px;display:grid;place-items:center}.gc-auth-small-crest img{width:45px;height:45px;object-fit:contain}
.gc-auth-kicker{font-size:10px;letter-spacing:2px;font-weight:800;color:#d6a061}.gc-auth-panel h1{font:700 clamp(30px,3vw,39px)/1.13 Georgia,serif;color:#ffe0b4;margin:9px 0 10px}.gc-auth-lead{font-size:13px;line-height:1.7;color:#cbb1aa;margin:0 0 22px}
.gc-auth-tabs{display:grid;grid-template-columns:1fr 1fr;border:1px solid #68414b;border-radius:10px;padding:4px;background:#160d16;margin-bottom:22px;gap:5px}.gc-auth-tabs button{border:0;background:transparent;color:#b9a4a5;font-size:13px;padding:11px 9px;border-radius:7px}.gc-auth-tabs button.selected{background:linear-gradient(110deg,#68253d,#4c1c31);color:#ffe2b5;box-shadow:inset 0 0 0 1px #ad6770}
.gc-auth-form{display:grid;gap:15px}.gc-auth-form label{display:block;color:#e2c4b0;font-size:12px;font-weight:600}.gc-auth-form input,.gc-auth-form select{margin-top:7px;background:#0d0a11;border:1px solid #5a3b47;border-radius:9px;padding:12px 14px;color:#f9e9d7;min-height:46px}.gc-auth-form input::placeholder{color:#806c75}.gc-auth-form input:focus,.gc-auth-form select:focus{border-color:#e8b779;outline:2px solid #ad6b4644}.gc-auth-form select option{background:#160e18;color:#f6ddc4}
.gc-auth-submit{width:100%;min-height:46px;border-radius:9px;background:linear-gradient(110deg,#f0d097,#c99957);border:1px solid #e5bd7a;color:#21100d;font-weight:800;margin-top:7px}.gc-auth-submit:hover{background:linear-gradient(110deg,#ffe1a7,#d7a75e)}.gc-auth-submit:disabled{opacity:.55}.gc-auth-secondary{width:100%;border:1px solid #9e6c60;background:#341826;color:#f7d2aa;padding:12px}.gc-auth-link{border:0;background:none;color:#e7bc7c;text-decoration:underline}.gc-auth-help{font-size:11px;color:#b99c94;margin:15px 0 0}.gc-auth-message{font-size:12px;color:#e5c59a;background:#2d1a23;border:1px solid #725041;border-radius:9px;padding:12px 14px;margin-top:17px;line-height:1.55}.gc-auth-foot{font-size:10px;color:#957878;text-align:center;margin-top:28px;letter-spacing:.5px}.gc-reg-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #5b3943;padding:14px 0}.gc-reg-row b{color:#f5d4a7}.gc-reg-row small{display:block;color:#b9a1a0;margin-top:4px}.gc-reg-row .actions{justify-content:flex-end}
@media(max-width:760px){.gc-auth-shell{width:min(530px,100%);grid-template-columns:1fr;min-height:0}.gc-auth-brand{min-height:0;height:130px;padding:17px;justify-content:center}.gc-auth-brand:before{inset:8px}.gc-auth-brand-top{font-size:9px}.gc-auth-brand-bottom{display:none}.gc-auth-crest{width:110px;height:84px;position:absolute;top:38px;opacity:.85}.gc-auth-panel{padding:25px 24px}.gc-auth-header{margin-bottom:20px}.gc-auth-panel h1{font-size:32px}.gc-reg-row{flex-direction:column;align-items:flex-start}}
@media(max-width:420px){.gc-auth-page{padding:8px}.gc-auth-panel{padding:23px 19px}.gc-auth-brand{height:105px}.gc-auth-crest{height:68px;top:32px}.gc-auth-panel h1{font-size:29px}}


/* P3.1 — SantoStefano gothic hall. Only the left auth artwork changes.
   Desktop artwork contains its own emblem and captions; the accessible HTML
   equivalents remain in the DOM but are visually hidden to avoid duplicates. */
.gc-auth-brand{
  background:#180d14 url('/static/assets/santostefano-auth-hall-caption.svg?v=3.5') center center / 100% 100% no-repeat;
  padding:0;
}
.gc-auth-brand::before,.gc-auth-brand::after{display:none}
.gc-auth-brand-top,.gc-auth-brand-bottom,.gc-auth-brand .gc-auth-crest{
  position:absolute!important; width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;overflow:hidden!important;
  clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;
}
/* Compact view: the illustrated hall is a banner, and the original,
   accessible crest is displayed over the arch rather than being cropped. */
@media(max-width:760px){
 .gc-auth-brand{height:136px;background-size:100% auto;background-position:center top;min-height:0}
 .gc-auth-brand .gc-auth-crest{
   position:absolute!important;top:29px!important;left:50%!important;transform:translateX(-50%);
   width:104px!important;height:98px!important;margin:0!important;
   clip-path:none!important;overflow:visible!important;opacity:1;
   filter:drop-shadow(0 5px 10px #000d);
 }
}
@media(max-width:420px){.gc-auth-brand{height:112px}.gc-auth-brand .gc-auth-crest{top:27px!important;width:84px!important;height:78px!important}}


/* P3.2 — compact, balanced auth. The portrait is NEVER stretched. */
.gc-auth-page{padding:clamp(12px,2.3vw,30px)}
.gc-auth-shell{min-height:680px}
.gc-auth-brand{min-height:0}
.gc-auth-panel{padding:28px clamp(25px,3vw,39px)}
.gc-auth-header{margin-bottom:16px}
.gc-auth-panel h1{font-size:clamp(29px,2.75vw,35px);line-height:1.13;margin:8px 0 8px}
.gc-auth-lead{line-height:1.55;margin-bottom:14px}
.gc-auth-tabs{margin-bottom:14px}
.gc-auth-tabs button{padding:9px 8px}
.gc-auth-form{gap:10px}
.gc-auth-form input,.gc-auth-form select{margin-top:5px;min-height:42px;padding:9px 12px}
.gc-auth-submit{min-height:43px;margin-top:3px}
.gc-auth-message{margin-top:12px;padding:10px 12px}
.gc-auth-foot{margin-top:15px}
.gc-auth-pair{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:12px}
.gc-auth-pair>label{min-width:0}
.gc-auth-pair input,.gc-auth-pair select{width:100%}
@media(min-width:761px){
 .gc-auth-brand{background-size:cover;background-position:center center}
}
@media(max-width:760px){
 .gc-auth-shell{min-height:0}
 .gc-auth-brand{min-height:0}
 .gc-auth-panel{padding:24px 23px}
 .gc-auth-panel h1{font-size:30px}
 .gc-auth-pair{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
}
@media(max-width:420px){
 .gc-auth-panel{padding:22px 19px}
 .gc-auth-panel h1{font-size:28px}
 .gc-auth-pair{grid-template-columns:1fr}
}


/* P3.3 — inline validation, compact input states, password visibility. */
.gc-auth-form{gap:11px}
.gc-auth-field{min-width:0;position:relative}
.gc-auth-field>label{display:block;margin-bottom:5px;color:#e9c9ae;font-size:12px;font-weight:650}
.gc-auth-control{position:relative;display:flex;align-items:center}
.gc-auth-form .gc-auth-control>input,.gc-auth-form .gc-auth-control>select{margin-top:0;width:100%;min-height:43px;padding:10px 39px 10px 13px;border:1px solid #674250;background:linear-gradient(125deg,#100b13,#120b15);border-radius:9px;outline:none;transition:border-color .15s,box-shadow .15s,background .15s}
.gc-auth-form .gc-auth-control>input:hover,.gc-auth-form .gc-auth-control>select:hover{border-color:#90616c}
.gc-auth-form .gc-auth-control>input:focus,.gc-auth-form .gc-auth-control>select:focus{border-color:#e5b47a;box-shadow:0 0 0 3px #d89d6440;outline:0}
.gc-auth-field-symbol{display:none;position:absolute;right:14px;top:50%;transform:translateY(-50%);font-weight:900;font-size:14px;pointer-events:none}
.gc-auth-field--password .gc-auth-control>input{padding-right:107px}
.gc-auth-field--password .gc-auth-field-symbol{right:91px}
.gc-auth-field-feedback{display:block;min-height:0;margin-top:0;font-size:11px;line-height:1.45;color:#bba3a0}
.gc-auth-field-feedback:empty{display:none}
.gc-auth-field.is-invalid .gc-auth-control>input,.gc-auth-field.is-invalid .gc-auth-control>select{border-color:#e46b79;background:#2a111c;box-shadow:0 0 0 2px #bd48541a}
.gc-auth-field.is-invalid .gc-auth-field-symbol{display:block;color:#f29aa3}
.gc-auth-field.is-invalid .gc-auth-field-symbol::before{content:'!'}
.gc-auth-field.is-invalid .gc-auth-field-feedback{margin-top:5px;color:#f1a1a9}
.gc-auth-field.is-valid .gc-auth-control>input,.gc-auth-field.is-valid .gc-auth-control>select{border-color:#61bc91;background:#10241e;box-shadow:0 0 0 2px #47ac7615}
.gc-auth-field.is-valid .gc-auth-field-symbol{display:block;color:#83dfad}
.gc-auth-field.is-valid .gc-auth-field-symbol::before{content:'✓'}
.gc-auth-field.is-valid .gc-auth-field-feedback{margin-top:5px;color:#92dcb5}
.gc-auth-eye{position:absolute;right:7px;top:50%;transform:translateY(-50%);border:0;border-radius:6px;padding:5px 7px;background:transparent;color:#d6b99f;font-size:11px;font-weight:600}
.gc-auth-eye:hover{background:#35202b;color:#ffe0b5}
.gc-auth-eye:focus-visible{outline:2px solid #e8bf78;outline-offset:1px}
.gc-auth-form-feedback{font-size:12px;line-height:1.4;text-align:center}
.gc-auth-form-feedback:empty{display:none}
.gc-auth-form-feedback.is-error{color:#f3a0a7;padding:8px 10px;background:#35151f;border:1px solid #8e4655;border-radius:8px}
.gc-auth-form-feedback.is-success{color:#a7e6bf;padding:8px 10px;background:#132a20;border:1px solid #46785d;border-radius:8px}
.gc-auth-message--success{background:#132b22;border-color:#508367;color:#afe7c3}
.gc-auth-pair>.gc-auth-field{min-width:0}
.gc-auth-pair .gc-auth-control>input,.gc-auth-pair .gc-auth-control>select{width:100%}
@media(max-width:420px){.gc-auth-form .gc-auth-control>input,.gc-auth-form .gc-auth-control>select{min-height:43px}.gc-auth-field>label{font-size:11px}}

.gc-auth-field[data-field="game_class"] .gc-auth-field-symbol{right:35px}
