/**/.hamburgerButton{display:block;background-color:transparent;border:0;padding:0;margin:0}.hamburgerButton,.hamburgerButton svg{width:100%;height:100%}/**/.dmNewParagraph[data-version] .text-align-left{text-align:left!important}.dmNewParagraph[data-version] .text-align-center{text-align:center!important}.dmNewParagraph[data-version] .text-align-right{text-align:right!important}
.dmNewParagraph[data-version] .text-align-justify{text-align:justify!important}.dmNewParagraph[data-version] .ql-indent-1{padding:0 1em;padding-inline-end:0;padding-inline-start:3em}.dmNewParagraph[data-version] .ql-indent-2{padding:0 2em;padding-inline-end:0;padding-inline-start:6em}
.dmNewParagraph[data-version] .ql-indent-3{padding:0 3em;padding-inline-end:0;padding-inline-start:9em}.dmNewParagraph[data-version] .ql-indent-4{padding:0 4em;padding-inline-end:0;padding-inline-start:12em}
.dmNewParagraph[data-version] .ql-indent-5{padding:0 5em;padding-inline-end:0;padding-inline-start:15em}.dmNewParagraph[data-version] .ql-indent-6{padding:0 6em;padding-inline-end:0;padding-inline-start:18em}
.dmNewParagraph[data-version] .ql-indent-7{padding:0 7em;padding-inline-end:0;padding-inline-start:21em}.dmNewParagraph[data-version] .ql-indent-8{padding:0 8em;padding-inline-end:0;padding-inline-start:24em}
.dmNewParagraph[data-version] .ql-indent-9{padding:0 9em;padding-inline-end:0;padding-inline-start:27em}.dmNewParagraph[data-version]{line-height:initial}.dmNewParagraph[data-version] [class*=size-]{width:auto!important;height:auto!important}
.dmNewParagraph[data-version] h1,.dmNewParagraph[data-version] h2,.dmNewParagraph[data-version] h3,.dmNewParagraph[data-version] h4,.dmNewParagraph[data-version] h5,.dmNewParagraph[data-version] h6,.dmNewParagraph[data-version] ol,.dmNewParagraph[data-version] p,.dmNewParagraph[data-version] ul{margin-top:0;margin-bottom:0}
.dmNewParagraph[data-version] ol,.dmNewParagraph[data-version] ul{padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.dmNewParagraph[data-version] ol>li,.dmNewParagraph[data-version] ul>li{list-style-type:none;text-indent:-1.5em;margin:0 1em;margin-inline-end:0;margin-inline-start:2em}
.dmNewParagraph[data-version] ol>li:before,.dmNewParagraph[data-version] ul>li:before{min-width:1em;display:inline-block;margin-right:.5em;margin-inline-start:0;margin-inline-end:.5em;text-align:right;text-align:end}
.dmNewParagraph[data-version] ul .ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-1}.dmNewParagraph[data-version] ul .ql-indent-1:before{font-weight:700;content:"○"}
.dmNewParagraph[data-version] ul .ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-2}.dmNewParagraph[data-version] ul .ql-indent-2:before,.dmNewParagraph[data-version] ul .ql-indent-3:before,.dmNewParagraph[data-version] ul .ql-indent-4:before,.dmNewParagraph[data-version] ul .ql-indent-5:before,.dmNewParagraph[data-version] ul .ql-indent-6:before,.dmNewParagraph[data-version] ul .ql-indent-7:before,.dmNewParagraph[data-version] ul .ql-indent-8:before,.dmNewParagraph[data-version] ul .ql-indent-9:before{font-weight:700;content:"■"}
.dmNewParagraph[data-version] ul .ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-3}.dmNewParagraph[data-version] ul .ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9;counter-increment:list-4}
.dmNewParagraph[data-version] ul .ql-indent-5{counter-reset:list-6 list-7 list-8 list-9;counter-increment:list-5}.dmNewParagraph[data-version] ul .ql-indent-6{counter-reset:list-7 list-8 list-9;counter-increment:list-6}
.dmNewParagraph[data-version] ul .ql-indent-7{counter-reset:list-8 list-9;counter-increment:list-7}.dmNewParagraph[data-version] ul .ql-indent-8{counter-reset:list-9;counter-increment:list-8}.dmNewParagraph[data-version] ul .ql-indent-9{counter-reset:list-10 list-9;counter-increment:list-9}
.dmNewParagraph[data-version] ul>li:before{font-weight:700;content:"•";font-family:Arial}.dmNewParagraph[data-version] ul.custom-list-1>li:not([class^=ql-indent-]):not([class*=" ql-indent-"]):before{content:"○";transform:scale(1);transform-origin:center right}
.dmNewParagraph[data-version] ul.custom-list-2>li:not([class^=ql-indent-]):not([class*=" ql-indent-"]):before{content:"★";transform:scale(.7);transform-origin:center right}
.dmNewParagraph[data-version] ul.custom-list-3>li:not([class^=ql-indent-]):not([class*=" ql-indent-"]):before{content:"➞";transform:scale(.8);transform-origin:center right}
.dmNewParagraph[data-version] ul.custom-list-4>li:not([class^=ql-indent-]):not([class*=" ql-indent-"]):before{content:"＋";transform:scale(.7);transform-origin:center right}
.dmNewParagraph[data-version] ul.custom-list-5>li:not([class^=ql-indent-]):not([class*=" ql-indent-"]):before{content:"－";transform:scale(.7);transform-origin:center right}
.dmNewParagraph[data-version] ul.custom-list-6>li:not([class^=ql-indent-]):not([class*=" ql-indent-"]):before{content:"✓";transform:scale(.8);transform-origin:center right}
.dmNewParagraph[data-version] ul.custom-list-7>li:not([class^=ql-indent-]):not([class*=" ql-indent-"]):before{content:"✗";transform:scale(.8);transform-origin:center right}
.dmNewParagraph[data-version] ol .ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-1}.dmNewParagraph[data-version] ol .ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}
.dmNewParagraph[data-version] ol .ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-2}.dmNewParagraph[data-version] ol .ql-indent-2:before{content:counter(list-2,lower-roman) ". "}
.dmNewParagraph[data-version] ol .ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-3}.dmNewParagraph[data-version] ol .ql-indent-3:before{content:counter(list-3,decimal) ". "}
.dmNewParagraph[data-version] ol .ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9;counter-increment:list-4}.dmNewParagraph[data-version] ol .ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}
.dmNewParagraph[data-version] ol .ql-indent-5{counter-reset:list-6 list-7 list-8 list-9;counter-increment:list-5}.dmNewParagraph[data-version] ol .ql-indent-5:before{content:counter(list-5,lower-roman) ". "}
.dmNewParagraph[data-version] ol .ql-indent-6{counter-reset:list-7 list-8 list-9;counter-increment:list-6}.dmNewParagraph[data-version] ol .ql-indent-6:before{content:counter(list-6,decimal) ". "}
.dmNewParagraph[data-version] ol .ql-indent-7{counter-reset:list-8 list-9;counter-increment:list-7}.dmNewParagraph[data-version] ol .ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}
.dmNewParagraph[data-version] ol .ql-indent-8{counter-reset:list-9;counter-increment:list-8}.dmNewParagraph[data-version] ol .ql-indent-8:before{content:counter(list-8,lower-roman) ". "}
.dmNewParagraph[data-version] ol .ql-indent-9{counter-reset:list-10 list-9;counter-increment:list-9}.dmNewParagraph[data-version] ol .ql-indent-9:before{content:counter(list-9,decimal) ". "}
.dmNewParagraph[data-version] ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.dmNewParagraph[data-version] ol li:before{content:counter(list-0,decimal) ". "}
.dmNewParagraph[data-version] a{vertical-align:initial}@media(min-width:768px) and (max-width:1024px){.dmNewParagraph[data-version] .t-text-align-left{text-align:left!important}.dmNewParagraph[data-version] .t-text-align-center{text-align:center!important}
.dmNewParagraph[data-version] .t-text-align-right{text-align:right!important}.dmNewParagraph[data-version] .t-text-align-justify{text-align:justify!important}}@media(max-width:767px){.dmRoot .dmNewParagraph[data-version] .m-text-align-left{text-align:left!important}
.dmRoot .dmNewParagraph[data-version] .m-text-align-center{text-align:center!important}.dmRoot .dmNewParagraph[data-version] .m-text-align-right{text-align:right!important}.dmRoot .dmNewParagraph[data-version] .m-text-align-justify{text-align:justify!important}
}.inlineBindingLink{color:inherit!important;text-decoration:inherit!important}/**/.imageWidget{position:relative}.imageWidget a,.imageWidget span.image-caption{font-style:italic;text-align:center}.imageWidget a[data-caption]::after,.imageWidget span[data-caption]::after{content:attr(data-caption);display:block;line-height:100%}
.imageWidget.with-caption a::after,.imageWidget.with-caption span.image-caption::after{margin-top:12px}.imageWidget img[width][height]{height:auto}[data-flex-site] #fcontainer .imageWidget:after,[data-flex-site] #flex-footer .imageWidget:after,[data-flex-site] #flex-header .imageWidget:after{content:none}
[data-flex-site] #fcontainer .imageWidget:before,[data-flex-site] #flex-footer .imageWidget:before,[data-flex-site] #flex-header .imageWidget:before{font-size:80px;transform:none}.imageWidget.hover img.hover-image,.imageWidget:hover img.hover-image{display:initial}
.imageWidget.hover.hasHover img:not(.hover-image),.imageWidget:hover.hasHover img:not(.hover-image){display:none!important}.imageWidget img.hover-image,.imageWidget img.logo-on-scroll{display:none}
/* Custom Widgets Styles */
@charset "UTF-8";
/* ══════════════════════════════════════════════════════════════════
   MARKSY — QUICK-CAPTURE DRAWER (Note · Habit · Flashcard)
   Scoped under .widget-f766b4
   ══════════════════════════════════════════════════════════════════ */
