.nr-reader,.nr-reader *{box-sizing:border-box}.nr-reader{--n-bg:#101d22;--n-panel:#14262e;--n-panel2:#1c323b;--n-border:#30434b;--n-fg:#edf5f6;--n-muted:#9eb2b8;--n-green:#61dfb5;--n-gold:#e9c77b;display:block;isolation:isolate;background:var(--n-bg);color:var(--n-fg);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Noto Sans Bengali","Noto Sans JP",Segoe UI,sans-serif;font-size:14px;line-height:1.6;border:1px solid #263b44;border-radius:18px;overflow:hidden;max-width:1460px;margin:0 auto;min-height:590px;box-shadow:0 30px 75px rgba(0,0,0,.13)}.nr-reader [hidden]{display:none!important}.nr-reader button,.nr-reader select,.nr-reader input{font:inherit}.nr-reader button{cursor:pointer;border:0}.nr-reader button:focus-visible,.nr-reader input:focus-visible,.nr-reader select:focus-visible,.nr-reader [tabindex]:focus-visible{outline:2px solid var(--n-green);outline-offset:3px}.nr-head{background:#162c33;display:flex;justify-content:space-between;align-items:center;padding:14px 24px;gap:12px;border-bottom:1px solid var(--n-border)}.nr-brand{display:flex;align-items:center;gap:11px}.nr-brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#ed5e5c;color:#fff;font-weight:800;font-size:13px}.nr-brand strong,.nr-brand small{display:block}.nr-brand strong{font-size:17px;font-weight:800;letter-spacing:.2px}.nr-brand small{font-size:10px;color:#a2b9bc;line-height:1.3}.nr-head-actions{display:flex;align-items:center;gap:13px}.nr-badge{border:1px solid #426656;background:#24443c;color:#9af3cb;font-weight:750;font-size:11px;letter-spacing:.7px;border-radius:20px;padding:6px 10px}.nr-icon-btn{color:#ecfaf7;background:#28444b!important;border-radius:10px!important;padding:7px 11px!important;font-weight:650}.nr-topbar{display:flex;align-items:center;gap:13px;padding:12px 24px;background:#112329;border-bottom:1px solid var(--n-border);min-height:60px}.nr-topbar label{color:#acc3c6;font-weight:700;white-space:nowrap}.nr-topbar select{color:#fff;background:#253e46;border:1px solid #45606a;border-radius:9px;min-width:240px;max-width:46%;padding:7px 11px}.nr-topbar span{font-size:12px;color:#9bb9b8;margin-left:auto;text-align:right}.nr-layout{display:grid;grid-template-columns:minmax(0,1.01fr) minmax(0,1.19fr);min-height:560px}.nr-left{background:#122027;border-right:1px solid var(--n-border);padding:18px;min-width:0}.nr-player-frame{aspect-ratio:16/9;background:#020809;border-radius:13px;overflow:hidden;position:relative;box-shadow:0 12px 38px #080f14}.nr-player-frame iframe{width:100%!important;height:100%!important;display:block}.nr-player-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#a6b9c1;background:radial-gradient(circle at 45% 45%,#283e4a,#080d13)}.nr-player-placeholder span{display:grid;place-items:center;width:80px;height:80px;border-radius:50%;background:#ed5e5c;color:white;font-size:33px;padding-left:5px;box-shadow:0 10px 34px #0005}.nr-player-placeholder p{margin:15px;color:#a6b9c1}.nr-controls{display:flex;align-items:center;gap:9px;margin-top:16px;flex-wrap:wrap}.nr-reader .nr-control{border:1px solid #2c414a;border-radius:12px;color:#d8e6e8;background:#21343d;padding:9px 13px;min-height:44px;white-space:nowrap}.nr-reader .nr-control:hover{background:#34545e}.nr-reader .nr-main-play{background:#e55f60;color:white;font-weight:900;min-width:48px}.nr-reader .nr-enabled{background:#18483e!important;border-color:#51a98c!important;color:#a5ffdb!important}.nr-speed-label{margin-left:auto;color:#9cb3b7;font-size:12px}.nr-reader #nr-speed{border:1px solid #36515a;background:#203741;border-radius:9px;color:#fff;padding:8px;min-height:43px}.nr-player-info{display:flex;gap:9px;justify-content:space-between;align-items:center;margin-top:14px;color:#9db3bd;font-size:12px;flex-wrap:wrap}.nr-player-info a{color:#7dccf0!important;text-decoration:none!important}.nr-player-info #nr-player-error{color:#f3a4a0;flex:1}.nr-help{background:#1a3038;border:1px solid #2a4650;border-radius:13px;padding:17px 20px;margin-top:26px}.nr-help strong{color:#a5f1d7}.nr-help p{margin:6px 0 0;font-size:13px;color:#acc0c8;line-height:1.8}.nr-right{min-width:0;display:flex;flex-direction:column;background:#12232a}.nr-transcript-head{padding:19px 22px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.nr-transcript-head h2{color:#f2fafa!important;font-size:17px!important;line-height:1.3!important;font-weight:800!important;padding:0!important;margin:0 0 3px!important}.nr-transcript-head span{color:#8fa4ac;font-size:12px}.nr-reader #nr-search{width:44%;background:#1c333c;border:1px solid #345059;border-radius:10px;color:#eaf3f7;font-size:12px;padding:8px 12px;min-width:110px;min-height:38px}.nr-reader #nr-search::placeholder{color:#94a9b2}.nr-toggles{display:flex;gap:9px;flex-wrap:wrap;padding:3px 22px 13px;border-bottom:1px solid var(--n-border)}.nr-toggles label{cursor:pointer;font-size:11px;color:#bcd2d2;background:#1e343c;border:1px solid #354a52;border-radius:16px;padding:5px 9px;display:flex;align-items:center;gap:5px;white-space:nowrap}.nr-toggles input{accent-color:#4ed1a8;margin:0}.nr-transcript{height:clamp(430px,61vh,690px);overflow-y:auto;overflow-x:hidden;scrollbar-color:#3b5b63 transparent;scrollbar-width:thin;padding:13px 17px 35px}.nr-empty{padding:45px 20px;color:#acc0c8;text-align:center;line-height:2}.nr-line{position:relative;margin:6px 0;padding:11px 18px 15px;border:1px solid transparent;border-left:3px solid transparent;border-radius:11px;cursor:pointer;transition:background .15s,border .15s}.nr-line:hover{background:#1c343b}.nr-line.nr-current{background:#223d3d;border-color:#3c655d;border-left-color:#70e3bb}.nr-line[hidden]{display:none}.nr-line-top{display:flex;align-items:center;justify-content:space-between;min-height:20px;margin-bottom:4px}.nr-stamp{font-size:11px;color:#7ea7b0;font-variant-numeric:tabular-nums;font-weight:700}.nr-reader .nr-line-repeat{border:1px solid transparent;background:transparent;color:#7d9a9f;padding:0px 7px;border-radius:6px;font-size:17px;line-height:1.3}.nr-reader .nr-line-repeat:hover{background:#33515a;color:#bcead7}.nr-japanese{font-weight:750;font-family:"Noto Sans JP",YuGothic,"Hiragino Kaku Gothic ProN",Meiryo,sans-serif;color:#edf4f6;font-size:24px;letter-spacing:.1px;line-height:2.1;word-break:break-word;overflow-wrap:anywhere}.nr-japanese ruby{ruby-position:over}.nr-japanese rt{font-size:10px;color:#b4c7ce;font-weight:500;letter-spacing:0}.nr-token{display:inline;cursor:pointer;border-radius:5px}.nr-token:hover{color:#90f3d0;background:#31554c}.nr-line p{padding:0!important;margin:4px 0 0!important;font-weight:400!important;line-height:1.65!important}.nr-romaji{color:#9ab2bd;font-size:12px!important}.nr-bangla{color:#e0c27a;font-size:15px!important}.nr-english{color:#b1c9d4;font-size:12px!important}.nr-dictionary{position:fixed;z-index:999990;right:22px;bottom:22px;width:min(360px,calc(100vw - 28px));background:#1b323b;border:1px solid #4a726d;border-radius:15px;padding:19px 20px;box-shadow:0 18px 58px rgba(0,0,0,.55);color:#f6fbfb}.nr-dict-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.nr-dict-title strong{font-size:27px;font-weight:800}.nr-reader #nr-dict-close,.nr-reader #nr-vocab-close{color:#e4f2f0;background:transparent;font-size:27px;line-height:1;padding:3px 7px}.nr-dictionary #nr-dict-reading{color:#accfd2;margin:5px 0 14px}.nr-dictionary #nr-dict-bn{font-size:16px;margin:6px 0;color:#e9d39d}.nr-dictionary #nr-dict-en{font-size:13px;margin:6px 0 20px;color:#bed1d2}.nr-reader .nr-primary-btn{background:#4bdbac;color:#112525;border-radius:9px;padding:10px 15px;font-weight:800}.nr-reader .nr-primary-btn:hover{background:#89f5d1}.nr-modal{position:fixed;z-index:999989;inset:0;background:#061015bd;display:flex;align-items:center;justify-content:center;padding:16px}.nr-modal-card{width:min(650px,98vw);max-height:min(80vh,700px);background:#193039;border:1px solid #47606b;border-radius:16px;padding:20px;overflow:auto;color:#f2f8f8}.nr-modal-head{display:flex;align-items:center;justify-content:space-between}.nr-modal-head h3{color:#fff!important;margin:0!important;font-size:21px}.nr-modal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.nr-reader .nr-secondary-btn{color:#d8f1f1;background:#2a4650;border-radius:8px;padding:9px 13px}.nr-vocab-entry{padding:12px 2px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #36515a;gap:10px}.nr-vocab-entry strong{font-size:19px}.nr-vocab-entry p{color:#c3d2d3;margin:0!important}.nr-reader .nr-vocab-entry button{background:#2e4850;color:#e4f4f4;padding:5px 12px;border-radius:6px}
@media(max-width:980px){.nr-layout{grid-template-columns:1fr}.nr-left{border-right:0;border-bottom:1px solid var(--n-border)}.nr-transcript{height:470px}.nr-player-frame{max-width:none}.nr-reader{min-height:0}}
@media(max-width:600px){.nr-reader{border-radius:9px}.nr-head{padding:12px}.nr-topbar{padding:11px 12px;gap:8px;flex-wrap:wrap}.nr-topbar select{min-width:160px;max-width:100%;width:calc(100% - 70px)}.nr-topbar span{width:100%;margin-left:0;text-align:left}.nr-left{padding:12px}.nr-controls{gap:6px}.nr-reader .nr-control{padding:7px 10px;min-height:39px}.nr-transcript-head{padding:15px 12px 11px}.nr-toggles{padding:3px 12px 11px;gap:6px}.nr-transcript{padding:10px 8px 28px;height:480px}.nr-line{padding:11px 12px}.nr-japanese{font-size:21px}.nr-bangla{font-size:14px!important}.nr-help{margin-top:15px}.nr-speed-label{margin-left:auto}}

/* v0.1.6 — Molingo-inspired learning dashboard. Scoped to this shortcode so theme/Elementor buttons cannot distort it. */
#nr-app.nr-reader.nr-dashboard {
  --n-bg:#101e22; --n-panel:#192d33; --n-panel2:#20383e; --n-border:#2b4148;
  --n-green:#63d800; --n-fg:#f3faf8; --n-muted:#a4b7b8;
  display:grid!important; grid-template-columns:236px minmax(0,1fr); align-items:stretch;
  width:100%; max-width:1640px; min-height:760px; margin:0 auto; padding:0!important;
  background:#101e22; color:#f3faf8; border:1px solid #293f45; border-radius:20px;
  overflow:hidden; box-shadow:0 20px 55px rgba(0,0,0,.2);
}
#nr-app .nr-dashboard-main {min-width:0; width:100%; padding:0; background:#101e22;}
#nr-app .nr-sidebar {display:flex!important; flex-direction:column; gap:5px; min-width:0;
  background:#1a2d32; border-right:1px solid #2c4349; padding:26px 15px 22px;}
