/* Basic sizing works without inset, env(), max() or dynamic viewport units. */
#wyt-open{position:fixed;right:10px;top:62px;z-index:10001;border:1px solid #edd59e;background:#29241e;color:#f8e5b7;border-radius:20px;padding:10px 14px;font:14px sans-serif;touch-action:none;user-select:none}
#wyt-panel{position:fixed;left:12px;right:12px;top:14px;bottom:14px;max-height:calc(100vh - 28px);z-index:10002;background:#211f1bf5;color:#eee6d2;border:1px solid #a98c51;border-radius:16px;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;font:14px/1.6 sans-serif;touch-action:auto}
#wyt-panel[hidden]{display:none}
.wyt-header{flex:0 0 auto;min-width:0;padding:12px 14px 8px;background:#27231d;border-bottom:1px solid #5d5038}
.wyt-heading{display:flex;align-items:flex-start;justify-content:space-between}
#wyt-panel h2{flex:1 1 auto;min-width:0;font-size:18px;line-height:1.5;margin:0 8px 0 0}
#wyt-close{flex:0 0 auto}
#wyt-panel .free{color:#eccb7d;font-size:12px;margin:4px 0 0}
#wyt-body{flex:1 1 auto;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;padding:12px 14px;touch-action:pan-y;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}
#wyt-panel button,#wyt-panel input,#wyt-panel select{font:inherit;box-sizing:border-box;max-width:100%;min-width:0;border:1px solid #89754c;border-radius:8px;background:#35312a;color:#fff0d0;padding:8px;min-height:40px}
#wyt-panel button{cursor:pointer}
#wyt-panel button:disabled{opacity:.5;cursor:default}
#wyt-panel label{display:flex;align-items:center;justify-content:space-between;margin:10px 0}
#wyt-panel label>*+*{margin-left:8px}
#wyt-panel input[type=number]{width:145px;max-width:55%}
#wyt-panel input[type=checkbox]{flex-shrink:0;width:22px;min-height:22px}
#wyt-panel p{color:#c2b59c;font-size:12px;overflow-wrap:break-word}
#wyt-panel details{border-top:1px solid #5d5038;padding:12px 0}
#wyt-panel summary{font-size:16px;cursor:pointer}
#wyt-panel a{color:#eccb7d}
#wyt-msg{padding:10px 0;min-height:22px}
#wyt-state{font-size:12px;color:#d5c9ae}
@supports (top:max(14px,env(safe-area-inset-top))){#wyt-open{top:max(62px,env(safe-area-inset-top))}#wyt-panel{top:max(14px,env(safe-area-inset-top));bottom:max(14px,env(safe-area-inset-bottom))}}
@supports (height:100dvh){#wyt-panel{max-height:calc(100dvh - 28px)}}
