@font-face{font-family:BookDevanagari;src:url('./fonts/NotoSerifDevanagari-Regular.ttf') format('truetype');font-display:swap}
@font-face{font-family:BookDevanagari;src:url('./fonts/NotoSerifDevanagari-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
:root{--bg:#f4f0e9;--paper:#fff;--ink:#28231f;--muted:#766a5e;--line:#ded5ca;--accent:#ff781f;--accent-soft:#ff9d3d;--accent-dark:#e86713;--chrome-h:132px;--footer-h:74px}
*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{background:var(--bg);color:var(--ink);font-family:system-ui,sans-serif}button,input,select,textarea{font:inherit}button,select,input{border:1px solid var(--line);border-radius:7px;background:var(--paper);color:var(--ink);padding:9px 12px}button{cursor:pointer}button:hover{border-color:var(--accent)}button:disabled{opacity:.4;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #fff;outline-offset:2px}
.toolbar{background:var(--accent);color:white;border-bottom:1px solid #ffb164}.reader-statusbar{display:none}.reader-topbar{display:flex;gap:12px;align-items:center;padding:12px 16px 10px}.book-title{min-width:0;flex:1;text-align:left}.book-title small,.book-title strong{display:block}.book-title small{font-size:15px;color:#fff3e6;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.book-title strong{font-size:18px;color:white;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.current-title{text-align:center;background:var(--accent-soft);font-family:BookDevanagari,serif;font-weight:700;font-size:21px;line-height:1.2;padding:12px 16px;color:#fff}.index-picker{position:relative;flex:0 0 auto}.index-picker:before{content:'⌄ Index';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:4px;border-radius:8px;background:rgba(255,255,255,.14);color:#fff;font:700 22px/1 Georgia,serif;pointer-events:none}.index-picker select{width:142px;border:0;border-radius:8px;background:rgba(255,255,255,.14);color:transparent;padding:9px 8px;height:44px}.index-picker select option{color:#222}.icon-button,.reader-topbar a{border:0;background:transparent;color:#fff;font-size:34px;line-height:1;padding:4px 7px;text-decoration:none}.icon-button svg,.reader-footer svg{display:block;width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.icon-button.bookmark-button[aria-pressed=true] svg{fill:currentColor}.reader-topbar a{font-size:15px;border:1px solid rgba(255,255,255,.45);border-radius:7px}.navigation{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 12px;background:#fff;color:var(--ink);border-bottom:1px solid var(--line)}.page-jump label{display:flex;align-items:center;gap:8px}#page-number{width:74px;text-align:center}#search-form{display:flex;gap:6px}#query{max-width:240px}#status{min-height:28px;text-align:center;font-size:13px;padding:5px;color:#b6252f;background:var(--paper)}#status.loading{display:flex;align-items:center;justify-content:center}#status.loading:before{content:'';width:38px;height:38px;border:4px solid #ffd1aa;border-top-color:var(--accent);border-radius:50%;animation:readerSpin .75s linear infinite}@keyframes readerSpin{to{transform:rotate(360deg)}}
.workspace{max-width:1050px;margin:0 auto 112px;padding:0 18px}.workspace h2{font-size:12px;text-align:center;color:var(--muted);font-weight:500;margin:8px}.content-pane,.source-pane{min-width:0}#page-host{overflow:auto;max-height:calc(100vh - 210px);min-height:260px;border:1px solid var(--line);background:var(--bg)}.paper{background:var(--paper);margin:0 auto;position:relative;box-shadow:0 10px 35px #30201012}.paper svg{display:block;user-select:text}.paper .decoration{pointer-events:none}.paper text{white-space:pre}.flow-paper{max-width:780px;padding:36px 8%;font-family:BookDevanagari,serif;line-height:1.9}.flow-line{margin:0 0 .65em;white-space:pre-wrap}.flow-line span{overflow-wrap:anywhere}
.reader-footer{position:fixed;left:0;right:0;bottom:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:10px;height:var(--footer-h);padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:var(--accent);color:#fff}.reader-footer button,.footer-zoom,.theme-control select{border:0;background:rgba(255,255,255,.16);color:#fff;border-radius:9px;font-weight:800}.footer-nav{display:flex;gap:2px;background:rgba(255,255,255,.14);border-radius:9px}.footer-nav button{font-size:39px;line-height:1;padding:8px 12px}.footer-symbol{font-size:32px;padding:8px 12px}.footer-zoom{display:flex;align-items:center;gap:10px;padding:4px 8px;font-size:22px}.footer-zoom button{font-size:22px;padding:4px 6px;background:transparent}.theme-control{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.theme-control select{width:44px;appearance:none;text-align:center;padding:8px 6px;font-size:22px}.theme-icon svg{width:31px;height:31px}.theme-icon circle:nth-child(1){fill:#ff5e62;stroke:#fff}.theme-icon circle:nth-child(2){fill:#35a7ff;stroke:#fff}.theme-icon circle:nth-child(3){fill:#ffdf42;stroke:#fff}#refresh-page{font-size:32px;padding:6px 8px}#mode{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.review-mode .workspace{max-width:1700px;display:grid;grid-template-columns:1fr 1fr;gap:18px}.source-pane{overflow:auto;max-height:calc(100vh - 170px)}#source{width:100%;display:block;background:white}.editor-panel{max-width:1400px;margin:24px auto 112px;padding:24px;background:var(--paper);border:1px solid var(--line);border-radius:10px}.editor-panel h2{font-size:20px}.editor-panel p,.editor-panel summary{font-size:13px;color:var(--muted)}.review-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.edit-line{display:flex;align-items:center;gap:10px;margin:10px 0;padding:10px;border:1px solid var(--line);border-radius:6px;flex-wrap:wrap}.edit-line textarea{flex:1;min-width:220px;min-height:56px;font-family:BookDevanagari,serif;line-height:1.6;background:var(--paper);color:var(--ink);border:1px solid var(--line);padding:8px}.edit-line input[type=number]{width:78px}.edit-line label{font-size:12px}.review-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}#save,#save-next{background:var(--accent);color:white}.approval{display:block;margin-top:20px}.approval input{width:18px;height:18px;vertical-align:middle}#geometry{display:block;width:100%;height:260px;font:12px monospace;margin:12px 0}#issues{font-size:13px;line-height:1.7;max-height:220px;overflow:auto}#results{padding:12px;max-width:900px;margin:0 auto}#results button{display:block;width:100%;text-align:left;margin-bottom:6px}
body[data-theme=sepia]{--bg:#e5dac4;--paper:#fbf1dc;--ink:#4b3524}body[data-theme=dark]{--bg:#171b20;--paper:#242b31;--ink:#eae3d8;--muted:#b0a697;--line:#444a50;--accent:#ee7a22;--accent-soft:#f1983b}body[data-theme=dark] .paper text{fill:var(--ink)}body[data-theme=dark] .decoration{filter:invert(.85)}
.review-progress{max-width:1664px;margin:12px auto;padding:12px 16px;background:var(--paper);border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:13px}.review-progress progress{width:150px;accent-color:#39724a}.review-progress label{display:flex;align-items:center;gap:6px}.review-progress details{flex-basis:100%}.review-progress summary{cursor:pointer;color:var(--muted)}#page-map{display:grid;grid-template-columns:repeat(auto-fill,minmax(42px,1fr));gap:5px;padding-top:12px}#page-map button{padding:7px 3px;font-size:12px}#page-map .approved{background:#dceede;color:#244d2c}#page-map [aria-current]{outline:2px solid var(--accent);outline-offset:1px}.review-mode .source-pane{overflow:visible;max-height:none}.review-mode #source-host,.review-mode #page-host{overflow:auto;max-height:65vh;min-height:260px;border:1px solid var(--line)}
@media(max-width:650px){:root{--chrome-h:132px;--footer-h:78px}html,body{height:100%;overflow:hidden}body{background:var(--paper);display:flex;flex-direction:column}.reader-chrome{flex:0 0 auto;box-shadow:0 1px 0 #ffc073}.reader-statusbar{height:42px;display:flex;align-items:center;justify-content:space-between;padding:7px 28px 0;font-weight:800;font-size:16px;letter-spacing:.2px}.reader-topbar{height:51px;padding:4px 10px;gap:8px}.book-title{text-align:left}.book-title small{display:none}.book-title strong{font-family:BookDevanagari,serif;font-size:20px;font-weight:700;line-height:1;color:white}.index-picker select{width:122px;height:42px}.index-picker:before{font-size:24px}.icon-button{font-size:37px;padding:2px 5px}.current-title{height:39px;padding:7px 12px;font-size:21px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.navigation{display:none}#status{position:absolute;left:0;right:0;top:calc(var(--chrome-h) + ((100vh - var(--chrome-h) - var(--footer-h)) / 2) - 19px);z-index:3;min-height:38px;padding:0;background:transparent;font-size:30px;font-weight:800;color:#b6252f;pointer-events:none}.workspace{flex:1 1 auto;min-height:0;width:100%;max-width:none;margin:0;padding:0;background:var(--paper);overflow:hidden}.workspace h2{display:none}.content-pane{height:100%;min-height:0}#page-host{height:calc(100vh - var(--chrome-h) - var(--footer-h));max-height:none;min-height:0;width:100%;overflow:auto;border:0;background:var(--paper);padding:0}.paper{box-shadow:none;margin:0 auto;background:var(--paper)}.paper svg{width:100%;height:auto}.flow-paper{width:100%;max-width:none;min-height:100%;padding:30px 22px 98px;font-size:34px;line-height:1.62}.flow-line{margin:0 0 .52em;text-align:justify;white-space:normal}.reader-footer{height:var(--footer-h);padding:7px 6px calc(7px + env(safe-area-inset-bottom));gap:5px}.footer-nav button{font-size:34px;padding:7px 9px}.footer-symbol{font-size:27px;padding:7px 8px}.footer-zoom{font-size:20px;gap:4px;padding:5px 6px}.theme-icon{padding:6px 4px}.theme-icon svg{width:28px;height:28px}#refresh-page{font-size:28px;padding:6px 5px}.review-mode{overflow:auto;display:block}.review-mode .workspace{display:grid;grid-template-columns:1fr;height:auto;overflow:visible}.review-progress{margin:8px 6px;gap:8px}.review-progress progress{width:100px}.review-mode #source-host,.review-mode #page-host{max-height:55vh}.editor-panel{margin:12px 6px 100px;padding:14px}}
@media(min-width:651px){.reader-statusbar{display:none}.reader-footer{height:64px}.workspace{margin-bottom:92px}}





/* Mobile Geeta-Seva style reader chrome */
@media(max-width:650px){
  :root{--chrome-h:142px;--footer-h:76px}
  html,body{height:100%;overflow:hidden}
  body{background:#fff;display:flex;flex-direction:column;font-family:BookDevanagari,serif}
  .reader-chrome{background:var(--accent);border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none;color:#fff}
  .reader-statusbar{height:40px;display:flex;align-items:center;justify-content:space-between;padding:8px 28px 0;font-family:system-ui,sans-serif;font-weight:800;font-size:15px;letter-spacing:.1px}
  .reader-topbar{height:58px;padding:4px 9px 6px;gap:8px;display:flex;align-items:center}
  .index-picker{flex:0 0 auto;width:120px;height:43px}
  .index-picker select{width:120px;height:43px;border:0;border-radius:8px;background:rgba(255,255,255,.16);color:transparent;padding:0}
  .index-picker:before{content:'⌄ सूची';height:43px;border-radius:8px;background:rgba(255,255,255,.16);font-family:BookDevanagari,serif;font-size:23px;font-weight:700;line-height:1;color:#fff;display:flex;align-items:center;justify-content:center;gap:4px}
  .book-title{flex:1;min-width:0;text-align:center;padding:0 2px}
  .book-title small{display:none}
  .book-title strong{display:block;font-family:BookDevanagari,serif;font-size:21px;font-weight:500;line-height:43px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .icon-button{width:39px;height:43px;padding:0;border:0;background:transparent;color:#fff;font-size:33px;display:inline-flex;align-items:center;justify-content:center}
  .icon-button svg{width:28px;height:28px;stroke-width:2.1}
  #close-reader{font-family:system-ui,sans-serif;font-size:38px;font-weight:300;line-height:1}
  .current-title{height:44px;background:var(--accent-soft);padding:8px 12px 6px;font-family:BookDevanagari,serif;font-size:22px;font-weight:500;line-height:31px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
  .navigation{display:none}
  #status{position:absolute;left:0;right:0;top:calc(var(--chrome-h) + ((100vh - var(--chrome-h) - var(--footer-h)) / 2) - 22px);z-index:3;min-height:44px;padding:0;background:transparent;color:transparent;pointer-events:none}
  #status.loading{display:flex;align-items:center;justify-content:center;color:transparent}
  #status.loading:before{content:'';width:36px;height:36px;border:4px solid #ffd1aa;border-top-color:var(--accent);border-radius:50%;animation:readerSpin .75s linear infinite}
  .workspace{flex:1 1 auto;min-height:0;width:100%;max-width:none;margin:0;padding:0;background:#fff;overflow:hidden}
  .workspace h2{display:none}
  .content-pane{height:100%;min-height:0}
  #page-host{height:calc(100vh - var(--chrome-h) - var(--footer-h));max-height:none;min-height:0;width:100%;overflow:auto;border:0;background:#fff;padding:0;overscroll-behavior:contain}
  .paper{box-shadow:none;margin:0 auto;background:#fff}
  .paper svg{width:100%;height:auto}
  .flow-paper{width:100%;max-width:none;min-height:100%;padding:34px 34px 96px;background:#fff;font-family:BookDevanagari,serif;font-size:25px;line-height:1.72;color:#26211f}
  .flow-line{margin:0 0 .58em;text-align:justify;white-space:normal;overflow-wrap:break-word;word-break:normal}.flow-line span{font-size:1em!important;font-weight:400!important}
  .flow-line:first-child,.flow-line:nth-child(2){text-align:center}
  .reader-footer{height:var(--footer-h);padding:7px 8px calc(8px + env(safe-area-inset-bottom));gap:5px;background:var(--accent);color:#fff;display:flex;align-items:flex-start;justify-content:space-between}
  .reader-footer button,.footer-zoom,.theme-control select{border:0;background:rgba(255,255,255,.16);color:#fff;border-radius:9px;font-weight:800;min-height:48px}
  .footer-nav{height:48px;display:flex;gap:0;background:rgba(255,255,255,.16);border-radius:9px;overflow:hidden;flex:0 0 126px}
  .footer-nav button{width:63px;height:48px;font-size:0;padding:0;display:flex;align-items:center;justify-content:center;background:transparent;border-radius:0}
  .footer-nav button svg{width:40px;height:40px;stroke-width:3.8}
  .footer-symbol{width:54px;height:48px;font-size:0;padding:0;display:flex;align-items:center;justify-content:center;background:transparent!important}
  .footer-symbol .tap-finger{font-family:system-ui,sans-serif;font-size:36px;line-height:1;color:#fff;font-weight:400;transform:translateY(-1px);display:block}
  .footer-zoom{height:48px;display:flex;align-items:center;gap:8px;padding:5px 10px;font-family:system-ui,sans-serif;font-size:22px;line-height:1;flex:0 0 154px;justify-content:center}
  .footer-zoom button{width:30px;height:38px;min-height:38px;padding:0;background:transparent;display:flex;align-items:center;justify-content:center}
  .footer-zoom button svg{width:24px;height:24px;stroke-width:2.6}
  .theme-icon{width:44px;height:48px;min-height:48px;padding:0;display:flex;align-items:center;justify-content:center;background:transparent!important}
  .theme-icon svg{width:34px;height:34px}
  #refresh-page{width:46px;height:48px;min-height:48px;padding:0;font-size:0;background:transparent!important;display:flex;align-items:center;justify-content:center}
  #refresh-page svg{width:35px;height:35px;stroke-width:2.6}
  #mode,.theme-control{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important}
}







/* Geeta Seva matched footer icons */
@media(max-width:650px){
  .reader-footer{height:76px!important;padding:7px 8px calc(8px + env(safe-area-inset-bottom))!important;gap:5px!important;align-items:flex-start!important;background:#ff781f!important}
  .reader-footer svg{display:block;fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round}
  .footer-nav{height:48px!important;flex:0 0 126px!important;background:rgba(255,255,255,.16)!important;border-radius:9px!important;overflow:hidden!important}
  .footer-nav button{width:63px!important;height:48px!important;min-height:48px!important;padding:0!important;background:transparent!important;border-radius:0!important}
  .gs-arrow{width:43px!important;height:43px!important;stroke-width:6!important}
  .footer-symbol{width:54px!important;height:48px!important;min-height:48px!important;padding:0!important;background:transparent!important;border-radius:0!important}
  .gs-hand{width:38px!important;height:38px!important}.gs-hand-rays{fill:none!important;stroke:#fff!important;stroke-width:3!important}.gs-hand-shape{fill:#fff!important;stroke:none!important}
  .footer-zoom{height:48px!important;min-height:48px!important;flex:0 0 154px!important;gap:8px!important;padding:5px 10px!important;justify-content:center!important;background:rgba(255,255,255,.16)!important;border-radius:9px!important;color:#fff!important;font:700 22px/1 system-ui,sans-serif!important}
  .footer-zoom button{width:30px!important;height:38px!important;min-height:38px!important;padding:0!important;background:transparent!important}
  .footer-zoom svg{width:25px!important;height:25px!important;stroke-width:2.4!important}.footer-zoom rect{stroke:#fff!important;fill:none!important}
  .theme-icon{width:44px!important;height:48px!important;min-height:48px!important;padding:0!important;background:transparent!important;border-radius:0!important}.gs-theme{width:35px!important;height:35px!important;stroke-width:1.3!important}.gs-theme .c1{fill:#ef4d67!important;stroke:#fff!important}.gs-theme .c2{fill:#267fc4!important;stroke:#fff!important}.gs-theme .c3{fill:#f4ce38!important;stroke:#fff!important}
  #refresh-page{width:46px!important;height:48px!important;min-height:48px!important;padding:0!important;background:transparent!important;border-radius:0!important}.gs-refresh{width:38px!important;height:38px!important;stroke-width:4!important}
}

/* Geeta Seva footer final visual override */
@media(max-width:650px){
  .reader-footer{height:76px!important;padding:7px 8px calc(8px + env(safe-area-inset-bottom))!important;background:#ff781f!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:5px!important;color:#fff!important}
  .reader-footer button{position:relative!important;color:#fff!important;border:0!important;box-shadow:none!important;outline:0!important}
  .reader-footer svg{display:none!important}
  .footer-nav{height:48px!important;flex:0 0 126px!important;display:flex!important;background:rgba(255,255,255,.17)!important;border-radius:9px!important;overflow:hidden!important}
  .footer-nav button{width:63px!important;height:48px!important;min-height:48px!important;background:transparent!important;border-radius:0!important;padding:0!important;font-size:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
  #previous::before,#next::before{display:block!important;font-family:Arial,Helvetica,sans-serif!important;font-size:58px!important;line-height:42px!important;font-weight:700!important;color:#fff!important;transform:scaleX(.72)!important;margin-top:-3px!important}
  #previous::before{content:'‹'!important}#next::before{content:'›'!important}
  .footer-symbol{width:54px!important;height:48px!important;min-height:48px!important;background:transparent!important;border-radius:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:0!important}
  .footer-symbol::before{content:'☝'!important;display:block!important;font-family:'Segoe UI Symbol','Noto Color Emoji',system-ui,sans-serif!important;font-size:35px!important;line-height:44px!important;color:#fff!important;filter:grayscale(1) brightness(5)!important;transform:translateY(-2px)!important}
  .footer-symbol::after{content:''!important;position:absolute!important;left:18px!important;top:4px!important;width:18px!important;height:9px!important;border-top:3px dotted #fff!important;border-radius:50%!important;opacity:.95!important}
  .footer-zoom{height:48px!important;min-height:48px!important;flex:0 0 154px!important;background:rgba(255,255,255,.17)!important;border-radius:9px!important;padding:5px 9px!important;gap:8px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#fff!important;font:700 22px/1 Arial,Helvetica,sans-serif!important}
  .footer-zoom span{font:700 24px/1 Arial,Helvetica,sans-serif!important;color:#fff!important;margin:0 1px!important}
  .footer-zoom button{width:30px!important;height:38px!important;min-height:38px!important;background:transparent!important;padding:0!important;font-size:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
  #smaller::before,#larger::before{content:''!important;width:23px!important;height:23px!important;border:3px solid #fff!important;border-radius:6px!important;display:block!important;box-sizing:border-box!important}
  #smaller::after,#larger::after{position:absolute!important;color:#fff!important;font:700 20px/1 Arial,Helvetica,sans-serif!important;top:9px!important;left:0!important;right:0!important;text-align:center!important}
  #smaller::after{content:'−'!important}#larger::after{content:'+'!important;top:8px!important}
  .theme-icon{width:44px!important;height:48px!important;min-height:48px!important;background:transparent!important;border-radius:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
  .theme-icon svg{display:block!important;width:35px!important;height:35px!important}.theme-icon svg circle{stroke:#fff!important;stroke-width:1.3!important}.theme-icon .c1,.theme-icon circle:nth-child(1){fill:#ee4f65!important}.theme-icon .c2,.theme-icon circle:nth-child(2){fill:#2c88c8!important}.theme-icon .c3,.theme-icon circle:nth-child(3){fill:#f6ce39!important}
  #refresh-page{width:46px!important;height:48px!important;min-height:48px!important;background:transparent!important;border-radius:0!important;padding:0!important;font-size:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
  #refresh-page::before{content:'↻'!important;font-family:Arial,Helvetica,sans-serif!important;font-size:44px!important;line-height:44px!important;font-weight:400!important;color:#fff!important;transform:translateY(-2px)!important}
}

/* Geeta Seva footer direct visible icon layout */
@media(max-width:650px){
  .gs-footer{height:76px!important;padding:7px 8px calc(8px + env(safe-area-inset-bottom))!important;background:#ff781f!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:5px!important;color:#fff!important}
  .gs-footer button{border:0!important;color:#fff!important;box-shadow:none!important;outline:0!important;padding:0!important;font-size:0!important}
  .gs-footer span{display:inline-flex!important;align-items:center!important;justify-content:center!important;color:#fff!important}
  .gs-nav{height:48px!important;flex:0 0 126px!important;background:rgba(255,255,255,.18)!important;border-radius:9px!important;overflow:hidden!important;display:flex!important}
  .gs-nav button{width:63px!important;height:48px!important;min-height:48px!important;background:transparent!important;border-radius:0!important}.gs-chevron{font-family:Arial,Helvetica,sans-serif!important;font-size:58px!important;font-weight:700!important;line-height:42px!important;transform:scaleX(.72) translateY(-3px)!important}
  .gs-hand-btn{width:54px!important;height:48px!important;min-height:48px!important;background:transparent!important;border-radius:0!important;position:relative!important}.gs-hand-text{font-family:'Segoe UI Symbol','Noto Color Emoji',system-ui,sans-serif!important;font-size:34px!important;line-height:40px!important;filter:grayscale(1) brightness(5)!important;transform:translateY(-2px)!important}.gs-hand-btn:after{content:''!important;position:absolute!important;left:17px!important;top:4px!important;width:19px!important;height:9px!important;border-top:3px dotted #fff!important;border-radius:50%!important}
  .gs-zoom{height:48px!important;min-height:48px!important;flex:0 0 154px!important;background:rgba(255,255,255,.18)!important;border-radius:9px!important;padding:5px 10px!important;gap:8px!important;display:flex!important;align-items:center!important;justify-content:center!important}.gs-zoom button{width:30px!important;height:38px!important;min-height:38px!important;background:transparent!important;border-radius:0!important}.gs-zoom-box{width:23px!important;height:23px!important;border:3px solid #fff!important;border-radius:6px!important;font:700 18px/18px Arial,Helvetica,sans-serif!important;box-sizing:border-box!important}.gs-aa{font:700 24px/1 Arial,Helvetica,sans-serif!important;margin:0 1px!important}
  .gs-theme-btn{width:44px!important;height:48px!important;min-height:48px!important;background:transparent!important;border-radius:0!important;position:relative!important}.gs-theme-dot{position:absolute!important;width:18px!important;height:18px!important;border:1.5px solid #fff!important;border-radius:50%!important}.gs-theme-dot.d1{left:8px!important;top:10px!important;background:#ee4f65!important}.gs-theme-dot.d2{left:20px!important;top:10px!important;background:#2c88c8!important}.gs-theme-dot.d3{left:14px!important;top:23px!important;background:#f6ce39!important}
  .gs-refresh-btn{width:46px!important;height:48px!important;min-height:48px!important;background:transparent!important;border-radius:0!important}.gs-refresh-text{font:400 44px/44px Arial,Helvetica,sans-serif!important;transform:translateY(-2px)!important}
}

/* Compact Geeta Seva footer fit for 360dp emulator */
@media(max-width:650px){
  .gs-footer{height:76px!important;padding:7px 6px calc(8px + env(safe-area-inset-bottom))!important;gap:4px!important;overflow:hidden!important}
  .gs-nav{flex:0 0 96px!important;width:96px!important;height:48px!important}.gs-nav button{width:48px!important;height:48px!important}.gs-chevron{font-size:54px!important;line-height:40px!important;transform:scaleX(.68) translateY(-3px)!important}
  .gs-hand-btn{flex:0 0 40px!important;width:40px!important;height:48px!important}.gs-hand-text{font-size:32px!important}.gs-hand-btn:after{left:11px!important;top:4px!important;width:17px!important}
  .gs-zoom{flex:0 0 124px!important;width:124px!important;height:48px!important;padding:5px 7px!important;gap:5px!important}.gs-zoom button{width:26px!important}.gs-zoom-box{width:22px!important;height:22px!important;border-width:3px!important;font-size:17px!important;line-height:17px!important}.gs-aa{font-size:23px!important;margin:0!important}
  .gs-theme-btn{flex:0 0 34px!important;width:34px!important;height:48px!important}.gs-theme-dot{width:16px!important;height:16px!important}.gs-theme-dot.d1{left:3px!important;top:11px!important}.gs-theme-dot.d2{left:15px!important;top:11px!important}.gs-theme-dot.d3{left:9px!important;top:23px!important}
  .gs-refresh-btn{flex:0 0 34px!important;width:34px!important;height:48px!important}.gs-refresh-text{font-size:40px!important;line-height:42px!important}
}

/* Ultra compact footer to keep every Geeta Seva icon visible */
@media(max-width:650px){
  footer.reader-footer.gs-footer{padding-left:5px!important;padding-right:5px!important;gap:3px!important;justify-content:flex-start!important}
  footer.reader-footer.gs-footer .gs-nav{flex:0 0 82px!important;width:82px!important}.gs-footer .gs-nav button{width:41px!important}.gs-footer .gs-chevron{font-size:50px!important;transform:scaleX(.62) translateY(-3px)!important}
  footer.reader-footer.gs-footer .gs-hand-btn{flex:0 0 34px!important;width:34px!important}.gs-footer .gs-hand-text{font-size:30px!important}.gs-footer .gs-hand-btn:after{left:8px!important;width:16px!important}
  footer.reader-footer.gs-footer .gs-zoom{flex:0 0 116px!important;width:116px!important;padding-left:6px!important;padding-right:6px!important;gap:4px!important}.gs-footer .gs-zoom button{width:24px!important}.gs-footer .gs-zoom-box{width:21px!important;height:21px!important;font-size:16px!important;line-height:16px!important}.gs-footer .gs-aa{font-size:22px!important}
  footer.reader-footer.gs-footer .gs-theme-btn{flex:0 0 31px!important;width:31px!important}.gs-footer .gs-theme-dot{width:15px!important;height:15px!important}.gs-footer .gs-theme-dot.d1{left:2px!important}.gs-footer .gs-theme-dot.d2{left:13px!important}.gs-footer .gs-theme-dot.d3{left:7px!important;top:22px!important}
  footer.reader-footer.gs-footer .gs-refresh-btn{flex:0 0 32px!important;width:32px!important;display:flex!important}.gs-footer .gs-refresh-text{font-size:38px!important;line-height:40px!important}
}

/* Force full footer fit: all five controls visible */
@media(max-width:650px){
  footer.reader-footer.gs-footer{padding-left:4px!important;padding-right:4px!important;gap:2px!important;justify-content:flex-start!important;overflow:hidden!important}
  footer.reader-footer.gs-footer .gs-nav{flex:0 0 72px!important;width:72px!important}.gs-footer .gs-nav button{width:36px!important}.gs-footer .gs-chevron{font-size:48px!important;transform:scaleX(.58) translateY(-3px)!important}
  footer.reader-footer.gs-footer .gs-hand-btn{flex:0 0 30px!important;width:30px!important}.gs-footer .gs-hand-text{font-size:28px!important}.gs-footer .gs-hand-btn:after{left:7px!important;width:14px!important;border-top-width:2px!important}
  footer.reader-footer.gs-footer .gs-zoom{flex:0 0 98px!important;width:98px!important;padding-left:4px!important;padding-right:4px!important;gap:3px!important}.gs-footer .gs-zoom button{width:22px!important}.gs-footer .gs-zoom-box{width:20px!important;height:20px!important;border-width:3px!important;font-size:15px!important;line-height:15px!important}.gs-footer .gs-aa{font-size:21px!important}
  footer.reader-footer.gs-footer .gs-theme-btn{flex:0 0 28px!important;width:28px!important}.gs-footer .gs-theme-dot{width:14px!important;height:14px!important}.gs-footer .gs-theme-dot.d1{left:1px!important}.gs-footer .gs-theme-dot.d2{left:11px!important}.gs-footer .gs-theme-dot.d3{left:6px!important;top:22px!important}
  footer.reader-footer.gs-footer .gs-refresh-btn{flex:0 0 30px!important;width:30px!important;display:flex!important}.gs-footer .gs-refresh-text{font-size:36px!important;line-height:39px!important}
}

/* Pin right footer icons so theme and refresh never clip */
@media(max-width:650px){
  footer.reader-footer.gs-footer{position:fixed!important;display:flex!important;justify-content:flex-start!important;padding-left:6px!important;padding-right:86px!important;gap:4px!important;overflow:visible!important}
  footer.reader-footer.gs-footer .gs-nav{flex:0 0 96px!important;width:96px!important}.gs-footer .gs-nav button{width:48px!important}.gs-footer .gs-chevron{font-size:52px!important;transform:scaleX(.64) translateY(-3px)!important}
  footer.reader-footer.gs-footer .gs-hand-btn{flex:0 0 38px!important;width:38px!important}.gs-footer .gs-hand-text{font-size:31px!important}.gs-footer .gs-hand-btn:after{left:10px!important;width:16px!important}
  footer.reader-footer.gs-footer .gs-zoom{flex:0 0 122px!important;width:122px!important;padding-left:6px!important;padding-right:6px!important;gap:4px!important}.gs-footer .gs-zoom button{width:25px!important}.gs-footer .gs-zoom-box{width:22px!important;height:22px!important}.gs-footer .gs-aa{font-size:22px!important}
  footer.reader-footer.gs-footer .gs-theme-btn{position:absolute!important;right:47px!important;top:7px!important;width:34px!important;height:48px!important;display:flex!important}.gs-footer .gs-theme-dot{width:15px!important;height:15px!important}.gs-footer .gs-theme-dot.d1{left:2px!important;top:10px!important}.gs-footer .gs-theme-dot.d2{left:14px!important;top:10px!important}.gs-footer .gs-theme-dot.d3{left:8px!important;top:22px!important}
  footer.reader-footer.gs-footer .gs-refresh-btn{position:absolute!important;right:6px!important;top:7px!important;width:38px!important;height:48px!important;display:flex!important;visibility:visible!important}.gs-footer .gs-refresh-text{font-size:40px!important;line-height:40px!important}
}

/* Force refresh visible above footer */
@media(max-width:650px){
  footer.reader-footer.gs-footer .gs-theme-btn{position:fixed!important;right:46px!important;bottom:20px!important;z-index:99999!important;display:flex!important;visibility:visible!important}
  footer.reader-footer.gs-footer .gs-refresh-btn{position:fixed!important;right:5px!important;bottom:20px!important;z-index:100000!important;width:38px!important;height:48px!important;display:flex!important;visibility:visible!important;opacity:1!important;background:transparent!important;color:#fff!important}
  footer.reader-footer.gs-footer .gs-refresh-text{display:flex!important;color:#fff!important;font:400 40px/40px Arial,Helvetica,sans-serif!important;visibility:visible!important;opacity:1!important}
}

/* FINAL Geeta Seva reader footer grid: show all controls on 360dp emulator */
@media(max-width:650px){
  footer.reader-footer.gs-footer{
    position:fixed!important;
    left:0!important;right:0!important;bottom:0!important;
    height:76px!important;
    box-sizing:border-box!important;
    padding:7px 6px calc(8px + env(safe-area-inset-bottom)) 6px!important;
    background:#ff781f!important;
    display:grid!important;
    grid-template-columns:96px 40px minmax(112px,1fr) 34px 34px!important;
    column-gap:5px!important;
    align-items:start!important;
    justify-content:stretch!important;
    overflow:visible!important;
    z-index:99990!important;
    color:#fff!important;
  }
  footer.reader-footer.gs-footer > *{
    position:static!important;
    flex:none!important;
    min-width:0!important;
    max-width:none!important;
    visibility:visible!important;
    opacity:1!important;
    transform:none!important;
  }
  footer.reader-footer.gs-footer button,
  footer.reader-footer.gs-footer .gs-zoom{
    margin:0!important;
    box-sizing:border-box!important;
    border:0!important;
    box-shadow:none!important;
    outline:0!important;
    color:#fff!important;
  }
  footer.reader-footer.gs-footer .gs-nav{
    grid-column:1!important;
    width:96px!important;height:48px!important;
    display:grid!important;grid-template-columns:48px 48px!important;
    background:rgba(255,255,255,.18)!important;
    border-radius:9px!important;overflow:hidden!important;
  }
  footer.reader-footer.gs-footer .gs-nav button{
    width:48px!important;height:48px!important;min-height:48px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    padding:0!important;background:transparent!important;border-radius:0!important;font-size:0!important;
  }
  footer.reader-footer.gs-footer .gs-chevron{
    display:flex!important;color:#fff!important;
    font-family:Arial,Helvetica,sans-serif!important;font-size:55px!important;font-weight:700!important;line-height:40px!important;
    transform:scaleX(.68) translateY(-3px)!important;
  }
  footer.reader-footer.gs-footer .gs-hand-btn{
    grid-column:2!important;
    width:40px!important;height:48px!important;min-height:48px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    padding:0!important;background:transparent!important;border-radius:0!important;font-size:0!important;
  }
  footer.reader-footer.gs-footer .gs-hand-text{
    display:flex!important;color:#fff!important;
    font-family:'Segoe UI Symbol','Noto Color Emoji',system-ui,sans-serif!important;
    font-size:31px!important;line-height:40px!important;
    filter:grayscale(1) brightness(5)!important;
    transform:translateY(-2px)!important;
  }
  footer.reader-footer.gs-footer .gs-hand-btn:after{
    content:''!important;position:absolute!important;left:10px!important;top:4px!important;width:17px!important;height:9px!important;
    border-top:3px dotted #fff!important;border-radius:50%!important;opacity:.95!important;
  }
  footer.reader-footer.gs-footer .gs-zoom{
    grid-column:3!important;
    height:48px!important;min-height:48px!important;width:100%!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    gap:5px!important;padding:5px 7px!important;
    background:rgba(255,255,255,.18)!important;border-radius:9px!important;
    font:700 22px/1 Arial,Helvetica,sans-serif!important;
  }
  footer.reader-footer.gs-footer .gs-zoom button{
    width:25px!important;height:38px!important;min-height:38px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    padding:0!important;background:transparent!important;border-radius:0!important;font-size:0!important;
  }
  footer.reader-footer.gs-footer .gs-zoom-box{
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:22px!important;height:22px!important;box-sizing:border-box!important;
    border:3px solid #fff!important;border-radius:6px!important;
    color:#fff!important;font:700 17px/16px Arial,Helvetica,sans-serif!important;
  }
  footer.reader-footer.gs-footer .gs-aa{
    display:flex!important;color:#fff!important;font:700 23px/1 Arial,Helvetica,sans-serif!important;margin:0!important;
  }
  footer.reader-footer.gs-footer .gs-theme-btn{
    grid-column:4!important;
    width:34px!important;height:48px!important;min-height:48px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    padding:0!important;background:transparent!important;border-radius:0!important;font-size:0!important;
  }
  footer.reader-footer.gs-footer .gs-theme-dot{
    position:absolute!important;display:block!important;width:16px!important;height:16px!important;border:1.5px solid #fff!important;border-radius:50%!important;
  }
  footer.reader-footer.gs-footer .gs-theme-dot.d1{left:4px!important;top:11px!important;background:#ee4f65!important;}
  footer.reader-footer.gs-footer .gs-theme-dot.d2{left:16px!important;top:11px!important;background:#2c88c8!important;}
  footer.reader-footer.gs-footer .gs-theme-dot.d3{left:10px!important;top:23px!important;background:#f6ce39!important;}
  footer.reader-footer.gs-footer .gs-refresh-btn{
    grid-column:5!important;
    width:34px!important;height:48px!important;min-height:48px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    padding:0!important;background:transparent!important;border-radius:0!important;font-size:0!important;color:#fff!important;
  }
  footer.reader-footer.gs-footer .gs-refresh-text{
    display:flex!important;color:#fff!important;
    font:400 39px/39px Arial,Helvetica,sans-serif!important;
    transform:translateY(-2px)!important;
  }
  footer.reader-footer.gs-footer #mode,
  footer.reader-footer.gs-footer .theme-control{
    position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;
  }
}

/* FINAL safety pin: keep theme and refresh visible/clickable on the right edge */
@media(max-width:650px){
  body footer.reader-footer.gs-footer{
    padding-right:88px!important;
    overflow:visible!important;
  }
  body footer.reader-footer.gs-footer button#theme-toggle.gs-theme-btn{
    position:fixed!important;
    left:auto!important;
    right:45px!important;
    top:auto!important;
    bottom:20px!important;
    z-index:2147483600!important;
    width:34px!important;
    height:48px!important;
    min-height:48px!important;
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    background:transparent!important;
    padding:0!important;
  }
  body footer.reader-footer.gs-footer button#refresh-page.gs-refresh-btn{
    position:fixed!important;
    left:auto!important;
    right:5px!important;
    top:auto!important;
    bottom:20px!important;
    z-index:2147483601!important;
    width:36px!important;
    height:48px!important;
    min-height:48px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    background:transparent!important;
    padding:0!important;
    color:#fff!important;
    font-size:0!important;
    border:0!important;
  }
  body footer.reader-footer.gs-footer button#refresh-page.gs-refresh-btn .gs-refresh-text{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    color:#fff!important;
    font:400 39px/39px Arial,Helvetica,sans-serif!important;
    transform:translateY(-2px)!important;
  }
}

/* FINAL non-media reader footer: emulator WebView reports a wide CSS viewport */
body footer.reader-footer.gs-footer{
  position:fixed!important;
  left:0!important;right:0!important;bottom:0!important;
  height:76px!important;
  box-sizing:border-box!important;
  padding:7px 92px calc(8px + env(safe-area-inset-bottom)) 6px!important;
  background:#ff781f!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:5px!important;
  overflow:visible!important;
  z-index:99990!important;
  color:#fff!important;
}
body footer.reader-footer.gs-footer .gs-nav{
  flex:0 0 96px!important;width:96px!important;height:48px!important;
  display:flex!important;background:rgba(255,255,255,.18)!important;border-radius:9px!important;overflow:hidden!important;
}
body footer.reader-footer.gs-footer .gs-nav button{
  width:48px!important;height:48px!important;min-height:48px!important;padding:0!important;
  display:flex!important;align-items:center!important;justify-content:center!important;background:transparent!important;border:0!important;border-radius:0!important;font-size:0!important;
}
body footer.reader-footer.gs-footer .gs-chevron{
  display:flex!important;color:#fff!important;font-family:Arial,Helvetica,sans-serif!important;font-size:55px!important;font-weight:700!important;line-height:40px!important;transform:scaleX(.68) translateY(-3px)!important;
}
body footer.reader-footer.gs-footer .gs-hand-btn{
  flex:0 0 40px!important;width:40px!important;height:48px!important;min-height:48px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;font-size:0!important;position:relative!important;
}
body footer.reader-footer.gs-footer .gs-hand-text{display:flex!important;color:#fff!important;font-family:'Segoe UI Symbol','Noto Color Emoji',system-ui,sans-serif!important;font-size:31px!important;line-height:40px!important;filter:grayscale(1) brightness(5)!important;transform:translateY(-2px)!important;}
body footer.reader-footer.gs-footer .gs-hand-btn:after{content:''!important;position:absolute!important;left:10px!important;top:4px!important;width:17px!important;height:9px!important;border-top:3px dotted #fff!important;border-radius:50%!important;}
body footer.reader-footer.gs-footer .gs-zoom{
  flex:0 0 122px!important;width:122px!important;height:48px!important;min-height:48px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;padding:5px 7px!important;
  background:rgba(255,255,255,.18)!important;border-radius:9px!important;color:#fff!important;font:700 22px/1 Arial,Helvetica,sans-serif!important;
}
body footer.reader-footer.gs-footer .gs-zoom button{width:25px!important;height:38px!important;min-height:38px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;font-size:0!important;}
body footer.reader-footer.gs-footer .gs-zoom-box{display:flex!important;align-items:center!important;justify-content:center!important;width:22px!important;height:22px!important;box-sizing:border-box!important;border:3px solid #fff!important;border-radius:6px!important;color:#fff!important;font:700 17px/16px Arial,Helvetica,sans-serif!important;}
body footer.reader-footer.gs-footer .gs-aa{display:flex!important;color:#fff!important;font:700 23px/1 Arial,Helvetica,sans-serif!important;margin:0!important;}
body footer.reader-footer.gs-footer button#theme-toggle.gs-theme-btn{
  position:fixed!important;left:auto!important;right:45px!important;top:auto!important;bottom:20px!important;
  z-index:2147483600!important;width:34px!important;height:48px!important;min-height:48px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;font-size:0!important;
}
body footer.reader-footer.gs-footer .gs-theme-dot{position:absolute!important;display:block!important;width:16px!important;height:16px!important;border:1.5px solid #fff!important;border-radius:50%!important;}
body footer.reader-footer.gs-footer .gs-theme-dot.d1{left:4px!important;top:11px!important;background:#ee4f65!important;}
body footer.reader-footer.gs-footer .gs-theme-dot.d2{left:16px!important;top:11px!important;background:#2c88c8!important;}
body footer.reader-footer.gs-footer .gs-theme-dot.d3{left:10px!important;top:23px!important;background:#f6ce39!important;}
body footer.reader-footer.gs-footer button#refresh-page.gs-refresh-btn{
  position:fixed!important;left:auto!important;right:5px!important;top:auto!important;bottom:20px!important;
  z-index:2147483601!important;width:36px!important;height:48px!important;min-height:48px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;color:#fff!important;font-size:0!important;
}
body footer.reader-footer.gs-footer button#refresh-page.gs-refresh-btn .gs-refresh-text{display:flex!important;visibility:visible!important;opacity:1!important;color:#fff!important;font:400 39px/39px Arial,Helvetica,sans-serif!important;transform:translateY(-2px)!important;}
body footer.reader-footer.gs-footer #mode,
body footer.reader-footer.gs-footer .theme-control{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;}

/* Draw refresh icon on footer itself when WebView omits/clips the button */
body footer.reader-footer.gs-footer:after{
  content:'↻'!important;
  position:fixed!important;
  right:6px!important;
  bottom:20px!important;
  width:36px!important;
  height:48px!important;
  z-index:2147483602!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#fff!important;
  font:400 39px/39px Arial,Helvetica,sans-serif!important;
  pointer-events:none!important;
}

/* LIVE DOM footer fix: current nikunjras HTML has no gs-* footer classes */
body footer.reader-footer{
  position:fixed!important;left:0!important;right:0!important;bottom:0!important;
  height:76px!important;box-sizing:border-box!important;
  padding:7px 92px calc(8px + env(safe-area-inset-bottom)) 6px!important;
  background:#ff781f!important;display:flex!important;align-items:flex-start!important;justify-content:flex-start!important;gap:5px!important;overflow:visible!important;z-index:99990!important;color:#fff!important;
}
body footer.reader-footer .footer-nav{flex:0 0 96px!important;width:96px!important;height:48px!important;display:flex!important;background:rgba(255,255,255,.18)!important;border-radius:9px!important;overflow:hidden!important;}
body footer.reader-footer .footer-nav button{width:48px!important;height:48px!important;min-height:48px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:transparent!important;border:0!important;border-radius:0!important;font-size:0!important;color:#fff!important;}
body footer.reader-footer .footer-nav svg{display:none!important;}
body footer.reader-footer #previous:before,body footer.reader-footer #next:before{display:flex!important;color:#fff!important;font-family:Arial,Helvetica,sans-serif!important;font-size:55px!important;font-weight:700!important;line-height:40px!important;transform:scaleX(.68) translateY(-3px)!important;}
body footer.reader-footer #previous:before{content:'‹'!important;}body footer.reader-footer #next:before{content:'›'!important;}
body footer.reader-footer #toggle-mode.footer-symbol{flex:0 0 40px!important;width:40px!important;height:48px!important;min-height:48px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;font-size:0!important;position:relative!important;color:#fff!important;}
body footer.reader-footer #toggle-mode.footer-symbol svg{display:none!important;}
body footer.reader-footer #toggle-mode.footer-symbol:before{content:'☝'!important;display:flex!important;color:#fff!important;font-family:'Segoe UI Symbol','Noto Color Emoji',system-ui,sans-serif!important;font-size:31px!important;line-height:40px!important;filter:grayscale(1) brightness(5)!important;transform:translateY(-2px)!important;}
body footer.reader-footer #toggle-mode.footer-symbol:after{content:''!important;position:absolute!important;left:10px!important;top:4px!important;width:17px!important;height:9px!important;border-top:3px dotted #fff!important;border-radius:50%!important;}
body footer.reader-footer .footer-zoom{flex:0 0 122px!important;width:122px!important;height:48px!important;min-height:48px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;padding:5px 7px!important;background:rgba(255,255,255,.18)!important;border-radius:9px!important;color:#fff!important;font:700 22px/1 Arial,Helvetica,sans-serif!important;}
body footer.reader-footer .footer-zoom button{width:25px!important;height:38px!important;min-height:38px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;font-size:0!important;color:#fff!important;}
body footer.reader-footer .footer-zoom button svg{display:none!important;}
body footer.reader-footer #smaller:before,body footer.reader-footer #larger:before{display:flex!important;align-items:center!important;justify-content:center!important;width:22px!important;height:22px!important;box-sizing:border-box!important;border:3px solid #fff!important;border-radius:6px!important;color:#fff!important;font:700 17px/16px Arial,Helvetica,sans-serif!important;}
body footer.reader-footer #smaller:before{content:'−'!important;}body footer.reader-footer #larger:before{content:'+'!important;}
body footer.reader-footer .footer-zoom span{display:flex!important;color:#fff!important;font:700 23px/1 Arial,Helvetica,sans-serif!important;margin:0!important;}
body footer.reader-footer button#theme-toggle.theme-icon{position:fixed!important;left:auto!important;right:45px!important;top:auto!important;bottom:20px!important;z-index:2147483600!important;width:34px!important;height:48px!important;min-height:48px!important;display:flex!important;align-items:center!important;justify-content:center!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;font-size:0!important;}
body footer.reader-footer button#theme-toggle.theme-icon svg{width:35px!important;height:35px!important;display:block!important;}
body footer.reader-footer button#refresh-page{position:fixed!important;left:auto!important;right:5px!important;top:auto!important;bottom:20px!important;z-index:2147483601!important;width:36px!important;height:48px!important;min-height:48px!important;display:flex!important;align-items:center!important;justify-content:center!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;color:#fff!important;font-size:0!important;}
body footer.reader-footer button#refresh-page svg{display:none!important;}
body footer.reader-footer button#refresh-page:before{content:'↻'!important;display:flex!important;visibility:visible!important;opacity:1!important;color:#fff!important;font:400 39px/39px Arial,Helvetica,sans-serif!important;transform:translateY(-2px)!important;}
body footer.reader-footer #mode,body footer.reader-footer .theme-control{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;}

/* 2026-09-28 final footer normalization: use real Geeta-style DOM icons only, no duplicate pseudo icons */
body footer.reader-footer,
body footer.reader-footer.gs-footer{
  position:fixed!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  height:70px!important;
  min-height:70px!important;
  box-sizing:border-box!important;
  padding:7px 6px calc(7px + env(safe-area-inset-bottom)) 6px!important;
  background:#ff781f!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:5px!important;
  overflow:hidden!important;
  z-index:99990!important;
  color:#fff!important;
}
body footer.reader-footer:after,
body footer.reader-footer.gs-footer:after,
body footer.reader-footer #previous:before,
body footer.reader-footer #next:before,
body footer.reader-footer #toggle-mode.footer-symbol:before,
body footer.reader-footer #toggle-mode.footer-symbol:after,
body footer.reader-footer #smaller:before,
body footer.reader-footer #larger:before,
body footer.reader-footer button#refresh-page:before{
  content:none!important;
  display:none!important;
}
body footer.reader-footer .footer-nav,
body footer.reader-footer.gs-footer .gs-nav{
  flex:0 0 105px!important;
  width:105px!important;
  height:50px!important;
  min-height:50px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-evenly!important;
  background:rgba(255,255,255,.18)!important;
  border-radius:9px!important;
  overflow:hidden!important;
}
body footer.reader-footer .footer-nav button,
body footer.reader-footer.gs-footer .gs-nav button{
  flex:1 1 50%!important;
  width:50%!important;
  height:50px!important;
  min-height:50px!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  font-size:0!important;
  line-height:1!important;
  color:#fff!important;
}
body footer.reader-footer .gs-chevron,
body footer.reader-footer.gs-footer .gs-chevron{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#fff!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:42px!important;
  font-weight:700!important;
  line-height:42px!important;
  transform:scaleX(.72) translateY(-1px)!important;
}
body footer.reader-footer #toggle-mode.footer-symbol,
body footer.reader-footer.gs-footer .gs-hand-btn{
  flex:0 0 42px!important;
  width:42px!important;
  height:50px!important;
  min-height:50px!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  font-size:0!important;
  color:#fff!important;
  position:relative!important;
}
body footer.reader-footer .gs-hand-text,
body footer.reader-footer.gs-footer .gs-hand-text{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#fff!important;
  font-family:'Segoe UI Symbol','Noto Color Emoji',system-ui,sans-serif!important;
  font-size:31px!important;
  line-height:31px!important;
  filter:grayscale(1) brightness(5)!important;
  transform:translateY(-1px)!important;
}
body footer.reader-footer .gs-hand-btn .gs-hand-text:after{
  content:''!important;
  position:absolute!important;
  left:10px!important;
  top:6px!important;
  width:18px!important;
  height:9px!important;
  border-top:3px dotted #fff!important;
  border-radius:50%!important;
  opacity:.95!important;
}
body footer.reader-footer .footer-zoom,
body footer.reader-footer.gs-footer .gs-zoom{
  flex:0 0 116px!important;
  width:116px!important;
  height:50px!important;
  min-height:50px!important;
  box-sizing:border-box!important;
  padding:5px 7px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  background:rgba(255,255,255,.18)!important;
  border-radius:9px!important;
  color:#fff!important;
  font:700 22px/1 Arial,Helvetica,sans-serif!important;
}
body footer.reader-footer .footer-zoom button,
body footer.reader-footer.gs-footer .gs-zoom button{
  flex:0 0 24px!important;
  width:24px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  color:#fff!important;
  font-size:0!important;
}
body footer.reader-footer .gs-zoom-box,
body footer.reader-footer.gs-footer .gs-zoom-box{
  width:21px!important;
  height:21px!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:2.5px solid #fff!important;
  border-radius:6px!important;
  color:#fff!important;
  font:700 16px/15px Arial,Helvetica,sans-serif!important;
}
body footer.reader-footer .footer-zoom span.gs-aa,
body footer.reader-footer.gs-footer .gs-aa{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#fff!important;
  font:700 22px/1 Arial,Helvetica,sans-serif!important;
  margin:0!important;
  white-space:nowrap!important;
}
body footer.reader-footer button#theme-toggle.theme-icon,
body footer.reader-footer button#theme-toggle.gs-theme-btn,
body footer.reader-footer.gs-footer button#theme-toggle.gs-theme-btn{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  flex:0 0 34px!important;
  width:34px!important;
  height:50px!important;
  min-height:50px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  margin:0!important;
  font-size:0!important;
  overflow:visible!important;
}
body footer.reader-footer .gs-theme-dot,
body footer.reader-footer.gs-footer .gs-theme-dot{
  position:absolute!important;
  display:block!important;
  width:16px!important;
  height:16px!important;
  border:1.5px solid #fff!important;
  border-radius:50%!important;
}
body footer.reader-footer .gs-theme-dot.d1{left:3px!important;top:13px!important;background:#ee4f65!important;}
body footer.reader-footer .gs-theme-dot.d2{left:15px!important;top:13px!important;background:#2c88c8!important;}
body footer.reader-footer .gs-theme-dot.d3{left:9px!important;top:25px!important;background:#f6ce39!important;}
body footer.reader-footer button#refresh-page,
body footer.reader-footer button#refresh-page.gs-refresh-btn,
body footer.reader-footer.gs-footer button#refresh-page.gs-refresh-btn{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  flex:0 0 34px!important;
  width:34px!important;
  height:50px!important;
  min-height:50px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  margin:0!important;
  color:#fff!important;
  font-size:0!important;
}
body footer.reader-footer .gs-refresh-text,
body footer.reader-footer button#refresh-page .gs-refresh-text,
body footer.reader-footer.gs-footer button#refresh-page.gs-refresh-btn .gs-refresh-text{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  visibility:visible!important;
  opacity:1!important;
  color:#fff!important;
  font:400 33px/33px Arial,Helvetica,sans-serif!important;
  transform:translateY(-1px)!important;
}
body footer.reader-footer #mode,
body footer.reader-footer .theme-control,
body footer.reader-footer.gs-footer #mode,
body footer.reader-footer.gs-footer .theme-control{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
  overflow:hidden!important;
}
