/* All paper changes are opt-in. No data-paper attribute means the original site. */
[data-paper=kinari]{--paper:#f5efe4;--paper-texture:url('/assets/paper-kinari-v46.webp');--line:#d5cfc2;--muted:#6c6b60}
[data-paper=haihaku]{--paper:#e7e8e7;--paper-texture:url('/assets/paper-haihaku-v46.webp');--line:#c5c9c7;--muted:#626961}
[data-paper=current]{--paper:#fcfcfa;--paper-texture:url('/assets/paper-grain.svg');--line:#d5d6ce;--muted:#73766e}
[data-paper=smooth-white]{--paper:#fcfcfa;--paper-texture:url('/assets/paper-smooth-white-v47.webp');--line:#d5d6ce;--muted:#73766e}
[data-paper=fine-white]{--paper:#fcfcfa;--paper-texture:url('/assets/paper-fine-white-v47.webp');--line:#d5d6ce;--muted:#73766e}
[data-paper=fiber-white]{--paper:#fcfcfa;--paper-texture:url('/assets/paper-fiber-white-v47.webp');--line:#d5d6ce;--muted:#73766e}
[data-paper=plaster-white]{--paper:#fcfcfa;--paper-texture:url('/assets/paper-plaster-white-v48.webp');--line:#d5d6ce;--muted:#73766e}
.paper-preview-toolbar{position:fixed;z-index:1200;bottom:14px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 24px);display:flex;align-items:center;gap:14px;padding:9px 16px;background:#fcfcfaf8;color:#282c29;border:1px solid #c5c8bf;box-shadow:0 4px 20px #18251b12;font-family:'Noto Serif JP','Yu Mincho',serif;font-size:11px;line-height:1.8;letter-spacing:0}
.paper-preview-toolbar label{display:flex;align-items:center;gap:9px;margin:0;font-size:inherit}.paper-preview-toolbar select{font:inherit;color:inherit;background:transparent;border:0;border-bottom:1px solid #a6aa9f;border-radius:0;width:auto;max-width:140px;padding:8px 18px 8px 4px;min-height:42px;margin:0}.paper-preview-toolbar a{font:inherit;color:inherit;display:flex;align-items:center;min-height:42px;white-space:nowrap;text-decoration:none;padding:0 5px}.paper-preview-toolbar :focus-visible{outline:2px solid #87685a;outline-offset:2px}html[data-paper] body{padding-bottom:90px}.paper-preview-toolbar a:hover{text-decoration:underline}
@media(max-width:600px){.paper-preview-toolbar{padding:5px 10px;gap:8px;bottom:max(10px,env(safe-area-inset-bottom));font-size:10px}.paper-preview-toolbar label>span{display:none}.paper-preview-toolbar select{max-width:136px}}
@media print{.paper-preview-toolbar{display:none}html[data-paper] body{padding-bottom:0}}