#nr-app .nr-sidebar-logo {display:flex; align-items:center; gap:11px; color:#f9ffff; font-size:21px; font-weight:850;
  letter-spacing:-.5px; margin:0 0 36px; line-height:1.12; white-space:nowrap;}
#nr-app .nr-sidebar-logo .nr-logo-mark {display:grid; place-items:center; background:linear-gradient(135deg,#ff647b,#ee456c); width:43px; height:43px;
  flex:0 0 43px; border-radius:12px; font-size:21px; box-shadow:0 7px 15px #ed4c6338;}
#nr-app .nr-sidebar-logo small{display:block;color:#a9c0c0;font-size:11px;font-weight:650;letter-spacing:1px;margin-top:3px;}
#nr-app .nr-side-label{font-size:10px;letter-spacing:2px;color:#779398;padding:8px 15px;margin-bottom:8px;font-weight:800;}
#nr-app .nr-nav-item {display:flex!important;align-items:center;gap:13px;text-align:left;width:100%!important;max-width:none!important;
  min-height:49px; padding:12px 15px!important; margin:0!important; color:#adc3c4!important; background:transparent!important;
  font-size:14px!important; font-weight:680; border:1px solid transparent!important; border-radius:12px!important; box-shadow:none!important;}
#nr-app .nr-nav-item span{font-size:19px;display:inline-flex;align-items:center;justify-content:center;width:21px;flex:0 0 21px;}
#nr-app .nr-nav-item:hover{background:#27433a!important;color:#ddffe0!important;}
#nr-app .nr-nav-item.active{background:#265529!important;color:#8af225!important;border-color:#315f33!important;}
#nr-app .nr-sidebar-bottom{margin-top:auto;padding:16px 13px 0;border-top:1px solid #34484c;font-size:12px;font-weight:700;color:#d0e3df;}
#nr-app .nr-sidebar-bottom .nr-side-dot{display:inline-block;height:7px;width:7px;border-radius:50%;margin-right:7px;background:#69e423;box-shadow:0 0 0 4px #4fca0825;}
#nr-app .nr-sidebar-bottom small{display:block;margin:5px 0 0 15px;font-size:10px;font-weight:500;color:#8da9a9;}
#nr-app .nr-home-view{width:100%;max-width:100%;padding:32px clamp(22px,4vw,58px) 58px!important;}
#nr-app .nr-welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:165px;margin:0 0 12px;}
#nr-app .nr-welcome-copy{min-width:0;}
#nr-app .nr-eyebrow{display:block;font-size:11px;letter-spacing:2px;font-weight:800;color:#81a6a9;}
#nr-app .nr-welcome h1{color:#f8fffd!important;line-height:1.12!important;font-size:clamp(26px,3.25vw,40px)!important;
  margin:12px 0!important;padding:0!important;letter-spacing:-1.1px;font-weight:850!important;}
