/* Native dialog keeps the existing appearance; this layer only serves older WebViews. */
.dialog-compat-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:180;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:14px;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.dialog-compat-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#21432855;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.dialog-compat-layer>dialog[open]{display:block;position:relative;top:auto;right:auto;bottom:auto;left:auto;z-index:1;flex-shrink:0;margin:auto;max-width:100%;max-height:calc(100% - 2px);box-sizing:border-box;overflow-y:auto;animation:none}
.dialog-compat-layer>dialog.farm-seed-dialog[open]{display:flex;height:810px;overflow:hidden}
