/* MS-LAST-READ-20261118 — stays inside existing pink palette */
.ms-last-read-panel {
  box-sizing: border-box;
  border: 2px solid #d995b6;
  background: #fff0f8;
  color: #655078;
  box-shadow: 3px 3px 0 #f2b2cf;
  margin: 15px 0;
  text-align: center;
  min-width: 0;
}
.ms-last-read-panel .ms-last-read-title {
  display: block;
  box-sizing: border-box;
  padding: 10px 5px;
  background: #efa9cc;
  border-bottom: 1px solid #d995b6;
  color: #78528f;
  font: bold 11px/1.3 Georgia, serif;
  letter-spacing: .25px;
}
.ms-last-read-inside { padding: 11px 8px 14px; }
.ms-last-read-icon { font-size: 22px; line-height: 1.1; margin-bottom: 4px; }
.ms-last-read-book { display:block; font:bold 14px/1.3 Georgia,serif; color:#7445a2; overflow-wrap:anywhere; }
.ms-last-read-author { font: 10px/1.4 Georgia,serif; margin-top:3px; color:#785e79; }
.ms-last-read-mentioned { border-top:1px dotted #e9bfd1; padding-top:7px; margin-top:10px; font:10px/1.5 'Courier New',monospace; }
.ms-last-read-mentioned a { color:#8f5aa8; overflow-wrap:anywhere; }
.ms-last-read-widget-toggle, .ms-last-read-drawer { display:none; }
.ms-last-read-drawer[hidden] { display:none!important; }
@media screen and (max-width:1119px) {
  .ms-last-read-panel:not(.ms-last-read-drawer .ms-last-read-panel) { display:none!important; }
  .ms-last-read-widget-toggle {
    position:fixed!important; z-index:2147483000!important;
    display:block!important; right:12px; bottom:14px;
    background:#fff0f8; color:#765092; border:2px solid #bf83a8;
    border-radius:3px; padding:10px 14px; box-shadow:3px 3px 0 #e7a9c7;
    font:bold 12px/1.2 'Courier New',monospace; cursor:pointer;
  }
  .ms-last-read-drawer {
    position:fixed!important; z-index:2147483001!important;
    display:block!important; box-sizing:border-box;
    bottom:61px; right:12px; width:min(310px,calc(100vw - 24px));
    max-height:calc(100dvh - 110px); overflow:auto;
    padding:8px; border:2px solid #c88caf;
    background:#ffe4f2; box-shadow:5px 5px 0 #dda5c1;
  }
  .ms-last-read-drawer-header {
    display:flex; align-items:center; justify-content:space-between;
    font:bold 11px/1.3 Georgia,serif; color:#754c88; padding:1px 6px 4px;
  }
  .ms-last-read-drawer-close {
    border:1px solid #ce9ab3; background:#fff3fa; color:#754c88;
    font:20px/1 Georgia,serif; width:29px; height:29px; cursor:pointer;
  }
  .ms-last-read-drawer .ms-last-read-panel { display:block!important; margin:5px 1px 1px; }
}
html.ms-phone-order .ms-last-read-widget-toggle { display:block!important; }
html.ms-phone-order .ms-last-read-drawer:not([hidden]) { display:block!important; }

/* MS-UNIFIED-WIDGET-HEADING-TYPE-20261118 */
body.misc-scrapbook .ms-last-read-panel .ms-last-read-title {
  font-family: "Courier New", Courier, monospace !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  font-style: normal !important;
  line-height: 1.25 !important;
  letter-spacing: .2px !important;
  text-transform: uppercase !important;
  padding: 5px 4px !important;
  min-height: 0 !important;
}