#nr-app .nr-welcome p{color:#b0c3c4!important;font-size:15px!important;margin:0 0 17px!important;line-height:1.55!important;}
#nr-app .nr-welcome-pills{display:flex;flex-wrap:wrap;gap:8px;}
#nr-app .nr-welcome-pills span{display:inline-flex;border:1px solid #375257;background:#1e3338;color:#bcd4d0;font-size:11px;padding:5px 11px;border-radius:50px;font-weight:700;}
#nr-app .nr-welcome-art{position:relative;isolation:isolate;display:grid;place-items:center;width:134px;height:126px;flex:0 0 134px;
  border-radius:35px;background:radial-gradient(circle at 75% 15%,#513d71,#312744 65%,#2b2142);transform:rotate(-5deg);box-shadow:0 10px 40px #7d59d01a;}
#nr-app .nr-welcome-art span:first-child{font-size:65px;font-weight:900;color:#d3aeff;line-height:1;}
#nr-app .nr-welcome-art span:nth-child(2){position:absolute;bottom:10px;font-size:12px;color:#f3d9ff;font-weight:800;letter-spacing:3px;}
#nr-app .nr-welcome-art span:nth-child(3){position:absolute;right:-8px;top:5px;font-size:26px;color:#e1adfc;}
/* Strong selectors deliberately defeat some third-party WordPress theme button defaults. */
#nr-app #nr-add-video.nr-add-video {appearance:none;display:flex!important;flex-direction:row!important;justify-content:flex-start!important;
  align-items:center!important;flex-wrap:nowrap!important;gap:20px!important;width:100%!important;min-width:0!important;max-width:none!important;
  height:auto!important;min-height:112px!important;margin:20px 0 37px!important;padding:23px 26px!important;text-align:left!important;
  color:#fff!important;background:#5bd200!important;background-image:linear-gradient(110deg,#56ce00,#68df00)!important;
  border:1px solid #8af7225c!important;border-radius:23px!important;box-shadow:0 12px 30px #4ccf0030!important;white-space:normal!important;}
#nr-app #nr-add-video:hover{filter:brightness(1.07);transform:translateY(-1px);}
#nr-app .nr-add-icon{display:grid;place-items:center;width:59px;height:59px;min-width:59px;border-radius:50%;
  font-size:34px!important;line-height:1;color:#fff;background:#ffffff31;}
#nr-app .nr-add-copy{display:block!important;flex:1 1 auto!important;min-width:0!important;}
#nr-app .nr-add-copy strong{display:block;color:#fff!important;font-size:22px!important;line-height:1.25!important;letter-spacing:-.4px;font-weight:850;}
#nr-app .nr-add-copy small{display:block;color:#f7ffe7!important;font-size:13px!important;line-height:1.5!important;font-weight:530;margin-top:5px;}
#nr-app .nr-add-arrow{font-size:25px;color:#fafff7;opacity:.9;margin-left:auto;}
#nr-app .nr-library-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;scroll-margin-top:25px;}
#nr-app .nr-library-head h2{color:#f5fefa!important;font-size:25px!important;margin:0 0 5px!important;padding:0!important;font-weight:850;line-height:1.25!important;}
#nr-app .nr-library-head p{font-size:12px!important;color:#9eb5b7!important;margin:0!important;}
#nr-app #nr-video-total{font-size:12px;color:#acc2bf;background:#20343b;padding:7px 13px;border:1px solid #34494b;border-radius:99px;white-space:nowrap;}
#nr-app .nr-library-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 17px;}
#nr-app .nr-library-search{display:flex;align-items:center;gap:7px;width:min(360px,100%);background:#1b3137;border:1px solid #324b50;
  border-radius:11px;padding:0 12px;color:#a3c3ba;min-height:43px;}
#nr-app .nr-library-search span{font-size:23px;line-height:1;}
#nr-app #nr-video-search{background:none!important;border:0!important;outline:0!important;box-shadow:none!important;color:#ecfaf3!important;
  flex:1;width:100%;min-width:0;min-height:41px;font-size:13px!important;padding:7px 0!important;margin:0!important;}
#nr-app #nr-video-search::placeholder{color:#8aa6ab;}
#nr-app .nr-library-caption{font-size:11px;color:#829ca0;white-space:nowrap;}
#nr-app .nr-video-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;width:100%;}
#nr-app .nr-video-card{position:relative;display:flex!important;align-items:stretch;min-width:0;min-height:146px;margin:0!important;
  padding:11px!important;border:1px solid #2d464a!important;border-radius:18px!important;background:#1c3239!important;color:#f1faf7!important;
  overflow:hidden;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;}
#nr-app .nr-video-card:hover{border-color:#5dcc1a!important;transform:translateY(-2px);box-shadow:0 10px 28px #0003;}
#nr-app .nr-video-open{display:flex!important;flex-direction:row!important;align-items:stretch!important;gap:12px!important;min-height:123px!important;flex:1 1 auto!important;
  width:100%!important;max-width:none!important;min-width:0!important;padding:0!important;margin:0!important;color:inherit!important;background:transparent!important;
  border:none!important;border-radius:10px!important;text-align:left!important;box-shadow:none!important;}
#nr-app .nr-video-open:hover,#nr-app .nr-video-open:focus{background:transparent!important;color:inherit!important;}
#nr-app .nr-thumb{position:relative;display:block;width:40%;min-width:120px;max-width:172px;aspect-ratio:16/10;align-self:center;flex:0 0 40%;
  background:linear-gradient(140deg,#334f58,#132127);border-radius:11px;overflow:hidden;}
#nr-app .nr-thumb img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;position:absolute;inset:0;
  margin:0!important;border:none!important;}
#nr-app .nr-thumb:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.2),transparent 40%);pointer-events:none;}
#nr-app .nr-thumb-play{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);width:40px;height:40px;
  display:grid;place-items:center;border-radius:50%;color:white;background:rgba(20,27,25,.66);border:1px solid #ffffff5c;font-size:16px;}