/* ── CSS CUSTOM PROPERTIES ── */
.widget-f766b4 {
  --mnd-primary: #03a9f4;
  --mnd-primary-dark: #0290d0;
  --mnd-primary-light: #e3f6ff;
  --mnd-danger: #e53935;
  --mnd-success: #43a047;
  --mnd-warning: #fb8c00;
  --mnd-text-main: #1a1a2e;
  --mnd-text-secondary: #555770;
  --mnd-text-muted: #9a9ab0;
  --mnd-drawer-bg: #ffffff;
  --mnd-header-bg: #ffffff;
  --mnd-footer-bg: #f9fafb;
  --mnd-border: #e2e6f0;
  --mnd-input-bg: #ffffff;
  --mnd-editor-bg: #ffffff;
  --mnd-shadow-drawer: -4px 0 15px rgba(0,0,0,0.10);
  --mnd-shadow-trigger: 0 2px 8px rgba(3,169,244,0.22);
  --mnd-radius-drawer: 0px;
  --mnd-radius-input: 6px;
  --mnd-radius-btn: 6px;
  --mnd-trigger-size: 44px;
  --mnd-drawer-width: 400px;
  --mnd-transition: 0.3s ease-in-out;
  --mnd-fast: 0.18s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.widget-f766b4 .marksy-note-drawer-root *,
.widget-f766b4 .marksy-note-drawer-root *::before,
.widget-f766b4 .marksy-note-drawer-root *::after {
  box-sizing: border-box;
}

/* ── ROOT ── */
.widget-f766b4 .marksy-note-drawer-root {
  display: inline-block;
  position: relative;
}

/* ══════════════════════════════════════════
   TRIGGER BUTTON
   ══════════════════════════════════════════ */
.widget-f766b4 .marksy-note-drawer-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: var(--mnd-trigger-size);
  height: var(--mnd-trigger-size);
  padding: 0 14px;
  background: var(--mnd-primary);
  color: #ffffff;
  border: 2px solid var(--mnd-primary);
  border-radius: var(--mnd-radius-btn);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background var(--mnd-fast), color var(--mnd-fast), box-shadow var(--mnd-fast), transform var(--mnd-fast);
  box-shadow: var(--mnd-shadow-trigger);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.widget-f766b4 .marksy-note-drawer-trigger:hover {
  background: #ffffff;
  color: #03a9f4;
  border-color: #03a9f4;
  box-shadow: 0 4px 14px rgba(3, 169, 244, 0.32);
  transform: translateY(-1px);
}

.widget-f766b4 .marksy-note-drawer-trigger:active {
  transform: translateY(0);
  box-shadow: var(--mnd-shadow-trigger);
}

.widget-f766b4 .marksy-note-drawer-trigger:focus-visible {
  outline: 2px solid var(--mnd-primary);
  outline-offset: 3px;
}

.widget-f766b4 .marksy-note-drawer-trigger-icon,
.widget-f766b4 .marksy-note-drawer-trigger svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

.widget-f766b4 .marksy-note-drawer-trigger-text {
  letter-spacing: 0.01em;
}

/* ══════════════════════════════════════════
   BACKDROP
   ══════════════════════════════════════════ */
.widget-f766b4 .marksy-note-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 46, 0.42);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--mnd-transition);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
}

.widget-f766b4 .marksy-note-drawer-backdrop.marksy-note-drawer-backdrop--visible {
  opacity: 1;
  pointer-events: auto;
}

/* ══════════════════════════════════════════
   DRAWER PANEL
   ══════════════════════════════════════════ */
.widget-f766b4 .marksy-note-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--mnd-drawer-width);
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  background: var(--mnd-drawer-bg);
  box-shadow: var(--mnd-shadow-drawer);
  border-left: 1px solid var(--mnd-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform var(--mnd-transition);
  will-change: transform;
}

.widget-f766b4 .marksy-note-drawer-panel.marksy-note-drawer-panel--open {
  transform: translateX(0);
}

/* ── HEADER ── */
.widget-f766b4 .marksy-note-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 14px;
  background: var(--mnd-header-bg);
  border-bottom: 1.5px solid var(--mnd-border);
  flex-shrink: 0;
  gap: 10px;
}

.widget-f766b4 .marksy-note-drawer-header-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.widget-f766b4 .marksy-note-drawer-header-icon {
  width: 20px;
  height: 20px;
  color: var(--mnd-primary);
  flex-shrink: 0;
}

.widget-f766b4 .marksy-note-drawer-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mnd-text-main);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.widget-f766b4 .marksy-note-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #5a6268;
  font-family: inherit;
  padding: 0;
  line-height: 1;
  outline: none;
}

.widget-f766b4 .marksy-note-drawer-close::before {
  content: "×";
  font-size: 24px;
  color: #5a6268;
  line-height: 1;
  display: block;
  transition: transform 0.4s ease, color 0.4s ease;
}

.widget-f766b4 .marksy-note-drawer-close:hover::before,
.widget-f766b4 .marksy-note-drawer-close:active::before {
  content: "−";
  color: #03a9f4;
  transform: rotate(360deg);
}

/* ══════════════════════════════════════════
   TAB BAR
   ══════════════════════════════════════════ */
.widget-f766b4 .marksy-tab-bar {
  display: flex;
  align-items: stretch;
  background: var(--mnd-header-bg);
  border-bottom: 2px solid var(--mnd-border);
  flex-shrink: 0;
  padding: 0 20px;
  gap: 0;
}

.widget-f766b4 .marksy-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  background: transparent;
  border: none;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mnd-text-muted);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: color var(--mnd-fast), border-color var(--mnd-fast);
  outline: none;
  user-select: none;
  flex-shrink: 0;
}

.widget-f766b4 .marksy-tab svg {
  opacity: 0.6;
  transition: opacity var(--mnd-fast);
}

.widget-f766b4 .marksy-tab:hover {
  color: var(--mnd-text-secondary);
}

.widget-f766b4 .marksy-tab:hover svg {
  opacity: 0.8;
}

.widget-f766b4 .marksy-tab--active {
  color: var(--mnd-primary);
  border-bottom-color: var(--mnd-primary);
}

.widget-f766b4 .marksy-tab--active svg {
  opacity: 1;
}

.widget-f766b4 .marksy-tab:focus-visible {
  outline: 2px solid var(--mnd-primary);
  outline-offset: -2px;
  border-radius: 4px 4px 0 0;
}

/* ══════════════════════════════════════════
   PANES
   ══════════════════════════════════════════ */
.widget-f766b4 .marksy-pane {
  display: none;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
}

.widget-f766b4 .marksy-pane--active {
  display: flex;
}

/* ── DRAWER BODY (shared scroll container) ── */
.widget-f766b4 .marksy-note-drawer-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: visible;
  padding: 18px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--mnd-border) transparent;
}

.widget-f766b4 .marksy-note-drawer-body::-webkit-scrollbar {
  width: 5px;
}

.widget-f766b4 .marksy-note-drawer-body::-webkit-scrollbar-track {
  background: transparent;
}

.widget-f766b4 .marksy-note-drawer-body::-webkit-scrollbar-thumb {
  background: var(--mnd-border);
  border-radius: 3px;
}

/* ── FIELD ── */
.widget-f766b4 .marksy-note-drawer-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.widget-f766b4 .marksy-note-drawer-field--grow {
  flex: 1;
  min-height: 0;
}

.widget-f766b4 .marksy-note-drawer-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mnd-text-muted);
  user-select: none;
}

/* ── INPUTS ── */
.widget-f766b4 .marksy-note-drawer-title-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--mnd-text-main);
  background: var(--mnd-input-bg);
  border: 1.5px solid var(--mnd-border);
  border-radius: var(--mnd-radius-input);
  outline: none;
  transition: border-color var(--mnd-fast), box-shadow var(--mnd-fast);
  line-height: 1.4;
}

.widget-f766b4 .marksy-note-drawer-title-input::placeholder {
  color: var(--mnd-text-muted);
  font-weight: 400;
}

