:root{color-scheme:dark;font:16px/1.5 Arial,sans-serif;background:#191919;color:#e4e4e4}*{box-sizing:border-box}body{margin:0;border-top:8px solid #90a17f}a{color:#d6dfca;text-decoration:none}a:hover{text-decoration:underline}header{max-width:1200px;margin:auto;padding:22px 36px;display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #69785d}header>a{font-size:19px;font-weight:bold}header span{font-weight:normal;color:#9da792;font-size:14px}main{max-width:1200px;margin:auto;padding:24px 36px 110px}h1{font-size:24px;line-height:1.3;margin:0 0 10px}h2{font-size:18px;margin:0}p{white-space:pre-wrap;margin:10px 0}.description{font-weight:bold}.source{display:inline-block;font-size:14px;color:#b5c0a6;margin:10px 0 20px}.post-content{border-top:1px solid #69785d;padding-top:18px}.post-content img{display:block;max-width:100%;max-height:750px;object-fit:contain;object-position:left;cursor:zoom-in}.post-content video{display:block;max-width:100%;max-height:750px;background:#080808}.media{margin:16px 0}.muted{color:#a4a99f}.status{padding:16px;border:1px solid #69785d;border-radius:6px;max-width:640px}.card{padding:20px 0;border-top:1px solid #41483b}.card img{display:block;max-width:240px;max-height:160px;margin-top:12px}.card .meta{font-size:14px;color:#9da792}.card a{overflow-wrap:anywhere}footer{position:fixed;bottom:14px;left:18px;padding:10px 14px;background:#20231ff0;border:1px solid #69785d;border-radius:5px;font-size:14px;max-width:calc(100% - 36px);box-shadow:0 3px 18px #0006}footer strong{color:#d5e5bc}dialog{padding:0;border:0;background:#111;max-width:96vw;max-height:96vh}dialog::backdrop{background:#000c}dialog img{display:block;max-width:94vw;max-height:92vh}dialog button{position:absolute;right:8px;top:8px;font-size:28px;cursor:pointer;background:#222b;color:white;border:0;border-radius:4px}@media(max-width:640px){header{padding:16px 20px}main{padding:20px 20px 110px}header #connection{display:none}h1{font-size:22px}}

h1,h2,p,a{overflow-wrap:anywhere}
.credit-message{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 6px;line-height:1.45}.credit-person+.credit-person{border-top:1px solid #8884;margin-top:5px;padding-top:7px}footer{max-width:min(680px,calc(100% - 36px))}
html[data-theme=imgur]{background:#2e3035;color:#fff;font-family:Arial,sans-serif}body[data-theme=imgur] main{max-width:1020px;padding-top:36px}body[data-theme=imgur] .post-content{border:0;border-radius:8px;padding:20px;background:#202124}body[data-theme=imgur] .media img,body[data-theme=imgur] .media video{max-height:none;margin:auto;object-position:center}body[data-theme=imgur] .source{color:#1bb76e}body[data-theme=imgur] footer{background:#202124ee;border-color:#51545b}
.credit-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:6px;font-size:13px}.credit-head button{border:1px solid #8888;border-radius:4px;padding:3px 8px;background:transparent;color:inherit;font:inherit;cursor:pointer}.credit-list{max-height:35vh;overflow:auto}.credit-person{padding:3px 0;overflow-wrap:anywhere}#credit-toggle{position:fixed;bottom:14px;left:18px;z-index:30;padding:8px 12px;border:1px solid #69785d;border-radius:5px;background:#20231ff0;color:#eee;font:14px/1.5 Arial,sans-serif;cursor:pointer;max-width:calc(100% - 36px)}[hidden]{display:none!important}
body{border-top:0}footer{z-index:30}button,.download{cursor:pointer}.download{display:inline-flex;align-items:center;justify-content:center;gap:8px}.download svg{width:24px;height:24px}button:focus-visible,a:focus-visible{outline:3px solid #aa89ed;outline-offset:4px}
/* Clovi */
html[data-theme=clovi]{background:#191919;font-family:system-ui,monospace}body[data-theme=clovi]{border-top:8px solid #90a17f}body[data-theme=clovi] main{max-width:none;padding:20px 40px 100px}body[data-theme=clovi] .post-content img,body[data-theme=clovi] .post-content video{max-height:666px}
/* Native image documents: Kappa, NoikCloud, Nuuls */
html[data-theme=direct]{background:#0e0e0e}body[data-theme=direct] main,body[data-theme=xyli] main{max-width:none;padding:0;min-height:100dvh;display:flex;align-items:center;justify-content:center}body[data-theme=direct] .post-content,body[data-theme=xyli] .post-content{border:0;padding:0;display:flex;align-items:center;justify-content:center;min-height:100dvh;width:100%}body[data-theme=direct] .media,body[data-theme=xyli] .media{margin:0;display:flex;align-items:center;justify-content:center;width:100%}body[data-theme=direct] .media img,body[data-theme=direct] .media video{max-width:100vw;max-height:100dvh;object-position:center}body[data-theme=direct] footer,body[data-theme=xyli] footer{background:#171717e8;border-color:#444;color:#eee}body[data-theme=direct] footer strong,body[data-theme=xyli] footer strong{color:#fff}
/* XYLI and its alternate host use the same original viewer. */
html[data-theme=xyli]{background:#121212;font-family:system-ui,-apple-system,sans-serif}body[data-theme=xyli] .media img,body[data-theme=xyli] .media video{max-width:90vw;max-height:90dvh;object-position:center;user-select:none}.floating-download{position:fixed;bottom:30px;right:30px;width:56px;height:56px;background:white;color:#121212;border:2px solid transparent;border-radius:50%;box-shadow:0 4px 12px #0006;z-index:20}.floating-download:hover{background:#e0e0e0;border-color:white;box-shadow:0 0 20px #fff5}
/* Skr.sh */
html[data-theme=skr]{color-scheme:light;background:#fff;color:#122138;font-family:Inter,Arial,sans-serif}body[data-theme=skr] main{max-width:none;padding:0 0 100px}.skr-toolbar{height:80px;display:flex;align-items:center;justify-content:space-between;padding:20px;box-shadow:0 6px 24px #1c2a4010}.skr-brand{display:flex;align-items:center;gap:14px;font-size:34px;font-weight:700;color:#070b15}.skr-mark{height:34px;width:34px;border:5px dashed #00a9e8}.skr-toolbar .download{height:40px;width:40px;border-radius:50%;background:#00abe8;color:white}.skr-canvas{padding:34px 24px 0;text-align:center}.skr-canvas .post-content{border:0;padding:0}.skr-canvas .media{display:flex;justify-content:center;margin:16px 0 28px}.skr-canvas img{max-width:min(100%,calc(100vw - 48px));max-height:64vh;border-radius:4px;box-shadow:-1px 2px 25px #0009;object-position:center}.skr-canvas video{margin:auto;max-height:64vh}.skr-caption{max-width:800px;margin:0 auto;font-size:14px;line-height:1.4}.skr-caption .source{color:#26799c}body[data-theme=skr] footer{background:#fffffff0;color:#334155;border-color:#d5dee5}body[data-theme=skr] footer strong{color:#122138}
/* Wormhole */
html[data-theme=wormhole]{background:#1a202c;color:#eee;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif}body[data-theme=wormhole]{background:#1a202c url('/assets/source-assets/wormhole-galaxy.jpg') center/cover fixed;min-height:100dvh}body[data-theme=wormhole] main{max-width:1280px;padding:16px 80px 110px}.wormhole-brand{display:flex;align-items:center;gap:12px;font-size:30px;font-weight:750;color:white}.wormhole-brand img{width:40px;height:40px}.wormhole-panel{margin-top:clamp(55px,20vh,190px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;padding:48px;background:#080514e8;border-radius:16px;min-height:420px}.wormhole-files-head{display:flex;gap:16px;align-items:center;justify-content:space-between}.wormhole-files-head h1{font-size:23px;margin:0}.wormhole-panel .download,.wormhole-panel button{font:inherit;border:0;border-radius:5px;background:#d7b7f7;color:#171020;padding:10px 16px}.wormhole-panel .download:hover,.wormhole-panel button:hover{background:#e6d2ff;text-decoration:none}.wormhole-panel .post-content{border:0;padding:0}.wormhole-panel .media{margin-top:22px}.wormhole-panel .media img,.wormhole-panel .media video{max-height:400px;object-position:center;border-radius:5px}.wormhole-panel .media img{margin:auto}.wormhole-message h2{font-size:36px;line-height:1.2;color:#e900bf;margin:4px 0 18px}.wormhole-message p{font-size:18px;line-height:1.6}.wormhole-share{margin-top:24px}.wormhole-share h3{font-size:20px;margin:0 0 12px}.wormhole-link-row{display:flex;gap:8px;align-items:stretch}.wormhole-link-row input{font:inherit;min-width:0;width:100%;border:1px solid #777082;border-radius:5px;padding:10px 12px;color:#eee;background:#0005}.wormhole-link-row button{white-space:nowrap}.wormhole-filename{color:#b7a3c6;font-size:14px}body[data-theme=wormhole] footer{border-color:#8e75ac;background:#130c23ed}body[data-theme=wormhole] footer strong{color:#dfc4ff}
@media(max-width:640px){body[data-theme=clovi] main{padding:20px 20px 100px}.floating-download{width:48px;height:48px;right:20px;bottom:84px}.skr-brand{font-size:25px}.skr-toolbar{height:70px}.skr-canvas{padding-top:20px}body[data-theme=wormhole] main{padding:16px 20px 120px}.wormhole-brand{font-size:26px}.wormhole-panel{margin-top:44px;padding:24px;gap:28px;grid-template-columns:1fr}.wormhole-files-head{align-items:flex-start;flex-wrap:wrap}.wormhole-message h2{font-size:30px}.wormhole-message p{font-size:16px}.wormhole-link-row{flex-direction:column}footer{font-size:13px}}