#nr-app .nr-card-copy{display:flex!important;flex:1;flex-direction:column!important;align-items:flex-start!important;gap:6px;min-width:0;padding:8px 21px 3px 0;}
#nr-app .nr-card-copy strong{font-size:14px!important;line-height:1.43!important;letter-spacing:-.15px;color:#f6fffc;font-weight:800!important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;max-width:100%;}
#nr-app .nr-card-copy small{color:#a7c2c3;font-size:11px!important;line-height:1.5;}
#nr-app .nr-continue{display:inline-flex;align-items:center;white-space:nowrap;margin-top:auto;font-size:11px;font-weight:800;padding:5px 9px;
  color:#80ef34;background:#24572b;border-radius:8px;line-height:1.2;}
#nr-app .nr-card-rename{position:absolute;z-index:3;top:12px;right:11px;width:27px!important;min-width:27px;height:27px;min-height:27px;
  display:grid!important;place-items:center;padding:0!important;margin:0!important;background:#2d424a!important;color:#deefed!important;
  border:1px solid #4a626b!important;border-radius:9px!important;font-size:17px!important;line-height:1!important;box-shadow:0 2px 7px #0002!important;}
#nr-app .nr-card-rename:hover{background:#3c6354!important;color:#9aff4d!important;border-color:#73be50!important;}
#nr-app .nr-library-empty{grid-column:1/-1;color:#afc5c5;background:#1c3036;border:1px dashed #416066;border-radius:17px;padding:45px 20px;text-align:center;}
#nr-app .nr-home-note{color:#89a1a5;font-size:12px;line-height:1.7;margin:33px 0 0!important;}
#nr-app .nr-reader-view{min-width:0;width:100%;}
#nr-app .nr-reader-view>.nr-head{border-radius:0;}
#nr-app .nr-reader-view .nr-layout{min-height:560px;}
/* Add and Rename modal styling */
#nr-app .nr-add-modal{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:17px;background:#050a0bc7;backdrop-filter:blur(8px);}
#nr-app .nr-add-dialog{width:min(100%,540px);max-height:90vh;overflow:auto;background:#1b3036;border:1px solid #3c5458;color:#edf9f4;
  border-radius:24px;padding:29px;box-shadow:0 25px 85px #000b;}
#nr-app .nr-add-dialog h3{color:#fff!important;font-size:23px!important;line-height:1.3!important;margin:0!important;}
#nr-app .nr-add-dialog .nr-modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px;}
#nr-app .nr-add-dialog .nr-modal-head button{background:transparent!important;color:#dcebea!important;font-size:27px!important;line-height:1!important;padding:3px 8px!important;}
#nr-app .nr-add-dialog label{display:block;color:#cee1dd;font-size:13px;margin:13px 0 7px;}
#nr-app .nr-add-dialog input[type=url],#nr-app .nr-add-dialog input[type=text],#nr-app .nr-add-dialog textarea{
  display:block;width:100%!important;max-width:none!important;margin:0!important;min-height:46px;border:1px solid #4a636b!important;
  border-radius:12px!important;padding:12px 13px!important;background:#263f46!important;color:white!important;font-size:13px!important;}
#nr-app .nr-add-dialog .nr-authorize{display:flex;gap:9px;align-items:flex-start;color:#b8cfc9;font-size:12px;}
#nr-app .nr-authorize input{margin:3px 0 0!important;accent-color:#68da21;}
#nr-app .nr-import-submit{display:block!important;width:100%!important;max-width:none!important;margin:20px 0 0!important;padding:13px 17px!important;
  border-radius:13px!important;background:#5ed100!important;color:#fff!important;font-weight:800!important;border:0!important;}
#nr-app .nr-import-submit:disabled{opacity:.55;cursor:wait;}
#nr-app .nr-add-dialog #nr-add-status,#nr-app #nr-rename-status{font-size:12px;color:#c4eb98;white-space:pre-wrap;line-height:1.5;}
#nr-app .nr-rename-hint{color:#9db9b5!important;font-size:12px!important;line-height:1.7!important;margin:12px 0!important;}
@media(max-width:1050px){
 #nr-app.nr-reader.nr-dashboard{grid-template-columns:190px minmax(0,1fr)}
 #nr-app .nr-sidebar{padding:23px 11px 18px}
 #nr-app .nr-sidebar-logo{font-size:18px}
 #nr-app .nr-video-grid{grid-template-columns:1fr}
 #nr-app .nr-thumb{max-width:185px}
}
@media(max-width:760px){
 #nr-app.nr-reader.nr-dashboard{grid-template-columns:1fr;min-height:0;border-radius:11px}
 #nr-app .nr-sidebar{flex-direction:row;flex-wrap:wrap;align-items:center;gap:5px;padding:9px 12px;border-right:0;border-bottom:1px solid #354950}
 #nr-app .nr-sidebar-logo{width:100%;font-size:17px;margin:0 0 5px}
 #nr-app .nr-sidebar-logo .nr-logo-mark{height:33px;width:33px;flex-basis:33px;font-size:16px}
 #nr-app .nr-sidebar-logo small{display:inline;margin-left:5px;font-size:9px}
 #nr-app .nr-side-label,#nr-app .nr-sidebar-bottom{display:none}
 #nr-app .nr-nav-item{width:auto!important;flex:1 1 auto;min-height:40px;padding:8px!important;gap:6px;justify-content:center;font-size:12px!important}
 #nr-app .nr-nav-item span{font-size:16px;flex-basis:15px;width:15px}
 #nr-app .nr-home-view{padding:22px 16px 38px!important}
 #nr-app .nr-welcome{min-height:126px}
 #nr-app .nr-welcome h1{font-size:27px!important}
 #nr-app .nr-welcome-art{width:83px;height:83px;flex-basis:83px;border-radius:24px}
 #nr-app .nr-welcome-art span:first-child{font-size:44px}
 #nr-app .nr-welcome-art span:nth-child(2){font-size:8px}
 #nr-app #nr-add-video{min-height:96px!important;padding:17px 18px!important;border-radius:17px!important;margin:15px 0 29px!important;gap:12px!important}
 #nr-app .nr-add-icon{width:48px;min-width:48px;height:48px;font-size:28px!important}
 #nr-app .nr-add-copy strong{font-size:19px!important}
 #nr-app .nr-library-caption{display:none}
 #nr-app .nr-video-grid{grid-template-columns:1fr}
}
@media(max-width:420px){
 #nr-app .nr-welcome-art{display:none}
 #nr-app .nr-video-card{padding:9px!important;min-height:124px}
 #nr-app .nr-video-open{min-height:105px!important;gap:9px!important}
 #nr-app .nr-thumb{min-width:94px;flex-basis:38%;max-width:125px}
 #nr-app .nr-card-copy{padding:7px 24px 2px 0}
 #nr-app .nr-card-copy strong{font-size:12px!important}
 #nr-app .nr-card-copy small{font-size:10px!important}
 #nr-app .nr-continue{font-size:10px;padding:5px 7px}
 #nr-app .nr-add-arrow{display:none}
 #nr-app .nr-add-dialog{padding:20px;border-radius:18px}
}

