:root{--luke-reader-accent:#b23a29;--luke-reader-bar-h:52px}
.luke-reader-bar,.luke-share-modal{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0;color:#171714}
.luke-reader-bar{position:sticky;top:0;z-index:2147483000;min-height:var(--luke-reader-bar-h);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:7px max(14px,env(safe-area-inset-left));border-bottom:1px solid rgba(23,23,20,.18);background:rgba(252,251,247,.96);backdrop-filter:blur(14px);box-shadow:0 1px 0 rgba(255,255,255,.65)}
.luke-reader-home{display:inline-flex;align-items:center;gap:8px;width:max-content;max-width:100%;color:#171714!important;text-decoration:none!important;font-size:13px;font-weight:750;line-height:1.2;white-space:nowrap}
.luke-reader-home-mark{display:grid;place-items:center;width:28px;height:28px;flex:none;background:#171714;color:#fff;font-size:10px;font-weight:850}
.luke-reader-controls{display:flex;align-items:center;gap:7px}
.luke-reader-segment{display:flex;height:34px;border:1px solid rgba(23,23,20,.2);background:#fff}
.luke-reader-bar button{min-width:42px;height:34px;margin:0;border:0;border-radius:0;background:transparent;color:#494943;font:700 12px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0;cursor:pointer}
.luke-reader-segment button+button{border-left:1px solid rgba(23,23,20,.15)}
.luke-reader-bar button[aria-pressed="true"]{background:#171714;color:#fff}
.luke-reader-share{display:inline-flex!important;align-items:center;justify-content:center;gap:6px!important;min-width:72px!important;padding:0 11px!important;border:1px solid var(--luke-reader-accent)!important;background:var(--luke-reader-accent)!important;color:#fff!important}
.luke-reader-listen{display:inline-flex!important;align-items:center;justify-content:center;gap:6px!important;min-width:72px!important;padding:0 10px!important;border:1px solid rgba(23,23,20,.25)!important;background:#fff!important;color:#252521!important}
.luke-reader-share:focus-visible,.luke-reader-bar button:focus-visible,.luke-reader-home:focus-visible{outline:3px solid color-mix(in srgb,var(--luke-reader-accent) 45%,transparent);outline-offset:2px}
.luke-reader-sticky-offset{top:var(--luke-reader-bar-h)!important}
body.luke-reader-ready #pbar{top:var(--luke-reader-bar-h)!important}
.luke-share-modal[hidden]{display:none!important}
.luke-share-modal{position:fixed;inset:0;z-index:2147483640;display:grid;place-items:center;padding:18px;background:rgba(8,8,7,.68)}
.luke-share-panel{width:min(760px,100%);max-height:min(760px,calc(100dvh - 36px));overflow:auto;border:1px solid rgba(255,255,255,.25);background:#fbfaf6;box-shadow:0 24px 80px rgba(0,0,0,.34)}
.luke-share-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #dedbd1}
.luke-share-head h2{margin:0!important;color:#171714!important;font:800 20px/1.25 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:0!important;text-transform:none!important}
.luke-share-close{width:36px;height:36px;flex:none;border:1px solid #c9c6bc;background:#fff;color:#171714;font-size:24px;line-height:1;cursor:pointer}
.luke-share-body{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;padding:20px}
.luke-share-qr{display:flex;flex-direction:column;gap:10px;align-items:center}
.luke-share-qr img{display:block;width:220px;height:220px;border:1px solid #dedbd1;background:#fff;object-fit:contain}
.luke-share-qr p{margin:0!important;color:#66635c!important;font-size:12px!important;line-height:1.5!important;text-align:center}
.luke-share-copy{display:flex;min-width:0;flex-direction:column;gap:11px}
.luke-share-copy textarea{width:100%;min-height:124px;resize:vertical;padding:12px;border:1px solid #c9c6bc;border-radius:0;background:#fff;color:#171714;font:14px/1.55 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0}
.luke-share-actions,.luke-share-socials{display:flex;flex-wrap:wrap;gap:8px}
.luke-share-panel button,.luke-share-panel a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;border:1px solid #c9c6bc;border-radius:0;background:#fff;color:#252521!important;text-decoration:none!important;font:700 12px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0;cursor:pointer}
.luke-share-panel .luke-share-primary{border-color:var(--luke-reader-accent);background:var(--luke-reader-accent);color:#fff!important}
.luke-share-socials{padding-top:11px;border-top:1px solid #dedbd1}
.luke-share-status{min-height:18px;margin:0!important;color:var(--luke-reader-accent)!important;font-size:12px!important;font-weight:700!important;line-height:1.4!important}
body.luke-share-open{overflow:hidden}
.luke-tts-dock[hidden]{display:none!important}
.luke-tts-dock{position:fixed;z-index:2147483500;right:16px;bottom:16px;width:min(720px,calc(100% - 32px));border:1px solid rgba(23,23,20,.22);background:#fbfaf6;color:#171714;box-shadow:0 18px 60px rgba(0,0,0,.28);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0}
.luke-tts-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border-bottom:1px solid #dedbd1}
.luke-tts-head>div{display:grid;min-width:0;gap:2px}
.luke-tts-kicker{color:var(--luke-reader-accent);font-size:10px;font-weight:800;line-height:1.2;text-transform:uppercase}
.luke-tts-head strong{overflow:hidden;color:#171714;font-size:13px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.luke-tts-head>button{width:32px;height:32px;flex:none;border:1px solid #c9c6bc;background:#fff;color:#171714;font-size:20px;line-height:1;cursor:pointer}
.luke-tts-body{display:grid;grid-template-columns:auto auto auto minmax(150px,1fr);align-items:center;gap:10px;padding:12px 14px}
.luke-tts-mode,.luke-tts-transport{display:flex;height:36px;border:1px solid #c9c6bc;background:#fff}
.luke-tts-dock button,.luke-tts-dock select{height:34px;margin:0;border:0;border-radius:0;background:#fff;color:#252521;font:750 12px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0;cursor:pointer}
.luke-tts-mode button{padding:0 11px}
.luke-tts-mode button+button,.luke-tts-transport button+button{border-left:1px solid #dedbd1}
.luke-tts-mode button[aria-pressed="true"]{background:#171714;color:#fff}
.luke-tts-transport button{width:36px;font-size:13px}
.luke-tts-transport .luke-tts-play{background:var(--luke-reader-accent);color:#fff;font-size:15px}
.luke-tts-dock button:disabled{color:#aaa7a0;cursor:default}
.luke-tts-rate{display:grid;grid-template-columns:auto 58px;align-items:center;gap:6px;color:#66635c;font-size:11px;font-weight:750}
.luke-tts-rate select{width:58px;padding:0 5px;border:1px solid #c9c6bc}
.luke-tts-reading{min-width:0;padding-left:10px;border-left:1px solid #dedbd1}
.luke-tts-reading span{display:block;color:#777168;font-size:10px;font-weight:750;line-height:1.2}
.luke-tts-reading p{display:-webkit-box;overflow:hidden;margin:3px 0 0!important;color:#252521!important;font:500 13px/1.45 Georgia,"Times New Roman",serif!important;letter-spacing:0!important;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.luke-tts-source{position:relative!important;padding-right:max(52px,calc(1em + 38px))!important}
.luke-tts-source[dir="rtl"]{padding-right:inherit!important;padding-left:max(52px,calc(1em + 38px))!important}
.luke-tts-block-button{position:absolute!important;z-index:2;top:10px;right:10px;width:32px!important;height:32px!important;min-width:32px!important;margin:0!important;padding:0!important;border:1px solid color-mix(in srgb,var(--luke-reader-accent) 48%,#c9c6bc)!important;border-radius:0!important;background:#fff!important;color:var(--luke-reader-accent)!important;font:800 12px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:0!important;cursor:pointer}
.luke-tts-source[dir="rtl"]>.luke-tts-block-button{right:auto;left:10px}
.luke-tts-block-button:hover{background:var(--luke-reader-accent)!important;color:#fff!important}
.luke-tts-active{outline:2px solid color-mix(in srgb,var(--luke-reader-accent) 58%,transparent)!important;outline-offset:2px}
.luke-resources{box-sizing:border-box;width:min(960px,calc(100% - 32px));margin:40px auto;padding:24px 0;border-top:1px solid #cfcac0;border-bottom:1px solid #cfcac0;background:#fbfaf6;color:#171714;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0}
.luke-resources-inner{width:min(760px,100%);margin:0 auto;padding:0 16px}
.luke-resources-kicker{margin:0 0 12px!important;color:#777168!important;font:750 10px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace!important;letter-spacing:.14em!important}
.luke-resource-link{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;border:1px solid #d8d3c9;border-radius:6px;background:#fff;color:#171714!important;text-decoration:none!important}
.luke-resource-link+.luke-resource-link{margin-top:10px}
.luke-resource-link:hover{border-color:var(--luke-reader-accent);text-decoration:none!important}
.luke-resource-icon{display:grid;place-items:center;width:30px;height:30px;background:var(--luke-reader-accent);color:#fff;font-size:16px;font-weight:800}
.luke-resource-copy{display:grid;gap:3px;min-width:0}
.luke-resource-copy strong{color:#171714!important;font:800 14px/1.35 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:0!important}
.luke-resource-copy>span{color:#625e57!important;font:400 12.5px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:0!important}
.luke-resource-action{color:var(--luke-reader-accent)!important;font-size:12px;font-weight:750;white-space:nowrap}
@media(max-width:640px){
  :root{--luke-reader-bar-h:48px}
  .luke-reader-bar{gap:8px;padding-top:6px;padding-bottom:6px}
  .luke-reader-home-label{display:none}
  .luke-reader-share{min-width:48px!important;padding:0 8px!important}
  .luke-reader-share-label{display:none}
  .luke-reader-listen{min-width:42px!important;padding:0 8px!important}
  .luke-reader-listen-label{display:none}
  .luke-share-body{grid-template-columns:1fr}
  .luke-share-qr img{width:min(220px,64vw);height:min(220px,64vw)}
  .luke-share-panel{max-height:calc(100dvh - 24px)}
  .luke-tts-dock{right:8px;bottom:8px;width:calc(100% - 16px)}
  .luke-tts-body{grid-template-columns:auto minmax(0,1fr);gap:8px}
  .luke-tts-mode{grid-column:1}
  .luke-tts-transport{grid-column:2;justify-self:end}
  .luke-tts-rate{grid-column:1}
  .luke-tts-reading{grid-column:2;padding-left:8px}
  body.luke-reader-ready table{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow-x:auto!important;contain:paint;-webkit-overflow-scrolling:touch}
  body.luke-reader-ready .scroller{max-width:100%!important;overflow-x:auto!important;contain:paint;-webkit-overflow-scrolling:touch}
  body.luke-reader-ready .scroller>table{width:100%!important;min-width:0!important;max-width:100%!important}
  body.luke-reader-ready .matrix{grid-template-columns:minmax(78px,.75fr) repeat(4,minmax(0,1fr))!important;width:100%!important;max-width:100%!important}
  body.luke-reader-ready .matrix>*{min-width:0!important;overflow-wrap:anywhere!important}
  body.luke-reader-ready span.num{white-space:normal!important;overflow-wrap:anywhere!important}
  body.luke-reader-ready .kws,body.luke-reader-ready .two,body.luke-reader-ready .two>*{min-width:0!important;max-width:100%!important}
  body.luke-reader-ready .kw{max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important}
  body.luke-reader-ready .plain,body.luke-reader-ready .plain li{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important}
  body.luke-reader-ready main svg{max-width:100%!important;overflow:hidden!important}
  .luke-resources{width:calc(100% - 24px);margin:28px auto;padding:18px 0}
  .luke-resources-inner{padding:0 12px}
  .luke-resource-link{grid-template-columns:30px minmax(0,1fr);padding:12px}
  .luke-resource-action{grid-column:2;white-space:normal}
}
@media(prefers-reduced-motion:reduce){.luke-reader-bar{backdrop-filter:none}}
