/* Birba World — loader Community Care V21.3: nessuna dipendenza remota. */
html, body { background: #e8f4e7; }
#unity-canvas { background: #e8f4e7; }
#loading {
  box-sizing:border-box; position:fixed; inset:0; z-index:90;
  display:flex; justify-content:center; align-items:center;
  width:100%; height:100%; max-width:none; min-width:0;
  padding:clamp(12px,3vw,32px); margin:0; border:0; border-radius:0;
  transform:none; left:0; top:0;
  background:radial-gradient(ellipse at 50% 31%,#fffdf1 0%,#eaf5e7 47%,#d5e9d9 100%);
  box-shadow:none; color:#245642; text-align:center;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
}
#loading.hidden {display:none !important;}
#loading .birba-loader-shell {
  box-sizing:border-box; position:relative; width:min(100%,670px); max-height:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:clamp(6px,1.6vh,16px); padding:clamp(12px,2vh,26px) clamp(12px,3vw,36px);
}
#loading .birba-loader-kicker {
  color:#4b8063; font-size:clamp(10px,1.4vw,12px); font-weight:800;
  letter-spacing:.19em; text-transform:uppercase;
}
#loading .birba-loader-pic {
  display:block; width:auto; max-width:min(100%,390px);
  height:auto; max-height:min(39dvh,330px); object-fit:contain;
  filter:drop-shadow(0 16px 13px rgba(46,88,50,.14));
}
#loading .birba-loader-title {
  margin:0; font-size:clamp(27px,5vw,43px); line-height:1.08;
  font-weight:900; letter-spacing:.015em; color:#25583e;
}
#loading .birba-loader-subtitle {
  margin:0; color:#355b47; font-size:clamp(15px,2.5vw,19px);
  line-height:1.3; font-weight:600;
}
#loading .birba-loader-progress {
  width:min(100%,410px); display:flex; flex-direction:column; gap:9px;
  padding-top:clamp(5px,1.3vh,13px);
}
#loading progress#bar {
  appearance:none; -webkit-appearance:none; display:block; width:100%;
  height:13px; margin:0; padding:0; border:2px solid #a2c9ae;
  border-radius:99px; overflow:hidden; background:#e2efe5; accent-color:#579f76;
}
#loading progress#bar::-webkit-progress-bar { background:#e2efe5; border-radius:99px; }
#loading progress#bar::-webkit-progress-value { background:linear-gradient(90deg,#6ab48a,#3b9568); border-radius:99px; }
#loading progress#bar::-moz-progress-bar { background:linear-gradient(90deg,#6ab48a,#3b9568); border-radius:99px; }
#loading #status { color:#587562; font-size:clamp(12px,1.8vw,14px); line-height:1.4; margin:0; min-height:1.4em; }
#loading .birba-loader-footer { margin:0; font-size:11px; color:#7e9a83; letter-spacing:.04em; }
@media (max-height:600px) and (orientation:landscape) {
  #loading .birba-loader-shell {width:min(100%,880px); display:grid; grid-template-columns:minmax(130px,38%) 1fr; grid-template-rows:auto auto auto auto auto; column-gap:22px; row-gap:7px; align-items:center; justify-items:center;}
  #loading .birba-loader-pic {grid-column:1;grid-row:1 / 6;max-height:70dvh;max-width:100%;}
  #loading .birba-loader-kicker, #loading .birba-loader-title, #loading .birba-loader-subtitle, #loading .birba-loader-progress, #loading .birba-loader-footer {grid-column:2;}
  #loading .birba-loader-kicker {grid-row:1;align-self:end;}
  #loading .birba-loader-title {grid-row:2;}
  #loading .birba-loader-subtitle {grid-row:3;}
  #loading .birba-loader-progress {grid-row:4;}
  #loading .birba-loader-footer {grid-row:5;}
}
@media (prefers-reduced-motion:reduce) { #loading * {transition:none !important;animation:none !important;} }
