/* VENDETTA — one fixed screen, one fixed-size panel, no floating image inputs. */
* { box-sizing: border-box; }
html, body { width:100%; height:100%; margin:0; overflow:hidden; background:#09090b; }
body {
  color:#ededed;
  font-family:Arial,Helvetica,sans-serif;
  background-image:linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,.18)),url('/images/vendetta-background.jpg?v=9');
  background-position:center center;
  background-repeat:no-repeat;
  background-size:cover;
}
button,input{font:inherit}
button{cursor:pointer}
.screen {
  height:100vh;height:100svh;
  width:100%; padding:clamp(7px,1.5vh,18px) 12px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:clamp(5px,1.2vh,14px);
  overflow:hidden;
}
.brand {
  width:min(670px,92vw);max-height:clamp(85px,27svh,235px);object-fit:contain;
  display:block;flex:0 1 auto;filter:drop-shadow(0 8px 18px rgba(0,0,0,.65));
}
.account-panel {
  flex:0 1 auto; width:min(580px,96vw);
  height:clamp(300px,51svh,420px); min-height:0;
  display:flex; flex-direction:column; overflow:hidden;
  border:1px solid #5a5559; border-bottom:2px solid #9d0911; border-radius:13px;
  background:linear-gradient(145deg,rgba(20,20,22,.98),rgba(8,8,10,.99));
  box-shadow:0 22px 55px rgba(0,0,0,.75),0 0 20px rgba(139,0,12,.13);
}
.panel-tabs{display:flex; flex-shrink:0;border-bottom:1px solid #575052}
.tab {
  flex:1;min-width:0;height:54px;padding:8px 4px;
  color:#e4e4e6;font-size:14px;font-weight:bold;letter-spacing:.3px;
  border:0;border-right:1px solid #4d494c;border-bottom:2px solid transparent;
  background:linear-gradient(#29292b,#131316);
}
.tab:last-child{border-right:0}
.tab.active{color:#fff;border-bottom-color:#f3313a;background:linear-gradient(#850b15,#320407)}
.tab:focus-visible,.panel-links button:focus-visible,.primary:focus-visible{outline:2px solid #ff6972;outline-offset:-2px}
.panel-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 28px 16px;scrollbar-width:thin;scrollbar-color:#6f1b23 #151517}
.pane[hidden],.notice[hidden]{display:none!important}
.pane form{margin:0}
.pane label{display:block;color:#cbc9cb;font-size:12px;font-weight:700;margin:0 0 5px}
.pane input{
  display:block;width:100%;height:42px;margin:0 0 12px;padding:9px 12px;
  border:1px solid #575459;border-radius:5px;background:#0b0b0d;
  color:#fff;font-size:14px;outline:none;
}
.pane input:focus{border-color:#e52c38;box-shadow:0 0 0 2px rgba(201,18,34,.17)}
.pane input::placeholder{color:#aaa5a8}
.primary {
  width:100%;min-height:47px;padding:10px;margin:5px 0 0;
  color:white;font-size:18px;font-weight:700;border:1px solid #f3222c;border-radius:5px;
  background:linear-gradient(#c40816,#650008);box-shadow:inset 0 1px rgba(255,255,255,.22)
}
.primary:hover{background:linear-gradient(#e91628,#87000a)}
.panel-links{display:flex;justify-content:center;gap:22px;flex-wrap:wrap;margin:14px 0 0}
.panel-links button{border:0;padding:3px 0;background:transparent;color:#d9d5d7;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.panel-links button:hover{color:#ff6873}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.field{min-width:0}
.field.full{grid-column:1/-1}
.panel-explanation{font-size:14px;color:#ccc5c9;line-height:1.45;text-align:center;margin:4px 0 20px}
.notice{border:1px solid #75323c;border-radius:5px;padding:8px 10px;margin:0 0 12px;color:#ffd8dc;background:#3c1419;font-size:12px;line-height:1.35;text-align:center}
.notice.success{border-color:#2e6646;background:#142b20;color:#b7f4c9}
.page-footer{flex-shrink:0;text-align:center;color:#a5a0a4;letter-spacing:2.1px;font-size:10px}
.page-footer span{color:#b31221;margin:0 8px}
@media(max-width:600px){
  .brand{max-height:clamp(83px,22svh,170px);width:min(550px,100vw)}
  .account-panel{height:clamp(350px,62svh,530px)}
  .panel-content{padding:16px 17px 13px}
  .tab{height:47px;font-size:11px;letter-spacing:0}
  .pane input{height:40px;margin-bottom:9px}
  .primary{min-height:43px;font-size:16px}
  .form-grid{grid-template-columns:1fr;gap:0}
  .field.full{grid-column:auto}
  .page-footer{font-size:9px;letter-spacing:1px}
}
@media(max-height:610px){
  .screen{gap:4px;padding:5px 10px}
  .brand{max-height:clamp(68px,18svh,120px)}
  .account-panel{height:clamp(278px,68svh,420px)}
  .panel-tabs .tab{height:43px}
  .panel-content{padding-top:12px}
  .page-footer{font-size:9px}
}

@media(max-width:600px) and (max-height:720px){
  .brand{max-height:100px}
  .account-panel{height:min(500px,75svh)}
}