/* v0.1.7 — Immersive, Molingo-inspired mobile lesson reader.
   The dashboard and tablet/desktop reader keep their v0.1.6 layout. */
#nr-app .nr-mobile-reader-bar,
#nr-app .nr-mobile-transcript-label {display:none;}
#nr-app .nr-mobile-help-panel {display:none;}
#nr-app .nr-mobile-tools {display:none;}
#nr-app .nr-rt-kana {display:inline;}
#nr-app .nr-rt-romaji {display:none;}

@media screen and (max-width:760px) {
  body.nr-reader-is-open {overflow:hidden!important; touch-action:pan-y;}
  #nr-app.nr-reader.nr-dashboard.nr-mobile-reading {
    display:block!important;
    position:fixed!important; inset:0!important; z-index:2147483000!important;
    height:100vh!important;height:100dvh!important; min-height:0!important;
    width:100vw!important;max-width:none!important; margin:0!important; padding:0!important;
    border:0!important;border-radius:0!important;overflow:hidden!important;
    background:#101e22!important;box-shadow:none!important;
  }
  #nr-app.nr-mobile-reading .nr-sidebar {display:none!important;}
  #nr-app.nr-mobile-reading .nr-dashboard-main {height:100%!important;min-height:0!important;overflow:hidden!important;}
  #nr-app.nr-mobile-reading .nr-home-view {display:none!important;}
  #nr-app.nr-mobile-reading .nr-reader-view {
    display:block!important; height:100%!important; min-height:0!important;
    overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;scrollbar-width:thin;
    padding-bottom:env(safe-area-inset-bottom,0px)!important;
    background:#102026;
  }
  #nr-app.nr-mobile-reading .nr-mobile-reader-bar {
    position:sticky;top:0;z-index:90;
    min-height:56px;height:56px;width:100%;
    display:flex!important;align-items:center;gap:4px;
    background:#1b2e35;border-bottom:1px solid #34464d;
    padding:0 max(5px,env(safe-area-inset-left,0px)) 0 max(5px,env(safe-area-inset-right,0px));
  }
  #nr-app.nr-mobile-reading .nr-mobile-reader-title {
    color:#f6faf9;font-size:14px!important;line-height:1.25!important;
    font-weight:800;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
    letter-spacing:-.1px;margin:0 3px 0 1px;
  }
  #nr-app.nr-mobile-reading .nr-mobile-icon {
    display:grid!important;place-items:center;flex:0 0 38px;width:38px!important;
    min-width:38px!important;height:42px!important;min-height:42px!important;
    padding:0!important;margin:0!important;background:transparent!important;
    border:0!important;border-radius:9px!important;box-shadow:none!important;
    color:#e3efef!important;font-size:24px!important;line-height:1!important;
  }
  #nr-app.nr-mobile-reading #nr-mobile-back{font-size:30px!important;flex-basis:41px;width:41px!important;}
  #nr-app.nr-mobile-reading #nr-mobile-print{font-size:27px!important;}
  #nr-app.nr-mobile-reading .nr-mobile-aa{font-size:16px!important;font-weight:850!important;letter-spacing:-1px;}
  #nr-app.nr-mobile-reading .nr-mobile-help-icon{font-size:16px!important;font-weight:850!important;border:2px solid #c2d1d4!important;
    width:25px!important;min-width:25px!important;flex:0 0 25px;height:25px!important;min-height:25px!important;border-radius:50%!important;margin:0 9px 0 3px!important;}
  #nr-app.nr-mobile-reading .nr-mobile-icon:active,#nr-app.nr-mobile-reading .nr-mobile-icon:focus-visible {background:#35515a!important;}
  #nr-app.nr-mobile-reading .nr-mobile-help-panel:not([hidden]) {
    display:block!important;background:#243b43!important;padding:14px 18px!important;
    color:#e5efee;font-size:13px;line-height:1.6;
  }
  #nr-app.nr-mobile-reading .nr-mobile-help-panel p{color:#bed0d0!important;margin:6px 0 0!important;font-size:12px!important;line-height:1.6!important;}
  #nr-app.nr-mobile-reading .nr-head,
  #nr-app.nr-mobile-reading .nr-topbar {display:none!important;}
  #nr-app.nr-mobile-reading .nr-reader-view .nr-layout {
    display:block!important;grid-template-columns:none!important;min-height:0!important;
    height:auto!important;overflow:visible!important;
  }
  /* The video remains on screen while the transcript itself scrolls. */
  #nr-app.nr-mobile-reading .nr-left {
    position:sticky!important;top:56px;z-index:50;
    display:block!important;padding:0!important;margin:0!important;
    min-width:0!important;background:#14272d!important;
    border:0!important;border-radius:0!important;box-shadow:0 5px 20px #07101188;
  }
  #nr-app.nr-mobile-reading .nr-player-frame {
    display:block;width:100%!important;height:auto!important;aspect-ratio:16/9!important;
    padding:0!important;margin:0!important;overflow:hidden!important;
    background:#05080a!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  }
  #nr-app.nr-mobile-reading .nr-player-frame iframe,
  #nr-app.nr-mobile-reading #nr-player {display:block;width:100%!important;height:100%!important;}
  #nr-app.nr-mobile-reading .nr-player-placeholder span {width:56px;height:56px;font-size:24px;}
  #nr-app.nr-mobile-reading .nr-player-placeholder p {font-size:12px!important;}
  #nr-app.nr-mobile-reading .nr-controls {
    display:flex!important;flex-wrap:nowrap!important;justify-content:space-between;align-items:center;
    gap:4px!important;margin:0!important;padding:6px 10px!important;
    background:#172c33;border-bottom:1px solid #2b4148;
    min-height:44px;
  }
  #nr-app.nr-mobile-reading .nr-controls .nr-control {
    display:inline-grid!important;place-items:center!important;flex:0 0 auto;
    width:auto!important;max-width:none!important;height:33px!important;min-height:33px!important;
    padding:4px 9px!important;margin:0!important;font-size:14px!important;
    line-height:1.2!important;border-radius:8px!important;
    background:#253b43!important;color:#e7f3ef!important;border:1px solid #3b5059!important;
    box-shadow:none!important;
  }
  #nr-app.nr-mobile-reading .nr-controls .nr-main-play {background:#eb4d58!important;color:#fff!important;min-width:38px!important;}
  #nr-app.nr-mobile-reading .nr-controls .nr-enabled{background:#245735!important;color:#a2ee78!important;border-color:#60944f!important;}
  #nr-app.nr-mobile-reading .nr-speed-label{display:none!important;}
  #nr-app.nr-mobile-reading #nr-speed{
    background:#223942!important;border:1px solid #40545b!important;
    width:69px!important;min-width:0!important;max-width:69px!important;
    min-height:33px!important;height:33px!important;
    padding:4px!important;margin:0!important;border-radius:8px!important;
    font-size:12px!important;color:#eaf1ef!important;box-shadow:none!important;
  }
  #nr-app.nr-mobile-reading .nr-player-info {
    display:flex!important;justify-content:space-between;align-items:center;
    min-height:25px;gap:8px!important;margin:0!important;padding:3px 14px!important;
    color:#93abad;background:#14272d;font-size:10px!important;
  }
  #nr-app.nr-mobile-reading .nr-player-info #nr-player-error:empty{display:none;}
  #nr-app.nr-mobile-reading .nr-player-info #nr-player-error:not(:empty){font-size:11px;flex:1;}
  #nr-app.nr-mobile-reading .nr-player-info #nr-youtube-open{font-size:10px!important;color:#8bbbc5!important;}
  #nr-app.nr-mobile-reading .nr-help{display:none!important;}
  #nr-app.nr-mobile-reading .nr-right{
    display:block!important;height:auto!important;min-height:0!important;
    overflow:visible!important;background:#102026!important;padding:0!important;
  }
  #nr-app.nr-mobile-reading .nr-mobile-transcript-label{
    display:flex!important;justify-content:space-between;align-items:center;
    gap:10px;padding:20px 24px 0;
    color:#829ba1;font-size:10px;font-weight:750;letter-spacing:1.5px;
  }
  #nr-app.nr-mobile-reading .nr-mobile-transcript-label span:last-child{font-size:10px;letter-spacing:0;font-weight:550;}
  #nr-app.nr-mobile-reading .nr-mobile-tools {display:none;}
  #nr-app.nr-mobile-reading .nr-transcript-head,
  #nr-app.nr-mobile-reading .nr-toggles{display:none!important;}
  #nr-app.nr-mobile-reading.nr-mobile-options-open .nr-mobile-tools:not([hidden]){
    display:block!important;padding:15px 18px 3px;background:#172b32;
    color:#a9cbc3;font-size:11px;text-transform:uppercase;letter-spacing:1.2px;
  }
  #nr-app.nr-mobile-reading.nr-mobile-options-open .nr-transcript-head{
    display:flex!important;padding:10px 15px!important;background:#172b32;
  }
  #nr-app.nr-mobile-reading.nr-mobile-options-open .nr-transcript-head h2{font-size:13px!important;}
  #nr-app.nr-mobile-reading.nr-mobile-options-open .nr-transcript-head span{font-size:10px!important;}
  #nr-app.nr-mobile-reading.nr-mobile-options-open #nr-search{width:49%!important;min-width:110px!important;min-height:37px!important;}
  #nr-app.nr-mobile-reading.nr-mobile-options-open .nr-toggles{
    display:flex!important;gap:7px!important;padding:5px 15px 14px!important;
    background:#172b32;border-color:#2a4249;
  }
  #nr-app.nr-mobile-reading .nr-transcript{
    display:block!important;height:auto!important;max-height:none!important;
    padding:15px 18px 75px!important;margin:0!important;
    overflow:visible!important;scrollbar-width:none!important;
  }
  #nr-app.nr-mobile-reading .nr-line {
    display:block;position:relative;min-width:0;
    margin:0 0 6px!important;padding:17px 15px 20px!important;
    border:0!important;border-left:0!important;border-radius:11px!important;
    background:transparent!important;transition:background-color .18s ease;
    scroll-margin-top:calc(56px + (100vw * .5625) + 74px);
  }
  #nr-app.nr-mobile-reading .nr-line[hidden]{display:none!important;}
  #nr-app.nr-mobile-reading .nr-line.nr-current {background:#1b3437!important;box-shadow:inset 3px 0 #6c9b66;}
  #nr-app.nr-mobile-reading .nr-line-top {min-height:0!important;height:0;margin:0!important;padding:0!important;}
  #nr-app.nr-mobile-reading .nr-stamp {display:none!important;}
  #nr-app.nr-mobile-reading .nr-line-repeat{
    position:absolute;top:9px;right:9px;opacity:.3;
    padding:2px 6px!important;font-size:17px!important;min-width:30px!important;
  }
  #nr-app.nr-mobile-reading .nr-line.nr-current .nr-line-repeat{opacity:.85;}
  #nr-app.nr-mobile-reading .nr-japanese {
    color:#f2f7f7!important;font-size:25px!important;font-weight:790!important;
    letter-spacing:.2px!important;line-height:2.1!important;
    word-break:normal;overflow-wrap:anywhere;
    padding:3px 0!important;margin:0!important;
  }
  #nr-app.nr-mobile-reading .nr-japanese ruby{ruby-position:over;white-space:nowrap;}
  #nr-app.nr-mobile-reading .nr-japanese rt{
    font-size:9px!important;line-height:1.04!important;
    color:#a2b8c1!important;font-weight:400!important;
    text-align:center;
  }
  #nr-app.nr-mobile-reading .nr-rt-kana{display:block!important;white-space:nowrap;}
  #nr-app.nr-mobile-reading .nr-rt-romaji{display:block!important;font-size:8px!important;font-style:italic!important;color:#a2b1b6!important;margin-top:2px;white-space:nowrap;}
  #nr-app.nr-mobile-reading .nr-line.nr-has-tokens .nr-romaji{display:none!important;}
  #nr-app.nr-mobile-reading .nr-line .nr-romaji {font-size:11px!important;color:#a9b8be!important;margin-top:1px!important;}
  #nr-app.nr-mobile-reading .nr-line .nr-bangla {
    color:#c6aa71!important;font-size:15px!important;font-style:italic!important;
    line-height:1.75!important;margin:1px 0 0!important;padding:0!important;
  }
  #nr-app.nr-mobile-reading .nr-line .nr-english{
    color:#b0c1c6!important;font-size:12px!important;line-height:1.5!important;
  }
  #nr-app.nr-mobile-reading .nr-dictionary {
    position:fixed!important;z-index:2147483050!important;
    bottom:max(12px,env(safe-area-inset-bottom,0px))!important;
    left:12px!important;right:12px!important;width:auto!important;
    max-height:65dvh;overflow-y:auto;
  }
  #nr-app.nr-mobile-reading .nr-modal,
  #nr-app.nr-mobile-reading .nr-add-modal{z-index:2147483050!important;}
}
@media screen and (max-width:370px){
  #nr-app.nr-mobile-reading .nr-mobile-icon {flex-basis:31px!important;width:31px!important;min-width:31px!important;}
  #nr-app.nr-mobile-reading #nr-mobile-back{flex-basis:33px!important;width:33px!important;}
  #nr-app.nr-mobile-reading .nr-mobile-reader-title{font-size:12px!important;}
  #nr-app.nr-mobile-reading .nr-japanese{font-size:23px!important;}
  #nr-app.nr-mobile-reading .nr-transcript{padding-left:12px!important;padding-right:12px!important;}
}
@media print {
  body.nr-reader-is-open{overflow:visible!important;}
  #nr-app.nr-reader.nr-dashboard.nr-mobile-reading{position:static!important;width:100%!important;height:auto!important;overflow:visible!important;}
  #nr-app.nr-mobile-reading .nr-dashboard-main,#nr-app.nr-mobile-reading .nr-reader-view{height:auto!important;overflow:visible!important;}
  #nr-app .nr-mobile-reader-bar,#nr-app .nr-left,#nr-app .nr-head,#nr-app .nr-topbar,#nr-app .nr-toggles{display:none!important;}
  #nr-app .nr-transcript{height:auto!important;overflow:visible!important;}
  #nr-app .nr-japanese,#nr-app .nr-bangla{color:#111!important;}
}