.widget-f766b4 .marksy-note-drawer-title-input:focus {
  border-color: var(--mnd-primary);
  box-shadow: 0 0 0 3px rgba(3, 169, 244, 0.12);
}

/* ── EDITOR ── */
.widget-f766b4 .marksy-note-drawer-editor-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.widget-f766b4 .marksy-note-drawer-body-editor {
  flex: 1;
  min-height: 160px;
  width: 100%;
  padding: 12px 14px;
  font-size: 0.925rem;
  font-family: inherit;
  color: var(--mnd-text-main);
  background: var(--mnd-editor-bg);
  border: 1.5px solid var(--mnd-border);
  border-radius: var(--mnd-radius-input);
  outline: none;
  line-height: 1.75;
  overflow-y: auto;
  word-break: break-word;
  white-space: pre-wrap;
  cursor: text;
  transition: border-color var(--mnd-fast), box-shadow var(--mnd-fast);
  scrollbar-width: thin;
  scrollbar-color: var(--mnd-border) transparent;
}

.widget-f766b4 .marksy-note-drawer-body-editor::-webkit-scrollbar {
  width: 5px;
}

.widget-f766b4 .marksy-note-drawer-body-editor::-webkit-scrollbar-thumb {
  background: var(--mnd-border);
  border-radius: 3px;
}

.widget-f766b4 .marksy-note-drawer-body-editor:focus {
  border-color: var(--mnd-primary);
  box-shadow: 0 0 0 3px rgba(3, 169, 244, 0.12);
}

.widget-f766b4 .marksy-note-drawer-body-editor:empty::before {
  content: attr(data-placeholder);
  color: var(--mnd-text-muted);
  pointer-events: none;
  font-style: italic;
  font-weight: 400;
}

.widget-f766b4 .marksy-note-drawer-body-editor p {
  margin: 0 0 0.4em;
}

.widget-f766b4 .marksy-note-drawer-body-editor ul,
.widget-f766b4 .marksy-note-drawer-body-editor ol {
  margin: 0.3em 0 0.4em 1.3em;
  padding: 0;
}

.widget-f766b4 .marksy-note-drawer-body-editor li {
  margin-bottom: 0.2em;
}

.widget-f766b4 .marksy-note-drawer-body-editor strong {
  font-weight: 700;
}

.widget-f766b4 .marksy-note-drawer-body-editor em {
  font-style: italic;
}

.widget-f766b4 .marksy-note-drawer-body-editor a {
  color: var(--mnd-primary);
  text-decoration: underline;
}

.widget-f766b4 .marksy-note-drawer-body-editor .marksy-mention-link {
  display: inline;
  color: var(--mnd-primary);
  background: var(--mnd-primary-light);
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 600;
  font-size: 0.9em;
  text-decoration: none;
  border-bottom: 1.5px solid var(--mnd-primary);
  cursor: pointer;
  transition: background var(--mnd-fast);
}

.widget-f766b4 .marksy-note-drawer-body-editor .marksy-mention-link:hover {
  background: #cbeeff;
}

.widget-f766b4 .marksy-note-drawer-editor-hint {
  font-size: 0.69rem;
  color: var(--mnd-text-muted);
  margin-top: 5px;
  padding: 0 2px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.widget-f766b4 .marksy-note-drawer-editor-hint kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0f4f8;
  border: 1px solid #d0d7e3;
  border-radius: 3px;
  padding: 0 5px;
  font-size: 0.68rem;
  font-family: monospace;
  color: var(--mnd-text-secondary);
  line-height: 1.6;
  box-shadow: 0 1px 0 #c0c8d8;
}

/* ── MENTION DROPDOWN ── */
.widget-f766b4 .marksy-note-drawer-mention-dropdown,
.marksy-note-drawer-mention-dropdown.widget-f766b4 {
  /* Inline CSS vars for when dropdown lives on document.body */
  --mnd-primary: #03a9f4;
  --mnd-primary-light: #e3f6ff;
  --mnd-border: #e2e6f0;
  --mnd-text-main: #1a1a2e;
  --mnd-text-muted: #9a9ab0;
  position: fixed;
  background: #fff;
  border: 1.5px solid var(--mnd-border, #e2e6f0);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  z-index: 99999;
  max-height: 220px;
  overflow-y: auto;
  padding: 6px 0;
  animation: marksy-mnd-fadein 0.12s ease;
  min-width: 220px;
}

@keyframes marksy-mnd-fadein {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.widget-f766b4 .marksy-note-drawer-mention-item,
.marksy-note-drawer-mention-dropdown.widget-f766b4 .marksy-note-drawer-mention-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--mnd-text-main, #1a1a2e);
  transition: background 0.12s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.widget-f766b4 .marksy-note-drawer-mention-item:hover,
.widget-f766b4 .marksy-note-drawer-mention-item.marksy-mnd-focused,
.marksy-note-drawer-mention-dropdown.widget-f766b4 .marksy-note-drawer-mention-item:hover,
.marksy-note-drawer-mention-dropdown.widget-f766b4 .marksy-note-drawer-mention-item.marksy-mnd-focused {
  background: var(--mnd-primary-light, #e3f6ff);
  color: var(--mnd-primary, #03a9f4);
}

.widget-f766b4 .marksy-note-drawer-mention-item-icon,
.marksy-note-drawer-mention-dropdown.widget-f766b4 .marksy-note-drawer-mention-item-icon {
  font-size: 0.9rem;
  flex-shrink: 0;
  line-height: 1;
}

.widget-f766b4 .marksy-note-drawer-mention-item-label,
.marksy-note-drawer-mention-dropdown.widget-f766b4 .marksy-note-drawer-mention-item-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  font-weight: 500;
}

.widget-f766b4 .marksy-note-drawer-mention-item--deck .marksy-note-drawer-mention-item-label,
.marksy-note-drawer-mention-dropdown.widget-f766b4 .marksy-note-drawer-mention-item--deck .marksy-note-drawer-mention-item-label {
  font-weight: 700;
}

.widget-f766b4 .marksy-note-drawer-mention-item--card .marksy-note-drawer-mention-item-label,
.marksy-note-drawer-mention-dropdown.widget-f766b4 .marksy-note-drawer-mention-item--card .marksy-note-drawer-mention-item-label {
  font-weight: 400;
  font-size: 0.82rem;
}

.widget-f766b4 .marksy-note-drawer-mention-empty,
.marksy-note-drawer-mention-dropdown.widget-f766b4 .marksy-note-drawer-mention-empty {
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--mnd-text-muted, #9a9ab0);
  font-style: italic;
}

/* ══════════════════════════════════════════
   HABIT PANE STYLES
   ══════════════════════════════════════════ */
/* Icon + Color row — stacked vertically so color picker has room */
.widget-f766b4 .marksy-habit-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Emoji input */
.widget-f766b4 .marksy-emoji-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.widget-f766b4 .marksy-emoji-input {
  flex: 1;
  padding: 9px 10px;
  font-size: 1.3rem;
  text-align: center;
  font-family: inherit;
  background: var(--mnd-input-bg);
  border: 1.5px solid var(--mnd-border);
  border-radius: var(--mnd-radius-input);
  outline: none;
  color: var(--mnd-text-main);
  line-height: 1.2;
  transition: border-color var(--mnd-fast), box-shadow var(--mnd-fast);
}

.widget-f766b4 .marksy-emoji-input:focus {
  border-color: var(--mnd-primary);
  box-shadow: 0 0 0 3px rgba(3, 169, 244, 0.12);
}

.widget-f766b4 .marksy-habit-row__icon-field,
.widget-f766b4 .marksy-habit-row__color-field {
  min-width: 0;
}

.widget-f766b4 .marksy-emoji-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--mnd-input-bg);
  border: 1.5px solid var(--mnd-border);
  border-radius: var(--mnd-radius-input);
  cursor: pointer;
  color: var(--mnd-text-secondary);
  transition: background var(--mnd-fast), border-color var(--mnd-fast), color var(--mnd-fast);
  font-family: inherit;
  padding: 0;
}

.widget-f766b4 .marksy-emoji-btn:hover {
  background: var(--mnd-primary-light);
  border-color: var(--mnd-primary);
  color: var(--mnd-primary);
}

/* Color input — kept for legacy, swatches are primary UI */
.widget-f766b4 .marksy-color-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--mnd-input-bg);
  border: 1.5px solid var(--mnd-border);
  border-radius: var(--mnd-radius-input);
  padding: 7px 10px;
  transition: border-color var(--mnd-fast), box-shadow var(--mnd-fast);
}

.widget-f766b4 .marksy-color-wrap:focus-within {
  border-color: var(--mnd-primary);
  box-shadow: 0 0 0 3px rgba(3, 169, 244, 0.12);
}

