/* Browser equivalents of the native style:v2 controls, verified in DevTools.
   Preserve selector specificity as well as values; page WXSS loads afterwards. */
:root { --rpx:min(.133333333vw,.64px); }
body { margin:0 auto; max-width:480px; font-size:16px; }
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body { line-height:1.5; }
button,input,select,textarea { font:inherit; }
button { display:block; position:relative; margin:0 auto; padding:8px 24px; border:0; border-radius:4px; font-size:17px; font-weight:700; line-height:1.41176471; text-align:center; text-decoration:none; color:#000; background:#f8f8f8; cursor:pointer; box-sizing:border-box; overflow:hidden; }
button:not([size=mini]) { margin-left:auto; margin-right:auto; width:184px; }
button[size=mini] { display:inline-block; padding:0 .75em; font-size:16px; line-height:2; width:auto; }
button:disabled { color:rgba(0,0,0,.3); cursor:default; }
input,textarea { display:block; width:100%; box-sizing:border-box; min-width:0; padding:0; border:0; border-radius:0; background:transparent; color:inherit; }
input { height:1.4rem; }
textarea { resize:none; }
img { display:inline-block; width:320px; height:240px; }
wx-picker,wx-scroll,wx-checkbox-group { display:block; }
.native-checkbox { appearance:none; display:inline-block; vertical-align:middle; box-sizing:border-box; width:22px; height:22px; margin:0 5px 0 0; border:1px solid #d1d1d1; border-radius:3px; background:#fff; color:var(--control-color,#09bb07); }
.native-checkbox:checked::after { content:'✓'; display:block; text-align:center; line-height:20px; font-size:19px; }
.native-switch { appearance:none; display:inline-block; position:relative; vertical-align:middle; box-sizing:border-box; width:52px; height:32px; margin:0; border:1px solid #dfdfdf; border-radius:16px; background:#dfdfdf; transition:background .15s; }
.native-switch::after { content:''; position:absolute; top:0; left:0; width:30px; height:30px; border-radius:50%; background:#fff; box-shadow:0 1px 3px #0003; transition:transform .15s; }
.native-switch:checked { background:var(--control-color,#04be02); border-color:var(--control-color,#04be02); }
.native-switch:checked::after { transform:translateX(20px); }
input:disabled { opacity:.55; }