/* v0.2.0 — library management, progress tracking and progressive translation. */
#nr-app [hidden]{display:none!important;}
#nr-app .nr-library-filters{display:flex;flex-wrap:wrap;align-items:center;gap:7px;}
#nr-app .nr-library-filters button{
  appearance:none;background:#1a3037!important;color:#aac2c3!important;
  border:1px solid #345057!important;border-radius:9px!important;
  padding:9px 13px!important;min-height:36px!important;font-size:12px!important;
  font-weight:750!important;box-shadow:none!important;line-height:1.2!important;
}
#nr-app .nr-library-filters button.nr-filter-active{
  background:#254d33!important;border-color:#65b94b!important;color:#b5ff8d!important;
}
#nr-app .nr-video-card{overflow:visible!important;}
#nr-app .nr-video-card .nr-card-copy{padding-right:35px!important;}
#nr-app .nr-card-actions{position:absolute;top:9px;right:9px;z-index:8;display:flex;align-items:center;gap:4px;}
#nr-app .nr-card-actions button{
  appearance:none;display:grid!important;place-items:center;flex:none;
  background:#2c4850!important;color:#cfe5e1!important;border:1px solid #46616a!important;
  width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;
  padding:0!important;margin:0!important;border-radius:9px!important;box-shadow:none!important;
  line-height:1!important;font-size:20px!important;
}
#nr-app .nr-card-actions button:hover{color:#93f646!important;border-color:#92ce73!important;}
#nr-app .nr-card-actions .nr-favorite-button[aria-pressed="true"]{color:#f9cf62!important;}
#nr-app .nr-card-actions .nr-card-restore{
  width:auto!important;min-width:90px!important;padding:0 9px!important;font-size:12px!important;
  background:#285d2a!important;color:#b0f38e!important;
}
#nr-app .nr-card-actions .nr-card-menu{
  position:absolute;z-index:20;right:0;top:38px;width:185px;overflow:hidden;
  border:1px solid #4a666e;border-radius:12px;background:#1c3037;
  box-shadow:0 12px 30px rgba(0,0,0,.5);padding:5px;
}
#nr-app .nr-card-actions .nr-card-menu button{
  display:block!important;width:100%!important;height:auto!important;min-height:37px!important;
  padding:9px 10px!important;background:transparent!important;border:0!important;
  border-radius:7px!important;text-align:left!important;font-size:12px!important;
  font-weight:650!important;line-height:1.25!important;
}
#nr-app .nr-card-actions .nr-card-menu button:hover{background:#30505a!important;color:#fff!important;}
#nr-app .nr-card-actions .nr-card-menu button.nr-danger-choice{color:#f9aaa5!important;}
#nr-app .nr-card-actions .nr-card-menu button.nr-danger-choice:hover{background:#653636!important;}
#nr-app .nr-watch-track{height:5px;width:100%;max-width:170px;display:block;
  border-radius:9px;overflow:hidden;background:#385158;margin-top:6px;}