.widget-f766b4 .marksy-color-input {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 4px;
  padding: 0;
  cursor: pointer;
  background: none;
  outline: none;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   SWATCH COLOR PICKER
   ══════════════════════════════════════════ */
.widget-f766b4 .marksy-swatch-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 4px 0 2px;
}

.widget-f766b4 .marksy-swatch-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: transform var(--mnd-fast), border-color var(--mnd-fast), box-shadow var(--mnd-fast);
  outline: none;
}

.widget-f766b4 .marksy-swatch-btn:hover {
  transform: scale(1.18);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.widget-f766b4 .marksy-swatch-btn--active {
  border-color: var(--mnd-text-main);
  transform: scale(1.15);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}

.widget-f766b4 .marksy-swatch-btn:focus-visible {
  outline: 2px solid var(--mnd-primary);
  outline-offset: 2px;
}

.widget-f766b4 .marksy-color-custom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
}

.widget-f766b4 .marksy-color-hex {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mnd-text-secondary);
  font-family: monospace;
  letter-spacing: 0.04em;
  line-height: 1;
}

.widget-f766b4 .marksy-color-custom-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--mnd-text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border: 1.5px solid var(--mnd-border);
  border-radius: 20px;
  background: var(--mnd-input-bg);
  transition: border-color var(--mnd-fast), color var(--mnd-fast), background var(--mnd-fast);
  position: relative;
  overflow: hidden;
  user-select: none;
  line-height: 1.4;
}

.widget-f766b4 .marksy-color-custom-label:hover {
  border-color: var(--mnd-primary);
  color: var(--mnd-primary);
  background: var(--mnd-primary-light);
}

.widget-f766b4 .marksy-color-custom-input {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  left: 0;
  top: 0;
  border: none;
  padding: 0;
}

/* Emoji picker panel */
.widget-f766b4 .marksy-emoji-panel {
  background: var(--mnd-input-bg);
  border: 1.5px solid var(--mnd-border);
  border-radius: var(--mnd-radius-input);
  padding: 10px;
  animation: marksy-mnd-fadein 0.15s ease;
}

.widget-f766b4 .marksy-emoji-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
}

.widget-f766b4 .marksy-emoji-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  width: 100%;
  aspect-ratio: 1;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: background var(--mnd-fast), transform var(--mnd-fast);
  line-height: 1;
  padding: 0;
}

.widget-f766b4 .marksy-emoji-opt:hover {
  background: var(--mnd-primary-light);
  transform: scale(1.15);
}

/* Frequency pills */
.widget-f766b4 .marksy-freq-pills {
  display: flex;
  gap: 6px;
}

.widget-f766b4 .marksy-freq-pill {
  flex: 1;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mnd-text-secondary);
  background: var(--mnd-input-bg);
  border: 1.5px solid var(--mnd-border);
  border-radius: 20px;
  cursor: pointer;
  transition: background var(--mnd-fast), color var(--mnd-fast), border-color var(--mnd-fast);
  text-align: center;
  outline: none;
  user-select: none;
}

.widget-f766b4 .marksy-freq-pill:hover {
  border-color: var(--mnd-primary);
  color: var(--mnd-primary);
}

.widget-f766b4 .marksy-freq-pill--active {
  background: var(--mnd-primary);
  color: #fff;
  border-color: var(--mnd-primary);
}

.widget-f766b4 .marksy-freq-pill:focus-visible {
  outline: 2px solid var(--mnd-primary);
  outline-offset: 2px;
}

/* Custom day pills */
.widget-f766b4 .marksy-custom-days {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  background: var(--mnd-primary-light);
  border-radius: var(--mnd-radius-input);
  border: 1.5px solid rgba(3, 169, 244, 0.18);
  animation: marksy-mnd-fadein 0.15s ease;
}

.widget-f766b4 .marksy-day-pills {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.widget-f766b4 .marksy-day-pill {
  flex: 1;
  min-width: 0;
  padding: 6px 4px;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mnd-text-secondary);
  background: #fff;
  border: 1.5px solid var(--mnd-border);
  border-radius: 6px;
  cursor: pointer;
  transition: background var(--mnd-fast), color var(--mnd-fast), border-color var(--mnd-fast);
  text-align: center;
  outline: none;
  user-select: none;
}

.widget-f766b4 .marksy-day-pill:hover {
  border-color: var(--mnd-primary);
  color: var(--mnd-primary);
}

.widget-f766b4 .marksy-day-pill--active {
  background: var(--mnd-primary);
  color: #fff;
  border-color: var(--mnd-primary);
}

.widget-f766b4 .marksy-day-pill:focus-visible {
  outline: 2px solid var(--mnd-primary);
  outline-offset: 2px;
}

/* ══════════════════════════════════════════
   FLASHCARD PANE STYLES
   ══════════════════════════════════════════ */
/* Deck mode toggle */
.widget-f766b4 .marksy-deck-toggle {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--mnd-border);
  border-radius: var(--mnd-radius-input);
  overflow: hidden;
}

.widget-f766b4 .marksy-deck-toggle__btn {
  flex: 1;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mnd-text-secondary);
  background: var(--mnd-input-bg);
  border: none;
  cursor: pointer;
  transition: background var(--mnd-fast), color var(--mnd-fast);
  outline: none;
  text-align: center;
  user-select: none;
  border-right: 1px solid var(--mnd-border);
}

.widget-f766b4 .marksy-deck-toggle__btn:last-child {
  border-right: none;
}

.widget-f766b4 .marksy-deck-toggle__btn:hover {
  color: var(--mnd-primary);
  background: var(--mnd-primary-light);
}

.widget-f766b4 .marksy-deck-toggle__btn--active {
  background: var(--mnd-primary);
  color: #fff;
}

.widget-f766b4 .marksy-deck-toggle__btn:focus-visible {
  outline: 2px solid var(--mnd-primary);
  outline-offset: -2px;
}

/* Select wrap */
.widget-f766b4 .marksy-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.widget-f766b4 .marksy-select {
  width: 100%;
  padding: 10px 36px 10px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--mnd-text-main);
  background: var(--mnd-input-bg);
  border: 1.5px solid var(--mnd-border);
  border-radius: var(--mnd-radius-input);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color var(--mnd-fast), box-shadow var(--mnd-fast);
  line-height: 1.4;
}

.widget-f766b4 .marksy-select:focus {
  border-color: var(--mnd-primary);
  box-shadow: 0 0 0 3px rgba(3, 169, 244, 0.12);
}

.widget-f766b4 .marksy-select-arrow {
  position: absolute;
  right: 12px;
  pointer-events: none;
  color: var(--mnd-text-muted);
  flex-shrink: 0;
}

/* Cards builder */
.widget-f766b4 .marksy-cards-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.widget-f766b4 .marksy-add-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mnd-primary);
  background: var(--mnd-primary-light);
  border: 1.5px solid rgba(3, 169, 244, 0.25);
  border-radius: 20px;
  cursor: pointer;
  transition: background var(--mnd-fast), border-color var(--mnd-fast), transform var(--mnd-fast);
  outline: none;
  user-select: none;
  white-space: nowrap;
}

.widget-f766b4 .marksy-add-card-btn:hover {
  background: #cbeeff;
  border-color: var(--mnd-primary);
  transform: translateY(-1px);
}

.widget-f766b4 .marksy-add-card-btn:focus-visible {
  outline: 2px solid var(--mnd-primary);
  outline-offset: 2px;
}

/* Card list */
.widget-f766b4 .marksy-cards-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 4px;
}

/* Individual card row */
.widget-f766b4 .marksy-card-row {
  background: #f9fafb;
  border: 1.5px solid var(--mnd-border);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: marksy-mnd-fadein 0.18s ease;
  position: relative;
}

.widget-f766b4 .marksy-card-row__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.widget-f766b4 .marksy-card-row__num {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mnd-text-muted);
}

.widget-f766b4 .marksy-card-row__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--mnd-text-muted);
  transition: background var(--mnd-fast), color var(--mnd-fast);
  padding: 0;
  font-family: inherit;
  flex-shrink: 0;
}

.widget-f766b4 .marksy-card-row__remove:hover {
  background: rgba(229, 57, 53, 0.1);
  color: var(--mnd-danger);
}

.widget-f766b4 .marksy-card-input {
  width: 100%;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--mnd-text-main);
  background: var(--mnd-input-bg);
  border: 1.5px solid var(--mnd-border);
  border-radius: 5px;
  outline: none;
  transition: border-color var(--mnd-fast), box-shadow var(--mnd-fast);
  line-height: 1.4;
}

.widget-f766b4 .marksy-card-input::placeholder {
  color: var(--mnd-text-muted);
  font-weight: 400;
}

.widget-f766b4 .marksy-card-input:focus {
  border-color: var(--mnd-primary);
  box-shadow: 0 0 0 3px rgba(3, 169, 244, 0.12);
}

.widget-f766b4 .marksy-card-divider {
  height: 1px;
  background: var(--mnd-border);
  border: none;
  margin: 0;
}

