
/* Approved Sunlit chrome. Four IDs outrank the preserved native header rules.
   Geometry, native disclosures, source content and deliberate reader tones stay owned by their existing controllers. */
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell {
  --np-ink: #23435b; --np-muted: #566f83; --np-line: #d5e6f2;
  --np-accent: #1675b1; --np-hover: #d8eeff; --np-panel: #ffffff; --np-control: #eaf6ff;
  --ns-selected: #bfe4ff; --ns-selected-ink: #174d70;
  --ns-action: #ffbd93; --ns-action-hover: #ffcca5; --ns-action-ink: #683c26;
  background: #ffffff !important; color: var(--np-ink) !important;
  border-color: var(--np-line) !important; color-scheme: only light;
}
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell .nb-header { background: #ffffff !important; }
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell :is(.nb-brand,.np-primary-links > a,.nb-tabs > a) { color: var(--np-ink) !important; }
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell .nb-brand > span { color: var(--np-muted) !important; }
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell :is(.np-primary-links > a,.nb-tabs > a,.nb-tabs .nd-kids-switch-tab) {
  background: transparent !important; border-color: transparent !important; box-shadow: none !important;
}
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell :is(.np-primary-links > a,.nb-tabs > a):is(:hover,:focus-visible,[aria-current]) {
  background: var(--ns-selected) !important; color: var(--ns-selected-ink) !important;
}
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell .nb-tabs > a::after { background: #4ca8e4 !important; }
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell :is(.np-my-reading,.nb-tabs .nd-my-nahwa-tab,.nd-search-row button) {
  background: linear-gradient(110deg,#ffc080,#ffad86) !important; color: var(--ns-action-ink) !important;
  border-color: #e9b18c !important; box-shadow: inset 0 1px 0 #ffffff90,0 4px 12px #edb18417 !important;
}
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell :is(.np-my-reading,.nb-tabs .nd-my-nahwa-tab,.nd-search-row button):is(:hover,:focus-visible) {
  background: linear-gradient(110deg,#ffd49e,#ffbd9b) !important; color: var(--ns-action-ink) !important; border-color: #db9d73 !important;
}
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell .nb-icon-button {
  background: #f2f9ff !important; color: #285979 !important; border-color: #d1e5f4 !important;
  box-shadow: inset 0 1px 0 #ffffff,0 3px 10px #66a9d410 !important;
}
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell .nb-icon-button:is(:hover,:focus-visible),
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell .nd-dropdown[open] > .nb-icon-button {
  background: #dcefff !important; color: #174d70 !important; border-color: #abd4ef !important;
  box-shadow: inset 0 1px 0 #ffffff,0 4px 12px #6aa5cf1c !important;
}
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell .nd-panel {
  background: #ffffff !important; color: var(--np-ink) !important; border-color: #cfe4f3 !important;
  box-shadow: inset 0 1px 0 #ffffff,0 20px 48px -20px #5688b043,0 4px 12px #5d9fc211 !important;
  scrollbar-color: #a1c7df transparent;
}
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell .nd-panel :is(a,p,label,legend,strong,small,summary) { color: var(--np-ink) !important; }
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell :is(.nd-search-row input,.nd-menu-panel > input[type=search],.nd-notification-frequency-label select) {
  background: #f8fcff !important; color: var(--np-ink) !important; border-color: #bed9ec !important; color-scheme: only light;
}
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell input::placeholder { color: #56738b !important; opacity: 1; }
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell .nd-menu-panel > ul > li > a {
  color: var(--np-ink) !important; background: transparent !important; border-color: #e0edf6 !important;
}
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell .nd-menu-panel > ul > li:nth-child(-n+2) > a { background: #fff1e5 !important; border-color: #efddcb !important; }
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell .nd-menu-panel > ul > li > a:is(:hover,:focus-visible,[aria-current]) { color: #174d70 !important; background: #e2f3ff !important; }
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell .nd-menu-panel > ul > li > a :is(svg,span[aria-hidden=true]) { color: #3279a6 !important; }
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell .nd-notification-badge { background: #ffbd93 !important; color: #683c26 !important; box-shadow: 0 0 0 2px #ffffff !important; }
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell .nd-notification-list > a { background: #f9fcff !important; color: var(--np-ink) !important; border-color: #d9e8f2 !important; }
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell .nd-notification-list > a.is-continue { background: #eaf6ff !important; }
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell .nd-notification-list > a.is-reminder { background: #fff2df !important; border-color: #ecd2ac !important; }
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell .nd-notification-list > a:is(:hover,:focus-visible) { background: #def0ff !important; }
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell :is(.nd-notification-head small,.nd-notification-list > p,.nd-notification-list > a small,.nd-notification-list > a i,.nd-notification-foot span,.nd-notification-settings legend,.nd-notification-window,.nd-notification-scope) { color: var(--np-muted) !important; }
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell .nd-notification-head button { background: #f3faff !important; color: #285979 !important; border-color: #cce2f2 !important; }
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell .nd-notification-head button:is(:hover,:focus-visible) { background: #def0ff !important; }
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell .nd-notification-settings input[type=checkbox] { accent-color: #1476b7; }
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell :is(a,button,input,select,summary):focus-visible { outline: 2px solid #1675b1 !important; outline-offset: 3px; }

/* Feedback composes with existing transform rules; no menu state is controlled here. */
#nd-shell#nd-shell#nd-shell#nd-shell { --ns-ease: cubic-bezier(.22,1,.36,1); }
#nd-shell#nd-shell#nd-shell#nd-shell :is(.np-primary-links > a,.nb-tabs > a,.np-my-reading,.nb-icon-button,.nd-menu-panel a,.nd-notification-list > a,.nd-panel button) {
  transition: background-color .22s ease,color .22s ease,border-color .22s ease,box-shadow .22s ease,translate .2s var(--ns-ease),scale .2s var(--ns-ease) !important;
}
#nd-shell#nd-shell#nd-shell#nd-shell :is(.np-primary-links > a,.nb-tabs > a,.np-my-reading,.nb-icon-button,.nd-panel button):active:not(:disabled) { translate: 0 1px; scale: .98; }
#nd-shell#nd-shell#nd-shell#nd-shell :is(.np-primary-links,.nb-tabs).nd-sunlit-nav { position: relative; isolation: isolate; }
#nd-shell#nd-shell#nd-shell#nd-shell .nd-sunlit-nav > a { position: relative; z-index: 1; }
#nd-shell#nd-shell#nd-shell#nd-shell .nd-sunlit-nav::before {
  content: ''; position: absolute; left: 0; top: 0; width: 100px; height: 44px; pointer-events: none;
  z-index: 0; border-radius: 9px; opacity: 0; background: var(--np-hover,#e1f2ff); transform-origin: 0 0;
  transform: translate3d(var(--ns-x,0px),var(--ns-y,0px),0) scale(var(--ns-sx,1),var(--ns-sy,1));
  transition: transform .38s var(--ns-ease),opacity .2s ease;
}
#nd-shell#nd-shell#nd-shell#nd-shell .nd-sunlit-nav[data-ns-highlight=true]::before { opacity: 1; }
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell .nd-sunlit-nav[data-ns-highlight=true] > a:not(.nd-my-nahwa-tab):is(:hover,:focus-visible,[aria-current]) { background: transparent !important; }
#nd-shell#nd-shell#nd-shell#nd-shell .nd-dropdown[open] > .nd-panel { animation: nd-sunlit-panel-in .28s var(--ns-ease) both; transform-origin: 85% 0; }
@keyframes nd-sunlit-panel-in { from { opacity: .4; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }
@supports (transition-behavior: allow-discrete) and selector(details::details-content) {
  #nd-shell#nd-shell#nd-shell#nd-shell .nd-dropdown::details-content { transition: content-visibility .22s allow-discrete; }
  #nd-shell#nd-shell#nd-shell#nd-shell .nd-dropdown > .nd-panel { transition: opacity .22s ease,translate .28s var(--ns-ease); }
  #nd-shell#nd-shell#nd-shell#nd-shell .nd-dropdown[open] > .nd-panel { animation: none; opacity: 1; translate: 0 0; }
  #nd-shell#nd-shell#nd-shell#nd-shell .nd-dropdown:not([open]) > .nd-panel { opacity: 0; translate: 0 -6px; pointer-events: none; }
  @starting-style { #nd-shell#nd-shell#nd-shell#nd-shell .nd-dropdown[open] > .nd-panel { opacity: 0; translate: 0 -6px; } }
}
/* A paused page keeps every control and panel usable at its static end state. */
#nd-shell#nd-shell#nd-shell#nd-shell.nd-sunlit-paused *,
#nd-shell#nd-shell#nd-shell#nd-shell.nd-sunlit-paused *::before,
#nd-shell#nd-shell#nd-shell#nd-shell.nd-sunlit-paused *::after { animation: none !important; transition: none !important; }
#nd-shell#nd-shell#nd-shell#nd-shell.nd-sunlit-paused :is(a,button,summary):active { translate: none !important; scale: none !important; }
@media (prefers-reduced-motion: reduce), (prefers-reduced-data: reduce) {
  #nd-shell#nd-shell#nd-shell#nd-shell *,#nd-shell#nd-shell#nd-shell#nd-shell *::before,#nd-shell#nd-shell#nd-shell#nd-shell *::after { animation: none !important; transition: none !important; }
  #nd-shell#nd-shell#nd-shell#nd-shell :is(a,button,summary):active { translate: none !important; scale: none !important; }
}

/* Stronger direct feedback: fixed nav geometry, a moving sky pill and clipped waves. */
body:not([data-nx-tone=dark]):not([data-nx-tone=sepia]) #nd-shell#nd-shell#nd-shell#nd-shell {
  --ns-pill: linear-gradient(110deg,#c1ecff,#bedaff); --ns-wave: #4baddf;
  --ns-pill-shadow: 0 4px 14px #4399cf2a,inset 0 1px 0 #ffffffc0;
}
#nd-shell#nd-shell#nd-shell#nd-shell .nd-sunlit-nav::before {
  background: var(--ns-pill,var(--np-hover)); box-shadow: var(--ns-pill-shadow,none);
  transition: transform .46s cubic-bezier(.2,1,.3,1),opacity .18s ease;
}
#nd-shell#nd-shell#nd-shell#nd-shell :is(.np-primary-links > a,.nb-tabs > a,.np-my-reading,.nb-icon-button,.nd-panel a[href],.nd-panel button) { position: relative; }
#nd-shell#nd-shell#nd-shell#nd-shell :is(.np-primary-links > a,.nb-tabs > a,.np-my-reading,.nb-icon-button,.nd-panel button):active:not(:disabled) { translate: 0 2px; scale: .96; }
#nd-shell#nd-shell#nd-shell#nd-shell .nd-sunlit-feedback {
  position: absolute; inset: 0; display: block; border-radius: inherit; overflow: hidden;
  pointer-events: none; z-index: 2;
}
#nd-shell#nd-shell#nd-shell#nd-shell .nd-sunlit-wave {
  position: absolute; display: block; width: var(--ns-wave-size); height: var(--ns-wave-size);
  left: var(--ns-wave-x); top: var(--ns-wave-y); border-radius: 50%; pointer-events: none;
  background: var(--ns-wave,var(--np-accent)); opacity: 0;
}
#nd-shell#nd-shell#nd-shell#nd-shell.nd-sunlit-paused .nd-sunlit-feedback { display: none; }
#nd-shell#nd-shell#nd-shell#nd-shell.nd-sunlit-paused :is(a,button,summary):active { translate: none !important; scale: none !important; }
@media (prefers-reduced-motion: reduce), (prefers-reduced-data: reduce) {
  #nd-shell#nd-shell#nd-shell#nd-shell .nd-sunlit-feedback { display: none; }
  #nd-shell#nd-shell#nd-shell#nd-shell :is(a,button,summary):active { translate: none !important; scale: none !important; }
}

