.web-test-panel{
  color:#f0dfb6;
  font-family:var(--camp-font);
}
.wx-nav #web-test-open,.web-test-panel button{
  color:#f3e2b7;border:1px solid #a6864e;border-radius:3px;min-height:36px;padding:0 10px;
  background:linear-gradient(#304a37,#172d23);box-shadow:inset 0 0 0 2px #091c15;
  cursor:pointer;white-space:nowrap;touch-action:manipulation;
}
.wx-nav #web-test-open{display:flex;align-items:center;gap:5px;font-size:14px;border-radius:6px}
body:is(:not([data-scene]),[data-scene="launch"],[data-scene="transition"],[data-scene="battle"]) .wx-nav #web-test-open{display:none}
.wx-nav #web-test-open:focus-visible,.web-test-panel button:focus-visible{outline:2px solid #f1ca81;outline-offset:2px}
.web-test-status{font-size:11px;color:#e6c47d}
.web-test-panel{
  --web-test-panel-top:56px;
  position:fixed;inset:var(--web-test-panel-top) 0 auto;
  width:min(380px,calc(100vw - 24px));margin:0 auto;padding:9px;
  border:12px solid transparent;border-image:url('../camp/suite/panel-v1.webp') 26% fill/12px;
  background:#162d23;
  box-sizing:border-box;max-height:calc(100vh - var(--web-test-panel-top) - 12px);
  max-height:calc(100dvh - var(--web-test-panel-top) - max(12px,env(safe-area-inset-bottom,0px)));overflow:hidden;
  border-radius:3px;box-shadow:0 12px 32px #06110cc2,inset 0 0 0 3px #1c261c;
}
.web-test-panel[open]{display:flex;flex-direction:column}
.web-test-panel::backdrop{background:#07140e85}
.web-test-heading{
  display:flex;flex:none;justify-content:space-between;align-items:center;gap:8px;
  padding:0 4px 8px;border-bottom:1px solid #a6864e66;
}
.web-test-heading button{min-width:54px;min-height:44px}
.web-test-heading small,.web-test-panel p{color:#d3bd94;font-size:12px;line-height:1.6}
.web-test-heading h2{font-size:21px;margin:2px 0 0;color:#f3d28f}
.web-test-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px;min-height:0;
  padding:8px 4px 4px;overflow-y:auto;overscroll-behavior-y:contain;
}
.web-test-panel .web-test-switch{
  width:100%;min-height:46px;display:flex;align-items:center;justify-content:center;
  gap:4px;padding:4px;font-size:clamp(11px,3.6vw,14px);line-height:1.15;text-align:center;white-space:nowrap;
}
.web-test-switch-state{flex:none;color:#d6c69e;font-size:10px;background:#0e221a;border:1px solid #89704466;padding:2px 3px}
.web-test-switch[aria-checked="true"]{background:linear-gradient(#654933,#402e22);border-color:#e0b971}
.web-test-switch[aria-checked="true"] [aria-hidden="true"]{color:#bce4b1;border-color:#84a177}
.web-test-panel p{margin:5px 0 0;overflow-wrap:anywhere}
@media(min-width:701px) and (min-height:791px),(min-width:701px) and (orientation:portrait){
  .has-web-test-tools:not([data-scene="battle"]) .launch-handset{
    --screen-height:min(860px,calc(100dvh - 44px),calc((100vw - 44px)*19.5/9));
  }
}
