/* Picture quality (quality.js): the diagnostic line on the loading screen and the level picker */
#loadDiag { display: block; margin: 1rem auto 0; max-width: min(34rem, calc(100vw - 2rem)); font-size: .68rem; font-weight: 500; line-height: 1.45; opacity: .8; overflow-wrap: anywhere; }
#loadDiag .ld-note { display: block; margin-bottom: .25rem; font-size: .8rem; font-weight: 700; color: #fff6c9; }
#qualityPicker { border: 1px solid rgba(255,214,120,.5); padding: 0; border-radius: 1.35rem; width: min(29rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); color: #fff; background: #10264c; box-shadow: 0 1rem 5rem rgba(6,20,45,.5); font-family: var(--font); }
#qualityPicker::backdrop { background: rgba(8,20,42,.76); backdrop-filter: blur(6px); }
#qualityPicker .language-options { gap: .4rem; }
.quality-option .q-text { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.quality-option .q-text b { font-size: .95rem; }
.quality-option .q-text small { font-size: .74rem; font-weight: 500; color: #c7d4e8; line-height: 1.35; }
#qualityPicker .language-status { font-size: .66rem; color: #9fb3d3; text-align: center; overflow-wrap: anywhere; }
@media (max-height: 580px) { #qualityPicker .language-options { grid-template-columns: repeat(2,minmax(0,1fr)); } }
#qualityNote { position: fixed; left: 50%; top: max(4.4rem, calc(env(safe-area-inset-top) + 3.8rem)); transform: translateX(-50%); z-index: 8; display: flex; align-items: center; gap: .7rem; width: max-content; max-width: min(30rem, calc(100% - 2rem)); padding: .55rem .6rem .55rem 1rem; border: 1px solid rgba(255,214,120,.5); border-radius: 1rem; color: #fff; background: rgba(16,38,76,.94); box-shadow: 0 .5rem 1.5rem rgba(6,20,45,.35); font-size: .82rem; font-weight: 600; line-height: 1.4; }
#qualityNote button { flex: none; padding: .45rem .85rem; border: 0; border-radius: 2rem; color: #10264c; background: #ffc42e; font: inherit; font-weight: 800; cursor: pointer; }
