.kf-viewer{position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#10291f;color:#f7f6ea;font:15px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.kf-viewer[open]{display:flex;flex-direction:column}
.kf-viewer::backdrop{background:#10291f}
.kf-bar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:calc(env(safe-area-inset-top,0px) + 10px) 14px 10px;border-bottom:1px solid #50715f;background:#183d2d;flex:none}
.kf-back,.kf-save,.kf-share{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid #8caa96;border-radius:9px;background:#eff4e8;color:#173e2c;font:600 14px/1.3 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-decoration:none;cursor:pointer}
.kf-share[hidden],.kf-save[hidden]{display:none}
.kf-title{min-width:0;flex:1 1 120px;overflow-wrap:anywhere;font-size:14px}
.kf-save,.kf-share{background:transparent;color:#f7f6ea}
.kf-body{flex:1;min-height:0;overflow:auto;display:flex;align-items:center;justify-content:center;padding:12px 12px calc(env(safe-area-inset-bottom,0px) + 12px)}
.kf-body img,.kf-body video{display:block;max-width:100%;max-height:100%;object-fit:contain}
.kf-body audio{width:min(100%,600px)}
.kf-body iframe{width:100%;height:100%;border:0;background:#fff}
.kf-body pre{align-self:flex-start;max-width:100%;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.kf-note{max-width:560px;padding:18px;overflow-wrap:anywhere}
.kf-back:focus-visible,.kf-save:focus-visible,.kf-share:focus-visible{outline:3px solid #e1cd77;outline-offset:3px}
@media(max-width:480px){.kf-bar{gap:8px;padding-left:10px;padding-right:10px}.kf-title{order:3;flex-basis:100%}.kf-save,.kf-share{font-size:12px;padding:7px 10px}.kf-body{padding:8px 8px calc(env(safe-area-inset-bottom,0px) + 8px)}}