#nr-app .nr-watch-track span{display:block;height:100%;border-radius:9px;background:#6ddd26;}
#nr-app .nr-video-open:disabled{cursor:default!important;opacity:.7;}
#nr-app .nr-processing{
  background:#20363c;border:1px solid #436069;border-radius:12px;padding:12px 15px;
  margin:0 0 10px!important;color:#d9f2ea;
}
#nr-app .nr-processing-row{display:flex;align-items:center;justify-content:space-between;gap:10px;}
#nr-app #nr-processing-label{font-size:12px;font-weight:800;color:#e0f5ef;}
#nr-app #nr-resume-processing{
  appearance:none;background:#315d3e!important;color:#bcff9a!important;border:1px solid #619b58!important;
  border-radius:8px!important;padding:6px 10px!important;font-size:11px!important;
  min-height:28px!important;height:auto!important;width:auto!important;line-height:1.1!important;
}
#nr-app .nr-processing-track{height:5px;border-radius:10px;overflow:hidden;margin:9px 0 6px;background:#426068;}
#nr-app #nr-processing-fill{height:100%;width:0;border-radius:10px;background:#76e53a;transition:width .35s ease;}
#nr-app #nr-processing-detail{display:block;color:#afc4c1;font-size:11px;line-height:1.5;}
#nr-app .nr-translation-pending{font-style:italic;color:#809da2!important;font-size:12px!important;opacity:.85;}
@media (max-width:920px){
  #nr-app .nr-library-toolbar{flex-wrap:wrap;gap:10px!important;}
  #nr-app .nr-library-filters{width:100%;justify-content:flex-start;}
}
@media (max-width:760px){
  #nr-app .nr-card-actions{top:7px;right:7px;}
  #nr-app .nr-card-actions button{width:33px!important;height:33px!important;}
  #nr-app .nr-video-card .nr-card-copy{padding-right:30px!important;}
  #nr-app.nr-mobile-reading .nr-processing{
    margin:10px 13px 4px!important;border:1px solid #345058!important;padding:10px 12px!important;
  }
  #nr-app.nr-mobile-reading .nr-translation-pending{font-size:12px!important;color:#849ba0!important;}
  #nr-app.nr-mobile-reading .nr-processing-row{gap:8px;}
  #nr-app.nr-mobile-reading #nr-processing-label{font-size:11px!important;}
  #nr-app.nr-mobile-reading #nr-resume-processing{font-size:10px!important;padding:6px 7px!important;}
}

#nr-app .nr-video-card.nr-menu-open{z-index:30!important;transform:none!important;}