/* Flash lock overlay */
.widget-f766b4 .marksy-flash-lock {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: var(--mnd-bg, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

.widget-f766b4 #marksyPaneFlash {
  position: relative;
}

.widget-f766b4 .marksy-flash-lock__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 24px;
  text-align: center;
}

.widget-f766b4 .marksy-flash-lock__inner svg {
  color: var(--mnd-text-muted, #a0aec0);
  flex-shrink: 0;
}

.widget-f766b4 .marksy-flash-lock__msg {
  font-size: 0.875rem;
  color: var(--mnd-text-muted, #a0aec0);
  line-height: 1.5;
  margin: 0;
  max-width: 220px;
}

/* ══════════════════════════════════════════
   ACCESS LOCK OVERLAY (all panes)
   ══════════════════════════════════════════ */
.widget-f766b4 .marksy-access-lock {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.widget-f766b4 #marksyPaneNote,
.widget-f766b4 #marksyPaneHabit,
.widget-f766b4 #marksyPaneFlash {
  position: relative;
}

.widget-f766b4 .marksy-access-lock__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 24px;
  text-align: center;
}

.widget-f766b4 .marksy-access-lock__inner svg {
  color: var(--mnd-text-muted, #a0aec0);
  flex-shrink: 0;
}

.widget-f766b4 .marksy-access-lock__msg {
  font-size: 0.875rem;
  color: var(--mnd-text-muted, #a0aec0);
  line-height: 1.5;
  margin: 0;
  max-width: 240px;
}

/* ══════════════════════════════════════════
   LIMIT REACHED NOTICE
   ══════════════════════════════════════════ */
.widget-f766b4 .marksy-limit-notice {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--mnd-warning, #fb8c00);
  white-space: nowrap;
  vertical-align: middle;
  background: rgba(251, 140, 0, 0.1);
  border: 1px solid rgba(251, 140, 0, 0.25);
  border-radius: 20px;
  padding: 2px 8px;
}

/* Empty state for cards */
.widget-f766b4 .marksy-cards-empty {
  text-align: center;
  padding: 18px 14px;
  color: var(--mnd-text-muted);
  font-size: 0.8rem;
  font-style: italic;
  border: 1.5px dashed var(--mnd-border);
  border-radius: 8px;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.widget-f766b4 .marksy-note-drawer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px 16px;
  background: var(--mnd-footer-bg);
  border-top: 1.5px solid var(--mnd-border);
  flex-shrink: 0;
}

.widget-f766b4 .marksy-note-drawer-sync-status {
  font-size: 0.75rem;
  color: var(--mnd-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  font-style: italic;
}

.widget-f766b4 .marksy-note-drawer-sync-status.marksy-mnd-synced {
  color: var(--mnd-success);
  font-style: normal;
  font-weight: 600;
}

.widget-f766b4 .marksy-note-drawer-sync-status.marksy-mnd-saving {
  color: var(--mnd-warning);
  font-style: normal;
}

.widget-f766b4 .marksy-note-drawer-sync-status.marksy-mnd-error {
  color: var(--mnd-danger);
  font-style: normal;
  font-weight: 600;
}

.widget-f766b4 .marksy-note-drawer-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: var(--mnd-primary);
  color: #ffffff;
  border: 2px solid var(--mnd-primary);
  border-radius: var(--mnd-radius-btn);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
  transition: background var(--mnd-fast), color var(--mnd-fast), border-color var(--mnd-fast), box-shadow var(--mnd-fast), transform var(--mnd-fast);
}

.widget-f766b4 .marksy-note-drawer-save-btn:hover {
  background: #ffffff;
  color: var(--mnd-primary);
  box-shadow: 0 2px 8px rgba(3, 169, 244, 0.18);
  transform: translateY(-1px);
}

.widget-f766b4 .marksy-note-drawer-save-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.widget-f766b4 .marksy-note-drawer-save-btn:focus-visible {
  outline: 2px solid var(--mnd-primary);
  outline-offset: 2px;
}

.widget-f766b4 .marksy-note-drawer-save-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 600px) {
  .widget-f766b4 {
    --mnd-drawer-width: 100vw;
  }
  .widget-f766b4 .marksy-note-drawer-panel {
    width: 100vw;
    border-left: none;
    border-radius: 0;
  }
  .widget-f766b4 .marksy-note-drawer-trigger {
    min-width: var(--mnd-trigger-size);
    width: var(--mnd-trigger-size);
    padding: 0;
    border-radius: 50%;
  }
  .widget-f766b4 .marksy-note-drawer-trigger-text {
    display: none;
  }
  .widget-f766b4 .marksy-note-drawer-body {
    padding: 14px 14px 0;
  }
  .widget-f766b4 .marksy-note-drawer-footer {
    padding: 12px 14px 14px;
  }
  .widget-f766b4 .marksy-note-drawer-header {
    padding: 14px 16px 12px;
  }
  .widget-f766b4 .marksy-note-drawer-body-editor {
    min-height: 120px;
  }
  .widget-f766b4 .marksy-tab-bar {
    padding: 0 14px;
  }
  .widget-f766b4 .marksy-tab {
    padding: 10px 12px;
    font-size: 0.78rem;
  }
  .widget-f766b4 .marksy-emoji-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}
@media (min-width: 601px) and (max-width: 768px) {
  .widget-f766b4 {
    --mnd-drawer-width: calc(100vw - 40px);
  }
  .widget-f766b4 .marksy-note-drawer-panel {
    width: calc(100vw - 40px);
  }
}

.widget-7e47e3 {
  /* Make the native button a flex row so icon + text sit side by side */
  /* icon on the right */
  /* Mobile responsiveness */
}
.widget-7e47e3 .account-btn-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}
.widget-7e47e3 .account-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--btn-icon-gap, 6px) !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.widget-7e47e3 .account-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  pointer-events: none;
  order: var(--btn-icon-order, -1);
}
.widget-7e47e3 .account-btn-icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
  display: block;
}
.widget-7e47e3 .account-btn.icon-right .account-btn-icon {
  order: 1;
}
@media (max-width: 768px) {
  .widget-7e47e3 .account-btn-wrapper {
    width: 100%;
    justify-content: center;
  }
  .widget-7e47e3 .account-btn {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
@media (max-width: 480px) {
  .widget-7e47e3 .account-btn {
    font-size: 14px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .widget-7e47e3 .account-btn-icon svg {
    width: 0.9em;
    height: 0.9em;
  }
}

.widget-52e147 {
  --animation-duration: 2000ms;
}

.widget-52e147 .virtual-markskrill-container {
  position: relative;
  width: 190px;
  height: 190px;
  user-select: none;
  z-index: 10;
}

.widget-52e147 .markskrill-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: transform 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

.widget-52e147 .markskrill-wrapper:hover {
  transform: scale(1.05);
}

.widget-52e147 .markskrill-character {
  position: relative;
  width: 210px;
  height: 210px;
  margin: 50px auto;
  border-radius: 50%;
  overflow: visible;
  transition: all 0.5s ease;
  background: transparent;
  border: 0px solid transparent;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

.widget-52e147 .markskrill-character.happy {
  animation: bounce var(--animation-duration, 2000ms) ease-in-out 3;
}

.widget-52e147 .markskrill-character.happy .markskrill-image {
  filter: brightness(1.2) saturate(1.1);
}

.widget-52e147 .markskrill-character.encouraging {
  animation: shake calc(var(--animation-duration, 2000ms) * 0.25) ease-in-out 2;
}

.widget-52e147 .markskrill-character.encouraging .markskrill-image {
  filter: brightness(1.1) hue-rotate(10deg);
}

.widget-52e147 .markskrill-character.celebrate {
  animation: celebrate calc(var(--animation-duration, 2000ms) * 0.5) ease-in-out 2;
}

.widget-52e147 .markskrill-character.celebrate .markskrill-image {
  filter: brightness(1.3) saturate(1.2) hue-rotate(15deg);
}

.widget-52e147 .markskrill-character.anticipation {
  animation: pulse calc(var(--animation-duration, 2000ms) * 0.4) ease-in-out infinite;
}

.widget-52e147 .markskrill-character.anticipation .markskrill-image {
  filter: brightness(1.1) contrast(1.1);
}

.widget-52e147 .markskrill-character.sleeping {
  transform: scale(0.9);
}

.widget-52e147 .markskrill-character.sleeping .markskrill-image {
  filter: brightness(0.7) saturate(0.2) grayscale(0.2);
}

.widget-52e147 .markskrill-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: all 0.5s ease;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

.widget-52e147 .audio-toggle-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: 3px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

.widget-52e147 .audio-toggle-btn:hover {
  transform: scale(1.1);
}

.widget-52e147 .audio-icon {
  font-size: 22px;
}

.widget-52e147 .premium-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #03a9f4;
  border: 2px solid #fff;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: bold;
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5);
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
  z-index: 50;
}

.widget-52e147 .premium-badge.visible {
  opacity: 1;
  transform: scale(1);
}

.widget-52e147 .briefcase-store {
  position: absolute;
  bottom: 40px;
  right: 20px;
  width: 70px;
  height: 70px;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 15;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

.widget-52e147 .briefcase-store:hover {
  transform: scale(1.1);
}

.widget-52e147 .briefcase-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.widget-52e147 .store-notification {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: #e74c3c;
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: white;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
  animation: notificationPulse 2s ease-in-out infinite;
}

.widget-52e147 .store-notification.visible {
  opacity: 1;
  transform: scale(1);
}

.widget-52e147 .store-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.widget-52e147 .store-modal.visible {
  opacity: 1;
  visibility: visible;
}

.widget-52e147 .store-modal-content {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 650px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

.widget-52e147 .store-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px 15px 25px;
  border-bottom: 2px solid #e9ecef;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px 20px 0 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.widget-52e147 .store-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
}

.widget-52e147 .clam-balance {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 10px;
  border-radius: 15px;
  font-weight: bold;
}

.widget-52e147 .pearl-balance {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.3);
  padding: 3px 8px;
  border-radius: 10px;
  margin-left: 5px;
}

.widget-52e147 .pearl-icon {
  font-size: 14px;
}

.widget-52e147 .pearl-count {
  font-size: 13px;
}

.widget-52e147 .clam-icon {
  font-size: 16px;
}

.widget-52e147 .clam-count {
  font-size: 14px;
}

.widget-52e147 .close-store-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 24px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

.widget-52e147 .close-store-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.widget-52e147 .store-tabs {
  display: flex;
  gap: 5px;
  padding: 15px 20px 0 20px;
  background: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
  overflow-x: auto;
}

.widget-52e147 .store-tab {
  flex: 1;
  min-width: 100px;
  padding: 10px 15px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #7f8c8d;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.widget-52e147 .store-tab:hover {
  color: #3498db;
  background: rgba(52, 152, 219, 0.1);
}

.widget-52e147 .store-tab.active {
  color: #03a9f4;
  border-bottom-color: #03a9f4;
  background: white;
}

.widget-52e147 .store-items {
  padding: 20px 25px;
}

.widget-52e147 .store-tab-content {
  display: none;
}

.widget-52e147 .store-tab-content.active {
  display: block;
}

/* Personal Inflation Section */
.widget-52e147 .personal-inflation-section {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e9ecef;
}

.widget-52e147 .inflation-info-card {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  padding: 15px;
  border-radius: 12px;
  border: 2px solid #03a9f4;
  display: flex;
  gap: 12px;
}

.widget-52e147 .inflation-icon {
  font-size: 32px;
  min-width: 40px;
  text-align: center;
}

.widget-52e147 .inflation-content {
  flex: 1;
}

.widget-52e147 .inflation-label {
  font-size: 11px;
  color: #1976d2;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.widget-52e147 .inflation-rate {
  font-size: 24px;
  font-weight: bold;
  color: #1565c0;
  margin-bottom: 2px;
}

.widget-52e147 .inflation-subtext {
  font-size: 10px;
  color: #424242;
  font-style: italic;
}

/* Inflation Indicators */
.widget-52e147 .inflation-indicator {
  display: none;
  font-size: 12px;
  margin-right: 3px;
  animation: inflationPulse 1.5s ease-in-out infinite;
}

.widget-52e147 .inflation-indicator.active {
  display: inline;
  color: #e74c3c;
}

@keyframes inflationPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}
.widget-52e147 .store-item.evil-active {
  background: linear-gradient(135deg, #2c1a1e 0%, #4a2633 100%);
  border: 2px solid #e74c3c;
  box-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
  animation: evilPulse 2s ease-in-out infinite;
}

.widget-52e147 .store-item.evil-active .item-icon {
  filter: drop-shadow(0 0 10px #e74c3c);
  animation: evilGlow 1.5s ease-in-out infinite;
}

.widget-52e147 .store-item.evil-active .item-name {
  color: #e74c3c;
  text-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
}

.widget-52e147 .evil-warning {
  display: none;
  margin-top: 8px;
  padding: 8px;
  background: rgba(231, 76, 60, 0.1);
  border-left: 3px solid #e74c3c;
  font-size: 11px;
  color: #c0392b;
  font-weight: 600;
}

.widget-52e147 .store-item.evil-active .evil-warning {
  display: block;
}

@keyframes evilPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
  }
  50% {
    box-shadow: 0 0 30px rgba(231, 76, 60, 0.8);
  }
}
@keyframes evilGlow {
  0%, 100% {
    filter: drop-shadow(0 0 10px #e74c3c);
  }
  50% {
    filter: drop-shadow(0 0 20px #e74c3c);
  }
}
.widget-52e147 .unified-trade-section {
  background: white;
  padding: 15px;
  border-radius: 0px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.widget-52e147 .unified-trade-section.buy-mode {
  border-color: #03a9f4;
  background: linear-gradient(135deg, #ffffff 0%, #e9f3ff 100%);
}

.widget-52e147 .unified-trade-section.sell-mode {
  border-color: #f39c12;
  background: linear-gradient(135deg, #ffffff 0%, #fff3e0 100%);
}

.widget-52e147 .trade-mode-toggle {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  background: #f8f9fa;
  padding: 5px;
  border-radius: 10px;
}

.widget-52e147 .toggle-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #7f8c8d;
  transition: all 0.3s ease;
}

.widget-52e147 .toggle-btn:hover {
  background: rgba(52, 152, 219, 0.1);
}

.widget-52e147 .toggle-btn.active {
  background: white;
  border-color: #03a9f4;
  color: #03a9f4;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.widget-52e147 .toggle-btn[data-mode=sell].active {
  border-color: #f39c12;
  color: #f39c12;
  box-shadow: 0 2px 8px rgba(243, 156, 18, 0.2);
}

.widget-52e147 .toggle-icon {
  font-size: 16px;
}

.widget-52e147 .trade-interface-unified {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.widget-52e147 .trade-input-group,
.widget-52e147 .trade-output-group {
  flex: 1;
}

.widget-52e147 .trade-input-group label,
.widget-52e147 .trade-output-group label {
  display: block;
  font-size: 11px;
  color: #7f8c8d;
  margin-bottom: 5px;
  font-weight: 600;
}

.widget-52e147 .trade-input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 2px solid #e9ecef;
  border-radius: 0px;
  font-weight: bold;
  color: #2c3e50;
  transition: all 0.3s ease;
}

.widget-52e147 .trade-input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.widget-52e147 .input-currency {
  font-size: 14px;
  color: #7f8c8d;
  margin-left: 5px;
}

.widget-52e147 .trade-arrow {
  font-size: 24px;
  color: #3498db;
  font-weight: bold;
}

.widget-52e147 .trade-output {
  background: #f8f9fa;
  padding: 10px;
  border-radius: 0px;
  font-size: 16px;
  font-weight: bold;
  color: #27ae60;
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 42px;
}

.widget-52e147 .output-currency {
  font-size: 14px;
  color: #7f8c8d;
}

.widget-52e147 .trade-button {
  width: 100%;
  padding: 12px;
  color: white;
  border: 2px;
  border-radius: 0px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

.widget-52e147 .trade-button.buy-mode {
  background: #03a9f4;
  border: 2px, solid #03a9f4;
}

.widget-52e147 .trade-button.buy-mode:hover {
  background: transparent;
  color: #03a9f4;
  border: 2px, solid #03a9f4;
}

.widget-52e147 .trade-button.sell-mode {
  background: #e67e22;
  border: 2px, solid #e67e22;
}

.widget-52e147 .trade-button.sell-mode:hover {
  background: transparent;
  color: #e67e22;
  border: 2px, solid #e67e22;
}

.widget-52e147 .trade-info {
  padding: 10px;
  border-radius: 8px;
  font-size: 11px;
  text-align: center;
  margin-top: 8px;
  font-weight: 500;
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.3);
  color: #2980b9;
}

.widget-52e147 .market-section {
  margin-bottom: 20px;
}

.widget-52e147 .section-title {
  font-size: 16px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e9ecef;
}

.widget-52e147 .trade-desk {
  background: transparent;
  padding: 20px;
  border-radius: 15px;
  border: 0px solid #dee2e6;
}

.widget-52e147 .exchange-display {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.widget-52e147 .exchange-rate-ticker {
  background: white;
  padding: 15px;
  border-radius: 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid #03a9f4;
  box-shadow: 0 2px 10px rgba(52, 152, 219, 0.1);
}

.widget-52e147 .ticker-label {
  font-size: 13px;
  color: #7f8c8d;
  font-weight: 600;
}

.widget-52e147 .ticker-rate {
  display: flex;
  align-items: center;
  gap: 5px;
}

.widget-52e147 .rate-amount {
  font-size: 20px;
  font-weight: bold;
  color: #03a9f4;
}

.widget-52e147 .rate-currency {
  font-size: 12px;
  color: #7f8c8d;
}

.widget-52e147 .rate-trend {
  font-size: 18px;
  margin-left: 5px;
}

.widget-52e147 .store-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 15px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

.widget-52e147 .store-item:hover:not(.locked):not(.coming-soon):not(.purchased) {
  background: #e9f3ff;
  border-color: #03a9f4;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.widget-52e147 .store-item.locked {
  opacity: 0.6;
  cursor: not-allowed;
  background: #f1f3f4;
}

.widget-52e147 .store-item.purchased {
  background: #e8f5e9;
  border-color: #4caf50;
  cursor: pointer;
}

.widget-52e147 .store-item.coming-soon {
  background: #ecf0f1;
  border-color: #bdc3c7;
  cursor: not-allowed;
  opacity: 0.7;
}

.widget-52e147 .store-item.too-expensive {
  background: #ffebee;
  border-color: #ef5350;
}

.widget-52e147 .store-item.affordable {
  background: #e3f2fd;
  border-color: #03a9f4;
}

.widget-52e147 .store-item.available {
  background: #fff3e0;
  border-color: #ff9800;
  box-shadow: 0 0 15px rgba(255, 152, 0, 0.3);
}

.widget-52e147 .item-icon {
  font-size: 40px;
  min-width: 50px;
  text-align: center;
}

.widget-52e147 .item-info {
  flex: 1;
}

.widget-52e147 .item-name {
  font-size: 16px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 3px;
}

.widget-52e147 .premium-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.widget-52e147 .premium-tag {
  font-size: 10px;
  background: #03a9f4;
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  width: fit-content;
}

.widget-52e147 .item-description {
  font-size: 12px;
  color: #7f8c8d;
  margin-bottom: 5px;
}

.widget-52e147 .cooldown-status {
  font-size: 11px;
  font-weight: 600;
  margin-top: 5px;
}

.widget-52e147 .level-requirement {
  font-size: 11px;
  font-weight: 600;
  margin-top: 5px;
}

.widget-52e147 .premium-benefits {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.widget-52e147 .benefit-item {
  font-size: 11px;
  color: #27ae60;
  font-weight: 500;
}

.widget-52e147 .item-price {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: bold;
  font-size: 14px;
  color: #2c3e50;
}

.widget-52e147 .item-price.free {
  color: #27ae60;
  background: rgba(39, 174, 96, 0.1);
  padding: 5px 10px;
  border-radius: 15px;
}

.widget-52e147 .item-status {
  font-size: 12px;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 15px;
  background: #ecf0f1;
  color: #7f8c8d;
}

.widget-52e147 .item-status.active {
  background: #d4edda;
  color: #155724;
}

.widget-52e147 .item-status.locked {
  background: #f8d7da;
  color: #721c24;
}

.widget-52e147 .owned-label {
  color: #27ae60;
  font-size: 12px;
  background: rgba(39, 174, 96, 0.1);
  padding: 5px 10px;
  border-radius: 15px;
}

.widget-52e147 .price-amount {
  font-size: 14px;
}

.widget-52e147 .premium-info-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  border-radius: 15px;
  margin-top: 15px;
}

.widget-52e147 .premium-info-box h4 {
  margin: 0 0 15px 0;
  font-size: 18px;
}

.widget-52e147 .premium-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}

.widget-52e147 .premium-benefits-list li {
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.widget-52e147 .premium-benefits-list li:last-child {
  border-bottom: none;
}

.widget-52e147 .upgrade-premium-btn {
  width: 100%;
  padding: 12px;
  background: white;
  color: #03a9f4;
  border: 2px, #03a9f4;
  border-radius: 0px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.widget-52e147 .upgrade-premium-btn:hover {
  background: #03a9f4;
  color: white;
  border: 2px, white;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0);
}

.widget-52e147 .markskrill-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.widget-52e147 .fire-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.widget-52e147 .fire-effect.active {
  opacity: 1;
}

.widget-52e147 .fire-effect.active .fire {
  animation: fireFloatUp 3s ease-out forwards;
}

.widget-52e147 .fire-effect.active .fire:nth-child(2) {
  animation-delay: 0.2s;
}

.widget-52e147 .fire-effect.active .fire:nth-child(3) {
  animation-delay: 0.4s;
}

.widget-52e147 .fire-effect.active .fire:nth-child(4) {
  animation-delay: 0.6s;
}

.widget-52e147 .fire-effect.active .fire:nth-child(5) {
  animation-delay: 0.8s;
}

.widget-52e147 .fire {
  position: absolute;
  font-size: 30px;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.widget-52e147 .floating-fire {
  position: absolute;
  font-size: 24px;
  bottom: 0;
  pointer-events: none;
  animation: fireCelebration 3s ease-out forwards;
  z-index: 20;
}

.widget-52e147 .hearts-effect,
.widget-52e147 .sparkles-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.widget-52e147 .hearts-effect.active,
.widget-52e147 .sparkles-effect.active {
  opacity: 1;
}

.widget-52e147 .hearts-effect.active .heart,
.widget-52e147 .hearts-effect.active .sparkle,
.widget-52e147 .sparkles-effect.active .heart,
.widget-52e147 .sparkles-effect.active .sparkle {
  animation: floatUp 2s ease-out forwards;
}

.widget-52e147 .hearts-effect.active .heart:nth-child(2),
.widget-52e147 .hearts-effect.active .sparkle:nth-child(2),
.widget-52e147 .sparkles-effect.active .heart:nth-child(2),
.widget-52e147 .sparkles-effect.active .sparkle:nth-child(2) {
  animation-delay: 0.3s;
}

.widget-52e147 .hearts-effect.active .heart:nth-child(3),
.widget-52e147 .hearts-effect.active .sparkle:nth-child(3),
.widget-52e147 .sparkles-effect.active .heart:nth-child(3),
.widget-52e147 .sparkles-effect.active .sparkle:nth-child(3) {
  animation-delay: 0.6s;
}

.widget-52e147 .heart,
.widget-52e147 .sparkle {
  position: absolute;
  font-size: 20px;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.widget-52e147 .sleep-bubble {
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 45px;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.widget-52e147 .sleep-bubble.visible {
  opacity: 1;
  transform: scale(1);
  animation: float 2s ease-in-out infinite;
}

.widget-52e147 .markskrill-stats {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #e1e8ed;
  border-radius: 12px;
  padding: 12px;
  min-width: 250px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  z-index: 999;
}

.widget-52e147 .markskrill-stats.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.widget-52e147 .stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-weight: bold;
  color: #2c3e50;
}

.widget-52e147 .markskrill-name {
  font-size: 14px;
  color: #414345;
}

.widget-52e147 .markskrill-level {
  font-size: 12px;
  background: #03a9f4;
  color: white;
  padding: 2px 6px;
  border-radius: 10px;
}

.widget-52e147 .stat-bar {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 11px;
}

.widget-52e147 .stat-bar:last-child {
  margin-bottom: 0;
}

.widget-52e147 .stat-label {
  width: 80px;
  font-size: 10px;
  color: #34495e;
}

.widget-52e147 .bar-container {
  flex: 1;
  height: 8px;
  background: #ecf0f1;
  border-radius: 4px;
  margin: 0 6px;
  overflow: hidden;
  position: relative;
}

.widget-52e147 .bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.widget-52e147 .bar-fill.happiness-bar {
  background: linear-gradient(90deg, #db2c2c, #ff4a33);
}

.widget-52e147 .bar-fill.experience-bar {
  background: linear-gradient(90deg, #1abc9c, #16a085);
}

.widget-52e147 .bar-fill.energy-bar {
  background: linear-gradient(90deg, #28a745, #38f163);
}

.widget-52e147 .bar-fill.clams-bar {
  background: linear-gradient(90deg, #ff6b6b, #feca57);
}

.widget-52e147 .max-energy-indicator {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8px;
  color: #7f8c8d;
  font-weight: bold;
  display: none;
}

.widget-52e147 .stat-value {
  width: 25px;
  text-align: right;
  font-weight: bold;
  color: #2c3e50;
  font-size: 10px;
}

.widget-52e147 .synergy-info {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e1e8ed;
}

.widget-52e147 .synergy-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  margin-bottom: 5px;
}

.widget-52e147 .synergy-icon-small {
  font-size: 14px;
}

.widget-52e147 .synergy-description {
  font-size: 9px;
  color: #7f8c8d;
  font-style: italic;
}

.widget-52e147 .markskrill-message {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.widget-52e147 .markskrill-message.visible {
  visibility: visible;
  animation: messageFloat 4s ease-in-out forwards;
}

.widget-52e147 .message-bubble {
  background: #fff;
  border: 2px solid #03a9f4;
  border-radius: 20px;
  padding: 8px 12px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 250px;
  text-align: center;
  font-size: 12px;
  color: #2c3e50;
  font-weight: 500;
}

.widget-52e147 .message-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #03a9f4;
}

.widget-52e147 .message-bubble::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #fff;
  z-index: 1;
}

.widget-52e147 .markskrill-info-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #e1e8ed;
  border-radius: 12px;
  padding: 15px;
  margin-top: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.widget-52e147 .markskrill-info-panel h3 {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #2c3e50;
  text-align: center;
}

.widget-52e147 .progress-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.widget-52e147 .progress-item {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.widget-52e147 .progress-label {
  color: #7f8c8d;
}

.widget-52e147 .progress-value {
  font-weight: bold;
  color: #2c3e50;
}

.widget-52e147 .mental-health-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.widget-52e147 .mental-health-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.widget-52e147 .mental-health-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.widget-52e147 .mental-health-modal {
  position: relative;
  background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
  border-radius: 20px;
  padding: 40px 30px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
  text-align: center;
  animation: mentalHealthSlideIn 0.5s ease-out;
}

.widget-52e147 .mental-health-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: mentalHealthPulse 2s ease-in-out infinite;
}

.widget-52e147 .mental-health-companion-icon {
  width: 130px;
  height: 130px;
  object-fit: contain;
  border-radius: 0;
  display: block;
  margin: 0 auto;
  /* Depressed visual treatment: desaturated, blue-tinted, slightly darkened */
  filter: grayscale(55%) brightness(0.78) saturate(0.4) sepia(0.25) hue-rotate(190deg) drop-shadow(0 4px 18px rgba(30, 60, 120, 0.45));
  animation: depressedFloat 3s ease-in-out infinite, mentalHealthPulse 2s ease-in-out infinite;
  border: none;
  background: transparent;
}

.widget-52e147 .mental-health-title {
  font-size: 24px;
  font-weight: bold;
  color: #2c3e50;
  margin: 0 0 15px 0;
}

.widget-52e147 .mental-health-message {
  font-size: 16px;
  line-height: 1.6;
  color: #34495e;
  margin-bottom: 25px;
}

.widget-52e147 .mental-health-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.widget-52e147 .mental-health-btn {
  flex: 1;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.widget-52e147 .mental-health-btn.store-btn {
  background: #03a9f4;
  color: white;
  border: 2px, white;
}

.widget-52e147 .mental-health-btn.store-btn:hover {
  background: white;
  color: #03a9f4;
  border: 2px, #03a9f4;
}

.widget-52e147 .mental-health-btn.habits-btn {
  background-color: #f3f4f6;
  color: #374151;
  border: 2px solid #f3f4f6;
}

.widget-52e147 .mental-health-btn.habits-btn:hover {
  background-color: #e5e7eb;
  color: #374151;
  border: 2px solid #e5e7eb;
}

.widget-52e147 .mental-health-dismiss {
  padding: 10px 20px;
  font-size: 13px;
  color: #7f8c8d;
  background: transparent;
  border: 0px solid #bdc3c7;
  border-radius: 0px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.widget-52e147 .mental-health-dismiss:hover {
  background: #bdc3c7;
  color: #2c3e50;
}

@keyframes depressedFloat {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(6px) rotate(2deg);
  }
}
@keyframes mentalHealthSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes mentalHealthPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}
@keyframes celebrate {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(-5deg) scale(1.1);
  }
  75% {
    transform: rotate(5deg) scale(1.1);
  }
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
@keyframes fireFloatUp {
  0% {
    transform: translateX(-50%) translateY(0) scale(0) rotate(0deg);
    opacity: 1;
  }
  20% {
    transform: translateX(-50%) translateY(-20px) scale(1.2) rotate(15deg);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) translateY(-50px) scale(1) rotate(-10deg);
    opacity: 1;
  }
  80% {
    transform: translateX(-50%) translateY(-80px) scale(0.8) rotate(5deg);
    opacity: 0.6;
  }
  100% {
    transform: translateX(-50%) translateY(-100px) scale(0) rotate(0deg);
    opacity: 0;
  }
}
@keyframes fireCelebration {
  0% {
    transform: translateY(0) scale(0) rotate(0deg);
    opacity: 1;
  }
  20% {
    transform: translateY(-30px) scale(1.5) rotate(180deg);
    opacity: 1;
  }
  50% {
    transform: translateY(-60px) scale(1.2) rotate(360deg);
    opacity: 1;
  }
  80% {
    transform: translateY(-90px) scale(0.8) rotate(540deg);
    opacity: 0.6;
  }
  100% {
    transform: translateY(-120px) scale(0) rotate(720deg);
    opacity: 0;
  }
}
@keyframes floatUp {
  0% {
    transform: translateX(-50%) translateY(0) scale(0);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) translateY(-30px) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-60px) scale(0);
    opacity: 0;
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
@keyframes messageFloat {
  0% {
    transform: translateX(-50%) translateY(5px);
    opacity: 0;
  }
  10%, 85% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(5px);
    opacity: 0;
  }
}
@keyframes notificationPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
@media (max-width: 767px) {
  .widget-52e147 .virtual-markskrill-container {
    width: 120px;
    height: 120px;
  }
  .widget-52e147 .markskrill-character {
    width: 160px;
    height: 160px;
    top: -25px;
  }
  .widget-52e147 .briefcase-store {
    width: 60px;
    height: 60px;
    bottom: 10px;
    right: -13px;
    top: 35px;
  }
  .widget-52e147 .audio-toggle-btn {
    width: 40px;
    height: 40px;
    bottom: 15px;
    left: 15px;
  }
  .widget-52e147 .audio-icon {
    font-size: 18px;
  }
  .widget-52e147 .markskrill-stats {
    min-width: 190px;
    left: 125px;
    padding: 10px;
  }
  .widget-52e147 .message-bubble {
    width: 150px;
    font-size: 12px;
    padding: 5px 10px;
  }
  .widget-52e147 .markskrill-message {
    top: -75px;
  }
  .widget-52e147 .store-modal-content {
    width: 95%;
    max-height: 88vh;
  }
  .widget-52e147 .store-header {
    padding: 15px 20px 10px 20px;
  }
  .widget-52e147 .store-header h3 {
    font-size: 18px;
  }
  .widget-52e147 .store-tabs {
    padding: 10px 15px 0 15px;
  }
  .widget-52e147 .store-tab {
    min-width: 80px;
    padding: 8px 10px;
    font-size: 11px;
  }
  .widget-52e147 .store-items {
    padding: 15px 20px;
  }
  .widget-52e147 .store-item {
    padding: 12px;
    gap: 12px;
  }
  .widget-52e147 .item-icon {
    font-size: 35px;
    min-width: 45px;
  }
  .widget-52e147 .item-name {
    font-size: 15px;
  }
  .widget-52e147 .item-description {
    font-size: 11px;
  }
  .widget-52e147 .premium-badge {
    font-size: 9px;
    padding: 3px 8px;
  }
  .widget-52e147 .trade-interface-unified {
    flex-direction: column;
    gap: 10px;
  }
  .widget-52e147 .trade-arrow {
    transform: rotate(90deg);
  }
  .widget-52e147 .mental-health-modal {
    padding: 30px 20px;
  }
  .widget-52e147 .mental-health-title {
    font-size: 20px;
  }
  .widget-52e147 .mental-health-message {
    font-size: 14px;
  }
  .widget-52e147 .mental-health-actions {
    flex-direction: column;
    gap: 10px;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .widget-52e147 .markskrill-stats {
    min-width: 180px;
  }
}

.widget-1f5975 .copyright {
    font-size: 13px;
    display: flex;
    text-align: left;
    justify-content: flex-start;
}

.widget-777682 .scroll-progress-container {
  width: 100%;
  max-width: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  transition: all var(--animation-speed, 0.3s) ease, opacity 0.3s ease;
  min-height: 40px;
  box-sizing: border-box;
  background-color: var(--container-bg-color, transparent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
}

.widget-777682 .scroll-progress-container.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.widget-777682 .progress-label {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
  min-width: fit-content;
}

.widget-777682 .progress-track {
  flex: 1;
  height: var(--progress-height, 4px);
  background-color: var(--background-color, #e0e7ff);
  border-radius: calc(var(--progress-height, 4px) / 2);
  overflow: hidden;
  position: relative;
}

.widget-777682 .progress-fill {
  height: 100%;
  background: var(--fill-color, #3b82f6);
  border-radius: calc(var(--progress-height, 4px) / 2);
  width: 0%;
  transition: width var(--animation-speed, 0.3s) ease-out;
  position: relative;
}

.widget-777682 .progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 10px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
  border-radius: calc(var(--progress-height, 4px) / 2);
}

.widget-777682 .progress-percentage {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  min-width: 35px;
  min-width: fit-content;
}

@media (max-width: 767px) {
  .widget-777682 .scroll-progress-container {
    min-height: 35px;
    gap: 6px;
  }
  .widget-777682 .progress-label {
    font-size: 12px;
  }
  .widget-777682 .progress-percentage {
    font-size: 11px;
    min-width: 30px;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .widget-777682 .scroll-progress-container {
    /* Tablet styles if needed */
  }
}