/* v0.2.1 — Focus reader and reliable scoped transcript scrolling. */
body.nr-reader-is-open{overflow:hidden!important;}
#nr-app.nr-focus-reading.nr-reader.nr-dashboard{
  display:block!important;position:fixed!important;inset:0!important;
  width:100vw!important;max-width:none!important;height:100vh!important;height:100dvh!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  z-index:2147483000!important;overflow:hidden!important;box-shadow:none!important;
  background:#101e22!important;
}
#nr-app.nr-focus-reading .nr-sidebar,#nr-app.nr-focus-reading .nr-home-view,
#nr-app.nr-focus-reading .nr-head,#nr-app.nr-focus-reading .nr-topbar{display:none!important;}
#nr-app.nr-focus-reading .nr-dashboard-main{height:100%!important;min-height:0!important;overflow:hidden!important;padding:0!important;}
#nr-app.nr-focus-reading .nr-reader-view{
  display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;
  overflow:hidden!important;background:#101e22!important;
}
#nr-app.nr-focus-reading .nr-mobile-reader-bar{
  display:flex!important;align-items:center;gap:12px;min-height:60px;height:60px;flex:0 0 60px;
  padding:0 20px!important;background:#192d33;border-bottom:1px solid #345058;z-index:30;
}
#nr-app.nr-focus-reading .nr-mobile-reader-title{
  flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:#f7fbfa;font-size:15px!important;
}
#nr-app.nr-focus-reading .nr-mobile-icon{
  display:grid;place-items:center;width:38px;min-width:38px;height:38px;min-height:38px;
  background:#29434b!important;border-radius:9px!important;color:#e8f5f4!important;
  font-size:20px!important;padding:0!important;box-shadow:none!important;
}
#nr-app.nr-focus-reading #nr-mobile-back{font-size:26px!important;}
#nr-app.nr-focus-reading .nr-mobile-help-panel:not([hidden]){
  display:block!important;padding:12px 18px!important;background:#27424a;color:#e7f1f1;
}
#nr-app.nr-focus-reading .nr-mobile-tools{display:none!important;}
#nr-app.nr-focus-reading .nr-layout{
  display:grid!important;grid-template-columns:minmax(0,49fr) minmax(0,51fr)!important;
  min-height:0!important;height:auto!important;flex:1 1 0!important;overflow:hidden!important;
}
#nr-app.nr-focus-reading .nr-left{
  min-height:0!important;min-width:0!important;overflow-y:auto!important;overflow-x:hidden!important;
  border-right:1px solid #30464f!important;padding:22px!important;
}
#nr-app.nr-focus-reading .nr-right{min-height:0!important;min-width:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;}
#nr-app.nr-focus-reading .nr-transcript{min-height:0!important;height:auto!important;flex:1 1 0!important;
  overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain!important;}
#nr-app.nr-focus-reading .nr-player-frame{max-width:900px;margin:0 auto;}
#nr-app.nr-focus-reading .nr-help{margin-top:20px;}
#nr-app.nr-focus-reading .nr-transcript-head{flex:0 0 auto;}
#nr-app.nr-focus-reading .nr-toggles{flex:0 0 auto;}
#nr-app.nr-focus-reading #nr-mobile-settings{display:none!important;}
#nr-app .nr-word-timing-note{
  color:#9fb7b8!important;font-size:10px!important;line-height:1.4!important;
  margin:0!important;padding:7px 22px!important;border-bottom:1px solid #29424a;
}
#nr-app .nr-token{position:relative;transition:background-color .09s,color .09s;}
#nr-app .nr-token.nr-word-current{
  background:#44752f!important;color:#f8ffe9!important;
  box-shadow:inset 0 -3px 0 #a4f362;border-radius:4px;
}
#nr-app .nr-token.nr-word-current ruby,#nr-app .nr-token.nr-word-current rt{color:inherit!important;}
#nr-app .nr-inline-gloss{
  display:block;font-family:Inter,system-ui,"Noto Sans Bengali",sans-serif;font-size:9px!important;
  color:#d6b77b!important;line-height:1.4!important;font-weight:450!important;
  text-align:center;max-width:100px;overflow-wrap:anywhere;
}
#nr-app .nr-japanese:has(.nr-inline-gloss) .nr-token{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;}
#nr-app .nr-processing-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end;}
#nr-app #nr-refine-sentences{
  background:#2e484e!important;border:1px solid #4a6767!important;border-radius:9px!important;
  padding:6px 10px!important;color:#d8f4ef!important;font-size:11px!important;line-height:1.2!important;
}
#nr-app #nr-refine-sentences:disabled{opacity:.5;cursor:wait;}
@media(min-width:761px) and (max-width:1000px){
  #nr-app.nr-focus-reading .nr-layout{grid-template-columns:minmax(0,50fr) minmax(0,50fr)!important;}
  #nr-app.nr-focus-reading .nr-left{padding:10px!important;}
  #nr-app.nr-focus-reading .nr-transcript-head{padding:12px!important;}
}
@media(max-width:760px){
  #nr-app.nr-mobile-reading #nr-focus-vocab{display:none!important;}
  #nr-app.nr-mobile-reading .nr-word-timing-note{display:block!important;padding:8px 15px!important;font-size:9px!important;}
  #nr-app.nr-mobile-reading .nr-processing-actions{flex-wrap:wrap;}
  #nr-app.nr-mobile-reading #nr-refine-sentences{font-size:10px!important;padding:6px 7px!important;}
  #nr-app.nr-mobile-reading .nr-inline-gloss{font-size:9px!important;max-width:70px;}
}
@media print{
  body.nr-reader-is-open{overflow:visible!important;}
  #nr-app.nr-focus-reading.nr-reader.nr-dashboard{position:static!important;height:auto!important;overflow:visible!important;}
}

#nr-app .nr-processing.nr-processing-complete{padding:9px 13px!important;background:#19342f!important;}
#nr-app .nr-processing.nr-processing-complete .nr-processing-track{display:none!important;}
#nr-app .nr-processing.nr-processing-complete #nr-processing-detail{font-size:10px!important;margin-top:2px;}
@media(max-width:760px){
  #nr-app.nr-mobile-reading .nr-processing.nr-processing-complete{margin:7px 11px!important;padding:8px 11px!important;}
}

/* 0.2.2: Give the last active sentence sufficient trailing room to reach top. */
#nr-app #nr-transcript{padding-bottom:max(300px,60vh)!important;overscroll-behavior:contain;}
#nr-app.nr-mobile-reading #nr-transcript{padding-bottom:75vh!important;}
#nr-app .nr-line.nr-current{scroll-margin-top:18px;}
#nr-app #nr-import-wordtiming{background:#264840!important;color:#bdf4d9!important;border:1px solid #46655b!important;border-radius:7px!important;padding:5px 9px!important;font-size:11px!important;}
#nr-app .nr-align-upload{background:#2a4550;border-radius:8px;padding:10px 12px;cursor:pointer;display:inline-block;color:#e3f6eb;}
#nr-app .nr-align-upload input{display:block;max-width:230px;margin-top:6px;color:#d3e1e4;}
#nr-app .nr-modal-card>p{color:#c2d5d5;font-size:14px;line-height:1.65;}
#nr-app #nr-align-status{color:#9df2c9;font-size:13px;min-height:20px;}
#nr-app .nr-token[data-word-timing="audio"].nr-word-current{background:#55c995!important;color:#102b29!important;border-radius:5px;}
#nr-app .nr-token[data-word-timing="estimated"].nr-word-current{background:#5b7589!important;color:#fff!important;}
